An elephant decided to visit his friend. It turned out that the elephant's house is located at point 0 and his friend's house is located at point x(x > 0) of the coordinate line. In one step the elephant can move 1, 2, 3, 4 or 5 positions forward. Determine, what is the minimum number of steps he need to make in order to get to his friend's house.

The first line of the input contains an integer x (1 ≤ x ≤ 1 000 000) — The coordinate of the friend's house.

Print the minimum number of steps that elephant needs to make to get from point 0 to point x.

NoteIn the first sample the elephant needs to make one step of length 5 to reach the point x.In the second sample the elephant can get to point x if he moves by 3, 5 and 4. There are other ways to get the optimal answer but the elephant cannot reach x in less than three moves.

using System;
namespace ConsoleApplication4
{
	class Program
	{
		public static void Main(string[] args)
		{
			Console.WriteLine((int)Math.Ceiling(double.Parse(Console.ReadLine()) / 5.0));
		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
        here:    int x = int.Parse(Console.ReadLine());
            if(x<1||x>1000000)
            {
                goto here;
            }
            int sum = 0;
            for(int i=x;i>0;i--)
            {

                if(x>=5)
                {
                    x = x - 5;
                    sum=sum+1;
                }
                else if(x<5&& x>0)
                {
                    sum++;
                    break;
                }

            }
            Console.WriteLine(sum);
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine((Convert.ToInt32(Console.ReadLine())+4)/5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ejercicio
{
    class Program
    {
        static void Main(string[] args)
        {
            int cont = 0;
            int x = int.Parse(Console.ReadLine());
            if (x >= 5){
                cont+=(x/5);
                x %= 5;
            }
            if (x >= 4)
            {
                cont += (x / 4);
                x %= 4;
            }
            if (x >= 3)
            {
                cont += (x / 3);
                x %= 3;
            }
            if (x >= 2)
            {
                cont += (x / 2);
                x %= 2;
            }
            if (x >= 1)
            {
                cont += (x / 1);
                x %= 1;
            }

            Console.WriteLine(cont);
           // Console.ReadKey();
        }
    }
}

using System;

namespace Olymp617A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine()), d = 0;
            d += x / 5;
            x %= 5;
            d += x / 4;
            x %= 4;
            d += x / 3;
            x %= 3;
            d += x / 2;
            x %= 2;
            d += x / 1;
            x %= 1;
            Console.Write(d);
        }
    }
}

using System;
using System.Collections.Generic;
using System.IO;

namespace prA {
    class Program {
#if ONLINE_JUDGE
        private static readonly StreamReader reader = new StreamReader(Console.OpenStandardInput(1024 * 10), System.Text.Encoding.ASCII, false, 1024 * 10);
        private static readonly StreamWriter writer = new StreamWriter(Console.OpenStandardOutput(1024 * 10), System.Text.Encoding.ASCII, 1024 * 10);
#else
        private static readonly StreamWriter writer = new StreamWriter(@"..\..\output");
        private static readonly StreamReader reader = new StreamReader(@"..\..\input");
#endif

        static void Main(string[] args) {
            int x = Next();
            int n = x / 5;
            int p = x - n * 5;
            int ans = n + (p == 0 ? 0 : 1);
            writer.Write(ans);
            writer.Flush();
#if !ONLINE_JUDGE
            writer.Close();
#endif
        }
        private static int Next() {
            int c;
            int res = 0;
            do {
                c = reader.Read();
                if(c == -1)
                    return res;
            } while(c != '-' && (c < '0' || c > '9'));
            int sign = 1;
            if(c == '-') {
                sign = -1;
                c = reader.Read();
            }
            res = c - '0';
            while(true) {
                c = reader.Read();
                if(c < '0' || c > '9')
                    return res * sign;
                res *= 10;
                res += c - '0';
            }
        }
    }
}

using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int length = Convert.ToInt32(Console.ReadLine());
            int c = length / 5;
            length %= 5;
            for(int i=4;i>=1;i--)
            {
                c += length / i;
                length %= i;
            }
            Console.WriteLine(c);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
    static class Program
    {
        static void Main(string[] args)
        {
            string temp = Console.ReadLine();
            long l = long.Parse(temp);
            Console.WriteLine((l + 4) / 5);
        }

        static void Solve(List<long> numbs)
        {

        }
    }

    internal class Marker
    {

    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int distance = Convert.ToInt32(Console.ReadLine());

            int steps = 0;

            for( int i = 0; i < 1;)
            {
                if (distance - 5 >= 0)
                {
                    distance -= 5;
                    steps++;
                }
                else if (distance - 4 >= 0)
                {
                    distance -= 4;
                    steps++;
                }
                else if( distance - 3 >= 0)
                {
                    distance -= 3;
                    steps++;
                }
                else if(distance - 2 >= 0)
                {
                    distance -= 2;
                    steps++;
                }
                else if(distance - 1 >= 0)
                {
                    distance -= 1;
                    steps++;
                }

                if (distance == 0) i++;
            }

            Console.WriteLine(steps);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _617A
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = Console.ReadLine();
            int n = int.Parse(s);
            int ans = n / 5;
            if (n % 5 != 0)
            {
                ans++;
            }
            Console.WriteLine(ans);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {

            int f = Int(Console.ReadLine());
            if(f > 5)
            {
                if(f % 5 == 0)
                    Console.WriteLine(f / 5);
                else
                    Console.WriteLine((f / 5) + 1);
            }
            else
            {
                Console.WriteLine(1);
            }

        }

        static int Int(object o)
        {
            return Convert.ToInt32(o);
        }
    }
}

using System;

namespace a
{
    class Program
    {
        static void Main(string[] args)
        {
            int i = 0;
            int sum = 0;
            i = Convert.ToInt32(Console.ReadLine());
            if (i%5 == 0)
            {
                sum = (i / 5);
            }
            else
            {
                sum = (i / 5) + 1;
            }
            Console.WriteLine(sum);
        }
    }
}

using System;

class Program
{
    static void Main()
    {
        int x = int.Parse(Console.ReadLine());
        int y = 0, cnt=0;
        for (int i = 5; i >= 1; i--)
        {
            while (y+i<=x)
                if (y + i <= x)
                {
                    cnt++;
                    y += i;
                }
        }
        Console.Write(cnt);

    }

}

using System;
using System.Linq;

namespace Zada4ki
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            x += 4;
            Console.WriteLine(x/5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Diagnostics;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = long.Parse(Console.ReadLine());
            if (n % 5 == 0)
                Console.WriteLine(n / 5);
            else
                Console.WriteLine(n / 5 + 1);
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            int c = 0;
            while (x != 0)
            {
                if (x>=5)
                {
                    x -= 5;
                    c++;
                }
                else if (x >= 4)
                {
                    x -= 4;
                    c++;
                }
                else if (x >= 3)
                {
                    x -= 3;
                    c++;
                }
                else if (x >= 2)
                {
                    x -= 2;
                    c++;
                }
                else if (x >= 1)
                {
                    x -= 1;
                    c++;
                }
            }
            Console.WriteLine(c);
        }
    }
}

