For this Question: There is a rule in ludo that a token can only be unlocked when either a 1 or 6 shown in the die. Given the die number N, Your task is to check whether the token can be unlocked 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>ludo()</b> that takes integers N as argument.

Constraints:-
 1 <= N <= 6Return 1 if the token can be unlocked else return 0.Sample Input:-
1

Sample Output:-
1

Sample Input:-
2

Sample Output:-
0, I have written this Solution Code: 
int ludo(int N){
    return (N==1||N==6);
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?