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