Problem list
Log in
#r03316 · Online Judge > GoldOJ

Relational Operations

Bronze IV 2.0 s 256 MB

Given two integers $A$ and $B$, print the results of $A>B$, $A\ge B$, $A<B$, $A\le B$, $A=B$, $A\ne B$ in this order, one per line. Print $1$ for true and $0$ for false.

Input

Two integers $A$ and $B$ ($-10000 \le A, B \le 10000$).

Output

Print six lines of $1$/$0$.

Example 1

Input
5 3
Output
1
1
0
0
0
1

Example 2

Input
7 7
Output
0
1
0
1
1
0
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code