#t225. 奇偶 ASCII 值判断

奇偶 ASCII 值判断

Odd/Even ASCII Check

Problem Description

Given any character, determine whether its  ASCII \,ASCII\, value is odd. If so, output YES; otherwise output NO.

For example, the character A has  ASCII \,ASCII\, value  65\,65, so output YES; if the input character is B ( ASCII \,ASCII\, value  66\,66), output NO.

Input Format

The input is one character.

Output Format

If its  ASCII \,ASCII\, value is odd, output YES; otherwise output NO.

Sample Input

A

Sample Output

YES

Hint

  • Read one character. A character can participate in arithmetic directly: taking its remainder is taking the remainder of its ASCII code.
  • Check against the sample: the code of A is 65 — does it output YES or NO?