G. Gargantua
time limit per test
1 second
memory limit per test
1024 megabytes
input
standard input
output
standard output

Léo and Ema are two astronauts living on Earth. One day, Ema was called on a mission to planet Miller, which orbits a black hole named Gargantua.

Because it orbits a black hole, time on Miller passes $$$X$$$ times slower than on Earth.

Knowing that Léo was $$$A$$$ years old before Ema traveled, and that Ema stayed $$$Y$$$ years (according to Miller's time) on Miller, what will be Léo's age when Ema returns to Earth?

Input

The input consists of three lines, each containing one of the integers $$$A, X, Y$$$ $$$(0 \le A, X, Y \le 100)$$$ — Léo's age before Ema traveled to Miller, the factor by which time passes slower on Miller compared to Earth, and the number of years Ema stayed on Miller, respectively.

Output

The output must contain a single integer, Léo's age when Ema returns to Earth.

Examples
Input
20
3
4
Output
32
Input
31
17
3
Output
82
Input
1
2
3
Output
7