Chaithanya Shyam's submission of The Theatre Problem | CodeChef