letters = ('A', 'B', 'B', 'B', 'C', 'A', 'C', 'C', 'B')

aCount = letters.count('A')
bCount = letters.count('B')
cCount = letters.count('C')

countList = [aCount, bCount, cCount]

countList.sort()

print(countList)

