package exam.meituan; import java.util.Scanner; public class Test1 { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String str = scan.nextLine(); str.replace("[", ""); str.replace("]", "")...