#include
using namespace std;
int main() {
double x1, y1, x2, y2;
cout << "x1 = ";<br> cin >> x1;
cout << "y1 = ";<br> cin >> y1;
cout << "x2 = ";<br> cin >> x2;
cout << "y2 = ";<br> cin >> y2;
if (x1 * x1 + y1 * y1 < x2 * x2 + x1 * x1) {
cout << "(" << x1 << "; " << y1 << ")";<br> } else {
cout << "(" << x2 << "; " << y2 << ")";<br> }
return 0;
}