Here is the contest link.
https://codeforces.me/gym/590053/problem/A
A. Kibr and His Musics
Solution
Code
B. Kidus Couldn't Sleep
Solution
Code
C. Restoring to the Original
Solution
Code
D. Socialism
Solution
Code
E. TV Off
Solution
Code