#include <bits/stdc++.h>   int A, B, M = 6, N;   int main() {     scanf( %d%d%d , &N, &A, &B);     int nda = N / A;     for (int i = 1; (i <= 2) && (B * i <= N); ++i)       M = std::min((i ^ 3) + (4 - ((N - B * i) / A) * (i ^ 3) + nda - 1) / nda,                    M);     printf( %d n , M);     return 0;   }   