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.

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