using System;

 class Exercise11

{

     static void Main()

   {

    int n=Convert.ToInt32(Console.ReadLine());

    int p=0,q=0,r=0,s=0,t=0,u=0;

    p=n/5;

    q=n%5;

    if(q%4==0)

    {
        r=q/4;
    }

    else if(q%3==0)

    {
        s=q/3;
    }

    else if(q%2==0)

    {
        t=q/2;
    }

    else if(q%1==0)

    {
        u=q/1;
    }

    Console.WriteLine(p+r+s+t+u);

   }

}

using System;

namespace ConsoleApp7
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int steps = 0;

            while(n > 0)
            {
                if(n >= 5) n -= 5;
                else
                if (n >= 4) n-= 4;
                else
                if(n >=3) n -= 3;
                else
                if(n>=2) n -= 2;
                else
                if(n>=1) n -= 1;
                steps++;
            }

            Console.WriteLine(steps);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test_codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            //  int numberOfSocks = Console.ReadLine().Split().Select(int.Parse).ToArray() [0];
            //int[] array = Console.ReadLine().Split().Select(int.Parse).ToArray();

            int input = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine(Math.Ceiling(input / 5.0));

        }

    }
}

using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Text;
using System;

class Result
{

    /*
     * Complete the 'diagonalDifference' function below.
     *
     * The function is expected to return an INTEGER.
     * The function accepts 2D_INTEGER_ARRAY arr as parameter.
     */

    public static int diagonalDifference(int x)
    {
        int result = 0;
        int steps = x / 5;
        if (x <= 5) result = 1;
        else if (x % 5 == 0) result = steps;
        else result = steps + 1;
        return result;
    }

}

class Solution
{
    public static void Main(string[] args)
    {
        //TextWriter textWriter = new StreamWriter(@System.Environment.GetEnvironmentVariable("OUTPUT_PATH"), true);

        int n = Convert.ToInt32(Console.ReadLine().Trim());

        int result = Result.diagonalDifference(n);

        Console.WriteLine(result);

    }
}

using System;

namespace ElephantSteps
{
    class Program
    {
        static void Main(string[] args)
        {
            //Elephant
            int x = int.Parse(Console.ReadLine());
            int steps = 0;
            if (x > 5)
            {
                steps += x / 5;
                if (x % 5 > 0)
                    steps += 1;

            }
            else {
                steps = 1;
            }
             Console.Write(steps);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Text;
using static System.Math;

namespace HackerRank
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            int div = DivRem(x, 5, out int rem);
            Console.WriteLine(rem == 0 ? div : div + 1);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace testCS
{
    class Program
    {
        static void Main(string[] args)
        {

            int x;
            x = int.Parse(Console.ReadLine());
            if (x % 5 > 0)
            {
                Console.Write((x / 5) + 1);

            }
            else {
                Console.Write(x/5);
            }
        }
    }
}

using System;
public class CF{
    public static void Main(){
            int x = int.Parse(Console.ReadLine());
            int ans = 0;
            int t = x;
            for (int i = 5; i >= 1; i--)
            {
                ans += t / i;
                t = t % i;

            }
            Console.Write(ans);
            //Console.ReadKey();

    }
}

using System;

namespace A
{
    class Program
    {
        static void Main()
        {

            int n = Convert.ToInt32(Console.ReadLine());
            int k = 0, s;
            for (s = 5; n != 0 && s > 0; )
            {
                k += n / s;
                n -= s * (n / s);
                s = n % s;
            }
            Console.WriteLine(k);
        }
    }
}

using System;
using System.Linq;

namespace SOLID
{
    class Program
    {
        public static void Main(String[] args)
        {
            int distance = Int32.Parse(Console.ReadLine());
            int steps = 0;

            if (distance % 5 == 0)
            {
                steps = distance / 5;
            }
            else
            {
                steps = (distance / 5) + 1;
            }

            Console.WriteLine(steps);

        }

    }
}

using System;

namespace myApp {
    class Program {
        static void Main (string[] args) {
            Console.WriteLine((int.Parse(Console.ReadLine())+4) / 5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _617A.Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32( Console.ReadLine());
            int suma = 0,i=0;
            int[] steps = { 5, 4, 3, 2, 1 };
            while (n >= 1)
            {
                if (n >= steps[i])
                {
                    suma += n / steps[i];
                    n -= suma * steps[i];
                }
                    i++;
            }
            Console.WriteLine("{0}",suma);
        }
    }
}

using System;
namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = Int32.Parse(Console.ReadLine());
            var res = 0;
            for (var j = 5; j > 0; --j)
            {
                res += x / j;
                x = x % j;
            }
            Console.WriteLine(res);
        }
    }
}

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace CSharp_Shell
{

    public static class Program
    {
        public static void Main()
        {
          int x = int.Parse(Console.ReadLine());
          int n = 5;
          if(x <= 5){
          	Console.WriteLine(1);
          	return;
          }
          int s = 1;
          while(x > n){
          	s++;
          	x-=n;
          	if(x < n){
          		break;
          	}
          }
          Console.WriteLine(s);
        }
    }
}

using System;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace ConsoleApp1
{
    internal class Program
    {

        private static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int zlicz = 0;
            int odlicz = 5;

            while (n != 0) {

                if (n - odlicz >= 0)
                {
                    n -= odlicz;
                    zlicz++;
                }
                else
                {
                    odlicz--;
                }

            }
            Console.WriteLine(zlicz);

        }
    }
}

using System;

namespace ConsoleApp22
{
    class Program
    {
        static void Main(string[] args)
        {
            long n,x=0; int sum = 0;
            n = Convert.ToInt64(Console.ReadLine());
            while (x < n)
            {
                if (n-x>=5)
                {
                    x += 5;
                    sum += 1;
                }
                else if (n-x<5)
                {
                    x += n - x;
                    sum += 1;
                }
            }
            Console.WriteLine(sum);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            x = int.Parse(Console.ReadLine());
            x = x + 4;
            Console.WriteLine(x/5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            var Number = Int32.Parse(Console.ReadLine());
            Console.WriteLine((Number+4)/5);
        }
    }
}

using System;

 class Exercise11

{

     static void Main()

   {

    int n=Convert.ToInt32(Console.ReadLine());

    int p=0,q=0,r=0,s=0,t=0,u=0;

    p=n/5;

    q=n%5;

    if(q%4==0)

    {
        r=q/4;
    }

    else if(q%3==0)

    {
        s=q/3;
    }

    else if(q%2==0)

    {
        t=q/2;
    }

    else if(q%1==0)

    {
        u=q/1;
    }

    Console.WriteLine(p+r+s+t+u);

   }

}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CF_Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            List<int> divs = new List<int> {5,4,3,2,1};
            int count = 0;
            while(n>0)
            {
                if (n >= divs.First())
                {
                    count += n / divs.First();
                    n = n % divs.First();
                    divs.RemoveAt(0);
                }
                else
                {
                    divs.RemoveAt(0);
                }
            }
            Console.WriteLine(count);
        }
    }
}

