<filename>10808/solution.py
def sol():
    S = input()
    for i in range(26):
        print(S.count(chr(i + 97)), end=' ')


if __name__ == "__main__":
    sol()

<filename>10808/solution.py
def sol():
    S = input()
    for i in range(26):
        print(S.count(chr(i + 97)), end=' ')


if __name__ == "__main__":
    sol()
