import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
final int ABC_SIZE = 26;
int n
= Integer.
parseInt(br.
readLine()); for (int i = 0; i < n; i++) {
int[] counters = new int[ABC_SIZE];
String firstWord
= br.
readLine(); for (int j = 0; j < firstWord.length(); j++) {
counters[firstWord.charAt(j) - 'a']++;
}
String secondWord
= br.
readLine(); for (int j = 0; j < secondWord.length(); j++) {
counters[secondWord.charAt(j) - 'a']--;
}
int matchingLetters = 0;
for (int k = 0; k < ABC_SIZE; k++) {
matchingLetters
+= Math.
abs(counters
[k
]); }
System.
out.
println("Case #" + (i
+ 1) + ": " + matchingLetters
); }
}
}
aW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7CmltcG9ydCBqYXZhLmlvLklucHV0U3RyZWFtUmVhZGVyOwpwdWJsaWMgY2xhc3MgTWFpbiB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIEV4Y2VwdGlvbnsKCQlCdWZmZXJlZFJlYWRlciBiciA9IG5ldyBCdWZmZXJlZFJlYWRlcihuZXcgSW5wdXRTdHJlYW1SZWFkZXIoU3lzdGVtLmluKSk7CgkJZmluYWwgaW50IEFCQ19TSVpFID0gMjY7CgkJaW50IG4gPSBJbnRlZ2VyLnBhcnNlSW50KGJyLnJlYWRMaW5lKCkpOwoJCWZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKSB7CgkJCWludFtdIGNvdW50ZXJzID0gbmV3IGludFtBQkNfU0laRV07CgkJCVN0cmluZyBmaXJzdFdvcmQgPSBici5yZWFkTGluZSgpOwoJCQlmb3IgKGludCBqID0gMDsgaiA8IGZpcnN0V29yZC5sZW5ndGgoKTsgaisrKSB7CgkJCQljb3VudGVyc1tmaXJzdFdvcmQuY2hhckF0KGopIC0gJ2EnXSsrOwoJCQl9CgkJCVN0cmluZyBzZWNvbmRXb3JkID0gYnIucmVhZExpbmUoKTsKCQkJZm9yIChpbnQgaiA9ID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