using System;

namespace ACM_CS
{
    class Program
    {
        #region utility
        static char ReadChar()
        {
            return (char)Console.Read();
        }
        static string ReadWord()
        {
            var str = string.Empty;
            while (true)
            {
                var chr = ReadChar();
                if (chr != ' ')
                {
                    str += chr;
                    break;
                }
            }//skip empty start
            while (true)
            {
                var chr = ReadChar();
                if (chr == ' ' || chr == '\n') break;
                str += chr;
            }
            return str;
        }
        static int ReadInt()
        {
            return int.Parse(ReadWord());
        }
        static long ReadLong()
        {
            return long.Parse(ReadWord());
        }
        #endregion

        static void Main(string[] args)
        {
            dfdsfsdf;
        }
    }

}


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

namespace ConsoleApplication1
{
	class Program
	{

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

			var numbers = input.Split(' ');

			var n = long.Parse(numbers[0]);
			var m = long.Parse(numbers[1]);

			long min = 0;
			//find min
			if (n%m == 0)
			{
				var numberOfPersonInEachGroup = n/m;
				var combinations = CalcCombintaionNumber(numberOfPersonInEachGroup);
				min = combinations*m;
			}
			else
			{
				var x = n/m;
				var y = x + n%m;

				var combinations1 = CalcCombintaionNumber(x) * (m -1);
				var combintaions2 = CalcCombintaionNumber(y);

				min = combinations1 + combintaions2;
			}

			//find max
			var numberOfPersonsInLargestGroup = n - m + 1;
			var max = CalcCombintaionNumber(numberOfPersonsInLargestGroup);

			Console.WriteLine($"{min} {max}");
		}

		static long CalcCombintaionNumber(long n)
		{
			return ((n - 1)*n)/2;
		}
	}
}


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

namespace ConsoleApp27

{

    class Program

    {

        static void Main(string[] args)

        {
            String[] n = Console.ReadLine().Split(" ");

            int d1 = Convert.ToInt32(n[0]);
            int d2 = Convert.ToInt32(n[1]);
            int d3 = Convert.ToInt32(n[2]);

            if ((d1+d2)<d3)
            {
                Console.WriteLine((d1+d2)*2);
            }

            else Console.WriteLine(d1+d2+d3);

        }

    }

}


static void Main()
        {
            int d1, d2, d3;
            long max_d = 0;
            string[] OutS = Console.ReadLine().Split(' ');
            d1 = Convert.ToInt32(OutS[0]);
            d2 = Convert.ToInt32(OutS[1]);
            d3 = Convert.ToInt32(OutS[2]);

            if (d1 <= d2)
            {
                max_d += d1;
                if ((d1 + d2) < d3)
                {
                    max_d += (d1 + d2 * 2);
                }
                else
                {
                    max_d += d3;
                    if ((d1 + d3) < d2)
                    {
                        max_d += (d1 + d3);
                    }
                    else
                        max_d += d2;
                }
            }
            else
            {
                max_d += d2;
                if ((d1 + d2) < d3)
                {
                    max_d += (d2 + d1 * 2);
                }
                else
                {
                    max_d += d3;
                    if ((d2 + d3) < d1)
                    {
                        max_d += (d2 + d3);
                    }
                    else
                        max_d += d1;
                }
            }
            Console.WriteLine(max_d);

}


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

namespace ProjectEuler
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = long.Parse(Console.ReadLine());
            string[] str = Console.ReadLine().Split(' ');
            long x = long.Parse(str[0]);
            long y = long.Parse(str[1]);
            long white = WhiteKingMoves(x, y);
            long black = BlackKingMoves(n,x, y);
            if (white > black)
            {
                Console.WriteLine("Black");
            }
            else if (white == black)
            {
                Console.WriteLine("White");
            }
            else
            {
                Console.WriteLine("White");
            }
        }
    }
}


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

namespace C
{
    class Program
    {
        static int max(int a, int b)
        {
            if(a>=b)
                return a;
            else
                return b;
        }
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] s = Console.ReadLine().Split(' ');
            long int x = int.Parse(s[0]);
            long int y = int.Parse(s[1]);
            int a = max(x-1,y-1);
            int b = max(n-x,n-y);
            if(a<=b)
                Console.WriteLine("White");
            else
                Console.WriteLine("Black");
        }
    }
}


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)
        {

            #region A. Diverse Substring
            float ca = int.Parse(Console.ReadLine());
            int aa = int.Parse(Math.Ceiling(ca / 2.0)+"");
            string word = Console.ReadLine();
            int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0, h = 0, i = 0,
                j = 0, k = 0, l = 0, m = 0, n = 0, o = 0, p = 0, q = 0, r = 0,
                s = 0, t = 0, u = 0, v = 0, w = 0, x = 0, y = 0, z = 0;
            bool cs = false;
            foreach (char ch in word)
            {
                if (ch == 'a')
                    a++;
                if (ch == 'b')
                    b++;
                if (ch == 'c')
                    c++;
                if (ch == 'd')
                    d++;
                if (ch == 'e')
                    e++;
                if (ch == 'f')
                    f++;
                if (ch == 'g')
                    g++;
                if (ch == 'h')
                    h++;
                if (ch == 'i')
                    i++;
                if (ch == 'j')
                    j++;
                if (ch == 'k')
                    k++;
                if (ch == 'l')
                    l++;
                if (ch == 'm')
                    m++;
                if (ch == 'n')
                    n++;
                if (ch == 'o')
                    o++;
                if (ch == 'p')
                    p++;
                if (ch == 'q')
                    q++;
                if (ch == 'r')
                    r++;
                if (ch == 's')
                    s++;
                if (ch == 't')
                    t++;
                if (ch == 'u')
                    u++;
                if (ch == 'v')
                    v++;
                if (ch == 'w')
                    w++;
                if (ch == 'x')
                    x++;
                if (ch == 'y')
                    y++;
                if (ch == 'z')
                    z++;
                if((aa <= a)
                    || (aa <= b)
                    || (aa <= c)
                    || (aa <= d)
                    || (aa <= e)
                    || (aa <= f)
                    || (aa <= g)
                    || (aa <= h)
                    || (aa <= i)
                    || (aa <= j)
                    || (aa <= k)
                    || (aa <= l)
                    || (aa <= m)
                    || (aa <= n)
                    || (aa <= o)
                    || (aa <= p)
                    || (aa <= q)
                    || (aa <= r)
                    || (aa <= s)
                    || (aa <= t)
                    || (aa <= u)
                    || (aa <= v)
                    || (aa <= w)
                    || (aa <= x)
                    || (aa <= y)
                    || (aa <= z))
                {
                    cs = true;
                    break;
                }
            }
            if(cs)
            {
                Console.WriteLine("NO");
            }
            else
            {
                Console.WriteLine("YES");
                Console.WriteLine(word[0] + ""+ word[1]);
            }
            #endregion

            #endregion
        }
    }
}


using System;

namespace Cakeminator
{
    class Program
    {
        static void Main(string[] args)
        {
            string [] input = Console.ReadLine().Split(new char[]{' '}, StringSplitOptions.None);

            int r = int.Parse(input[0]);
            int c = int.Parse(input[1]);

            string[] cake = new string[r];

            int count = 0;
            for(int i=0; i<r; i++){
                string cakeInput = Console.ReadLine();
                if (!cakeInput.Contains('S')){
                    count+=cakeInput.Length;
                    cakeInput = new string(' ', cakeInput.Length);
                }
                cake[i] = cakeInput;
            }
            for(int i=0; i<c; i++){
                string tmp = "";
                int internalCount = 0;
                for(int j=0; j<r; j++){
                    tmp += cake[j][i];
                    if (cake[j][i] == '.'){
                        internalCount++;
                    }
                }
                if (!tmp.Contains('S')){
                    count += internalCount;
                }
            }
            Console.WriteLine(count);
        }
    }
}


    static void Main()
    {
        string[] d = Console.ReadLine().Split(' ');
        int r = Convert.ToInt32(d[0]);
        int c = Convert.ToInt32(d[1]);
        bool b = false;
        int a=0;
        int ra = r;
        string[] s= new string[r];
        for (int i=0; i < r; i++) {
            s[i] = Console.ReadLine();
        }

        for (int i = 0; i < r; i++) {
            b = false;
            for (int j = 0; j < c; j++) {
                if (s[i][j] == 's') { b = true; break; }
            }
            if (!b)
            {
                a += c;
                ra--;
            }
        }

        for (int j = 0; j < c; j++)
        {
            b = false;
            for (int i = 0; i < r; i++)
            {
                if (s[i][j] == 's') { b = true; break; }
            }
            if (!b) a += ra;

        }
        Console.WriteLine(a);
    }
}


