<filename>submissions/abc028/b.py
import sys
input = sys.stdin.readline

s = input()
print(s.count('A'), s.count('B'), s.count('C'), s.count('D'), s.count('E'), s.count('F'))

<filename>submissions/abc028/b.py
import sys
input = sys.stdin.readline

s = input()
print(s.count('A'), s.count('B'), s.count('C'), s.count('D'), s.count('E'), s.count('F'))
