Bitwise Operations on Integers

You are given two integers and . Your task is to compute and output their bitwise XOR, AND, and OR operations.

Input

The first line contains the integer () The second line contains the integer ()

Output

The output format

Examples

Input
Output
5 3
6 1 7
8 2
10 0 10

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in