PROGRAMMING:Choose husband^_^
Miss pan is going to choose her husband! All the schools in the Wulin and all the big families outside the Wulin came to watch. The boys who came to take part in the election campaign were all over the country. They were full of experts, talented people and handsome men. There were also rich and official second generation. It can be said that their momentum was unprecedented.
In addition to a passionate marriage proposal speech, the handsome man who participated in the election also reported his name, height and weight, as well as his resume. Finally, the civil and military selection, the final winner can get Miss Pan's heart.
Miss Pan doesn't love fame and wealth. She only looks at people. The first hurdle is that her height and weight must be qualified, that is, she must be within the range of her requirements, otherwise she will be directly excluded and will not be allowed to participate in the next round of selection.
As a programmer, you don't have money or power. What you are good at is programming. Miss pan also found this point, so she gave you the task of selecting according to height and weight in the first round. If you finish well, you can directly enter the next round. You laugh.
###Input format:
Miss pan has given you all the information about the boys who signed up. The first line of input data is a positive integer n (0 < n < 1000). Then n lines of data, each line contains three parts, separated by spaces. The first part is the name of the applicant (a string less than 20 in length), then the integer height h (0 < h < 300), and the third part is the integer weight W (0 < w < 200).
The last line is four integers a, B, C, D. it means that the qualified range of height is [a, b], and the qualified range of weight is [C, D] (0 < a < B < 200, 0 < C < d < 300).
###Output format:
You need to output the information of qualified male students from low to high according to their height. The format is the same as the input. There are three information lines in each line, totally n lines. If the height is the same, the information will be output from light to heavy. If the height is the same and the weight is the same, the information will be output in the order of input. If there is no qualified candidate, the information will be output No. see the example for the specific format.
###Input example:
```in
eight
Wu Dalang 70 40
XiMenqing 180 70
Li Kui 160 150
Yanqing 175 69
Lu Zhishen 180 100
Wusong 180 75
Junichiro Koizumi 30 20
Sun erniang 169 60
165 190 60 90
```
###Output example:
```out
Sun erniang 169 60
Yanqing 175 69
XiMenqing 180 70
Wusong 180 75
```
answer:If there is no answer, please comment
In addition to a passionate marriage proposal speech, the handsome man who participated in the election also reported his name, height and weight, as well as his resume. Finally, the civil and military selection, the final winner can get Miss Pan's heart.
Miss Pan doesn't love fame and wealth. She only looks at people. The first hurdle is that her height and weight must be qualified, that is, she must be within the range of her requirements, otherwise she will be directly excluded and will not be allowed to participate in the next round of selection.
As a programmer, you don't have money or power. What you are good at is programming. Miss pan also found this point, so she gave you the task of selecting according to height and weight in the first round. If you finish well, you can directly enter the next round. You laugh.
###Input format:
Miss pan has given you all the information about the boys who signed up. The first line of input data is a positive integer n (0 < n < 1000). Then n lines of data, each line contains three parts, separated by spaces. The first part is the name of the applicant (a string less than 20 in length), then the integer height h (0 < h < 300), and the third part is the integer weight W (0 < w < 200).
The last line is four integers a, B, C, D. it means that the qualified range of height is [a, b], and the qualified range of weight is [C, D] (0 < a < B < 200, 0 < C < d < 300).
###Output format:
You need to output the information of qualified male students from low to high according to their height. The format is the same as the input. There are three information lines in each line, totally n lines. If the height is the same, the information will be output from light to heavy. If the height is the same and the weight is the same, the information will be output in the order of input. If there is no qualified candidate, the information will be output No. see the example for the specific format.
###Input example:
```in
eight
Wu Dalang 70 40
XiMenqing 180 70
Li Kui 160 150
Yanqing 175 69
Lu Zhishen 180 100
Wusong 180 75
Junichiro Koizumi 30 20
Sun erniang 169 60
165 190 60 90
```
###Output example:
```out
Sun erniang 169 60
Yanqing 175 69
XiMenqing 180 70
Wusong 180 75
```
answer:If there is no answer, please comment