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:
x=input()

alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]

cnt=[i*0 for i in range(len(alpha)+1)]

for k in range(len(alpha)) :
  cnt[k]=x.count(alpha[k])
  print(alpha[k] ,':', cnt[k])

Submission status: Wrong Answer

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

alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]

cnt=[i*0 for i in range(len(alpha)+1)]

for k in range(len(alpha)) :
  cnt[k]=x.count(alpha[k])
  print(alpha[k] ,':', cnt[k])

Submission status: Wrong Answer

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

alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]

cnt=[i*0 for i in range(len(alpha)+1)]

for k in range(len(alpha)) :
  cnt[k]=x.count(alpha[k])
  print(alpha[k] ,":", cnt[k])

Submission status: Wrong Answer

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

alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]

cnt=[i*0 for i in range(len(alpha)+1)]

for k in range(len(alpha)) :
  cnt[k]=x.count(alpha[k])
  print(alpha[k]  ,":",  cnt[k])

Submission status: Wrong Answer

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

alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]

cnt=[i*0 for i in range(len(alpha)+1)]

for k in range(len(alpha)) :
  cnt[k]=x.count(alpha[k])
  print(alpha[k],":",cnt[k])

Submission status: Wrong Answer

Solution code:
lit=raw_input().lower()
Dic={'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 }
for i in lit:
	if ord('a')<=ord(i)<=ord('z'):
		Dic[i]+=1
Key=Dic.keys()
Key.sort()
for key in Key:
	print key, ":" ,Dic[key]

Submission status: Wrong Answer

Solution code:
import sys;
Dic={'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 }
while True:
	lit=sys.stdin.readline().rstrip()
	if not lit: break
	for i in lit:
		if ord('a')<=ord(i)<=ord('z'):
			Dic[i]+=1
Key=Dic.keys()
Key.sort()
for key in Key:
	print key, ":" ,Dic[key]

Submission status: Wrong Answer

Solution code:
a = ord('a')
raw = input()
counts = [0] * 26
for c in raw:
    if 0 <= ord(c) - a < 26:
        counts[ord(c) - a] += 1
for i, count in enumerate(counts):
    print('%s : %d' % (chr(a + i), count))

Submission status: Wrong Answer

Solution code:
a = ord('a')
raw = input()
counts = [0] * 26
for c in raw.lower():
    if 0 <= ord(c) - a < 26:
        counts[ord(c) - a] += 1
for i, count in enumerate(counts):
    print('%s : %d' % (chr(a + i), count))

Submission status: Wrong Answer

Solution code:
a = ord('a')
counts = [0] * 26
while 1:
    try:
        raw = input()
    except EOFError:
        break
    for c in raw.lower():
        if 0 <= ord(c) - a < 26:
            counts[ord(c) - a] += 1
    for i, count in enumerate(counts):
        print('%s : %d' % (chr(a + i), count))

Submission status: Wrong Answer

Solution code:
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

input = raw_input()
for i in xrange(len(input)):
  if input[i] in dic:
    dic[input[i]] += 1

# print dic
for i in xrange(97, 123):
  print chr(i) + " : " + str(dic[chr(i)])

Submission status: Wrong Answer

Solution code:
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

input = raw_input()
for i in xrange(len(input)):
  if input[i].lower() in dic:
    dic[input[i].lower()] += 1

# print dic
for i in xrange(97, 123):
  print chr(i) + " : " + str(dic[chr(i)])

Submission status: Wrong Answer

Solution code:
while True:
    try: x=raw_input().lower()
    except: break
for  i in xrange(26):
    c=chr(i+97)
    print '%s : %d' %(c,x.count(c))

Submission status: Wrong Answer

Solution code:
docs = raw_input().lower()
for ascii_num in range(97, 123):
    print '%s : %d' % (chr(ascii_num), docs.count(chr(ascii_num)))

Submission status: Wrong Answer

Solution code:
alphabet = [0]*26
i = 0;
for j in range(65,91):
	alphabet[i] = chr(j)
	i += 1
al_count = [0]*26
while True :
	words = raw_input().lower().split()
	for k in words :
		for l in list(k):
			if l=='a':
				al_count[0] += 1
			elif l=='b':
				al_count[1] += 1
			elif l=='c':
				al_count[2]+=1	
			elif l=='d':
				al_count[3] += 1
			elif l=='e':
				al_count[4]+=1
			elif l=='f':
				al_count[5] += 1
			elif l=='g':
				al_count[6]+=1
			elif l=='h':
				al_count[7] += 1
			elif l=='i':
				al_count[8]+=1
			elif l=='j':
				al_count[9] += 1
			elif l=='k':
				al_count[10]+=1	
			elif l=='l':
				al_count[11] += 1
			elif l=='m':
				al_count[12]+=1	
			elif l=='n':
				al_count[13] += 1
			elif l=='o':
				al_count[14]+=1
			elif l=='p':
				al_count[15] += 1
			elif l=='q':
				al_count[16]+=1
			elif l=='r':
				al_count[17] += 1
			elif l=='s':
				al_count[18]+=1
			elif l=='t':
				al_count[19] += 1
			elif l=='u':
				al_count[20]+=1
			elif l=='v':
				al_count[21]+=1
			elif l=='w':
				al_count[22] += 1
			elif l=='x':
				al_count[23]+=1
			elif l=='y':
				al_count[24] += 1
			elif l=='z':
				al_count[25]+=1
	if list(words[-1])[-1]=='.':
		break
for i in range(26):
	print '%c :%d' %(alphabet[i],al_count[i])

Submission status: Wrong Answer

Solution code:
import string

input_str = input()

for i in range(26):
    char = string.ascii_lowercase[i]
    CHAR = string.ascii_uppercase[i]
    cnt = input_str.count(char) + input_str.count(CHAR)
    print("{0} : {1}".format(char, cnt))

Submission status: Wrong Answer

Solution code:
import string
in_str = raw_input()
data = {}
for c in in_str:
    if c.isalpha() == False or c.lower() < 'a' and 'z' < c.lower():
        continue
    if c.lower() in data:
        data[c.lower()] += 1
    else:
        data[c.lower()] = 1
for c in string.lowercase[:26]:
    if c in data:
        print c + ' : ' + str(data[c])
    else:
        print c + ' : 0'

Submission status: Wrong Answer

Solution code:
from collections import Counter

counter = Counter()
s = input()

for c in s:
    counter[c] += 1

for c in range(ord('a'), ord('z')+1):
    print('{} : {}'.format(chr(c), counter[chr(c)]))

Submission status: Wrong Answer

Solution code:
from collections import Counter

counter = Counter()
s = input()

for c in s:
    counter[c.lower()] += 1

for c in range(ord('a'), ord('z')+1):
    print('{} : {}'.format(chr(c), counter[chr(c)]))

Submission status: Wrong Answer

Solution code:
from collections import Counter

counter = Counter()

while True:
    try:
        s = input()
    except:
        break

for c in s:
    counter[c.lower()] += 1

for c in range(ord('a'), ord('z')+1):
    print('{} : {}'.format(chr(c), counter[chr(c)]))

Submission status: Wrong Answer

Solution code:
instr = raw_input()
instr = instr.lower()
ascstart = 97
ascfin = 122
inlist = [0 for i in xrange(97,122+1)]
# print len(inlist)
for x in xrange(len(instr)):
    if ord(instr[x]) < ascstart or ord(instr[x]) > ascfin:
        continue
    inlist[ord(instr[x])-ascstart] +=1

for x in xrange(ascstart,ascfin+1):
    print "%s : %d" % (chr(x),inlist[x-ascstart])

Submission status: Wrong Answer

Solution code:
alphabet = "abcdefghijklmnopqrstuvwxyz"
s = input().lower()

for c in alphabet:
    print(c+" : "+str(s.count(c)))

Submission status: Wrong Answer

Solution code:
# coding: utf-8

# ??¢??????????????????????????£????????§???????????????
alphabet_list = [chr(i) for i in range(97, 97+26)]
alphabet_dict = {}
for a in alphabet_list:
    alphabet_dict.update({a:0})

strings = input()

for s in strings:
    if (s.isalpha()):
        s = s.lower()
        alphabet_dict[s] += 1

for key in sorted(alphabet_dict.keys()):
    print(str(key) + ' : '+ str(alphabet_dict[key]))

Submission status: Wrong Answer

Solution code:
alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]
snt=input()
snt_2=snt.lower()
for i in range(26):
   cnt=snt_2.count(alpha[i])
   print(alpha[i]+"???"+str(cnt))

Submission status: Wrong Answer

Solution code:
alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]
snt=input()
snt_2=snt.lower()
for i in range(26):
   cnt=snt_2.count(alpha[i])
   print(alpha[i],":",str(cnt))