for(int i=0;i<n;i++)
            {
                 bool f=false;
                 int u=0;
                 for(int j=0;j<m;j++)
                 {
                      if(a[i,j]=='S')
                      {
                           f=true;
                           break;
                      }
                      if(a[i,j]=='K')
                      u++;
                 }
                 if(f==false)
                 {
                 sum+=(m-u);
                 for(int j=0;j<m;j++)
                 {
                     a[i,j]='K';
                 }
                 }
            }


string input = Console.ReadLine();
int n = Convert.ToInt32(input.Split(' ')[0]);
int k = Convert.ToInt32(input.Split(' ')[1]);

            for (int i = 0; i < k; i++)
            {
                if (n % 10 == 0)
                {
                    n = n / 10;
                }
                else
                {
                    n--;
                }
            }

            Console.WriteLine(n);


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Code", "Code\Code.csproj", "{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {A15C961D-0642-45FA-9173-D5BB8002077A}
	EndGlobalSection
EndGlobal


using System;
using System.Collections.Generic;
using System.IO;
using System.CodeDom.Compiler;
using System.Data.SqlClient;
using System.Collections;
using MySql.Data.MySqlClient;
using System.Net.Mail;
using System.Net;

namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(wrongSubtract(512, 4));//should be 50
        }
        static int wrongSubtract(int n, int k)
        {
            for(int i = 0;i < k; i++)
            {
                if (n.ToString()[n.ToString().Length - 1] != '0')
                    n--;
                else
                    n /= 10;
            }
            return n;
        }
    }
}


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

namespace Testpad
{
    public class CodeForce977A
    {
        static void Main()
        {
            StringBuilder sb = new StringBuilder();

            string[] inputs = Console.ReadLine().Split(" ");

            char[] temp = inputs[0].ToCharArray();
            int k = int.Parse(inputs[1]);

            List<int> numbers = new List<int>(); // 주어지는 숫자

            foreach (var item in temp)
            {
                numbers.Add(int.Parse(item.ToString()));
            }

            // 무조건 0 이상이 보장되니, 스택이 빌 경우의 예외처리는 필요없음
            for (int i = 0; i < k; i++)
            {
                if (numbers[numbers.Count - 1] == 0)
                {
                    numbers.RemoveAt(numbers.Count - 1);
                }
                else
                {
                    numbers[numbers.Count - 1]--;
                }
            }

            // stringbuilder에 해당 자릿수들을 합쳐서 출력
            foreach (var item in numbers)
            {
                sb.Append(item);
            }

            Console.Write(sb.ToString());
        }
    }
}


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

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

            for (int i = 0; i  k; i++ )
            {
                if (n % 10 == 0)
                {
                   n = n / 10;
                } else
                {
                    n--;
                }
            }

            Console.WriteLine(n);
        }
    }
}


using System;
using namespace test
{
    class Program
    {
        static void Main(String[] args)
        {
            string[] sa = Console.ReadLine().split(' ');
            int a = Convert.ToInt32(sa[0]);
            int b = Convert.ToInt32(sa[1]);
            for(int i=0;i<b;i++)
            {
                if(a%10==0) a/=10;
                else a-=1;
            }
            Console.WriteLine(a);
        }
    }
}


using Internal;
using System;
namespace HelloWorld
{
  class Hello
  {
      static void Main()
      {
        var mass = Console.ReadLine().Split(' ');
        var a = Convert.ToInt32(mass[0]);
        var b = Convert.ToInt32(mass[1]);

        for(int i = 0; i < b ;++i)
        {
          if (Convert.ToString(a)[ Convert.ToString(a).Length-1] == '0')
          {
            a/=10;
          }
          else
          {
            --a;
          }
        }
      Console.WriteLine(a);
      }
  }
}


using System;

       namespace Wrong_Subtraction
       {
           class Program
           {
               static void Main(string[] args)
               {
                   int n, k;
                   int i = 0;
                   while (i<k)
                   {
                       if (n % 10 != 0)
                           n -= 1;
                       else
                           n = n / 10;
                       i++;
                   }
                   return (n);
               }

           }
       }


using System;

namespace СSharpTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var readStr = Console.ReadLine();
            var mass = readStr.Split(" ");
            var n = Int32.Parse(mass[0]);
            var k = Int32.Parse(mass[1]);

            Console.WriteLine(resolve(n,k));
        }

        static int resolve(int n,int k){

            for(var i=0;i<k;i++)
            {
                if(n%10 == 0){
                    n = n/10;
                }
                else{
                    n--;
                }
            }

            return n;
        }
    }
}


<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

</Project>


namespace Wrong_Subtraction
{
    class Solution
    {
        public int Wrong_Substraction(int n, int k)
        {
            int answer = n;
            for (int i = 1; i < k + 1; i++)
            {
                int last = answer % 10;
                if (last != 0)
                    answer -= 1;
                else
                    answer /= 10;
            }
            return answer;
        }
    }
}


using System;
using System.Collections.Generic;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s = Console.ReadLine().Split(' ');
            long n = long.Parse(s[0]);
            int k = int.Parse(s[1]);
            for (int i = 0; i < k; i++)
            {
                if (n.ToString().EndsWith('0'))
                    n /= 10;
                else n--;
            }
            Console.WriteLine(n);
            //Console.ReadKey();
        }
    }
}


import System;

class TestClass
{
    static void Main(string[] args)
    {
       String s = Console.ReadLine();

       String[] values = s.split(" ").toArray();

       String value1 = values[0];
       String value2 = values[1];

       int valueInt = Convert.toInt32(value1);
       for( int i = 0 ; i < value2 ; i++){

           if (valueInt % 10 != 0)
           {
               valueInt = valueInt - 1;
           } else {
               valueInt = valueInt/10;
           }

       }
       System.Console.WriteLine(valueInt);

    }
}


using System;

       namespace Wrong_Subtraction
       {
           class Program
           {
               static void Main(string[] args)
               {
                   int n, k;
                   int i = 0;
                   while (i<k)
                   {
                       if (n % 10 != 0)
                           n -= 1;
                       else
                           n = n / 10;
                       i++;
                   }
                   Console.WriteLine(n);
               }

           }
       }


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2036
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{2B9D012E-935F-472B-877C-9F06F9F3D060}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{2B9D012E-935F-472B-877C-9F06F9F3D060}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{2B9D012E-935F-472B-877C-9F06F9F3D060}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{2B9D012E-935F-472B-877C-9F06F9F3D060}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{2B9D012E-935F-472B-877C-9F06F9F3D060}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {5161E89F-C9CD-4DD6-9598-29B95F0A3D88}
	EndGlobalSection
EndGlobal


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29806.167
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "problem solving", "problem solving\problem solving.csproj", "{77DE6BA8-8251-4834-A372-212F71BFAED1}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{77DE6BA8-8251-4834-A372-212F71BFAED1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{77DE6BA8-8251-4834-A372-212F71BFAED1}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{77DE6BA8-8251-4834-A372-212F71BFAED1}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{77DE6BA8-8251-4834-A372-212F71BFAED1}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {B94932FA-5AD9-4E92-BD8F-96DB089480CA}
	EndGlobalSection
EndGlobal


   var input = Console.ReadLine().Split(' ');

            int n = Convert.ToInt32(input[0]);
            int k = Convert.ToInt32(input[1]);

            for(int i = 0; i < k;i++){
                if(n % 10 == 0)
                    n /= 10;
                else
                    n--;
            }

            Console.WriteLine(n);


internal class Program
{
    private static void Main(string[] args)
    {
        WrongSubtraction(512, 4);
        Console.ReadKey();
    }

    private static void WrongSubtraction(int n, int k)
    {
        for (int i = 0; i < k; i++)
        {
            if (n % 10 == 0)
            {
                n /= 10;
            }
            else
                n--;
        }
        Console.WriteLine(n);
    }
}


 static int Substraction(int Number, int NuRepeate)
        {
            for (int i = 0; i < NuRepeate; i++)
            {
                if (Number % (10) == 0)
                {
                    Number = Number / 10;
                }
                else
                {
                    Number--;
                }

            }

            return Number;
        }
        static void Main(String[] args)
        {

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

            int x = int.Parse(Console.ReadLine());
            int Result =Substraction(n, x);

            Console.WriteLine("{0}", Result);

        }


 static void solve(int n, int k)
        {
            for(int i = 0; i < k; i++)
            {
                if (n % 10 == 0)
                    n /= 10;
                else
                    n--;
            }
            Console.WriteLine(n);
        }


