import math
N1 = 0
N2 = 0
N3 = 0
x = 0
y = 0
z = 0
N1 = input("Ingrese un número entero")
N2 = input("Ingrese otro número entero")
N3 = input("Ingrese otro número entero")
if (math.fabs(N1) % 10 == math.fabs(N2) % 10) and (math.fabs(N2) % 10 == math.fabs(N3) % 10):
print("Los últimos dígitos de sus número son iguales")
else:
print("Los últimos dígitos de sus números no son iguales")