import java.math.*; import java.util.*; public class Main { static int[] i1; static int[] i2; static int[] ten; static int ans=0; static int r; static int g; static void check(String now,ArrayList ww){ if(now.length()==r){ eee(now); return; } for(int i=0;i uuu= new ArrayList<>(); i1 = new int[g]; i2=new int[g]; ten = new int[g]; for(int i=0;i