BlueBook

p79ex5 - Multiple

Write a program that reads two positive integers and then determines whether or not the first number is a multiple of the second.

The program should output "yes" if they are, and "no" otherwise.

Input

The input cosists of two integer numbers a and b.

Output

Output "yes" if the first number is a multiple of the second number.

Sample Input 1

200
100

Sample Output 1

yes

Sample Input 2

100
200

Sample Output 2

no

All Submissions
Best Solutions


Point Value: 3
Time Limit: 1.00s
Memory Limit: 16M
Added: Oct 19, 2008

Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

Comments (Search)

It's quiet in here...