/*
* Large numbers multiply to find the factorial of N.
*/
Import Java.math.BigInteger;
Import Java.util.Scanner;
public class Bigmultiply {
public static void Main (string[] args) {
Scanner sc = new Scanner (system.in);
int N = Sc.nextint ();
System.out.println (CALCM (N));
}
public static String CALCM (int n) {
BigInteger one = new BigInteger (integer.tostring (1));
for (int i = 1; I <= n; i++) {
one = one. Multiply (New BigInteger (integer.tostring(i)));//The subtraction of big data is the add, subtract, multiply, divide,remainder.
}
return one.tostring ();
}
}
/*
Add large numbers
*/
Import Java.math.BigInteger;
Import Java.util.Scanner;
public class Bigplus {
public static void Main (string[] args) {
Scanner sc = new Scanner (system.in);
String arg1 = Sc.nextline ();
String arg2 = Sc.nextline ();
Bigplus big=new Bigplus ();
System.out.println (Big.plusbignum (arg1, arg2));
}
public string Plusbignum (string arg1, string arg2) {
BigInteger big1 = new BigInteger (ARG1);
BigInteger big2 = new BigInteger (arg2);//Convert input string to large number object.
Return big1. Add(BIG2). toString (); ToString Note.
}
}
Multiply large numbers and add large numbers.