naveen's submission of ROSE | CodeChef