#include<stdio.h> int main() { int k; while(scanf("%d",&k)!=EOF) { int temp=(21+2)+(3*7*5*(k-1)); printf("%d\n",temp); } return 0; }
Double click to view unformatted code.