#B3913. Minimum Glass Capacity

    ID: 11570 Type: Default 1000ms 256MiB

Minimum Glass Capacity

Minimum Glass Capacity

Little H has five glasses available with capacities of (100\text{ mL}), (150\text{ mL}), (300\text{ mL}), (400\text{ mL}) and (1000\text{ mL}) respectively. Now, Little H wants to drink grape juice and plans to drink (a\text{ mL} ,(a \leq 1000)). Your task is to determine the minimum capacity of the glass he must choose so that it can hold exactly (a\text{ mL}) of grape juice without spilling.

inputFormat

The input consists of a single integer (a) representing the amount of grape juice (in mL) that Little H wants to drink. It is guaranteed that (a \leq 1000).

outputFormat

Output the smallest capacity (in mL) among the available glasses that can contain at least (a\text{ mL}) of grape juice.

sample

50
100