After studying the "Matrix Bel Lotus", Muhannad (not you, Nahhal) invented a new concept in numbers, the lotusency. The lotusency of an integer $$$Y$$$ is the number of times it can be square-rooted while still remaining an integer. For example:
Muhannad has an integer $$$X$$$, and he wants to maximize its lotusency. He can do the following operation at most $$$K$$$ times:
What is the maximum lotusency he can obtain?
The first line contains a single integer $$$tc \: (1 \leq tc \leq 2 \cdot 10^5)$$$ — the number of testcases.
The first and only line of each testcase consists of two integers $$$X,K \: (2 \leq X \leq 2 \cdot 10^5) (0 \leq K \leq 10^{18})$$$.
For each testcase, print a single integer, the maximum lotusency Muhannad can obtain.
35 18 5200000 1000000000000000000
1 3 58