#B2038. Odd ASCII Checker
Odd ASCII Checker
Odd ASCII Checker
Given an input character, determine whether its ASCII value is odd or even. Output YES
if the ASCII value is odd, and NO
otherwise.
For example, the character A
has an ASCII value of 65 (which is odd), so the expected output is YES
. The character B
has an ASCII value of 66 (which is even), so the output should be NO
.
inputFormat
The input consists of a single character.
outputFormat
Output YES
if the ASCII value of the input character is odd; otherwise, output NO
.
sample
A
YES