#include using namespace std; #include using namespace atcoder; template bool chmax(T &u, const T z) { if (u < z) {u = z; return true;} else return false; } template bool chmin(T &u, const T z) { if (u > z) {u = z; return true;} else return false; } #define ll long long #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) //#define endl "\n" typedef pair P; //const ll INF = LLONG_MAX; using mint = modint1000000007; //using mint = modint998244353; //const int MOD = 1000000007; ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; } int main(){ int n; cin>>n; if(n==0)cout<<1<