Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/funksiya-bolinadimi

Is it divisible

Easy 1000 ms 128 MB 22%
Share

Write a function IsDivisible(a, b) that returns true if the integer $a$ is divisible by the integer $b$ without a remainder and false otherwise.

Example 1: IsDivisible(12, 3) → true

Example 2: IsDivisible(10, 4) → false

Write only the function body.

Two numbers go into the function IsDivisible, which returns true if the first is divisible by the second

Input

One line with two integers $a$ and $b$ — the arguments of the function.

Output

The value returned by the function: true or false.

Note

$-10^{9} \le a, b \le 10^{9}$
$b \ne 0$

Examples

Input #1
12 3
Output #1
true
Input #2
10 4
Output #2
false

Sign in to submit a solution

Signing up is free and takes a minute.