I changed it to this:
READ(14, *, IOSTAT = EOF) CHAR(N), X(N), Y(N)
WRITE (16, *) "X = ", X(N), " Y = ", Y(N)
I still get a runtime error (below), but it's changed to a WRITE problem, whereas it was a READ problem before.
"The instruction at address 4534636 attempted to write to location...