#2003. 【入门】求S的值

【入门】求S的值

Description

求S=1+2+4+7+11+16……的值刚好大于等于5000时S的值。

Input Format

Output Format

一行,一个整数。



Source

函数问题