import java.io.* ;
import java.util.* ;
public class NaebbiracPhrases {
try {
while ( ! st.hasMoreTokens ( ) ) {
if ( s == null )
return null ;
}
return st.nextToken ( ) ;
return null ;
}
}
int CASES
= Integer .
parseInt ( next
( ) ) ; while ( CASES-- > 0 ) {
int ans = 0 ;
for ( int k = 0 ; k < s.length ( ) ; k++ )
ans += s.charAt ( k) != t.charAt ( k) ? 1 : 0 ;
out.println ( ans) ;
}
//
out.flush ( ) ;
}
}
aW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmEudXRpbC4qOwoKcHVibGljIGNsYXNzIE5hZWJiaXJhY1BocmFzZXMgIHsKCglzdGF0aWMgQnVmZmVyZWRSZWFkZXIgYnIgPSBuZXcgQnVmZmVyZWRSZWFkZXIobmV3IElucHV0U3RyZWFtUmVhZGVyKFN5c3RlbS5pbikpOwoJc3RhdGljIFByaW50V3JpdGVyIG91dCA9IG5ldyBQcmludFdyaXRlcihuZXcgQnVmZmVyZWRPdXRwdXRTdHJlYW0oU3lzdGVtLm91dCkpOwoJc3RhdGljIFN0cmluZ1Rva2VuaXplciBzdCA9IG5ldyBTdHJpbmdUb2tlbml6ZXIoIiIpOwoKCXB1YmxpYyBzdGF0aWMgU3RyaW5nIG5leHQoKSB7CgkJdHJ5CXsKCQl3aGlsZSAoIXN0Lmhhc01vcmVUb2tlbnMoKSkgewoJCQlTdHJpbmcgcyA9IGJyLnJlYWRMaW5lKCk7CgkJCWlmIChzID09IG51bGwpCgkJCQlyZXR1cm4gbnVsbDsKCQkJc3QgPSBuZXcgU3RyaW5nVG9rZW5pemVyKHMpOwoJCX0KCQlyZXR1cm4gc3QubmV4dFRva2VuKCk7CgkJfQljYXRjaChFeGNlcHRpb24gZSkJewoJCQlyZXR1cm4JbnVsbDsKCQl9Cgl9CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhc2RhKSB0aHJvd3MgRXhjZXB0aW9uIHsKCQlpbnQgQ0FTRVMgPSBJbnRlZ2V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