Task
Time limit:
1000 ms,
Memory limit:
256 Mb
For the test in the class, the students received A - fives, B - fours, C - threes and D - two
Write a program that determines how many students received a grade that exceeded the average score
Input: 4 numbers are sent to the program input (A, B, C, D), one per line
Output: output one number - how many students received an assessment exceeding the average score
Примеры
№ |
Input |
Output |
1 |
10
6
2
3 |
10 |
Prohibited statements:else; and; or; not