#include <iostream>
using namespace std;
int main() {
int x;
while (cin >> x){
int y = 25 - x;
if (y >= 0){
cout << y;
}
else {
cout << 85 - x;
}
}
}
#include
using namespace std;
int main() {
int x;
while (cin >> x){
int y = 25 - x;
if (y >= 0){
cout << y;
}
else {
cout << 85 - x;
}
}
}
#include <iostream> using namespace std; int main(int argc, char** argv) { int a; cin>>a; cout<<(85-a)%60; }
這樣?