import java.util.Scanner; public class Main { public static void main(String arghs[]){ Scanner cc = new Scanner(System.in); String c2 = null; while (cc.hasNext()){ String c = cc.nextLine(); int j = 0; for(int i=c.length()-1;i>=0;i--){ if(c.charAt(i)=='0'){ ...