Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- c = ' '.join(''.join(x for x in input() if x.isalpha() or x.isspace()) for i in range(a))
- print (len(set(c.split())),sep = '',end = '')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement