#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, a, b, i, j, k, sum, tmp, x, y;
  cin >> n >> a >> b;
  sum = (a * 4) + (b * 2);
  if (sum <= n) {
    printf("1\n");
    return 0;
  }
  if (sum / 2 <= n) {
    printf("2\n");
    return 0;
  }
  if (a > b) {
    if (a * 2 <= n) {
      printf("3\n");
      return 0;
    }
  } else {
    if ((a * 4 <= n) || a + b <= n) {
      printf("3\n");
      return 0;
    }
  }
  if (a + b <= n || a * 2 <= n) {
    printf("4\n");
    return 0;
  }
  if (b * 2 <= n) {
    printf("5\n");
    return 0;
  }
  printf("6\n");
  return 0;
}
