4 lines
125 B
Python
4 lines
125 B
Python
|
groups = open("input", "r").read().split("\n\n")
|
||
|
counts = [len(set(g.replace("\n", ""))) for g in groups]
|
||
|
print(sum(counts))
|