#T542. 奇偶ASCII码判断
奇偶ASCII码判断
Description
Enter 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 the output would be "YES". If the input character is 'B' (ASCII value 66), the output would be "NO".
Input Format
Input a single character.
Output Format
If the ASCII value of the character is odd, output "YES". Otherwise, output "NO".
A
YES
译文
CodesOnline