Training
After the Ukrainian national football team had a disappointing performance at EURO-2012, their coach decided it was time to revisit their training methods.
At his command, three dedicated players from the national team took to the field. They positioned themselves equidistant from each other and began practicing their passing skills.
Seva, who happened to be at the stadium, started jotting down notes while watching the training session. He recorded the coordinates of the players' positions, just in case. However, due to frequent distractions from phone calls, Seva only managed to note the coordinates of two players and remembered whether the third player was closer to him or farther away than the others.
Seva, much like the team's coach, considers himself the "center of the universe," so he based the coordinate system on his own position.
When he got home, Seva wanted to complete his notes, but there were too many possibilities, so he needs your assistance.
Input
Each line of the input file begins with a character indicating the position of the missing player: 'n'—if the missing player was closer to Seva than the others, and 'f'—if farther than all. This is followed by the coordinates X_1, Y_1, X_2, Y_2 of the other two players, separated by a space. All coordinates are natural numbers not exceeding 1000.
The input data continues until the end of the file.
Output
For each query, output the coordinates of the missing player on the field with a precision of at least 3 decimal places.
It is guaranteed that there are no cases in the test data where more than one answer is possible.