For this Question: There is a charity which has N people. Penny wants to donate some of her clothes to the charity in such a way that all people receive equal clothes and each individual receives <b>  more than 1 </b>. If she has M clothes with her what is the maximum number of clothes one individual can get?<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>Charity()</b> that takes integers N, and M as arguments.

Constraints:-
1 <= M, N <= 1000Return the maximum number of clothes one individual can get if it is impossible to distribute clothes return -1.Sample Input
6 20

Sample Output
3

Sample Input
8 5

Sample Output
-1, I have written this Solution Code: static int Charity(int n, int m){
    int x= m/n;
    if(x<=1){return -1;}
    return x;
}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?