#include <bits/stdc++.h>
using namespace std;
int n, a, b;
void make() {
  int ans = 0, numa = 4, numb = 2;
  if (a * 2 + b == n) {
    cout << 2;
    return;
  }
  if (b > a) {
    swap(a, b);
    swap(numa, numb);
  }
  while (numa || numb) {
    int wood = n;
    while ((wood >= a && numa > 0) || (wood >= b && numb > 0)) {
      if (wood >= a && numa > 0) {
        wood -= a;
        numa--;
      } else if (wood >= b && numb > 0) {
        wood -= b;
        numb--;
      }
    }
    ans++;
  }
  cout << ans;
}
int main() {
  cin >> n >> a >> b;
  make();
  return 0;
}
