2145. Olympiad for Everyone

Problem Name:
2145. Olympiad for Everyone
Site:Timus
Links:
Tags:
Problem setters:
Valintin Zuev