import java.util.*; public class Main{ public static void main(String[] args){ int[] nums = getNums(); } public static int[] getNums(){ Scanner in = new Scanner(System.in); String input = in.nextLine(); input = input.replace("[","")....