#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, CA = 0, CB = 0, cnt = 1;
  int len;
  cin >> n >> a >> b;
  len = n;
  while (CA < 4 || CB < 2) {
    if (CA == 4 && CB != 2) {
      if (len < b) {
        len = n;
        cnt++;
      }
    } else if (CB == 2 && CA != 4) {
      if (len < a) {
        len = n;
        cnt++;
      }
    } else if (CA != 4 && CB != 2 && len < a && len < b) {
      len = n;
      cnt++;
    }
    if (CA < 4 && len >= a) {
      len -= a;
      CA++;
    }
    if (CB < 2 && len >= b) {
      len -= b;
      CB++;
    }
  }
  cout << cnt << endl;
}
