View Code of Problem 31

#include<stdio.h>
int main(){
	long int n;
	while(scanf("%ld",&n)!=EOF){
		printf("%ld\n",23+(n-1)*3*5*7);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 31