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



Sample input:
YAKINIKU


Sample output:
Yes

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(S: str):
    if S.startswith('YAKI'):
        print(YES)
    else:
        print(NO)
    return


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  # type: str
    solve(S)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=input()
if len(a)<4:
    print('No')
elif a[0]=='Y' and a[1]=='A' and a[2]=='K' and a[3]=='I':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import sys, re
input = sys.stdin.readline
pattern = re.compile('YAKI')

m = pattern.match(input())
print('Yes' if m else 'No')

Submission status: Accepted

Solution code:
print(["Yes", "No"][not(input()[:4] == "YAKI")])

Submission status: Accepted

Solution code:
# code-festival-2017-qualaA - Snuke's favorite YAKINIKU
def main():
    s = input()
    print("Yes" if s.startswith("YAKI") else "No")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    S = input()
    if S.startswith("YAKI"):
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import re
s = input()
print('Yes' if re.match('YAKI', s) else 'No')

Submission status: Accepted

Solution code:
if input()[:4]=='YAKI':
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
s=input()
if s[:4]=='YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input()
print('Yes' if S[:4] == 'YAKI' else 'No')

Submission status: Accepted

Solution code:
import re
s = input()
if re.match("YAKI", s):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s=input()
if len(s)<4:
    print("No")
elif s[:4]=="YAKI":
    print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
