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:
s = input().lower()
s = list(map(ord,list(s)))
for i in range(ord("a"),ord("z")+1):
    print(chr(i) + " : " + str(s.count(i)))

Submission status: Wrong Answer

Solution code:
s = input().lower()
l = list(s)
alphabet = list("abcdefghijklmnopqrstuvwxyz")
c = [l.count(alphabet[i]) for i in range(26)]
for i in range(26):
    print("{} : {}".format(alphabet[i],c[i]))

Submission status: Wrong Answer

Solution code:
s = ""
while True:
    try:
        s += input()
    except:
        break
    
l = list(s)
alphabet = list("abcdefghijklmnopqrstuvwxyz")
c = [l.count(alphabet[i]) for i in range(26)]
for i in range(26):
    print("{} : {}".format(alphabet[i],c[i]))

Submission status: Wrong Answer

Solution code:
alp = "abcdefghijklmnopqrstuvwxyz"
s = [str(c) for c in input().lower()]
for i in alp:
    print(i + " : " +str(s.count(i)))

Submission status: Wrong Answer

Solution code:
import sys

alp = "abcdefghijklmnopqrstuvwxyz"
s = [str(c) for c in sys.stdin]
for i in alp:
    print(i + " : " +str(s.count(i)))

Submission status: Wrong Answer

Solution code:
word = [chr(i) for i in range(97, 97+26)]
word_number = []
line = input()
for target in word:
    count = 0
    for character in line:
        if character.lower() == target:
            count += 1
    word_number.append(count)

for i in range(26):
    print("{0} : {1}".format(word[i],word_number[i]))

Submission status: Wrong Answer

Solution code:
word = [chr(i) for i in range(97, 97+26)]
word_number = []
line = ""
line = input() 

for target in word:
    count = 0
    for character in line:
        if character.lower() == target:
            count += 1
    word_number.append(count)

for i in range(26):
    print("{0} : {1}".format(word[i],word_number[i]))

Submission status: Wrong Answer

Solution code:
dic= {}
for i in range(97, 97+26):

    dic[chr(i)] = 0


sample=input()

for s in sample:
    if s.lower() in dic:
        dic[s.lower()] += 1

for k, v in dic.items():
    print("{} : {}".format(k, v))

Submission status: Wrong Answer

Solution code:
dict= {}
for i in range(97, 97+26):

    dict[chr(i)] = 0


sample=input()

for s in sample:
    if s.lower() in dict:
        dict[s.lower()] += 1

for k, v in dict.items():
    print("{} : {}".format(k, v))

Submission status: Wrong Answer

Solution code:
sample=''
while True:
    try:
        sample += input()
    except:
        break

dict= {}
for i in range(97, 97+26):

    dict[chr(i)] = 0



for s in sample:
    if s.lower() in dict:
        dict[s.lower()] += 1

for k, v in dict.items():
    print("{} : {}".format(k, v))

Submission status: Wrong Answer

Solution code:
sample=''
while True:
    try:
        sample += input()
    except:
        break

dict= {}
for i in range(97, 97+26):

    dict[chr(i)] = 0


for s in sample:
    if s.lower() in dict:
        dict[s.lower()] += 1

for k, v in dict.items():
    print("{} : {}".format(k, v))

Submission status: Wrong Answer

Solution code:
list_str1 = list(input())
list_str2 = [0 for i in range(26)]

for i in range(len(list_str1)):
	if 97 <= ord(list_str1[i].lower()) <= 122:
		list_str2[ord(list_str1[i].lower())-97] += 1

for i in range(26):
	print(chr(97+i)+' : '+str(list_str2[i]))

Submission status: Wrong Answer

Solution code:
word = input().strip().replace(' ','').lower().rstrip('.')
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    print(key + ' : ' + str(value))

Submission status: Wrong Answer

Solution code:
word = input().strip().replace(' ','').rstrip('.').lower()
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    print(key + ' : ' + str(value))

Submission status: Wrong Answer

