#include<stdio.h> #include<math.h> int main() { long long int m; while(scanf("%lld",&m)!=EOF&&m>=1) { printf("%lld\n",(m-1)*105+23); } return 0; }
Double click to view unformatted code.