gepufferter Leser für große Ganzzahl
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
BigInteger num=BigInteger.ONE;
System.out.println("Please input the value for num.");
num=new BigInteger(br.readLine());
Jeffrey Huang