Solution code:
word = input().strip().replace(' ','').rstrip('.').lower()
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    print(key + ':' + str(value))

Submission status: Wrong Answer

Solution code:
word = input().strip().replace(' ','').rstrip('.').lower()
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    if key == 'z':
        print(key + ':' + str(value),end='')
        break
    print(key + ':' + str(value))

Submission status: Wrong Answer

Solution code:
import sys
word = ''
for s in sys.stdin:
    word += s
    
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    if key == 'z':
        print(key + ':' + str(value),end='')
        break
    print(key + ':' + str(value))

Submission status: Wrong Answer

Solution code:
word = ''
while True:
    try:
        word += input().lower()
    except:
        break
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    if key == 'z':
        print(key + ':' + str(value),end='')
        break
    print(key + ':' + str(value))

Submission status: Wrong Answer

Solution code:
word = ''
while True:
    try:
        word += input().lower()
    except:
        break
letters = {chr(i): 0 for i in range(97, 97+26)}
for letter in set(word):
    letters[letter] = word.count(letter)

for key, value in letters.items():
    print(key + ':' + str(value))

Submission status: Wrong Answer

Solution code:
res = []
import string
sam = string.ascii_lowercase

for mak in sam : res.append([mak,0])
tem = input().lower()

for mak in tem :
    num = sam.find(mak)
    if num != -1 : res[num][1] += 1
        
for mak in range(26) : print('{} : {}'.format(res[mak][0],res[mak][1]))

Submission status: Wrong Answer

Solution code:
res = []
import string
sam = string.ascii_lowercase

for mak in sam : res.append([mak,0])

for mak in input().lower() :
    num = sam.find(mak)
    if num != -1 : res[num][1] += 1
        
for mak in range(26) : print('{} : {}'.format(res[mak][0],res[mak][1]))

Submission status: Wrong Answer

Solution code:
s=""
while 1:
    try:
        str=raw_input()
        s+=str
    except:break
for i in range(97,97+26):
	print chr(i),":",len(s.replace(chr(i),"  "))-len(s)

Submission status: Wrong Answer

Solution code:
l=[0]*150
while 1:
    try:
        s=raw_input()
        for i in s:
            if 'a'<=i<='z':
                l[ord(i)]+=1
    except:break
for i in range(97,97+26):
	print chr(i),":",l[i]

Submission status: Wrong Answer

Solution code:
text = input()

count={}

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

for letter in text:
    if letter in count:
        count[letter] += 1

for x,y in sorted(count.items()):
    print("{0} : {1}".format(x,y))

Submission status: Wrong Answer

Solution code:
chrs = [chr(i) for i in range(97,97+26)]
state = input()
state = state.lower()
for i in chrs:
    print(i+" : "+str(state.count(i)))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import sys
import os
from collections import defaultdict


s = input().strip()

alphabets = 'abcdefghijklmnopqrstuvwxyz'

d = defaultdict(int)

for c in s:
    c2 = c.lower()
    if c2 in alphabets:
        d[c2] += 1

for c in alphabets:
    print('{} : {}'.format(c, d[c]))

Submission status: Wrong Answer

Solution code:
alphabet = 'abcdefghijklmnopqrstuvwxyz'
from collections import defaultdict

adict = defaultdict(int)
str = input().lower()

for c in str:
    adict[c] += 1

print(adict)

for k in alphabet:
    print('%s : %i' %(k, adict[k]))

Submission status: Wrong Answer

Solution code:
alphabet = 'abcdefghijklmnopqrstuvwxyz'
from collections import defaultdict

adict = defaultdict(int)
str = input().lower()

for c in str:
    adict[c] += 1

for k in alphabet:
    print('%s : %i' %(k, adict[k]))

Submission status: Wrong Answer

Solution code:
alphabet = 'abcdefghijklmnopqrstuvwxyz'
from collections import defaultdict

adict = defaultdict(int)

while True:
    str_in = input().lower()
    if str_in[-1] == '.':
        break
    for c in str_in:
        adict[c] += 1

