import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String str = in.nextLine(); String[] strArr = str.split(" "); int left = 0, ritht = strArr.length-1; while(left < ritht){ ...