View Code of Problem 31

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

Double click to view unformatted code.


Back to problem 31