Олимпиадный тренинг

Задача 32940. Conditioning - 3


Write a program that prints 1 if the given statement is true and 0 otherwise.

the sum of the digits of the given three-digit number is an even number

EXAMPLE:
input: 123
output: 1

EXAMPLE:
input: 122
output: 0