import java.util.; import java.io.; public class Main{ public static void main(String[] args){ InputStreamReader reader = new InputStreamReader(System.in); try(BufferedReader br = new BufferedReader(reader)){ String[] words = br.readLine().replaceAll("[^a-zA-Z]"," ").split(" "); ...