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

PROGRAMMING:Collecting bottle caps to win big prize

Luz5年前 (2021-05-10)题库451
###Task description
A beverage company recently launched an activity of "collecting caps to win awards": if you have 10 caps printed with "luck" or 20 caps printed with "encouragement", you can exchange for a mysterious award.
Now give the number of caps printed with "lucky" and "encourage" to judge whether you can exchange for the grand prize.
###Input
One line contains two integers, which are the number of caps printed with "lucky" and "encourage", separated by a space.
###Output
a line. If the prize can be exchanged, output 1, otherwise output 0.
###Sample input
```in
11 19
```
###Sample output
```out
one
```
###Tips
Note: this topic is selected from openjudge website http://noi.openjudge.cn/ch0104/07/ .







answer:If there is no answer, please comment