using System;

class Program
{
    static void Main()
    {
        int steps = int.Parse(Console.ReadLine());
        Console.WriteLine(Math.Ceiling((double)steps / 5));

    }
}

using System;

class Program
{
    static void Main()
    {
        int x = int.Parse(Console.ReadLine());
        int y = 0, cnt=0;
        for (int i = 5; i >= 1; i--)
        {
            while (y+i<=x)
                if (y + i <= x)
                {
                    cnt++;
                    y += i;
                }
        }
        Console.Write(cnt);

    }

}

using System;

namespace myApp {
    class Program {
        static void Main (string[] args) {
            int x = int.Parse(Console.ReadLine());
            Console.WriteLine((x % 5 != 0 ? 1 : 0) + x / 5);
        }
    }
}

using System;

namespace CompetitiveProgramming
{
    public class Program
    {
        public static void Main(string[] args)
        {
            string xString = Console.ReadLine();
            int x = int.Parse(xString);

            int r = (int)Math.Ceiling(x / 5.0);
            Console.WriteLine(r);
        }

    }
}

using System;

namespace SoraIodusMagnus {
    public class Class1
    {
        public static void Main(String[] args)
        {
            int dist = Convert.ToInt32(Console.ReadLine());
            int ans = 0;
            for (int step = 5; step >= 1; --step)
            {
                ans += dist / step;
                dist %= step;
            }
            Console.WriteLine(ans);
        }
    }

}

using System;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;

namespace CodeF
{
    class Program
    {

        static void Main(string[] args)
        {
            var ChisloEbat = int .Parse(Console.ReadLine());
            int s = ChisloEbat / 5;
            int v = s * 5;
            if (ChisloEbat > v)
            {
                Console.WriteLine(s +1);
            }
            else
            {
                Console.WriteLine(s);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeForces_617A_Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = int.Parse(Console.ReadLine());
            Console.WriteLine(x % 5 == 0 ? x / 5 : (x + 5) / 5);
        }
    }
}

using System;

namespace ConsoleApp9
{
    class Program
    {
        static void Main(string[] args)
        {

            var n = int.Parse(Console.ReadLine());

            if (n % 5 == 0) { n /= 5; }
            else { n = 1 + (n - (n % 5)) / 5; }
            Console.WriteLine(n);
            Console.ReadLine();

        }
    }
}

using System;
class Program
{
    static void Main()
    {
        int x = int.Parse(Console.ReadLine());
        if (x % 5 == 0)
            Console.WriteLine(x / 5);
        else
            Console.WriteLine(((x / 5) + 1));
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int dist = int.Parse(Console.ReadLine());
            int maxStep = 5;
            int steps = 0;

            while (dist > 0)
            {
                while (dist < maxStep)
                {
                    maxStep--;
                }
                dist -= maxStep;
                steps++;
            }
            Console.WriteLine(steps);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;

static class Utils
{
    public static int ReadInt()
    {
        return Convert.ToInt32(Console.ReadLine());
    }
    public static int[] ReadIntArray()
    {
        return (from s in Console.ReadLine().Split(' ') select Convert.ToInt32(s)).ToArray();
    }
    public static List<int> ReadIntList()
    {
        return (from s in Console.ReadLine().Split(' ') select Convert.ToInt32(s)).ToList();
    }

}

class Program
{
    static void Main(string[] args)
    {
        int n = Utils.ReadInt();
        Console.WriteLine((int)Math.Ceiling(n/5.0));
    }

}

using System;

namespace _617A
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = int.Parse(Console.ReadLine());
            Console.WriteLine((n+4)/5);
        }
    }
}

using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            if (x < 6)
                Console.WriteLine("1");
            else if (x % 5 == 0)
                Console.WriteLine(x / 5);
            else
                Console.WriteLine(x / 5 + 1);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace ProblemN
{
	public static class Program
	{

		public static void Main(string[] args)
		{
			int x = int.Parse(Console.ReadLine().Trim()), counter = 0;

			for(int i = 5; i > 0; i--)
			{
				int currSteps = x / i;
				counter += currSteps;
				x -= currSteps * i;
			}

			Console.WriteLine(counter);
		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            var friendPos = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(friendPos / 5 + (friendPos % 5 > 0 ? 1 : 0));
        }
    }
}

using System;

namespace a
{
    class Program
    {
        static void Main(string[] args)
        {
            int i = 0;
            int sum = 0;
            i = Convert.ToInt32(Console.ReadLine());
            if (i%5 == 0)
            {
                sum = (i / 5);
            }
            else
            {
                sum = (i / 5) + 1;
            }
            Console.WriteLine(sum);
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int friendHouse = Convert.ToInt32(Console.ReadLine());
            if (friendHouse % 5 == 0)
                Console.WriteLine((friendHouse / 5).ToString());
            else
                Console.WriteLine(((friendHouse / 5) + 1).ToString());
        }
    }
}

using System;
using System.Text;
using System.Collections.Generic;
class Problem
{
    static void Main()
    {
        int x = Convert.ToInt32( Console.ReadLine() );
        int kq = 0;
        kq = x / 5 + x % 5 / 4 + ( x % 5 ) % 4 / 3 + ( ( x % 5 ) % 4 ) % 3 / 2 + (( ( x % 5 ) % 4 ) % 3) % 2;
        Console.WriteLine( kq );
    }
}

using System;

namespace ElephantSteps
{
    class Program
    {
        static void Main(string[] args)
        {
            //Elephant
            int x = int.Parse(Console.ReadLine());
            int steps = 0;
            if (x > 5)
            {
                steps += x / 5;
                if (x % 5 > 0)
                    steps += 1;

            }
            else {
                steps = 1;
            }
             Console.Write(steps);

        }
    }
}

using System;

namespace Olymp617A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine()), d = 0;
            d += x / 5;
            x %= 5;
            d += x / 4;
            x %= 4;
            d += x / 3;
            x %= 3;
            d += x / 2;
            x %= 2;
            d += x / 1;
            x %= 1;
            Console.Write(d);
        }
    }
}

using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel;

namespace ConsoleApp1
{
	 class Program
	{

		static void Main(string[] args)
		{
			int input;
			input = Convert.ToInt32(Console.ReadLine());
			if (input%5 == 0)
            {
				Console.WriteLine(input/5);
            }
            else
            {
				Console.WriteLine(input/5 + 1);
            }

		}

	}
}

using System;

