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