n = int(input("Enter any number : ")) number = str(n) first = int(number[0]) last = int(number[-1]) print(f"sum of {first} and {last} is : ",sum)