#include <bits/stdc++.h>
int main() {
  int n, a, b;
  scanf("%d", &n);
  scanf("%d", &a);
  scanf("%d", &b);
  if (4 * a + 2 * b <= n)
    printf("1");
  else if (2 * a + b <= n)
    printf("2");
  else if ((b + a <= n && n >= 2 * a) || (a + b <= n && 2 * a <= n) ||
           (b <= n && 4 * a <= n))
    printf("3");
  else if ((a + b <= n) || (b <= n && 2 * a <= n))
    printf("4");
  else if (2 * b <= n && n >= a)
    printf("5");
  else
    printf("6");
}
