Enter first num:

Enter second num:

Enter third num:

Check from three given numbers (non negative integers), that two or all of them have the same rightmost digit