function main(input){
    //input = "YAKINIKU";
    input = input +'';
    //console.log(input);


    var str = /^YAKI/;
    if(str.test(input))
        console.log("Yes");
    else
        console.log("No");
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));