View Code of Problem 31

#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main(){
	long long n;
	while(scanf("%lld",&n)!=EOF){
		printf("%lld\n",23+3*5*7*(n-1));
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 31