Divisibility by numbers
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given positive integer . Is is divisible simultaneously by and by ?
Input
Three positive integers , not greater than .
Output
Print "YES" if is divisible simultaneously by and by . Print "NO" otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 21K
Acceptance rate 57%