text: # -*- coding: utf-8 -*-
  """
  A program that loads two integers and computes their lowest common multiplier.
  """
  
  a = int(input("Enter an integer: "))
  b = int(input("Enter an integer: "))
  
  #%% Euclid's algorithm
  
  euclida = a
  euclidb = b
  
  if euclida != 0 and euclidb != 0:
      r = euclida % euclidb
      q = euclida #Replaces euclida with q so that it can be iterated on without affecting the original input
  
      while r != 0: #Finds the remainder of q and euclidb until it becomes 0
  
          r = q % euclidb
          q = euclidb % r
          euclidb=r
          r=q
  
  #%% Lowest common multiplier
  
  lcm = abs(a*b)/b
  
  print("The lowest common multiplier of ", a, "and", b, "is", lcm)
  