fifth problem solution