For this Question: Spring has come, and the management of the AvtoBus bus fleet has given the order to replace winter tires with summer tires on all buses. You own a small bus service business and you have just received an order to replace n tires. You know that the bus fleet owns two types of buses: with two axles (these buses have 4 wheels) and with three axles (these buses have 6 wheels).
You don't know how many buses of which type the AvtoBus bus fleet owns, so you wonder how many buses the fleet might have. You have to determine the minimum and the maximum number of buses that can be in the fleet if you know that the total number of wheels for all buses is n.The input consists of an integer n denoting the number of wheels for all buses.

<b>Constraints</b>
1 &le; n &le; 10<sup>18</sup>Print two integers x and y (1 &le; x &le; y) — the minimum and the maximum possible number of buses that can be in the bus fleet. If there is no suitable number of buses for the given n, print the number −1 as the answer.<b>Sample Input 1</b>
4
<b>Sample Output 1</b>
1 1

<b>Sample Input 1</b>
7
<b>Sample Output 1</b>
-1, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define int long long int
#define endl '\n'

// Author:Abhas
void solution()
{
    int n;
    cin >> n;
    if (n == 2)
    {
        cout << -1 << endl;
        return;
    }
    if (n % 2)
    {
        cout << -1 << endl;
        return;
    }
    int a = n / 4;

    int b = n / 6;
    if (n % 6)
    {
        b++;
    }
    if (a < b)
    {
        swap(a, b);
    }
    cout << b << " " << a << endl;
}
signed main()
{
    int t = 1;
    //cin >> t;
    while (t--)
    {
        solution();
    }
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?