Using the definitions
write a function
that returns a point containing the coordinates of the center of a rectangle r. For example, the center of a rectangle of width 100, height 200, and lower-left corner (0, 0), is the point (50, 100).
Input
The input consists of several rectangles (four non-negative integer numbers: the width, the height, and the coordinates of the lower-left corner).
Output
For each rectangle, print the coordinates of the center (two non-negative real numbers).
Input
100 200 0 0 100 200 50 100 100 200 100 200
Output
50.0 100.0 100.0 200.0 150.0 300.0