Олимпиадный тренинг

Задача 15831. Processing of entered numbers - 4


Задача

Темы: Цикл for
Enter 5 positive integers from the keyboard. Calculate the sum of those numbers that are divisible by 4 and end with 6. The program should output one number: the sum of numbers entered from the keyboard that are multiples of 4 and end with 6
 
Input
12
16
36
26
20
Output
52