Boolean
Boolean-24
Boolean-25
Boolean-26
~/algor $ cat problems/birinchi-chorakdami
In the first quadrant?
Easy
1000 ms
64 MB
18%
A point $(x; y)$ on the plane is given. Check whether the statement is true: “the point lies in the first coordinate quadrant”, that is, $x \gt 0$ and $y \gt 0$.
Input
One line with two integers: $x$ and $y$.
Output
One integer: $1$ if the statement is true, otherwise $0$.
Note
$-10^{9} \le x, y \le 10^{9}$
Examples
Input #1
1 1
Output #1
1
Input #2
-1 1
Output #2
0