using System;
using System.Collections.Generic;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            int n=0, k =0;
            var x = Console.ReadLine();
            var split = x.Split(" ");
            n = Convert.ToInt32(split[0]);
            k = Convert.ToInt32(split[1]);

            for(int i =0; i < k; i++)
            {
                if(n % 10 == 0)
                {
                    n /= 10;
                }
                else
                {
                    n--;
                }
            }
            Console.WriteLine(n);
        }
    }

}


public class WrongSubtraction
{
    int n, k;
    n = int.Parse(Console.ReadLine());
    k = int.Parse(Console.ReadLine());
    for(int i = 0; i < k; i++){
        n = (n % 10 == 0? n/10 : n - 1)
    }
    return n
}


using System;

public class WrongSubtraction{
    static int Main(string[] args){
        int n, k;
        n = int.Parse(Console.ReadLine());
        k = int.Parse(Console.ReadLine());
        for(int i = 0; i < k; i ++){
            n = (n % 10 == 0? n / 10 : n - 1);
        }
        Console.WriteLine(n);
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29709.97
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{A0B777FE-05CE-4D67-A166-705AFF193363}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{A0B777FE-05CE-4D67-A166-705AFF193363}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{A0B777FE-05CE-4D67-A166-705AFF193363}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{A0B777FE-05CE-4D67-A166-705AFF193363}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{A0B777FE-05CE-4D67-A166-705AFF193363}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {5881E718-D4B0-4339-AED7-0129B90741EA}
	EndGlobalSection
EndGlobal


using HotChocolate;
using HotChocolate.Execution;
using HotChocolate.Types;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using UsingHotChocolate.Schema.DTOs;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
using UsingHotChocolate.Mappers;
using AspNetCoreGraphQL.Models;
using LinqExpander;
using UsingHotChocolate;
using Microsoft.EntityFrameworkCore.Query;
using AspNetCoreGraphQL;
using System.Collections.Concurrent;

namespace ExpressionExercise
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("The number: ");
            int number = int.Parse(Console.ReadLine());
            Console.Write("Decrase by one how many times: ");
            int howManyTimes = int.Parse(Console.ReadLine());

            for (int i = 0; i < howManyTimes; i++)
            {
                if (number % 10 == 0)
                    number /= 10;
                else
                    number--;
            }
            Console.WriteLine($"The result: {number}");
        }

        static void Mains(string[] args)
        {
            // Hypotheses:
            // - Does it happen when I access the second "b" parameter?
            // - Is repeating the same parameter names causing the error?
            // - Would replacing the last (untranslated) ToDto() methods with "null" solve the problem?

            // What We Know:
            // - When I give it the expression manually, there is no problem, when I generate the expression from my expression visitor
            // and then give it, then the error happens! This is at the top of the list of the weirdest errors I've ever encountered as a programmer!
            // - It wasn't because of "ToAuthorDto()" method per se, unlike what I used to think last night, that appeared to cause the problem because
            // it triggered my expression visitor to translate that method.
            Expression<Func<Book, BookDto>> test = b => b.ToBookDto();
            Expression<Func<Book, BookDto>> generatedExpr = new ExpandableVisitor().Visit(test) as Expression<Func<Book, BookDto>>;
            Expression<Func<Book, BookDto>> generatedExpr2 = new ExpandableVisitor2().Visit(test) as Expression<Func<Book, BookDto>>;
            Expression<Func<Book, BookDto>> sameAsGeneratedExpr = b => new BookDto()
            {
                Id = b.Id,
                Author = new AuthorDto()
                {
                    Id = b.Author.Id,
                    Books = b.Author.Books.Select(b1 => new BookDto()
                    {
                        Id = b1.Id,
                        Author = new AuthorDto()
                        {
                            Id = b1.Author.Id,
                            Books = b1.Author.Books.Select(b2 => new BookDto()
                            {
                                Id = b2.Id,
                                Author = new AuthorDto()
                                {
                                    Id = b2.Author.Id,
                                    Books = b2.Author.Books.Select(b3 => new BookDto()
                                    {
                                        Id = b3.Id,
                                        Author = new AuthorDto()
                                        {
                                            Id = b3.Author.Id,
                                            Books = b3.Author.Books.Select(b4 => new BookDto()
                                            {
                                                Id = b4.Id,
                                                Author = new AuthorDto()
                                                {
                                                    Id = b4.Author.Id,
                                                    Books = b4.Author.Books.Select(b5 => b5.ToBookDto()).ToList()
                                                }
                                            }).ToList()
                                        }
                                    }).ToList()
                                }
                            }).ToList()
                        }
                    }).ToList()
                }
            };
            bool haveTheSameStringOutput = generatedExpr2.ToString() == sameAsGeneratedExpr.ToString(); // True
            bool areTheSame = ExpressionEqualityComparer.Instance.Equals(generatedExpr, sameAsGeneratedExpr); // True

            using (AppDbContext dbContext = new AppDbContext(new Microsoft.EntityFrameworkCore.DbContextOptions<AppDbContext> { }))
            {
                IQueryable<BookDto> queryable = dbContext.Books.Select(generatedExpr);
                //IQueryable<BookDto> queryable = dbContext.Books.Select(sameAsGeneratedExpr);

                var result = queryable.Select(bDto => new BookDto
                {
                    Id = bDto.Id,
                    Name = bDto.Name,
                    Author = new AuthorDto
                    {
                        Id = bDto.Author.Id,
                        Books = bDto.Author.Books.Select(bDto1 => new BookDto
                        {
                            Id = bDto1.Id,
                            Author = new AuthorDto
                            {
                                Id = bDto.Author.Id,
                                Books = bDto.Author.Books.Select(bDto1 => new BookDto
                                {
                                    Id = bDto1.Id
                                })
                            }
                        })
                    }
                }).ToList();
                result.ForEach(i => Console.WriteLine(i.Id));
            }
        }
    }
}


var input = Console.ReadLine();
            var n = Convert.ToInt32(input.Split(' ')[0]);
            var k = Convert.ToInt32(input.Split(' ')[1]);

            for (int i = 0; i < k; i++)
            {
                if (n % 10 == 0)
                {
                    n = n / 10;
                }
                else
                {
                    n--;
                }
            }

            Console.WriteLine(n);


static void Main(string[] args){
    string s = Console.ReadLine();
    int n = Convert.ToInt32(s.Split(' ')[0]);
    int k = Convert.ToInt32(s.Split(' ')[1]);
    for (; k > 0; k--)
    {
        if (n % 10 == 0) n /= 10;
        else n -= 1;
    }
    Console.WriteLine("{0}", n);
}


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

namespace WrongSubstraction
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = /Console.ReadLine();
            string[] arr = str.Split(null);
            Int32.TryParse(arr[0], out int n);
            Int32.TryParse(arr[1], out int k);
            for (int i = 0;i<k;i++)
            {
                if (n%10 == 0)
                {
                    n = n / 10;

                }
                else
                {
                    n--;
                }
            }
            Console.WriteLine(n);

        }
    }
}


using System;
using System.Linq;

namespace ProblemSolving
{
    class Program
    {
        static void Main(string[] args)
        {
            string text = Console.ReadLine();
            string[] txt = text.Split(' ');
            string result;

            if (!txt[0].EndsWith('0'))
            {
                result = txt[0].Substring(0, txt[0].Length - 2);
                Console.WriteLine(result + '0');
            }
            else
                Console.WriteLine('1');

        }
    }
}


public static void Wrongsub(int n, int k)
        {
            int i = 0;
            while (i<k)
            {
                if (n % 10 != 0)
                    n -= 1;
                else
                    n = n / 10;
                i++;
            }
            Console.WriteLine(n);
        }


string[] NumeroYCantidadDeVecesQueSeRepite = Console.ReadLine().Split(' ');
            string Numero = NumeroYCantidadDeVecesQueSeRepite[0];
            int VecesQueSeRepite = Convert.ToInt32(NumeroYCantidadDeVecesQueSeRepite[1]);

            for (int Contador = 0; Contador < VecesQueSeRepite; Contador++)
            {
                Numero = Numero[Numero.Length - 1] == '0' ? Convert.ToString(Convert.ToInt32(Numero) / 10) : Convert.ToString(Convert.ToInt32(Numero) - 1);
            }
            Console.Write(Numero);


using System;
using System.Linq;

namespace codeforces
{
    public static class Program
    {
        static void Main(string[] args)
        {
                        var result = Console.ReadLine().Split(" ");
            var n = result[0].Reverse().ToArray();
            int k = int.Parse(result[1]);
            for (var i = 0; i < k; i++)
            {
                if (n.First() == '0')
                {
                    n = n.Skip(1).ToArray();
                    continue;
                }
                if (n.First() > 0)
                {
                    var a = n[0].ToString();
                    n[0] = (int.Parse(a) - 1).ToString().ToCharArray().First();
                }
            }
            Console.WriteLine(new string(n.Reverse().ToArray()));
        }
    }
}


