Problem:
Score : 100 points

Problem Statement

Ringo is giving a present to Snuke.

Ringo has found out that Snuke loves yakiniku (a Japanese term meaning grilled meat. yaki: grilled, niku: meat). He supposes that Snuke likes grilled things starting with YAKI in Japanese, and does not like other things.

You are given a string S representing the Japanese name of Ringo's present to Snuke. Determine whether S starts with YAKI.

Constraints

1 \leq |S| \leq 10

S consists of uppercase English letters.

Input

Input is given from Standard Input in the following format:

S

Output

If S starts with YAKI, print Yes; otherwise, print No.

Sample Input 1

YAKINIKU

Sample Output 1

Yes

YAKINIKU starts with YAKI.

Sample Input 2

TAKOYAKI

Sample Output 2

No

TAKOYAKI (a Japanese snack. tako: octopus) does not start with YAKI.

Sample Input 3

YAK

Sample Output 3

No

Solution in C# (Mono 4.6.2.0) (judge verdict: Runtime Error)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
    static void Main(string[] args) { main();Console.ReadLine(); }
    static void main()
    {
        int[] n = Console.ReadLine().Split().Select(int.Parse).ToArray();
        int[] a = new int[26];
        for (int i = 0; i < n[0]; i++)
        {
            string s = Console.ReadLine();
            for (int j = 0; j < s.Length; j++)
            {
                a[s[j] - 'a']++;
            }
        }
        if (n[0] == 1 || n[1] == 1)
        {
            bool already = false; for (int i = 0; i < 26; i++)
            {
                if (a[i] % 2 == 1) { if (already == false) { already = true; } else { Console.WriteLine("No"); return; } }
            }
            if (already) { Console.WriteLine("Yes"); return; }
            Console.WriteLine("No"); return;
        }
        if (n[0] % 2 == 0 && n[1] % 2 == 0)
        {
            for (int i = 0; i < 26; i++)
            {
                if (a[i] % 4 != 0) { Console.WriteLine("No"); return; }

            }
            Console.WriteLine("Yes"); return;
        }
        if (n[0] % 2 == 1 && n[1] % 2 == 1)
        {
            int twos = 0;
            int ones = 0;
            int fours = 0;
            for (int i = 0; i < 26; i++)
            {
                if (a[i] % 2 == 1) { ones++; }
                if (a[i] % 4 == 2) { twos++; }
                if (a[i] % 4 == 4) { fours++; }
             //   else { threes++; }
            }
            if ( ones <= 2&& twos <= 2) { Console.WriteLine("Yes"); return; }
            else { Console.WriteLine("No"); return; }

        }
        else
        {
            int twos = 0;
            int ones = 0;
            int fours = 0;
            int threes = 0;
            for (int i = 0; i < 26; i++)
            {
                if (a[i] % 2 == 1) { ones++; }
                if (a[i] % 4 == 2) { twos++; }
                if (a[i] % 4 == 4) { fours++; }
                else { threes++; }
            }
            if ( ones == 0 && twos == 2) { Console.WriteLine("Yes"); return; }
            else { Console.WriteLine("No"); return; }

        }
    }
    //    static bool 
}