View Code of Problem 31

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

Double click to view unformatted code.


Back to problem 31