eolymp
Competitions

Week 2 Conditionals Part 1

Divisibility by numbers

Time limit 1 second
Memory limit 128 MiB

Given positive integer n. Is is divisible simultaneously by a and by b?

Input data

Three positive integers n, a, b, not greater than 10^9.

Output data

Print "YES" if n is divisible simultaneously by a and by b. Print "NO" otherwise.

Examples

Input example #1
12 4 6
Output example #1
YES
Input example #2
10 5 6
Output example #2
NO