import java.lang.Integer;
class Faculty {
m () {
var fact = (x) -> {
if (x == 1) {
return x;
}
else {
return x * (fact.apply(x-1));
};
return fact;