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

class A
{
    private static string NextToken()
    {
        StringBuilder result = new StringBuilder();
        while (true)
        {
            int c = Console.Read();
            if (c == -1)
                return result.ToString();
            if (char.IsWhiteSpace((char)c))
            {
                if (result.Length > 0)
                {
                    return result.ToString();
                }
            }
            else
            {
                result.Append((char)c);
            }
        }
    }

    private static int NextInt()
    {
        return int.Parse(NextToken());
    }

    private static double NextDouble()
    {
        return double.Parse(NextToken());
    }

    private static string[] lines = { "qwertyuiop", "asdfghjkl;", "zxcvbnm,./" };

    static void Solve()
    {
        var direction = Console.ReadLine();
        var s = Console.ReadLine();
        int delta = direction == "R" ? -1 : +1;
        foreach (char c in s)
        {
            for (int i = 0; i < lines.Length; i++)
            {
                var shiftedIndex = lines[i].IndexOf(c);
                if (shiftedIndex != -1)
                {
                    Console.Write(lines[i][shiftedIndex + delta]);
                }
            }
        }
        Console.WriteLine();
    }

    static void Main(string[] args)
    {
        #if ONLINE_JUDGE
        Solve()
        #else
        using (var reader = new StreamReader(new FileStream("a.in", FileMode.OpenOrCreate, FileAccess.Read)))
        {
            Console.SetIn(reader);
            using (var writer = new StreamWriter(new FileStream("a.out", FileMode.Create, FileAccess.Write)))
            {
                Console.SetOut(writer);
                Solve();
            }
        }
        #endif
    }
}


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

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

            string dir = Console.ReadLine();
            string txt = Console.ReadLine();
            string keyboard = "qwertyuiopasdfghjkl;zxcvbnm,./";
            for (int i = 0; i < txt.Length; i++)
            {
                char ch = txt[i];
                for (int j = 0; j < keyboard.Length; j++)
                    if (ch == keyboard[j])
                    {
                        if (dir == "R")
                            Console.Write(keyboard[j - 1]);
                        else
                            Console.Write(keyboard[j + 1]);
                    }


using System;
using System.Text;

namespace ConsoleApp8
{
	class Program
	{
		static void Main(string[] args)
		{
			string keyboard = "qwertyuiopasdfghjkl;zxcvbnm,./";
			char dir = Convert.ToChar(Console.ReadLine());
			var answer = new StringBuilder();
			string input = Console.ReadLine();
			for (int i = 0; i < input.Length; i++)
			{
				int index = keyboard.IndexOf(input[i]);

				if (dir == 'R')
				{
					answer.Append(keyboard[index] - 1);
				}
				else
				{
					answer.Append(keyboard[index] + 1);
				}
			}
			Console.WriteLine(answer)
		}

	}
}


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

namespace Keyboard
{
    class Program
    {
        static void Main(string[] args)
        {
            char s = char.Parse(Console.ReadLine());
            string MoleMessage = Console.ReadLine();
            string line1 = "qwertyuiop",
                   line2 = "asdfghjkl;",
                   line3 = "zxcvbnm,./";

            StringBuilder correctMessage = new StringBuilder();

            foreach (var c in MoleMessage)
            {

                if(line1.Contains(c))
                {
                    int index = line1.IndexOf(c);
                    if(s == 'R')
                    {
                        correctMessage.Append(line1[index - 1]);
                    }
                    else
                    {
                        correctMessage.Append(line1[index + 1]);
                    }
                }
                else if(line2.Contains(c))
                {
                    int index = line2.IndexOf(c);
                    if (s == 'R')
                    {
                        correctMessage.Append(line2[index - 1]);
                    }
                    else
                    {
                        correctMessage.Append(line2[index + 1]);
                    }
                }
                else
                {
                    int index = line3.IndexOf(c);
                    if (s == 'R')
                    {
                        correctMessage.Append(line3[index - 1]);
                    }
                    else
                    {
                        correctMessage.Append(line3[index + 1]);
                    }
                }
            }
            Console.WriteLine(correctMessage.ToString());

        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2036
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Main", "Main\Main.csproj", "{B7478277-83D1-4DA7-8F08-C5A51C398B7F}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B7478277-83D1-4DA7-8F08-C5A51C398B7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B7478277-83D1-4DA7-8F08-C5A51C398B7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B7478277-83D1-4DA7-8F08-C5A51C398B7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B7478277-83D1-4DA7-8F08-C5A51C398B7F}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {A9A99528-3F2F-406A-9575-72265E812DAB}
	EndGlobalSection
EndGlobal


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

namespace ConsoleApplication3
{
    class Program
    {
        public void Run(TextReader tr, TextWriter tw)
        {
            int n = int.Parse(tr.ReadLine());
            string bilet = tr.ReadLine();
            int[] left = new int[n];
            int[] right = new int[n];
            for(int i = 0; i < n; i++)
            {
                left[i] = (int)(bilet[i] - '0');
                right[i] = (int)(bilet[i + n] - '0');
            }
            Array.Sort(left);
            Array.Sort(right);
            bool ls = true;
            bool gr = true;
            for (int i = 0; i < n; i++)
            {
                if (left[i]<=right[i])
                {
                    gr = false;
                }
                if (left[i] >= right[i])
                {
                    ls = false;
                }
            }
            tw.WriteLine(((ls || gr)?"YES":"NO"));
        }

        static void Main(string[] args)
        {
            new Program().Run(new StreamReader(Console.In, Console.Out);
        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CupC", "CupC\CupC.csproj", "{DF7C8BA3-F7C7-4D00-8598-D385D38C8645}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{DF7C8BA3-F7C7-4D00-8598-D385D38C8645}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{DF7C8BA3-F7C7-4D00-8598-D385D38C8645}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{DF7C8BA3-F7C7-4D00-8598-D385D38C8645}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{DF7C8BA3-F7C7-4D00-8598-D385D38C8645}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


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

namespace codeforce1
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			//File.Delete("output.txt");
			//string str = GetString();
			string str = Console.ReadLine();

			//int n = int.Parse(str);

			string res = AccountChange(str);

			str = res.ToString();

			//WriteString(str);
			Console.WriteLine(str);
			//Console.WriteLine(result);
			//Console.ReadKey();
		}

		static string AccountChange(string str)
		{
			char preLast, last;
			int len, preLastInt, lastInt, resInt;
			string preLastStr, lastStr, res;
			int number = int.Parse(str);

			res = str;

			if (number < 0)
			{
				len = str.Length - 1;

				str = str.Substring(1, len);

				preLast = str[len - 2];
				last = str[len - 1];

				preLastStr = preLast.ToString();
				lastStr = last.ToString();

				preLastInt = int.Parse(preLastStr);
				lastInt = int.Parse(lastStr);

				if (lastInt > preLastInt)
				{
					res = str.Substring(0, len - 1);
				}
				else
				{
					res = str.Substring(0, len - 2) + last;
				}

				resInt = int.Parse(res);

				if (resInt != 0)
				{
					res = "-" + res;
				}

			}
			//Console.WriteLine(res);

			return res;
		}

		static string GetString()
		{
			using (StreamReader reader = new StreamReader("input.txt"))
			{
				return reader.ReadLine();
			}
		}

		static string[] GetStrings(int n)
		{
			string[] stringArray = new string[n];
			using (StreamReader reader = new StreamReader("input.txt"))
			{
				for (int i = 0; i < n; i++)
				{
					stringArray[i] = reader.ReadLine();
				}
			}
			return stringArray;
		}

		static void WriteString(string str)
		{
			using (StreamWriter writer = new StreamWriter("output.txt", true))
			{
				writer.WriteLine(str);
			}
		}

		static void WriteStrings(string[] strArray)
		{
			using (StreamWriter writer = new StreamWriter("output.txt", true))
			{
				for (int i = 0; i < strArray.Length; i++) {
					writer.WriteLine(strArray[i]);
				}
			}
		}
	}
}


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

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

            if(n>0){
                Console.Write(n);
            }
            else{
                string x;
                x = n.ToString();
                int y;
                if(Convert.ToInt32(x[x.Length-2])>=Convert.ToInt32(x[x.Length-1])){
                    y = x.Length-2;
                }
                else{
                    y = x.Length-1;
                }
                for(int i=0; i<x.Length; i++){
                    if(i==y){
                        continue;
                    }
                    else{
                        Console.Write(x[i]);
                    }
                }
            }
        }
    }
}


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

namespace ConsoleApplication6
{
    public static class CF186_1
    {
        public static string GetBestPrice(string d)
        {
            long res = Convert.ToInt64(d);
            if (res<0)
            {
                string str = d.ToString();
                long dn = Convert.ToInt64(str.Substring(0, str.Length - 1));

                string lastCh = str.Substring(str.Length - 1, 1);
                long dn1 = Convert.ToInt64(str.Substring(0, str.Length - 2)+lastCh);
                res = dn > dn1 ? dn : dn1;
            }
            return res.ToString();
        }
    }
}


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

namespace AlgoTest
{

    public class Program
    {
        private static PropertyInfo getThePropertyByName<T>(string propertyName)
        {
            Type t = typeof(T);

            PropertyInfo[] allProperties = t.GetProperties();

            PropertyInfo necessaryProperty = allProperties.Where(p => p.Name == propertyName).FirstOrDefault();

            if (necessaryProperty == null || necessaryProperty is null)
            {
                throw new InvalidOperationException($"The mentioned property {necessaryProperty} was not found in the object type {t}");
            }

            return necessaryProperty;
        }

        public static IEnumerable<IGrouping<object, Person>> getGroupedPersons(IEnumerable<Person> persons, string groupingFilter)
        {
            PropertyInfo propertyFilter = getThePropertyByName<Person>(groupingFilter);

            var result = persons.GroupBy(x => propertyFilter.GetValue(x));

            return result;
        }

        public static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());

            int length = n.ToString().Length;

            int lNumber = lessNumber(length);

            long count = 0;

            for (int i = 1;i < length;i++)
            {
                count += 9 * i;
            }

            count+= (n - lNumber + 1) * length;

            Console.WriteLine(count);

         //   Console.ReadKey();
        }
        static int lessNumber(int n)
        {
            return (int)(Math.Pow(10,n-1));
        }
        public static string LargestNumber(int[] nums)
        {
            string[] stringNums = nums.Select(x => Convert.ToString(x)).ToArray();

            int maxLength = stringNums.Max(x => x.Length);

            string[] newStringNumbers = buildNewStringArray(stringNums, maxLength);

            Array.Sort(newStringNumbers);

            StringBuilder sb = new StringBuilder();

            for (int i = newStringNumbers.Length - 1; i >=0; i--)
            {
                string current = newStringNumbers[i];

                if (current.Contains("#"))
                {
                    sb.Append(removeChars(current));
                }
                else
                {
                    sb.Append(current);
                }
            }

            //int[] newNumbers = newStringNumbers.Select(x => Convert.ToInt32(x)).ToArray();

            return sb.ToString();
        }
        static string removeChars(string s)
        {
            string ss = string.Empty;

            for (int i = 0; i < s.Length; i++)
            {
                if (s[i]!='#')
                {
                    ss += s[i];
                }
                else
                {
                    break;
                }
            }

            return ss;
        }
        static string [] buildNewStringArray(string [] nums,int maxLength)
        {
            string[] newNumbers = new string[nums.Length];

            for (int i = 0; i < nums.Length; i++)
            {
                if (nums[i].Length < maxLength)
                {
                    newNumbers[i] = addZeros(nums[i], maxLength - nums[i].Length);
                }
                else
                {
                    newNumbers[i] = nums[i];
                }
            }

            return newNumbers;
        }

        static string addZeros(string s, int numberOfZeros)
        {
            for (int i = 0; i < numberOfZeros; i++)
            {
                s += "#";
            }

            return s;
        }

        private static int GCD(int a, int b)
        {
            return b == 0 ? a : GCD(b, a % b);
        }

        private static bool isPowerOfTwo(int n)
        {
            return (n & (n - 1)) == 0;
        }

        private static int powerOfTwo(int n)
        {
            if (!isPowerOfTwo(n)) return int.MinValue;
            return toBinaryString(n).Length - 1;
        }

        private static string toBinaryString(int n)
        {
            string res = string.Empty;

            while (n > 0)
            {
                res = n % 2 + res;
                n /= 2;
            }

            return res;
        }

        static void shuffle(int[] a)
        {
            Random rand = new Random();

            for (int i = 0; i < a.Length; i++)
            {
                int tempIndex = rand.Next(a.Length);
                int temp = a[i];
                a[i] = a[tempIndex];
                a[tempIndex] = temp;
            }
        }

        static string reverseSentence(string s)
        {
            char[] c = s.ToCharArray();
            char[] newC = new char[c.Length];

            for (int i = 0; i < c.Length; i++)
            {
                newC[i] = c[c.Length - 1 - i];
            }

            return new string(newC);
        }
    }
}


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

