#3410
A polyline
A polyline
题目描述
Input
The input contains two integers a,b (1≤a≤10,0≤b≤22·a-1) separated by a single space.
Output
Output two integers separated by a single space.
Examples
1 0
0 0
2 15
3 0
4 160
12 12