Problems
easyLeast Common Multiple (LCM)
2 Koda Coins

Least Common Multiple (LCM)

easy2s limit💾 64 MB

Description

Given two integers A and B, find their Least Common Multiple (LCM).


Input Format

  • A single line containing two space-separated integers A and B.

  • Output Format

  • Print a single integer representing the LCM.

  • Constraints

  • 1 <= A, B <= 10^9