public class Example { public static void main(String[] args) { int n = 1634; int temp = n; int m = 0; // berilgan sonni uzunligini topish for (; temp != 0; temp = temp / 10) { System.out.println(m); } } }