For this Question: Rick has got a huge candy bag. The bag contains a total of O orange candies, A apple candies, and U candies with an unknown flavor (can be orange or apple as well). 
Now Morty wants to know the maximum number of candies that can be drawn from the bag blindfolded such that no more than X orange and Y apple candies are drawn out.

Can you solve the problem for Morty?The first line of the input contains three integers O, A, and U, representing the number of orange, apple, and unknown flavored candies respectively.
The second line of the input contains two integers X and Y representing the maximum number of orange and apple candies that can be drawn of the bag.

Constraints
0 <= O, A, U <= 10<sup>9</sup>
0 <= X, Y <= 10<sup>9</sup>Output a single integer, the maximum number of candies that can be drawn out of Rick's bag.Sample Input 1
4 2 7
2 7

Sample Output 1
2

Explanation: If we draw out more than 2 candies, there is a possible chance for 3 candies to be orange.

Sample Input 2
1 2 3
8 4

Sample Output 2
4, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define sd(x) scanf("%d", &x)
#define sz(v) (int) v.size()
#define pr(v) For(i, 0, sz(v)) {cout<<v[i]<<" ";} cout<<endl;
#define slld(x) scanf("%lld", &x)
#define all(x) x.begin(), x.end()
#define For(i, st, en) for(ll i=st; i<en; i++)
#define tr(x) for(auto it=x.begin(); it!=x.end(); it++)
#define fast std::ios::sync_with_stdio(false);cin.tie(NULL);
#define pb push_back
#define ll long long
#define ld long double
#define int long long
#define double long double
#define mp make_pair
#define F first
#define S second
typedef pair<int, int> pii;
typedef vector<int> vi;
#define pi 3.141592653589793238
const int MOD = 1e9+7;
const int INF = 1LL<<60;


const int N = 2e5+5;

// it's swapnil07 ;)
 
#ifdef SWAPNIL07
#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
    cout << name << " : " << arg1 << endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
    const char* comma = strchr(names + 1, ',');cout.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...);
}
int begtime = clock();
#define end_routine() cout << "\n\nTime elapsed: " << (clock() - begtime)*1000/CLOCKS_PER_SEC << " ms\n\n";
#else
#define endl '\n'
#define trace(...)
#define end_routine()
#endif


void solve(){
    int a, b, c;
    cin >> a >> b >> c;
    int n, m;
    cin >> n >> m;
    int ans = a+b+c;
    if (n < a + c) ans = min(n, ans);
    if (m < b + c) ans = min(m, ans);

    cout << ans;
}


signed main()
{
    fast
    #ifdef SWAPNIL07
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
    int t=1; 
    // cin>>t;
    while(t--){
        solve();
        cout<<"\n";
    }
    return 0;
}

, In this Programming Language: C++, Now tell me if this Code is compilable or not?