题目描述
Problem Description
December 6th is a day where the month can be divided by the day without a remainder. Given a date, determine if the month can be divided by the day without a remainder.
Input Format
The input is given from the standard input in the following format:
$ M $ $ D $
- An integer $ M $ representing the month and an integer $ D $ representing the day are given separated by a space.
Output Format
Output YES if the month can be divided by the day without a remainder, otherwise output NO. Ensure a newline at the end of the output.
Sample Input and Output
Sample Input #1
1 1
Sample Output #1
YES
Sample Input #2
2 29
Sample Output #2
NO
Sample Input #3
12 6
Sample Output #3
YES
Notes/Hints
None
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
1 1
样例输出
YES