# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int kiroku=0;
for(int i=0; s[i]!='\0'; i++){
kiroku++;
}
for(int i=0; i<kiroku;i++){
if('a'<=s[i] && s[i]<= 'z'){
s[i]=s[i]-32;
}
}
for(int i=0; i<kiroku;i++){
if('a'<=t[i] && t[i]<= 'z'){
t[i]=t[i]-32;
}
}
int ja=0;
for(int i=0; i<kiroku;i++){
if(s[i]!=t[i]){
ja++;
}
}
if(ja==0){
return 1;
}if(ja>0){
return 0;
}
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CglpbnQga2lyb2t1PTA7Cglmb3IoaW50IGk9MDsgc1tpXSE9J1wwJzsgaSsrKXsKCQlraXJva3UrKzsKCX0KCQoJZm9yKGludCBpPTA7IGk8a2lyb2t1O2krKyl7CgkJaWYoJ2EnPD1zW2ldICYmIHNbaV08PSAneicpewoJCQlzW2ldPXNbaV0tMzI7CgkJfQoJfQoJZm9yKGludCBpPTA7IGk8a2lyb2t1O2krKyl7CgkJaWYoJ2EnPD10W2ldICYmIHRbaV08PSAneicpewoJCQl0W2ldPXRbaV0tMzI7CgkJfQoJfQoJaW50IGphPTA7Cglmb3IoaW50IGk9MDsgaTxraXJva3U7aSsrKXsKCQlpZihzW2ldIT10W2ldKXsKCQkJamErKzsKCQl9Cgl9CglpZihqYT09MCl7CgkJcmV0dXJuIDE7Cgl9aWYoamE+MCl7CgkJcmV0dXJuIDA7Cgl9Cn0KCi8v44Oh44Kk44Oz6Zai5pWw44Gv5pu444GN5o+b44GI44Gq44GP44Gm44Gn44GN44G+44GZIAppbnQgbWFpbigpewogICAgaW50IGFuczsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMgJXMiLHMsdCk7CiAgICBwcmludGYoIiVzID0gJXMgLT4gIixzLHQpOwogICAgYW5zID0gZnV6enlTdHJjbXAocyx0KTsKICAgIHByaW50ZigiJWRcbiIsYW5zKTsKICAgIHJldHVybiAwOwp9Cg==