A8556. A polyline
编程题
普及/提高-
知识点
题目描述

输入格式
The input contains two integers $a,b$ ( $1<=a<=10,0<=b<=2^{2·a}-1$ ) separated by a single space.
输出格式
Output two integers separated by a single space.
输入输出样例
输入 #1
1 0
输出 #1
0 0
输入 #2
2 15
输出 #2
3 0
输入 #3
4 160
输出 #3
12 12