Total marks of 300 students = 300 x 45 = 13,500
Total marks of first 100 students = 100 X 70 = 7000
Total marks of last 100 students =100 X 20=2000
Total marks of remaining 100 students = 13500-(7000 + 2000)
=13500 - 9000 = 4500
Average marks of remaining 100 students = \( \large\frac{4500}{100} \) = 45