using System;

class Program
{
    static void Main()
    {
        var input = Console.ReadLine().Split();
        var num = int.Parse(input[0])
        var i = int.Parse(input[1]);
        while(i-- > 0)
            num = num % 10 == 0 ? num / 10 : num - 1;
        Console.WriteLine(num);
    }
}


  static int wrongSubtract(int n, int k)
        {
            for(int i = 0;i < k; i++)
            {
                if (n.ToString()[n.ToString().Length - 1] != '0')
                    n--;
                else
                    n /= 10;
            }
            return n;
        }


using System;

       namespace Wrong_Subtraction
       {
           class Program
           {
               static void Main(string[] args)
               {
                   int i = 0;
                   while (i<k)
                   {
                       if (n % 10 != 0)
                           n -= 1;
                       else
                           n = n / 10;
                       i++;
                   }
                   Console.WriteLine(n);
               }

           }
       }


using System;
namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {
            int k;
            int n;

            for(int i =0; i < k; i++)
            {
                if (n % 10 == 0)
                    n /= 10;
                else
                    n--;
            }
            Console.WriteLine(n);
        }

    }
}


using System;
using System.Collections.Generic;
using System.IO;
using System.CodeDom.Compiler;
using System.Data.SqlClient;
using System.Collections;
using MySql.Data.MySqlClient;
using System.Net.Mail;
using System.Net;
namespace ogaver__
{

    class Program
    {
        static void Main(string[] args)
        {
            int k = 0;
            int n = 0;
            solve(n, k);
        }

        static void solve(int n, int k)
        {
            for(int i = 0; i < k; i++)
            {
                if (n % 10 == 0)
                    n /= 10;
                else
                    n--;
            }
            Console.WriteLine(n);
        }
    }
}


 public class CF1
    {
        public static void Main(string[] args)
        {
            var parts = Console.ReadLine().Split(' ');
            var n = int.Parse(parts[0]);
            var count = int.Parse(parts[1]);
            var result = Number(n, count);
            Console.WriteLine(result);
        }

        public static int Number(int n, int numb)
        {
            for (int i = 0; i < numb; i++)
            {
                if (n % 10 == 0)
                {
                    n /= 10;
                }

                else
                {
                    n -= 1;
                }
            }

            return n;
        }
    }


public class WrongSubtraction(){
    static void Main(string[] args){
        int n, k;
        n = int.Parse(Console.ReadLine());
        k = int.Parse(Console.ReadLine());
        for(int i = 0; i < k; i ++){
            n = (n % 10 == 0? n / 10 : n - 1);
        }
        return n;
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeForcesTest", "CodeForcesTest\CodeForcesTest.csproj", "{80EC2232-085D-40B8-8064-38D4CCE42522}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{80EC2232-085D-40B8-8064-38D4CCE42522}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{80EC2232-085D-40B8-8064-38D4CCE42522}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{80EC2232-085D-40B8-8064-38D4CCE42522}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{80EC2232-085D-40B8-8064-38D4CCE42522}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {5D6706F1-CDCC-490C-8172-119188B4527D}
	EndGlobalSection
EndGlobal


using System;
class Sample
{
    static void Main()
    {
        String ip=Console.ReadLine().Split(' ');
        int num=int.Parse(ip[0]);
        int range=int.Parse(ip[1]);
        while(range-->0)
        {
            num=(num%10==0)?(num/10):(num-1);
        }
        Console.WriteLine(num);

    }

}


public class WrongSubtraction{
    static void Main(string[] args){
        int n, k;
        n = int.Parse(Console.ReadLine());
        k = int.Parse(Console.ReadLine());
        for(int i = 0; i < k; i ++){
            n = (n % 10 == 0? n / 10 : n - 1);
        }
        return n;
    }
}


<?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>{EF594BBD-D4E4-4B9E-A70B-94B4380B2F43}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>Code</RootNamespace>
    <AssemblyName>Code</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>


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29911.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp3", "ConsoleApp3.csproj", "{268D94DF-7661-48F7-84DF-B320A66550F3}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{268D94DF-7661-48F7-84DF-B320A66550F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{268D94DF-7661-48F7-84DF-B320A66550F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{268D94DF-7661-48F7-84DF-B320A66550F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{268D94DF-7661-48F7-84DF-B320A66550F3}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {D9B8385F-F20B-4800-8954-D2BCC588ECF1}
	EndGlobalSection
EndGlobal


namespace CodeForces
{
	class Program
	{
		static void Main(string[] args)
		{
		    //real input:
			int num = Convert.ToInt32(Console.ReadLine());
			int times = Convert.ToInt32(Console.ReadLine());

			//test input:
			//int num = 512;
            //int times = 4;

            for (int i=0 ; i<times ; i++)
            {
                if (num % 10 != 0) //last digit is not zero
                {
                    num--;
                }
                else //last digit is zero
                {
                    num /= 10;
                }
            }

            Console.WriteLine(num);
		}
	}
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29911.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Codeforces", "Codeforces\Codeforces.csproj", "{925BA4E3-C42C-4E30-B8F2-F0662850A851}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{925BA4E3-C42C-4E30-B8F2-F0662850A851}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{925BA4E3-C42C-4E30-B8F2-F0662850A851}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{925BA4E3-C42C-4E30-B8F2-F0662850A851}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{925BA4E3-C42C-4E30-B8F2-F0662850A851}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {3E6F72B4-CFE7-41FB-A5E1-EB9FD84DB6E3}
	EndGlobalSection
EndGlobal


namespace problem_solving
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = Console.ReadLine();
            string[] values = s.Split(' ');
            int a = int.Parse(values[0]);
            int b = int.Parse(values[1]);

            for (int i = 0; i < b; i++)
            {
                int num = a % 10;
                if (num ==0)
                {
                    a /= 10;
                }
                else
                {
                    a--;
                }

            }

            Console.WriteLine(a);
        }
    }
}


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

namespace TuDu
{
    class Program
    {
        static void Main(string[] args)
        {
            int n, k, d;

            while (k>0)
            {
                d = n % 10;
                if (d == 0)
                    n /= 10;
                else
                    n -= 1;
                k--;
            }

        }
    }
}


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

namespace ConsoleApplication20
{
    class Program
    {
        static void Main(string[] args)
        {
            string s;
            s = Console.ReadLine();
            s = s.ToLower();
            s = s.Replace('a', ' ');
            s = s.Replace('o', ' ');
            s = s.Replace('y', ' ');
            s = s.Replace('i', ' ');
            s = s.Replace('e', ' ');
            s = s.Replace('u', ' ');
            for (int i = 0; i < s.Length; i++)
            {
                if (s[i] != ' ')
                {
                    Console.Write('.');
                    Console.Write(s[i]);
                }
            }
            Console.ReadLine();
        }
    }
}using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication20
{
    class Program
    {
        static void Main(string[] args)
        {
            string s;
            s = Console.ReadLine();
            s = s.ToLower();
            s = s.Replace('A', ' ');
            s = s.Replace('o', ' ');
            s = s.Replace('y', ' ');
            s = s.Replace('i', ' ');
            s = s.Replace('e', ' ');
            s = s.Replace('u', ' ');
            for (int i = 0; i < s.Length; i++)
            {
                if (s[i] != ' ')
                {
                    Console.Write('.');
                    Console.Write(s[i]);
                }
            }
            Console.ReadLine();
        }
    }
}


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

namespace prob5_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            var Input =Console.ReadLine() ;
            var newStringsList = new List<String>();
            var removingVowels = RemovingVowels(Input, newStringsList);
            Console.WriteLine(removingVowels);

            string RemovingVowels(string input, List<string> stringsList)
            {
                if (input.Length > 0 && input.Length <= 100)
                foreach(char character in input)
                {
                    if ( character != 'A' && character != 'E' && character != 'I' && character != 'O' && character != 'U' && character != 'a' && character != 'e' && character != 'e' && character != 'o' && character != 'u' &&  character != ' ')
                    {
                        var letter = char.ToString(character);
                        stringsList.Add(".");
                        stringsList.Add(letter);
                    }
                }
                var noVowel = string.Join("",stringsList) ;
                var output = noVowel.ToLower();
                return output;

            }

        }

    }
}


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

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

            for(int i=0; i<strlen(x); i++)
            {
                if(x[i].ToString().ToLower()=="a" || x[i].ToString().ToLower()=="e" || x[i].ToString().ToLower()=="i" || x[i].ToString().ToLower()=="o" || x[i].ToString().ToLower()=="u" || x[i].ToString().ToLower()=="y"){
                    continue;
                }
                else{
                    Console.Write(".{0}",x[i]);
                }
            }

        }
    }
}


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

