Buns#11379

Buns

1 second
128 megabytes
Very easy

Huseyn likes buns very much, which are sold at ADA University in building C. It is known that

Huseyn wants to buy exactly buns. What is the minimum number of qəpik he should spend?

Input

Three positive integers , , and , each not greater than 10^9.

Output

Print the minimum number of qəpik that Huseyn should spend to buy exactly buns.

Examples

Example 1

Loading
Loading