public class Prog5 {
  public static int fact(int n) {
    if (n==1) return 1;
    int r = fact(n-1);
    return n*r;
  }
  public static void main(String []args) {
    System.out.println("10!="+fact(10));
  }
}