AKOJ正在加载中...

4165: A polyline

金币值:2 定数:1 时间限制:2.000 s 内存限制:256 M
正确:0 提交:0 正确率:0.00% 命题人:
点赞量:0 收藏量:0 题目类型:程序

题目描述

time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Input

The input contains two integers a,b (1≤a≤10,0≤b≤2a-1) separated by a single space.

Output

Output two integers separated by a single space.

Examples
Input
1 0
Output
0 0
Input
2 15
Output
3 0
Input
4 160
Output
12 12