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