`>n && %k==0`

View as PDF



Problem types
Points: 100 (p) Time limit: 0.5s Memory limit: 640M Input: stdin Output: stdout

Bạn được cho 2 số nguyên \(n, k\).

Hãy tìm số nhỏ nhất mà lớn hơn \(n\) và chia hết cho \(k\).

Input

  • \(n, k (1 \leq n, k \leq 10^{9})\)

Output

  • số cần tìm ở trên

Example

Test 1

Input
25 13
Output
26

Comments

There are no comments at the moment.