Jasper Yu says to YSITD
57 >= a ? a - 48 : 90 >= a ? a - 65 + 10 : 122 >= a ? a - 97 + 36