Problem8700--ITP2_10_B : Bit Operation II

8700: ITP2_10_B : Bit Operation II

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

Given two non-negative decimal integers a and b, calculate their AND (logical conjunction), OR (logical disjunction) and XOR (exclusive disjunction) and print them in binary representation of 32 bits.

Input

The input is given in the following format.

a b

Output

Print results of AND, OR and XOR in a line respectively.

Constraints

$1 \leq a,b \leq 2^{32}-1$

Sample 1 Input

8 10

Sample 1 Output

00000000000000000000000000001000
00000000000000000000000000001010
00000000000000000000000000000010

HINT

相同题目:ITP2_10_B

Source/Category