namespace ConsoleApp8
{
    class Program
    {
        static void Main(string[] args)
        {
            string x = Console.ReadLine();
            string y = Console.ReadLine();
            if(x.Length<101)||(x.Length>0)
                    {
                int counter1 = y.Length;
                int counter2 = 0;
                for (int i = 0; i < x.Length; i++)
                {
                    counter1--;
                    if (x[i] == y[counter1])
                    {
                        counter2++;
                    }

                }
                if (counter2 == x.Length)
                {
                    Console.WriteLine("YES");
                }
                else
                {
                    Console.WriteLine("NO");
                }
            }

        }

    }
}


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

namespace _118A
{
  class Program
  {
    static void Main(string[] args)
    {
      var input = Console.ReadLine();
      foreach (var c in input)
      {
        switch (c)
        {
          case 'A':
          case 'a':
          case 'O':
          case 'o':
          case 'Y':
          case 'y':
          case 'E':
          case 'e':
          case 'U':
          case 'u':
          case 'I':
          case 'i':
            break;
          default:
            Console.Write('.'.ToString() + char.ToLower(c).ToString());
            break;
        }
      }
    }
  }
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _118A
{
  class Program
  {
    static void Main(string[] args)
    {
      var input = Console.ReadLine();
      foreach (var c in input)
      {
        switch (c)
        {
          case 'A':
          case 'a':
          case 'O':
          case 'o':
          case 'Y':
          case 'y':
          case 'E':
          case 'e':
          case 'U':
          case 'u':
          case 'I':
          case 'i':
            break;
          default:
            Console.Write('.' + char.ToLower(c));
            break;
        }
      }
    }
  }
}


using System;

public class Program
{
	public static void Main()
	{
		var str = Console.ReadLine();
		char[] vowels = {'a', 'o', 'y', 'e', 'u', 'i'};
		for (int i = 0; i < str; i++)
		{
			bool isConsonants = true;
			foreach (var item in vowels)
			{
				if (str[i] == item)
				{
					isConsonants = false;
					break;
				}
			}
			if (isConsonants)
			{
				Console.Write(".{0}", str[i]);
			}
		}
		Console.WriteLine();
	}
}


using System;

namespace Solution
{
    class Program
    {
        static void Main()
        {
            string word = Console.ReadLine();

            for (int i = 0; i < word.Length; i++)
            {
                if (!IsVowelChar(word[i]))
                {
                    char lowerElemet = word[i];
                    if (char.IsUpper(word[i]))
                    {
                        lowerElemet = char.ToLower(word[i]);
                    }
                    Console.Write('.');
                    Console.Write(lowerElemet);
                }
            }

        }
    }

}


using System;
class String_Task
{
    static void Main(string[] args)
    {
        string str1 = Console.ReadLine();
        int len = str1.Length;
        int i=0;
        string str=str1.ToLower();
        while (i<len)
        {
            if(str[i]!='y'str[i]!='a'&&str[i]!='e'&&str[i]!='i'&&str[i]!='o'&&str[i]!='u'&&str[i]!=' ')
            {
                Console.Write(".{0}",str[i]);
            }
            i++;
        }
    }
}


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "string", "string\string.csproj", "{85450A99-1B05-47C7-B3EA-574A508B4312}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{85450A99-1B05-47C7-B3EA-574A508B4312}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{85450A99-1B05-47C7-B3EA-574A508B4312}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{85450A99-1B05-47C7-B3EA-574A508B4312}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{85450A99-1B05-47C7-B3EA-574A508B4312}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


<?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>{172719EF-07FA-485C-A80C-3743D7DDF212}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>_118A</RootNamespace>
    <AssemblyName>118A</AssemblyName>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <Deterministic>true</Deterministic>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>


class Program
{
    static void Main()
    {
        string del = "aoeuyi";
        string a = Console.ReadLine().ToLower();

        string result = "";

        for(int i = 0; i < a.Length; ++i)
        {
            if (del.Contains(a[i]) == true)
            {
                a = a.Remove(i,1);
                --i;
                continue;
            }
        }

        for(int i = 0; i < a.Length; ++i)
        {
            result = result + '.' + a[i];
        }
        Console.WriteLine(result);
    }

}


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

namespace prob5_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            string Input =Console.ReadLine() ;
            var newStringsList = new List<String>();
            var removingVowels = RemovingVowels(Input, newStringsList);
            Console.WriteLine(removingVowels);

             String RemovingVowels ( string input , List<string> stringsList) {

                if (input.Length > 0 && input.Length <= 100)
                foreach(char character in input)
                {
                    if ( character != 'A' && character != 'E' && character != 'I' && character != 'O' && character != 'U' && character != 'a' && character != 'e' && character != 'e' && character != 'o' && character != 'u' &&  character != ' ')
                    {
                        var letter = char.ToString(character);
                        stringsList.Add(".");
                        stringsList.Add(letter);
                    }
                }
                string noVowel = string.Join("",stringsList) ;
                string output = noVowel.ToLower();
                return output;
            };
        }

    }
}


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

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

            string input = Console.ReadLine().ToLower();
            char[] vowels = { 'a', 'o', 'y', 'e', 'u', 'i' };
            foreach (var i in input)
	        {
		        if (!vowels.Contains(i))
                {
                    Console.WriteLine(".");
                    Console.WriteLine(i.ToString());
                }
	        }

        }


using System;

class Program
{
    static void Main(string[] args)
    {
        string input  = Console.ReadLine();
        string vowels = "aeyiou";
        string result = "";
        input         = input.ToLower();
        foreach (var letter in input)
            if(!vowels.Contains(letter))
                result += "." + letter;
        Console.WriteLine(result);
    }
}


string key = Console.ReadLine();
            string final = "" , ans ="" ;
            int n = 0;
            for (int i = 0; i < key.Length; i++)
            {
                if ((key.Substring(i, 1)).ToLower() == "a" ||
                    (key.Substring(i, 1)).ToLower() == "o" ||
                    (key.Substring(i, 1)).ToLower() == "y" ||
                    (key.Substring(i, 1)).ToLower() == "e" ||
                    (key.Substring(i, 1)).ToLower() == "u" ||
                    (key.Substring(i, 1)).ToLower() == "i") //"A", "O", "Y", "E", "U", "I"
                {
                    n++;
                }else {
                    final += key.Substring(i, 1);
                }
            }
            for (int i = 0; i < final.Length; i++)
            {
                ans += "." + final.Substring(i,1);
            }
            Console.WriteLine(ans);


var vowels = new[] {'a', 'A', 'o', 'O', 'y', 'Y', 'e', 'E', 'u', 'U', 'i', 'I'};
            var str = Console.ReadLine();
            foreach (var ch in str)
            {
                if (vowels.Contains(ch))
                    continue;
                Console.Write('.');
                Console.Write(Char.ToLower(ch));
            }
            Console.WriteLine();


string word = Console.ReadLine().ToLower();
			char[] vowel = { 'a', 'e', 'i', 'o', 'u','y'};
			String newword = "";

			foreach(char ch in word)
			{
				foreach(char v in vowel)
				{
					if (ch == v)
					{
						word = word.Replace(ch.ToString(), String.Empty);
					}
				}

			}

			foreach(char con in word)
			{
				newword = newword + "." + con;
			}

			Console.WriteLine(newword);


using System;

namespace sp{
    class Program{
        static void Main(){
            string s = Console.Readline();
            string result = '';

            for(int i = 0;i<s.Length;i++){
                char ch = s[i].ToLower();
                if(ch != 'a' && ch != 'e' && ch != 'y' && ch != 'o' && ch!='u' && ch != 'i'){
                    result+= "." + ch;
                }
            }

            Console.WriteLine(result);
        }
    }
}


private static void StringTask()
        {
            char[] vowels = { 'a', 'o', 'y', 'e', 'u', 'i' };
            StringBuilder inputs = new StringBuilder(Console.ReadLine()?.ToLower());
            //compare to each letter to the vowels
            int x = 0, i = 0, curLen = inputs.Length;
            for (; x < vowels.Length;) {
                if (curLen == i) {
                    break;
                }
                //if element is vowel
                if (inputs[i].Equals(vowels[x++])) {
                    inputs.Remove(i, 1);
                    curLen--;
                    //repeat again the vowels
                    x = 0;
                }

                if (x == vowels.Length - 1) {
                    x = 0;
                    i++;
                }
            }

            for (int y = 0; y < inputs.Length; y += 2) {
                inputs.Insert(y, ".");
            }

            Console.WriteLine(inputs);

            Console.ReadKey();
        }


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

