Descriptions:

Ehab and the Big Finale

CodeForces - 1174F