#ENGLISHP24. Divisor and Multiple
Divisor and Multiple
Description
Given D and M. D is the divisor of both A and B, while M is the multiple of both A and B. Find A and B.
Input Format
Two positive integer D and M (D,M <= 100).
Output Format
Two integers A and B.
3 18
6 9