Problem 2. In a children's summer camp, children flew in 4 shifts. In the first shift, 128 students were registered, and in the second shift, 2 times more than in the first. In the third shift, 69 more students registered than in the second, and in the fourth shift, 3 times fewer than the sum of the first and third shifts. However, in the first shift, 5 children did not come, in the second shift, 3 children, and in the fourth shift, 4 children. How many children in total flew in this children's summer camp?
Solution. In the second shift, $128 \cdot 2=256$ students registered, in the third $256+69=325$ students, and in the fourth $(128+325): 3=151$ students. Therefore, the total number of students who flew is $(128-5)+(256-3)+325+(151-4)=848$ students.