#K65462. Divisibility or Product

    ID: 32203 Type: Default 1000ms 256MiB

Divisibility or Product

Divisibility or Product

You are given two integers \(X\) and \(Y\). Your task is to determine whether \(X\) is divisible by \(Y\). If it is, output the result of the division \(\frac{X}{Y}\). Otherwise, output the product \(X \times Y\).

For example, if \(X = 15\) and \(Y = 3\), since 15 is divisible by 3, the answer is \(5\). But if \(X = 14\) and \(Y = 3\), 14 is not divisible by 3 and the answer is \(42\).

inputFormat

The input consists of a single line containing two space-separated integers \(X\) and \(Y\).

outputFormat

Output a single integer which is either the result of \(X\) divided by \(Y\) if \(X\) is divisible by \(Y\), or the product \(X \times Y\) otherwise.

## sample
15 3
5

</p>