Find Power – First Digit & Last Digit


 

n=list(input().strip())

f=int(n[0]) l=int(n[-1]) print(f**l)

Post a Comment

0 Comments