#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  pair<int, int> x, y;
  if (a > b) {
    x.first = a;
    x.second = 4;
    y.first = b;
    y.second = 2;
  } else {
    x.first = b;
    x.second = 2;
    y.first = a;
    y.second = 4;
  }
  int z = a + b;
  int ans = 1;
  int temp = n;
  while (x.second != 0 || y.second != 0) {
    if (n >= z && x.second > 0 && y.second > 0) {
      n -= z;
      x.second--;
      y.second--;
    } else if (n >= x.first && x.second > 0) {
      n -= x.first;
      x.second--;
    } else if (n >= y.first && y.second > 0) {
      n -= y.first;
      y.second--;
    } else {
      n = temp;
      ans++;
    }
  }
  cout << ans;
  return 0;
}
