1030: 求数列的第n项

Memory Limit:3 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:65 Solved:47

Description

请问如下数列1,2,2,3,3,3,4,4,4,4……请问这个数列的第n项是多少?

Input

从键盘读入一个整数n,代表要求的项数

Output

一个整数n代表该项的值是多少

Sample Input Copy

10

Sample Output Copy

4