5310: 【GESP202403八级】公倍数问题

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

Input

Output

Sample Input Copy

2 5 2

Sample Output Copy

9

HINT

样例解释1