U.S. energy imports and exports were nearly equal in May