CF602A Two Bases
Description
After seeing the "ALL YOUR BASE ARE BELONG TO US" meme for the first time, numbers $ X $ and $ Y $ realised that they have different bases, which complicated their relations.
You're given a number $ X $ represented in base $ b_{x} $ and a number $ Y $ represented in base $ b_{y} $ . Compare those two numbers.
Input Format
The first line of the input contains two space-separated integers $ n $ and $ b_{x} $ ( $ 1
Output Format
Output a single character (quotes for clarity):
- '' if $ X>Y $
- '=' if $ X=Y $
Explanation/Hint
In the first sample, $ X=101111_{2}=47_{10}=Y $ .
In the second sample, $ X=102_{3}=21_{5} $ and $ Y=24_{5}=112_{3} $ , thus $ X<Y $ .
In the third sample,  and $ Y=4803150_{9} $ . We may notice that $ X $ starts with much larger digits and $ b_{x} $ is much larger than $ b_{y} $ , so $ X $ is clearly larger than $ Y $ .