#include <bits/stdc++.h> using namespace std; int n,m; int main(){ cin>>n; cout<<n/2<<endl; return 0; }