View Code of Problem 31

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	while(cin>>n){
		cout<<23+(n-1)*3*5*7<<endl;
	}
}

Double click to view unformatted code.


Back to problem 31