A student in his first year downloaded an average of A Kb of information per day from the Internet, and in his second year – In Kbytes, paying the same amount of money for the received Internet traffic per week. What is the smallest amount of information in Kbytes he downloaded in a week?
Write the solution to the problem as a function solve(A, B)
that returns the answer. You don't need to enter or withdraw anything!
Examples
# |
Input |
Output |
1 |
60 75 |
300 |
Запрещенные операторы:lcm;gcd