Submission status: Wrong Answer

Solution code:
alpha=[chr(s) for s in range(ord("a"),ord("z")+1)]
snt=input()
snt_2=snt.lower()
for i in range(26):
   cnt=snt_2.count(alpha[i])
   print(alpha[i]+" : "+str(cnt))

Submission status: Wrong Answer

Solution code:
a = [chr(i) for i in range(97, 123)]
line = input().lower()
for c in a:
    print("{0} : {1}".format(c, line.count(c)))

Submission status: Wrong Answer

Solution code:
import string

sentence = input().lower()
for c in string.ascii_lowercase:
    print('{} : {}'.format(c, sentence.count(c)))

Submission status: Wrong Answer

Solution code:
import sys

printf = sys.stdout.write

word = "This is a pen."

abc = []
ans = [0 for i in range(26)]

for i in range(26):
    abc.append(str(chr(i + 97)))

for i in range(len(word)):
    for j in range(29):
        if (j + 65) == ord(word[i]) or (j + 97) == ord(word[i]): 
            ans[j] += 1

for i in range(26):
    printf(abc[i] + " : " + str(ans[i]) + "\n")

Submission status: Wrong Answer

Solution code:
s=input()
s = s.casefold()
for i in "abcdefghijklmnopqrstuvwxyz":
	print("%s : %d"%(i,s.count(i)))

