loading
main.py
1
2
3
letters = input().split()
letters.sort()
print(ord(letters[-1]) - ord(letters[0]))