Guest User

Untitled

a guest
Mar 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. n = int(input())
  2. list1= list()
  3.  
  4. for i in range(0,n):
  5. list1.append(input())
  6. set1=set(list1[0])
  7. for value in list1:
  8. set2=set(value)
  9. set1 = set1.intersection(set2)
  10. print(len(set1))
Add Comment
Please, Sign In to add comment