Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 200200 points
Problem Statement
There are AA slimes.
Each time Snuke shouts, the slimes multiply by KK times.
In order to have BB or more slimes, at least how many times does Snuke need to shout?
Constraints
-
1 \leq A \leq B \leq 10^91≤A≤B≤109
-
2 \leq K \leq 10^92≤K≤109
-
All values in input are integers.
Input
Input is given from Standard Input in the following format:
AABBKK
Output
Print the answer.