Boolean
Boolean-04
Boolean-05
Boolean-06
~/algor $ cat problems/kamida-bittasi-musbat
At least one is positive
Easy
1000 ms
64 MB
12%
Two integers $A$ and $B$ are given. Check whether the statement is true: “at least one of the numbers $A$ and $B$ is positive”.
Input
One line with two integers: $A$ and $B$.
Output
One integer: $1$ if the statement is true, otherwise $0$.
Note
$-10^{9} \le A, B \le 10^{9}$
Examples
Input #1
1 -1
Output #1
1
Input #2
-5 -2
Output #2
0