339A - Helpful Maths
#-*- coding: utf-8 -*-str = raw_input()cnt = [ 0 for i in range(4) ]for i in range(len(str)): if str[i] == '1': cnt[1] += 1 elif str[i] == '2': cnt[2] += 1 elif str[i]