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