for k in alphabet:
    print('%s : %i' %(k, adict[k]))

Submission status: Wrong Answer

Solution code:
alphabet = 'abcdefghijklmnopqrstuvwxyz'
from collections import defaultdict
import sys

adict = defaultdict(int)

for l in sys.stdin:
    for c in l:
        adict[c] += 1
        
for k in alphabet:
    print('%s : %i' %(k, adict[k]))

Submission status: Wrong Answer

Solution code:
array = input()

char = []
for i in range(len(array)):
    char.append(array[i:i+1])

alp = [0 for _ in range(26)]
for c in char:
    for i in range(26):
        if c == chr(i+65) or c == chr(i+97):
            alp[i] += 1

for i in range(26):
    print("{0} : {1}".format(chr(i+97), alp[i]))

Submission status: Wrong Answer

Solution code:
array = input()

char = []
for i in range(len(array)):
    char.append(array[i+1:i+2])

alp = [0 for _ in range(26)]
for c in char:
    for i in range(26):
        if c == chr(i+65) or c == chr(i+97):
            alp[i] += 1

for i in range(26):
    print("{0} : {1}".format(chr(i+97), alp[i]))

Submission status: Wrong Answer

Solution code:
array = input()

char = []
for i in range(1, len(array)):
    char.append(array[i:i+1])

alp = [0 for _ in range(26)]
for c in char:
    for i in range(26):
        if c == chr(i+65) or c == chr(i+97):
            alp[i] += 1

for i in range(26):
    print("{0} : {1}".format(chr(i+97), alp[i]))

Submission status: Wrong Answer

Solution code:
array = input()

char = ["" for _ in range(len(array))]
for i in range(len(array)):
    char[i] = array[i:i+1]

alp = [0 for _ in range(26)]
for c in char:
    for i in range(26):
        if c == chr(i+65) or c == chr(i+97):
            alp[i] += 1

for i in range(26):
    print("{0} : {1}".format(chr(i+97), alp[i]))

Submission status: Wrong Answer

Solution code:
array = input()

char = ["" for _ in range(len(array))]
for i in range(len(array)):
    char[i] = array[i:i+1]

alp = [0 for _ in range(26)]
for c in char:
    for i in range(26):
        if c == chr(i+ord("A")) or c == chr(i+ord("a")):
            alp[i] += 1

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

Submission status: Wrong Answer

Solution code:
array = input()

char = ["" for _ in range(len(array))]
for i in range(len(array)):
    char[i] = array[i:i+1]

alp = [0 for _ in range(26)]
for j in range(len(array)):
    for i in range(26):
        if char[j] == chr(i+ord("A")) or char[j] == chr(i+ord("a")):
            alp[i] += 1

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

Submission status: Wrong Answer

Solution code:
s = input().lower()
for t in range(ord('a'), ord('z')+1):
	print('{0} : {1}'.format(chr(t),s.count(chr(t))))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python

text = input()
letters = []
#a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z=0

for i in range(26):
    letters.append(chr(i + 97) + " : ")

#65-90 uppercase
#97-122lowercase
#"This is a pen"
i = 0
for y in letters:
    value = 0
    for x in text:
        if x.isupper():
            x = x.lower()
            if x in y:
                value += 1
        elif x.islower():
            if x in y:
                value += 1
    letters[i] = letters[i] + str(value)
    i += 1

for x in letters:
    print(x)

Submission status: Wrong Answer

Solution code:
ansdic={}
for i in range(ord("a"),ord("z")+1):
    ansdic[chr(i)] = 0
while True:
    try:
        line = [s.lower() for s in input()]
        for s in line:
            if ord(s) >= ord("a") and ord(s) <= ord("z"):
                ansdic[s] += 1
    except EOFError:
        break
for key in ansdic:
    print("{} : {}".format(key, ansdic[key]))

Submission status: Wrong Answer

Solution code:
import string

chs = dict([(ch, 0) for ch in string.ascii_lowercase])