namespace Square
{
class Program
{
static void Main(string[] args){
int n, x, y;
var coll = str.Split(' ');
n = Convert.ToInt32(coll[0]);
x = Convert.ToInt32(coll[1]);
y = Convert.ToInt32(coll[2]);
Console.WriteLine(((x == n / 2 || x == n / 2 + 1) && (y == n / 2 || y == n / 2 + 1) ? "NO" : "YES"));
}
}
}


            int n, x, y;
            string str = Console.ReadLine();
            var coll = str.Split(' ');
            n = Convert.ToInt32(coll[0]);
            x = Convert.ToInt32(coll[1]);
            y = Convert.ToInt32(coll[2]);
            Console.WriteLine(((x == n / 2 || x == n / 2 + 1) && (y == n / 2 || y == n / 2 + 1) ? "NO" : "YES"));


using System;
using System.Linq;

namespace leetcode
{
    class Program
    {
        static void Main(string[] args)
        {
            var count = int.Parse(Console.ReadLine());
            var items = Console.ReadLine().Split(" ", StringSplitOptions.None).Select(c=> int.Parse(c));
            Console.WriteLine(items.Sum() > 0 ? "HARD" : "EASY");
        }
    }
}


using System;

public class Test
{
	public static void Main()
	{
			int a = Convert.ToInt32(Console.ReadLine());
			string[] dizi =(Console.ReadLine().Split(' '));
			if (dizi.Contains("1"))
			{
				Console.WriteLine("HARD");
			}
			else {Console.WriteLine("EASY"); }
	}
}


 internal class Program
    {
        private static void Main(string[] args)
        {
            int t = int.Parse(Console.ReadLine());
            var count = 0;
            /*int[] n = new int[100];
            for (int i = 0; i < t; i++)
            {
                //List<int> n = new List<int>();
                //n.Add(Console.Read());
                // n[i] = int.Parse(Console.ReadLine());
                n[i] = int.Parse(Console.Read());
                if (n[i] == 1)
                {
                    count++;
                }
            }*/
            List<int> userInts = new List<int>();

            for (int i = 0; i < t; i++)
            {
                string userValue = Console.ReadLine();
                int userInt;
                if (int.TryParse(userValue, out userInt))
                {
                    userInts.Add(userInt);
                }
                if (userInts[i] == 1)
                {
                    count++;
                }
            }
            if (count == 0)
            {
                Console.WriteLine("EASY");
            }
            else
            {
                Console.WriteLine("Hard");
            }
        }
    }


using System;
using System.Collections.Generic;

class Decision
    {
        List<short> answers = new List<short>();
        private short numberOfAnswers = 0;
        private short answer = -1;

        public int EnterInputs()
        {
            int ans = -1;
            numberOfAnswers = Convert.ToInt16(Console.ReadLine());
            if (numberOfAnswers < 1 || numberOfAnswers > 100)
                ans = -1;
            else
            {

                string theNumber = Console.ReadLine();
                string[] d = theNumber.Split(' ');

                foreach(var num in d)
                {
                    if (num == "1" || num == "0")
                        answers.Add(Convert.ToInt16(num));
                }

                ans = 0;
            }
            return ans;
        }

        private bool Level()
        {
            short sum = 0;
            foreach (var ans in answers)
                sum += ans;
            if (sum <= 0)
                return false;
            else
                return true;
        }

        public string MakeLevel()
        {
            if (Level())
                return "HARD";
            else
                return "EASY";
        }
    }

    public class Program
    {
        static void Main(string[] args)
        {
            PdfDocument doc = new PdfDocument();

            Decision decision = new Decision();
            int d = decision.EnterInputs();

            if (d != -1)
            {
                Console.WriteLine("{0}", decision.MakeLevel());
            }
            Console.ReadLine();
        }
}


using System;
using static System.Console;
class P
{
    static void Main(string[] args)
    {
        ReadLine();
        string a = ReadLine();
        WriteLine(a.Contains('1')?"HARD":"EASY");
    }
}


using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;

namespace Code
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] input = Console.ReadLine().Split(' ');
            for (int i = 0; i < n; i++)
            {
                if (input[i] == "1")
                {
                    Console.WriteLine("HARD");
                    return;
                }
            }
            Console.WriteLine("EASY");
        }
    }
}


using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int ile = Console.ReadLine();
            int i = 0;
            bool trudne = false;
            while(i<ile)
            {
                int czy = Console.ReadLine();
                if(czy==1){
                trudne = true;
                break;
                }
                i++;
            }
            if(czy){
                Console.WriteLine("HARD");
            }
            else{
                Console.WriteLine("EASY");
            }
        }
    }
}


  int resultfrompeople=0;
            int sum = 0;

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

            for (int i=0; i< Numberofpeople; i++)
            {
                resultfrompeople = Convert.ToInt32(Console.ReadLine());
                sum += resultfrompeople;
            }
            Console.Write(sum >0? "HARD":"EASY");


using System;
using System.Linq;

namespace CodeForces
{
    class Program
    {

        public static void Main(string[] args)
        {
            //wrong_subtraction ws = new wrong_subtraction();
            int n = Convert.ToInt32(Console.ReadLine());
            int[] arr = (Console.ReadLine()).Split(' ').Select(n => Convert.ToInt32(n)).ToArray();
            Console.WriteLine($"{sub_function(arr, n)}");
        }

        static int sub_function(int[] arr, int n)
        {
            int result = 1;

            for (int i = 0; i < n; i++)
            {
                if(arr[i] == 0){
                    result = 0;
                } else {
                    return result;
                }

            }
            return result;
        }
    }
}


using System;

