#include <stdint.h>
#include <stdio.h>


uint32_t globall = -1;
uint32_t dwords[0x27] = {0};
uint32_t flg[0x40] = {0};

uint32_t roller(void)
{
  globall = globall * 0x41c64e6d + 0x3039;
  return globall >> 0x10 & 0xff;
}


int doo(int i)
{
	globall = i + dwords[i % 10];
	uint32_t a = roller();
	uint32_t b = roller();
	uint32_t c = roller();

	if ((b + ((int)flg[i] ^ a) ^ c) != dwords[(long)i + 0xc])
		return 0;
    return 1;
}

int main(void)
{
  dwords[0] = 0x343b;
  dwords[1] = 0xa726;
  dwords[2] = 0x640e;
  dwords[3] = 0x2806;
  dwords[4] = 0x5003;
  dwords[5] = 0xa007;
  dwords[6] = 0x10d9b;
  dwords[7] = 0x4000;
  dwords[8] = 0x8000;
  dwords[9] = 0x10000;
  dwords[0xc] = 0x12d;
  dwords[0xd] = 200;
  dwords[0xe] = 0x2c;
  dwords[0xf] = 0x1ec;
  dwords[0x10] = 0x17b;
  dwords[0x11] = 0x1ea;
  dwords[0x12] = 0xd4;
  dwords[0x13] = 0x1bd;
  dwords[0x14] = 0x66;
  dwords[0x15] = 0x126;
  dwords[0x16] = 0x27;
  dwords[0x17] = 0x106;
  dwords[0x18] = 0x125;
  dwords[0x19] = 0x66;
  dwords[0x1a] = 0x194;
  dwords[0x1b] = 0x56;
  dwords[0x1c] = 0x172;
  dwords[0x1d] = 0x7e;
  dwords[0x1e] = 0x8a;
  dwords[0x1f] = 0x98;
  dwords[0x20] = 0xc0;
  dwords[0x21] = 0xd1;
  dwords[0x22] = 0xd2;
  dwords[0x23] = 399;
  dwords[0x24] = 0x75;
  dwords[0x25] = 0x1ee;
  dwords[0x26] = 0x134;

  for (int i = 0; i < 0x1f; i++) {
	  for (int j = 0 ; j < 256; j++) {
		  flg[i] = j;
		  if (doo(i) == 1) {
			  printf("%c", j);
		  }
	  }
  }
  puts("");


}