for ch in input():
    if ch not in chs:
        continue

    chs[ch] += 1

for k, v in chs.items():
    print(k, ':', v)

Submission status: Wrong Answer

Solution code:
import string

chs = dict([(ch, 0) for ch in string.ascii_lowercase])

for ch in input():
    if ch.lower() not in chs:
        continue

    chs[ch.lower()] += 1

for k, v in chs.items():
    print(k, ':', v)

Submission status: Wrong Answer

Solution code:
import string
from sys import stdin

chs = dict([(ch, 0) for ch in string.ascii_lowercase])

for line in stdin:
    for ch in line:
        if ch.lower() not in chs:
            continue

        chs[ch.lower()] += 1

for k, v in chs.items():
    print(k, ':', v)

Submission status: Wrong Answer

Solution code:
import string
from sys import stdin

chs = dict([(ch, 0) for ch in string.ascii_lowercase])

for line in stdin:
    for ch in line:
        c = ch.lower()

        if c not in chs:
            continue

        chs[c] += 1

for k, v in chs.items():
    print(k, ':', v)

Submission status: Wrong Answer

Solution code:
import string
from sys import stdin

chs = dict([(ch, 0) for ch in string.ascii_lowercase])

for line in stdin:
    for ch in line:
        c = ch.lower()

        if c not in chs:
            continue

        chs[c] += 1

for k, v in chs.items():
    print('{} : {}'.format(k, v))

Submission status: Wrong Answer

Solution code:
from collections import OrderedDict
AZC = OrderedDict((chr(i), 0) for i in range(97,97+26))
S = input().lower()
for i in S:
 if i in AZC:
  AZC[i] += 1

for  s, n in AZC.items():
 print(s + " : " + str(n))

Submission status: Wrong Answer

Solution code:
a = [0 for i in range(26)]
S = input()
cnt = 0
for i in S:
    if 65 <= ord(i) and ord(i) <= 90\
    or 97 <= ord(i) and ord(i) <= 122:
        if 65 <= ord(i) and ord(i) <= 90:
            cnt = ord(i) - ord("A")
        else:
            cnt = ord(i) - ord("a")
        a[cnt] += 1
        cnt = 0
for i in range(26):
    print(chr(i + 97), ":", a[i])

Submission status: Wrong Answer

Solution code:
count = {}
from string import ascii_lowercase
for c in ascii_lowercase:
    count[c] = 0 
str = input()
sum = 0 
for c in str:
    if c.isalpha():
        count[c.lower()] += 1
for c in ascii_lowercase:
    print(c, ':', count[c])

Submission status: Wrong Answer

Solution code:
count = [0 for i in range(26)]
str = input()
sum = 0
for c in str:
    if c.isalpha():
        count[ord(c)-97] += 1
for c in range(26):
    print('{0} : {1}'.format(chr(c+97), count[c]))

Submission status: Wrong Answer

Solution code:
count = [0 for i in range(26)]
str = input()
sum = 0
for c in str:
    if c.isalpha():
        count[ord(c.lower())-97] += 1
for c in range(26):
    print('{0} : {1}'.format(chr(c+97), count[c]))

Submission status: Wrong Answer

Solution code:
import sys
count = [0 for i in range(26)]
#str = input()
strs = sys.stdin.readlines()
sum = 0
for c in strs:
    if c.isalpha():
        count[ord(c.lower())-97] += 1
for c in range(26):
    print('{0} : {1}'.format(chr(c+97), count[c]))

Submission status: Wrong Answer

Solution code:
a = [0 for i in range(26)]
for i in input():
    if i.isalnum():
        c = ord(i.lower())
        a[c-97] += 1

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

Submission status: Wrong Answer

Solution code:
import string
x = input().lower()
for ch in string.ascii_lowercase:
    print(ch, ':', x.count(ch))

Submission status: Wrong Answer

Solution code:
a = [0 for i in range(26)]
import sys
for i in sys.stdin:
    if i.isalnum():
        c = ord(i.lower())
        a[c-97] += 1

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