namespace C {
    class Program {
        static bool IsPowerOfTwo (long x) {
            return (x != 0) && ((x & (x - 1)) == 0);
        }
        static void Main (string[] args) {
            var inp = Console.ReadLine ();
            string lowerInp = inp.ToLower ();
            var inpList = lowerInp.ToList ();

            var vowels = new List<char> () {
                'a',
                'e',
                'i',
                'o',
                'u',
                'y'
            };

            inpList.RemoveAll(x => vowels.Contains(x));
            string res = "";
            for(int i = 0; i < inpList.Count; i++) {
                res += ("."+inpList[i]);
            }
            Console.WriteLine(res);
        }
    }
}


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

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

            for(int i=0; i<strlen(x); i++)
            {
                if(x[i].ToString().ToLower()=='a' || x[i].ToString().ToLower()=='e' || x[i].ToString().ToLower()=='i' || x[i].ToString().ToLower()=='o' || x[i].ToString().ToLower()=='u' || x[i].ToString().ToLower()=='y'){
                    continue;
                }
                else{
                    Console.Write(".{0}",x[i]);
                }
            }

        }
    }
}


using System;
class solution
{
    static void Main(String []args)
    {
        string inp=Console.ReadLine().ToLower();
        StringBuilder res= new StringBuilder();
        for(int i=0; i< inp.Length; i++)
        {
            if(inp[i]=='a'||inp[i]=='e'||inp[i]=='i'||inp[i]=='o'||inp[i]=='u'||inp[i]=='y')
            {

            }
            else
            {
                res.append(".");
                res.append(inp[i])
            }
        }
        Console.WriteLine(res)

    }
}


using System;

using System.Text;

namespace Codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            #region P118A
            StringBuilder sb = new StringBuilder();
            foreach (char c in Console.ReadLine().ToLower().ToCharArray())
            {
                if (c != 'a' && c != 'e' && c != 'i' && c != 'o' && c != 'u' && c != 'y')
                {
                    sb.Append('.' + c.ToString());
                }

            } ;
            Console.WriteLine(sb);

        }
    }
}


using System;
using System.Text;

class solution
{
    static void Main(String []args)
    {
        string inp=Console.ReadLine().ToLower();
        StringBuilder res= new StringBuilder();
        for(int i=0; i< inp.Length; i++)
        {
            if(inp[i]=='a'||inp[i]=='e'||inp[i]=='i'||inp[i]=='o'||inp[i]=='u'||inp[i]=='y')
            {

            }
            else
            {
                res.append(".");
                res.append(inp[i]);
            }
        }
        Console.WriteLine(res);

    }
}


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

			string str = Console.ReadLine();

			 foreach (string s in str)
			 {
			      if(s.ToLower()== "a" || s.ToLower()== "o" || s.ToLower()== "y" || s.ToLower()== "e" || s.ToLower()== "u" || s.ToLower()== "i")
			     continue;
			     else
			     Console.Write(s);

			 }

	}
}


using System;

namespace sp{
    class Program{
        static void Main(){
            string s = Console.Readline();
            string result = "";

            for(int i = 0;i<s.Length;i++){
                char ch = s[i].ToLower();
                if(ch != 'a' && ch != 'e' && ch != 'y' && ch != 'o' && ch!='u' && ch != 'i'){
                    result+= "." + ch;
                }
            }

            Console.WriteLine(result);
        }
    }
}


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

namespace prob5_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            var Input =Console.ReadLine() ;
            var newStringsList = new List<String>();
            var removingVowels = RemovingVowels(Input, newStringsList);
            Console.WriteLine(removingVowels);

            string RemovingVowels(string input, List<string> stringsList)
            {
                if (input.Length > 0 && input.Length <= 100)
                foreach(char character in input)
                {
                    if ( character != 'A' && character != 'E' && character != 'I' && character != 'O' && character != 'U' && character != 'a' && character != 'e' && character != 'e' && character != 'o' && character != 'u' &&  character != ' ')
                    {
                        var letter = char.ToString(character);
                        stringsList.Add(".");
                        stringsList.Add(letter);
                    }
                }
                var noVowel = string.Join("",stringsList) ;
                var output = noVowel.ToLower();
                return output;

            }

        }

    }
}


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

namespace prob5_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            var Input =Console.ReadLine() ;
            var newStringsList = new List<String>();
            var removingVowels = RemovingVowels(Input, newStringsList);
            Console.WriteLine(removingVowels);

            string RemovingVowels(string input, List<string> stringsList) {

                if (input.Length > 0 && input.Length <= 100)
                foreach(char character in input)
                {
                    if ( character != 'A' && character != 'E' && character != 'I' && character != 'O' && character != 'U' && character != 'a' && character != 'e' && character != 'e' && character != 'o' && character != 'u' &&  character != ' ')
                    {
                        var letter = char.ToString(character);
                        stringsList.Add(".");
                        stringsList.Add(letter);
                    }
                }
                var noVowel = string.Join("",stringsList) ;
                var output = noVowel.ToLower();
                return output;

            }

        }

    }
}


string Palabra = Console.ReadLine().ToLower();
            for(int i = 0; i < Palabra.Length; i++)
            {
                if (!"aeiouy".Contains(Palabra[i]))
                    Console.Write($".{Palabra[i]}");
            }


using System;

namespace sp{
    class Program{
        static void Main(){
            string s = Console.ReadLine();
            string result = "";

            for(int i = 0;i<s.Length;i++){
                string ch = s[i].ToString()ToLower();
                if(ch != "a" && ch != "e" && ch != "y" && ch != "o" && ch!="u" && ch != "i"){
                    result+= "." + ch;
                }
            }

            Console.WriteLine(result);
        }
    }
}


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

			string str = Console.ReadLine();
			string loStr=str.ToLower();

			 foreach (char s in loStr)
			 {
			      if(s.ToLower()== "a" || s.ToLower()== "o" || s.ToLower()== "y" || s.ToLower()== "e" || s.ToLower()== "u" || s.ToLower()== "i")
			     continue;
			     else
			     Console.Write("."+s);

			 }

	}
}


using System;
using System.Collections.Generic;

namespace sp{
    class Program{
        static void Main(){
            string s = Console.Readline();
            string result = '';

            for(int i = 0;i<s.Length;i++){
                char ch = s[i].ToLower();
                if(ch != 'a' && ch != 'e' && ch != 'y' && ch != 'o' && ch!='u' && ch != 'i'){
                    result+= "." + ch;
                }
            }

            Console.WriteLine(result);
        }
    }
}


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

namespace StringTask
{
    class Program
    {
        static void Main(string[] args)
        {
            var input = Console.ReadLine().ToArray();

            var vowels = new[] {'a', 'e', 'i', 'o', 'u', 'y'};

            var sb = new StringBuilder();

            foreach (var t in input)
            {
                if (!vowels.Contains(t))
                    sb.Append($".{t.ToString().ToLower()}");
            }

            Console.WriteLine(sb.ToString());
        }
    }
}


using System;
class Program
    {
        static void Main(string[] args)
        {
            var vowels = new[] {'a', 'A', 'o', 'O', 'y', 'Y', 'e', 'E', 'u', 'U', 'i', 'I'};
            var str = Console.ReadLine();
            foreach (var ch in str)
            {
                if (vowels.Contains(ch))
                    continue;
                Console.Write('.');
                Console.Write(Char.ToLower(ch));
            }
            Console.WriteLine();
        }
    }


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

class Program
{
    static void Main()
    {
        string del = "aoeuyi";
        string a = Console.ReadLine().ToLower();

        string result = "";

        for(int i = 0; i < a.Length; ++i)
        {
            if (del.Contains(a[i]) == true)
            {
                a = a.Remove(i,1);
                --i;
                continue;
            }
        }

        for(int i = 0; i < a.Length; ++i)
        {
            result = result + '.' + a[i];
        }
        Console.WriteLine(result);
    }

}


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

			string str = Console.ReadLine();

			 foreach (char s in str)
			 {
			      if(s.ToLower()== "a" || s.ToLower()== "o" || s.ToLower()== "y" || s.ToLower()== "e" || s.ToLower()== "u" || s.ToLower()== "i")
			     continue;
			     else
			     Console.Write("."+s);

			 }

	}
}


using System;
class solution
{
    static void Main(String []args)
    {
        string inp=Console.ReadLine().ToLower();
        StringBuilder res= new StringBuilder();
        for(int i=0; i< inp.Length; i++)
        {
            if(inp[i]=='a'||inp[i]=='e'||inp[i]=='i'||inp[i]=='o'||inp[i]=='u'||inp[i]=='y')
            {

            }
            else
            {
                res.append(".");
                res.append(inp[i]);
            }
        }
        Console.WriteLine(res);

    }
}


