jayeshboorle's submissions for second problem