402338: GYM100733 C Death Report
Memory Limit:64 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
C. Death Reporttime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output
Even though he is the head of the Shitalian Mafia, Shi doesn't like bloodshed and punishes his subordinates if they kill innocent people. That is why the death report is always written in the following way: "We killed x% of the innocent people".
Shi wants to know the smallest number of innocent people that must have been in that place so that exactly x% of the innocent people have died.
For instance, if we have x = 35%. In this case we had 20 people, and 7 were victims, because 35% of 20 is 7. That is the minimum possible.
InputThere is a single number 0 ≤ x ≤ 100 with at most 15 decimal places.
OutputPrint the number sought by Shi.
ExamplesInput35Output
20Input
50.0Output
2Input
7.500Output
40Input
35.123456789Output
100000000000