#include <bits/stdc++.h>
using namespace std;
int main() {
  int lengthBar, lengthV, lengthT;
  int result = 0;
  cin >> lengthBar >> lengthV >> lengthT;
  int lengthBarRemain = lengthBar;
  int lengthVNum = 4;
  int lengthTNum = 2;
  lengthBarRemain -= lengthT;
  lengthTNum--;
  if (lengthBarRemain >= lengthT && lengthBarRemain >= lengthV) {
    int remain1 = lengthBarRemain - lengthT;
    int lengthVNum1 = lengthVNum;
    while (true) {
      if (remain1 - lengthV < 0)
        break;
      else {
        remain1 -= lengthV;
        lengthVNum1--;
        if (lengthVNum1 == 0) break;
      }
    }
    int remain2 = lengthBarRemain;
    int lengthVNum2 = lengthVNum;
    while (true) {
      if (remain2 - lengthV < 0)
        break;
      else {
        remain2 -= lengthV;
        lengthVNum2--;
        if (lengthVNum2 == 0) break;
      }
    }
    if (remain1 < remain2) {
      result += 1;
      lengthBarRemain = lengthBar;
      while (true) {
        if (lengthVNum1 == 0) break;
        if (lengthBarRemain - lengthV < 0) {
          result++;
          lengthBarRemain = lengthBar;
        } else {
          lengthBarRemain -= lengthV;
          lengthVNum1--;
        }
        if (lengthVNum1 == 0) {
          result++;
          break;
        }
      }
    } else {
      result += 2;
      if (lengthVNum2 > 2) {
        if (lengthV * 2 <= lengthBar)
          result++;
        else
          result += 2;
      }
    }
  } else if (lengthBarRemain >= lengthT) {
    result += 1;
    lengthBarRemain = lengthBar;
    while (true) {
      if (lengthBarRemain - lengthV < 0) {
        result++;
        lengthBarRemain = lengthBar;
      } else {
        lengthBarRemain -= lengthV;
        lengthVNum--;
      }
      if (lengthVNum == 0) {
        result++;
        break;
      }
    }
  } else if (lengthBarRemain >= lengthV) {
    while (true) {
      if (lengthBarRemain - lengthV < 0) {
        result++;
        lengthBarRemain = lengthBar;
        break;
      } else {
        lengthBarRemain -= lengthV;
        lengthVNum--;
      }
      if (lengthVNum == 0) {
        result++;
        break;
      }
    }
    if (lengthVNum <= 2)
      result++;
    else
      result += 2;
  } else {
    result += 2;
    lengthBarRemain = lengthBar;
    while (true) {
      if (lengthBarRemain - lengthV < 0) {
        result++;
        lengthBarRemain = lengthBar;
      } else {
        lengthBarRemain -= lengthV;
        lengthVNum--;
      }
      if (lengthVNum == 0) {
        result++;
        break;
      }
    }
  }
  cout << result << endl;
  return 0;
}