namespace Olymp
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = Convert.ToInt32(Console.ReadLine());
            int S = 0;
            if ((1<=number) && (number<=100))
            {

                int[] a = Console.ReadLine().Split().Select(int.Parse).ToArray();

                for (int i=0; i<a.Length; i++)
                {
                    S = S + a[i];
                }

                if (S==0)
                {
                    Console.WriteLine("Easy");
                    Console.ReadKey();
                }
                else if (S>0)
                {
                    Console.WriteLine("Hard");
                    Console.ReadKey();
                }
            }
            else
            {
                Console.ReadKey();
            }
        }
    }
}


using System;

namespace Algoritmos
{
    class Program
    {
        static void Main(string[] args)
        {
            int person = Int32.Parse(Console.ReadLine());
            int[] decision = Array.ConvertAll(Console.ReadLine().Split(" "), x  => Int32.Parse(x));
            String input = "EASY";

            for (int i = 0; i < person; i++)
            {
                if (decision[i] == 1)
                {
                    input = "HARD";
                    break;
                }
            }

            Console.WriteLine(input);
        }
    }
}


using System;

namespace ConsoleApp1
{
    public class Program
    {
        static void Main(string[] args)
        {
            string[] values = Console.ReadLine().Split(' ');
            int n = int.Parse(values[0]);
            string[] secondValues = Console.ReadLine().Split(' ');

            if (secondValues.Exists(secondValues, answer => answer.ToLower().Equals("hard")))
            {
                Console.WriteLine("Hard");
                return;
            }

            Console.WriteLine("Easy");

            return;
        }
    }
}


using System;

public class Test
{
	public static void Main()
	{
			int a = Convert.ToInt32(Console.ReadLine());
			int[] dizi = Array.ConvertAll(Console.ReadLine().Split(' '), int.Parse);
			if (dizi.Contains(1))
			{
				Console.WriteLine("HARD");
			}
			else {Console.WriteLine("EASY"); }
	}
}


class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            string o = Console.ReadLine();
            o = o.Replace(" ", string.Empty);
            int In = o.IndexOf("1");
            if(In>=0)
                {
                Console.WriteLine("HARD");
                }
            else
                {
                Console.WriteLine("EASY");
                }
            Console.ReadLine();
        }
    }


using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;

namespace Code
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] input = Console.ReadLine().Split(' ');
            if (input.Contains("1")) Console.WriteLine("HARD");
            else Console.WriteLine("EASY");
        }
    }
}


using System;
using System.Linq;

public class EasyProblem{
    static void Main(string[] args){
        EasyTest();
    }

    static void EasyTest(){
        int n = int.Parse(Console.ReadLine());
        string arg = Console.ReadLine();
        for(int i = 0; i < n; i ++){
            if(arg[i * 2] == "1")
                Console.WriteLine("HARD");
        }
        Console.WriteLine("EASY");
    }
}


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

namespace codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.SetIn(new StreamReader("input.txt"));
            int n = Convert.ToInt32(Console.ReadLine());
            string[] votes = Console.ReadLine().Split(' ', StringSplitOptions.RemoveEmptyEntries);

            int noCount = 0;
            string answer = "EASY";
            for (int i = 0; i < votes.Length; i++)
            {
                noCount += Convert.ToInt32(votes[i]);

                if (noCount > 0)
                {
                    answer = "HARD";
                    break;
                }

            }
            Console.WriteLine(answer);
        }
    }
}


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

namespace codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            string[] votes = Console.ReadLine().Split(' ', StringSplitOptions.RemoveEmptyEntries);

            int noCount = 0;
            string answer = "EASY";
            for (int i = 0; i < votes.Length; i++)
            {
                noCount += Convert.ToInt32(votes[i]);

                if (noCount > 0)
                {
                    answer = "HARD";
                    break;
                }

            }
            Console.WriteLine(answer);
        }
    }
}


using System;

    class Program
    {
        static void Main()
        {

            int people_no = int.Parse(Console.ReadLine());

            string [] people_comments = Console.ReadLine().Split(' ');

            if (people_comments.Contains("1"))
            {
                Console.WriteLine("HARD");
            }
            else
            {
                Console.WriteLine("EASY");
            }

        }

        }

    }


using system;

namespace Tassel
{
	class Program
	{
		public static void main()
		{
			int x;
			int[] d = new int[3];
			x = Covnert.ToInt32 (Console.ReadKey ());

			for(int i = 0; i < x; i++){
				d[i] = Covnert.ToInt32 (Console.ReadKey ());
			}
			for(int i = 0; i < x; i++){
				if(d[i] == 1){
					Console.WriteLine ("HARD");
				}
				if(d[x-1] == 0){
					return;
				}
			}
			Console.WriteLine ("EASY");

		}
	}
}


using System;

namespace Challenge
{
    class Program
    {
        static void Main()
        {
            Console.Write(easyhard());
		}
		public string easyhard()
        {
            int peoplenums = Convert.ToInt16(Console.ReadLine());
            string answers = Console.ReadLine();
            string[] ans = answers.Split(' ');
            if (ans.Contains("1"))
            {
                return "HARD";
            } else
            {
                return "Easy";
            }

        }

	}
}


using System;

namespace Tassel
{
	class Program
	{
		public static void main()
		{
			int x;
			int[] d = new int[3];
			x = Convert.ToInt32 (Console.ReadKey ());

			for(int i = 0; i < x; i++){
				d[i] = Convert.ToInt32 (Console.ReadKey ());
			}
			for(int i = 0; i < x; i++){
				if(d[i] == 1){
					Console.WriteLine ("HARD");
				}
				if(d[x-1] == 0){
					return;
				}
			}
			Console.WriteLine ("EASY");
		}
	}
}


using System;

namespace Algoritmos
{
    class Program
    {
        static void Main(string[] args)
        {
            int person = Int32.Parse(Console.ReadLine());
            String[] decision = Console.ReadLine().Split(" ");
            String input = "Easy";

            for (int i = 0; i < person; i++)
            {
                if (decision[i] == "1")
                {
                    input = "Hard";
                }
            }

            Console.WriteLine(input);
        }
    }
}


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

namespace PapaSchool
{
    //https://codeforces.com/problemset/problem/1030/A

    public class CF2
    {
        public static void Main(string[] args)
        {
            var count = Console.ReadLine();
            var num = Console.ReadLine();
            var numb = num.Split(' ').Select(item => int.Parse(item)).ToList();
            var result = EasyOrHard(numb);
            Console.WriteLine(result);
        }

        public static string EasyOrHard(List<int> numb)
        {
            foreach (var num in numb)
            {
                if (num == 1)
                {
                    return "HARD";
                }

                if (num != 0)
                {
                    return "ERROR";
                }
            }

            return "EASY";
        }
    }


using System;

    class Program
    {
        static void Main()
        {

            int people_no = int.Parse(Console.ReadLine());

            string [] people_comments = Console.ReadLine().Split(' ');

            if (people_comments.Contains("1"))
            {
                Console.WriteLine("HARD");
            }
            else
            {
                Console.WriteLine("EASY");
            }

        }

        }


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

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            string[] a = Console.ReadLine().Split(' ');
            bool a = true;
            for (int i = 0; i < n; i++)
            {
               if(a[i] == "1"){ Console.WriteLine("HARD");a = false; break;}
            }
            if(a==true)
            Console.WriteLine("EASY");
        }
    }
}


using System;

namespace _1030
{
    class Program
    {
        static void Main(string[] args)
        {
            bool isItHard = false;
            var howManyTimes = Int16.Parse(Console.ReadLine());

    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2000
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeForcesExercises", "CodeForcesExercises\CodeForcesExercises.csproj", "{F415473B-EA05-4D27-9CAA-E9CDED1B5ED8}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{F415473B-EA05-4D27-9CAA-E9CDED1B5ED8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{F415473B-EA05-4D27-9CAA-E9CDED1B5ED8}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{F415473B-EA05-4D27-9CAA-E9CDED1B5ED8}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{F415473B-EA05-4D27-9CAA-E9CDED1B5ED8}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {0665E064-0672-46B2-8FCA-33299B1BB17C}
	EndGlobalSection
EndGlobal


using System;
using System.Linq;

namespace leetcode
{
    class Program
    {
        static void Main(string[] args)
        {
            var count = int.Parse(Console.ReadLine());
            var items = Console.ReadLine().Split(" ").Select(c=> int.Parse(c));
            Console.WriteLine(items.Sum() > 0 ? "HARD":"EASY");
        }
    }
}


using System;
using System.Linq;

namespace leetcode
{
    class Program
    {
        static void Main(string[] args)
        {
            var count = int.Parse(Console.ReadLine());
            var items = Console.ReadLine().Split(" ", StringSplitOptions.None).Select(c=> int.Parse(c));
            Console.WriteLine(items.Sum() > 0 ? "HARD":"EASY");
        }
    }
}


ng System;
using System.Linq;

namespace A.В_поисках_простой_задачи
{
    class Program
    {
        static void Main(string[] args)
        {
            string lenght = Console.ReadLine();
            int[] res = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray();

            if (Array.IndexOf(res, 1) < 0)
                Console.WriteLine("EASY");
            else
                Console.WriteLine("HARD");
        }
    }
}


using System;

namespace _200501_InSearchOfAnEasyProblem
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadLine();

            if (Console.ReadLine().Contains('1'))
            {
                Console.WriteLine("Hard");
            }
            else
            {
                Console.WriteLine("Easy");
            }

        }
    }
}


namespace SandBox
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            string[] answers = Console.ReadLine().Split(' ');
            string res = "EASY";
            foreach (string answer in answers)
            {
                if (answer == "1")
                {
                    res = "HARD";
                }
            }
            Console.WriteLine(res);
        }
    }
}


