@@ -0,0 +1,604 @@
+//https://www.hackerrank.com/challenges/extra-long-factorials%0Aimport java.io.*;%0Aimport java.math.*;%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A        %0A        //Get input%0A        final byte N = Byte.parseByte(br.readLine());%0A        %0A        //Get factorial%0A        BigInteger factorial = BigInteger.ONE;%0A        for(byte i = 1; i %3C N; factorial = factorial.multiply(BigInteger.valueOf(++i)))%7B%7D%0A        %0A        //Print factorial%0A        System.out.print(factorial);%0A    %7D%0A%7D%0A

Create extra-long-factorials.java