namespace for_codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(((int.Parse(Console.ReadLine()) % 2) == 0) ? "YES" : "NO");
            Console.ReadKey();
        }
    }
}


using system;
class program
{
    static void main()
{
int w;
cosole.read();
if(w%2=1)
console.write("no");
else
console.write("yes");
}
}


using System;
{
    class Program
    {
        static void Main(string[] args)
        {
            byte watermelon = 1;
            Console.Write("What is the weight of the watermelon : ");
            watermelon = byte.Parse(Console.ReadLine());
            if (watermelon <= 100)
            {
                if (watermelon % 2 == 0)
                    Console.WriteLine("Yes");
                else
                    Console.WriteLine("No");
            }
            else
                Console.WriteLine("sorry the weight of the watermelo must be under or equal 100 pleas try again");
            Console.ReadKey();
        }
    }
}


n = int(input());

if (n > 1 && n % 2 == 0);
    print("YES");
else
    print("NO");


if (w % 2 == 0)
                Console.Write("YES");
            else Console.Write("NO");


using System;
class watermelone
{
    void main()
    {
        sbyte w;
        w = Convert.ToSByte(Console.ReadLine());
        if (w % 2 == 0)
            Console.Write("Yes\n");
        else
            Console.Write("No\n");
        Console.ReadKey();
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29613.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Watermelon", "Watermelon.csproj", "{FE664089-017E-4CA2-8E32-05B760325D39}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{FE664089-017E-4CA2-8E32-05B760325D39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FE664089-017E-4CA2-8E32-05B760325D39}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FE664089-017E-4CA2-8E32-05B760325D39}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FE664089-017E-4CA2-8E32-05B760325D39}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {33726527-E358-426C-802F-152BB8255C8E}
	EndGlobalSection
EndGlobal


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

 namespace Dcoder
 {
 	public class Program
 	{
 		public static void Main(string[] args
 			{
 			int A;
 			A=int.Parse(Console.ReadLine());
 			if(A%2==0)
 			{
 				Console.WriteLine("YES");
 			}
 			else if(A<=2)
 			{
 				Console.WriteLine("NO");
 			}
 			else
 			{
 				Console.WriteLine("NO");
 			}
 			Console.ReadKey(true);
 		}
 	}
 }


using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
using static System.Math;
class Z { static void Main() => new K(); }
class K
{
	int F => int.Parse(Str);
	long FL => long.Parse(Str);
	int[] G => Strs.Select(int.Parse).ToArray();
	long[] GL => Strs.Select(long.Parse).ToArray();
	string Str => ReadLine();
	string[] Strs => Str.Split(new char[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
	const int MOD = 1000000007;
	public K()
	{
		SetOut(new StreamWriter(OpenStandardOutput()) { AutoFlush = false });
		Solve();
		Out.Flush();
	}
	(int a, int b) A(int x) => (x / 2, x + 1);
	int B(object x) => x is int a ? a : throw new Exception();
	int C(object x)
	{
		switch (x)
		{
			case int n when n > 0: return n;
			case int n: return -n;
			case string s: return s.Length;
			default: return 0;
		}
	}
	string hoge;
	public string Name
	{
		get => hoge;
		set => hoge = value;
	}
	void Solve()
	{
		int f(int n) => n >= 1 ? n * f(n - 1) : 1;
		var w = F;
		var (a, _) = A(w);
		WriteLine(w > 2 && w % 2 == 0 ? "YES" : "NO");
		if (w < 0)
		{
			var b1 = 0b1111_0000;
			var s = Str;
			if (int.TryParse(s, out var c)) WriteLine(c + b1);
		}
	}
	static ref int Max(ref int x, ref int y)
	{
		if (x < y) return ref y;
		return ref x;
	}
}


 string weight0;
            int weight;

           weight0 = Console.ReadLine();
            weight = Convert.ToInt32(weight0);

            if (weight % 2 == 0 && weight != 2)
            {
                Console.WriteLine("YES");

            }

            else
            {
                Console.WriteLine("NO");

            }


<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" 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>{B7A39387-4E95-43B4-BE96-7057A8E7B587}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>arbuz_01</RootNamespace>
    <AssemblyName>arbuz_01</AssemblyName>
    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </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" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>


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

class Startup
{
    static void Main()
    {
        int total = int.Parse(Console.ReadLine());
        Console.WriteLine(total % 2 == 0 ? 'YES' | 'NO' );
    }

}


using System;

public class Program
{
    public static void Main(string[] args)
    {
        var input = int.Parse(System.IO.File.ReadAllText(args[0]))
        Console.Writeline(input % 2 == 0 ? "YES" : "NO")
    }
}


using System;
using System.Text;

class Solution{

	static void Main(String [] args){
		int n = int.Parse(Console.Readline());

		if(n > 3 || n % 2 == 0)
			Console.WriteLine("YES");
		else
			Console.WriteLine("NO");
	}
}


using System;

static void Main(){
    var mass = int.Parse(Console.ReadLine());
    if (mass < 4 || mass%2 != 0)
      Console.Write("NO");
    else Console.Write("YES");
}


using System;

namespace CodeForces
{
    class A4
    {
        static void Main()
        {
            Console.WriteLine(((float)weigh/2));
            if(((float)weigh/2)%2 == 0)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
}


namespace CodeForces {
    public class Problem4A {
        public static void Main(string[] args) {
            int.TryParse(Console.ReadLine(), int a);
            Console.WriteLine(a % 2 == 0 ? "YES" : "NO");
        }
    }
}


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

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

            if (w % 2 == 0)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
}


using System;

namespace watermelon
{
    class Program
    {
        static void Main(string[] args)
        {
            int w = 0;
            int.TryParse(Console.ReadLine(), out w);
            if (w < 1 || w > 100 {
                System.Console.WriteLine("NO");
            } else {
              if (w % 2 == 0)
                {
                    System.Console.WriteLine("YES");
                } else {
                    System.Console.WriteLine("NO");
                }
            }
        }
    }
}


public class Program {
static void Main()
{
	int total = int.Parse(Console.ReadLine());
	Console.WriteLine(total % 2 == 0 ? 'YES' : 'NO' );
}
}


using System;
class Program
{
    static int Main()
    {
        int w = Int32.Parse(Console.ReadLine());
        if(w%%2=0){
        int a,b;
        a=w/2;
        b=w/2;
        if(a%2==0 && b%2==0)Console.WriteLine("YES");
            else Console.WriteLine("NO");
        }
        else Console.WriteLine("NO");
        return 0;
    }
}


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

namespace Program1
{
    class Program1
    {
        static void Main(string[] args)
        {
            int x, j;

            bool res = false;

            x = Console.ReadKey();

            for(int i = 2; i < 8; i+2)
            {
                j = x - i;

                if(j % 2 == 0)
                    res = true;
            }

            if(res == true)
                Console.WriteLine("YES");
            else
               Console.WriteLine("NO");
        }
    }
}


using System;

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

            int a;
            a = 8;
            a = int.Parse (Console.ReadLine());

            if (( a == 2))
            {
                Console.WriteLine("NO");
            }

            if (( (a % 2 != 0))
            {
                Console.WriteLine("NO");
            }

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

        }
    }
}


    static void Main(string[] args)
        {
            int Weight;

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

            if (Weight < 1 && Weight > 100) return "No";

            for (int i = 2; i <= Weight; i += 2)
            {
                if (Weight % 2 != 0)
                {
                     Console.WriteLine("NO");
                     return;
                }
            }
             Console.WriteLine("NO");

        }


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

namespace ConsoleApplication13
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("enter w");
            int w = int.Parse(Console.ReadLine());
           if(w%2==0)
               Console.WriteLine("yes");
           else if(w==2)
               Console.WriteLine("no");
           else Console.WriteLine("no");
           console.read();
        }
    }
}


            byte w;
            Console.WriteLine("Enter the number: ");
            w = Convert.ToByte(Console.ReadLine());
            if (w % 2 == 0)
                Console.WriteLine("Yes");
            else
                Console.WriteLine("No");
            Console.ReadKey();


class Program

    {

        static void Main(string[] args)

        {
			int w = Console.Read();
			if ((w-2)%2==0)
			{
				Console.WriteLine("YES");
			}
        }

    }


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

namespace Codeforces
{
    class Program
    {
        static Main(string[] args)
        {
            int w;

            if (w % 2 == 0)
            {
                return "YES";
            }
            else
            {
                return "NO";
            }
        }
    }
}


 class Program
    {
        static void Main(string[] args)
        {
            string weight0;
            int weight;

           weight0 = Console.ReadLine();
            weight = Convert.ToInt32(weight0);

            if (weight % 2 == 0 && weight != 2)
            {
                Console.WriteLine("YES");

            }

            else
            {
                Console.WriteLine("NO");

            }

        }
    }


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

