#include <perms.h>

//          Edinburgh IMP77 Compiler - Version 8.4
//
//     1  %Constant %Integer  CB1   = 1
//     2  %Constant %Integer  CB2   = 2
//     3  %Constant %Integer  CInt1 = CB1 + 3 * 4
//     4  %Constant %Integer  CInt2 = CInt1 + CB2 + 321
//     5  %Constant %Integer  CInt4 = 4
//     6  %Constant %Integer  MInt1 = M'X'
//     7  %Constant %Integer  MInt2 = M'IMP'
//     8  %begin

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

  //     9    %integer I

  int I;

  //    10    I = CB1

  I = 1;

  //    11    I = CB2

  I = 2;

  //    12    I = CInt1

  I = 13;

  //    13    I = CInt2

  I = 336;

  //    14    I = CInt4

  I = 4;

  //    15    I = MInt1

  I = 88;

  //    16    I = MInt2

  I = 4803920;

  //    17
  //    18    I = CB1 + I

  I = 1 + I;

  //    19    I = CB2 + I

  I = 2 + I;

  //    20    I = CInt1 + I

  I = 13 + I;

  //    21    I = CInt2 + I

  I = 336 + I;

  //    22    I = CInt4 + I

  I = 4 + I;

  //    23    I = MInt1 + I

  I = 88 + I;

  //    24    I = MInt2 + I

  I = 4803920 + I;

  //    25
  //    26    Write(CB1, 0); newline

  _imp_WRITE(1, 0);
  _imp_NEWLINE();

  //    27    Write(CB2, 0); newline

  _imp_WRITE(2, 0);
  _imp_NEWLINE();

  //    28    Write(CInt1, 0); newline

  _imp_WRITE(13, 0);
  _imp_NEWLINE();

  //    29    Write(CInt2, 0); newline

  _imp_WRITE(336, 0);
  _imp_NEWLINE();

  //    30    Write(CInt4, 0); newline

  _imp_WRITE(4, 0);
  _imp_NEWLINE();

  //    31    Write(MInt1, 0); newline

  _imp_WRITE(88, 0);
  _imp_NEWLINE();

  //    32    Write(MInt2, 0); newline

  _imp_WRITE(4803920, 0);
  _imp_NEWLINE();

  //    33
  //    34  %endofprogram

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