#include <iostream>#include <iomanip>using namespace std;int main(){ float c; cin >> c; cout <<fixed<<setprecision(0)<<(c+1.4)/3 <<endl;}