Quiz
Problem
The students received
A
- A's,
B
- B's,
C
- C's, and
D
- D's for the class quiz.
Write a program that determines how many students got a grade higher than the grade point average.
Input format
The input to the program is 4 numbers (A, B, C, D), one per line.
Output format
Output one number - how many students got a grade higher than the average.
Example
№ |
Входные данные |
Выходные данные |
1 |
10
6
2
3 |
10 |
Запрещенные операторы: else
; and
; or
; not