100 atcoder#ABC221A. [ABC221A] Seismic magnitude scales
[ABC221A] Seismic magnitude scales
Score : points
Problem Statement
The magnitude of an earthquake is a logarithmic scale of the energy released by the earthquake. It is known that each time the magnitude increases by , the amount of energy gets multiplied by approximately . Here, we assume that the amount of energy gets multiplied by exactly each time the magnitude increases by . In this case, how many times is the amount of energy of a magnitude earthquake as much as that of a magnitude earthquake?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
6 4
1024
is greater than , so a magnitude earthquake has times as much energy as a magnitude earthquake has.
5 5
1
Earthquakes with the same magnitude have the same amount of energy.