Enter first num:

Enter second num:

Enter third num:

Check if the last digit of the three given positive integers is same.