You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

5 lines
139 B

from __future__ import print_function
import sys
P = sys.stdin.readline().rstrip()
N = 26-len(set(P))
print(N if N != 0 else "impossible")