View Code of Problem 31

#include <stdio.h>
int main(){
	int n;
	while(scanf("%d",&n)!=EOF){
		int a=(n*5-4)*21+2;
		printf("%d\n",a);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 31