# Arup Guha
# 9/1/2020
# Digit Checker - determine if the units digit is the same as the tens digit

# Get a number.
number = int(input("Enter a postive integer.\n"))

# units digit.
unitD = number%10

# get rid of the last digit.
number = number//10

# Now we get the tens digit of the original number as it's the units digit
# of this number.
tensD = number%10

print("Tens digit is",tensD,"Units digit is",unitD)



