Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/funksiya-juftmi

Is it even

Easy 1000 ms 128 MB 22%
Share

Write a function IsEven(x) that returns true if the integer $x$ is even and false otherwise.

Example 1: IsEven(4) → true

Example 2: IsEven(7) → false

Write only the function body.

A number goes into the function IsEven, which returns true if the number is even

Input

One line with an integer $x$ — the argument of the function.

Output

The value returned by the function: true or false.

Note

$-10^{9} \le x \le 10^{9}$

Examples

Input #1
4
Output #1
true
Input #2
7
Output #2
false

Sign in to submit a solution

Signing up is free and takes a minute.