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

Задача 15832. Processing of entered numbers - 3


Задача

Темы: Цикл for
Enter 8 positive integers from the keyboard. Determine how many of them are divisible by 3 and end in 4. The program should output one number: the number of numbers that are multiples of 3 and end in 4.
 
 
Input
12
14
24
54
44
33
84
114
Output
4