naveen's submission of Lost Graph | CodeChef