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