For this Question: You are given a cubic dice with 6 faces. All the individual faces have numbers printed on them. The numbers are in the range of 1 to 6, like any <b>ordinary dice</b>. You will be provided with a face of this cube, your task is to find the number on the opposite face of the cube.

<b>Note</b>:- The sum of numbers on all opposite faces of the die is constant<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>DiceProblem()</b> that takes the integer N(face) as parameter.

<b>Constraints:</b>
1 <= N <= 6Return the number on the opposite side.Sample Input:-
2

Sample Output:-
5

Sample Input:-
1

Sample Output:-
6, I have written this Solution Code: 

static int diceProblem(int N){
    return (7-N);
}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?