#include <bits/stdc++.h>
using namespace std;
int main() {
  double n, a, b;
  cin >> n >> a >> b;
  double r1, r2, r;
  r1 = (4 * a) / n;
  r2 = (2 * b) / n;
  r = ceil(r1) + ceil(r2);
  if ((4 * a + 2 * b) <= n)
    cout << 1 << endl;
  else if ((2 * a + b) <= n)
    cout << 2 << endl;
  else if ((a <= n / 2 && b <= n / 2) || (a <= n / 2 && (a + b) <= n) ||
           (4 * a <= n))
    cout << 3 << endl;
  else if ((a + b) <= n || 2 * a <= n)
    cout << 4 << endl;
  else if (b <= n / 2)
    cout << 5 << endl;
  else if (a > n / 2 && b > n / 2)
    cout << 6 << endl;
  else
    cout << r << endl;
  return 0;
}
