Problem G: Box

Problem G: Box

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1304  Solved: 255
[Submit][Status][Web Board]


As we know boxes are in a shape of rectangular parallelepipeds. Now we have a cardboard of size n * m. Please write a program to check whether it can form a box of size a * b * c.

The following sample is one possible way for the first sample.


The first line of input is the number of test cases T (1 <= T <= 100)

For each test case, the first line will be three integers a, b and c (1 <= a, b, c <= 100000000).

The second line are two integers n and m. ( 1 <= n, m <= 100000000)


For each test case, print “Yes” (without quotes) if you can form the box of size a * b * c. Otherwise print “No”.

Sample Input

1 2 3
6 5

Sample Output