#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int a, b;
  cin >> a >> b;
  int x = 4, y = 2;
  if (a > b) {
    swap(a, b);
    swap(x, y);
  }
  int bar = 0;
  while (x != 0 || y != 0) {
    bar++;
    int p = n;
    while ((x != 0 && (p - a) >= 0) || (y != 0 && p - b >= 0)) {
      if (y != 0) {
        if (p - b >= 0) {
          p -= b;
          y--;
        }
      }
      if (x != 0) {
        if (p - a >= 0) {
          p -= a;
          x--;
        }
      }
    }
  }
  cout << bar << "\n";
}
