import java.util.Scanner;
import java.util.Random;
import java.math.BigInteger;
public class sizeyunsuan {
//出题参数
Random r=new Random();
String s[]=new String[100];
int n,max;
Scanner sc=new Scanner(System.in);
System.out.println("请输入题目数:");
n=sc.nextInt();
System.out.println("请输入最大范围:");
max=sc.nextInt();
//随机生成大整数
class Test2{
public BigInteger getRedom(){
String s="0123456789";
int len=100;
Random r=new Random();
StringBuffer sb=new StringBuffer();
for(int i=0;i<len;i++){
int rand=r.nextInt(10);
sb.append(s.substring(rand,rand+1));
}
BigInteger num=new BigInteger(sb.toString());
return num;
}
public static void main(String[] args) {
Test2 t=new Test2();
BigInteger s=t.getRedom();
System.out.println(s);
}
}
}