namespace ConsoleApplication4
{
class Program
{
    static void Main()
    {
        int w;
        w = int .parse(Console.ReadLine()) ;        if(w%2==1)
            console.write("no");
        else
            console.write("yes");
    }
}
}


using System;

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

            int a;
            a > 0;
            a = int.Parse (Console.ReadLine());

            if (( a % 4 == 0))
            {
                Console.WriteLine("YES");
            }

            else if (( a+2 % 4 == 0))
            {
                Console.WriteLine("YES");
            }

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

        }
    }
}


using System;
amespace MON_PROJEC1
{
    class Program
    {
        static void Main(string[] args)
        {
            int w     ;
            Console.WriteLine("the weight of the watermelon bought");
            w = int.Parse(Console.ReadLine());

   if (w % 2 ==0 )
            {
                Console.WriteLine("YES");

            }

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

        }
    }
}


<?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>{FC6F239C-0743-41DF-8B79-D5E8087150B1}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>_4A</RootNamespace>
    <AssemblyName>4A</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </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;

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

            int a;
            a = 8;
            a = int.Parse (Console.ReadLine());

            if (  a % 4 == 0 && a/2 % == 0)
            {
                Console.WriteLine("YES");
            }

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

        }
    }
}


using System;

namespace ConsoleApp6

{

    public class Program
    {
        static void Main()
        {
            int input = int.Parse(Console.ReadLine());
            if (input % 2 != 0 || input == 2)
            {
                Console.WriteLine("No");
            }
            else
            {
                Console.WriteLine("Yes");
            }

        }
}


            Console.Write("enter the weight of the watermelon: ");
            byte w = byte.Parse(Console.ReadLine());
            if(w%2==0&&w>2)
            {
                Console.WriteLine("yes");
            }
            else
            {
                Console.WriteLine("no");
            }


using System;
class Program{
    static void Main(){
        int x = int.Parse(Console.ReadLine());
        Console.WriteLine(x > 2 && (x & 1) == 0 ? "YES", "NO");
    }
}


using System;

namespace ConsoleApp9
{
    class Program
    {
        static void Main(string[] args)
        {
            var nbr = int.Parse(Console.ReadLine());

            Console.WriteLine((nbr % 2 == 0 && ((nbr /2) % 2 == 0)  ? "YES" : "NO");
        }
    }
}


class check

{
    public static void main(String[] args)
    {
        int a=int.Parse(Console.ReadLine());
        if(a%2==0)
        {
            Console.WriteLine("YES");
        }
        else
        {
                        Console.WriteLine("NO");

        }
    }
}


class Program
    {
        static void Main(string[] args)
        {
            int w = int.Parse(Console.ReadLine());
            if (w == 2 || w % 2 != 0)
            {
                Console.WriteLine("NO");
            }
            else
            {
                Console.WriteLine("YES");
            }
            Console.ReadKey();

        }
    }


using System;

class Program()
{
    static void Main()
    {
        int w=Convert.ToInt32(Console.ReadLine());
        if (w%2==1)
            Console.WriteLine("NO");
        else
            Console.WriteLine("YES");
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "msp watermelon", "msp watermelon\msp watermelon.csproj", "{EFBC6D34-8A95-4ACC-99BB-51D914FEBA5D}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{EFBC6D34-8A95-4ACC-99BB-51D914FEBA5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{EFBC6D34-8A95-4ACC-99BB-51D914FEBA5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{EFBC6D34-8A95-4ACC-99BB-51D914FEBA5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{EFBC6D34-8A95-4ACC-99BB-51D914FEBA5D}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


using System;

class Program
{
    static void Main()
    {
            int number = int.Parse(Console.ReadLine());
            if (number > 2 && number % 2 == 0)
        {
            Console.WriteLine("YES");
        }
            else
        {
            Console.WriteLine("NO");
        }

    }


        private static string CheckEven(int x)
        {
            if (x%2==0)
            {
                return "YES";
            }
            else
            return "NO";
        }


using System;

namespace Codeforces
{
    class Codeforces
    {
        public static string DivideWatermelon(int w)
        {
            return w % 2 == 0 ? "YES" : "NO";
        }
    }
}


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

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            string weight0;
            int weight;

           weight0 = Console.ReadLine();
            weight = Convert.ToInt32(weight0);

            if (weight % 2 == 0 && weight != 2)
            {
                Console.WriteLine("YES");

            }

            else
            {
                Console.WriteLine("NO");

            }

        }


using System;
public class Program
{
    static void Main(String[]Args)
    {
        int a = Convert.Int32(Console.ReadLine());
        if(a<=2) Console.WriteLine("NO");
        if(a%2==0)Console.Write("YES");
        else Console.WriteLine("NO");
    }
}


using System;

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

            int a;
            a = 2;
            a = int.Parse (Console.ReadLine());

            if (( a == 2))
            {
                Console.WriteLine("NO");

            return 0;
            }

            if (( a % 2 == 0))
            {
                Console.WriteLine("YES");
            }

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

        }
    }
}


            int w = int.Parse(Console.ReadLine());
            if (w%2 == 1)
            {
                Console.WriteLine("NO");
            }
            else
            {
                Console.WriteLine("YES");
            }


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

public class Solution
{
    // insert your code here
    private void Solve()
    {
int a = 5;
output.WriteLine(a / 0);
    }

    bool ONLINE_JUDGE;

    public static void Main(string[] args)
    {
            new Solution().Run();
    }

    public void Run()
    {
            try
            {
                    Init();
                    Solve();
                    output.Close();
            }
            catch (Exception e)
            {
                if (ONLINE_JUDGE) throw e;
                else Console.WriteLine(e);
            }
    }

    private TextReader input;
    private TextWriter output;

    private string[] INPUT_BUFFER;
    private int INPUT_BUFFER_INDEX;

    private char[] DELIMITERS = new char[] { ' ', '\t' };

    private void Init()
    {
    #if (ONLINE_JUDGE)
        ONLINE_JUDGE = true;
    #else
        ONLINE_JUDGE = false;
    #endif

        if (ONLINE_JUDGE)
        {
            input = Console.In;
            output = Console.Out;
        }
        else
        {
            string projectPath = Path.GetFullPath(@"..\..\");
            input = new StreamReader(new FileStream(projectPath + "input.txt", FileMode.OpenOrCreate));
            output = new StreamWriter(new FileStream(projectPath + "output.txt", FileMode.Create));
        }

        INPUT_BUFFER = new string[0];
        INPUT_BUFFER_INDEX = 0;
    }

    private string ReadLine() { return input.ReadLine(); }

    private string ReadString()
    {
            while (INPUT_BUFFER_INDEX == INPUT_BUFFER.Length)
            {
                    INPUT_BUFFER = ReadLine().Split(DELIMITERS, StringSplitOptions.RemoveEmptyEntries);
                    INPUT_BUFFER_INDEX = 0;
            }

            return INPUT_BUFFER[INPUT_BUFFER_INDEX++];
    }

    private int ReadInt() { return Int32.Parse(ReadString()); }

    private long ReadLong() { return Int64.Parse(ReadString()); }

    private double ReadDouble() { return Double.Parse(ReadString()); }
}


using namespace system

class check

{
    public static void main(String[] args)
    {
        int a=int.Parse(Console.ReadLine())
        if(a%2==0)
        {
            Console.WriteLine("YES")
        }
        else
        {
                        Console.WriteLine("NO")

        }
    }
}


Console.WriteLine("sayi");
int sayi=Console.ReadLine();

if(sayi<100 || sayi >=1)
{
    Console.WriteLine("Doğru");
}
else
    Console.WriteLine("Yanlış");

    Console.ReadLine();


static void Main()
{
    Console.WriteLine("Test");
}


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

namespace CSharp {
	class CS {

