#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  double R, x, y, a, b;
  cin >> R >> x >> y >> a >> b;
  double r = sqrt((x - a) * (x - a) + (y - b) * (y - b));
  if (r > R)
    cout << setprecision(18) << (double)x << " " << setprecision(18)
         << (double)(y) << " " << setprecision(18) << (double)R << endl;
  else {
    double q, w, p;
    if (r == 0 || abs(r) <= 0.000001) {
      q = (double)x + (double)R / 2;
      w = (double)y;
      p = (double)R / 2;
    } else {
      q = ((double)x * ((double)R + r) / 2 - (double)a * ((double)R - r) / 2) /
          (double)r;
      w = ((double)y * ((double)R + r) / 2 - (double)b * ((double)R - r) / 2) /
          (double)r;
      if (R == r)
        p = ((double)R + r) / 2 - 0.000000000000001;
      else
        p = ((double)R + r) / 2;
    }
    cout << setprecision(18) << (double)q << " " << setprecision(18)
         << (double)w << " " << setprecision(18) << (double)p << endl;
  }
  return 0;
}
