Company: Amazon_14nov
Difficulty: medium
Robo Race Problem Description There is a robot race which two robots named Robotop and Robotop are going to run. Both robots will begin from the same starting point on a circular track. The race starts at time T = 0 seconds. Robotop starts the race at T = Xth second and takes exactly N seconds to complete one lap, while Robotop starts the race at T = Yth second and takes exactly M seconds to complete one lap. Your task is to find and return an integer value representing the least time T (in seconds) at which these two robots meet each other again at the starting point. Note: * Assume N and M to be co-prime positive integers. * Co-prime numbers are those numbers that have only 1 as common factor, e.g. 3 and 5 are co-prime numbers. * The time is only considered in seconds. * A lap is defined as a complete trip around a race track that is repeated several times during a competition. Input Specification: input1 : An integer value X, representing the time at which Robotop starts the race. i