H. A polylinetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output  InputThe input contains two integers a, b (1 ≤ a ≤ 10, 0 ≤ b ≤ 22·a - 1) separated by a single space.OutputOutput two integers separated by a single space.ExamplesInput1 0Output0 0Input2 15Output3 0Input4 160Output12 12
Input1 0
Output0 0
['*special problem', 'implementation', '*1700']