시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB54423477.273%

문제

Farmer John has cut an almost unlimited number of square pieces of sod (grass sections) of all integer side-lengths from the pasture (sometimes FJ doesn't engage the blade properly and even makes a 0-sided sod squares). He has placed them in nicely organized piles that Bessie spotted one afternoon.

Bessie, always hoping to put delicious grass in her secret pasture, decided to carry precisely four of these sod sections over to her pasture and carve them into 1x1 sections in order to tile its N (1 <= N <= 10,000) unit-square sections.

Bessie is interested in knowing how many different ways she can choose four sod sections to tile her secret pasture. If she had a pasture of size 4, she might haul sod squares in these five different ways: (1,1,1,1), (2,0,0,0), (0,2,0,0), (0,0,2,0), (0,0,0,2).  Order counts: (4,3,2,1) is a different way of choosing than (1,2,3,4).

입력

• Line 1: A single integer: N

출력

• Line 1: A single integer that is the number of different ways Bessie can choose four sod sections for her pasture

예제 입력 1

4


예제 출력 1

5