long MathFactorial(int f_number) // numer elementu silni { if(f_number<0) return -1; if(f_number>1) return f_number*MathFactorial(f_number-1); else return 1; }