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