using System;

class Programm
{
    static void Main(string[] args)
    {
        string str = Console.ReadLine().ToLower();

        for (int i = 0; i < str.Length; i++)
        {
            if(!"aoyeui".Contains(str[i]))
                Console.Write("."+str[i]);
        }
    }
}


using System;
class Task
{
    static void Main()
    {

        string s=Console.ReadLine();
        foreach(char i in s)
        {
            if(!"aeiouy".Contains(i))
            {
                Console.WriteLine("{.0}",i);
            }
        }

    }

}


            string input = Console.ReadLine();

            string output = input.Replace("A", string.Empty)
                .Replace("E", string.Empty)
                .Replace("I", string.Empty)
                .Replace("O", string.Empty)
                .Replace("U", string.Empty)
                .Replace("E", string.Empty)
                .Replace("Y", string.Empty)
                .Replace("a", string.Empty)
                .Replace("e", string.Empty)
                .Replace("i", string.Empty)
                .Replace("o", string.Empty)
                .Replace("u", string.Empty)
                .Replace("y", string.Empty);

            string aa = output.ToLower();
            char[] a =aa.ToCharArray();

            for (int i = 0; i < a.Length; i++)
            {

                Console.Write("." + a[i]);
            }


<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{44EC9480-28FE-4202-91F9-655DBC2E7470}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>ConsoleApplication1</RootNamespace>
    <AssemblyName>ConsoleApplication1</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <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' ">
    <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">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Xml.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data.DataSetExtensions">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </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;

namespace CodeForce
{
    class _118A_StringTask
    {
        void StringTask()
        {
            string input = Console.ReadLine();

            foreach(char c in input)
            {
                switch ((int)c)
                {
                    case 65:
                    case 69:
                    case 73:
                    case 79:
                    case 85:
                    case 89:
                    case 97:
                    case 101:
                    case 105:
                    case 111:
                    case 117:
                    case 121:
                        break;
                    default:
                        Console.Write('.');
                        if(c >= 65 && c <= 90)
                        {
                            Console.Write((char)(c + 32));
                        }
                        else
                        {
                            Console.Write(c);
                        }
                        break;
                }
            }
        }
    }
}


  string input = Console.ReadLine();

            string output = input.Replace("A", string.Empty)
                .Replace("E", string.Empty)
                .Replace("I", string.Empty)
                .Replace("O", string.Empty)
                .Replace("U", string.Empty)
                .Replace("E", string.Empty)
                .Replace("Y", string.Empty)
                .Replace("a", string.Empty)
                .Replace("e", string.Empty)
                .Replace("i", string.Empty)
                .Replace("o", string.Empty)
                .Replace("u", string.Empty)
                .Replace("y", string.Empty);

            string aa = output.ToLower();
            char[] a =aa.ToCharArray();
            // Console.WriteLine(a);

            for (int i = 0; i < a.Length; i++)
            {
                   //no

                Console.Write("." + a[i]);
            }


Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.csproj", "{44EC9480-28FE-4202-91F9-655DBC2E7470}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{44EC9480-28FE-4202-91F9-655DBC2E7470}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{44EC9480-28FE-4202-91F9-655DBC2E7470}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{44EC9480-28FE-4202-91F9-655DBC2E7470}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{44EC9480-28FE-4202-91F9-655DBC2E7470}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal


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

class Program
{
    static void Main()
    {
        string del = "aoeuyi";
        string a = Console.ReadLine().ToLower();

        string result = "";

        for(int i = 0; i < a.Length; ++i)
        {
            if (del.Contains(a[i]))
            {
                a = a.Remove(i,1);
                --i;
                continue;
            }
        }

        for(int i = 0; i < a.Length; ++i)
        {
            result = result + '.' + a[i];
        }
        Console.WriteLine(result);
    }

}


using System;
class Task
{
    static void Main()
    {

        string s=Console.ReadLine();
        foreach(char i in s)
        {
            if(!"aeiouy".Contains(i))
            {
                Console.WriteLine("{0}{1}",.,i);
            }
        }

    }

}


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

namespace Samogloski
{
    class Program
    {
        static void Main(string[] args)
        {
            var Input = Console.ReadLine().ToLower();

            string output = Input.Replace("a", ".")
                                 .Replace("e", ".")
                                 .Replace("i", ".")
                                 .Replace("o", ".")
                                 .Replace("u", ".")
                                 .Replace("y","."),
								 .Replace("..",".");
            Console.WriteLine(output);
        }
    }
}


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

namespace _118A_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            String str=Console.ReadLine();
            for(int i=0;i<str.Length;i++)            //就是為了"看過"每一個str裡的字元str[0]~str[str.Length-1]

                if (str[i] >= 'A' && str[i] <= 'Z')  //如果字元裡有大寫A~Z
                {
                    str[i] = str[i] - 'A' + 'a';     //我所輸入的字串要換成小寫   本來就小寫的就不用換→大寫才要換  所以妳想要把字元變小寫就是先確定 這個字元是大寫才要把他變小寫所以妳的if不是已經寫了 if(str[i]>='A'&&str[i]<='Z') 這個if是true就代表str[i]是大寫
                    //不會只把A換成a  因為ASCII的編碼 'a'+1='b' 'b'+1='c'
                }

             String cake;
                for(int i=0;i<str.Length;i++)
                    if (str[i] != 'a' && str[i] != 'e' && str[i] != 'i' && str[i] != 'o' && str[i] != 'u' && str[i] != 'y')
                    {
                        cake = cake + '.';
                        cake = cake + str[i];
                    }

        }
    }
}


using System;
using System.Collections.Generic;

namespace sample
{
    class Program
    {

        public static void Main()
        {
            char[] input = Console.ReadLine().ToLower().ToCharArray();
            List<char> output = new List<char>();
            foreach (char c in input)
            {
                if (!"aeiou".Contains(c))
                {
                    output.Add('.');
                    output.Add(c);
                }
            }
            System.Console.WriteLine(new String(output.ToArray()));
        }
    }
}


using System;

namespace Codeforce5
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = Console.ReadLine().ToLower();

            for(int i=0; i<str.Length; i++)
            {
                if(!"aoyeui".Contains(str[i]))
                    Console.Write("."+str[i]);
            }
        }
    }
}


string input = System.Console.ReadLine();
System.Text.StringBuilder sb = new System.Text.StringBuilder();
foreach (char ch in input)
{
	var uch = char.ToUpper(ch);
	if (uch != 'A' && uch != 'O' && uch != 'Y' && uch != 'E' && uch != 'U' && uch != 'I')
	{
		sb.Append('.');
		sb.Append(char.ToLower(ch));
	}
}
System.Console.WriteLine(sb.ToString());


using System;

class Program
    {
        static void Main(string[] args)
        {
            char[] input = Console.ReadLine().ToCharArray();
            bool[] ar = new bool[26];
            ar[0] = ar[4] = ar[8] = ar[14] = ar[20] = ar[24] = true;
            StringBuilder bldr = new StringBuilder();
            for(int i=0, j=0, k=0; i<input.Length; ++i)
            {
                k = j = input[i];
                if (j < 97) j += 32;
                if(!ar[j-97])
                {
                    if(k<j) input[i] = (char)j;
                    bldr.AppendFormat(".{0}", input[i]);
                }
            }
            Console.WriteLine(bldr.ToString());
        }
    }


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

namespace stringtask
{
    class Program
    {
        static void Main(string[] args)
        {
            string line = Console.ReadLine();
            line=line.ToLower();
            for (int i = 0; i < line.Length;)
            {
                if (line[i] == 'a' || line[i] == 'o' || line[i] == 'y' || line[i] == 'e' || line[i] == 'u'||line[i]=='i')
                {
                    line = line.Remove(i, 1);
                    i--;
                }
                i++;
            }
            for (int j = 0; j < line.Length; j+=2)
            {
                if (line[j] != 'a' && line[j] != 'o' && line[j] != 'y' && line[j] != 'e' && line[j] != 'u' && line[i] == 'i')
                {
                    line = line.Insert(j, ".");
                }
            }

            Console.WriteLine(line);
        }
    }
}


using System;

