#include <bits/stdc++.h>   using namespace std;   int getFldsFromLine(char *line, std::vector<char *> &res,                       const char *sep =    t n v f r );   int main(int argc, char **argv) {     FILE *infile = stdin;     char *line;     line = (char *)calloc(5000000, sizeof(char));     if (line == NULL) {       fprintf(stderr,  Couldn t allocate space for  %s  nBye! n ,  line );       exit(-1);     };     std::vector<char *> flds;     int numFlds, numCases, caseNum = 0;     {       char *feabeqav = fgets(line, 5000000, infile);       numFlds = getFldsFromLine(line, flds);     };     int k = atoi(flds[0]);     if (k != 2) k = 1;     cout << k << endl;     return (0);     return (0);   }   int getFldsFromLine(char *line, std::vector<char *> &res, const char *sep) {     res.clear();     char *tok = strtok(line, sep);     while (tok) {       res.push_back(tok);       tok = strtok(0, sep);     }     return res.size();   }   