#include <bits/stdc++.h>
using namespace std;
inline long long gcd(long long a, long long b) {
  while (b) {
    a %= b, swap(a, b);
  }
  return a;
}
inline long long lcm(long long a, long long b) {
  return a * b / max(1LL, gcd(a, b));
}
mt19937 Random((long long)time(0));
inline long long rnd(long long x) { return Random() % x; }
const long long INF = (long long)1e9 + 2017;
const long long MOD = (long long)1e9 + 7;
const long double EPS = 1e-10;
const long double PI = acos(-1.0);
vector<long long> arr;
long long get(long long n) {
  long long cur = 0, cnt = 0;
  for (long long i = 0; i < 6; i++) {
    if (arr[i] > cur) {
      cur = n - arr[i];
      cnt++;
    } else {
      cur -= arr[i];
    }
  }
  return cnt;
}
void source() {
  long long n, a, b;
  cin >> n >> a >> b;
  for (long long i = 0; i < 4; i++) {
    arr.push_back(a);
  }
  arr.push_back(b);
  arr.push_back(b);
  long long ans = INF;
  for (long long i = 0; i < 1000; i++) {
    ans = min(ans, get(n));
    next_permutation((arr).begin(), (arr).end());
  }
  cout << ans;
}
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cout.setf(ios_base::fixed, ios_base::floatfield);
  cout.precision(10);
  source();
}
