Bacteria are microscopic, predominantly unicellular organisms, and are one of the main groups of living organisms. We are observing a colony of bacteria. Each bacterium of this species dies after three days.
Each day, the number of bacteria in the colony increases by percent. Specifically, the number of new bacteria added is the largest integer such that b \geq k \cdot \frac{100}{n}, where is the current number of bacteria.
Your task is to determine how many days the colony persists (i.e., until the day on which the last bacterium dies). If this number exceeds , output live.
Two integers and .
Print a single integer: the number of days the colony exists (up to and including the day the last bacterium dies), or live.
Example 1
For example, if n=10, b=25:
On the first day, the colony increases by of , which is , yielding bacteria.
On the second day, it increases by of , which is , resulting in bacteria.
On the third day, it increases by of , which is , and bacteria die, giving 15 + 3 - 10 = 8.
And so on.