Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7090 - Шагай

k ширхэг шагайг орхиход /хаяхад/ буух ялгаатай боломжийн тоог ол. Шагай нь морь, тэмээ, хонь, ямаа гэсэн 4 янзаар бууна.

Input

Шагайны тоо өгөгдөнө.

Output

Ялгаатай буултын тоо.

Example

Input:
4

Output:
35

Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:24:24
#include <cstdio>
int main() {
int a,b;
scanf("%d",&a);
b=(a+1)*(a+2)*(a+3)/6;
printf("%d",b);
}ez!
2020-06-20 07:23:16
#include <cstdio>
int main() {
int n,m;
scanf("%d",&n);
m=(n+1)*(n+2)*(n+3)/6;
printf("%d",m);
}ez!
2020-06-20 07:23:16
#include <cstdio>
int main() {
int n,m;
scanf("%d",&n);
m=(n+1)*(n+2)*(n+3)/6;
printf("%d",m);
}ez!
2020-06-20 07:22:51
#include <cstdio>
int main() {
int n,m;
scanf("%d",&n);
m=(n+1)*(n+2)*(n+3)/6;
printf("%d",m);
}ez!
2020-06-20 07:22:51
#include <cstdio>
int main() {
int n,m;
scanf("%d",&n);
m=(n+1)*(n+2)*(n+3)/6;
printf("%d",m);
}ez!
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.