#P141. 练23.3 晶晶赴约会
练23.3 晶晶赴约会
Description
Jingjing's friend Beibei invited Jingjing to visit an exhibition next week, but Jingjing must attend classes on Mondays, Wednesdays, and Fridays (days 1, 3, and 5). Help Jingjing determine if she can accept Beibei's invitation. If she can, output "YES"; if not, output "NO".
Input Format
A single line containing the day of the week when Beibei invited Jingjing to the exhibition, represented by a number from 1 to 7 (Monday to Sunday).
Output Format
A single line: if Jingjing can accept the invitation, output "YES"; otherwise, output "NO".
Sample
2YES
Related
In following homework: