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`.
s = input()
if s[0:3] == "YAKI":
	print("Yes")
else:
	print("No")
    
s = input()
if s[0:4] == "YAKI":
	print("Yes")
else:
	print("No")