Is n Divisible by x and y
Submit solution
Points:
1
Time limit:
2.0s
Memory limit:
256M
Problem types
Allowed languages
Python
Write a program that reads three positive integers: n, x, and y.
Print True if n is divisible by both x and y.
Otherwise, print False.
Input
The input contains three positive integers, n, x, and y, on one line.
Output
Output either True or False.
Sample Input
12 3 4
Sample Output
True
Comments