Submission status: Wrong Answer

Solution code:
#coding:utf-8

moji = list(input().rstrip().lower())

moji_l = list("abcdefghijklmnopqrstuvwxyz")
moji_c = [0 for i in range(26)]

for i in moji:
    #??¢??????????????????????????????
    if i.isalpha() == False:
        pass
    else:
        moji_c[moji_l.index(i)] += 1

for i in range(26):
    print(str(moji_l[i]) + " : " +str(moji_c[i]))

Submission status: Wrong Answer

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

dic = {}
for i in line:
    if i in dic:
        dic[i] += 1
    else:
        dic[i] = 1

for i in xrange(97, 123):
    output = 0
    if chr(i) in dic:
        output = dic[chr(i)]
    print "%s : %d" % (chr(i), output)

Submission status: Wrong Answer

Solution code:
s=input().lower()
alphabet=list("abcdefghijklmnopqrstuvwxyz")
for i in alphabet:
    print("{} : {}".format(i, s.count(i)))

Submission status: Wrong Answer

Solution code:
import sys

charas = 'abcdefghijklmnopqrstuvwxyz'

data = []
for line in sys.stdin:
    data.append(line)
for chara in charas:
    for row in data:
        cnt = row.count(chara)
        cnt += row.count(chara.upper())
    print('{} : {}'.format(chara, cnt))

Submission status: Wrong Answer

Solution code:
S = input().lower()
a = [0 for i in range(26)]
for c in S:
    if ord(c) >= 97\
    and ord(c) <= 122:
        i = ord(c) - 97
        a[i] += 1

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

Submission status: Wrong Answer

Solution code:
import sys
a = [0 for i in range(26)]
for S in sys.stdin:
    for c in S.lower():
        if ord(c) >= 97\
        and ord(c) <= 122:
            i = ord(c) - 97
            a[i] += 1

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

Submission status: Wrong Answer

Solution code:
import string

table = {c: 0 for c in string.ascii_lowercase}

for raw in input():
    c = raw.lower()
    if c in string.ascii_lowercase:
        table[c] += 1

for key in string.ascii_lowercase:
    print('{:s} : {:d}'.format(key, table[key]))

Submission status: Wrong Answer

Solution code:
sen = input()
sen.lower()
res = [0 for i in range(26)]
for c in sen:
    if 'a' <= c <= 'z':
        res[ord(c)-ord('a')] += 1
alp = [chr(i) for i in range(ord('a'), ord('z')+1)]
for i in range(26):
    print(alp[i] + ' : ' + str(res[i]))

Submission status: Wrong Answer

Solution code:
sen = input().lower()
res = [0 for i in range(26)]
for c in sen:
    if 'a' <= c <= 'z':
        res[ord(c)-ord('a')] += 1
alp = [chr(i) for i in range(ord('a'), ord('z')+1)]
for i in range(26):
    print(alp[i] + ' : ' + str(res[i]))

Submission status: Wrong Answer

Solution code:
from collections import Counter
import re

chardict = {chr(i):0 for i in range(97, 97+26)}
#str1 = raw_input('> ')
str1 = 'This is a pen.'
str1 = re.sub('[^a-z]', '', str1.lower())
counter = Counter(str1)
for word in counter:
    chardict[word] = counter[word]
charlist = sorted(chardict.items())
for x in charlist:
    print(x[0],':',x[1])

Submission status: Wrong Answer

Solution code:
from collections import Counter
import re

chardict = {chr(i):0 for i in range(97, 97+26)}
#str1 = raw_input('> ')
str1 = 'This is a pen.'
str1 = re.sub('[^a-z]', '', str1.lower())
counter = Counter(str1)
for word in counter:
    chardict[word] = counter[word]
charlist = sorted(chardict.items())
for x in charlist:
    print(x[0],' : ',x[1])

Submission status: Wrong Answer

Solution code:
from collections import Counter
import re

