#include #include using namespace std; using namespace atcoder; using ll = long long; int N; int main() { cin >> N; cout << (N % 2 ? 1: N / 2) << endl; return 0; }