Created
September 26, 2017 09:55
-
-
Save 1119-2916/7eef9a39fe54f35c4bb13fac7a43964b to your computer and use it in GitHub Desktop.
codfes2017quala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// テンプレート部分は省略 | |
signed main() | |
{ | |
std::ios::sync_with_stdio(false); | |
std::cin.tie(0); | |
string st; | |
cin >> st; | |
if (st.size() < 4) { | |
cout << "No" << endl; | |
return 0; | |
} | |
if (st[0] == 'Y' && | |
st[1] == 'A' && | |
st[2] == 'K' && | |
st[3] == 'I') { | |
cout << "Yes" << endl; | |
} else { | |
cout << "No" << endl; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment