The productivity of workers at a shoe factory (in pairs of shoes per hour) can be modeled using the function p(h) = -2/7h + 5, where h is the number of hours. If a worker must create at least 3 pairs of shoes per hour for the company to be profitable, how long should the worker's shift be?