#28298: _CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)


#include <iostream>
using namespace std;

long int f91(int n){
if (n<=100){
return f91(f91(n+11));
}
if (n>=101){
return n-10;
}
}
int main(){
int n;
while (cin >> n){
if (n==0){
break;
}
cout <<"f91("<< n <<") = "<< f91(n) <<endl;
}
}