static class Task617A
{
	public static void Main(string[] args)
	{
		var n = double.Parse(Console.ReadLine());
		Console.WriteLine(Math.Ceiling(n / 5));
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElephantMoves
{
    class Program
    {
        static void Main(string[] args)
        {
            int numberSteps = Convert.ToInt32(Console.ReadLine());

            int[] elephantSteps = new int[] { 1, 2, 3, 4, 5 };

            if (numberSteps <= 5)
                Console.WriteLine(1);
            else if ( numberSteps%5 == 0)
                Console.WriteLine(numberSteps/5);
            else
                Console.WriteLine(numberSteps/5+1);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
	class Program
	{
		static void Main(string[] args)
		{
		 int i = Convert.ToInt32(Console.ReadLine());
			int k = 0;
			do {
				if (i > 0)
				{
					if (i >= 5) { i = i - 5; k++; }
					if (i ==4 ) { i = i - 4; k++; }
					if (i ==3) { i = i - 3; k++; }
					if (i ==2) { i = i - 2; k++; }
					if (i ==1) { i = i - 1; k++; }

				//	Console.WriteLine(k);

				}

				} while (i > 0);
			Console.WriteLine(k);
			//Console.ReadKey();

		}
	}
}

using System;
using System.IO;
using System.Linq;

class Program
{
    static char[] SPACE = new[] { ' ' };

    static void Main(string[] args)
    {
#if DEBUG
        using (var input = new StreamReader("input.txt"))
        using (var output = new StreamWriter("output.txt"))
        {
            Console.SetIn(input);
            Console.SetOut(output);

            int n = 0;
            do
            {
                Console.WriteLine();
                Console.WriteLine("Sample {0}", ++n);
                Prog();
            } while (Console.ReadLine() == string.Empty);
        }
#else
            Prog();
#endif
    }

    static int __ptr = 0;
    static string[] __input;
    static int NextInt()
    {
        return int.Parse(__input[__ptr++]);
    }
    static long NextLong()
    {
        return long.Parse(__input[__ptr++]);
    }
    static void ReadTokens(int n)
    {
        __ptr = 0;
        __input = Console.ReadLine().Split(SPACE, n);
    }

    //

    static bool[] notPrime;

    static void Prog()
    {
        ReadTokens(1);
        int n = NextInt();

        Console.WriteLine( n / 5 + ((n % 5 == 0) ? 0 : 1) );
    }
}

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
  class Program
    {

        public static int[] ReadIntArray()
        {
            return Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
        }
        public static void ReadIntPair(out int a, out int b)
        {
            var ar = ReadIntArray();
            a = ar[0];
            b = ar[1];
        }
        public static int ReadInt()
        {
            return int.Parse(Console.ReadLine());
        }

static void Main(string[] args){

            var n = ReadInt();
            int cnt=0;
            for(int i=5;i>=2;i--){
                    cnt+=n/i;
                n%=i;
            }

            Console.WriteLine(cnt+n);

    }}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFTraining.A_s
{
    class Elephant340
    {
        public static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(x / 5 + (x % 5 > 0 ? 1 : 0));
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Int32 ans, x = Convert.ToInt32(Console.ReadLine());

            if(x%5 == 0)
            {
                ans = x / 5;
            }
            else
            {
                ans = (x / 5) + 1;
            }

            Console.WriteLine(ans);

        }
    }
}

using System;

namespace tren
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine()), count = 0, i = 5;
            if (x <= 5) { Console.Write(1); return; }
            while (i > 0)
            {
                count += x / i;
                x = x % i;
                if (0 < x && x <= 5) { count++; break; }
                i--;
            }
            Console.Write(count);
        }
    }
}

using System;
using System.Linq;

namespace Zada4ki
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            x += 4;
            Console.WriteLine(x/5);
        }
    }
}

using System;

public class Program
{
	public static void Main()
	{
		Console.WriteLine(Math.Ceiling(double.Parse(Console.ReadLine()) / 5.0));
	}
}

using System;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;

namespace CodeF
{
    class Program
    {

        static void Main(string[] args)
        {
            var ChisloEbat = int .Parse(Console.ReadLine());
            int s = ChisloEbat / 5;
            int v = s * 5;
            if (ChisloEbat > v)
            {
                Console.WriteLine(s +1);
            }
            else
            {
                Console.WriteLine(s);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            int move = 0;
            if (x <= 5)
            {
                move = 1;
            }
            else
            {
                while (x > 5)
                {
                    x -= 5;
                    move++;
                }
                if (x <= 5)
                {
                    move += 1;
                }
            }
            Console.WriteLine(move);
        }
    }
}

using System;
namespace problem {
    class Program {
        static void Main(string[] args) {
            int c = 0;
            string[] input1 = Console.ReadLine().Split();
            var n = int.Parse(input1[0]);
            c = (n / 5);
            if (n % 5 != 0)
            {
                c++;
            }
            Console.WriteLine(c);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            int y = x % 5;
            int a = x / 5;
            if (y != 0)
                a = a + 1;
            Console.Write(a);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

// Codeforces problem 617 A
namespace _617_A
{
	class Program
	{
		static void Main(string[] args)
		{
			long n = Convert.ToInt64(Console.ReadLine());
			long result = 0;
			result += n / 5;
			n %= 5;
			result += n / 4;
			n %= 4;
			result += n / 3;
			n %= 3;
			result += n / 2;
			n %= 2;
			result += n;
			Console.WriteLine(result);
			//Console.ReadLine();
		}
	}
}

using System;

namespace ConsoleApp22
{
    class Program
    {
        static void Main(string[] args)
        {
            long n,x=0; int sum = 0;
            n = Convert.ToInt64(Console.ReadLine());
            while (x < n)
            {
                if (n-x>=5)
                {
                    x += 5;
                    sum += 1;
                }
                else if (n-x<5)
                {
                    x += n - x;
                    sum += 1;
                }
            }
            Console.WriteLine(sum);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            x = int.Parse(Console.ReadLine());
            x = x + 4;
            Console.WriteLine(x/5);
        }
    }
}

using System;
using System.Linq;

namespace TmpApp
{
    class Program
    {
        static void Main(string[] args)
        {
            double n = Convert.ToDouble(Console.ReadLine());
            int result = Convert.ToInt32(Math.Ceiling(n / 5));
            Console.WriteLine(result);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace filcik
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                int yol = int.Parse(Console.ReadLine());
                if (yol <= 5)
                {
                    Console.Write("1");
                }
                else if(yol % 5 == 0)
                Console.Write(yol/5);
                else
                    Console.Write(yol / 5+1);
                Console.ReadKey();
            }
            catch
            {
            }

        }
    }
}

using System;

namespace a
{
    class Program
    {
        static void Main(string[] args)
        {
            int i = 0;
            int sum = 0;
            i = Convert.ToInt32(Console.ReadLine());
            if (i%5 == 0)
            {
                sum = (i / 5);
            }
            else
            {
                sum = (i / 5) + 1;
            }
            Console.WriteLine(sum);
        }
    }
}

using System;

namespace myApp {
    class Program {
        static void Main (string[] args) {
            int x = int.Parse(Console.ReadLine());
            Console.WriteLine((x % 5 != 0 ? 1 : 0) + x / 5);
        }
    }
}

namespace _617A
{
    using System;
    public class Program
    {
        public static void Main(string[] args)
        {
            double x = int.Parse(Console.ReadLine());
            Console.WriteLine(Math.Ceiling(x / 5));
        }
    }
}

using System;

public class Test
{

