Sightseeing trip#7460

Sightseeing trip

1 second
128 megabytes
Very easy (≈850)

The pupils from 10-B class decided in the autumn holiday to go on an excursion to the capital. Knowing the number of boys and girls , determine how many rooms you need to book in a hotel, if each room has beds and it is forbidden to settle boys and girls together.

Input

One line contains three numbers n, m, k~(n, m, k \le 100).

Output

Print the number of rooms to book in the hotel.

Examples

Example 1

Loading
Loading