Java
1 2 3 4 5 6 7 8 9 10 11 | import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); String ch = sc.nextLine(); String[] ch_arr = ch.split(" "); System.out.print(ch_arr[0] + " " + ch_arr[3] + " " +ch_arr[6]); } } | cs |