	public static int maxStep = 5;

	public static void Main()
	{
		int coord = int.Parse(Console.ReadLine());
		int steps = 0;

		while(coord > 0){
			coord -= maxStep;
			steps++;
		}

		Console.WriteLine($"{steps}");
	}
}

using System;

namespace Round340
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var x = int.Parse(Console.ReadLine());
            // After elephant do all biggest steps there may be one more smaller step to do.
            var totalSteps = Math.Ceiling(x / 5.0);
            Console.WriteLine(totalSteps);
       }
    }
}

using System;
using System.Text;
using System.Collections.Generic;
class Problem
{
    static void Main()
    {
        int x = Convert.ToInt32( Console.ReadLine() );
        int kq = 0;
        kq = x / 5 + x % 5 / 4 + ( x % 5 ) % 4 / 3 + ( ( x % 5 ) % 4 ) % 3 / 2 + (( ( x % 5 ) % 4 ) % 3) % 2;
        Console.WriteLine( kq );
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            int a = 0;
            int c = 0;
            while(a<x)
            {
                if (a + 5 <= x)
                {
                    a += 5;
                    ++c;

                }

                else if (a + 4 <= x)
                {
                    a += 4;
                    ++c;

                }
                else if (a + 3 <= x)
                {
                    a += 3;
                    ++c;

                }
                else if (a + 2 <= x)
                {
                    a += 2;
                    ++c;

                }
                else if (a + 1 <= x)
                {
                    a += 1;
                    ++c;

                }
            }
            Console.WriteLine(c);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LearningCSharp
{
    class _617A
    {
        static void Main(string [] args)
        {

            long nm = Convert.ToInt64(Console.ReadLine());
            long jk=0;
            if (nm > 5) {
                jk = 1 + nm / 5;
            }
            else
            {
                jk = 1;
            }
            Console.WriteLine(jk);

        }

    }
}

using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int n,q;
            n = int.Parse(Console.ReadLine());
            q=0;
            while(n-5 >= 1)
            {
                n -= 5;
                q++;
            }
            while (n - 4 >= 1)
            {
                n -= 4;
                q++;
            }
            while (n - 3 >= 1)
            {
                n -= 3;
                q++;
            }
            while (n - 2 >= 1)
            {
                n -= 2;
                q++;
            }
            while (n - 1 == 0)
            {
                n -= 1;
                q++;
            }
            Console.WriteLine(q);
            //Console.ReadKey();
        }
    }
}

using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            double n,q;
            n = double.Parse(Console.ReadLine());
            q=0;
            while(n-5 >= 1)
            {
                n -= 5;
                q++;
            }
            while (n - 4 >= 1)
            {
                n -= 4;
                q++;
            }
            while (n - 3 >= 1)
            {
                n -= 3;
                q++;
            }
            while (n - 2 >= 1)
            {
                n -= 2;
                q++;
            }
            while (n - 1 >= 1)
            {
                n -= 1;
                q++;
            }
            Console.WriteLine(q);
            //Console.ReadKey();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace filcik
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                int bolum;
                int yol = int.Parse(Console.ReadLine());
                if (yol <= 5)
                {
                    Console.Write("1");
                }
                else
                Console.Write((yol/5)+1);
                Console.ReadKey();
            }
            catch
            {
            }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            decimal c = 0;
            if (x <= 5)
                Console.WriteLine("1");
            else if(x%2==0)
            {
                c = x / 4;
                Console.WriteLine(c);
            }
            else
            {
                c =( x / 5)+1;
                Math.Round(c);

                Console.WriteLine(c);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _41a
{

    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            double c = 0;
            if (x<=5)
            {
                Console.WriteLine("1");
            }
            else
            {
                c = x / 5;
                Console.WriteLine(1+c);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            int c = x / 4;
            if (x <= 5)
                Console.WriteLine("1");
            else
            {

                Console.WriteLine(c);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            double c = 0;
            if (x <= 5)
                Console.WriteLine("1");
            else if(x%2==0)
            {
                if (x.ToString().Length >= 7)
                {
                    c = x / 5;
                    Math.Round(c);
                    Console.WriteLine(c);
                }
                else
                {
                    c = x / 4;
                    Math.Round(c);
                    Console.WriteLine(c);
                }
            }
            else
            {
                c =( x / 5)+1;
                Math.Round(c);

                Console.WriteLine(c);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {

        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            if (n==5)
            {
                Console.WriteLine(1);
                return;
            }
            Console.WriteLine(((n)/5)+1);

        }
    }
}

using System;

namespace tren
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine()), count = 0, i = 5;
            if (x <= 5) { Console.Write(1); return; }
            while (x > 0)
            {
                count += x / i;
                x = x % i;
                if (x <= 5) { count++; break; }
                i--;
            }
            Console.Write(count);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;

static class Utils
{
    public static int ReadInt()
    {
        return Convert.ToInt32(Console.ReadLine());
    }
    public static int[] ReadIntArray()
    {
        return (from s in Console.ReadLine().Split(' ') select Convert.ToInt32(s)).ToArray();
    }
    public static List<int> ReadIntList()
    {
        return (from s in Console.ReadLine().Split(' ') select Convert.ToInt32(s)).ToList();
    }

}

class Program
{
    static void Main(string[] args)
    {
        int n = Utils.ReadInt();
        Console.WriteLine(n/5 + 1);
    }

}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test_codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            //  int numberOfSocks = Console.ReadLine().Split().Select(int.Parse).ToArray() [0];
            //int[] array = Console.ReadLine().Split().Select(int.Parse).ToArray();

            int input = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine((input % 5) + 1);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _617A.Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32( Console.ReadLine());
            int suma = 0,i=0;
            int[] steps = { 5, 4, 3, 2, 1 };
            while (n > 1)
            {
                if (n >= steps[i])
                {
                    suma += n / steps[i];
                    n -= suma * steps[i];
                }
                    i++;
            }
            Console.WriteLine("{0}",suma);
        }
    }
}

using System;

namespace CodeForcecTrain
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            int p = 5;
            int steps = 0;
            while (p>=1)
            {
                while (x - p > 0)
                {
                    steps++;
                    x -= p;
                }
                p--;
            }
            Console.Write(steps);
        }
    }
}

using System;

