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