View Code of Problem 31

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

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

Double click to view unformatted code.


Back to problem 31