In this problem, 2 strings A and B of same length N are considered equivalent if following conditions are true for all 1 <= i, j <= N:
where Si denotes the i-th (1-based indexing) character of string S. It is easy to see that, if strings A and B are equivalent, strings B and C are equivalent, then strings A and C are also equivalent.
You are given 2 strings A and B of the same length N. You have to answer Q queries. Each query consists of 3 integers i, j, k, and for given query you are asked to check whether strings A[ i, i + k - 1] and B[ j, j + k - 1] are equivalent.
Input
The first line contains T - the number of test cases. Then T test cases follow.
Each test case consists of several lines.
Output
For each query, print "yes" (without quotes) if substrings are equivalent and "no" otherwise. Print answer for every query in new line.
Constraints