func_code_string: #include <bits/stdc++.h>   using namespace std;   int long long n, a, b, x = 4, y = 2, ans, m, ans1, ans2, ans3;   int main() {     ios_base::sync_with_stdio(0);     cin.tie(NULL);     cout.tie(NULL);     cin >> m >> a >> b;     while (x > 0 || y > 0) {       ans++;       n = m;       while (x > 0 && n >= a) {         x--;         n -= a;       }       while (y > 0 && n >= b) {         y--;         n -= b;       }     }     x = 4;     y = 2;     while (x > 0 || y > 0) {       ans1++;       n = m;       while (y > 0 && n >= b) {         y--;         n -= b;       }       while (x > 0 && n >= a) {         x--;         n -= a;       }     }     x = 4;     y = 2;     while (x > 0 || y > 0) {       ans2++;       n = m;       while (x > 0 && y > 0 && n >= a + b) {         x--;         y--;         n -= a + b;       }       while (y > 0 && n >= b) {         y--;         n -= b;       }       while (x > 0 && n >= a) {         x--;         n -= a;       }     }     x = 4;     y = 2;     while (x > 0 || y > 0) {       ans3++;       n = m;       while (x > 0 && y > 0 && n >= a + b) {         x--;         y--;         n -= a + b;       }       while (x > 0 && n >= a) {         x--;         n -= a;       }       while (y > 0 && n >= b) {         y--;         n -= b;       }     }     cout << min(min(ans, ans1), min(ans2, ans3));   }   