Submission status: Wrong Answer

Solution code:
word = input()
word.lower()
print("a",":",word.count("a"))
print("b",":",word.count("b"))
print("c",":",word.count("c"))
print("d",":",word.count("d"))
print("e",":",word.count("e"))
print("f",":",word.count("f"))
print("g",":",word.count("g"))
print("h",":",word.count("h"))
print("i",":",word.count("i"))
print("j",":",word.count("j"))
print("k",":",word.count("k"))
print("l",":",word.count("l"))
print("m",":",word.count("m"))
print("n",":",word.count("n"))
print("o",":",word.count("o"))
print("p",":",word.count("p"))
print("q",":",word.count("q"))
print("r",":",word.count("r"))
print("s",":",word.count("s"))
print("t",":",word.count("t"))
print("u",":",word.count("u"))
print("v",":",word.count("v"))
print("w",":",word.count("w"))
print("x",":",word.count("x"))
print("y",":",word.count("y"))
print("z",":",word.count("z"))

Submission status: Wrong Answer

Solution code:
word = input()
word = word.lower()
print("a",":",word.count("a"))
print("b",":",word.count("b"))
print("c",":",word.count("c"))
print("d",":",word.count("d"))
print("e",":",word.count("e"))
print("f",":",word.count("f"))
print("g",":",word.count("g"))
print("h",":",word.count("h"))
print("i",":",word.count("i"))
print("j",":",word.count("j"))
print("k",":",word.count("k"))
print("l",":",word.count("l"))
print("m",":",word.count("m"))
print("n",":",word.count("n"))
print("o",":",word.count("o"))
print("p",":",word.count("p"))
print("q",":",word.count("q"))
print("r",":",word.count("r"))
print("s",":",word.count("s"))
print("t",":",word.count("t"))
print("u",":",word.count("u"))
print("v",":",word.count("v"))
print("w",":",word.count("w"))
print("x",":",word.count("x"))
print("y",":",word.count("y"))
print("z",":",word.count("z"))

