<image>

Input

The input contains a single floating-point number x with exactly 6 decimal places (0 < x < 5).

Output

Output two integers separated by a single space. Each integer should be between 1 and 10, inclusive. If several solutions exist, output any of them. Solution will exist for all tests.

Examples

Input

1.200000


Output

3 2


Input

2.572479


Output

10 3


Input

4.024922


Output

9 9
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
using pll = pair<ll, ll>;
using vll = vector<ll>;
using vpll = vector<pll>;
struct dbg_ {
  template <typename T>
  dbg_& operator,(const T& x) {
    cerr << x << ' ';
    return *this;
  }
} dbg_t;
int main(void) {
  ios_base::sync_with_stdio(false);
  double lemin = (1LL << 61);
  int reta, reth;
  double inh;
  cin >> inh;
  for (double a = 1; a < 11; a++)
    for (double h = 1; h < 11; h++) {
      double vc = h / sqrt(h * h + a * a / 4) * a / 2;
      double v = 3.14159265 * 2 * vc * vc * vc / 3;
      if (fabs(inh - vc) < lemin) {
        lemin = fabs(inh - vc);
        reta = a, reth = h;
      }
    }
  cout << reta << ' ' << reth << endl;
  return 0;
}
