Boolean
Boolean-02
Boolean-03
Boolean-04
~/algor $ cat problems/toqmi
Is it odd?
Easy
1000 ms
64 MB
12%
An integer $a$ is given. Check whether the statement is true: “the number $a$ is odd”.
Input
One integer $a$.
Output
One integer: $1$ if the statement is true, otherwise $0$.
Note
$-10^{9} \le a \le 10^{9}$
Examples
Input #1
7
Output #1
1
Input #2
4
Output #2
0