chardict = {chr(i):0 for i in range(97, 97+26)}
str1 = raw_input()
str1 = re.sub('[^a-z]', '', str1.lower())
counter = Counter(str1)
for word in counter:
    chardict[word] = counter[word]
charlist = sorted(chardict.items())
for x in charlist:
    print(x[0] + ' : ' + str(x[1]))

Submission status: Wrong Answer

Solution code:
x= [i for i in input()]
s=[int(0) for i in range(26)]
for i in range(len(x)):
    if 97<=ord(x[i].lower())<=122:
        s[ord(x[i].lower())-97]=s[ord(x[i].lower())-97]+1
for i in range(26):
    print(chr(97+i),":",s[i])

Submission status: Wrong Answer

Solution code:
import sys
cs = { c : 0 for c in list("abcdefghijklmnopqrstuvwxyz")}
for c in list(sys.stdin.read()):
    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:
s=[int(0) for i in range(26)]
x=input()
while x:
    for i in range(len(list(x))):
        if 97<=ord(list(x)[i].lower())<=122:
            s[ord(list(x)[i].lower())-97]=s[ord(list(x)[i].lower())-97]+1
    if(list(x)[len(list(x))-1]=='\n'):
        x=input()
    else:
        break
for i in range(26):
    print(chr(97+i),":",s[i])

Submission status: Wrong Answer

Solution code:
s=[int(0) for i in range(26)]
x=input().rstrip()
for i in range(len(list(x))):
    if 97<=ord(list(x)[i].lower())<=122:
        s[ord(list(x)[i].lower())-97]=s[ord(list(x)[i].lower())-97]+1
for i in range(26):
    print(chr(97+i),":",s[i])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
