Buggy python submission (verdict: Runtime Error):
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

while True:
  input = raw_input()
  if input == "" or input == None:
    break
  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)])

Fixed submission:
import sys

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

line = ""
while True:
  try:
    temp = raw_input()
    # print "temp = " + temp
    if temp != "":
      line += temp
    else:
      break
  except:
    break

# print line

for i in xrange(len(line)):
  try:
    if line[i].lower() in dic:
      dic[line[i].lower()] += 1
  except TypeError:
    continue

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

Buggy python submission (verdict: Runtime Error):
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

while True:
  input = raw_input()
  if input == "" or input == None:
    break
  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)])

Fixed submission:
import sys

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

line = ""
while True:
  try:
    temp = raw_input()
    # print "temp = " + temp
    if temp != "":
      line += temp
    else:
      break
  except:
    break

# print line

for i in xrange(len(line)):
  try:
    if line[i].lower() in dic:
      dic[line[i].lower()] += 1
  except TypeError:
    continue

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

Buggy python submission (verdict: Runtime Error):
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

input = "hoge"
while input != "":
  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)])

Fixed submission:
import sys

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

line = ""
while True:
  try:
    temp = raw_input()
    # print "temp = " + temp
    if temp != "":
      line += temp
    else:
      break
  except:
    break

# print line

for i in xrange(len(line)):
  try:
    if line[i].lower() in dic:
      dic[line[i].lower()] += 1
  except TypeError:
    continue

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

Buggy python submission (verdict: Runtime Error):
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

input = "hoge"
flag = False
while input != "":
  input = raw_input()
  for i in xrange(len(input)):
    if input[i].lower() in dic:
      dic[input[i].lower()] += 1
    elif input[i] == ".":
      flag = True
      break
  if flag == True:
    break

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

Fixed submission:
import sys

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

line = ""
while True:
  try:
    temp = raw_input()
    # print "temp = " + temp
    if temp != "":
      line += temp
    else:
      break
  except:
    break

# print line

for i in xrange(len(line)):
  try:
    if line[i].lower() in dic:
      dic[line[i].lower()] += 1
  except TypeError:
    continue

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

Buggy python submission (verdict: Runtime Error):
dic = {}
for i in xrange(97, 123):
  dic.setdefault(chr(i), 0)

input = raw_input()
flag = False
while input != "":
  for i in xrange(len(input)):
    if input[i].lower() in dic:
      dic[input[i].lower()] += 1
    elif input[i] == ".":
      flag = True
      break
  if flag == True:
    break
  input = raw_input()

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

Fixed submission:
import sys

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

line = ""
while True:
  try:
    temp = raw_input()
    # print "temp = " + temp
    if temp != "":
      line += temp
    else:
      break
  except:
    break

# print line

for i in xrange(len(line)):
  try:
    if line[i].lower() in dic:
      dic[line[i].lower()] += 1
  except TypeError:
    continue

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