\[5020 - (895 + 2717)\ :28 \cdot 35 =\]
\[= 5020 - 3612\ :28 \cdot 35 =\]
\[= 5020 - 129 \cdot 35 = 5020 - 4515 = 505\]
\[Ответ:505.\]