1004: 三位数的数位分离
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);int a=cin.nextInt();System.out.println(String.format("%d %d %d",a%10,a/10%10,a/100));}
}
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);int a=cin.nextInt();System.out.println(String.format("%d %d %d",a%10,a/10%10,a/100));}
}