  	public static void Main (string[] args) {

  	      int Weight;

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

                if (Weight < 1 && Weight > 100) return;

                for (int i = 2; i <= Weight; i += 2)
                {
                    if (Weight % 2 != 0)
                    {
                        Console.Write("NO");
                        return
                    }
                }
                Console.Write("NO");
        	}
    	}
	}


using System.Linq;
using System;

namespace cs
{
    class Program
    {
        static void Main(string[] args)
        {
            double n = Convert.ToDouble(Console.ReadLine());
            if((n - 2.0) % 2.0) {
              Console.WriteLine("YES");
            } else {
              Console.WriteLine("NO");
            }
        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Watermelon", "Watermelon\Watermelon.csproj", "{01E423C6-E470-4648-9471-6581DAB6EE6B}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{01E423C6-E470-4648-9471-6581DAB6EE6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{01E423C6-E470-4648-9471-6581DAB6EE6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{01E423C6-E470-4648-9471-6581DAB6EE6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{01E423C6-E470-4648-9471-6581DAB6EE6B}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


namespace check1
{
    class Program
    {
        static void Main(string[] args)
        {
            int i;
            Console.Write("Enter a Number : ");
            i = int.Parse(Console.ReadLine());
            if (i % 2 == 0 && i > 2)
            {
                Console.Write("YES");
                Console.Read();
            }
            else
            {
                Console.Write("NO");
                Console.Read();
            }
        }
    }
}


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

namespace Watermelon
{
    class Program
    {
        static void Main(string[] args)
        {
            byte weight = short.Parse(Console.ReadLine());
            if (weight % 2 == 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 ConsoleApplication4
{
class Program
{
    static void Main()
    {
        int w;
        console.read(w);
        if(w%2==1)
            console.write("no");
        else
            console.write("yes");
    }
}
}


using System
namespace Program1
{
    class Program1
    {
        static void Main()
        {
            int x, i, j;

            bool res = false

            x = Console.ReadKey();

            for(i = 2; i < 8; i+2)
            {
                j = x - i;

                if(j % 2 == 0)
                    res = true;
            }

            if(res == true)
                Console.WriteLine("YES");
            else
               Console.WriteLine("NO");
        }
    }
}


using System;
class Watermelon{
    static public void Main(){
        //string tmp = Console.ReadLine();
        int n=Console.ReadLine();//int.Parse(tmp);
        if(n%2==0&&n>2)Console.WriteLine("YES");
        else Console.WriteLine("NO");
    }
}


using System;

class A{
    static void Main(){
        int N = int.Parse(Console.ReadLine());
        string ans = "No";
        for (int i = 2; i < N/2; i+2){
            if (N / i % 2 == 0) ans = "Yes";
        }
        Console.WriteLine(ans);
    }
}


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

namespace for_codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            Console.WriteLine(((n % 2) == 0) && ( n!= 2)) ? "YES" : "NO");
        }
    }
}


string w = Console.ReadLine();
            try {
                int weight = Convert.ToInt32(w);
                if (1 <= weight && weight <= 100) {
                    if (weight % 2 == 0) {
                        Console.WriteLine("YES");
                    } else {
                        Console.WriteLine("NO");
                    }
                }
            } catch (Exception e) {

            }


using System;

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

            int a;
            a = 8;
            a = int.Parse (Console.ReadLine());

            if (  a % 4 == 0 && (a/2) % == 0)
            {
                Console.WriteLine("YES");
            }

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

        }
    }
}


using System;
using System.Reflection;

[assembly: FSharpInterfaceDataVersion(2, 0, 0)]
[assembly: AssemblyVersion("0.0.0.0")]
[CompilationMapping(SourceConstructFlags.Module)]
public static class _
{
    [EntryPoint]
    public static int main(string[] args)
    {
        int num = LanguagePrimitives.ParseInt32(Console.ReadLine());
        object value;
        switch (num)
        {
            default:
                value = ((num % 2 != 1) ? "YES" : "NO");
                break;
            case 2:
                value = "NO";
                break;
        }
        Console.WriteLine((string)value);
        return 0;
    }
}


using System;

namespace watermelon
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Console.Read();
            int k = (x > 2 && x % 2 < 1) ? 1 : 0;
            Console.WriteLine((k > 0 ? "YES" : "NO");
        }
    }
}


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

namespace CSharp {
	class CS {

  	public static void Main (string[] args) {

  	      int Weight;

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

                if (Weight < 1 && Weight > 100) return "No";

                for (int i = 2; i <= Weight; i += 2)
                {
                    if (Weight % 2 != 0)
                    {
                        Console.Write("NO");
                        return
                    }
                }
                Console.Write("NO");
        	}
    	}
	}


namespace AdhocProblems
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter a watermelon weight:");
            double w = Convert.ToDouble(Console.ReadLine()); //watermelon in kilograms
            if (w < 1 && w > 100)
            {
                Console.WriteLine("NO");
                Console.ReadLine();
            }

            if (w <= 2)
            {
                Console.WriteLine("NO");
                Console.ReadLine();
            }

            if (w <= 2)
            {
                Console.WriteLine("NO");
                Console.ReadLine();
            }
            if (w % 2 == 0)
            {
                Console.WriteLine("YES");
                Console.ReadLine();
            }
            else
            {
                Console.WriteLine("NO");
                Console.ReadLine();
            }
        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2046
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp3", "ConsoleApp3\ConsoleApp3.csproj", "{FC3E7230-C702-44DF-97C4-304B435F1342}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{FC3E7230-C702-44DF-97C4-304B435F1342}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FC3E7230-C702-44DF-97C4-304B435F1342}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FC3E7230-C702-44DF-97C4-304B435F1342}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FC3E7230-C702-44DF-97C4-304B435F1342}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {109DB6DC-D188-4FB8-82B9-897668CD3506}
	EndGlobalSection
EndGlobal


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

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

            int x = 0;
            x =Int32.Parse( Console.ReadLine());
            var res=test(x);
        }

       public static string test(int i)
        {
            if (i>=1 && i<=100)
            {
                var res = i % 2;
                if (res == 0)
                {
                    var res2 = (i / 2) % 2;
                    if (res2 == 0)
                    {
                        return "YES";
                    }
                    else
                    {
                        return "NO";
                    }

                }
                else
                    return "NO";

            }

        }
    }
}


using System;
using System.Text;

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

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

        if ( (weight % 2 == 0) && weight != 2)
        {0
            Console.Write("YES");
        }
        else
        {
            Console.Write("NO");
        }

        //Console.ReadKey();
    }
}


using System;

        static void Main(string[] args)
        {
            int w   ;
            w = int.Parse(Console.ReadLine());
 if (w > 2    && w % 2 == 0){ Console.WriteLine("yes"); }
 else  {  Console.WriteLine("no"); }

             }


using System;

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

            int a;
            a = 8;
            a = int.Parse (Console.ReadLine());

            if (( a == 2))
            {
                Console.WriteLine("NO");
            }

            if (( (a % 2) == 0))
            {
                Console.WriteLine("YES");
            }

            else if  (a/2 % 2) == 1)
            {
                Console.WriteLine("NO");
            }

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

        }
    }
}


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

namespace Program1
{
    class Program1
    {
        static void Main(string[] args)
        {
            int x, j;

            bool res = false;

            x = Int32.Parse(Console.ReadKey());

            for(int i = 2; i < 8; i+2)
            {
                j = x - i;

                if(j % 2 == 0)
                    res = true;
            }

            if(res == true)
                Console.WriteLine("YES");
            else
               Console.WriteLine("NO");
        }
    }
}


using System;

int x= Convert.ToInt32(Console.ReadLine());
if(x%2==0)

{
return "Yes"
}
else
{
return "No"
}


using System;
class program
{
     Public static void Main()
     {
          int x = Convert.ToInt32(Console.ReadLine());
          if(x==2) Console.WriteLine("NO");
          else if(x%2==0) Console.WriteLine("YES");
          else Console.WriteLine("NO");
     }
}


static void Main(string[] args)
        {
            var result = Calculate();

            Console.WriteLine(result);
        }

        private static string Calculate()
        {
            var input = Console.ReadLine();

            var totalWeight = Int32.Parse(input);

            for (var i = 2; i < totalWeight - 2; i += 2)
            {
                var rest = totalWeight - i;

                if (rest%2 == 0)
                {
                    return "YES";
                }
            }

            return "NO";
        }