Submission status: Wrong Answer

Solution code:
import sys
words = str()
data = "abcdefghijklmnopqrstuvwxyz"
for line in sys.stdin:
    data += line.lower()
for i in data:
    print(i+" : "+str(words.count(i)))

Submission status: Wrong Answer

Solution code:
import sys

alphabets = range(ord('a'), ord('z') + 1)
dic = { chr(c): 0 for c in alphabets }

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

for item in sorted(dic.items()):
  print(*item)

Submission status: Wrong Answer

Solution code:
sent = raw_input()

alphabet = "abcdefghijklnmopqrstuvwxyz"

for i in alphabet:

    result = sent.count(i)
    print "%s : %d" %(i,result)

Submission status: Wrong Answer

Solution code:
sent = raw_input()

alphabet = "abcdefghijklmnopqrstuvwxyz"

for i in alphabet:

    result = sent.count(i)
    print "%s : %d" %(i,result)

Submission status: Wrong Answer

Solution code:
sent = raw_input().lower()

alphabet = "abcdefghijklmnopqrstuvwxyz"

for i in alphabet:

    result = sent.count(i)
    print "%s : %d" %(i,result)

Submission status: Wrong Answer

Solution code:
a = raw_input().lower()
d = {}
for i in "abcdefghijklmnopqrstuvwxyz":
    d[i] = 0
for i in a:
    if i in "abcdefghijklmnopqrstuvwxyz":
        d[i] += 1
for i in "abcdefghijklmnopqrstuvwxyz":
    print i,':',d[i]

Submission status: Wrong Answer

Solution code:
ip=raw_input().lower()
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for i in alphabet:
    print i +' : '+ str(ip.count(i))

Submission status: Wrong Answer

Solution code:
e_string = raw_input()

cnt = [0 for i in xrange(26)]

for i in e_string:
	j = ord(i)
	if   j >= 65 and j <= 90:
		cnt[j%65] += 1
	elif j >= 97 and j <= 122:
		cnt[j%97] += 1
	else:
		continue

for i in xrange(26):
	print u"%c : %d" % (chr(97+i), cnt[i])

Submission status: Wrong Answer

Solution code:
text = input().lower()
count = [0 for i in range(26)]

for c in text:
    if c < 'a'  or c > 'z':
        continue

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

for i, c in enumerate(count):
    print('{0} : {1}'.format(chr(i + ord('a')), c))

Submission status: Wrong Answer

Solution code:
#   ?????????????????±??????????????????????????¢???????????????????????°?????°??????????????°??????
#   ?¨??????\??????????????????????????????
input_char = list(input())
countingChar = [0 for i in range(26)]
for i in range(0, len(input_char)):
    if ord(input_char[i].lower()) - ord("a") > -1 and ord(input_char[i].lower()) - ord("a") < 27:
        countingChar[ord(input_char[i].lower()) - ord("a")] += 1
for i in range(0, 26):
    print("{0} : {1}".format(chr(ord("a") + i), countingChar[i]))

Submission status: Wrong Answer

Solution code:
import sys

Submission status: Wrong Answer

Solution code:
cs = { c : 0 for c in list("abcdefghijklmnopqrstuvwxyz")}
for c in list(input()):
    c = c.lower()
    if c in cs.keys():
        cs[c] = cs[c] + 1
for (c,cnt) in sorted(list(cs.items())):
    print('{0} : {1}'.format(c,cnt))

Submission status: Wrong Answer

