import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); // 存储输入的整数 StringBuilder sb=new StringBuilder(); sb.append(num); int strLength=sb.l...