Let N be the number of ordered 6-tuples (a_1, a_2, a_3, a_4, a_5, a_6) of positive integers that satisfy \frac{1}{a_1} + \frac{1}{a_2} + \frac{1}{a_3} + \frac{1}{a_4} + \frac{1}{a_5} + \frac{1}{a_6} = 6. Find the remainder when N is divided by 5.