#include #include using namespace std; int main() { int n; scanf("%d", &n); if (n % 2) printf("1\n"); else printf("%d\n", n / 2); return 0; }