Yash Kulkarni's submission of The Theatre Problem | CodeChef