For this Question: Sara has 2 brothers which initially have X and Y candies with them. Sara has also N candies with her. Sara wants to distribute her candies to his brothers such that both the brother have an equal amount of candies at last. Given the values of X, Y, and N, your task is to tell Sara whether she can distribute in such a way or not.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>distributeCandies()</b> that takes integers X, Y and N as arguments.

Constraints:-
0 <= N <= 1000
0 <= X <= 1000
0 <= Y <= 1000Return 1 if it is possible else return 0.Sample Input:-
N = 5, X = 3, Y = 2

Sample Output:-
1

Explanation:-
Both brothers can have 5 candies at the end. i. e Sara will give 2 candies to the first brother and 3 candies to the second.

Sample Input:-
N = 3, X = 2, Y = 2

Sample output:-
0, I have written this Solution Code: def distributeCandies(N,X,Y):
    x=N+X+Y
    if(x%2==1):
        return 0
    x=x/2
    if(x< X or x < Y):
        return 0
    return 1
    
, In this Programming Language: Python, Now tell me if this Code is compilable or not?