@@ -0,0 +1,621 @@
+import java.io.*;%0Aimport java.util.*;%0Aimport java.math.BigInteger;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */%0A        %0A        Scanner in = new Scanner(System.in);%0A        %0A        int num = in.nextInt();%0A        %0A        BigInteger fact = new BigInteger(String.valueOf(num));%0A        %0A        for (int i = 1; i %3C num; i++) %7B%0A            fact = fact.multiply(new BigInteger(String.valueOf(num - i)));%0A        %7D%0A        %0A        System.out.println(fact.toString());%0A    %7D%0A%7D%0A

Create ExtraLongFactorials.java