Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 100100 points
投掷一个六面骰子1、2、…、6 A次时,有可能得到B的总和吗?
(骰子有6个面,6个面上的点数分别是:1 2 3 4 5 6)
Problem Statement
Is it possible to get a sum of BB when throwing a die with six faces 1,2,\ldots,61,2,…,6 AA times?
Constraints
-
1 \leq A \leq 1001≤A≤100
-
1 \leq B \leq 10001≤B≤1000
-
AA and BB are integers.
Input
Input is given from Standard Input in the following format:
AABB
Output
If it is possible to get a sum of BB, print Yes; otherwise, print No.