# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int i;
for(i=0; s[i] != '\0'; i++){
if('A'<=s[i] && s[i]<='Z') s[i] = s[i] + ('a' - 'A');
}
for(i=0; t[i] != '\0'; i++){
if('A'<=t[i] && t[i]<='Z') t[i] = t[i] + ('a' - 'A');
}
for(i=0; s[i] == t[i]; i++){
if(s[i] == '\0') return 1;
}
return 0;
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CglpbnQgaTsKCWZvcihpPTA7IHNbaV0gIT0gJ1wwJzsgaSsrKXsKCQlpZignQSc8PXNbaV0gJiYgc1tpXTw9J1onKSBzW2ldID0gc1tpXSArICgnYScgLSAnQScpOwoJfQoJZm9yKGk9MDsgdFtpXSAhPSAnXDAnOyBpKyspewoJCWlmKCdBJzw9dFtpXSAmJiB0W2ldPD0nWicpIHRbaV0gPSB0W2ldICsgKCdhJyAtICdBJyk7Cgl9Cglmb3IoaT0wOyBzW2ldID09IHRbaV07IGkrKyl7CgkJaWYoc1tpXSA9PSAnXDAnKSByZXR1cm4gMTsKCX0KCXJldHVybiAwOwp9CgovL+ODoeOCpOODs+mWouaVsOOBr+abuOOBjeaPm+OBiOOBquOBj+OBpuOBp+OBjeOBvuOBmSAKaW50IG1haW4oKXsKICAgIGludCBhbnM7CiAgICBjaGFyIHNbMTAwXTsKICAgIGNoYXIgdFsxMDBdOwogICAgc2NhbmYoIiVzICVzIixzLHQpOwogICAgcHJpbnRmKCIlcyA9ICVzIC0+ICIscyx0KTsKICAgIGFucyA9IGZ1enp5U3RyY21wKHMsdCk7CiAgICBwcmludGYoIiVkXG4iLGFucyk7CiAgICByZXR1cm4gMDsKfQo=