#include #include #include #include #include #include #include #include #include #include #include #include //#include "toollib.h" #define INT_MAX 2147483647 #define Loop(i, n) for(int i = 0; i < (int)n; i++) #pragma warning (disable:4018) using namespace std; typedef long long int lint; typedef struct { int x; int y; }coordinate; //***** Main Program ***** //最大公約数を求める lint solve_GCD(lint x, lint y) { while (x != y) { if (x > y) { x -= y; } else { y -= x; } } return x; } int main() { int N; cin >> N; if (N % 2 == 0) cout << 1 << endl; else cout << N << endl; return 0; }