Solution code:
alphabets = "abcdefghijklmnopqrstuvwxyz"
#print(len(alphabets))
#a = len(alphabets)
#print(a)
x = ''
while True:
    try:
        x += input().lower()
        for i in range(len(alphabets)):
            print("{0} : {1}".format(alphabets[i], int(x.count(alphabets[i]))))

    except EOFError:
        break

Submission status: Wrong Answer

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

alphabet = [chr(i) for i in range(97,97+26)]
count = [0 for i in range(26)]

for i in range(len(InputText)):
    for j in range(26):
        if InputText[i] == alphabet[j]:
            count[j] = int(count[j]) + 1


for i in range(26):
    print(alphabet[i],end="")
    print(" :",end="")
    print(" ",end="")
    print(count[i])

Submission status: Wrong Answer

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

alphabet = [chr(i) for i in range(97,97+26)]
count = [0 for i in range(26)]

for i in range(len(InputText)):
    for j in range(26):
        if InputText[i] == alphabet[j]:
            count[j] = int(count[j]) + 1


for i in range(26):
    print(alphabet[i],":",count[i])

Submission status: Wrong Answer

Solution code:
import sys
InputText = sys.stdin.readlines()
[InputText for i in range(1200)]

alphabet = [chr(i) for i in range(97,97+26)]
count = [0 for i in range(26)]

for i in range(len(InputText)):
    for j in range(26):
        if InputText[i] == alphabet[j]:
            count[j] = int(count[j]) + 1


for i in range(26):
    print(alphabet[i],":",count[i])

Submission status: Wrong Answer

Solution code:
import sys
import math

S = raw_input()
char = "abcdefghijklmnopqrstuvwxyz"

cnt = {}

for x in S:
    x = x.lower()
    if x not in cnt:
        cnt[x] = 0
    cnt[x] += 1

for c in char:
    sys.stdout.write(c + " : ")
    if c not in cnt:
        print 0
    else:
        print cnt[c]

Submission status: Wrong Answer

Solution code:
s = str()
alpha = "abcdefghijklmnopqrstuvwxyz"
 
for line in input():
    s += line.lower()
 
for c in alpha:
    print(c+" : "+str(s.count(c)))

Submission status: Wrong Answer

Solution code:
ul_line=str(raw_input())
line=ul_line.lower()
alphabet="abcdefghijklmnopqrstuvwxyz"

dic_cnt={"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
         }

for i in line:
	if i in dic_cnt:
		dic_cnt[i]+=1
	else:
		pass
print dic_cnt

for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
ul_line=str(raw_input())
line=ul_line.lower()
alphabet="abcdefghijklmnopqrstuvwxyz"

dic_cnt={"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
         }

for i in line:
	if i in dic_cnt:
		dic_cnt[i]+=1
	else:
		pass

for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=str(raw_input())
		line=ul_line.lower()		

		dic_cnt={"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
		         }

		for i in line:
			if i in dic_cnt:
				dic_cnt[i]+=1
			else:
				pass
	except:
		break


alphabet="abcdefghijklmnopqrstuvwxyz"

for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=raw_input()
		line=ul_line.lower()		

		dic_cnt={"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
		         }


		for i in line:
			if i in dic_cnt:
				dic_cnt[i]+=1
			else:
				pass
	
		alphabet="abcdefghijklmnopqrstuvwxyz"
		
		for i in alphabet:
			print i,
			print ":",
			print dic_cnt[i]
	except:
		break

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=raw_input()
	except:
		break
	line=ul_line.lower()		

	dic_cnt={"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
	         }

	for i in line:
		if i in dic_cnt:
			dic_cnt[i]+=1
		else:
			pass

	alphabet="abcdefghijklmnopqrstuvwxyz"
	
	for i in alphabet:
		print i,
		print ":",
		print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=raw_input()
	except (EOFError):
		break
	line=ul_line.lower()		

	dic_cnt={"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
	         }

	for i in line:
		if i in dic_cnt:
			dic_cnt[i]+=1
		else:
			pass

	alphabet="abcdefghijklmnopqrstuvwxyz"
	
	for i in alphabet:
		print i,
		print ":",
		print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=raw_input()
	except EOFError:
		break
	line=ul_line.lower()		

	dic_cnt={"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
	         }

	for i in line:
		if i in dic_cnt:
			dic_cnt[i]+=1
		else:
			pass

	alphabet="abcdefghijklmnopqrstuvwxyz"
	
	for i in alphabet:
		print i,
		print ":",
		print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
