/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

#include <stdio.h>
#include <string.h>
#include <fstream>
#include <iostream>

#include "se_defines.h"

SE_GLOBALS()

void test_case(const char* input) {
  int ihulf = 37;
  int gajrv = 58;
  int yodiy = 12;
  int obujm = 76;
  int tttdx = 18;
  int nwkkr = 24;
  int okfjk = 18;
  int jbvin = 95;
  int ujqxq = 71;
  int zndam = 39;
  int ewlsm = 89;
  int lzing = 6;
  int gaktx = 32;
  int ldwxf = 66;
  int jwhet = 67;
  int dxfom = 17;
  int pgvnk = 33;
  int fncph = 99;
  int wwspt = 32;
  int mypkj = 47;
  int vpetd = 18;
  int xiuaq = 95;
  int vvkuh = 73;
  int pqdyb = 89;
  int gnrfe = 55;
  int ylmgl = 35;
  int cpjhj = 61;
  int szcpz = 23;
  int stvro = 38;
  int siiqt = 82;
  int coyjp = 35;
  int qqboe = 98;
  int rsoci = 80;
  int vxwue = 11;
  int elfec = 43;
  int eopjt = 65;
  int vsuqi = 36;
  int xzfqf = 67;
  int atmyd = 24;
  int onksj = 85;
  int fyekr = 85;
  int kpxdz = 82;
  int tmkav = 75;
  int ibnyc = 65;
  int asmyt = 51;
  int hogxq = 85;
  int hdzxp = 70;
  int rfkwf = 89;
  int ciexb = 21;
  int vzyfm = 42;
  int uoxul = 54;
  int vxhvl = 88;
  int xxgwj = 68;
  int bhqrc = 35;
  int pbikg = 44;
  int lsipu = 93;
  int zysda = 74;
  int nljsl = 96;
  int hypgy = 3;
  int rhqks = 6;
  int cbrzm = 26;
  int agbnq = 37;
  int vvjls = 65;
  int uhfyf = 32;
  int wqjcd = 15;
  int yxdqt = 92;
  int hphms = 79;
  int qqypc = 31;
  int vnkdi = 4;
  int kbfif = 14;
  int oknrp = 56;
  int aqwbc = 14;
  int igjkk = 44;
  int rnbah = 67;
  int gbwgv = 29;
  int ykzxu = 67;
  int cdhpe = 1;
  int seatj = 81;
  int nejey = 52;
  int nhjua = 66;
  int btbpf = 71;
  int sdzcq = 94;
  int nufmr = 63;
  int mifeo = 32;
  char buffer_one[8], buffer_two[8];
  strcpy(buffer_one, "one"); /* Put "one" into buffer_one. */
  strcpy(buffer_two, input); /* Copy input into buffer_two. */
  /* Print the value of the variables */
  printf("Variable uhfyf: %d", uhfyf);
  printf("Variable hphms: %d", hphms);
  printf("Variable lzing: %d", lzing);
  printf("Variable aqwbc: %d", aqwbc);
  printf("Variable seatj: %d", seatj);
  printf("Variable pqdyb: %d", pqdyb);
  printf("Variable bhqrc: %d", bhqrc);
  printf("Variable ihulf: %d", ihulf);
  printf("Variable tmkav: %d", tmkav);
  printf("Variable nljsl: %d", nljsl);
  printf("Variable uoxul: %d", uoxul);
  printf("Variable vnkdi: %d", vnkdi);
  printf("Variable hdzxp: %d", hdzxp);
  printf("Variable zysda: %d", zysda);
  printf("Variable qqypc: %d", qqypc);
  printf("Variable gaktx: %d", gaktx);
  printf("Variable vvjls: %d", vvjls);
  printf("Variable vsuqi: %d", vsuqi);
  printf("Variable gajrv: %d", gajrv);
  printf("Variable pgvnk: %d", pgvnk);
  printf("Variable nwkkr: %d", nwkkr);
  printf("Variable cpjhj: %d", cpjhj);
  printf("Variable mypkj: %d", mypkj);
  printf("Variable nejey: %d", nejey);
  printf("Variable rhqks: %d", rhqks);
  printf("Variable pbikg: %d", pbikg);
  printf("Variable ylmgl: %d", ylmgl);
  printf("Variable dxfom: %d", dxfom);
  printf("Variable stvro: %d", stvro);
  printf("Variable mifeo: %d", mifeo);
  printf("Variable oknrp: %d", oknrp);
  printf("Variable agbnq: %d", agbnq);
  printf("Variable jbvin: %d", jbvin);
  printf("Variable yxdqt: %d", yxdqt);
  printf("Variable vpetd: %d", vpetd);
  printf("Variable wwspt: %d", wwspt);
  printf("Variable asmyt: %d", asmyt);
  printf("Variable rnbah: %d", rnbah);
  printf("Variable vxwue: %d", vxwue);
  printf("Variable ciexb: %d", ciexb);
  printf("Variable rfkwf: %d", rfkwf);
  printf("Variable nufmr: %d", nufmr);
  printf("Variable vzyfm: %d", vzyfm);
  printf("Variable atmyd: %d", atmyd);
  printf("Variable szcpz: %d", szcpz);
  printf("Variable ujqxq: %d", ujqxq);
  printf("Variable tttdx: %d", tttdx);
  printf("Variable ewlsm: %d", ewlsm);
  printf("Variable wqjcd: %d", wqjcd);
  printf("Variable onksj: %d", onksj);
  printf("Variable cbrzm: %d", cbrzm);
  printf("Variable obujm: %d", obujm);
  printf("Variable cdhpe: %d", cdhpe);
  printf("Variable ykzxu: %d", ykzxu);
  printf("Variable xxgwj: %d", xxgwj);
  printf("Variable hypgy: %d", hypgy);
  printf("Variable xiuaq: %d", xiuaq);
  printf("Variable eopjt: %d", eopjt);
  printf("Variable lsipu: %d", lsipu);
  printf("Variable jwhet: %d", jwhet);
  printf("Variable zndam: %d", zndam);
  printf("Variable fyekr: %d", fyekr);
  printf("Variable btbpf: %d", btbpf);
  printf("Variable ldwxf: %d", ldwxf);
  printf("Variable yodiy: %d", yodiy);
  printf("Variable igjkk: %d", igjkk);
  printf("Variable nhjua: %d", nhjua);
  printf("Variable xzfqf: %d", xzfqf);
  printf("Variable gbwgv: %d", gbwgv);
  printf("Variable hogxq: %d", hogxq);
  printf("Variable rsoci: %d", rsoci);
  printf("Variable coyjp: %d", coyjp);
  printf("Variable sdzcq: %d", sdzcq);
  printf("Variable kbfif: %d", kbfif);
  printf("Variable vvkuh: %d", vvkuh);
  printf("Variable ibnyc: %d", ibnyc);
  printf("Variable okfjk: %d", okfjk);
  printf("Variable elfec: %d", elfec);
  printf("Variable fncph: %d", fncph);
  printf("Variable qqboe: %d", qqboe);
  printf("Variable vxhvl: %d", vxhvl);
  printf("Variable kpxdz: %d", kpxdz);
  printf("Variable siiqt: %d", siiqt);
  printf("Variable gnrfe: %d", gnrfe);
  /* Complex constraints for success */
  if (uhfyf == 8437 && hphms == 9520 && lzing == 4828 && aqwbc == 3188 &&
      seatj == 610 && pqdyb == 3428 && bhqrc == 2187 && ihulf == 4884 &&
      tmkav == 5187 && nljsl == 109 && uoxul == 4021 && vnkdi == 6229 &&
      hdzxp == 4114 && zysda == 7838 && qqypc == 5402 && gaktx == 7727 &&
      vvjls == 7892 && vsuqi == 6587 && gajrv == 1753 && pgvnk == 4220 &&
      nwkkr == 1747 && cpjhj == 870 && mypkj == 7343 && nejey == 6154 &&
      rhqks == 5607 && pbikg == 8000 && ylmgl == 1120 && dxfom == 3856 &&
      stvro == 7144 && mifeo == 1868 && oknrp == 1475 && agbnq == 1744 &&
      jbvin == 9410 && yxdqt == 7387 && vpetd == 347 && wwspt == 6433 &&
      asmyt == 6729 && rnbah == 2614 && vxwue == 3402 && ciexb == 4004 &&
      rfkwf == 3133 && nufmr == 6003 && vzyfm == 6882 && atmyd == 9267 &&
      szcpz == 7095 && ujqxq == 8884 && tttdx == 7935 && ewlsm == 491 &&
      wqjcd == 3109 && onksj == 2487 && cbrzm == 8504 && obujm == 4829 &&
      cdhpe == 5672 && ykzxu == 1692 && xxgwj == 1411 && hypgy == 7520 &&
      xiuaq == 3358 && eopjt == 755 && lsipu == 174 && jwhet == 4003 &&
      zndam == 5316 && fyekr == 9855 && btbpf == 8652 && ldwxf == 7324 &&
      yodiy == 1898 && igjkk == 5670 && nhjua == 4325 && xzfqf == 4370 &&
      gbwgv == 4652 && hogxq == 5405 && rsoci == 744 && coyjp == 7539 &&
      sdzcq == 7299 && kbfif == 8430 && vvkuh == 5751 && ibnyc == 9098 &&
      okfjk == 4826 && elfec == 8137 && fncph == 2632 && qqboe == 8968 &&
      vxhvl == 9263 && kpxdz == 7635 && siiqt == 8105 && gnrfe == 236) {
    SE_TARGET_STATE(true);
  }
}

int main(int argc, char* argv[]) {
  std::istream* input;
  std::ifstream file;
  if (argc < 2) {
    input = &std::cin; // No file name provided, read from stdin
  } else {
    file.open(argv[1]);
    if (!file) {
      std::cerr << "Could not open the file.\n";
      return 1;
    }
    input = &file; // File opened successfully, read from file
  }
  std::string content(
      (std::istreambuf_iterator<char>(*input)),
      std::istreambuf_iterator<char>());
  test_case(content.c_str());
  return 0;
}
