#include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
long long num;
while(cin>>num){
if(num==0)break;
if(num>=101) cout<<"f91("<<num<<") = "<<num-10<<"\n";
else cout<<"f91("<<num<<") = "<<91<<"\n";
}
return 0;
}
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
long long num;
while(cin>>num){
if(num==0)break;
if(num>=101) cout<<"f91("<<num<<") = "<<num-10<<"\n";
else cout<<"f91("<<num<<") = "<<91<<"\n";
}
return 0;
}
No comments:
Post a Comment