Point of medians intersection#5185

Point of medians intersection

1 segundo
128 megabytes
Muy fácil

Find the intersection point of medians in the given triangle.

Entrada

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

Salida

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

Ejemplos

Ejemplo 1

Loading
Loading