#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  if (n >= 4 * a + 2 * b)
    cout << 1;
  else if (n >= 2 * a + b)
    cout << 2;
  else if ((a >= b && n >= 2 * a) || (b > a && n >= a + b) || (n >= 4 * a))
    cout << 3;
  else if (n >= a + b || n >= 2 * a)
    cout << 4;
  else if (n >= 2 * b)
    cout << 5;
  else
    cout << 6;
}