s = input()
if len(s) >= 4 and  s[:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s=input()
if len(s)<=3:
  print("No")
else:
  if s[0:4]=="YAKI":
    print("Yes")
  else:
    print("No")

Submission status: Accepted

Solution code:
string = str(input())
if string.find("YAKI", 0, 4) >= 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import bisect
import os
from collections import Counter, deque
from fractions import gcd
from functools import lru_cache
from functools import reduce
import functools
import heapq
import itertools
import math
import numpy as np
import re
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(2147483647)
INF = float("inf")


S = sys.stdin.readline().rstrip()
if S.startswith('YAKI'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = input()
answer = 'Yes' if s[:4] == 'YAKI' else 'No'
print(answer)

Submission status: Accepted

Solution code:
S = input()
if S[:4] == 'YAKI':
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
print('Yes' if input()[0:4] == 'YAKI' else 'No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - Snuke's favorite YAKINIKU
https://atcoder.jp/contests/code-festival-2017-quala/tasks/code_festival_2017_quala_a

"""
import sys


def solve(S):
    if S.startswith('YAKI'):
        return 'Yes'
    return 'No'


def main(args):
    S = input()
    ans = solve(S)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

Solution code:
S = input()
if len(S) < 4:
	print("No")
	exit()
else:
	if S[: 4] == "YAKI":
		print("Yes")
	else:
		print("No")

Submission status: Accepted

Solution code:
s=input()
print('Yes') if s.startswith('YAKI') else print('No')

Submission status: Accepted

Solution code:
import re
print("Yes" if re.search("^YAKI,*", input()) else "No")

Submission status: Accepted

Solution code:
S = input()
if S[:4]=='YAKI':
	print('Yes')
else:
	print('No')

Submission status: Accepted

Solution code:
n = input()
print("No" if len(n) < 4 else "Yes" if n[:4] == "YAKI" else "No")

Submission status: Accepted

Solution code:
s = input()
if s[:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
print("Yes"if input()[:4]=="YAKI"else"No")

Submission status: Accepted

Solution code:
s=str(input())

if s.startswith("YAKI"):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
if input()[:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
S = input()
if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s=list(input())
s.append("0")
YAKI=["Y","A","K","I"]
ans=1
for i in range(4):
  if s[i] != YAKI[i]:
    ans=0
    break
if ans == 1:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

S=input()

if S.startswith('YAKI'):
    Yes()
else:
    No()

Submission status: Accepted

Solution code:
import re
print("Yes" if re.search("^YAKI,*", input()) else "No")

Submission status: Accepted

Solution code:
S = input()
if len(S) >= 4:
  if S[0:4] == "YAKI":
   	print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Accepted

Solution code:
s = str(input())
if s[:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = [i for i in input()]
if len(S)>=4:
  if S[0]=="Y" and S[1] == "A" and S[2]=="K" and S[3] == "I":
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Accepted

Solution code:
if input()[:4]=='YAKI':print('Yes')
else: print('No')

Submission status: Accepted

Solution code:
s=input()
if len(s)<4:print("No")
elif s[:4]=="YAKI":print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
s=input()
if len(s)>=4:
    if s[0:4]=="YAKI":
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
S = input()
ans = "No"
if(S[:4] == "YAKI"):
  ans = "Yes"
print(ans)

Submission status: Accepted

Solution code:
S = input()

ans = S[0:4] == "YAKI"

print("Yes" if ans else "No")

Submission status: Accepted

Solution code:
S = input()

t = 'YAKI'
tmp = 0
for i in range(len(S)):
    if S[i] == t[i]:
        flag = True
        tmp += 1
    else:
        flag = False
        break
        
    if tmp == 4:
        break
  
if tmp == 4 and flag == True:
    print('Yes')
    
else:
    print('No')

Submission status: Accepted

Solution code:
a = input()
if a[:4]=="YAKI":print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
s=list(input())
print('Yes'if ''.join(s[:4])=='YAKI' else'No')

Submission status: Accepted

Solution code:
if input()[:4]=="YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s = input()
if len(s) >= 4:
  if s[:4] == "YAKI":
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Accepted

Solution code:
s = str(input())
if s[0:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a=input()
if len(a)<=3:
    print("No")
else:
    if a[0]=='Y' and a[1]=='A' and a[2]=='K' and a[3]=='I':
        print("Yes")
    else:
        print("No")

Submission status: Accepted

Solution code:
s = input()
if s[0:4] == 'YAKI': print('Yes')
else: print('No')

Submission status: Accepted

Solution code:
s = input()
if len(s)<4:
    print("No")
else:
    if s[:4] == "YAKI":
        print("Yes")
    else:
        print("No")

Submission status: Accepted

Solution code:
h=input()
print("No" if h[:4]!="YAKI" else"Yes")

Submission status: Accepted

Solution code:
S=input()
  
if len(S)<4:
    print('No')
elif S[0:4]=='YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input()
if len(S) < 4:
  print("No")
elif S[0:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s=input()
a=False
if(len(s)>3):
  if(s[0:4]=="YAKI"):
    a=True
print("Yes" if a else "No")

Submission status: Accepted

Solution code:
S = input()
if len(S) > 3 and S[0:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
if input()[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input()

if S[0:4] == 'YAKI':
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
if input()[0:4] == "YAKI" :
    print("Yes")
else :
    print("No")

Submission status: Accepted

Solution code:
s = input()
n = len(s)
if n<4:
  print("No")
elif s[:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s=input()
print("Yes" if s[:4:]=="YAKI" else "No")

Submission status: Accepted

Solution code:
s = input()
if len(s) < 4:
    print("No")
elif s[:4] != "YAKI":
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
S = input()

if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input()[0:4]
if S == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import re

s = input()
pat = "YAKI"
m = re.match(pat, s)
if m:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
s = input()
if s[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = str(input())
if s[:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input()

ans = 'No'
if s[:4] == 'YAKI':
    ans = 'Yes'
print(ans)

Submission status: Accepted

Solution code:
S = str(input().strip())
if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = list(input())
if len(s) <= 3:
    print("No")
elif s[0] == "Y" and s[1] == "A" and s[2] == "K" and s[3] == "I":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = input()

try:
    if S[0:4] == 'YAKI':
        print('Yes')
    else:
        print('No')
except:
    print('No')

Submission status: Accepted

Solution code:
s = input()
if s[0:4] == "YAKI":
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
s=input()
if len(s)>=4 and s[:4]=='YAKI' :print('Yes')
else:print('No')

Submission status: Accepted

Solution code:
s = input()
if s[:4]=="YAKI": print("Yes")
else: print("No")

Submission status: Accepted

Solution code:
S = input()
print("Yes" if len(S)>=4 and S[:4]=="YAKI" else "No")

Submission status: Accepted

Solution code:
from sys import stdin

in_strings = lambda: stdin.readline()[:-1] # s = in_strings()
in_int = lambda: int(stdin.readline()) # N = in_int()
in_intlist = lambda: list(map(int, stdin.readline().split())) # List = in_intlist()

S = in_strings()
if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s=input()
if len(s)<4 or s[0:4]!='YAKI':print('No')
else:print('Yes')

Submission status: Accepted

Solution code:
import re

str = input()

m = re.match("^YAKI",str)

if m:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s=input()
print("Yes" if len(s)>=4 and s[:4]=="YAKI" else "No")

Submission status: Accepted

Solution code:
S = input()
flag = False
if (len(S) < 4):
  flag = False
else:
  if (S[0] == 'Y' and S[1] == 'A' and S[2] == 'K' and S[3] == 'I'):
    flag = True
  
if flag:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
S = input()
print('Yes' if S.startswith('YAKI') else 'No')

Submission status: Accepted

Solution code:
S = input()
if S[:4] == 'YAKI':
	print('Yes')
else:
	print('No')

Submission status: Accepted

Solution code:
if input().find("YAKI")==0:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s = list(input())
if s[: 4] == ['Y', 'A', 'K', 'I']:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
print("Yes" if input()[:4]=="YAKI" else "No")

Submission status: Accepted

Solution code:
a = input()
if len(a)<4:print('No')
else:
    if a[0:4] == 'YAKI':print('Yes')
    else:print('No')

Submission status: Accepted

Solution code:
s = raw_input()
print ['No', 'Yes'][s[0 : 4] == 'YAKI']

Submission status: Accepted

Solution code:
s=raw_input()
if s[:4] == 'YAKI':
  print 'Yes'
else:
  print 'No'

Submission status: Accepted

Solution code:
print(['Yes','No'][input()[:4]!='YAKI'])

Submission status: Accepted

Solution code:
import re
print('Yes' if re.match(r'^YAKI',input()) else 'No')

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    s = input()
    print("Yes" if s[0:4] == "YAKI" else "No")

Submission status: Accepted

Solution code:
a=list(input())
if len(a)<=3:
	print("No")
else:
	if a[0]=="Y" and a[1]=="A" and a[2]=="K" and a[3]=="I":
		print("Yes")
	else:
		print("No")

Submission status: Accepted

Solution code:
S = input()
SS = list(S)
if len(SS) <= 3:
	print("No")
else:
	if S[0:4] == "YAKI":
		print("Yes")
	else:
		print("No")

Submission status: Accepted

Solution code:
s=input()
#print(s[0:4])
if s[0:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input()
if len(s) < 4:
  print('No')
else:
  t = s[:4]
  if t == 'YAKI':
    print('Yes')
  else:
    print('No')

Submission status: Accepted

Solution code:
S = input()

if len(S)<4 or S[:4]!="YAKI":
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
S = input().strip()
if S[:4] == 'YAKI':
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
s = input()
if len(s)>=4 and s[:4]=="YAKI": print("Yes")
else: print("No")

Submission status: Accepted

Solution code:
S = input().rstrip()
if 4 <= len(S) and S[:4] == 'YAKI':
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

# CODE FESTIVAL 2017 qual A
# Problem A

if __name__ == '__main__':
    s = input()

    if s[:4] == 'YAKI':
        print('Yes')
    else:
        print('No')

Submission status: Accepted

Solution code:
N=list(input())
if len(N)>=4:
    if N[:4]==["Y","A","K","I"]:
        print("Yes")
        exit()
print("No")

Submission status: Accepted

Solution code:
name = input()
if name.startswith("YAKI"):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
a = input()
if a[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][0]

print("Yes" if s[0:4]=="YAKI" else "No")

Submission status: Accepted

Solution code:
s = input()
if len(s)>=4 and s[:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


s = input()
if len(s) >= 4:
    if s[0:4] == 'YAKI':
        print('Yes')
    else:
        print('No')
else:
    print('No')

Submission status: Accepted

Solution code:
s=input()
if(s[:4]=="YAKI"):print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
def main():
    S = input()

    if S[:4] == "YAKI":
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
if (input()[:4]=="YAKI"):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
if input().startswith("YAKI"):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s = input()
print("Yes" if s[0:4] == "YAKI" else "No")

Submission status: Accepted

Solution code:
s = input()
if s.find('YAKI') == 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = input()
if s.startswith('YAKI'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# coding: UTF-8
S = input()
if S.startswith("YAKI"):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = raw_input()
if S[:4]=='YAKI':
    print 'Yes'
else:
    print 'No'

Submission status: Accepted

Solution code:
S = str(input())

if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
def solve():
    S = input()
    if S[:4] == "YAKI":
        print("Yes")
    else:
        print("No")
    
solve()

Submission status: Accepted

Solution code:
import sys
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt, ceil, floor
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache, reduce
from operator import xor
INF = float("inf")
sys.setrecursionlimit(10**7)

# 4近傍（右, 下, 左, 上）
dy = [0, -1, 0, 1]
dx = [1, 0, -1, 0]


def inside(y: int, x: int, H: int, W: int) -> bool: return 0 <= y < H and 0 <= x < W


def main():
    S = input()
    print("Yes" if S.startswith("YAKI") else "No")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()
if len(s) >= 4 and s[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
a= input()
if len(a) >= 4:
    if a[0:4] == "YAKI":
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
s = raw_input()
if s[0:4] == "YAKI":
  print "Yes"
else:
  print "No"

Submission status: Accepted

Solution code:
a = raw_input().rstrip()

if len(a)>=4 and a[:4]=='YAKI':
    print 'Yes'
else:
    print 'No'

Submission status: Accepted

Solution code:
s = input()
if s.find("YAKI")==0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = input()
if len(S) < 3:
    print("No")
    exit()

T = S[:4]
if T == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import numpy as np

S = input()
if S[0:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
S = input()
if S[0:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()

def main():
    s = S()
    if s[:4] == 'YAKI':
        return 'Yes'

    return 'No'


print(main())

Submission status: Accepted

Solution code:
a = input()
if a[:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s=str(input())
if s[:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S=str(input())
if S[:4]=='YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
print('Yes' if input()[:4]=='YAKI' else 'No')

Submission status: Accepted

Solution code:
N = list(input())
m = ""
if len(N)  > 3:
    m = N[0] + N[1] + N[2] + N[3]
if m == 'YAKI':
        print('Yes')
else:
        print('No')

Submission status: Accepted

Solution code:
#!/usr/bin/env python
#-*- coding: utf-8 -*-

s = raw_input()

if s[0:4] == "YAKI":
    print "Yes"
else:
    print "No"

Submission status: Accepted

Solution code:
#! /bin/python
# coding:utf-8

import re
import itertools

S = raw_input()
matchOBJ = re.search(r'^YAKI', S)

if (matchOBJ):
    print "Yes"
else:
    print "No"

Submission status: Accepted

Solution code:
def main():
    s = input()
    if len(s) < 4 or "YAKI" != s[:4]:
        print("No")
    else:
        print("Yes")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
mes="No"
if raw_input()[:4]=="YAKI":mes="Yes"
print mes

Submission status: Accepted

Solution code:
#!/usr/bin/env python                                                                                           
#-*- coding: utf-8 -*-                                                                                          

if __name__ == "__main__":
    S = raw_input()
    if S[0:4] == "YAKI":
        print "Yes"
    else:
        print "No"

Submission status: Accepted

Solution code:
S = input()
if S[0:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
S = input()
ans = "Yes" if S[0:4] == "YAKI" else "No"
print(ans)

Submission status: Accepted

Solution code:
s = input()[:4]
if s == 'YAKI':
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
s = raw_input()
if s[0:4] == "YAKI":
 print "Yes"
else:
 print "No"

Submission status: Accepted

Solution code:
S = str(input())
if S[0:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input()
s += "aaa"

if s[0:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s=input()
if(len(s)>=4) :
	if(s[:4]=="YAKI"): 
		print("Yes")
	else : print("No")
else : print("No")

Submission status: Accepted

Solution code:
s=raw_input()
if s[:4] == 'YAKI':
    print 'Yes'
else:
    print 'No'

Submission status: Accepted

Solution code:
s=input()
print("Yes"if(s[:4]=="YAKI")else"No")

Submission status: Accepted

Solution code:
print(["No","Yes"][input()[0:4]=="YAKI"])

Submission status: Accepted

Solution code:
s = input()
if len(s)>=4 and s[:4] == 'YAKI':
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
if str.lower(input())[:4] == "yaki":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s=raw_input().strip()
print 'Yes' if s[:4]=="YAKI" else 'No'

Submission status: Accepted

Solution code:
S=raw_input()
print "Yes" if len(S)>=4 and S[:4]=="YAKI" else "No"

Submission status: Accepted

Solution code:
N = input()
if N.startswith('YAKI'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
s = input()
if s[0:4]=='YAKI' :
  print('Yes')
else :
  print('No')

Submission status: Accepted

Solution code:
s = input()
if len(s) > 3:
    if s[:4] == "YAKI":
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
import sys
st = input()
if len(st) < 4:
    print('No')
    sys.exit()
if st[0] == 'Y':
    if st[1] == 'A':
        if st[2] == 'K':
            if st[3] == 'I':
                print('Yes')
            else:
                print('No')
        else:
            print('No')
    else:
        print('No')
else:
    print('No')

Submission status: Accepted

Solution code:
# coding:utf-8

s=input()
if s[0:4]=="YAKI":
        print("Yes")
else:
        print("No")

Submission status: Accepted

Solution code:
S = input()

if S[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input()
try:
    if S[:4] == "YAKI": print("Yes")
    else: print("No")
except IndexError:
    print("No")

Submission status: Accepted

Solution code:
s = input()		# 文字列の入力  abcdefg...

if s.find("YAKI") == 0:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
s = input()
a = 'YAKI'
ans = 0
if len(s) >= 4:
    for i in range(4):
        if s[i] == a[i]:
            ans = 1
        else:
            ans = 0
            break
if ans == 1:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S=input().strip()
if S.find("YAKI")==0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def isYaki(S):
    if len(S) < 4:
        return 'No'
    
    answer = 'YAKI'
    for (a, b) in zip(answer, S):
        if a != b:
            return 'No'
    return 'Yes'

if __name__ == '__main__':
    S = input()
    print(isYaki(S))

Submission status: Accepted

Solution code:
from sys import stdin
s = stdin.readline().strip()
ans = 'No'
if s.startswith('YAKI'):
 ans = 'Yes'
print ans

Submission status: Accepted

Solution code:
s=raw_input()
if len(s)>=4 and s[0:4]=='YAKI': print 'Yes'
else: print 'No'

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline().strip()

if len(s) >= 4 and s[:4] == 'YAKI':
    sys.stdout.write('Yes')
else:
    sys.stdout.write('No')

Submission status: Accepted

Solution code:
# encoding:utf-8
def main():
	s = input()
	if s[0:4] == "YAKI":
		print("Yes")
	else:
		print("No")

if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
S = input()
if len(S) >= 4:
    if S[:4] == "YAKI":
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
print "Yes" if raw_input().startswith("YAKI") else "No"

Submission status: Accepted

Solution code:
s = raw_input()

tmp = "YAKI"

if s.find(tmp) != 0:
    print "No"
else:
    print "Yes"

Submission status: Accepted

Solution code:
s = (raw_input())

if s.startswith('YAKI'):
    print "Yes"
else:
    print "No"

Submission status: Accepted

Solution code:
s= input()
if len(s)>3 and s[0]=='Y' and  s[1]=='A' and s[2]=='K' and s[3]=='I':
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
print("Yes" if input().startswith("YAKI") else "No")

Submission status: Accepted

Solution code:
s = input()
if len(s) <= 3:
	print('No')
else:
	if s[0] == 'Y' and s[1] == 'A' and s[2] == 'K' and s[3] == 'I':
		print('Yes')
	else:
		print('No')

Submission status: Accepted

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
S = input()

S = S[0:4]

if "YAKI" in S:
	print("Yes")

else:
	print("No")

Submission status: Accepted

Solution code:
import sys
import socket

hostname = socket.gethostname()

if hostname == 'F451C':
    sys.stdin = open('a1.in')


def read_int_list():
    return list(map(int, input().split()))


def read_str_list():
    return input().split()


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    s = read_str()
    if s[0:4] == 'YAKI':
        print('Yes')
    else:
        print('No')


main()

Submission status: Accepted

Solution code:
s = input()
if s.startswith('YAKI'):print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
S = raw_input()
if (S[0:4] == "YAKI"):
    print "Yes"
else:
    print "No"

Submission status: Accepted

Solution code:
a=input()
if a[0:4]=="YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
a = str(raw_input())
if a[0:4] == 'YAKI':
    print 'Yes'
else:
    print 'No'

Submission status: Accepted

Solution code:
def main():
    S = input()
    
    n = "YAKI"
    
    if(S[:4] == n):
        print("Yes")
    else:
        print("No")
    
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
# coding: utf-8
import sys

s = input()

if len(s) < 4:
    print("No")
    sys.exit()
if s[0]=='Y' and s[1]=='A' and s[2] == 'K' and s[3] == 'I':
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
if input().startswith('YAKI'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import sys

print 'Yes' if sys.stdin.readline().startswith('YAKI') else 'No'

Submission status: Accepted

Solution code:
mystr=input()
if mystr.startswith('YAKI'):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import re
s = input()
if re.match('YAKI', s):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
print("Yes" if input()[0:4] == "YAKI" else "No")

Submission status: Accepted

Solution code:
print('Yes' if input()[:4] == 'YAKI' else 'No')

Submission status: Accepted

Solution code:
str=input()

if str[0:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def solution():
	s = list(input().strip())
	if len(s) < 4:
		print('No')
	else:
		s = ''.join(s[:4])
		if s == 'YAKI':
			print('Yes')
		else:
			print('No')



solution()

Submission status: Accepted

Solution code:
s=raw_input()
print "Yes" if s.startswith("YAKI") else "No"

Submission status: Accepted

Solution code:
s = input()

txt = "YAKI"

for i in range(4):
    if(len(s) < 4):
        flag = 0
        break
    if(s[i] == txt[i]):
        flag = 1
    else:
        flag = 0
        break

if(flag == 1):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 23 21:05:25 2017

@author: taichiNakamura
"""

S = input()

def main(S):
    if len(S) < 4:
        return 'No'
    if S[:4] == 'YAKI':
        return 'Yes'
    else:
        return 'No'

print(main(S))

Submission status: Accepted

Solution code:
S = input()
res = 'No'
if S[0:4] == 'YAKI':
  res = 'Yes'

print(res)

Submission status: Accepted

Solution code:
def func() :
    s=input()
    if len(s) >= len('YAKI') :
        if s[:4] == 'YAKI' :
            print('Yes')
            return
    print('No')
func()

Submission status: Accepted

Solution code:
def main():
    S = input()

    try:
        if S.index('YAKI'):
            ans = 'No'
        else:
            ans = 'Yes'
    except:
        ans = 'No'

    print(ans)

main()