← Back to List

14515번: Yin and Yang Stones ↗

Solutions

Python 3
52 B | 52 chars
s = input()
print(int(s.count('W') == s.count('B')))