Climbing Worm

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

A worm is at the bottom of a pole. It wants to reach the top, but it is too lazy to climb to the top without stopping. It can crawl up the pole a certain number of inches at a time, falling down a lesser number of inches right after while it rests. How many times does the worm need to crawl up in order to reach the top of the pole?

입력

The input consists of a single line that contains three integers a,ba, b (0b<a1000 \leq b < a \leq 100), and hh, (0<h100,0000 < h \leq 100\\,000) indicating the amount aa of inches the worm can climb at a time, the amount bb of inches the worm falls during its resting period, and the height hh of the pole, respectively.  Note: For the purposes of this problem, the worm is modeled as a point and thus has no length.

출력

Output the number of times the worm must crawl up in order to reach the top of the pole.