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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
print(s[:-8])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()
if "YAKI" in S:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

Solution code:
s=input()

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

Submission status: Wrong Answer

Solution code:
s=input()

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

Submission status: Wrong Answer

Solution code:
print('YNoes'[input()[:4]!='YAKI'::2])

Submission status: Wrong Answer

Solution code:
def main():
    S = input()
    if S[:4] == "YAKI":
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a = input()
print(a.startswith('YAKI'))

Submission status: Wrong Answer

Solution code:
S = input()

if len(S) >= 4 and 'YAKI' in S[0:5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = input()

if 'YAKI' in S[0:5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())

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

Submission status: Wrong Answer

Solution code:
print("YES" if input()[:4] == "YAKI" else "NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("YNEOS"[input()[:4]!="YAKI"::2])

Submission status: Wrong Answer

Solution code:
n = input()
if n.count("YAKI"):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('YNEOS'[input()[:4]!='YAKI'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("YNeos"[not input()[:4] == "Yaki"::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
if s.startswith('YAKI'):
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a = raw_input()
if a[:4]=='YAKI':
    print 'YES'
else:
    print 'NO'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import re
import itertools

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

S = 'NIKUYAKI'

if S.startswith('YAKI'):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys


if len(sys.argv[0]) < 4:
  print('No')

elif sys.argv[0][0:4].startswith('YAKI') == True:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

if sys.argv[0][0:4].startswith('YAKI') == True:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import sys

args = sys.argv[0][0:4];

if args.startswith("YAKI") == True:
  print('Yes')
elif args.startswith("YAKI") == False:
  print('No')

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

import sys

args = sys.argv[0]

if args.startswith('YAKI') == True:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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:
            break
if ans == 1:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys

args = sys.argv[0]

if args.startswith('YAKI') == True:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

args = sys.argv[0]

if args.startswith("YAKI") == True:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import sys

args = sys.argv[0];

if args.startswith("YAKI") == True:
  print('Yes')
elif args.startswith("YAKI") == False:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print "YES" if raw_input().startswith("YAKI") else "NO"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

S = S[0:4]

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

else:
	print("No")

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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: Wrong Answer

Solution code:
i = input()

if len(i) < 4:
    print('NO')
elif i[:4] == 'YAKI':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
S = input()
if S in "YAKI":
	print("Yes")

else:
	print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = input()

if len(i) < 4:
    print('NO')
elif i[:4] == 'YAKI':
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(input())

if 4 <= len(s) and s[:4] == list("YAKI"):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 23 20:49:53 2017

@author: thvinmei
"""

if __name__ == '__main__':
    S=input()
    
    if (S[0:4]=="YAKI"):
        print("YES")
    else:
        print("NO")

Submission status: Wrong Answer

Solution code:
# def makelist(n, m):
#     return [[0 for i in range(m)] for j in range(n)]

# n = int(input())
# a, b = map(int, input().split())
# s = input()

    
s = input()
ans = "YAKI"

if len(s) >= 4:
    if s[4:] == ans:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
def II(): return int(input())
def ILI(): return list(map(int, input().split()))


def read():
    S = str(input())
    return (S,)


def solve(S):
    if len(S) < 4:
        return "No"
    if "".join(S[0:3]) == "YAKI":
        return "Yes"
    else:
        return "No"


def main():
    params = read()
    print(solve(*params))


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Accepted

Solution code:
S = input()

if S.startswith('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:
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from math import gcd
from itertools import combinations,permutations,accumulate, product # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
import decimal
import re
import math
import bisect
import heapq
#
#
#
# pythonで無理なときは、pypyでやると正解するかも！！
#
#
# my_round_int = lambda x:np.round((x*2 + 1)//2)
# 四捨五入g
#
# インデックス系
# int min_y = max(0, i - 2), max_y = min(h - 1, i + 2);
# int min_x = max(0, j - 2), max_x = min(w - 1, j + 2);
#
#
import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
#mod = 998244353
INF = float('inf')
from sys import stdin
readline = stdin.readline
def readInts():
  return list(map(int,readline().split()))
def readTuples():
    return tuple(map(int,readline().split()))
def I():
    return int(readline())
s = input()
if s.startswith("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=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:
n = input()
print('Yes' if n[0:4]=="YAKI" else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('YNeos'[input()[:4]!='YAKI'::2])

Submission status: Accepted

Solution code:
s = input()
if s[: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 = 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 = input()
if len(s) <= 3 or s[:4] != "YAKI":
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
'''
Created on 2020/08/20

@author: harurun
'''
def main():
  import re
  import sys
  pin=sys.stdin.readline
  pout=sys.stdout.write
  perr=sys.stderr.write
  
  S=pin()[:-1]
  if re.fullmatch(r"YAKI[A-Z]*",S)==None:
    print("No")
    return 
  print("Yes")
  return 

main()

Submission status: Accepted

Solution code:
#CODE FESTIVAL 2017 qual A a
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()
if s[:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:


def main():
    s = input()
    if len(s) >= 4:
        if s[0:4] == "YAKI":
            print("Yes")
            return
    print("No")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    S = SS()

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

if __name__ == '__main__':
    resolve()

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    S = input()
    if S.startswith('YAKI'):
        print('Yes')
    else:
        print('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:
s = input()
ans = 'No'
if s[:4] == 'YAKI':
    ans = 'Yes'
print(ans)

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:
n = input()

if n[: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:
s = input()
if 'YAKI' in s[:4]:
    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:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
s=input()
if len(s) < 4:
  print("No")
  sys.exit()
if 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:
def main():
    s=input()
    a=s.find('YAKI')
    if(a!=0):
        print('No')
    else:
        print('Yes')

main()

Submission status: Accepted

Solution code:
s = input()
if len(s) < 4:
    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:


def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    s=input()
    if s[:4]=="YAKI":
        print("Yes")
    else:
        print("No")

main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
s = list(input())
n = len(s)
t = list("YAKI")
for i in range(4):
    if not s[i % n] == t[i]:
        print("No")
        exit()
print("Yes")

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() + 'XXXXXXXXXXXXXXXX'

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

Submission status: Accepted

Solution code:
print('Yes' if input().startswith('YAKI') else '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:
s=str(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:
s = input()
s1 = s[0:4]
if s1 == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
count = 0
ans = 0
inf = float("inf")

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
if len(S) <= 3:
  print("No")
  exit()
if 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:
print("Yes" if input().startswith("YAKI") else "No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

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

Submission status: Accepted

Solution code:
import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

S = str(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:
    print("Yes" if s == "YAKI" or s[:4] == "YAKI" else "No")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input()
if len(s) < 4:
    print("No")
    exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re;print('YNeos'[not bool(re.fullmatch(r'^YAKI.*',input()))::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("YNeos"[input()[:4]!="YAKI"::2])

Submission status: Accepted

Solution code:
s=input()

chk=s[:4]

if chk=='YAKI':
    print('Yes')

else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees#, log2
from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left, insort, insort_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10**9 + 7
#from decimal import *

S = input()

if 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 S[:4] == "YAKI" else "No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
if s.startswith('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] == "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:
s=input()
if s[:4] == "YAKI":
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

S = input()

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

Submission status: Accepted

Solution code:
s = input()

if len(s) < 4:
    print("No")
    exit()

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    s = input()

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


if __name__ == '__main__':
    resolve()

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 s[:4] == "YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
INF = float("inf")
MOD = 10 ** 9 + 7


def input():
    return sys.stdin.readline().strip()


def main():
    S = input()

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = input()
if len(s)>3 and 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()
l = len(s)
if l <= 3:
    print("No")
else:
    if 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:
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:
S = input()

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

Submission status: Accepted

Solution code:
from sys import stdin
import math
import re
import queue

input = stdin.readline

MOD = 1000000007

def solve():
    S = (input().rstrip())
    if len(S) < 4:
        print("No")
        return
    if(S[:4] == "YAKI"):
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
S = input()
if "YAKI" in S[0:4]:
    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()
print("Yes" if S[:4]=="YAKI" else "No")

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()

    if S.find("YAKI") == 0:
        ans = "Yes"
    else:
        ans = "No"

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())
if len(S)>3:
    if S[0] == "Y":
        if S[1] == "A":
            if S[2] == "K":
                if S[3] == "I":
                    print("Yes")
                else:
                    print("No")
            else:
                print("No")
        else:
            print("No")
    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")
    exit()
if S[:4]=="YAKI":
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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