class TestClass
{
    static void Main(string[] args)
    {
        int num = Convert.ToInt32(Console.ReadLine());
        if (num < 4)
        {
            Console.WriteLine("NO");
        }
        else
        {
            if ((num - 2) % 2 == 0)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
}


using System;

namespace TestFSharpTranslation
{
    public class Program
    {
        public static int Main(string args)
        {
            int num = int.Parse(Console.ReadLine());
            object value;
            switch (num)
            {
                default:
                    value = ((num % 2 != 1) ? "YES" : "NO");
                    break;
                case 2:
                    value = "NO";
                    break;
            }
            Console.WriteLine((string)value);
            return 0;
        }
    }
}


class check

{
    public static void Main()
    {
        int a=int.Parse(Console.ReadLine());
        if(a%2==0)
        {
            Console.WriteLine("YES");
        }
        else
        {
                        Console.WriteLine("NO");

        }
    }
}


using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net;
using System.Linq;
using System.Collections.Generic;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            string test = Console.ReadLine();
            if (Convert.ToInt32(test)%2 == 0)
            {
                Console.WriteLine("YES");
            }
        }
    }
}


    class Program
    {
        static void Main(string[] args)
        {
            bool can =canBeDividet(98);
            if (can) {
                Console.WriteLine("YES");
            }
            else{
                Console.WriteLine("NO");
            }
            Console.WriteLine(can);
            Console.ReadKey();
        }

        public static bool canBeDividet(int number) {
            bool flag = false;

            for (int i = 2; i < number; i +=2) {
                if (((number - i) % 2) == 0) {
                    flag = true;
                    break;
                }
            }

            return flag;
        }
    }


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}") = "ConsoleApplication3", "ConsoleApplication3\ConsoleApplication3.csproj", "{60F599DD-9CE4-4AD9-B07D-1214E487FF1E}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{60F599DD-9CE4-4AD9-B07D-1214E487FF1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{60F599DD-9CE4-4AD9-B07D-1214E487FF1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{60F599DD-9CE4-4AD9-B07D-1214E487FF1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{60F599DD-9CE4-4AD9-B07D-1214E487FF1E}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


using System;
class Program
{
	public static void Main() {
		var n = int.Parse(Console.ReadLine());
		Console.WriteLine(n > 5 && n % 2 == 0 ? "YES" : "NO");
	}
}
Program.Main();


using System;
using System.Text;

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

        int weight = Convert.ToInt32(Console.Read())

        if ( (weight % 2 == 0) && weight != 2)
        {0
            Console.Write("YES");
        }
        else
        {
            Console.Write("NO");
        }

        //Console.ReadKey();
    }
}


        static void
           Main(string[] args)
        {
            int w;
            Console.WriteLine("");
            w = int.Parse(Console.ReadLine());

            if (w>1 && w<100)
            {
                if (w%2==0)
                {
                    Console.WriteLine("Yes");
                }
                else
                {
                    Console.WriteLine("No");
                }

            }
        }


int w;

            if (w % 2 == 0)
                Console.Write("YES");
            else Console.Write("NO");


using System;
namespace BigO_Chapter
{
    class Program
    {
        static void Main(string[] args)
        {
            int Weight;

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

            if (Weight < 1 && Weight > 100) return "No";

            for (int i = 2; i <= Weight; i += 2)
            {
                if (Weight % 2 != 0)
                {
                    return "NO";
                    Console.WriteLine("NO");
                }
            }
            Console.WriteLine("NO");
    }
    }


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

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int W = int.Parse(Console.ReadLine());
            if ((W%2) == 0, W != 2)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
}


int X;
w%2 = X;

if (X==0)
{
 console.writeline("YES");
}

if (X==1)
{
 console.writline("NO");
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29728.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWaterMelonCodeForces", "TestWaterMelonCodeForces\TestWaterMelonCodeForces.csproj", "{D17EDBBB-C72E-48B6-A6DD-230748852E77}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D17EDBBB-C72E-48B6-A6DD-230748852E77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D17EDBBB-C72E-48B6-A6DD-230748852E77}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D17EDBBB-C72E-48B6-A6DD-230748852E77}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D17EDBBB-C72E-48B6-A6DD-230748852E77}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {B9FE3301-E39D-4657-B34F-DBB3C6ACD0DB}
	EndGlobalSection
EndGlobal


Console.Write("enter the weight ArgumentOutOfRangeException the watermelon; ");
            int w = int.Parse(Console.ReadLine());
            if(w%2==0&&w>2)
            {
                Console.WriteLine("it can be divided");
            }
            else
            {
                Console.WriteLine("no");
            }


using System;
using System.Data.SqlTypes;
using System.Net.Http;

namespace codeForces
{
    class Program
    {
        static void Main()
        {
            for (int i=0; i < 1 ; i++)
            {
                Watermelon();
            }
        }

        public static void Watermelon()
        {
            int w = Convert.ToInt32(Console.ReadLine());
            int x = w % 2;

            if (w == 2)
            {
                Console.Write("NO");
                goto next;
            }
            if (x == 0)
            {
                Console.Write("YES");
            }
            if (x != 0)
            {
                Console.Write("NO");
            }
            next:
        }
    }
}


using System;

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

            int a;
            a = 7;
            a = int.Parse (Console.ReadLine());

            if ( a-4 % 2 == 0, a > 1, a++)
            {
                Console.WriteLine("YES");
            }

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

        }
    }
}


using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
using static System.Math;
class Z { static void Main() => new K(); }
class K
{
	int F => int.Parse(Str);
	long FL => long.Parse(Str);
	int[] G => Strs.Select(int.Parse).ToArray();
	long[] GL => Strs.Select(long.Parse).ToArray();
	string Str => ReadLine();
	string[] Strs => Str.Split(new char[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
	const int MOD = 1000000007;
	public K()
	{
		SetOut(new StreamWriter(OpenStandardOutput()) { AutoFlush = false });
		Solve();
		Out.Flush();
	}
	(int a, int b) A(int x) => (x / 2, x + 1);
	int B(object x) => x is int a ? a : throw new Exception();
	int C(object x)
	{
		switch (x)
		{
			case int n: return n;
			case string s: return s.Length;
			default: return 0;
		}
	}
	string hoge;
	public string Name
	{
		get => hoge;
		set => hoge = value;
	}
	void Solve()
	{
		int f(int n) => n >= 1 ? n * f(n - 1) : 1;
		var w = F;
		var (a, _) = A(w);
		WriteLine(w > 2 && w % 2 == 0 ? "YES" : "NO");
		if (w < 0)
		{
			var b1 = 0b1111_0000;
			var s = Str;
			if (int.TryParse(s, out var c)) WriteLine(c + b1);
		}
	}
	static ref int Max(ref int x, ref int y)
	{
		if (x < y) return ref y;
		return ref x;
	}
}


using System;
class Program {
    static void Main()
    {
        int n;
        Console.Read (n);
        if (n % 4 == 0) {
            Console.WriteLine ("YES");
        }
        else
        {
            Console.WriteLine ("NO");
        }
    }

}


int[] inputArray = new int[] {10, 12, 10, 7, 5, 22 };
int m = 4;

int[] sortedArray = inputArray.OrderBy(x => x).ToArray();

int lowestDifference = int.MaxValue;
for (int i = m - 1; i < inputArray.Length; ++i)
{
    int firstValue = sortedArray[i - (m - 1)];
    int lastValue = sortedArray[i];
    int difference = lastValue - firstValue;

    if (difference < lowestDifference)
    {
        lowestDifference = difference;
    }
}

return lowestDifference;


static int GetLowestDifference(int[] inputArray, int m)
{
    int[] sortedArray = inputArray.OrderBy(x => x).ToArray();

    int lowestDifference = int.MaxValue;
    for (int i = m - 1; i < inputArray.Length; ++i)
    {
        int firstValue = sortedArray[i - (m - 1)];
        int lastValue = sortedArray[i];
        int difference = lastValue - firstValue;

        if (difference < lowestDifference)
        {
            lowestDifference = difference;
        }
    }

    return lowestDifference;
}


using System;

public class Puzzles{

	public static void Main(){

		String [] inp = Console.ReadLine().Split(' ');
		int a = Int32.Parse(inp[0]);
		int m = Int32.Parse(inp[1]);
		int [] arr = new int[m];

		inp = Console.ReadLine().Split(' ');

		for(int i=0 ; i<m ; i++)
		{
			arr[i] = Int32.Parse(aux[i]);
		}

		Array.Sort(arr);

		int ans = (int)1e9;

		for(int i = a-1 ; i<m ; i++)
		{
			ans = Math.Min(ans,arr[i]-arr[i-a+1]);
		}

		Console.WriteLine(ans);

	}
}


static void Main(string[] args)
        {
            var inputArray = Console.ReadLine().Split(' ');

            int n = Convert.ToInt32(inputArray[0]);
            int m = Convert.ToInt32(inputArray[1]);

            inputArray = Console.ReadLine().Split(' ');

            int[] array = new int[m];

            for (int i = 0; i < array.Length; ++i)
            {
                array[i] = Convert.ToInt32(inputArray[i]);
            }

            var res = GetLowestDifference(array, n);
        }

static int GetLowestDifference(int[] inputArray, int m)
        {
            int[] sortedArray = inputArray.OrderBy(x => x).ToArray();

            int lowestDifference = int.MaxValue;
            for (int i = m - 1; i < inputArray.Length; ++i)
            {
                int firstValue = sortedArray[i - (m - 1)];
                int lastValue = sortedArray[i];
                int difference = lastValue - firstValue;

                if (difference < lowestDifference)
                {
                    lowestDifference = difference;
                }
            }

            return lowestDifference;
        }


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

namespace _337A.Puzzles
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] du = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int[] puzl= Console.ReadLine().Split().Select(int.Parse).ToArray();
            Array.Sort(puzl);
            int diff = puzl[du[0]-1] - puzl[0];
            Console.WriteLine(diff);
        }
    }
}


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

