← Back to List

6784번: Multiple Choice ↗

Solutions

Python 3
126 B | 126 chars
n = int(input())
s = [input() for i in range(n)]
a = [input() for i in range(n)]

print(sum([s[i] == a[i] for i in range(n)]))