#include using namespace std; using ll = long long; using Graph = vector>; int main() { long long N; cin >> N; cout << N/2 << endl; }