Write a program that reads pairs of natural numbers and , and for each one prints the smallest natural number that is greater than or equal to and also a multiple of .
Input consists of a sequence of pairs of natural numbers and with .
For each and , print in a line the smallest natural number such that and for some natural number . Precede this with the case number starting at 1, following the format of the example.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T12:03:53.733Z
© Jutge.org, 2006–2026.
https://jutge.org