12 lines
No EOL
183 B
Python
12 lines
No EOL
183 B
Python
num = int(input())
|
|
|
|
day1 = list(input())
|
|
day2 = list(input())
|
|
|
|
total = 0
|
|
|
|
for first, second in zip(day1, day2):
|
|
if first == "C" and second == "C":
|
|
total += 1
|
|
|
|
print(total) |