using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            var numberOfPeople = int.Parse(Console.ReadLine());
            var rules = Console.ReadLine().AsSpan();
            for (int i = 0; i < rules.Length; i+=2)
            {
                if (rules[i] == '1' && numberOfPeople >= i)
                {
                    Console.WriteLine("HARD");
                    return;
                }
            }
            Console.WriteLine("EASY");
        }
    }
}


using System;

class Program
{
    static void Main(string[] args)
    {
        string str1 = Console.ReadLine();
        string str = Console.ReadLine();
        if (str.Contains('1'))
            Console.Write("HARD");
        else
            Console.Write("EASY");
    }
}


using System;
using System.Linq;

namespace leetcode
{
    class Program
    {
        static void Main(string[] args)
        {
            var count = int.Parse(Console.ReadLine());
            var items = Console.ReadLine().Split(" ").Select(c=> int.Parse(c));
            Console.WriteLine(items.Sum()> 0 ? "HARD":"EASY");
        }
    }
}


<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{A77B51EB-F6ED-4F3C-B846-EC4C65698F5C}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>Comp2309</RootNamespace>
    <AssemblyName>Comp2309</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <Deterministic>true</Deterministic>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>


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

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            string[] a = Console.ReadLine().Split(' ');
            bool a = true;
            for (int i = 0; i < n; i++)
            {
               if(a[i] == "1"){ Console.WriteLine("HARD");a = false; break;}
            }
            if(a==false)
            Console.WriteLine("EASY");
        }
    }
}


namespace Algoritmos
{
    class Program
    {
        static void Main(string[] args)
        {
            int person = Int32.Parse(Console.ReadLine());
            String[] decision = Console.ReadLine().Split(" ");
            String input = "";

            for (int i = 0; i < person; i++)
            {
                if (decision[i] == "0")
                {
                    input = "Easy";
                }
                else
                {
                    input = "Hard";
                }

            }

            Console.WriteLine(input);
        }
    }
}


int peoplenums = Convert.ToInt16(Console.ReadLine());
            string answers = Console.ReadLine();
            string[] ans = answers.Split(' ');
            if (ans.Contains("1"))
            {
                return "HARD";
            } else
            {
                return "Easy";
            }


using System;
using System.Linq;

public class EasyProblem{
    static void Main(string[] args){
        EasyTest();
    }

    static void EasyTest(){
        int n = int.Parse(Console.ReadLine());
        int arg = Console.ReadLine();
        for(int i = 0; i < n; i ++){
            if(arg[i * 2] == "1")
                Console.WriteLine("HARD");
        }
        Console.WriteLine("EASY");
    }
}


  int Numberofpeople=0;
            int resultfrompeople=0;
            int sum = 0;

            Numberofpeople = Convert.ToInt32(Console.ReadLine());

            for (int i=0; i< Numberofpeople; i++)
            {
                resultfrompeople = Convert.ToInt32(Console.ReadLine());
                sum += resultfrompeople;
            }
            Console.Write(sum >0? "HARD":"EASY");


using System;
class Program {
static void Main() {
   int[] a=Console.ReadLine().Split(' ').Select(x=>int.Parse(x)).ToArray();
int[] b=Console.ReadLine().Split(' ').Select(x=>int.Parse(x)).ToArray();
int n = int.Parse(Console.ReadLine());
n-=Math.Ceiling((double)(a[0]+a[1]+a[2])/5)+Math.Ceiling((double)(b[0]+b[1]+b[2])/10);
Console.WriteLine(n <0?"NO":"YES");
}
}


using System;

class A448 {
    public static void Main() {
        var a = Console.ReadLine().Split().Sum(int.Parse);
        var b = Console.ReadLine().Split().Sum(int.Parse);
        var n = int.Parse(Console.ReadLine());
        Console.WriteLine((a + 4) / 5 + (b + 9) / 10 <= n ? "YES" : "NO");
    }
}


using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net.Mime;
using System.Numerics;
using System.Text;

namespace ConsoleApp1
{

    class Program
    {
        static void Main(string[] args)
        {
            //int numberOfFig = Convert.ToInt32(Console.ReadLine());
            //var figures = new string[numberOfFig];
            //for (int i = 0; i < numberOfFig; i++)
            //{
            //    figures[i] = Console.ReadLine();
            //}

            //var text = Console.ReadLine();
            var cup = Console.ReadLine().Split(' ');
            var medal = Console.ReadLine().Split(' ');
            var shelves = Convert.ToInt32(Console.ReadLine());
            //var num = Convert.ToInt32(Console.ReadLine());
            //var input = Console.ReadLine().Split(' ');
            //int height = Convert.ToInt32(Console.ReadLine());

            //string text = Console.ReadLine();
            //var heights = Console.ReadLine().Split(' ');
            //Console.WriteLine(Check(Array.ConvertAll(nums, int.Parse)));
            Console.WriteLine(Check(cup, medal, shelves));
        }

        static string Check(string[] cup, string[] medal, int shelves)
        {
            var tempCup = Array.ConvertAll(cup, int.Parse);
            var cups = tempCup.Sum();

            var tempMeadl = Array.ConvertAll(medal, int.Parse);
            var medals = tempMeadl.Sum();

            int shelvesCup = shelves * 5;
            if (shelvesCup - cups < 0)
            {
                return "NO";
            }

            shelvesCup -= cups;
            shelves = shelvesCup / 5;

            int shelvesMedal = shelves * 10;
            if (shelvesMedal - cups < 0)
            {
                return "NO";
            }

            return "YES";

        }
    }
}


using System;
using System.Linq;
using System.Collection.Generetic;
class Program {
static void Main() {
   int[] a=Console.ReadLine().Split(' ').Select(x=>int.Parse(x)).ToArray();
int[] b=Console.ReadLine().Split(' ').Select(x=>int.Parse(x)).ToArray();
int n = int.Parse(Console.ReadLine());
n-=Math.Ceiling((double)(a[0]+a[1]+a[2])/5)+Math.Ceiling((double)(b[0]+b[1]+b[2])/10);
Console.WriteLine(n <0?"NO":"YES");
}
}


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

    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadLine();
            string enter = Console.ReadLine();
            Stackstring parasites = new Stackstring();
            string par = ogo;
            while (par.Length  100)
            {
                parasites.Push(par);
                par += go;
            }
            while(parasites.Count0) {
                enter = enter.Replace(parasites.Pop(), );
            }
            Console.WriteLine(enter);
            Console.ReadKey();
        }
    }


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

namespace Task1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadLine();
            string enter = Console.ReadLine();
            Stackstring parasites = new Stackstring();
            string par = ogo;
            while (par.Length  100)
            {
                parasites.Push(par);
                par += go;
            }
            while(parasites.Count0) {
                enter = enter.Replace(parasites.Pop(), );
            }
            Console.WriteLine(enter);
            Console.ReadKey();
        }
    }
}


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

namespace SortingAlgorithms
{
    class Program
    {
        static void Main(string[] args)
        {
            FriendMeeting();
        }
        public void FriendMeeting()
        {
            int count;
            int[] arr = Array.ConvertAll(Console.ReadLine().Split(' '), arrTemp => Convert.ToInt32(arrTemp));
            for (int i = 1; i < arr.Length; i++)
            {
                int next = arr[i];
                int j = i - 1;
                while (j >= 0 && arr[j] > next)
                {
                    arr[j + 1] = arr[j];
                    --j;
                }

                arr[j + 1] = next;
            }

            count = (arr[2] - arr[1]) + (arr[1] - arr[0]);
            Console.WriteLine(count);
        }

    }
}


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

namespace SortingProblems
{
    class Program
    {
        static void Main(string[] args)
        {
            List<int> list = new List<int>();
            int length = Convert.ToInt32(Console.ReadLine());
            for (int i = 0; i < length; i++)
            {
                list.Add(Convert.ToInt32(Console.ReadLine()));
            }
            list.Sort();
            Console.WriteLine(Friend(list));

        }
}  }


using System;

namespace Contest
{
    class Program
    {
        public static void Main()
        {
            string[] ss = Console.ReadLine().Split(' ');
int a = Convert.ToInt32(ss[0]);
int b = Convert.ToInt32(ss[1]);
int c = Convert.ToInt32(ss[2]);
int Max = -1;
int Min = 101;
If (a > Max)
Max = a;
If (b > Max)
Max = b;
If (b > Max)
Max = c;
If (a < Min)
Min = a;
If (b < Min)
Min = b;
If (c < Min)
Min = c;
Console.WriteLine((Min+Max)/2);
        }
    }
}


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

namespace Training {
	class Program {
		static void Main(string[] args) {
			int[] nums = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
			int min = int.MaxValue;
			for(int i=1; i<=100; i++) {
				int res = 0;
				for(int j=0; j<nums.Length; j++) {
					res += Math.Abs(nums[j] - i);
				}
				min = Math.Min(min, res);
				string s = nameof(min);
			}
			Console.WriteLine(min);
		}
	}
}


      List<int> list = new List<int>();
            int length = Convert.ToInt32(Console.ReadLine());
            for (int i = 0; i < length; i++)
            {
                list.Add(Convert.ToInt32(Console.ReadLine()));
            }
            list.Sort();
            Console.WriteLine(Friend(list));


using System;