namespace A.Пазлы
{
    class Program
    {
        static void Main(string[] args)
        {
            var nk = Console.ReadLine().Split().Select(int.Parse).ToArray();
            var mas = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int min = 1001;
            int c;

            int k = nk[0];
            int n = nk[1];

            for(int i = 0; i < n - 1; i++)
            {
                for(int j = i; j < n; j++)
                    if(mas[j] < mas[i])
                    {
                        c = mas[j];
                        mas[j] = mas[i];
                        mas[i] = c;
                    }
            }

            for (int i = k - 1; i < n; i++)
                if (mas[i] - mas[i - (k - 1)] < min) min = mas[i] - mas[i - (k - 1)];

            Console.WriteLine(min);

            Console.ReadLine();

        }
    }


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace ConsoleApp1
{
    class Program
    {

        static void Main(string[] args)
        {
           string[] s =Console.ReadLine().Split(' ');
           int m = Convert.ToInt32(s[0]);
           int n = Convert.ToInt32(s[1]);
           int[] ar = new int [n];
           s=Console.ReadLine().Split(' ');
           for (int i=0;i<n;i++)
           ar[i]=Convert.ToInt32(s[i]);
           Array.Sort(ar);
           int min =99999;
           for (int i=0;i<n-m;i++)
           if (ar[i+m-1]-ar[i]<min) min = ar[i+m-1]-ar[i];
           if (min=99999) min=0;
        Console.WriteLine(min);
        }
    }
}


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

namespace ConsoleApplication2
{
    class Program
    {
        static int GetLowestDifference(int[] inputArray, int m)
        {
            int[] sortedArray = inputArray.OrderBy(x => x).ToArray();

            int lowestDifference = int.MaxValue;
            for (int i = m - 1; i < inputArray.Length; ++i)
            {
                int firstValue = sortedArray[i - (m - 1)];
                int lastValue = sortedArray[i];
                int difference = lastValue - firstValue;

                if (difference < lowestDifference)
                {
                    lowestDifference = difference;
                }
            }

            return lowestDifference;
        }
    }
}


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

namespace A._Puzzles
{
    class Program
    {
        static void Main()
        {
            List<int> result = new List<int>();
            int maxDiff = 0, currentDiff = 0;

            string[] data = Console.ReadLine().Split(" ");
            int n = Convert.ToInt32(data[0]);
            int m = Convert.ToInt32(data[1]);

            data = Console.ReadLine().Split(" ");
            List<int> numbers = data.Select(int.Parse).ToList();
            numbers.Sort();

            result.Add(numbers[0]);
            for(int i = 1; i < m; i++)
            {
                if(result.Count < n)
                {
                    maxDiff += (numbers[i] - numbers[i - 1]);
                    result.Add(numbers[i]);
                }
                else
                {
                    currentDiff = (numbers[i] - numbers[i - 1]) + (maxDiff - (result[1] - result[0]));

                    if (currentDiff < maxDiff)
                    {
                        result.RemoveAt(0);
                        result.Add(numbers[i]);
                        maxDiff = currentDiff;
                        currentDiff = 0;
                    }
                    else
                        break;

                }
            }

            Console.WriteLine(maxDiff);

        }
    }
}


class Program
    {
        static void Main(string[] args)
        {
            string input;
            int nStudents;
            int nPuzzles;

            input = Console.ReadLine();
            nStudents = Convert.ToInt32(input.Split(' ')[0]);
            nPuzzles = Convert.ToInt32(input.Split(' ')[1]);

            string[] Puzzles = new string[nPuzzles];
            int[] PuzzlesInt = new int[nPuzzles];

            Puzzles = Console.ReadLine().Split(' ');

            int i = 0;
            while (i < nPuzzles)
            {
                PuzzlesInt[i] = Convert.ToInt32(Puzzles[i]);
                i++;
            }

            Array.Sort(PuzzlesInt);

            int[] StudentPuzzles = new int[nPuzzles-nStudents+1];

            for (int y = nStudents; y <= nPuzzles; y++)
            {
                StudentPuzzles[y-nStudents] = PuzzlesInt[y-1] - PuzzlesInt[y-nStudents];
            }
            Array.Sort(StudentPuzzles);
            Console.WriteLine(StudentPuzzles[0]);
        }
    }


using System;

class Program
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        int count = 0;
        if (n % 2 == 0)
                count = Math.Ceiling((double) n / 4 - 1);
        Console.WriteLine(count);
    }
}


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

namespace Codeforces
{
    class Functions
    {
        public static int ReadInt()
        {
            return int.Parse(Console.ReadLine());
        }

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

        public static string[] ReadLineWithSplit(char split)
        {
            return Console.ReadLine().Split(split);
        }

        public static string[] ReadLines(int count)
        {
            string[] lines = new string[count];
            for (int x = 0; x < count; x++)
            {
                lines[x] = ReadLine();
            }
            return lines;
        }
        public static string ReverseInts(string s)
        {
            string[] charArray = s.Split(' ');
            Array.Reverse(charArray);
            return charArray.Aggregate("", (current, s1) => current + (s1 + " "));
        }
        public static string Reverse(string s)
        {
            char[] charArray = s.ToCharArray();
            Array.Reverse(charArray);
            return charArray.Aggregate("", (current, s1) => current + (s1 + " "));
        }
    }

    class Program
    {
        private static void Main()
        {
            int number = int.Parse(Functions.ReadLine());
            //Console.WriteLine(number);
            var count = 0;

            for (var i = 1; i <= number; i++)
            {
                string iNum = i.ToString();
                if (iNum.Contains('2') || iNum.Contains('3') || iNum.Contains('4') || iNum.Contains('5') || iNum.Contains('6') || iNum.Contains('7') || iNum.Contains('8') || iNum.Contains('9')) continue;

                var bin = true;
                foreach (char c in iNum)
                {
                    if (c != '1' && c != '0')
                    {
                        bin = false;
                        break;
                    }
                }
                if (bin)
                    count++;

                Console.WriteLine($"{i}: {bin}");
                if (iNum == new string('1', iNum.Length))
                    i = int.Parse(new string('9', iNum.Length));
                Console.WriteLine($"{i}: {bin}");

            }

            Console.WriteLine(count);
        }
    }
}


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

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

}

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

    static void Buttons()
    {
        int n = Utils.ReadInt();
        //int ans = n;
        //for(int i = 1; i <= n; i++)
        //{
        //    ans += (n - i) * i;
        //}
        //Console.WriteLine(ans);
        Console.WriteLine(((n*n*n)+5*n)/6);
    }

    static void Lanterns()
    {
        //find the largest gap and divied by two
        int[] n_l = Utils.ReadIntArray();
        List<int> arr = Utils.ReadIntList();
        arr.Sort();
        int max = 0;
        for (int i = 0; i < arr.Count - 1; i++)
        {
            max = Math.Max(max, arr[i + 1] - arr[i]);

        }
        double ans = max / 2.0;
        ans = Math.Max(ans, (double)arr[0] - 0);
        ans = Math.Max(ans, (double)n_l[1] - arr.Last());

        Console.WriteLine(ans.ToString("F10",CultureInfo.GetCultureInfo("en-US")));

    }

    static void Ringroad()
    {
        long count = 0;
        long[] n_m = (from int i in Utils.ReadIntArray() select Convert.ToInt64(i)).ToArray();
        List<long> arr = (from int i in Utils.ReadIntArray() select Convert.ToInt64(i)).ToList();
        arr.Insert(0, 1L);
        for(long i =0; i < (long)arr.Count -1; i++)
        {
            long diff = arr[(int)i + 1] - arr[(int)i];
            count += (( diff >= 0) ? diff : diff + n_m[0]);
        }
        Console.WriteLine(count);
    }

    /// <summary>
    /// brute force works
    /// </summary>
    static void QueueAtSchool()
    {
        int[] n_t = Utils.ReadIntArray();
        char[] line = Console.ReadLine().ToArray();
        for(int i = 0; i < n_t[1]; i++)
        {
            for(int j = 0; j < n_t[0]-1; j++)
            {
                if(line[j] == 'B' && line[j+1] == 'G')
                {
                    line[j] ='G';
                    line[j + 1] = 'B';
                    j++;
                }
            }
        }
        Console.WriteLine(String.Concat(line));

    }

}


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

namespace rg
{
    class Program
    {
        static void Main(string[] args)
        {
            int n,f=1;

            n = int.Parse(Console.ReadLine());
            while(n>1)
            {
                f *= n;
                n--;
            }
            Console.WriteLine(f + 1);
        }

    }


using System;
using System.Numerics;
namespace ConsoleApplication2
{
    class Program
    {

