Problem:


Counting Characters

  Write a program which counts and reports the number of each alphabetical letter. Ignore the case of characters.

Input

  A sentence in English is given in several lines.

Output

  Prints the number of alphabetical letters in the following format:

a : The number of 'a'
b : The number of 'b'
c : The number of 'c'
  .
  .
z : The number of 'z'

Constraints

The number of characters in the sentence < 1200

Sample Input

This is a pen.

Sample Output

a : 1
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0



Sample input:
This is a pen.


Sample output:
a : 1
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0

Submission status: Wrong Answer

Solution code:
n = list(raw_input().lower())

charac = []
for j in range(65,65+26):
	m= 0
	for i in range(0,len(n)):
		if ord(n[i]) == j:
			m += 1
	
	charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
	print charac[i]

Submission status: Wrong Answer

Solution code:
n = list(raw_input().upper())
charac = []
for j in range(65,65+26):
    m= 0
    for i in range(0,len(n)):
	if ord(n[i]) == j:
            m += 1
    charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print charac[i]

Submission status: Wrong Answer

Solution code:
n = list(raw_input().upper())
charac = []
for j in range(65,65+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
    charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
n = list(raw_input().lower())
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
    charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
n = list(input().lower())
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
n = []
while True:
    try:
        c = list(raw_input().lower())
        n.append(c)
    except:
        break

a = ""
for i in n:
    a = a + "".join(i)
n = list(a)
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
n = ""
while True:
    try:
        c = raw_input().lower()
        if c != "":
            n = n + c
        else: break
    except:
        break

n = list(n)
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
n = ""
while True:
    try:
        c = raw_input().lower()
        if c != "":
            n = n + c
        else: 
            break
    except:
        break

n = list(n)
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
y = ""
while True:
    try:
        c = raw_input().lower()
        if c != "":
            y = y + c
        else: 
            break
    except:
        break

n = list(y)
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
y = ""
while True:
    try:
        c = raw_input().lower()
        y = y + c
    except:
        break

n = list(y)
charac = []
for j in range(97,97+26):
    m= 0
    for i in range(0,len(n)):
        if ord(n[i]) == j:
            m += 1
        charac.append("{} : {}".format(chr(j),m))

for i in range(0,26):
    print(charac[i])

Submission status: Wrong Answer

Solution code:
import string

s = input().lower()
for a in string.ascii_lowercase:
    print('{0} : {1}'.format(a, s.count(a)))

Submission status: Wrong Answer

Solution code:
import string

text = input()
character_count_map = {}

for c in text:
    if c not in character_count_map:
        character_count_map[c] = 0
    character_count_map[c] += 1

for c in string.ascii_lowercase:
    if c in character_count_map:
        print(c, ":", character_count_map[c])
    else:
        print(c, ":", 0)

Submission status: Wrong Answer

Solution code:
import sys
import string

text = ""
for line in sys.stdin:
    text += line

character_count_map = {}

for c in text:
    if c not in character_count_map:
        character_count_map[c] = 0
    character_count_map[c] += 1

for c in string.ascii_lowercase:
    if c in character_count_map:
        print(c, ":", character_count_map[c])
    else:
        print(c, ":", 0)

Submission status: Wrong Answer

Solution code:
import sys
import string

# text = ""
# for line in sys.stdin:
#     text += line

text = input()
character_count_map = {}

for c in text:
    if c not in character_count_map:
        character_count_map[c] = 0
    character_count_map[c] += 1

for c in string.ascii_lowercase:
    if c in character_count_map:
        print(c, ":", character_count_map[c])
    else:
        print(c, ":", 0)

Submission status: Wrong Answer

Solution code:
s = input()

for i in range(ord('a'), ord('z')+1):
 print("{0} : {1}".format(chr(i), s.count(chr(i))))

Submission status: Wrong Answer

Solution code:
s = input()

for i in range(ord('a'), ord('z')+1):
 print("{0}:{1}".format(chr(i), s.count(chr(i))))

Submission status: Wrong Answer

Solution code:
s = input()
s.lower()

for i in range(ord('a'), ord('z')+1):
 print("{0}:{1}".format(chr(i), s.count(chr(i))))

Submission status: Wrong Answer

Solution code:
s = input().lower()

for i in range(ord('a'), ord('z')+1):
 print("{0} : {1}".format(chr(i), s.count(chr(i))))

Submission status: Wrong Answer

Solution code:
s = []
while 1:
 try:
  s.append(input().lower())
 except:
  break
for i in range(ord('a'), ord('z')+1):
 print("{0} : {1}".format(chr(i), s.count(chr(i))))

Submission status: Wrong Answer

Solution code:
import sys 
dataset = sys.stdin.readlines()

for data in dataset:
 for s in range(ord('a'), ord('z') + 1):
  print("{0} : {1}".format(chr(s), data.lower().count(chr(s))))

Submission status: Wrong Answer

Solution code:
sentence = input().lower()
data = 'abcdefghijklmnopqrstuvwxyz'
for i in data:
    print(i + ' : ' + str(sentence.count(i)))

Submission status: Wrong Answer

Solution code:
alphabet = "abcdefghijklmnopqrstuvwxyz"
dictionary = {}
for character in alphabet:
    dictionary[character] = 0

for character in raw_input():
    if character.lower() in dictionary:
        dictionary[character.lower()] += 1

for character in alphabet:
    print(character + ' ' + str(dictionary[character]))

Submission status: Wrong Answer

Solution code:
alphabet = "abcdefghijklmnopqrstuvwxyz"
dictionary = {}
for character in alphabet:
    dictionary[character] = 0

for character in raw_input():
    if character.lower() in dictionary:
        dictionary[character.lower()] += 1

for character in alphabet:
    print(character + ' : ' + str(dictionary[character]))

Submission status: Wrong Answer

Solution code:
s = input()
s = s.lower()
count = {letter: s.count(letter) for letter in set(s)}
for c in range(97,97+26):
    if chr(c) in count:
        print("%c : %d" % (chr(c), count[chr(c)]))
    else:
        print("%c : 0" % chr(c))

Submission status: Wrong Answer

Solution code:
inp = input()
dic = {k: int(0) for k in [chr(i) for i in range(97, 123)]}
for i in inp.lower():
    if ord(i) >= 97 and ord(i) <= 122:
        dic[i] += 1

for k, v in sorted(dic.items(), key=lambda x: x[0]):
    print("{0} : {1}".format(k, v))

Submission status: Wrong Answer

Solution code:
import string

alphabets = {k:0 for k in string.ascii_lowercase}

for c in input().lower():
  if alphabets.get(c) is None:
    continue
  alphabets[c] += 1

for c, n in sorted(alphabets.items()):
  print("{} : {}".format(c, n))

Submission status: Wrong Answer

Solution code:
alpha = 'abcdefghijklmnopqrstuvwxyz'
matrix = { x: 0 for x in alpha}

input_string = input().lower()
for w in input_string:
    if not w.isalpha():
        continue
    matrix[w] += 1

for key, val in sorted(matrix.items()):
    print('{0} : {1}'.format(key, val))

Submission status: Wrong Answer

Solution code:
a=[0 for _ in range(26)]
s = input().lower()
for c in s:
    if 'a' <= c <= 'z':
        a[ord(c) - 97] += 1
for i,v in enumerate(a):
    print(chr(i+97) + " : " + str(v))

Submission status: Wrong Answer

Solution code:
s=list(input())
res=[0 for i in range(26)]
for i in s:
	if i.isalpha():
		i=i.lower()
		res[ord(i)-ord("a")]+=1

for i in range(26):
	s=chr(i+ord("a"))+" : "+str(res[i])
	print(s)

Submission status: Wrong Answer

Solution code:
sen=raw_input()
a=[]
b=[]
c=[]
d=[]
e=[]
f=[]
g=[]
h=[]
i=[]
j=[]
k=[]
l=[]
m=[]
n=[]
o=[]
p=[]
q=[]
r=[]
s=[]
t=[]
u=[]
v=[]
x=[]
y=[]
z=[]
w=[]
count={'a':a,'b':b,'c':c,'d':d,'e':e,'f':f,'g':g,'h':h,'i':i,'j':j,'k':k,'l':l,'m':m,'n':n,'o':o,'p':p,'q':q,'r':r,'s':s,'t':t,'u':u,'v':v,'w':w,'x':x,'y':y,'z':z}
for i in range(len(sen)):
    if sen[i].isalpha():
        count[sen[i].lower()].append('#')
for char in count.keys():
    print('%s:%d'%(char,len(count[char])))

Submission status: Wrong Answer

Solution code:
sen=raw_input()
a=[]
b=[]
c=[]
d=[]
e=[]
f=[]
g=[]
h=[]
i=[]
j=[]
k=[]
l=[]
m=[]
n=[]
o=[]
p=[]
q=[]
r=[]
s=[]
t=[]
u=[]
v=[]
x=[]
y=[]
z=[]
w=[]
count={'a':a,'b':b,'c':c,'d':d,'e':e,'f':f,'g':g,'h':h,'i':i,'j':j,'k':k,'l':l,'m':m,'n':n,'o':o,'p':p,'q':q,'r':r,'s':s,'t':t,'u':u,'v':v,'w':w,'x':x,'y':y,'z':z}
for i in range(len(sen)):
    if sen[i].isalpha():
        count[sen[i].lower()].append('#')
for char in sorted(count.keys()):
    print('%s : %d'%(char,len(count[char])))

Submission status: Wrong Answer

Solution code:
# coding: utf-8

s = input()
c_al = [0] * 26

for i in s:
    if i.isalpha():
        c_al[ord(i.lower()) - ord("a")] += 1

for i in range(ord("a"),ord("a")+26):
    print("{0} : {1}".format(chr(i),c_al[i - ord("a")]))

Submission status: Wrong Answer

Solution code:
import collections
count = collections.Counter(input().lower())
for char in "abcdefghijklmnopqrstuvwxyz":
    print("{0:s} : {1:d}".format(char, count[char]))

Submission status: Wrong Answer

Solution code:
s = input().lower()
for i in 'abcdefghijklmnopqrstuvwxyz':
    #print(i+' : '+str(s.count(i)))
    print("{0} : {1}".format(i, s.count(i)))

Submission status: Wrong Answer

Solution code:
S = raw_input()
cnt = [0]*26
for a in S:
    if(ord(a) >= 65 and ord(a) <= 90):
        cnt[ord(a) - 65] += 1
    if(ord(a) >= 97 and ord(a) <= 122):
        cnt[ord(a) - 97] += 1

for i in xrange(26):
    print unichr(97 + i) + " : " + str(cnt[i])

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    cnt = [0]*26
    for a in line:
        if(ord(a) >= 65 and ord(a) <= 90):
            cnt[ord(a) - 65] += 1
        if(ord(a) >= 97 and ord(a) <= 122):
            cnt[ord(a) - 97] += 1

for i in xrange(26):
    print unichr(97 + i) + " : " + str(cnt[i])

Submission status: Wrong Answer

Solution code:
table = "abcdefghijklmnopqrstuvwxyz"
array = []
while True:
    try:
        array.append(input().lower())
    except EOFError:
        break

for i in table:
    print(i + " : " + str(array[0].count(i)))

Submission status: Wrong Answer

Solution code:
import string

dic = {}
for c in string.ascii_lowercase:
    dic[c] = 0

for c in input().lower():
    if c.isalpha():
        dic[c] += 1

for c in dic:
    print("{} : {}".format(c, dic[c]))

Submission status: Wrong Answer

Solution code:
import sys
import string

dic = {}
for c in string.ascii_lowercase:
    dic[c] = 0

for c in sys.stdin.read().lower():
    if c.isalpha():
        dic[c] += 1

for c in dic:
    print("{} : {}".format(c, dic[c]))

Submission status: Wrong Answer

Solution code:
import sys
import string

dic = {}
for c in string.ascii_lowercase:
    dic[c] = 0

for c in sys.stdin.read().lower():
    if c.isalpha():
        dic[c] += 1

for c in dic:
    print(c, ":", dic[c])

Submission status: Wrong Answer

Solution code:
import sys
import string

dic = {}
for c in string.ascii_lowercase:
    dic[c] = 0

for c in sys.stdin.read().lower():
    if c.isalpha():
        dic[c] += 1

for c in dic:
    print(c+" : "+str(dic[c]))

Submission status: Wrong Answer

Solution code:
s=input().lower()
for i in range(97,123):print(chr(i),':',s.count(chr(i)))

Submission status: Wrong Answer

Solution code:
'''
ITP-1_8-C
 ?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? 
??????????°?????????¨??§??????????????\???????????????
???Input
?????°????????????????????????????????±???????????????????????????
???Output
?????????????????±???????????????????????¢???????????????????????°?????\??????????????¢?????§????????????????????????
a : a????????°
b : b????????°
c : c????????°
  .
  .
z : z????????°
'''
import sys

# inputData
inputData = input()
cnt = [0]*26
#for str in inputData:
for i in range(len(inputData)):
    if "a" == inputData[i] or inputData[i] =="A":
        cnt[0] += 1
    elif "b" == inputData[i] or inputData[i] =="B":
        cnt[1] += 1
    elif "c" == inputData[i] or inputData[i] =="C":
        cnt[2] += 1
    elif "d" == inputData[i] or inputData[i] =="D":
        cnt[3] += 1
    elif "e" == inputData[i] or inputData[i] =="E":
        cnt[4] += 1
    elif "f" == inputData[i] or inputData[i] =="F":
        cnt[5] += 1
    elif "g" == inputData[i] or inputData[i] =="G":
        cnt[6] += 1
    elif "h" == inputData[i] or inputData[i] =="H":
        cnt[7] += 1
    elif "i" == inputData[i] or inputData[i] =="I":
        cnt[8] += 1
    elif "j" == inputData[i] or inputData[i] =="J":
        cnt[9] += 1
    elif "k" == inputData[i] or inputData[i] =="K":
        cnt[10] += 1
    elif "l" == inputData[i] or inputData[i] =="L":
        cnt[11] += 1
    elif "n" == inputData[i] or inputData[i] =="B":
        cnt[12] += 1
    elif "m" == inputData[i] or inputData[i] =="M":
        cnt[13] += 1
    elif "o" == inputData[i] or inputData[i] =="O":
        cnt[14] += 1
    elif "p" == inputData[i] or inputData[i] =="P":
        cnt[15] += 1
    elif "q" == inputData[i] or inputData[i] =="Q":
        cnt[16] += 1
    elif "r" == inputData[i] or inputData[i] =="R":
        cnt[17] += 1
    elif "s" == inputData[i] or inputData[i] =="S":
        cnt[18] += 1
    elif "t" == inputData[i] or inputData[i] =="T":
        cnt[19] += 1
    elif "u" == inputData[i] or inputData[i] =="U":
        cnt[20] += 1
    elif "v" == inputData[i] or inputData[i] =="V":
        cnt[21] += 1
    elif "w" == inputData[i] or inputData[i] =="W":
        cnt[22] += 1
    elif "x" == inputData[i] or inputData[i] =="X":
        cnt[23] += 1
    elif "y" == inputData[i] or inputData[i] =="Y":
        cnt[24] += 1
    elif "z" == inputData[i] or inputData[i] =="Z":
        cnt[25] += 1

# ????????????
#print("a:"+a_cnt)
print ('a : %d' % (cnt[0]))
print ('b : %d' % (cnt[1]))
print ('c : %d' % (cnt[2]))
print ('d : %d' % (cnt[3]))
print ('e : %d' % (cnt[4]))
print ('f : %d' % (cnt[5]))
print ('g : %d' % (cnt[6]))
print ('h : %d' % (cnt[7]))
print ('i : %d' % (cnt[8]))
print ('j : %d' % (cnt[9]))
print ('k : %d' % (cnt[10]))
print ('l : %d' % (cnt[11]))
print ('n : %d' % (cnt[12]))
print ('m : %d' % (cnt[13]))
print ('o : %d' % (cnt[14]))
print ('p : %d' % (cnt[15]))
print ('q : %d' % (cnt[16]))
print ('r : %d' % (cnt[17]))
print ('s : %d' % (cnt[18]))
print ('t : %d' % (cnt[19]))
print ('u : %d' % (cnt[20]))
print ('v : %d' % (cnt[21]))
print ('W : %d' % (cnt[22]))
print ('x : %d' % (cnt[23]))
print ('y : %d' % (cnt[24]))
print ('z : %d' % (cnt[25]))

Submission status: Wrong Answer

Solution code:
'''
ITP-1_8-C
 ?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? 
??????????°?????????¨??§??????????????\???????????????
???Input
?????°????????????????????????????????±???????????????????????????
???Output
?????????????????±???????????????????????¢???????????????????????°?????\??????????????¢?????§????????????????????????
a : a????????°
b : b????????°
c : c????????°
  .
  .
z : z????????°
'''
# inputData
inputData = input()
cnt = [0]*26

for i in range(len(inputData)):
    if "a" == inputData[i] or inputData[i] =="A":
        cnt[0] += 1
    elif "b" == inputData[i] or inputData[i] =="B":
        cnt[1] += 1
    elif "c" == inputData[i] or inputData[i] =="C":
        cnt[2] += 1
    elif "d" == inputData[i] or inputData[i] =="D":
        cnt[3] += 1
    elif "e" == inputData[i] or inputData[i] =="E":
        cnt[4] += 1
    elif "f" == inputData[i] or inputData[i] =="F":
        cnt[5] += 1
    elif "g" == inputData[i] or inputData[i] =="G":
        cnt[6] += 1
    elif "h" == inputData[i] or inputData[i] =="H":
        cnt[7] += 1
    elif "i" == inputData[i] or inputData[i] =="I":
        cnt[8] += 1
    elif "j" == inputData[i] or inputData[i] =="J":
        cnt[9] += 1
    elif "k" == inputData[i] or inputData[i] =="K":
        cnt[10] += 1
    elif "l" == inputData[i] or inputData[i] =="L":
        cnt[11] += 1
    elif "n" == inputData[i] or inputData[i] =="B":
        cnt[12] += 1
    elif "m" == inputData[i] or inputData[i] =="M":
        cnt[13] += 1
    elif "o" == inputData[i] or inputData[i] =="O":
        cnt[14] += 1
    elif "p" == inputData[i] or inputData[i] =="P":
        cnt[15] += 1
    elif "q" == inputData[i] or inputData[i] =="Q":
        cnt[16] += 1
    elif "r" == inputData[i] or inputData[i] =="R":
        cnt[17] += 1
    elif "s" == inputData[i] or inputData[i] =="S":
        cnt[18] += 1
    elif "t" == inputData[i] or inputData[i] =="T":
        cnt[19] += 1
    elif "u" == inputData[i] or inputData[i] =="U":
        cnt[20] += 1
    elif "v" == inputData[i] or inputData[i] =="V":
        cnt[21] += 1
    elif "w" == inputData[i] or inputData[i] =="W":
        cnt[22] += 1
    elif "x" == inputData[i] or inputData[i] =="X":
        cnt[23] += 1
    elif "y" == inputData[i] or inputData[i] =="Y":
        cnt[24] += 1
    elif "z" == inputData[i] or inputData[i] =="Z":
        cnt[25] += 1

print ('a : %d' % (cnt[0]))
print ('b : %d' % (cnt[1]))
print ('c : %d' % (cnt[2]))
print ('d : %d' % (cnt[3]))
print ('e : %d' % (cnt[4]))
print ('f : %d' % (cnt[5]))
print ('g : %d' % (cnt[6]))
print ('h : %d' % (cnt[7]))
print ('i : %d' % (cnt[8]))
print ('j : %d' % (cnt[9]))
print ('k : %d' % (cnt[10]))
print ('l : %d' % (cnt[11]))
print ('n : %d' % (cnt[12]))
print ('m : %d' % (cnt[13]))
print ('o : %d' % (cnt[14]))
print ('p : %d' % (cnt[15]))
print ('q : %d' % (cnt[16]))
print ('r : %d' % (cnt[17]))
print ('s : %d' % (cnt[18]))
print ('t : %d' % (cnt[19]))
print ('u : %d' % (cnt[20]))
print ('v : %d' % (cnt[21]))
print ('W : %d' % (cnt[22]))
print ('x : %d' % (cnt[23]))
print ('y : %d' % (cnt[24]))
print ('z : %d' % (cnt[25]))

Submission status: Wrong Answer

Solution code:
'''
ITP-1_8-C
 ?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? 
??????????°?????????¨??§??????????????\???????????????
???Input
?????°????????????????????????????????±???????????????????????????
???Output
?????????????????±???????????????????????¢???????????????????????°?????\??????????????¢?????§????????????????????????
a : a????????°
b : b????????°
c : c????????°
  .
  .
z : z????????°
'''
# inputData
inputData = input()
cnt = [0]*26

for i in range(len(inputData)):
    if "a" == inputData[i] or inputData[i] =="A":
        cnt[0] += 1
    elif "b" == inputData[i] or inputData[i] =="B":
        cnt[1] += 1
    elif "c" == inputData[i] or inputData[i] =="C":
        cnt[2] += 1
    elif "d" == inputData[i] or inputData[i] =="D":
        cnt[3] += 1
    elif "e" == inputData[i] or inputData[i] =="E":
        cnt[4] += 1
    elif "f" == inputData[i] or inputData[i] =="F":
        cnt[5] += 1
    elif "g" == inputData[i] or inputData[i] =="G":
        cnt[6] += 1
    elif "h" == inputData[i] or inputData[i] =="H":
        cnt[7] += 1
    elif "i" == inputData[i] or inputData[i] =="I":
        cnt[8] += 1
    elif "j" == inputData[i] or inputData[i] =="J":
        cnt[9] += 1
    elif "k" == inputData[i] or inputData[i] =="K":
        cnt[10] += 1
    elif "l" == inputData[i] or inputData[i] =="L":
        cnt[11] += 1
    elif "m" == inputData[i] or inputData[i] =="M":
        cnt[12] += 1
    elif "n" == inputData[i] or inputData[i] =="N":
        cnt[13] += 1
    elif "o" == inputData[i] or inputData[i] =="O":
        cnt[14] += 1
    elif "p" == inputData[i] or inputData[i] =="P":
        cnt[15] += 1
    elif "q" == inputData[i] or inputData[i] =="Q":
        cnt[16] += 1
    elif "r" == inputData[i] or inputData[i] =="R":
        cnt[17] += 1
    elif "s" == inputData[i] or inputData[i] =="S":
        cnt[18] += 1
    elif "t" == inputData[i] or inputData[i] =="T":
        cnt[19] += 1
    elif "u" == inputData[i] or inputData[i] =="U":
        cnt[20] += 1
    elif "v" == inputData[i] or inputData[i] =="V":
        cnt[21] += 1
    elif "w" == inputData[i] or inputData[i] =="W":
        cnt[22] += 1
    elif "x" == inputData[i] or inputData[i] =="X":
        cnt[23] += 1
    elif "y" == inputData[i] or inputData[i] =="Y":
        cnt[24] += 1
    elif "z" == inputData[i] or inputData[i] =="Z":
        cnt[25] += 1

print ('a : %d' % (cnt[0]))
print ('b : %d' % (cnt[1]))
print ('c : %d' % (cnt[2]))
print ('d : %d' % (cnt[3]))
print ('e : %d' % (cnt[4]))
print ('f : %d' % (cnt[5]))
print ('g : %d' % (cnt[6]))
print ('h : %d' % (cnt[7]))
print ('i : %d' % (cnt[8]))
print ('j : %d' % (cnt[9]))
print ('k : %d' % (cnt[10]))
print ('l : %d' % (cnt[11]))
print ('m : %d' % (cnt[12]))
print ('n : %d' % (cnt[13]))
print ('o : %d' % (cnt[14]))
print ('p : %d' % (cnt[15]))
print ('q : %d' % (cnt[16]))
print ('r : %d' % (cnt[17]))
print ('s : %d' % (cnt[18]))
print ('t : %d' % (cnt[19]))
print ('u : %d' % (cnt[20]))
print ('v : %d' % (cnt[21]))
print ('W : %d' % (cnt[22]))
print ('x : %d' % (cnt[23]))
print ('y : %d' % (cnt[24]))
print ('z : %d' % (cnt[25]))

Submission status: Wrong Answer

Solution code:
'''
ITP-1_8-C
 ?????????????????????
?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°????????????????????????????????? 
??????????°?????????¨??§??????????????\???????????????
???Input
?????°????????????????????????????????±???????????????????????????
???Output
?????????????????±???????????????????????¢???????????????????????°?????\??????????????¢?????§????????????????????????
a : a????????°
b : b????????°
c : c????????°
  .
  .
z : z????????°
'''
# inputData
inputData = input()
cnt = [0]*26

for i in range(len(inputData)):
    if "a" == inputData[i] or inputData[i] =="A":
        cnt[0] += 1
    elif "b" == inputData[i] or inputData[i] =="B":
        cnt[1] += 1
    elif "c" == inputData[i] or inputData[i] =="C":
        cnt[2] += 1
    elif "d" == inputData[i] or inputData[i] =="D":
        cnt[3] += 1
    elif "e" == inputData[i] or inputData[i] =="E":
        cnt[4] += 1
    elif "f" == inputData[i] or inputData[i] =="F":
        cnt[5] += 1
    elif "g" == inputData[i] or inputData[i] =="G":
        cnt[6] += 1
    elif "h" == inputData[i] or inputData[i] =="H":
        cnt[7] += 1
    elif "i" == inputData[i] or inputData[i] =="I":
        cnt[8] += 1
    elif "j" == inputData[i] or inputData[i] =="J":
        cnt[9] += 1
    elif "k" == inputData[i] or inputData[i] =="K":
        cnt[10] += 1
    elif "l" == inputData[i] or inputData[i] =="L":
        cnt[11] += 1
    elif "m" == inputData[i] or inputData[i] =="M":
        cnt[12] += 1
    elif "n" == inputData[i] or inputData[i] =="N":
        cnt[13] += 1
    elif "o" == inputData[i] or inputData[i] =="O":
        cnt[14] += 1
    elif "p" == inputData[i] or inputData[i] =="P":
        cnt[15] += 1
    elif "q" == inputData[i] or inputData[i] =="Q":
        cnt[16] += 1
    elif "r" == inputData[i] or inputData[i] =="R":
        cnt[17] += 1
    elif "s" == inputData[i] or inputData[i] =="S":
        cnt[18] += 1
    elif "t" == inputData[i] or inputData[i] =="T":
        cnt[19] += 1
    elif "u" == inputData[i] or inputData[i] =="U":
        cnt[20] += 1
    elif "v" == inputData[i] or inputData[i] =="V":
        cnt[21] += 1
    elif "w" == inputData[i] or inputData[i] =="W":
        cnt[22] += 1
    elif "x" == inputData[i] or inputData[i] =="X":
        cnt[23] += 1
    elif "y" == inputData[i] or inputData[i] =="Y":
        cnt[24] += 1
    elif "z" == inputData[i] or inputData[i] =="Z":
        cnt[25] += 1

print ('a : %d' % (cnt[0]))
print ('b : %d' % (cnt[1]))
print ('c : %d' % (cnt[2]))
print ('d : %d' % (cnt[3]))
print ('e : %d' % (cnt[4]))
print ('f : %d' % (cnt[5]))
print ('g : %d' % (cnt[6]))
print ('h : %d' % (cnt[7]))
print ('i : %d' % (cnt[8]))
print ('j : %d' % (cnt[9]))
print ('k : %d' % (cnt[10]))
print ('l : %d' % (cnt[11]))
print ('m : %d' % (cnt[12]))
print ('n : %d' % (cnt[13]))
print ('o : %d' % (cnt[14]))
print ('p : %d' % (cnt[15]))
print ('q : %d' % (cnt[16]))
print ('r : %d' % (cnt[17]))
print ('s : %d' % (cnt[18]))
print ('t : %d' % (cnt[19]))
print ('u : %d' % (cnt[20]))
print ('v : %d' % (cnt[21]))
print ('w : %d' % (cnt[22]))
print ('x : %d' % (cnt[23]))
print ('y : %d' % (cnt[24]))
print ('z : %d' % (cnt[25]))

Submission status: Wrong Answer

Solution code:
a = input()
alphabet = "abcdefghijklmnopqrstuvwxyz"

for i in alphabet:
    print(i + " : " + str(a.lower().count(i)) )

Submission status: Wrong Answer

Solution code:
import sys

#fin = open("test.txt", "r")
fin = sys.stdin

sentence = fin.readline()
sentence = sentence.lower()

num_alphabet_list = [0 for i in range(27)]

for c in sentence:
	if ord(c) < ord('a') or ord(c) > ord('z'):
		continue

	num_alphabet_list[ord(c) - ord('a')] += 1

for i in range(0, 27):
	print(chr(i + ord('a')), end="")
	print(" : ", end="")
	print(num_alphabet_list[i])

Submission status: Wrong Answer

Solution code:
import sys

#fin = open("test.txt", "r")
fin = sys.stdin

sentence = fin.readline()
sentence = sentence.lower()

num_alphabet_list = [0 for i in range(26)]

for c in sentence:
	if ord(c) < ord('a') or ord(c) > ord('z'):
		continue

	num_alphabet_list[ord(c) - ord('a')] += 1

for i in range(0, 26):
	print(chr(i + ord('a')), end="")
	print(" : ", end="")
	print(num_alphabet_list[i])

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = sys.stdin.readline().lower()

    for letter in passage:
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = input().lower()

    for letter in passage:
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = sys.stdin.read().lower()

    for letter in passage:
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = str()

    for line in sys.stdin:
        passage += line

    for letter in passage.lower():
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = str()

    for line in sys.stdin.read():
        passage += line

    for letter in passage:
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = str()

    for line in sys.stdin.read():
        passage += line

    for letter in passage.lower():
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

import sys


def main():
    letters = {
                'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0, 'h': 0,
                'i': 0, 'j': 0, 'k': 0, 'l': 0, 'm': 0, 'n': 0, 'o': 0, 'p': 0,
                'q': 0, 'r': 0, 's': 0, 't': 0, 'u': 0, 'v': 0, 'w': 0, 'x': 0,
                'y': 0, 'z': 0
              }

    passage = sys.stdin.read()

    for letter in passage.lower():
        if letter in letters:
            letters[letter] += 1

    for letter, count in letters.items():
        print('%s : %d' % (letter, count))


if __name__ == '__main__':
    main()