a = int(input('Enter first number: ')) b = int(input('Enter second number: ')) q, r = a // b, a % b q1d, r1d = q % 10, r % 10 print(f'The one’s place digits of quotient and remainder are {"" if q1d == r1d else "not"} equal.')