while True:
	try:
		ul_line=input()
	except:
		break
	line=ul_line.lower()		

	dic_cnt={"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
	         }

	for i in line:
		if i in dic_cnt:
			dic_cnt[i]+=1
		else:
			pass

	alphabet="abcdefghijklmnopqrstuvwxyz"
	
	for i in alphabet:
		print i,
		print ":",
		print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
I_list=[]
alphabet="abcdefghijklmnopqrstuvwxyz"
dic_cnt={"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
         }

k=raw_input()
for i in k:
	I_list.append(i.lower())
for i in alphabet:
	dic_cnt[i]+=I_list.count(i)


for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

#for i in :
#	print i,":",dic[i]

Submission status: Wrong Answer

Solution code:
I_list=[]
alphabet="abcdefghijklmnopqrstuvwxyz"
dic_cnt={"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
         }
while True:
	try:
		k=raw_input()
	except:
		break
	for i in k:
		I_list.append(i.lower())
	for i in alphabet:
		dic_cnt[i]+=I_list.count(i)
	
	
for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
I_list=[]
alphabet="abcdefghijklmnopqrstuvwxyz"
dic_cnt={"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
         }
while True:
	try:
		k=raw_input()
		if k=="":
			break
	except:
		break
	for i in k:
		I_list.append(i.lower())
	for i in alphabet:
		dic_cnt[i]+=I_list.count(i)
	
	
for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
I_list=[]
alphabet="abcdefghijklmnopqrstuvwxyz"
dic_cnt={"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
         }
while True:
	try:
		k=raw_input()
		if k==" ":
			break
	except:
		break
	for i in k:
		I_list.append(i.lower())
	for i in alphabet:
		dic_cnt[i]+=I_list.count(i)
	
	
for i in alphabet:
	print i,
	print ":",
	print dic_cnt[i]

Submission status: Wrong Answer

Solution code:
text = input().lower()
alpha = [chr(i) for i in range(97,97+26)]
for i in alpha:
    print("{0} :".format(i), text.count(i))

Submission status: Wrong Answer

Solution code:
text = input().lower()
alpha = [chr(i) for i in range(97,97+26)]
for i in alpha:
    print("{0} : {1}".format(i, text.count(i)))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import string

inp = list(map(str,input().lower()))
alpha = list( map( str,string.ascii_lowercase))
for i in range(26):
    temp = inp.count(alpha[i])
    print(str(alpha[i])+" "+": "+str(temp))

Submission status: Wrong Answer

Solution code:
alpha = "abcdefghijklmnopqrstuvwxyz"
counts = {key:0 for key in alpha} 
t = input()
for s in t:
    c = s.lower()
    if c in alpha :
        counts[c] += 1

for key in sorted(counts):
    print(key+" : "+str(counts[key]))

Submission status: Wrong Answer

Solution code:
import sys

alpha = "abcdefghijklmnopqrstuvwxyz"
counts = {key:0 for key in alpha} 
t = sys.stdin.readlines()
for s in t:
    c = s.lower()
    if c in alpha :
        counts[c] += 1

for key in sorted(counts):
    print(key+" : "+str(counts[key]))

Submission status: Wrong Answer

Solution code:
dict = {}
for i in range(ord("a"), ord("z") + 1):
	dict[chr(i)] = 0

chars = list(input())
for char in chars:
	c = char.lower()
	if c in dict:
		dict[c] += 1

