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