Introduction - If you have any usage issues, please Google them yourself
The Description
In order to publicize the fifth program design competition of xiamen university, the department has made two beautiful posters. In order to achieve the best aesthetic effect, each poster has its own best paste. But now the question is, if two posters ask for the best position, there is likely to be some overlap. Now you decide whether the two posters overlap.
The Input
The input contains two lines, and each row has four integers to describe the best paste position of the poster, X,Y,W, and H(-10000& lt). = X, Y & lt; = 10000) (0 & lt; W, H & lt; X,Y represent the coordinates of the lower left corner of the poster, W,H respectively, width and height respectively.
The Output
The output "Yes" indicates that the two posters overlap (representing a public area with an area greater than 0) or the output "No". (it does not include quotation marks, case sensitive)
The Sample Input
10-10-20 to 30
0 0 30 20
The Sample Output
Yes
Packet : 913320031058.rar filelist
1058\1058.cpp
1058