namespace SortingAlgorithms
{
    class Program
    {
        static void Main(string[] args)
        {
            StartSortingProblems problems = new StartSortingProblems();
            problems.FriendMeeting();
        }
        public static void FriendMeeting()
        {
            int count;
            int[] arr = Array.ConvertAll(Console.ReadLine().Split(' '), arrTemp => Convert.ToInt32(arrTemp));
            for (int i = 1; i < arr.Length; i++)
            {
                int next = arr[i];
                int j = i - 1;
                while (j >= 0 && arr[j] > next)
                {
                    arr[j + 1] = arr[j];
                    --j;
                }

                arr[j + 1] = next;
            }

            count = (arr[2] - arr[1]) + (arr[1] - arr[0]);
            Console.WriteLine(count);
        }

    }
}


using System;

namespace Contest
{
    class Program
    {
        public static void Main()
        {
            string[] ss = Console.ReadLine().Split(' ');
int a = Convert.ToInt32(ss[0]);
int b = Convert.ToInt32(ss[1]);
int c = Convert.ToInt32(ss[2]);
int Max = -1;
int Min = 101;
If (a > Max)
Max = a;
If (b > Max)
Max = b;
If (c > Max)
Max = c;
If (a < Min)
Min = a;
If (b < Min)
Min = b;
If (c < Min)
Min = c;
Console.WriteLine((Min+Max)/2);
        }
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
{
    public class Program
    {
      public  static void Main(string[] args)
        {
            int n1, n2, k1, k2;
            n1 = Convert.ToInt32(Console.ReadLine());
            n2 = Convert.ToInt32(Console.ReadLine());
            k1 = Convert.ToInt32(Console.ReadLine());
            k2 = Convert.ToInt32(Console.ReadLine());

            if (n1 > n2)
            {
                Console.Write("First");

            }
            else
            {
                Console.Write("Second");

            }

        }
    }
}


using System;

class Program
{
    void Main()
    {
        var ar = Console.Readline().Split();
        Console.WriteLine(int.Parse(ar[0]) > int.Parse(ar[1]) ? "Second" : "First");
    }
}


   string line = Console.ReadLine();
            string[] lines = line.Split(' ');
            int n1 = int.Parse(lines[0]);
            int n2 = int.Parse(lines[1]);
            int k1 = int.Parse(lines[2]);
            int k2 = int.Parse(lines[3]);

            int result1 = n1 / k1;
            int result2 = n2 / k2;

            if (result1 <= result2)
                Console.Out.WriteLine("First");
            else
                Console.Out.WriteLine("Second");

