#include <perms.h>

//          Edinburgh IMP77 Compiler - Version 8.4
//
//     1  %begin

int main(int argc, char **argv) { /*%begin*/
  _imp_initialise(argc, argv);

  //     2    ! bounds need to apply to all four arrays here
  //     3    %integerarray  p,q,r,s(0:255, 0:255)

  int P[256][256];
  int Q[256];
  int R[256];
  int S[256];

  //     4    %integer i

  int I;

  //     5    p(100, 200) = 42

  P[200] = 42;

  //     6    q(100, 200) = 42

  Q[200] = 42;

  //     7    r(100, 200) = 42

  R[200] = 42;

  //     8    s(100, 200) = 42

  S[100][200] = 42;

  //     9  %endofprogram

  _imp_stop(0);
  return 0;
end_0:;
}