The first line consists of an integer $T$,represents the number of test cases.
For each test case,there will be three lines.
The first line consists of three integers $N$,$X$,$Y$,the meaning is mentioned above.
The second line consists of $N$ characters,each character is “$A$” “$B$” or “$C$”,which represents the answer of $Derek$ for each question.
The third line consists of $N$ characters,the same form as the second line,which represents the answer of $Alfia$ for each question.
Data Range:$1≤N≤80000$,$0≤X,Y≤N,$$\sum_{i = 1}^{T} N≤300000$