            Console.ReadKey();


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication8", "ConsoleApplication8\ConsoleApplication8.csproj", "{BD9001AE-2E8E-4E77-86CA-DB137459BB85}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{BD9001AE-2E8E-4E77-86CA-DB137459BB85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{BD9001AE-2E8E-4E77-86CA-DB137459BB85}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{BD9001AE-2E8E-4E77-86CA-DB137459BB85}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{BD9001AE-2E8E-4E77-86CA-DB137459BB85}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication9", "ConsoleApplication9\ConsoleApplication9.csproj", "{50B9F649-1295-480C-9E9A-E6FBA4F296BA}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{50B9F649-1295-480C-9E9A-E6FBA4F296BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{50B9F649-1295-480C-9E9A-E6FBA4F296BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{50B9F649-1295-480C-9E9A-E6FBA4F296BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{50B9F649-1295-480C-9E9A-E6FBA4F296BA}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


    class Program
    {
        static void Main(string[] args)
        {
            var input = args.Select(s => Int32.Parse(s)).ToList();

            Console.WriteLine(input[0] > input[1] ? "First" : "Second");

        }
    }


           string line = Console.ReadLine();
            string[] lines = line.Split(' ');
            int n1 = int.Parse(lines[0]);
            int n2 = int.Parse(lines[1]);
            int k1 = int.Parse(lines[2]);
            int k2 = int.Parse(lines[3]);

            int result1 = n1 / k1;
            int result2 = n2 / k2;

            if (result1 <= result2)
                Console.Out.WriteLine("First");
            else
                Console.Out.WriteLine("Second");

            Console.ReadKey();


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication10", "ConsoleApplication10\ConsoleApplication10.csproj", "{1D792E9C-3B53-458E-B451-D7FBA74AEA68}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{1D792E9C-3B53-458E-B451-D7FBA74AEA68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{1D792E9C-3B53-458E-B451-D7FBA74AEA68}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{1D792E9C-3B53-458E-B451-D7FBA74AEA68}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{1D792E9C-3B53-458E-B451-D7FBA74AEA68}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "calculator shamim", "calculator shamim\calculator shamim.csproj", "{88A74FA7-7242-4651-8BE5-6EDDA691DB41}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{88A74FA7-7242-4651-8BE5-6EDDA691DB41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{88A74FA7-7242-4651-8BE5-6EDDA691DB41}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{88A74FA7-7242-4651-8BE5-6EDDA691DB41}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{88A74FA7-7242-4651-8BE5-6EDDA691DB41}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


private static int steps(string strx1, string strx2)
        {
            int x1 = int.Parse(strx1.Split(' ')[0]);
            int x2 = int.Parse(strx2.Split(' ')[0]);
            int y1 = int.Parse(strx1.Split(' ')[1]);
            int y2 = int.Parse(strx2.Split(' ')[1]);

            int f = x1 >= x2 ? x1 - x2 : x2 - x1;
            int s = y1 >= y2 ? y1 - y2 : y2 - y1;
            int res = f >= s ? f : s;
            return res;
        }


using System;
using System.Collections.Generic;

namespace ConsoleApp14
{
    class Program
    {
        public static int Reachable_Num(int i)
        {
           if (ip < 10)
            {
                Console.WriteLine('9');
                return;
            }
            int res = 10 - (ip % 10);
            ip /= 10;
            while(ip>= 10)
            {
                res += 9 - (ip % 10);
                ip /= 10;
            }
            res += 9;
            Console.WriteLine(res.ToString());
        }

        static void Main(string[] args)
        {
            Console.WriteLine(Reachable_Num(Convert.ToInt32(Console.ReadLine())));
        }
    }
}


using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C_sarp_tests
{
    class Program
    {
        private static int counter = 1;
        static void Main(string[] args)
        {
            int num = Convert.ToInt32(Console.ReadLine());

            while (num > 0)
            {
                num = Important(num);
            }

            Console.WriteLine(counter);
        }

        private static int Important(int n)
        {
            n++;
            if (n % 10 != 0)
            {
                counter++;

            }

            while (n % 10 == 0)
            {
                n /= 10;

                if (n > 9 && n % 10 != 0)
                {
                    counter++;

                }
                else if (n <= 9)
                {
                    counter += 9;

                    return 0;
                }
            }

            return n;
        }


using System;
using System.Numerics;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Text.RegularExpressions;

namespace ProjectEuler
{
    class Program
    {

        private static void Main()
        {
            int n = int.Parse(Console.ReadLine());
            HashSet<int> hs = new HashSet<int>();
            bool flag = true;

            if (n == 1)
            {
                Console.WriteLine(9);
            }
            else
            {
                while (flag)
                {
                    if (!hs.Contains(n))
                    {
                        hs.Add(n);
                    }

                    n = Fofx(n);
                    if (hs.Contains(1) && hs.Contains(2) && hs.Contains(3) && hs.Contains(4) && hs.Contains(5) && hs.Contains(6) && hs.Contains(7) && hs.Contains(8) && hs.Contains(9))
                    {
                        flag = false;
                    }
                }
                Console.WriteLine(hs.Count);
            }

        }
    }
}


using System;
using System.Collections.Generic;

namespace ConsoleApp14
{
    class Program
    {
        public static int Reachable_Num(int ip)
        {
           if (ip < 10)
            {
                Console.WriteLine('9');
                return;
            }
            int res = 10 - (ip % 10);
            ip /= 10;
            while(ip>= 10)
            {
                res += 9 - (ip % 10);
                ip /= 10;
            }
            res += 9;
            Console.WriteLine(res.ToString());
        }

        static void Main(string[] args)
        {
            Console.WriteLine(Reachable_Num(Convert.ToInt32(Console.ReadLine())));
        }
    }
}


namespace C_sarp_tests
{
    class Program
    {
        private static int counter = 1;
        static void Main(string[] args)
        {
            int num = Convert.ToInt32(Console.ReadLine());

            while (num > 0)
            {
                num = Important(num);
            }

            Console.WriteLine(counter);
        }

        private static int Important(int n)
        {
            n++;
            if (n % 10 != 0)
            {
                counter++;

            }

            while (n % 10 == 0)
            {
                n /= 10;

                if (n > 9 && n % 10 != 0)
                {
                    counter++;

                }
                else if (n <= 9)
                {
                    counter += 9;

                    return 0;
                }
            }

            return n;
        }


namespace C_sarp_tests
{
    class Program
    {
        private static int counter = 1;
        static void Main(string[] args)
        {
            int num = Convert.ToInt32(Console.ReadLine());

            while (num > 0)
            {
                num = Important(num);
            }

            Console.WriteLine(counter);
        }

        private static int Important(int n)
        {
            n++;
            if (n % 10 != 0)
            {
                counter++;

            }

            while (n % 10 == 0)
            {
                n /= 10;

                if (n > 9 && n % 10 != 0)
                {
                    counter++;

                }
                else if (n <= 9)
                {
                    counter += 9;

                    return 0;
                }
            }

            return n;
        }
    }}


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

class Solution
{
    static void min(int m, int s)
    {
        var res = new char[m];
        var ns = s - (m - 1) * 9;
        if ((m - 1) * 9 > s)
        {
            res[0] = '1';
            s -= 1;
        }
        else if (ns > 0)
        {
            res[0] = ns.ToString()[0];
            s -= ns;
        }
        for (int i = 1; i < m; i++)
        {
            if (res[i - 1] > '0' && i > 1)
                res[i] = '9';
            else
            {
                var left = m - i - 1;
                if (left * 9 >= s)
                {
                    res[i] = '0';
                }
                else
                {
                    res[i] = (s - left * 9).ToString()[0];
                }
            }
        }

        for (int i = 0; i < m; i++)
            Console.Write(res[i]);
    }
    static void max(int m, int s)
    {
        var res = new char[m];
        if (s >= 9)
        {
            res[0] = '9';
            s -= 9;
        }
        else
        {
            res[0] = s.ToString()[0];
            s = 0;
        }
        for (int i = 1; i < m; i++)
        {
            if (res[i - 1] < '9')
            {
                res[i] = '0';
            }
            else
            {
                if (s >= 9)
                {
                    res[i] = '9';
                    s -= 9;
                }
                else
                {
                    res[i] = s.ToString()[0];
                    s = 0;
                }
            }
        }

        for (int i = 0; i < m; i++)
            Console.Write(res[i]);

    }
    static void ribbon(int m, int s)
    {
        if(m==1 && s=0){
            Console.WriteLine("0 0");
            return;
        }
        if (m * 9 < s || s == 0)
        {
            Console.WriteLine("-1 -1");
            return;
        }
        min(m, s);
        Console.Write(" ");
        max(m, s);
    }

    static void Main(string[] args)
    {

        var ms = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray();

        ribbon(ms[0], ms[1]);
        Console.ReadLine();
    }
}


using System;
using System.IO;
using System.Security.Cryptography.X509Certificates;

// Powered by caide (code generator, tester, and library code inliner)

class Solution
{
    public void solve(TextReader input, TextWriter output)
    {
        long a = -1, b = -1;
        var read = input.ReadLine().Split(' ');
        int m = int.Parse(read[0]);
        int s = int.Parse(read[1]);

        if (m == 1)
        {
            a = s;
            b = s;
        }

        int minSum = 1;
        int maxSum = 9 * m;

        long base9Sums = 9 * (m - 1);

        if (s >= minSum && s <= maxSum)
        {
            var root = Math.Pow(10, m - 1);

            for (int i = 1; i <= 9; i++)
            {
                if (a != -1)
                {
                    bool touched = false;
                    while (s > i && s < base9Sums + i && i <= 9)
                    {
                        touched = true;
                        ++i;
                    }

                    if (touched)
                    {
                        --i;
                    }
                }

                if (s <= base9Sums + i)
                {
                    long begin = (long)(i * root);
                    long end = (long)((i + 1) * root);

                    long memorizeSum = i;
                    long n = begin;
                    for (long j = begin; j < end; j++)
                    {
                        ++n;

                        if (n % 10 == 0)
                        {
                            memorizeSum = SumTheDigits(n);
                        }
                        else
                        {
                            memorizeSum++;
                        }

                        if (memorizeSum == s && a == -1)
                        {
                            a = n;
                            break;
                        }

                        if (memorizeSum == s)
                        {
                            b = n;
                        }
                    }
                }
            }
        }

        output.WriteLine(a + " " + b);

    }

    private long SumTheDigits(long number)
    {
        long sum = 0;
        while (number / 10 != 0)
        {
            number = number / 10;
            sum += number % 10;
        }

        return sum;
    }
}


using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

public class CF_489C
{
    public string solve(int m, int s)
    {
        if (s == 0)
        {
            if (m == 1)
            {
                return "0 0";
            } else
            {
                return "-1 -1";
            }
        }

        int md = s / m + s % m;
        if (md > 9)
        {
            return "-1 -1";
        }
        int[] min = new int[m];
        int idx = m - 1; int sum = s;
        while (sum > 0)
        {
            min[idx] = sum >= 9 ? 9 : sum;
            sum -= min[idx];
            idx--;
        }
        string smax = "";
        for (int j = min.Length - 1; j >= 0; j--)
        {
            smax += min[j];
        }

        if (min[0] == 0)
        {
            min[0] = 1;
            min[idx + 1]--;
        }
        string smin = "";
        foreach (var d in min)
        {
            smin += d;
        }

        return "" + smin + " " + smax;
    }

    static int Main(string[] args)
    {
        string line = Console.ReadLine();
        string[] snums = line.Split();
        int m = Convert.ToInt32(snums[0]);
        int s = Convert.ToInt32(snums[1]);
        Console.WriteLine(new CF_489C().solve(m, s));
        return 0;
    }
}

#if !ONLINE_JUDGE
namespace CodeForces
{
    [TestClass]
    public class Test_CF_489C
    {
        [TestMethod]
        public void SpecialCase1()
        {
            Assert.AreEqual("0 0", new CF_489C().solve(1, 0));
        }

        [TestMethod]
        public void SpecialCase2()
        {
            Assert.AreEqual("-1 -1", new CF_489C().solve(2, 0));
            Assert.AreEqual("-1 -1", new CF_489C().solve(3, 0));
        }

        [TestMethod]
        public void NoSolution()
        {
            Assert.AreEqual("-1 -1", new CF_489C().solve(3, 29));
            Assert.AreEqual("-1 -1", new CF_489C().solve(2, 19));
        }

        [TestMethod]
        public void Test1()
        {
            Assert.AreEqual("69 96", new CF_489C().solve(2, 15));
        }

        [TestMethod]
        public void Test2()
        {
            Assert.AreEqual("18 90", new CF_489C().solve(2, 9));
        }

        [TestMethod]
        public void Test3()
        {
            Assert.AreEqual("9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999", new CF_489C().solve(100, 900));
        }
    }
}
#endif


using System;
using System.IO;

namespace Issue_489C
{
    public class Program
    {
        private byte[] digits;

        public static void Main(string[] args) {
            var m = IO.Read();
            var s = IO.Read();

            var min = GetMinimal(m, s);
            if (min == -1) {
                Console.WriteLine("-1 -1");
            } else {
                var max = GetMaximum(m, s);
                Console.WriteLine(min + " " + max);
            }
        }

        private static int GetMinimal(int m, int s) {
            var ninesCount = s / 9;
            var firstDigit = s % 9;
            var isAllNines = firstDigit == 0;
            var digitsRequired = ninesCount + (isAllNines ? 0 : 1);

            if (digitsRequired > m) {
                return -1;
            }

            var number = Pow(10, m - 1);

            if (digitsRequired == m) {
                var backward = (number / 10);

                return isAllNines
                    ? number - 1
                    : firstDigit * backward + backward - 1;
            }

            var middlePower = Pow(10, ninesCount);
            return number / 10 + (firstDigit - 1) * middlePower + middlePower - 1;
        }

        private static int GetMaximum(int m, int s) {
            var ninesCount = s / 9;
            var firstDigit = s % 9;

            var number = Pow(10, m);
            var backward = Pow(10, m - ninesCount);

            return (number - 1) - (backward - 1) + firstDigit * (backward / 10);
        }

        private static long Pow(int base, int exp) {
            long result = 1;

            while (exp > 0) {
                if ((exp & 1) != 0)
                    result *= base;

                exp >>= 1;
                base *= base;
            }

            return result;
        }
    }

    public static class IO {
        static IO() {
            Reader = new StreamReader(
                Console.OpenStandardInput(sizeof(int)),
                System.Text.Encoding.ASCII,
                false,
                sizeof(int),
                false);
        }

        public static StreamReader Reader {
            get; set;
        }

        public static string ReadLine() {
            return Reader.ReadLine();
        }

        public static int Read() {
            const int zeroCode = (int) '0';

            int result = 0;
            int digit;
            int cache1;
            int cache2;

            var isNegative = false;
            var symbol = Reader.Read();

            while (symbol == ' ') {
                symbol = Reader.Read();
            }

            if (symbol == '-') {
                isNegative = true;
                symbol = Reader.Read();
            }

            for ( ;
                (symbol != -1) && (symbol != ' ');
                symbol = Reader.Read()
            ) {
                digit = symbol - zeroCode;

                if (digit < 10 && digit >= 0) {
                    cache1 = result << 1;
                    cache2 = cache1 << 2;
                    result = cache1 + cache2 + digit;
                } else {
                    if (symbol == 13)         // if symbol == \n
                        Reader.Read();        // skip next \r symbol
                    break;
                }
            }

            return isNegative ? ~result + 1 : result;
        }

        public static char ReadChar() {
            var symbol = Reader.Read();

            while (symbol == ' ') {
                symbol = Reader.Read();
            }

            if (symbol == 13) {        // if symbol == \n
                Reader.Read();         // skip next \r symbol
                symbol = Reader.Read();
            }

            return (char) symbol;
        }
    }
}


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

namespace q489c
{
    class Program
    {
        static void Main(string[] args)
        {
            var inputLine = Console.ReadLine();
            var tokens = from token in inputLine.Split(" ")
                         select Int32.Parse(token);
            var inputM = tokens.ElementAt(0); // length of number as a word
            var inputS = tokens.ElementAt(1); // sum of the digits
            var m = inputM;
            var s = inputS;
            var resultMin = "";
            var resultMax = "";
            var digits = new List<Int32>();

            while (digits.Count < inputM)
            {
                if (s == 0)
                {
                    digits.Add(0);
                }
                else if (s > 9)
                {
                    digits.Add(9);
                    s -= 9;
                }
                else
                {
                    digits.Add(s);
                    s = 0;
                }
            }

            if (s == 0 && digits.Count == inputM && digits.ElementAt(0) > 0)
            {
                resultMax = String.Join("", digits);

                digits.Sort();

                if (digits[0] == 0)
                {
                    for (var i = 0; i < digits.Count; i++)
                    {
                        if (digits[i] > 0)
                        {
                            digits[i]--; // borrow
                            break;
                        }
                    }

                    digits[0] = 1;
                }

                resultMin = String.Join("", digits);
                Console.WriteLine("{0} {1}", resultMin, resultMax);
            }
            else
            {
                Console.WriteLine("-1 -1");
            }
            // Out of bound
            // Upper bound: 9*m < s
            // lower bound: s < 1

            // 5, 10
            // Minimum will be 10009
            // Maximum will be 90001
            // 3, 15
            // XXX
            // Minimum will be 159
            // Maximum will be 960
        }
    }
}


using System;

namespace длина_и_сумма
{
    class Program
    {
        static int numberLength;
        static int symbolsSum;

        static void Main(string[] args)
        {
            string str = Console.ReadLine();
            string[] strArr = str.Split(" ");
            numberLength = int.Parse(strArr[0]); // Длина числа
            symbolsSum = int.Parse(strArr[1]); // Сумма цифр

            Console.WriteLine(GetMin() + " " + GetMaximum());
            /*
            100
            n = 3 Нулей = n - 1
            s = 15
            10059 -> 90000
             */
             // 10059
        }

        static int GetMin()
        {
            if (9 * numberLength < symbolsSum || symbolsSum == 0)
            {
                return -1;
            }
            // 5
            // 3

            // 30000
            int[] symbols = new int[numberLength];

            int currentSymbolsSum = symbolsSum;

            int i = numberLength - 1;
            // 3 0
            for (; i >= 0; i--)
            {
                if (currentSymbolsSum > 9)
                {
                    symbols[i] = 9;
                    currentSymbolsSum -= symbols[i];
                }
                else
                {
                    symbols[i] = currentSymbolsSum;
                    break;
                }
            }
            if (symbols[0] == 0)
            {
                symbols[0] = 1;
                symbols[i] = symbols[i] - 1;
            }

            return int.Parse(string.Join("", symbols));
        }

        static int GetMaximum()
        {
            if (9 * numberLength < symbolsSum || symbolsSum == 0)
            {
                return -1;
            }
            int[] symbols = new int[numberLength];
            // symbols[0] = 9. symbols[1] = 0. symbols[2] = 0
            // numberLength = 3
            // currentSymbolsSum = 25
            // 960
            // currentSymbolsSum = 6
            int currentSymbolsSum = symbolsSum;
            for (int i = 0; i < numberLength; i++)
            {
                if (currentSymbolsSum >= 9)
                {
                    symbols[i] = 9;
                    currentSymbolsSum -= symbols[i];
                }
                else
                {
                    symbols[i] = currentSymbolsSum;
                    break;
                }
            }
            return int.Parse(string.Join("", symbols));
        }
    }
}


using System;
using System.IO;

// Powered by caide (code generator, tester, and library code inliner)

class Solution
{
    public void solve(TextReader input, TextWriter output)
    {
        long a = -1, b = -1;
        var read = input.ReadLine().Split(' ');
        int m = int.Parse(read[0]);
        int s = int.Parse(read[1]);

        if (m == 1)
        {
            a = s;
            b = s;
        }

        int minSum = 1;
        int maxSum = 9 * m;

        long base9Sums = 9 * (m - 1);

        if (s >= minSum && s <= maxSum)
        {
            var root = Math.Pow(10, m - 1);

            for (int i = 1; i <= 9; i++)
            {
                if (a != -1)
                {
                    bool touched = false;
                    while (s > i && s < base9Sums + i && i <= 9)
                    {
                        touched = true;
                        ++i;
                    }

                    if (touched)
                    {
                        --i;
                    }
                }

                if (s <= base9Sums + i)
                {
                    long begin = (long)(i * root);
                    long end = (long)((i + 1) * root);

                    long memorizeSum = i;
                    long n = begin;
                    for (long j = begin; j < end; j++)
                    {
                        ++n;

                        if (n % 10 == 0)
                        {
                            memorizeSum = SumTheDigits(n);
                        }
                        else
                        {
                            memorizeSum++;
                        }

                        if (memorizeSum == s && a == -1)
                        {
                            a = n;
                            break;
                        }

                        if (memorizeSum == s)
                        {
                            b = n;
                        }
                    }
                }
            }
        }

        output.WriteLine(a + " " + b);

    }

    private long SumTheDigits(long number)
    {
        long sum = 0;
        while (number / 10 != 0)
        {
            number = number / 10;
            sum += number % 10;
        }

        return sum;
    }
}


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


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elephant", "Elephant\Elephant.csproj", "{2F52C479-BD12-4423-B9BD-4B91B37CAD56}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{2F52C479-BD12-4423-B9BD-4B91B37CAD56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2F52C479-BD12-4423-B9BD-4B91B37CAD56}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2F52C479-BD12-4423-B9BD-4B91B37CAD56}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2F52C479-BD12-4423-B9BD-4B91B37CAD56}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


using System;
class Task
{
    static void Main()
    {
        int n=int.Parse(Console.ReadLine());
        Console.WriteLine((x+4)/5);

    }

}


#include <iostream>

using namespace std;

int main()
{
        int n, ans;
        cin >> n;
        ans = (n + 4) / 5;
        cout << ans << endl;
}


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

namespace TasksCodeForce
{
    class Program
    {
        static void Main(string[] args)
        {
            int nPositionOfElephant = 0;
            int xPositionFriend = int.Parse(Console.ReadLine());
            int counts = 0;

            do
            {
                if (xPositionFriend >= 5)
                {
                    xPositionFriend -= 5;
                    counts++;
                }
                else if (xPositionFriend >= 4)
                {
                    xPositionFriend -= 4;
                    counts++;
                }
                else if (xPositionFriend >= 3)
                {
                    xPositionFriend -= 3;
                    counts++;
                }
                else if (xPositionFriend >= 2)
                {
                    xPositionFriend -= 2;
                    counts++;
                }
                else if (xPositionFriend >= 1)
                {
                    xPositionFriend -= 1;
                    counts++;
                }
            } while (xPositionFriend > nPositionOfElephant);

            Console.WriteLine(counts);
        }
    }
}


 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;
using System.Collections.Generic;

namespace Pr1
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			List < int > num = new List<int>();
			num.Add(Console.Read());
			int n = 10, m = 10;
			int[,] a = new int[n, m];
			/*char c;
			double a, b;
			Console.WriteLine("Введите выражение: ");
			a = Convert.ToDouble(Console.ReadLine());
			c = Convert.ToChar(Console.ReadLine());
			b = Convert.ToDouble(Console.ReadLine());
			rt.complex.test(a, b, c);
			Random r = new Random();
			int a = r.Next(1, 6);
			//a = Convert.ToInt32(Console.ReadLine());
			var c = a / 1f;
			Console.WriteLine(c);
			Console.ReadKey();*/
			/*DateTime dat = DateTime.Now;
			Console.WriteLine("Today is {0:d} at {0:T}.", dat);*/
			int n;
			n = Convert.ToInt32(Console.ReadLine());
			int[] a = new int[n];
			for (int i = 0; i < a.Length; ++i)

				a[i] = Convert.ToInt32(Console.ReadLine());
			for (int i = 0; i < a.Length; ++i)
				Console.WriteLine(i + " - " + a[i]);
		Console.ReadKey();
		}
	}
}
namespace rt
{
	class complex
	{
		public static void test(double a, double b, char c)
		{
			double result = 0;
			switch (c)
			{
				case '-':
					result = a - b;
					break;
				case '+':
					result = a + b;
					break;
				case '*':
					result = a * b;
					break;
				case '/':
					result = a / b;
					break;
				default:
					break;
			}
					Console.WriteLine("= " + result);
		}
	}
}


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);
        }
    }

}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.421
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp", "ConsoleApp2\ConsoleApp.csproj", "{FE4F9EFB-6EB7-45D0-8A7C-F1774531687A}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{FE4F9EFB-6EB7-45D0-8A7C-F1774531687A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FE4F9EFB-6EB7-45D0-8A7C-F1774531687A}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FE4F9EFB-6EB7-45D0-8A7C-F1774531687A}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FE4F9EFB-6EB7-45D0-8A7C-F1774531687A}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {C6F93DDA-A211-42C0-A067-272667A313D5}
	EndGlobalSection