        static void Main(string[] args)
        {
            int n=Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(Math.Pow(2,n)-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}") = "codeForces b", "codeForces b\codeForces b.csproj", "{AC5C3622-C0DC-4791-B43D-D6253527F0DC}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{AC5C3622-C0DC-4791-B43D-D6253527F0DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{AC5C3622-C0DC-4791-B43D-D6253527F0DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{AC5C3622-C0DC-4791-B43D-D6253527F0DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{AC5C3622-C0DC-4791-B43D-D6253527F0DC}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


namespace CodeForce164
{
    using System;
    using System.IO;
    using ProblemsResolver;

    public static class Program
    {
        public static void Main(string[] args)
        {
            ResolveB();
        }

        private static void ResolveA()
        {
#if DEBUG
            TextReader reader = new StreamReader(@"inputA.txt");
#else
            TextReader reader = Console.In;
#endif
            var n = int.Parse(reader.ReadLine());
            var input = new string[n];
            for (var i = 0; i < n; i++)
            {
                input[i] = reader.ReadLine();
            }

            Console.WriteLine(ProblemA.Resolve(input));
        }

        private static void ResolveB()
        {
#if DEBUG
            TextReader reader = new StreamReader(@"inputB.txt");
#else
            TextReader reader = Console.In;
#endif
            var n = int.Parse(reader.ReadLine());

            Console.WriteLine(ProblemB.Resolve(n));
        }
    }

    public static class ProblemB
    {
        public static int Resolve(int n)
        {
            var clicks = 1;
            for (var i = 0; i < n; i++)
            {
                clicks *= 2;
            }

            return clicks - 1;
        }
    }
}


using System;
using System.Numerics;
namespace ConsoleApplication2
{
    class Program
    {

        static void Main(string[] args)
        {
            int n=Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(BigInteger.Pow(2,n)-1);
        }
    }
}


using System.Text;
using System.Linq;
namespace CodeForces
{
    class Contest{
        static void Main(string[] args)
        {
            string str = Console.ReadLine();
            for (int i = 0, l = str.Length; i <= l; ++i)
            {
                StringBuilder sb = new StringBuilder(str);
                for (char let = 'a'; let <= 'z'; let++)
                {
                    string forward = str.Insert(i, "" + let);
                    if (forward == new String(forward.Reverse().ToArray()))
                    {
                        Console.Write(forward);
                        return;
                    }
                }
            }
            Console.Write("NA");
        }
    }
}


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

namespace ConsoleApplication6
{
    class Program
    {
        static bool Polind(string s)
        {
            bool t = false;
            for (int i = 0; i < s.Length - 1; i++)
            {
                if (s[i] != s[s.Length - 1 - i]) { return t; }
                return true;
            }
        }

        static void Main(string[] args)
        {
            string s = Console.ReadLine(); bool f = true;
            bool k ;
            for (int i = 0; i <= s.Length; i++)
            {
                k = true;
                for (int j = 97; j < 123; j++)
                {
                    if (Polind(s.Insert(i, ((char)j).ToString())))
                    {
                        k = false; f = false;
                        Console.WriteLine(s.Insert(i, ((char)j).ToString()));
                        break;
                    }
                }

            if (k == false) { break; }
        }
            if (f) { Console.WriteLine("NA"); }

        }
    }
}


using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Threading.Tasks.Dataflow;

namespace очередь
{
    class Program
    {
        static void Main(string[] args)
        {

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

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

            string[] s = new string[n];

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

            for (int j = 0; j < t; j++)
            {

                for (int i = 0; i < n; i++)
                {
                    if(i+1 == n)
                    {
                        break;
                    }

                    else if (s[i] == "B" && s[i + 1] == "G")
                    {
                        s[i] = "G";
                        s[i + 1] = "B";
                        i++;
                    }

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

        }
    }
}


using System;
using System.Linq;
using System.Text;

namespace QueryInCitchen
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] array = Console.ReadLine().Split(' ')
                .Select(int.Parse).ToArray();
            StringBuilder query = new StringBuilder(Console.ReadLine());
            for (int i = 0; i < array[1]; i++)
            {
                for (int j = 0; j < query.Length; j++)
                {
                    try
                    {
                        if (query[j] == 'B' && query[j + 1] == 'G')
                        {
                            char tmp = query[j];
                            query[j] = query[j + 1];
                            query[j + 1] = tmp;
                            j++;
                        }
                    }
                    catch (IndexOutOfRangeException)
                    {
                        continue;
                    }
                }

            Console.WriteLine(query);
        }
    }
}


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int i = 0;
                while (i < n)
                {
                    while (i < n && s[i] == 'G') ++i;
                    while (i < n - 1 && s[i] == 'B') ++i;
                    if (i < n && s[i] == 'G' && s[i - 1] == 'B')
                    { (s[i - 1], s[i]) = (s[i], s[i - 1]); }
                    ++i;
                }
                --k;
            }
            Console.WriteLine(s);
        }
    }
}


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

namespace sample
{
    class Program
    {

        public static void Main()
        {
            int[] inputs = Array.ConvertAll(Console.ReadLine().Split(' '), num => Convert.ToInt32(num));
            char[] queue = Console.ReadLine().ToCharArray();
            int num = inputs[0];
            int times = inputs[1];
            for (int i = 0; i < times; i++)
            {
                for (int j = 0; j < num-1; j++)
                {
                    if(queue[j]=='B' && queue[j+1]=='G')
                    {
                        queue[j]='G';
                        queue[j+1]='B';
                        j++;
                    }
                }
            }
            System.Console.WriteLine(new string(queue));

        }
    }
}


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int i = 0;
                while (i < n)
                {
                    while (i < n && s[i] == 'G') ++i;
                    while (i < n - 1 && s[i] == 'B') ++i;
                    if (i < n && s[i] == 'G' && s[i - 1] == 'B') (s[i - 1], s[i]) = (s[i], s[i - 1]);
                    ++i;
                }
                --k;
            }
            for (int i = 0; i < n; ++i)
            Console.Write(s[i]);
        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Desktop
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.csproj", "{7EB56892-0EBC-401A-A1F5-53ADD4C286D9}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{7EB56892-0EBC-401A-A1F5-53ADD4C286D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{7EB56892-0EBC-401A-A1F5-53ADD4C286D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{7EB56892-0EBC-401A-A1F5-53ADD4C286D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{7EB56892-0EBC-401A-A1F5-53ADD4C286D9}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int i = 0;
                while (i < n)
                {
                    while (i < n && s[i] == 'G') ++i;
                    while (i < n - 1 && s[i] == 'B') ++i;
                    if (i < n && s[i] == 'G' && s[i - 1] == 'B') (s[i - 1], s[i]) = (s[i], s[i - 1]);
                    ++i;
                }
                --k;
            }
            for (int i = 0; i < n; ++i) Console.Write(s[i]);
        }
    }
}


    public class Program266B
    {
        public static string GetFinalPositions(int queuelength, int timeticks, string queue)
        {
            char[] students = queue.ToCharArray();

            for (int timetick = 0; timetick < timeticks; timetick++)
            {
                for (int s = 0; s < queuelength-1; s++)
                {
                    if (students[s] == 'B' && students[s + 1] == 'G')
                    {
                        students[s] = 'G';
                        students[s + 1] = 'B';
                        s++;
                    }
                }
            }

            return new String(students);
        }

        public static void Main()
        {
            try
            {
                string length_and_time = Console.ReadLine().Trim();
                int queuelength = int.Parse(length_and_time.Split(' ')[0]);
                int timeticks = int.Parse(length_and_time.Split(' ')[1]);

                string positions = Console.ReadLine().Trim();
                Console.WriteLine(GetFinalPositions(queuelength, timeticks, positions));
            }
            catch (Exception x)
            {
                Console.WriteLine(x);
            }
        }
}


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int i = 0;
                while (i < n)
                {
                    while (i < n && s[i] == 'G') ++i;
                    while (i < n - 1 && s[i] == 'B') ++i;
                    if (i < n && s[i] == 'G' && s[i - 1] == 'B') (s[i - 1], s[i]) = (s[i], s[i - 1]);
                    ++i;
                }
                --k;
            }
            Console.WriteLine(s);
        }
    }
}


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

namespace CodingPractice
{
    internal class SchoolQueue
    {
        internal static void Order()
        {
            IEnumerable<int> input = Console.ReadLine().Split(' ').Select(int.Parse);
            Char[] queueString = Console.ReadLine().ToCharArray();

            for (int i = 0; i < input.Last(); i++)
            {
                for (int j = 0; j < input.First() - 1; j++)
                {
                    if (queueString[j] == 'B' && queueString[j + 1] == 'G')
                    {
                        Svap(queueString, j, j + 1);
                        j++;
                    }
                }
            }

            Console.WriteLine(queueString);
        }

        private static void Svap(char[] queueString, int j, int v)
        {
            char temp = queueString[j];
            queueString[j] = queueString[v];
            queueString[v] = temp;
        }
    }
}


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

