# include <stdio.h>
int toLower(char c){
if(c>='A'&&c<='Z'){
return c+('a'-'A');
}
return c;
}
int fuzzyStrcmp(char s[],char t[]){
int i = 0;
while(s[i]!='\0'&&t[i]!='\0'){
if(toLower(s[i])!=toLower(t[i])){
return 0;
}
i++;
}
if(s[i]!='\0'||t[i]!='\0'){
return 0;
}
return 1;
}
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgppbnQgdG9Mb3dlcihjaGFyIGMpewogICAgaWYoYz49J0EnJiZjPD0nWicpewogICAgICAgIHJldHVybiBjKygnYSctJ0EnKTsKICAgIH0KICAgIHJldHVybiBjOwp9CmludCBmdXp6eVN0cmNtcChjaGFyIHNbXSxjaGFyIHRbXSl7CiAgICBpbnQgaSA9IDA7CiAgICB3aGlsZShzW2ldIT0nXDAnJiZ0W2ldIT0nXDAnKXsKICAgICAgICBpZih0b0xvd2VyKHNbaV0pIT10b0xvd2VyKHRbaV0pKXsKICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgfQogICAgICAgIGkrKzsKICAgIH0KICAgIGlmKHNbaV0hPSdcMCd8fHRbaV0hPSdcMCcpewogICAgICAgIHJldHVybiAwOwogICAgfQogICAgcmV0dXJuIDE7Cn0KaW50IG1haW4oKXsKICAgIGludCBhbnM7CiAgICBjaGFyIHNbMTAwXTsKICAgIGNoYXIgdFsxMDBdOwogICAgc2NhbmYoIiVzICVzIixzLHQpOwogICAgcHJpbnRmKCIlcyA9ICVzIC0+ICIscyx0KTsKICAgIGFucyA9IGZ1enp5U3RyY21wKHMsdCk7CiAgICBwcmludGYoIiVkXG4iLGFucyk7CiAgICByZXR1cm4gMDsKfQo=