# ?????????????????¨?????????.
for i in range(ord("a"), ord("z") + 1):
	print(chr(i), ":", dict[chr(i)])

Submission status: Wrong Answer

Solution code:
alphabet = {chr(c):0 for c in range(ord("a"),ord("z")+1)}
s = input()
for i in s:
    if i in alphabet:
        alphabet[i.lower()] += 1

for key in range(ord("a"),ord("z")+1):
    ck = chr(key)
    print("%s : %d" % (ck,alphabet[ck]))

Submission status: Wrong Answer

Solution code:
alphabet = {chr(c):0 for c in range(ord("a"),ord("z")+1)}
s = input()
for i in s:
    if i.lower() in alphabet:
        alphabet[i.lower()] += 1

for key in range(ord("a"),ord("z")+1):
    ck = chr(key)
    print("%s : %d" % (ck,alphabet[ck]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
#coding: UTF-8
import sys

a = sys.stdin.readlines()

for i in a:
	b = []
	for j in i:
		b.append(j.strip())
	for i in range(97, 97+26):
		print chr(i)+":"+str(b.count(chr(i)))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
#coding: UTF-8
import sys

a = sys.stdin.readlines()

for i in a:
	b = []
	for j in i:
		b.append(j.lower())
		print b
	for i in range(97, 97+26):
		print chr(i)+":"+str(b.count(chr(i)))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
#coding: UTF-8
import sys

a = sys.stdin.readlines()

for i in a:
	b = []
	for j in i:
		b.append(j.lower())
	for i in range(97, 97+26):
		print chr(i)+" : "+str(b.count(chr(i)))

Submission status: Wrong Answer

Solution code:
import string

count = {x: 0 for x in string.ascii_lowercase}

s = input().lower()

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1

for key in string.ascii_lowercase:
    print("{0} : {1}".format(key, count[key]))

Submission status: Wrong Answer

Solution code:
import string

count = {x:  0 for x in string.ascii_lowercase}

s = input().lower()

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1

for key in string.ascii_lowercase:
    print("{0} : {1}".format(key, count[key]))

Submission status: Wrong Answer

Solution code:
import string

count = {x: 0 for x in string.ascii_lowercase}
lines = ''

s = input().lower()

while 1:
    try:
        lines += input().lower()
    except EOFError:
        break

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1

for key, num in count.items():
    print("{0} : {1}".format(key, count[key]))

Submission status: Wrong Answer

Solution code:
import string

count = {x: 0 for x in string.ascii_lowercase}
lines = ''

s = input().lower()

while 1:
    try:
        lines += input().lower()
    except EOFError:
        break

for c in lines:
    if 'a' <= c <= 'z':
        count[c] += 1

for key  in string.ascii_lowercase:
    print("{0} : {1}".format(key, count[key]))

Submission status: Wrong Answer

Solution code:
dic = {}
orda = ord("a")
ordz = ord("z")

s = input().lower()
for c in s:
    if orda <= ord(c) < ordz:
        try:
            dic[c] += 1
        except:
            dic[c] = 1

for i in range(orda,ordz + 1):
    c = chr(i)
    try:
        print("%s : %d" % (c, dic[c]))
    except:
        print("%s : %d" % (c, 0))

Submission status: Wrong Answer

Solution code:
import sys
s = ''
for line in sys.stdin:
    s += line
s.lower()

dic = {}
orda = ord("a")
ordz = ord("z")

for c in s:
    if orda <= ord(c) <= ordz:
        try:
            dic[c] += 1
        except:
            dic[c] = 1

for i in range(orda,ordz + 1):
    c = chr(i)
    try:
        print("%s : %d" % (c, dic[c]))
    except:
        print("%s : %d" % (c, 0))

Submission status: Wrong Answer

Solution code:
import string
S=[str(x) for x in input().lower().replace(" ","",1200)]
dictionary={}
alphabetlist=string.ascii_lowercase
for i in "abcdefghijklmnopqrstuvwxyz":    
    counter=0
    for j in S:
        if i==j:
            counter+=1
    print(str(i)+" "+str(counter))

Submission status: Wrong Answer

Solution code:
import string
S=[str(x) for x in input().lower().replace(" ","",1200)]
dictionary={}
alphabetlist=string.ascii_lowercase
for i in "abcdefghijklmnopqrstuvwxyz":    
    counter=0
    for j in S:
        if i==j:
            counter+=1
    print(str(i)+" : "+str(counter))

Submission status: Wrong Answer

Solution code:
from collections import OrderedDict

cnt = OrderedDict()
for i in range(ord('a'), ord('z') + 1):
    cnt[chr(i)] = 0
s = input().lower()
for i in s:
    if i in cnt:
        cnt[i] += 1
for k, v in cnt.items():
    print('{} : {}'.format(k, v))

Submission status: Wrong Answer

Solution code:
uppers = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
lowers = 'abcdefghijklmnopqrstuvwxyz'
s = input()
for i in range(26):
    print(lowers[i] + ' : ' + str(s.count(uppers[i]) + s.count(lowers[i])))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
tset = [0] * 27
str = raw_input().lower()
a = ord('a')
for c in str:
 tset[ord(c)-a if c.islower() else 26] += 1
for c in xrange(26):
 print "{0} : {1}".format(chr(a+c), tset[c])

Submission status: Wrong Answer

Solution code:
S = input()
Slist = list(S)
#??????????????????????????????
dic = {}
for i in range(26):
    cord = 97+i
    dic[chr(cord)] = 0
for i in range(len(Slist)):
    if ord('a') <= ord(Slist[i]):
        nowW = Slist[i]
    else:
        nowW = chr(ord(Slist[i])+ord('a')-ord('A'))
    if nowW in dic:
        dic[nowW] += 1 
    i += 1
for i in range(26):
    cord = 97+i
    print(chr(cord)+" : " + str(dic[chr(cord)]))

Submission status: Wrong Answer

Solution code:
s = input()
A = 'abcdefghijklmnopqrstuvwxyz'
for c in A:
    print(c+':{}'.format(s.count(c)))

Submission status: Wrong Answer

Solution code:
s = input().lower()
A = 'abcdefghijklmnopqrstuvwxyz'
for c in A:
    print(c+' : {}'.format(s.count(c)))

Submission status: Wrong Answer

Solution code:
s = list(input().lower())
alphabet = "abcdefghijklmnopqrstuvwxyz"

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

Submission status: Wrong Answer

Solution code:
from collections import defaultdict
input = raw_input()
ref = defaultdict(int)

for i in input:
    ref[i] += 1

for i in ref.keys():
    print(i + ":" + str(ref[i]))

Submission status: Wrong Answer

Solution code:
from collections import defaultdict
input = raw_input()
ref = defaultdict(int)

for i in input:
    ref[i] += 1

for i in ref.keys():
    print(i + " : " + str(ref[i]))

Submission status: Wrong Answer

Solution code:
str = raw_input()
str.lower()
str.replace(" ", "")

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

for i in range(len(str)):
    k = 97
    for j in range(26):
        if str[i] == chr(k):
            count[j] += 1
        k += 1

k = 97
for i in range(26):
    print "%s : %d" % (chr(k), count[i])
    k += 1

Submission status: Wrong Answer

Solution code:
str = str(raw_input())
str2 = str.lower()

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

for i in range(len(str)):
    k = 97
    for j in range(26):
        if str2[i] == chr(k):
            count[j] += 1
        k += 1

k = 97
for i in range(26):
    print "%s : %d" % (chr(k), count[i])
    k += 1

Submission status: Wrong Answer

Solution code:
given = input().lower()
count = [0]*26

for i in range(len(given)):
    if ord(given[i]) >= 97 and ord(given[i]) <= 122:
        count[ord(given[i])-97] += 1


for i in range(26):
    print(chr(i+97)+" : " + str(count[i]))