/* -*- coding: utf-8 -*- * * 1422.cc: No.1422 Social Distance in Train - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int n; scanf("%d", &n); printf("%d\n", (n & 1) ? 1 : 2); return 0; }