Devang Arora's submission of The Theatre Problem | CodeChef