#SCCCIE000014. Bội số (Multiples)
Bội số (Multiples)
Multiples
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Given two nonzero integers and , determine whether one is a multiple of the other.
Input
One line contains integers and .
Output
Print Sao Multiplos if one value is a multiple of the other; otherwise print Nao sao Multiplos.
Subtasks
- Subtask 1 (100%): ; , .
Examples
Example 1
Input
6 24
Output
Sao Multiplos
Explanation
For the sample values 6, 24, evaluating the conditions in the statement gives Sao Multiplos. Therefore the program prints the shown output.
Example 2
Input
6 25
Output
Nao sao Multiplos
Explanation
For the sample values 6, 25, evaluating the conditions in the statement gives Nao sao Multiplos. Therefore the program prints the shown output.