a = input() def func(x): if x in ['a','b','c']: return '2' elif x in ['d','e','f']: return '3' elif x in ['g','h','i']: return '4' elif x in ['j','k','l']: return '5' elif x in ['m','n','o']: return '6' elif x in ['p','q','r','s']: ...