Priyanshu's submission of Rainbow Graph | CodeChef