#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
int x, ctr = 0;
cin >> x;
while (x > 0)
{
if (x >= 5)
x -= 5;
else if (x >= 4)
x -= 4;
else if (x >= 3)
x -= 3;
else if (x >= 2)
x -= 2;
else if (x >= 1)
x -= 1;
ctr++;
}
cout << ctr;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKICAgIGlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgY2luLnRpZSgwKTsKCiAgICBpbnQgeCwgY3RyID0gMDsKICAgIGNpbiA+PiB4OwoKICAgIHdoaWxlICh4ID4gMCkKICAgIHsKICAgICAgICBpZiAoeCA+PSA1KQogICAgICAgICAgICB4IC09IDU7CiAgICAgICAgZWxzZSBpZiAoeCA+PSA0KQogICAgICAgICAgICB4IC09IDQ7CiAgICAgICAgZWxzZSBpZiAoeCA+PSAzKQogICAgICAgICAgICB4IC09IDM7CiAgICAgICAgZWxzZSBpZiAoeCA+PSAyKQogICAgICAgICAgICB4IC09IDI7CiAgICAgICAgZWxzZSBpZiAoeCA+PSAxKQogICAgICAgICAgICB4IC09IDE7CgogICAgICAgIGN0cisrOwogICAgfQoKICAgIGNvdXQgPDwgY3RyOwp9