You have just completed a brave journey to see The Wizard of Odds, who agrees to grant you any wish, so long as you can complete the following puzzle:
The Wizard starts by telling you two integers:
Your goal is to correctly guess the secret number. Before guessing, you
are allowed to ask
(Formally, you can think of a "question" as a function from
Assuming that you have been told
Input Specification
The input consists of a single line containing two integers
Note: These inputs might NOT fit into a 64-bit integer.
Output Specification
Output Your wish is granted!
if it is possible
for you to guarantee that you win the game (regardless of the number the
Wizard picks). Otherwise, print You will become a flying monkey!
if it is not possible.
Sample Input 1
8 3
Sample Output 1
Your wish is granted!
Sample Input 2
1234567890987654321 2
Sample Output 2
You will become a flying monkey!
Deon Nicholas
Comments