# include <stdio.h>
void myToUpper(char s[]){
int i;
for (i = 0; s[i] != '\0'; i++)
{
if ('a' <= s[i] && s[i] <= 'z')
{
s[i] = s[i] - 32;
}
}
}
int myStrcmp(char s[], char t[]){
int i;
for (i = 0; s[i] == t[i]; i++)
{
if (s[i] == '\0')
return 1;
}
return 0;
}
int fuzzyStrcmp(char s[], char t[]){
myToUpper(s);
myToUpper(t);
return myStrcmp(s, t);
}
int main(){
int ans;
char s[100];
char t[100];
myToUpper(s);
myToUpper(t);
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgp2b2lkIG15VG9VcHBlcihjaGFyIHNbXSl7CglpbnQgaTsKCWZvciAoaSA9IDA7IHNbaV0gIT0gJ1wwJzsgaSsrKQoJewoJCWlmICgnYScgPD0gc1tpXSAmJiBzW2ldIDw9ICd6JykKCQl7CgkJCXNbaV0gPSBzW2ldIC0gMzI7CgkJfQoJfQp9CgppbnQgbXlTdHJjbXAoY2hhciBzW10sIGNoYXIgdFtdKXsKCWludCBpOwoJZm9yIChpID0gMDsgc1tpXSA9PSB0W2ldOyBpKyspCgl7CgkJaWYgKHNbaV0gPT0gJ1wwJykKCQlyZXR1cm4gMTsKCX0KCXJldHVybiAwOwp9CgppbnQgZnV6enlTdHJjbXAoY2hhciBzW10sIGNoYXIgdFtdKXsKCW15VG9VcHBlcihzKTsKCW15VG9VcHBlcih0KTsKCXJldHVybiBteVN0cmNtcChzLCB0KTsKfQoKCmludCBtYWluKCl7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLHMsdCk7CiAgICBteVRvVXBwZXIocyk7CiAgICBteVRvVXBwZXIodCk7CiAgICBhbnMgPSBmdXp6eVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlZFxuIixhbnMpOwogICAgcmV0dXJuIDA7Cn0K