package yukicoder; import java.util.*; public class P544 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int copy = N; int ketasuu = 0; while(copy!=0) { copy /=10; ketasuu++; } copy = N; ArrayList l = new ArrayList<>(); for(int i=0; i