In the first line contains a single positive integer T, indicating number of test case.
In the second line there is a positive integer n, which means how many numbers Baby Ming has.(no two same phone number)
In the third line there are 2 positive integers a,b, which means two kinds of phone number can sell a yuan and b yuan.
In the next n lines there are n cell phone numbers.(|phone number|==11, the first number can’t be 0)
1≤T≤30,b<1000,0<a,n≤100,000