A natural number is called cool if the sum of the digits which are in odd positions (starting to count on the right) is an even number. For instance, 2 and 679031 are cool, but 357199 and 607 are not.
Your task is to write a program that prints if a given number is cool or is not.
The input is a natural number .
Your program must print in a line if is cool or is not, following the format of the instaces.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:51:50.158Z
© Jutge.org, 2006–2026.
https://jutge.org