It will work either way. The two outer terminals are just in and out not directional.