namespace CF_QueueSchool
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] tmp = Console.ReadLine().Split(' ');
            string q = Console.ReadLine();
            int n = int.Parse(tmp[1]);
            while(n-- >0)
            {
                q = q.Replace("BG", "GB");
            }
            Console.WriteLine(qu);
        }
    }
}


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int j = 0;
                while (j < n)
                {
                    while (j < n && s[j] == 'G') ++j;
                    while (j < n - 1 && s[j] == 'B') ++j;
                    if (j < n && s[j] == 'G' && s[j - 1] == 'B') (s[j - 1], s[j]) = (s[j], s[j - 1]);
                    ++j;
                }
                --k;
            }
            for (int i = 0; i < n; ++i) Console.Write(s[i]);
        }
    }
}


using System;

namespace _266b
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] A = Console.ReadLine().Split(' ');
            int n = int.Parse(A[0]);
            int k = int.Parse(A[1]);
            string t = Console.ReadLine();
            char[] s = new Char[100];
            for (int i = 0; i < n; ++i) s[i] = t[i];
            while (k > 0)
            {
                int i = 0;
                while (i < n)
                {
                    while (i < n && s[i] == 'G') ++i;
                    while (i < n - 1 && s[i] == 'B') ++i;
                    if (i < n && s[i] == 'G' && s[i - 1] == 'B')
                    (s[i - 1], s[i]) = (s[i], s[i - 1]);
                    ++i;
                }
                --k;
            }
            Console.WriteLine(s);
        }
    }
}


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

namespace GameTree
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(new GameTree(Int64.Parse(Console.ReadLine().Trim())).ToString());
            Console.ReadLine();
        }

        class GameTree
        {
            private static long finish;
            private static HashSet<long> LastChildren;
            private long min;

            public myGameTree(long x)
            {
                finish = x;
                LastChildren = new HashSet<long>();
                Node first = new Node(1);
                min = LastChildren.Min();
                LastChildren.Clear();
                LastChildren = null;
            }

            public override string ToString()
            {
                return min.ToString();
            }

            struct Node
            {
                private long value;
                private long score;

                public Node(long first)
                {
                    value = 1;
                    score = 1;
                    if (finish - value > 0)
                        MakeChild(finish - value);
                    LastChildren.Add(finish);
                }

                public Node(long father_value, long father_score, long addon)
                {
                    value = (father_value << 1) + addon;
                    score = father_score + addon;

                    if (!LastChildren.Contains(LastChildren.Count))
                        MakeChild(finish - (value << 1) + 1);
                }

                private void MakeChild(long prod)
                {
                    for (long i = 0; i < prod; i++)
                    {
                        if (finish - ((value << 1) + i) > 1)
                        {
                            Node child = new Node(value, score, i);
                        }
                        else if ((value << 1) + i == finish)
                            LastChildren.Add(score + i);
                    }

                }
            }
       }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp8", "ConsoleApp8\ConsoleApp8.csproj", "{B433AB21-B567-4758-8071-1A5350687DC5}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B433AB21-B567-4758-8071-1A5350687DC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B433AB21-B567-4758-8071-1A5350687DC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B433AB21-B567-4758-8071-1A5350687DC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B433AB21-B567-4758-8071-1A5350687DC5}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {17E13182-9B37-43EE-B8CA-350F37EC1123}
	EndGlobalSection
EndGlobal


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

namespace AprilFools2013A
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(@"Washington
Adams
Jefferson
Madison
Monroe
Adams
Jackson
Van Buren
Harrison
Tyler
Polk
Taylor
Fillmore
Pierce
Buchanan
Lincoln
Johnson
Grant
Hayes
Garfield
Arthur
Cleveland
Harrison
Cleveland
McKinley
Roosevelt
Taft
Wilson
Harding
Coolidge
Hoover
Roosevelt
Truman
Eisenhower
Kennedy
Johnson
Nixon
Ford
Carter
Reagan".Split('\n')[int.Parse(Console.ReadLine()) - 1]);
        }
    }
}


using System; using System.Linq;

class P {
  static void Main() {
    var str = Console.ReadLine();
    if (str.Count(char.IsLower) >= str.Count(char.IsUpper)) Console.Write(str.ToLowerCase());
    else Console.Write(str.ToUpperCase());
  }
}


using System;
using System.ComponentModel.DataAnnotations;

namespace Lesson15_CSharp
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = Console.ReadLine();
            int numberOfLowercase = 0;
            for (int i = 0; i < s.Length; i++)
            {
                if (s[i] >= 'a' && s[i] <= 'z')
                {
                    numberOfLowercase++;
                }
            }
            if (s.Length - numberOfLowercase > numberOfLowercase)
            {
                s = s.ToUpper();
            }
            else
            {
                s = s.ToLower();
            }
            Console.WriteLine(s);
        }
    }
}


using System;
class Task
{
    static void Main()
    {
        string s=Console.ReadLine();
        int low=0,up=0;
        foreach(char ch in s)
        {
            if(Char.IsUpper())
                up+=1;
            else
                low+=1;
        }
        if(low>=up)
        {
            Console.WriteLine(s.ToLower());
        }
        else
        {
            Console.WriteLine(s.ToUpper());
        }
    }

}


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

public static class XXX
{
    private static void Main()
    {
        int counter =0;
        string str = Console.ReadLine().ToLower();
        foreach(char x in str){
            if(char.IsUpper(x)){
                counter++;
            }
        }
        if(counter=str.Length/2){
            Console.WriteLine(str.ToUpper());
        }
        else Console.WriteLine(str.ToLower());
        return;
    }
}


using System;
namespace valami
{
  class valami2
  {
      static void Main(string[] args)
      {
          string s = Console.ReadLine();
          int count=0;
          for(int i=0;i<s.Length;i++)
          {
              if(s[i] > 94)
              {
                  count++;
              }
          }
          if(count<s.Length)
          {
              Console.WriteLine(s.ToUpper());
          }
          else(Console.WrieLine(s.ToLower());
      }
  }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2005
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CF59A", "CF59A\CF59A.csproj", "{5A951B57-8DAD-4A7D-BDD3-FCC26F69FF67}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{5A951B57-8DAD-4A7D-BDD3-FCC26F69FF67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{5A951B57-8DAD-4A7D-BDD3-FCC26F69FF67}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{5A951B57-8DAD-4A7D-BDD3-FCC26F69FF67}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{5A951B57-8DAD-4A7D-BDD3-FCC26F69FF67}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {E15CB28E-F46B-489C-9A88-192352E4FC30}
	EndGlobalSection
EndGlobal


using System;

class Program
{
    static void Main(string[] args)
    {
        string input = Console.ReadLine();
        int small = 0, cap = 0;

        foreach (var i in input)
        {
            if (i <= 'Z') cap++;
            else small++;
        }

        if (small >= cap)
        {
            Console.WriteLine(input.ToLower());
        }
        else
        {
            Console.WriteLine(input.ToUpper());
        }
    }


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

public static class XXX
{
    private static void Main()
    {
        int counter =0;
        string str = Console.ReadLine().ToLower();
        foreach(var x in str){
            if(x>='A' && x<='Z'){
                counter++;
            }
        }
        if(counter>str.Length/2){
            Console.WriteLine(str.ToUpper);
        }
        else Console.WriteLine(str.ToLower);
        return 0;
    }
}


using System;

namespace Practice
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = (Console.ReadLine());
            Console.WriteLine(SolveProblem(s));
            Console.ReadLine();
        }

        static string SolveProblem (string s)
        {
            int lowerCount = 0;
            int higherCount = 0;
            for (int i = 0; i < s.Length ;i++)
            {
                if (char.IsLower( s [i]))
                {
                    lowerCount++;
                } else
                {
                    higherCount++;
                }

                if (lowerCount > (s.Length) / 2)
                {
                    return s.ToLower();
                }
            }
            return lowerCount == higherCount ? s.ToLower() :s.ToUpper();
        }

}


using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            string Input ;
            int upercase = 0, lowercase = 0;
            foreach (var item in Input)
            {
                if (Char.IsUpper(item))
                    upercase++;
                else
                    lowercase++;
            }
            if (upercase > lowercase)
               Input = Input.ToUpper();
            else
                Input = Input.ToLower();
        }
    }
}


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

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

            List<int> primes = new List<int>();
            int[] temp = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int n = temp[0], k = temp[1];
            for(int i = 2; i <= n; i++)
            {
                if (IsPrime(i))
                    primes.Add(i);
            }
            int counter = 0;
            for(int i = 0; i < primes.Count - 1; i++)
            {
                int t = primes[i] + primes[i + 1] + 1;
                if (IsPrime(t) && t <= n)
                    counter++;
                if (t > n || counter >= k) break;
            }
            Console.WriteLine((counter >= k) ? "YES" : "NO");

        }

        static bool IsPrime(int num)
        {
            if(num==2)return true;
            if (num < 2 || num % 2 == 0) return false;
            int limit = Convert.ToInt32( Math.Sqrt(num));
            for(int i = 3; i <= limit; i += 2)
            {
                if (num % i == 0) return false;
            }
            return true;
        }
    }
}


