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.length(); // 用来记录0出现的个数 int count=0; // 判断最末尾是否为0 if(sb.charAt(strLength-1)==...