-->
当前位置:首页 > 题库

PROGRAMMING:Jingjing goes on a date

Luz5年前 (2021-05-10)题库461
###Task description
Jingjing's friend Beibei asks Jingjing to go to the exhibition from next Monday, but Jingjing has classes on 1, 3 and 5 every week. Please help Jingjing judge whether she can accept Beibei's invitation, if yes can be output; If not, no is output.
###Input format:
Enter the date on which Beibei invited Jingjing to see the exhibition. The numbers 1 to 7 indicate Monday to Sunday.
###Output format:
If Jingjing can accept Beibei's invitation, output yes, otherwise, output No. Note that yes and no are capital letters!
###Sample input
```in
two
```
###Sample output
```out
YES
```
###Tips
This topic is selected from openjudge website http://noi.openjudge.cn/ch0104/11/ .







answer:If there is no answer, please comment