It will flow fine, but there is a small restriction in the horizontal pipes, as it won't be working with gravity. If you are worried about it, use 45's instead of 90's. Also, after the Y, the single pipe should be at least 1.5 times the size of the two before it.