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