#include <stdio.h> int main() { long long int n, tmp, i; while(~scanf("%lld", &n)){ printf("%lld\n", 23+3*5*7*(n-1)); } return 0; }
Double click to view unformatted code.