We have 9 pens, of which 5 are green ink, 3 are red ink, and 1 is black. If we put the pens in a line, how many arrangements are possible