← Back to List

26004번: HI-ARC ↗

Solutions

Python 3
91 B | 91 chars
input()
s = input()
ans = len(s)
for i in "HIARC":
  ans = min(ans, s.count(i))
print(ans)