public class Program
{
	public static void Main()
	{
		string input = Console.ReadLine();
		string lower = input.ToLower();
		char[] array = lower.ToCharArray();
		List<char> list = new List<char>();

        // Loop through array.
        for (int i = 0; i < array.Length; i++)
        {
            // Get character from array.
            char letter = array[i];
			if(letter == 'o'||letter == 'a' || letter == 'u' || letter == 'e'||letter == 'i' || letter == 'y')
			{

			}
			else
			{
				list.Add('.');
				list.Add(letter);

			}

        }
		            Console.WriteLine(list);

	}
}


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

			string str = Console.ReadLine();
			string loStr=str.ToLower()

			 foreach (char s in loStr)
			 {
			      if(s.ToLower()== "a" || s.ToLower()== "o" || s.ToLower()== "y" || s.ToLower()== "e" || s.ToLower()== "u" || s.ToLower()== "i")
			     continue;
			     else
			     Console.Write("."+s);

			 }

	}
}


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

namespace prob5_String_Task
{
    class Program
    {
        static void Main(string[] args)
        {
            string Input =Console.ReadLine() ;
            var newStringsList = new List<String>();
            var removingVowels = RemovingVowels(Input, newStringsList);
            Console.WriteLine(removingVowels);

            string RemovingVowels ( string input , List<string> stringsList) {

                if (input.Length > 0 && input.Length <= 100)
                foreach(char character in input)
                {
                    if ( character != 'A' && character != 'E' && character != 'I' && character != 'O' && character != 'U' && character != 'a' && character != 'e' && character != 'e' && character != 'o' && character != 'u' &&  character != ' ')
                    {
                        var letter = char.ToString(character);
                        stringsList.Add(".");
                        stringsList.Add(letter);
                    }
                }
                string noVowel = string.Join("",stringsList) ;
                string output = noVowel.ToLower();
                return output;
            };
        }

    }
}


            string input = Console.ReadLine();

            string output = input.Replace("A", string.Empty)
                .Replace("E", string.Empty)
                .Replace("I", string.Empty)
                .Replace("O", string.Empty)
                .Replace("U", string.Empty)
                .Replace("E", string.Empty)
                .Replace("Y", string.Empty)
                .Replace("a", string.Empty)
                .Replace("e", string.Empty)
                .Replace("i", string.Empty)
                .Replace("o", string.Empty)
                .Replace("u", string.Empty)
                .Replace("y", string.Empty);

            string aa = output.ToLower();
            char[] a =aa.ToCharArray();

            for (int i = 0; i < a.Length; i++)
            {

                Console.Write("." + a[i]);
            }


using System;
using System.Collections.Genetic;

namespace sp{
    class Program{
        static void Main(){
            string s = Console.Readline();
            string result = '';

            for(int i = 0;i<s.Length;i++){
                char ch = s[i].ToLower();
                if(ch != 'a' && ch != 'e' && ch != 'y' && ch != 'o' && ch!='u' && ch != 'i'){
                    result+= "." + ch;
                }
            }

            Console.WriteLine(result);
        }
    }
}


using System;
using System.Data;
using System.DirectoryServices;
using System.DirectoryServices.AccountManagement;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Principal;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using Microsoft.SqlServer.Management.Smo;
using Microsoft.Web.Administration;

namespace XPathTest
{
	internal class Program
	{
		private static void Main(string[] args)
		{
			AnotherTest();
			Console.ReadKey();
		}

		private static void TestUser()
		{
			Console.WriteLine(WindowsIdentity.GetCurrent().Name);
			var wp = new WindowsPrincipal(new WindowsIdentity(WindowsIdentity.GetCurrent().Token));
			var type = typeof(WindowsIdentity);
			var method = type.GetMethods(BindingFlags.Instance | BindingFlags.NonPublic).First(m => m.Name == "CreateFromToken");
			var obj = new WindowsIdentity(WindowsIdentity.GetCurrent().Token);
			var result = method.Invoke(obj, new object[] { WindowsIdentity.GetCurrent().Token });
			Console.WriteLine(obj.Name + " " + obj.Token);
			//Console.WriteLine(result.Name + " " + result.Token);
			Console.WriteLine(WindowsIdentity.GetCurrent().Token);
		}

		public static void AnotherTest()
		{
			var user = WindowsIdentity.GetCurrent().User;
			Console.WriteLine(user.AccountDomainSid);
		}

		private static void TestCreateAppDomain()
		{
			var domain = AppDomain.CreateDomain("TestDomain");
			Console.WriteLine(WindowsIdentity.GetCurrent().Token);
			domain.SetThreadPrincipal(new WindowsPrincipal(new WindowsIdentity(WindowsIdentity.GetCurrent().Token)));
			domain.ExecuteAssembly(@"C:\Users\Andrey.Titov\Documents\Visual Studio 2013\Projects\Test\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe");
			var newDom = AppDomain.CreateDomain("Test");
			newDom.SetThreadPrincipal(new WindowsPrincipal(new WindowsIdentity(WindowsIdentity.GetCurrent().Token)));
			newDom.ExecuteAssembly(@"C:\Users\Andrey.Titov\Documents\Visual Studio 2013\Projects\Test\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe");
			AppDomain.Unload(domain);
			AppDomain.Unload(newDom);
			Console.WriteLine(WindowsIdentity.GetCurrent().Token);
		}

		private static void ProgramFilesTest()
		{
			Console.WriteLine(Environment.ExpandEnvironmentVariables(@"%SYSTEMROOT%\Microsoft.NET\Framework\v4*"));
		}

		private static void Test()
		{
			var dir = new DirectoryInfo(@"C:\Windows\System32\inetsrv\config");
			foreach (var fileInfo in dir.EnumerateFiles()) {
				Console.WriteLine(fileInfo.Name);
			}
			//var doc = new XmlDocument();
			//doc.Load(@"C:\Windows\System32\inetsrv\config\applicationHost.config");
			//XmlNode root = doc.DocumentElement;

			//XmlNode node = root.SelectSingleNode(@"/configuration/configSections/sectionGroup[@name='system.webServer']/section[@name='handlers']");
			//foreach (XmlAttribute attr in node.Attributes)
			//{
			//	Console.WriteLine(attr.Name);
			//}
		}

		private static void Machine()
		{
			using (var context = new PrincipalContext(ContextType.Machine)) {
				using (var searcher = new PrincipalSearcher(new UserPrincipal(context))) {
					foreach (var result in searcher.FindAll()) {
						var de = result.GetUnderlyingObject() as DirectoryEntry;
						var samAccountName = de.Properties["samAccountName"].Value;
						var name = de.Properties["Name"].Value;
						Console.WriteLine(samAccountName);
						Console.WriteLine(name);
						Console.WriteLine();
					}
				}
			}
		}

		private static void TestWin10()
		{
		}

		private static void Ad()
		{
			using (var context = new PrincipalContext(ContextType.Domain, "INTRANET")) {
				using (var searcher = new PrincipalSearcher(new UserPrincipal(context))) {
					foreach (var result in searcher.FindAll()) {
						var de = result.GetUnderlyingObject() as DirectoryEntry;
						var samAccountName = de.Properties["samAccountName"].Value;
						var name = de.Properties["Name"].Value;
						Console.WriteLine(samAccountName);
						Console.WriteLine(name);
						Console.WriteLine();
					}
				}
			}
		}

		private static void TestSqlServers()
		{
			DataTable localServers = SmoApplication.EnumAvailableSqlServers(true);
			DataRow[] rows = localServers.Select(string.Empty, "IsLocal desc, Name asc");
			DataTable netServers = SmoApplication.EnumAvailableSqlServers();
			var netRows = netServers.Select(string.Empty, "IsLocal desc, Name asc");
			var totalRows = rows.Concat(netRows).ToArray();
			foreach (var row in netRows)
			{
				Console.WriteLine(row[0]);
			}
		}
	}
}


using System;
using System.Numerics;

namespace _664A
{
    internal class Program
    {
        private static BigInteger gcd(BigInteger a, BigInteger b)
        {
            BigInteger tmp;
            while (b != BigInteger.Zero)
            {
                tmp = new BigInteger(b.ToByteArray());
                b = new BigInteger((a % b).ToByteArray());
                a = new BigInteger(tmp.ToByteArray());
            }
            return a;
        }

        private static void Main(string[] args)
        {
            string input = Console.ReadLine();

            var numbers = input.Split(" ");

            BigInteger a = BigInteger.Parse(numbers[0]);
            BigInteger b = BigInteger.Parse(numbers[1]);

            BigInteger result = gcd(a, b);
            Console.WriteLine(result.ToString());
        }
    }
}


<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.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>{C22E8B66-0EF5-43B8-86DC-85B1FB630485}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>A.Keyboard</RootNamespace>
    <AssemblyName>A.Keyboard</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </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.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.Text;

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

            StringBuilder correctMessage = new StringBuilder();

            foreach (var c in MoleMessage)
            {

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

            Console.WriteLine(correctMessage.ToString());

        }
    }
}


using System;
using System.Text;

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

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

	}
}