Find the cost of a phone call in kopecks with a duration of seconds, if the connection cost is kopecks and the tariff is per minute; that is, at the first second of each minute, a charge of kopecks is applied.
Three non-negative integers , , and (0 \le a, b \le 99,\ 0 \le n \le 86400).
Print the cost of the phone call in kopecks.
Example 1