#include <bits/stdc++.h>
using namespace std;
double a, b, d, r[3];
complex<double> p[3], c;
double energy(complex<double> c) {
  double d[3], en = 0.0;
  for (int i = 0; i < (3); ++i) d[i] = abs(c - p[i]) / r[i];
  for (int i = 0; i < (3); ++i)
    en += (d[i] - d[(i + 1) % 3]) * (d[i] - d[(i + 1) % 3]);
  return en;
}
int main() {
  for (int i = 0; i < (3); ++i)
    scanf("%lf%lf%lf", &a, &b, &r[i]), p[i] = complex<double>(a, b);
  c = (p[0] + p[1] + p[2]) / 3.0;
  for (d = 1.0; d >= 1e-4; d *= 0.7)
    while (true) {
      if (energy(c + d) < energy(c)) {
        c += d;
        continue;
      }
      if (energy(c - d) < energy(c)) {
        c -= d;
        continue;
      }
      if (energy(c + complex<double>(0, d)) < energy(c)) {
        c += complex<double>(0, d);
        continue;
      }
      if (energy(c - complex<double>(0, d)) < energy(c)) {
        c -= complex<double>(0, d);
        continue;
      }
      break;
    }
  if (energy(c) < 1e-6) printf("%.5lf %.5lf\n", real(c), imag(c));
  return 0;
}
