#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using pii = pair<int, int>;
int main() {
  int n;
  cin >> n;
  cout << n / 2 << endl;
}