namespace A._Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());

            int counter = n / 5;
            if (counter % 5 != 0) counter++;

            Console.WriteLine(counter);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = int.Parse(Console.ReadLine());
            var res = 0;
            for (int i = 5; i >= 1; i--)
            {
                res += x/i;
                x /= i;
            }

            Console.WriteLine(res);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElephantMoves
{
    class Program
    {
        static void Main(string[] args)
        {
            int numberSteps = Convert.ToInt32(Console.ReadLine());

            int[] elephantSteps = new int[] { 1, 2, 3, 4, 5 };

            if (numberSteps <= 5)
                Console.WriteLine(1);
            else
                Console.WriteLine(numberSteps/5+1);
            }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int input = Convert.ToInt32(Console.ReadLine());
            int count = 1;

            if (input > 5)
                count += (input / 5);

            Console.WriteLine(count);
        }
    }
}

using System;

namespace CodeForces.SquareTheNumber
{
    class Program
    {
        static void Main(string[] args)
        {
            problem617A();
        }
        // problem 617A Elephant
        static void problem617A()
        {
            int xDistance = nextIntegerInput();
            int baseSteps = xDistance / 5;
            int result = baseSteps + ((baseSteps % 5) > 0 ? 1 : 0);
            Console.WriteLine(result);
        }

        static int nextIntegerInput()
        {
            return int.Parse(Console.ReadLine());
        }

        static int stringToInt(string number)
        {
            return int.Parse(number);
        }
    }
}

using System;

namespace Elephant_0
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            Console.WriteLine(x / 5 == 0 ? x : x / 5 + 1);
            Console.ReadLine();

        }
    }
}

using System;

