2 lines
55 B
Python
2 lines
55 B
Python
print(sum('.'>d[i*3%31]for i,d in enumerate(open(0))))
|
print(sum('.'>d[i*3%31]for i,d in enumerate(open(0))))
|