namespace _17A
{
    class Program
    {
        static void Main(string[] args)
        {
            string line = Console.ReadLine();
            string[] parts = line.Split(new char[] { ' ' });

            int n = int.Parse(parts[0]);
            int k = int.Parse(parts[1]);

            int count = 0;

            while (n >=1)
            {
                int temp0 = previousPrime(n);
                int temp1 = temp0;

                while (temp1 >= 1)
                {
                    int temp2 = previousPrime(temp1);
                    int temp3 = previousPrime(temp2);

                    if (temp2 + temp3 + 1 == temp0)
                    {
                        count++;
                        break;
                    }
                    temp1 = temp2;

                }

                n = temp0;
            }

            if (count >= k)
            {
                Console.WriteLine("YES");
            }
            else
                Console.WriteLine("NO");

            Console.ReadKey();
        }

        static bool isPrime(int n)
        {
            if (n <= 2)
            {
                return true;
            }
            else
            {
                int i = 2;

                while (i < n)
                {
                    if (n % i == 0)
                        return false;
                    i++;
                }
                return true;
            }

        }

        static int previousPrime(int p)
        {
            int temp = p - 1;
            while (true)
            {
                if (isPrime(temp))
                    return temp;

                temp--;
            }
        }
    }
}


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

namespace Graph
{
     class Program
    {
    static void Main(string[] args)
        {
                        PolandBallandHypothesis();

        }

        public static void PolandBallandHypothesis()
        {
            var n = Convert.ToInt32(Console.ReadLine());
            for (int i = 1; i < 1000; i++)
            {
                if (i != n)
                    if (!IsPrime(n * i + 1))
                    {
                        Console.WriteLine(i);
                        return;
                    }
            }
        }

        public static bool IsPrime(long n)
        {
            for (int i = 2; i * i <= n; i++)
            {
                if (n % i == 0)
                    return false;
            }

            return true;
        }
    }
}


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

namespace Graph
{
    static void Main(string[] args)
        {
                        PolandBallandHypothesis();

        }
}

        public static void PolandBallandHypothesis()
        {
            var n = Convert.ToInt32(Console.ReadLine());
            for (int i = 1; i < 1000; i++)
            {
                if (i != n)
                    if (!IsPrime(n * i + 1))
                    {
                        Console.WriteLine(i);
                        return;
                    }
            }
        }

        public static bool IsPrime(long n)
        {
            for (int i = 2; i * i <= n; i++)
            {
                if (n % i == 0)
                    return false;
            }

            return true;
        }
        }
        }


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

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

           int a = Console.ReadLine();
           int m=1;
            int result=0;
            int num=0;
            List<int>temp=new List<int>();
            while(result==0){
                num=a*m+1;
                for(int i=1;i<=num;i++){
                    if(num%i==0){
                        temp.Add(i);
                    }
                }
                if(temp.Count()>2){
                    result=m;
                }else{
                    m++;
                }
            }
            Console.WriteLine(result);
        }
    }
}


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

namespace A {
	class Program {
		static void Main() {
			int n = Int32.Parse(Console.ReadLine());
			int ret = 1;
			if (n % 2 == 1) {
				if (n == 1) ret = 3;
				else ret = 1;
			}
			else if ((n + 1) % 3 == 0) ret = 1;
			else if ((n + 2) % 3 == 0) ret = 2;
			else if (n % 3 == 0) {
				for (int i = 0; i < 1001; i++) {
					for (int j = 0; j < 1000001; j++) {
						if (n*i + 1 % j == 0) {
							ret = i;
							break;
						}
					}
				}

			Console.WriteLine(ret);
		}
	}
}


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

namespace A {
	class Program {
		static void Main() {
			int n = Console.ReadLine();
			var ret = 1;
			if (n % 2 == 1) {
				if (n == 1) ret = 3;
				else ret = 1;
			}
			else if ((n + 1) % 3 == 0) ret = 1;
			else if ((n + 2) % 3 == 0) ret = 2;
			else if (n % 3 == 0) {
				for (int i = 0; i < 1001; i++) {
					for (int j = 0; j < 1000001; j++) {
						if (n*i + 1 % j == 0) {
							ret = i;
							break;
						}
					}
				}

			Console.WriteLine(ret);
		}
	}
}


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

namespace Taz
{
    class Program
    {
        private static readonly StreamReader reader = new StreamReader(Console.OpenStandardInput(1024 * 10), Encoding.ASCII, false, 1024 * 10);
        private static readonly StreamWriter writer = new StreamWriter(Console.OpenStandardOutput(1024 * 10), Encoding.ASCII, 1024 * 10);

        static int N;

        static void Main(string[] args)
        {
            N = scan32();

            if (N == 1) {
                Console.WriteLine(3);
            }
            else if (N == 2)
            {
                Console.WriteLine(4);
            }
            else {
                for (int i = 1; i <= N; i++)
                {
                    if (!isPrime(N * i + 1)) {
                        Console.WriteLine(i); break;
                    }
                }
            }

        }

        public static bool isPrime(int number) {
            for (int i = 2; i <= Math.Sqrt(number); i++)
            {
                if (number % i == 0) {
                    return false;
                }
            }
            return true;
        }

        public static int find_set(int v)
        {
            if (par[v] == v)
            {
                return v;
            }
            else
            {
                return par[v] = find_set(par[v]);
            }
        }

        private static int scan32()
        {
            int c;
            int res = 0;
            do
            {
                c = reader.Read();
                if (c == -1)
                    return res;
            } while (c < '0' || c > '9');
            res = c - '0';
            while (true)
            {
                c = reader.Read();
                if (c < '0' || c > '9')
                    return res;
                res *= 10;
                res += c - '0';
            }
        }

        private static long scan64()
        {
            long c;
            long res = 0;
            do
            {
                c = reader.Read();
                if (c == -1)
                    return res;
            } while (c < '0' || c > '9');
            res = c - '0';
            while (true)
            {
                c = reader.Read();
                if (c < '0' || c > '9')
                    return res;
                res *= 10;
                res += c - '0';
            }
        }

    }
}


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

namespace Taz
{
    class Program
    {
        static int N;

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

            if (N == 1) {
                Console.WriteLine(3);
            }
            else if (N == 2)
            {
                Console.WriteLine(4);
            }
            else {
                for (int i = 1; i <= N; i++)
                {
                    if (!isPrime(N * i + 1)) {
                        Console.WriteLine(i); break;
                    }
                }
            }

        }

        public static bool isPrime(int number) {
            for (int i = 2; i <= Math.Sqrt(number); i++)
            {
                if (number % i == 0) {
                    return false;
                }
            }
            return true;
        }

        public static int find_set(int v)
        {
            if (par[v] == v)
            {
                return v;
            }
            else
            {
                return par[v] = find_set(par[v]);
            }
        }
    }
}


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

namespace Graph
{
    static void Main(string[] args)
        {
                        PolandBallandHypothesis();

        }
}

        public static void PolandBallandHypothesis()
        {
            var n = Convert.ToInt32(Console.ReadLine());
            for (int i = 1; i < 1000; i++)
            {
                if (i != n)
                    if (!IsPrime(n * i + 1))
                    {
                        Console.WriteLine(i);
                        return;
                    }
            }
        }

        public static bool IsPrime(long n)
        {
            for (int i = 2; i * i <= n; i++)
            {
                if (n % i == 0)
                    return false;
            }

            return true;
        }


namespace ConsoleApp10
{
	class Program
	{
		static void Main(string[] args)
		{
			int size = Convert.ToInt32(Console.ReadLine());
			string a = Console.ReadLine();
			String[] ai = a.Split(' ');
			int item =Sl(1, ai);
			for (int i = 2; i < ai.Length - 1; i++)
			{
				if (Sl(i, ai) < item)
				{
					item = Sl(i, ai);
				}
			}

			Console.Write(item);
			Console.ReadKey();
		}

		static int Sl(int j, String[] ai)
		{
			int item = 0;
			List<String> list = new List<String>(ai);
			list.RemoveAt(j);
			for (int i = 0; i < list.Count - 1; i++)
			{
				if (Convert.ToInt32(list[i + 1]) - Convert.ToInt32(list[i]) > item)
				{
					item = Convert.ToInt32(list[i + 1]) - Convert.ToInt32(list[i]);
				}
			}
			return item;
		}
	}
}