mani_venishetty's submissions for second problem