third greatest and array addition i