nwerc-2016/practice/C.py

6 рядки
139 B
Python

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