#P269. 练44.1 比特童币

练44.1 比特童币

Description

Write a program to output all binary integers from 000020000_2 to 111121111_2 and their corresponding decimal values.

Input Format

None

Output Format

Each line should output a binary integer and its corresponding decimal value.

Sample

None
0000B 0
0001B 1
0010B 2
0011B 3
0100B 4
0101B 5
0110B 6
0111B 7
1000B 8
1001B 9
1010B 10
1011B 11
1100B 12
1101B 13
1110B 14
1111B 15