If the resulting LCM is equal to 1, the program will not respond. Only units digits LCM is available.