Install check valves in each line and route them any way you like.