Enter first num: Enter second num: Enter third num: Check for same numbers
Check three given numbers, if the three numbers are same return 30 otherwise return 40 and if two numbers are same return 20