#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  int currlen = n, ans = 1, rema = 4, remb = 2, done1 = 0, done2 = 0;
  if (b > a) {
    a = a + b;
    b = a - b;
    a = a - b;
    rema = 2;
    remb = 4;
  }
  if (2 * b + a == n && a * rema + b * remb <= 2 * n) {
    cout << 2;
    return 0;
  }
  for (;;) {
    if (done1 == 0) {
      if (currlen - a >= 0) {
        while (currlen - a >= 0 && rema > 0) {
          currlen = currlen - a;
          rema--;
        }
      } else {
        currlen = n;
        ++ans;
      }
    }
    if (rema == 0) {
      done1 = 1;
    }
    if (done2 == 0) {
      if (currlen - b >= 0) {
        while (currlen - b >= 0 && remb > 0) {
          currlen = currlen - b;
          remb--;
        }
      } else {
        currlen = n;
        ++ans;
      }
    }
    if (remb == 0) {
      done2 = 1;
    }
    if (done1 == 1 && done2 == 1) {
      break;
    }
  }
  cout << ans;
  return 0;
}
