BlueBook - Multiple

View as PDF

Submit solution

Points: 3
Time limit: 0.6s
Memory limit: 16M

Problem type
BlueBook

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 Specification

The input consists of two integer numbers a and b, each on a separate line.

Output Specification

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

Comments

There are no comments at the moment.