#JSUTFPC2025H. Group Buying for Goods —— 拼团买谷

Group Buying for Goods —— 拼团买谷

Statement

Jachin often buys anime goods through overseas online shopping. However, due to the high shipping costs from abroad to China, the price can even be several times higher than the value of the goods. Therefore, Jachin often groups together with friends and family to buy anime goods, and everyone shares the shipping costs equally.

Now, given the price PP of the anime goods purchased by Jachin, the shipping cost SS, and the number of people participating in this group purchase CC.

Jachin wants to know the total cost SumSum of purchasing anime goods for one person this time (the total cost for one person is the price of the anime goods plus the shipping fee that Jachin needs to pay).

Input

The input contains a line with three integers representing P,S,CP, S, C respectively, where (0<P,S,C1×1018)(0 < P, S, C \leqslant 1 \times 10^{18}) and separated by spaces.

Output

It contains an integer representing SumSum (ensuring that SumSum is an integer).

Samples

1 6 3
3