#K7811. Multiple Checker

    ID: 35014 Type: Default 1000ms 256MiB

Multiple Checker

Multiple Checker

Given two integers \(A\) and \(B\) from standard input, determine whether \(B\) is a multiple of \(A\). In other words, check if there exists an integer \(k\) such that \(B = k \times A\). If \(B \bmod A = 0\), output Yes; otherwise, output No.

Note: The input will consist of exactly two integers separated by spaces or newlines.

inputFormat

The input consists of two integers \(A\) and \(B\) separated by space(s) or newline(s).

outputFormat

Output a single line with the string "Yes" if \(B\) is a multiple of \(A\); otherwise, output "No".

## sample
3 9
Yes