s="CAAGGGGGGGGGGT"
def ile(s):
ile_A = 0;
ile_C = 0;
ile_G = 0;
ile_T = 0;
for i in s:
if i == "A":
ile_A += 1
elif i == "C":
ile_C += 1
elif i == "G":
ile_G += 1
else:
ile_T += 1
return [ile_A, ile_C, ile_G, ile_T]
print(ile(s))
cz0iQ0FBR0dHR0dHR0dHR1QiCmRlZiBpbGUocyk6CglpbGVfQSA9IDA7CglpbGVfQyA9IDA7CglpbGVfRyA9IDA7CglpbGVfVCA9IDA7Cglmb3IgaSBpbiBzOgoJCWlmIGkgPT0gIkEiOgoJCQlpbGVfQSArPSAxCgkJZWxpZiBpID09ICJDIjoKCQkJaWxlX0MgKz0gMQoJCWVsaWYgaSA9PSAiRyI6CgkJCWlsZV9HICs9IDEKCQllbHNlOgoJCQlpbGVfVCArPSAxCglyZXR1cm4gW2lsZV9BLCBpbGVfQywgaWxlX0csIGlsZV9UXQpwcmludChpbGUocykp