#include <bits/stdc++.h>
using namespace std;
vector<int> v;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int n, a, b;
  cin >> n >> a >> b;
  vector<int> v, ind;
  for (int i = 0; i < 2; i++) {
    v.push_back(a);
    v.push_back(b);
  }
  for (int i = 0; i < 2; i++) v.push_back(a);
  int count = 0, t = n;
  bool check[6];
  for (int i = 0; i < 6; i++) check[i] = false;
  while (v.size()) {
    for (int i = 0; i < v.size(); i++) {
      if (t >= v[i] && !check[i]) {
        t -= v[i];
        check[i] = true;
      }
    }
    count++;
    t = n;
    int p = 0;
    for (int i = 0; i < 6; i++) {
      if (check[i]) p++;
    }
    if (p == 6) break;
  }
  cout << count;
}
