eolymp
bolt
Try our new interface for solving problems
Problems

Progress in artillery begins

published at 2/13/24, 9:47:46 am

чем гуще лєс тєм больше шкібіді доп єс єс

published at 2/15/24, 3:22:31 pm

Чєм гуще лєс...

published at 2/19/24, 1:47:38 pm

ті. калхознік

published at 2/19/24, 1:48:10 pm

Колхоз топ

published at 2/19/24, 1:49:08 pm

іщьо адін вяк, і я большє не буду себя сдєржівать, сєлюк

published at 2/19/24, 1:50:34 pm

Макс я більше ніколи з тобою не сяду

published at 3/2/24, 8:20:00 pm

led_counts = { "0": 6, "1": 2, "2": 5, "3": 5, "4": 4, "5": 5, "6": 6, "7": 3, "8": 7, "9": 6 }

n = input() say = 0

for i in n: for j in led_counts.keys(): if i == j: say += led_counts.get(j)

print(say)