Easymathconditions
Divisibility Check
Time limit 2 s · Memory 64 MBAcceptance: —Solved by: 0
Statement
One line contains two integers a and b. Print YES if a is divisible by b without a remainder, otherwise NO.
Examples
Example 1
Input
10 5
Output
YES
Example 2
Input
7 3
Output
NO
Constraints
- -10^18 ≤ a ≤ 10^18
- 1 ≤ b ≤ 10^18