100 atcoder#ABC208A. [ABC208A] Rolling Dice
[ABC208A] Rolling Dice
Score : points
Problem Statement
Is it possible to get a sum of when throwing a die with six faces times?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
If it is possible to get a sum of , print Yes
; otherwise, print No
.
2 11
Yes
There are two ways to get a sum of when throwing a -faced die twice:
- getting in the first throw and in the second throw;
- getting in the first throw and in the second throw.
2 13
No
There is no way to get a sum of when throwing a -faced die twice.
100 600
Yes