eolymp
bolt
Try our new interface for solving problems
Problems

Point of medians intersection

Point of medians intersection

Time limit 1 second
Memory limit 128 MiB

Find the intersection point of medians in the given triangle.

Input data

The coordinates of the three vertices of triangle (first the coordinates of the first vertex, then the second, then the third). Coordinates are the pairs of integers not exceeding 10^4 by absolute value.

Output data

Print two numbers - the coordinates of the point of intersection of the medians of this triangle with an accuracy of 6 digits after the decimal point.

Examples

Input example #1
0 0
3 0
3 6
Output example #1
2.0 2.0