#include <bits/stdc++.h>
int main(void) {
  int n, vl, ul, num = 0, i, j, min, vn = 4, un = 2, v, u, x;
  scanf("%d%d%d", &n, &vl, &ul);
  while (vn || un) {
    min = n;
    for (i = 0; i <= un; i++)
      for (j = 0; j <= vn; j++) {
        x = n - (i * ul + j * vl);
        if (x >= 0 && x < min) {
          min = x;
          v = j;
          u = i;
        }
      }
    vn -= v;
    un -= u;
    num++;
  }
  printf("%d", num);
  return 0;
}