??§???????°?????????????
"""
lower = "abcdefghijklmnopqrstuvwxyz"
upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
inp = input().strip()
inp = inp.translate(str.maketrans(upper,lower))
for i in lower:
    print("{0} : {1}".format(i,inp.count(i)))

Submission status: Wrong Answer

Solution code:
from string import ascii_lowercase as letters

data = ''
'''
while True:
	temp = input()
	if temp == '':
		break
	else:
		data += temp.lower()
'''
num = [data.count(s) for s in letters]
ans = '\n'.join(['{0} : {1}'.format(s,n) for s,n in zip(list(letters),num)])
print(ans)

Submission status: Wrong Answer

Solution code:
s = input().lower()
[print(chr(o)+' : '+str(s.count(chr(o)))) for o in range(ord('a'),ord('z')+1)]

Submission status: Wrong Answer

Solution code:
try:
	s = ''
	while True:
		s = s.join(input())
except EOFError:
	s = s.lower()
	[print(chr(o)+' : '+str(s.count(chr(o)))) for o in range(ord('a'),ord('z')+1)]

Submission status: Wrong Answer

Solution code:
def main():
    S = input()

    s = S.lower()
    for i in range(97, 123):
        c = chr(i)
        n = s.count(c)
        print('{} : {}'.format(c, n))

main()

Submission status: Wrong Answer

Solution code:
t = input()
l=[chr(i) for i in range(97, 97+26)]
L=[chr(i) for i in range(65, 65+26)]
print (l,L)

n=0

for i in range(len(L)):
    n = t.count(str(L[i]))+t.count(str(l[i]))
    print(str(l[i])+" : "+str(n))

Submission status: Wrong Answer

Solution code:
t = input()
l=[chr(i) for i in range(97, 97+26)]
L=[chr(i) for i in range(65, 65+26)]


n=0

for i in range(len(L)):
    n = t.count(str(L[i]))+t.count(str(l[i]))
    print(str(l[i])+" : "+str(n))

Submission status: Wrong Answer

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

ch=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r',
 's','t','u','v','w','x', 'y', 'z']

for c in ch:
    print("{} : {}".format(c,s.count(c)))

Submission status: Wrong Answer

Solution code:
import sys

s=""
for line in sys.stdin:
    s=s+line
    
ch=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r',
 's','t','u','v','w','x', 'y', 'z']

sl=s.lower()

for c in ch:
    print("{} : {}".format(c,s.count(c)))

Submission status: Wrong Answer

Solution code:
s = ""
while True:
    try:
        sent = input()
    except:
        break
    s += sent
    
ch=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r',
 's','t','u','v','w','x', 'y', 'z']

sl=s.lower()

for c in ch:
    print("{} : {}".format(c,s.count(c)))

Submission status: Wrong Answer

Solution code:
s = ""
while True:
    try:
        sent = input()
    except:
        break
    s += sent
    
ch=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r',
 's','t','u','v','w','x', 'y', 'z']

sl=s.lower()

for c in ch:
    cnt=s.count(c)
    print("{} : {}".format(c,cnt))

Submission status: Wrong Answer

Solution code:
from collections import Counter

c = Counter(input().lower())

for i in iter("abcdefghijklmnopqrstuvwxyz"):
	print("{0} : {1}".format(i, c[i]))

Submission status: Wrong Answer

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

string = input()
for i in range(len(string)):
    char = string[i].lower()
    if char in dic.keys():dic[char] += 1

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

Submission status: Wrong Answer

Solution code:
Target = input().lower()
for i in range(26):
    print(chr(i + 97), ":", Target.count(chr(i + 97)))

Submission status: Wrong Answer

Solution code:
import sys

Target = ""
for line in sys.stdin:
    Target += line
for i in range(26):
    print(chr(i + 97), ":", Target.count(chr(i + 97)))

Submission status: Wrong Answer

Solution code:
import sys

Target = ""
for line in sys.stdin:
    Target += line.rstrip("\r\n")
for i in range(26):
    print(chr(i + 97), ":", Target.count(chr(i + 97)))

Submission status: Wrong Answer

Solution code:
import sys

Target = ""
for line in sys.stdin:
    Target += line.rstrip("\n")
for i in range(26):
    print(chr(i + 97), ":", Target.count(chr(i + 97)))

Submission status: Wrong Answer

Solution code:
import sys

Target = "".join(sys.stdin.readlines())
for i in range(26):
    print(chr(i + 97), ":", Target.count(chr(i + 97)))

Submission status: Wrong Answer

Solution code:
z = input()
a = []
b = 0
for i in z:
    if i.isupper():
        a += i.upper()
    a += i
print(a)
al = [chr(i) for i in range(97, 97 + 26)]
for i in al:
    b = str(a.count(i))
    print('{} : {}'.format(i,b))

Submission status: Wrong Answer

Solution code:
z = input()
a = []
b = 0
for i in z:
    if i.isupper():
        a += i.upper()
    a += i
al = [chr(i) for i in range(97, 97 + 26)]
for i in al:
    b = str(a.count(i))
    print('{} : {}'.format(i,b))

Submission status: Wrong Answer

Solution code:
z = input()
a = []
b = 0
for i in z:
    if i.isupper():
        a += i.lower()
    a += i
al = [chr(i) for i in range(97, 97 + 26)]
for i in al:
    b = str(a.count(i))
    print('{} : {}'.format(i,b))

Submission status: Wrong Answer

Solution code:
text = input()
for i in [chr(i) for i in range(97,97+26)]:
    print(i, ":", text.count(i))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
sentence=input()
sentence2=sentence.lower()
for i in[chr(i) for i in range(97,97+26)]:
 print(i,':',sentence2.count(i))

Submission status: Wrong Answer

Solution code:
try:
    text = ""
    while True:
        text += input()
except:
    for s in [chr(k) for k in range(97,97+26)]:
        print(s,":",text.count(s))

Submission status: Wrong Answer

Solution code:
import string
x=input()
allcase=string.ascii_lowercase
for letter in allcase:
    print(letter + " : " + repr(x.count(letter)))

Submission status: Wrong Answer

Solution code:
import string
x=input().lower()
allcase=string.ascii_lowercase
for letter in allcase:
    print(letter + " : " + repr(x.count(letter)))

Submission status: Wrong Answer

Solution code:
import string
x=input().lower()
allcase=string.ascii_lowercase
for letter in allcase:
    print(letter + " : " + repr(x.count(letter,0,len(x))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
a = {chr(i): 0 for i in range(97, 123)}
for s in sys.stdin:
    for c in s:
        if c.lower() in a:
            a[c.lower()] += 1
    for key in a:
        print("{} : {}".format(key, a[key]))

Submission status: Wrong Answer

Solution code:
import sys
a = {chr(i): 0 for i in range(97, 123)}
s = sys.stdin.readline()
while s:
    for c in s:
        if c.lower() in a:
            a[c.lower()] += 1
    for key in a:
        print("{} : {}".format(key, a[key]))
    s = sys.stdin.readline()

Submission status: Wrong Answer

Solution code:
l = 'abcdefghijklmnopqrstuvwxyz'
mp = [0 for _ in list(l)]

in_data = list(filter(lambda x: 97 <= ord(x) <= 122 , raw_input().lower()))

for s in in_data:
    mp[ord(s) - 97] += 1

for i,j in zip(l, mp):
    print "%s : %s" % (i, j)

Submission status: Wrong Answer

Solution code:
# Aizu Problem ITP_1_8_C: Counting Characters
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


letters = [chr(k) for k in range(97, 123)]
count = {char: 0 for char in letters}
for char in input().strip().lower():
    if char in letters:
        count[char] += 1

for char in letters:
    print(char, ':', count[char])

Submission status: Wrong Answer

Solution code:
str = list('abcdefghijklmnopqrstuvwxyz')
dic_count = {}
for char in str:
    dic_count.update({char:0})

word_list = []
word_list = list(input().split())

for word in word_list:
    for char in word.lower():
        if char in dic_count:
            dic_count['{}'.format(char)] += 1

for k,v in dic_count.items():
    print(k,':',v)

Submission status: Wrong Answer

Solution code:
str = list('abcdefghijklmnopqrstuvwxyz')
dic_count = {}
for char in str:
    dic_count.update({char:0})

word_list = []
word_list = list(input().split())

for word in word_list:
    for char in word.lower():
        if char in dic_count:
            dic_count['{}'.format(char)] += 1

for k,v in dic_count.items():  
    if k != 'z':
        print(k,':',v,'')
    else:
        print(k,':',v)

Submission status: Wrong Answer

Solution code:
str = list('abcdefghijklmnopqrstuvwxyz')
dic_count = {}
for char in str:
    dic_count.update({char:0})

word_list = []
word_list = list(input().split())

for word in word_list:
    for char in word.lower():
        if char in dic_count:
            dic_count['{}'.format(char)] += 1

for k,v in dic_count.items():  
    print(k,':',v,'')

Submission status: Wrong Answer

Solution code:
str = list('abcdefghijklmnopqrstuvwxyz')
dic_count = {}
for char in str:
    dic_count.update({char:0})

word_list = list(input().split())

for word in word_list:
    for char in word.lower():
        if char in dic_count:
            dic_count['{}'.format(char)] += 1

for k,v in dic_count.items():  
    print(k,':',v,'')
print()

Submission status: Wrong Answer

Solution code:
str = list('abcdefghijklmnopqrstuvwxyz')
dic_count = {}
for char in str:
    dic_count.update({char:0})

word_list = list(input().split())

for word in word_list:
    for char in word.lower():
        if char in dic_count:
            dic_count['{}'.format(char)] += 1

for k,v in dic_count.items():  
    print(k,':',v)
print()

Submission status: Wrong Answer

Solution code:
import sys
d = {chr(w): 0 for w in range(97, 123)}
for line in sys.stdin:
    if line == "\n":
        break
    for w in line.lower():
        if chr(97) <= w and w <= chr(122): 
            d[w] += 1
    for w in d:
        print("{} : {}".format(w, d[w]))