Consider the following subsets of {a,b,S}*
A={xy| x,y∊{a,b}* , #a(x)=#b(y)}
B={xSy| x,y∊{a,b}* , #a(x)=#b(y)}
{where S=$}
Which of the following statements are true ?
(A) A and B are both regular
(B) A is regular but B is not
(C) A is not regular but B is regular
(D) Both are non-regular