Given a string S, check if it is palindrome or not.
The first line contains 'T' denoting the number of test cases. T testcases follow. Each testcase contains two lines of input. The first line contains the length of the string and the second line contains the string S.
For each testcase, in a new line, print "Yes" if it is a palindrome else "No". (Without the double quotes)
1 <= T <= 30
1 <= N <= 100
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.