Problems
347 - Baby Butterfly II
SUBMIT PROBLEM

Baby Butterfly II

Time Limit: 1 sec

 

The Problem

Baby butterfly is now playing with points. She draws a triangle by joining three points and then she is trying to find the middle point or center of the triangle.

 

The Input

Input file contains a series of line. Each line contains 6 integer numbers, 3 pairs of (x, y) which are the points of triangle. All the points are in between -100 to +100. Input is terminated by EOF.

 

The Output

For each line of input the output will print a pair of (x, y) which will denote the center of the triangle in a separate line.

 

Sample Input

-1 2 2 3 2 -4

-1 2 2 3 2 -2

 

Sample Output

1 1/3

1 1

 

 

 

 

Problem Setter: Samia Safa Ahmed