Task 4.(1.5 points)There are several students in the class and some pairs are friends (the friendship relationship is symmetrical). Every student has at least one friend. The whole class came to MatFyz, where each student chooses exactly one of the lectures: either mathematics or computer science. Can you prove that (in each such class) the students can divide themselves into two lectures so that each studentZhad at least one friend who attended a different lecture than the student himself Z.