EndGlobal


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


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

namespace Proj
{
	internal static class Program
	{

		private 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);

			// 	Так как надо так и правильно!
		}

	}
}


 int x = int.Parse(Console.ReadLine());
            if (x % 5 == 0)
            {
                Console.WriteLine(x / 5);
            }
            else
            {
                int y = x % 5;
                Console.WriteLine((x / 5 )+ 1);
            }


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


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();

    }
}

}


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


using System; using System.Linq;

class P {
  static void Main() {
    var s = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
    var n = s[0]; var m = s[1]; var t = s[2];
    var res = 0L;
    for (var nn = 4 ; nn <= n; nn++) {
      var mm = t - nn;
      if (mm < 0 || mm > m) continue;
      res += Comp(nn,n)*Comp(mm,m);
    }
    Console.WriteLine(res);
  }
  static long Comp(m,n) {
    var result 1L;
    for (var i = m+1 ; i <= n ; i++) result *= i;
    for (var i = 2 ; i <= n-m ; i++) result /= i;
    return result;
  }
}


using System; using System.Linq;

class P {
  static void Main() {
    var s = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
    var n = s[0]; var m = s[1]; var t = s[2];
    var res = 0L;
    for (var nn = 4 ; nn <= n; nn++) {
      var mm = t - nn;
      if (mm < 0 || mm > m) continue;
      res += Comp(nn,n)*Comp(mm,m);
    }
    Console.WriteLine(res);
  }
  static long Comp(int m, int n) {
    var result 1L;
    for (var i = m+1 ; i <= n ; i++) result *= i;
    for (var i = 2 ; i <= n-m ; i++) result /= i;
    return result;
  }
}


