D. 练17.1 奇偶ASCII值判断

    Type: Default 1000ms 128MiB

练17.1 奇偶ASCII值判断

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

Input any character and determine if its ASCII value is odd. If it is, output YES; otherwise, output NO. For example, the ASCII value of character 'A' is 65, so output YES; if the input character is 'B' (ASCII value 66), output NO.

Input Format

Input a single character.

Output Format

If the ASCII value of the character is odd, output YES; otherwise, output NO.

Sample

A
YES

20251122 A班作业(7)

Not Claimed
Status
Done
Problem
7
Open Since
2025-11-22 0:00
Deadline
2025-11-30 23:59
Extension
24 hour(s)