Solution Final- Submitted