Average Score
1. **Stating the problem:** Calculate the average score of students based on their scores in two subjects, then find which students have an average score higher than the overall average.
2. Given:
- Number of students $N=7$
- List of student names $FIO=[\text{'Ivanova'}, \text{'Petrova'}, \text{'Sidorova'}, \text{'Kuznetsova'}, \text{'Fedorov'}, \text{'Golubev'}]$
- Scores in subject 1 $subject1=[21,95,35,27,46,78,59]$
- Scores in subject 2 $subject2=[81,10,69,76,45,92,50]$
3. **Calculate the total sum of all scores:**
$$\text{sum_value} = \sum_{i=1}^{N} (subject1_i + subject2_i)$$
Calculate each pair sum:
$$(21+81) + (95+10) + (35+69) + (27+76) + (46+45) + (78+92) + (59+50)$$
$$= 102 + 105 + 104 + 103 + 91 + 170 + 109 = 784$$
4. **Calculate the average score over all students and both subjects:**
$$average\_score = \frac{784}{7 \times 2} = \frac{784}{14} = 56$$
5. **Find students whose average score is above the overall average $56$:**
Calculate each student's average:
- Ivanova: $\frac{21+81}{2} = 51$ (below 56)
- Petrova: $\frac{95+10}{2} = 52.5$ (below 56)
- Sidorova: $\frac{35+69}{2} = 52$ (below 56)
- Kuznetsova: $\frac{27+76}{2} = 51.5$ (below 56)
- Fedorov: $\frac{46+45}{2} = 45.5$ (below 56)
- Golubev: $\frac{78+92}{2} = 85$ (above 56)
- Missing 7th student's name but scores (59, 50): $\frac{59+50}{2} = 54.5$ (below 56)
6. **Result:** Only Golubev has an average score higher than the overall average.
7. **Final dictionary of students with above-average scores:**
$$\text{result} = \{\text{'Golubev'}: 85\}$$