Problem4511--喝水

4511: 喝水

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

有五个杯子,容量分别是 lns="http://www.w3.org/1998/Math/MathML">100 毫升、lns="http://www.w3.org/1998/Math/MathML">250 毫升、lns="http://www.w3.org/1998/Math/MathML">500 毫升、lns="http://www.w3.org/1998/Math/MathML">1000 毫升、lns="http://www.w3.org/1998/Math/MathML">2000 毫升。

请取一个杯子装下 lns="http://www.w3.org/1998/Math/MathML">N 毫升的水,lns="http://www.w3.org/1998/Math/MathML">N 为一个给定的正整数且保证 lns="http://www.w3.org/1998/Math/MathML">N2000

若希望杯子尽量小,请输出需要多大的杯子?

Input

  • 单个整数表示 lns="http://www.w3.org/1998/Math/MathML">N




Output

  • 单个整数:表示合适的容量。

Sample Input Copy

115

Sample Output Copy

250

Source/Category