Dunno was trained by Toropyzhka to walk faster. Before training, he walked a path of
S
meters in
t1
seconds. After training Dunno's speed increased by
P%
. Write a program that determines which path (in meters) Dunno will walk in
t2
seconds after training with Toropyzhka.
Input
Four integers as input:
S
(1<=S<=100),
t1
(1<=t
1<=100),
P
(1<=P<=100)
and
t 2
(1<=t
2<=100).
Imprint
Print one number - the answer to the problem.
Example
# |
Input |
Output |
1 |
20 5 40 10 |
56.0 |