#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  int m = n;
  int ans = 1;
  int i = 4;
  int j = 2;
  while (i > 0 || j > 0) {
    if (n >= a && i > 0) {
      n = n - a;
      i--;
    }
    if (n >= b && j > 0) {
      n = n - b;
      j--;
    }
    if (i <= 0 && j <= 0) break;
    if ((n < a || i <= 0) && (n < b || j <= 0)) {
      ans++;
      n = m;
    }
  }
  cout << ans;
  return 0;
}