using System; using System.Linq;

class P {
  static void Main() {
    var s = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
    var n = s[0]; var m = s[1]; var t = s[2];
    var res = 0L;
    for (var nn = 4 ; nn <= n; nn++) {
      var mm = t - nn;
      if (mm < 0 || mm > m) continue;
      res += Comp(nn,n)*Comp(mm,m);
    }
    Console.WriteLine(res);
  }
  static long Comp(m,n) {
    var result 1L;
    for (var i = m+1 ; i <= n ; i++) result *= i;
    for (var i = 2 ; i <= n-m ; i++) result /= i;
    return result;
  }


using System;
using System.Collections.Generic;
namespace helloapp
{
    class Program
    {

        static void Main(string[] args)
        {
            int num = int.Parse(Console.ReadLine());
            int[] lucky = new int[100];
            int count = 0;
            for(int i=0; i<=num;i++){
                string str = i.ToString();
                bool flag = false;
                for(int j=0; j<str.Length; j++){
                    if(str[j]!='4' && str[j]!='7')
                        flag=true;
                }
                if(!flag)
                    lucky[count++]=i;

            }
            for(int i = 0; i<lucky.Length; i++)
                        if(lucky[i]!=0 && (num==lucky[i] || num%lucky[i]==0)){
                        Console.WriteLine("YES");
                        return;
                        }
                      Console.WriteLine("NO");


using System;
namespace searchofaneasyproblem
{
    class Program
    {

        static void Main(string[] args)
        {

			int number = int.Parse(Console.ReadLine());
            Console.WriteLine((n % 4 == 0 || n % 7 == 0 || n % 47 == 0 || n % 74 == 0
				|| n % 477 == 0 || n % 747 == 0 || n % 774 == 0) ? "YES" : "NO");

		}

    }
}


using System;
class Program
{
  static void Main(string[] args)
        {
            int npt = int.Parse(Console.ReadLine());
            int [] nms = {4, 7 , 47, 74, 447, 474, 477, 744, 747, 774};
            string answer = "NO";
            for(int i=0; i<nms.Length; ++i)
            {
                if(npt<nms[i])break;
                if(npt%nms[i]==0)
                {answer = "YES"; break}
            }
            Console.WriteLine(answer);
        }
}


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

namespace Test1
{

    class Program
    {
        static void Main(string[] args)
        {
            int num = int.Parse(Console.ReadLine().Trim());
            int[] luckyNum = new int[] { 4, 7, 47, 74, 447, 474, 477, 747, 774 };
            bool isLucky = false;

            for (int i = 0; i < luckyNum.Length; i++)
            {
                if (num % luckyNum[i] == 0)
                {
                    isLucky = true;
                    break;
                }
            }

            Console.WriteLine(isLucky ? "YES" : "NO");s

        }

    }

}


using System;

namespace _122_A_Lucky_Division
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string n1 = n.ToString();

            if (n1.Contains('1') || n1.Contains('2') || n1.Contains('3')
                || n1.Contains('5') || n1.Contains('6') || n1.Contains('8')
                || n1.Contains('9')|| n1.Contains('0'))
            {
                if(n % 4 == 0 || n % 7 == 0)
                {
                    Console.WriteLine("YES");
                }
                else { Console.WriteLine("NO"); }

            }
            else { Console.WriteLine("YES"); }

        }
    }
}


using System;
using System.Linq;

using System.IO;

namespace SandBox
{
    class Program
    {
        static string Main(string[] args)
        {
            var nums = new int[] {4,7,44,47,74,77,444,447,474,477,744,747,774,777 };
            var x = int.Parse(Console.ReadLine());
            foreach (var number in nums)
            {
                if (x % number == 0)
                    return "YES";
            }
            return "NO";

        }

    }
}


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

namespace Codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            string line = Console.ReadLine();
            int x = Convert.ToInt32(line);
            if(x >= 1 && x<=1000)
            {
            if(x % 4 == 0 || x % 7 == 0 || x % 47 == 0 || x % 74 =0 )
            {
                Console.WriteLine("YES");
            }
            else if (line.Contains('4') || line.Contains('7'))
            {
                int f = 0;
                foreach (char c in line)
                {
                    if (c != '4' && c != '7')
                    {
                        Console.WriteLine("NO");
                        f = 1;
                        break;
                    }
                }
                if (f == 0)
                {
                    Console.WriteLine("YES");
                }
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
    }
}


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

namespace YOLO
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            bool x=false;
            n = Console.ReadLine();
            if(n%4==0 || n%7==0 || n%47==0 || n%74==0 || n%444==0 || n%447==0 || n%474 || n%477==0 || n%744==0 || n%747==0 || n%774==0 || n%777==0){
                x = true;
            }
            if(x==false){
                Console.Write("FALSE");
            }
            else{
                Console.Write("TRUE");
            }

        }
    }
}


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

namespace YOLO
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            bool x=false;
            n = Console.ReadLine();
            if(n%4==0 || n%7==0 || n%47==0 || n%74==0 || n%444==0 || n%447==0 || n%474==0 || n%477==0 || n%744==0 || n%747==0 || n%774==0 || n%777==0){
                x = true;
            }
            if(x==false){
                Console.Write("FALSE");
            }
            else{
                Console.Write("TRUE");
            }

        }
    }
}


using System;
using System.Collections.Generic;
using System.Linq;
namespace rapidPrograming
{
    class Program
    {
        static void Main(string[] args)
        {
            var n= Convert.ToInt32(Console.ReadLine());
            var lucknums = new List<int>();
            for(int i = 0; i < 1000; i++)
            {
                int digit1 = -1;
                int digit2 = -1;
                int digit3 = -1;
                digit1 = i % 10;
                if (i > 9)
                {
                    digit2 = i / 10;

                }
                if (i > 99)
                {
                    digit3 = i / 100;
                    digit2 = (i-(digit3*100)) / 10;

                }

                if (digit1 == 7 || digit1 == 4)
                {
                    if (digit2 == 7 || digit2 == 4||digit2==-1)
                    {
                        if (digit3 == 7 || digit3 == 4||digit3==-1)
                        {
                            lucknums.Add(i);
]                        }
                    }
                }
            }
            foreach(var num in lucknums)
            {
                if (n % num == 0)
                {
                Console.WriteLine("YES");
                    return;
                }
            }

                Console.WriteLine("NO");

        }
    }
}


using System;

 static void Main(string[] args)
        {
            int npt = int.Parse(Console.ReadLine());
            int [] nms = {4, 7 , 47, 74, 447, 474, 477, 744, 747, 774};
            string answer = "NO";
            for(int i=0; i<nms.Length; ++i)
            {
                if(npt<nms[i])break;
                if(npt%nms[i]==0)
                {answer = "YES"; break}
            }
            Console.WriteLine(answer);
        }


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

namespace YOLO
{
    class Program
    {
        static void Main(string[] args)
        {
            string n;
            bool x=false;
            n = Console.ReadLine();
            m = Convert.ToInt32(n);
            if(m%4==0 || m%7==0){
                x = true;
            }

            if(x==false){
                for(int i=0; i<n.Length; i++){
                    if(n[i]!='4' || n[i]!='7'){
                        break;
                    }
                }
            }

            if(x==true){
                Console.Write("YES");
            }
            else{
                Console.Write("NO");
            }
        }
    }
}


using System;
using System.Linq;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Int32.Parse(Console.ReadLine());
            int arr = new[] { 4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 747, 774, 777 };
            Console.WriteLine(arr.Any(x => n % x == 0) ? "YES" : "NO");
        }
    }
}


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

namespace Codeforces__A.Слишком_длинные_слова_
{
    class Program
    {
        static void Main1(string[] args)
        {
            var inputData = Console.ReadLine();
            int n = Convert.ToInt32(inputData);

            string[] words = new string[n];
            string[] shortWords = new string[n];
            for(int i =0; i <n; i++)
            {
                words[i] = Console.ReadLine();
            }
            for (int i = 0; i < n; i++)
            {
                //Console.WriteLine(words[i].Length);

                if(words[i].Length <=10)
                {
                    shortWords[i] = words[i];
                }
                else
                {
                    shortWords[i] = words[i].Substring(0, 1) + (words[i].Length - 2) + (words[i].Substring(words[i].Length - 1, 1));
                }
            }

            for (int i = 0; i < n; i++)
            {
                Console.WriteLine(shortWords[i]);
            }

           //Console.ReadKey();
        }
    }
}