I made it to the first Fortran, 24 out of 50:
gfortran -o QR QR.f && ./QR > QR.f90
gfortran: internal compiler error: Killed (program f951)
Giving up now.