我来贴一个大数的
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
while(input.hasNextInt()){
int n = input.nextInt();
BigInteger result = new BigInteger("1");
while(n != 0){