import java.util.*; public class Main{ public static void main(String[] abc){ Scanner s = new Scanner(System.in); String str = s.nextLine(); String[] arr = str.split("[^a-zA-Z]"); &...