#include<stdio.h> int main() { int k; long long int temp ; while (scanf("%d", &k), k) { printf("%lld", 233+(k-3)*105); } }
Double click to view unformatted code.