nwerc-2016/practice/C.py

6 lines
139 B
Python
Raw Normal View History

2016-11-19 11:42:12 +01:00
from __future__ import print_function
import sys
P = sys.stdin.readline().rstrip()
N = 26-len(set(P))
print(N if N != 0 else "impossible")