Shamitha's submissions for second problem