LearnPy Hub
← Operators problems
Medium

Bitwise AND, OR, XOR

Read two non-negative integers a and b and print a & b, a | b and a ^ b on one line.

Input

Two integers.

Output

One line.

Sample 1

Input
12
10
Output
8 14 6

Sample 2

Input
0
7
Output
0 7 7
solution.py
Output appears here
Bitwise AND, OR, XOR · Python practice problem · LearnPy Hub