15加到第几项

求s=1 +2 +3……+n,当加到第几项时,s的值会超过1000? 

Input

Output

输出一个整数,刚好大于1000的项

Examples

Input

Output

来源

lema
Time limit 1 second
Memory limit 128 MB
讨论 统计