s=input() maxi=0 mini=256 for i in s: if(ord(i)>maxi): maxi=ord(i) if(ord(i)<mini): mini=ord(i) print(maxi+mini)
To embed this program on your website, copy the following code and paste it into your website's HTML: