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

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: