Pandaland is a place full of strings. One day Panda visited Pandaland and get confused wether Pandaland is a lucky place or not. According to Panda a place is lucky if all the strings in that place follows the following property 'P' : - P:A place is lucky if, for any string S, the prefix of S should not be present in that place. For example, if the string 'panda' is present in Pandaland, then for Pandaland to be lucky, strings like 'pan', 'pandaland', 'pandacakes', 'pand' etc should not be present in the Pandaland, but strings like 'da', 'nda' etc can be present.
INPUT:
The first line contains an integer T denoting the number of test cases.
First line of each test case contains an integer N denoting the number of strings present in Pandaland.
Next N lines contains N strings.
OUTPUT:
For each test case output "YES"(without quotes) if Pandaland is Lucky otherwise "NO"(without quotes).
CONSTRAINTS:
T<=10
N<=100
sizeofString<=100