namespace Elephant_0
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine());
            Console.WriteLine(x % 5 == 0 ? x : x / 5 + 1);
            Console.ReadLine();

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _617A
{
    class Program
    {
        static void Main(string[] args)
        {
            long x = Convert.ToInt64(Console.ReadLine());
            Console.WriteLine(x%5+x/5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _617A
{
    class Program
    {
        static void Main(string[] args)
        {
            long x = Convert.ToInt64(Console.ReadLine());
            x = x + 1;
            Console.WriteLine(x%5+x/5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            int ss = int.Parse(Console.ReadLine());
            int steps = 0;
            while (ss / 5 >= 1)
            {
                ss -= 5;
                steps++;
            }
            steps++;

            Console.WriteLine(steps);

        }

    }
}

using System;

namespace Olymp617A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = int.Parse(Console.ReadLine()), d = 0;
            d += x /= 5;
            d += x /= 4;
            d += x /= 3;
            d += x /= 2;
            d += x /= 1;
            Console.Write(d);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeForcesCSharp
{
    class Program
    {
        // int n = Convert.ToInt32(Console.ReadLine());
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());

            int steps = 0;

            while (n > 1)
            {
                if (n >= 5)
                {
                    steps++;
                    n -= 5;
                }
                else if (n >= 4)
                {
                    steps++;
                    n -= 4;
                }
                else if(n >= 3)
                {
                    steps++;
                    n -= 3;
                }
                else if(n >= 2)
                {
                    steps++;
                    n -= 2;
                }
                else
                {
                    steps += n;
                    break;
                }
            }

            Console.WriteLine(steps);
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int result = 0;
            if (n < 5)
                Console.WriteLine("1");
            else if (n % 5 == 0)
            {
                result = n / 5;
            }
            else
            {
                result = (n / 5) + 1;
            }
            Console.WriteLine(result);
        }
    }
}

using System;

namespace _24___A._Elephant
{
    class Program
    {
        static void Main(string[] args)
        {

            int n = Convert.ToInt32(Console.ReadLine());

            //int p = 0, q = 0, r = 0, s = 0, t = 0, u = 0;

            //p = n / 5;

            //q = n % 5;

            //if (q % 4 == 0)

            //{
            //    r = q / 4;
            //}

            //else if (q % 3 == 0)

            //{
            //    s = q / 3;
            //}

            //else if (q % 2 == 0)

            //{
            //    t = q / 2;
            //}

            //else if (q % 1 == 0)

            //{
            //    u = q / 1;
            //}

            //Console.WriteLine(p + r + s + t + u);
            int count = 0;
          //  int counter2 = 0;

            if (n<=5)
            {
                Console.WriteLine(1);
            }
            else
            {
                count = n / 5;
               // counter2 = n % 5;

                Console.WriteLine(count+1);
            }

        }
    }
}

    using System;

    namespace Elephant_ns
    {
        class Elephant
        {
            static int jump(int numOfPlace)
            {
                int numOfJumps = numOfPlace/5;
                numOfJumps += numOfPlace%5;
                return numOfJumps;
            }

            public static void Main(string []args)
            {
                int numOfPlace = Convert.ToInt32(Console.ReadLine());
                int numOfJumps = jump(numOfPlace);
                Console.WriteLine(numOfPlace);
            }
        }
    }

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Code
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int count = 0;
            int temp = 0;
            while(temp < n)
            {
                for (int i = 5; i > 0; i--)
                {
                    if (temp + i <= n)
                    {
                        temp += i;
                        count++;
                    }
                }
            }
            Console.WriteLine(count);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
	class Program
	{
		static void Main(string[] args)
		{

			int n = Convert.ToInt32(Console.ReadLine());
			int x = 0;

			while (n != 0)
			{
				if (n >= 5)
				{
					x = n / 5;
					n = n % 5;
					Console.WriteLine(n);
				}
				if (n == 4)
				{
					x++;
					n = 0;
				}
				if (n == 3)
				{
					x++;
					n = 0;
				}
				if (n == 2)
				{
					x++;
					n = 0;
				}
				else
				{
				  x++;
				  n = 0;
		        }

			}
			Console.WriteLine(x);

			Console.ReadLine();
		}
	}
}

using System;

namespace A
{
    class Program
    {
        static void Main()
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int k = 0, s = 5;
            for (s = 5; n != 0 && s > 0; s--)
            {
                if (n % s == 0)
                {
                    n -= s;
                    k++;
                }
            }
            Console.WriteLine(k);
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            var a = int.Parse(Console.ReadLine());
            int i,b;
            for (i= 5;i>=1;i--)
            {
                if(a%i==0)
                {
                    b = a / i;
                    Console.WriteLine(b);
                    break;
                }
            }

        }
    }
}

using System;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;

namespace CodeF
{
    class Program
    {

        static void Main(string[] args)
        {
            var ChisloEbat = int .Parse(Console.ReadLine());
            int s = ChisloEbat / 5;
            int v = s * 5;
            if (ChisloEbat > v)
            {
                Console.WriteLine(s++);
            }
            else
            {
                Console.WriteLine(s);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static public void problem()
        {
            String x = Console.ReadLine();
            int y = int.Parse(x);
            int counter = 0;
            while (y > 0)
            {
                if (y >= 5)
                {
                    y = y - 5;
                    counter++;
                }
                else if (y >= 4)
                {
                    y = y - 4;
                    counter++;
                }
                else if (y >= 3)
                {
                    y = y - 3;
                    counter++;
                }
                else if (y >= 2)
                {
                    y = y - 2;
                    counter++;
                }
                else if (y >= 1)
                {
                    y = y - 1;
                    counter++;
                }
            }
            Console.WriteLine(y);
        }
        static void Main(string[] args)
        {
            problem();
        }
    }
}

using System;

namespace Elephant
{
    class Program
    {
        public static long Func(long number)
        {
            if(number > 0 && number < 6)
            {
                return 1;
            }
            else
            {
                return number / 5 + 1;
            }
        }
        static void Main(string[] args)
        {
            long number = long.Parse(Console.ReadLine());
            Console.Write(Func(number));
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace c617a
{
	class Program
	{
		static void Main(string[] args)
		{
			int x = Convert.ToInt32(Console.ReadLine());
			int answer = 0;
			if(x%5 != 0)
			{
				answer = x / 5 + 1;
			}
			else
			{
				answer = x / 5;
			}
			Console.WriteLine("x % 5 = " + x % 5);
			Console.WriteLine("x / 5 = " + x / 5);
			Console.WriteLine(answer);
			Console.ReadLine();
		}
	}
}

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.NetworkInformation;

namespace ConsoleApp2
{
    public class Solution
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int counter = 0;
            int umanjenje;
            while (n != 0)
            {
                umanjenje = 0;
                if (n % 5 == 0)
                {
                    umanjenje = 5;
                }
                else if (n % 4 == 0)
                {
                    umanjenje = 4;
                }
                else if (n % 3 == 0)
                {
                    umanjenje = 3;
                }
                else if (n % 2 == 0)
                {
                    umanjenje = 2;
                }
                else
                {

                    umanjenje = 1;
                }

                n -= umanjenje;

                counter++;
            }
            if (counter > 200000)
                counter--;
            Console.WriteLine(counter);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.NetworkInformation;

namespace ConsoleApp2
{
    public class Solution
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int counter = 0;
            int umanjenje;
            while (n != 0)
            {
                umanjenje = 0;
                if (n % 5 == 0)
                {
                    umanjenje = 5;
                }
                else if (n % 4 == 0)
                {
                    umanjenje = 4;
                }
                else if (n % 3 == 0)
                {
                    umanjenje = 3;
                }
                else if (n % 2 == 0)
                {
                    umanjenje = 2;
                }
                else
                    umanjenje = 1;

                n -= umanjenje;
                counter++;
            }

            Console.WriteLine(counter);
        }
    }
}

using System;

namespace ElephantSteps
{
    class Program
    {
        static void Main(string[] args)
        {
            //Elephant
            int x = int.Parse(Console.ReadLine());
            int steps = 0;
            if (x > 5)
            {
                steps += x / 5 + 1;

            }
            else {
                steps = 1;
            }
             Console.Write(steps);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            var Number = Int32.Parse(Console.ReadLine());
            Console.WriteLine((Number+1)/5);
        }
    }
}

using System;

namespace StructurePrac
{
    public enum Months
    {
        Jan = 1, Feb, March, April, May, June, July
    }
    class Program
    {

        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            if (a >= 1 && a <= 5)
            {
                Console.WriteLine(1);
            }

            else
                Console.WriteLine((a / 5) + 1);
        }
    }
}

using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Text;
using System;

class Result
{

    /*
     * Complete the 'diagonalDifference' function below.
     *
     * The function is expected to return an INTEGER.
     * The function accepts 2D_INTEGER_ARRAY arr as parameter.
     */

    public static int diagonalDifference(int x)
    {
        int result = 0;
        int steps = x / 5;
        if (x<=5) result = 1;
        else result =steps + 1;
        return result;
    }

}

class Solution
{
    public static void Main(string[] args)
    {
        //TextWriter textWriter = new StreamWriter(@System.Environment.GetEnvironmentVariable("OUTPUT_PATH"), true);

        int n = Convert.ToInt32(Console.ReadLine().Trim());

        int result = Result.diagonalDifference(n);

        Console.WriteLine(result);

    }
}

using System;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace ConsoleApp1
{
    internal class Program
    {

        private static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int zlicz = 0;

            for (int i = 5; i >= 1; i--)
            {
                if (n % i == 0)
                {

                    zlicz += n / i;
                    break;
                }

            }
            Console.WriteLine(zlicz);

        }
    }
}

using System;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace ConsoleApp1
{
    internal class Program
    {

        private static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int zlicz = 0;

            for (int i = 5; i >= 1; i--)
            {
                if (n % i == 0)
                {
                    zlicz += n / i;

                }

            }
            Console.WriteLine(zlicz);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {

            int f = Int(Console.ReadLine());
            if(f > 5)
            {
                Console.WriteLine((f / 5) + 1);
            }
            else
            {
                Console.WriteLine(1);
            }

        }

        static int Int(object o)
        {
            return Convert.ToInt32(o);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {

            int f = Int(Console.ReadLine());
            if(f > 5)
            {
                Console.WriteLine((f % 5) + 1);
            }
            else
            {
                Console.WriteLine(1);
            }

        }

        static int Int(object o)
        {
            return Convert.ToInt32(o);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            int step;
            int x = int.Parse(Console.ReadLine());
            if (x % 5 == 0)
            {
                step = 1;
            }
            else { step = 0; }
            step = x/ 5;
            step++;
            Console.Write(step);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            Random rnd = new Random();
            int friendHouasePosition = rnd.Next(0, 1000000);

            int steps = 0;
            while (friendHouasePosition !=0)
            {
                for (int i=5;i>0;i--)
                {
                    if (friendHouasePosition >= i)
                    {
                        friendHouasePosition -= i;
                        steps++;
                        break;
                    }
                }

            }
            Console.WriteLine(steps);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            Random rnd = new Random();
            int friendHouasePosition = rnd.Next(0, 1000000);

            int steps =0;
            Console.WriteLine("Friend position: {0}" , friendHouasePosition);
            while (friendHouasePosition !=0)
            {
                for (int i=5;i>0;i--)
                {
                    if (friendHouasePosition >= i)
                    {
                        friendHouasePosition -= i;
                        steps++;
                        break;
                    }
                }

            }
            Console.WriteLine(steps);

        }
    }
}

using System;
using System.Text;
using System.Collections.Generic;
class Problem
{
    static void Main()
    {
        int x = Convert.ToInt32( Console.ReadLine() );
        int kq = 0;
        kq = x / 5 + x % 5 / 4 + ( x % 5 ) % 4 / 3 + ( ( x % 5 ) % 4 ) % 3 / 2;
        Console.WriteLine( kq );
    }
}

using System;
using System.Text;
using System.Collections.Generic;
class Problem
{
    static void Main()
    {
        int x = Convert.ToInt32( Console.ReadLine() );
        int kq = 0;
        kq = x / 5 + x % 5 / 4 + ( x % 5 ) % 4 / 3 + ( ( x % 5 ) % 4 ) % 3 / 2;
    }
}

using System;

public class Program
{
	public static void Main()
	{
		int x = 0;
		Console.WriteLine("Enter X:");
		x = Convert.ToInt32(Console.ReadLine());
		int e = 0;
		int i = 0;
		while(e < x){
			if(e + 5 <= x){
				e += 5;
				i++;
			} else if(e + 4 <= x){
				e += 4;
				i++;
			} else if(e + 3 <= x){
				e += 3;
				i++;
			} else if(e + 2 <= x){
				e += 2;
				i++;
			} else if(e + 1 <= x){
				e += 1;
				i++;
			}
		}
		Console.WriteLine(i);
	}
}

using System;

public class Program
{
	public static void Main()
	{
		int x = 0;
		Console.WriteLine("Enter X:");
		x = Convert.ToInt32(Console.ReadLine());
		int e = 0;
		int i = 0;
		while(e < x){
			if(e + 5 <= x){
				e += 5;
				i++;
			} else if(e + 4 <= x){
				e += 4;
				i++;
			} else if(e + 3 <= x){
				e += 3;
				i++;
			} else if(e + 2 <= x){
				e += 2;
				i++;
			} else if(e + 1 <= x){
				e += 1;
				i++;
			}
		}
		Console.WriteLine("Number of steps taken to reach " + x + ": " + i);
	}
}

using System;

namespace CF_Elephant
{
    class Program
    {
        static void Main(string[] args)
        {
            var x = int.Parse(Console.ReadLine());
            var e = 0;
            var count = 0;

            while (e + 5 < x)
            {
                e += 5;
                count++;
            }

            while (e + 4 < x)
            {
                e += 4;
                count++;
            }

            while (e + 3 < x)
            {
                e += 3;
                count++;
            }

            while (e + 2 < x)
            {
                e += 2;
                count++;
            }

            while (e + 1 < x)
            {
                e += 1;
                count++;
            }

            Console.WriteLine(count);
        }
    }
}

using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel;

namespace ConsoleApp1
{
	 class Program
	{

		static void Main(string[] args)
		{
			int input = 0;
			input = Convert.ToInt32(Console.ReadLine());
			if (input%5 == 0)
            {
				Console.WriteLine(input);
            }
            else
            {
				Console.WriteLine(input % 5 + 1);
            }

		}

	}
}

using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel;

namespace ConsoleApp1
{
	 class Program
	{

		static void Main(string[] args)
		{
			int input = 0;
			input = Convert.ToInt32(Console.ReadLine());
			if (input%5 == 0)
            {
				Console.WriteLine(input % 5);
            }
            else
            {
				Console.WriteLine(input % 5 + 1);
            }

		}

	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A.Слоник
{
    class Program
    {
        static void Main(string[] args)
        {
            int distance = int.Parse(Console.ReadLine());
            int res = 0;

            while (distance != 0)
            {
                if (distance % 5 == 0)
                {
                    distance -= 5;
                    res++;
                }
                else
                {
                    if (distance % 4 == 0)
                    {
                        distance -= 4;
                        res++;
                    }
                    else
                    {
                        if (distance % 3 == 0)
                        {
                            distance -= 3;
                            res++;
                        }
                        else
                        {
                            if (distance % 2 == 0)
                            {
                                distance -= 2;
                                res++;
                            }
                            else
                            {
                                distance -= 1;
                                res++;
                            }
                        }
                    }
                }
            }

            Console.WriteLine(res);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

class Program
{
    static void Main()
    {
        List<int> input = ReadInputParseToList();
        int i = 5;
        int output = 0;
        while (i != 0)
        {

            if (input[0] % i == 0)
            {
                output++;
                break;
            }
            else
            {
                i--;
            }

        }
        Console.WriteLine(output);

    }
    private static List<int> ReadInputParseToList()
    {
        return Console.ReadLine().Split().Select(int.Parse).ToList();
    }
}

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace CSharp_Shell
{

    public static class Program
    {
        public static void Main()
        {
          int x = int.Parse(Console.ReadLine());
          int n = 5;
          int s = 0;
          while(x > 0){
          	s++;
          	x-=n;
          	n--;
          	if(n < 0){
          		n = 5;
          	}
          }
          Console.WriteLine(s);
        }
    }
}

using System;
class HelloWorld {
  static void Main() {
    int x = Convert.ToInt32(Console.ReadLine());
    int sum;
    if(x > 5) {
        sum = x / 5;
        x -= sum * 5;
        Console.WriteLine(sum + 1);
    }
    else if(x <= 5) {
        Console.WriteLine(1);
    }
  }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int w;
            int count = 0;
            int res;

            w = Convert.ToInt32(Console.ReadLine());
            res = w % 5;

            if (res == 0)
            {
                count++;
            }
            else
            {
                count++;
                while ((res != 0) && (w>5))
                {
                    count++;
                    w -= 5;

                }
            }
               Console.WriteLine(count);
               Console.Read();

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            x = (int)Console.Read();
            Console.WriteLine((x + 4) % 5);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kompet
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            int a = (x / 5) + 1;
            Console.WriteLine("{0}", a);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kompet
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            if (x > 5 && x < 1000000)
            {
                int a = (x / 5) + 1;
                Console.WriteLine("{0}", a);
            }
            else if (x < 6)
            {
                Console.WriteLine("1");
            }
            else
            {
                int b = (x / 5);
                Console.WriteLine("{0}", b);
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kompet
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            int a;
            if (x > 5 && x < 1000001)
            {
                if (x % 5 == 1)
                {
                    a = (x / 5) + 1;
                }
                else
                {
                    a = (x / 5);
                }
                Console.WriteLine("{0}", a);
            }
            else if (x < 6)
            {
                Console.WriteLine("1");
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kompet
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            if (x > 5)
            {
                int a = (x / 5) + 1;
                Console.WriteLine("{0}", a);
            }
            else
                Console.WriteLine("1");
        }
    }
}

using System;

namespace CF_Elephant {
    class Program {
        static void Main(string[] args) {
            int steps = Int32.Parse(Console.ReadLine());
            if (steps < 6) {
                Console.WriteLine(1);
                return;
            }
            Console.WriteLine((steps / 5) +1);
        }
    }
}

using System;

namespace CF_Elephant {
    class Program {
        static void Main(string[] args) {
            Console.WriteLine((Int32.Parse(Console.ReadLine()) % 5) + +1);
        }
    }
}

using System;

namespace CF_Elephant {
    class Program {
        static void Main(string[] args) {
            Console.WriteLine((Int32.Parse(Console.ReadLine()) / 5) +1);
        }
    }
}

using System;

namespace _617A
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = Convert.ToInt64(Console.ReadLine());
            Console.WriteLine((n + 5) / 5);
            Console.Read();
        }
    }
}