import java.util.stream.Stream;
public class Main {
public static void main(String... args) {
String vowels = "аеёиоуыэюя";
String[] words = {"абра", "кадабра", "интерес", null, "Проверка", "ещё", "логика", "", "Ёж", "Сигнал"};
Stream.of(words)
.filter(word -> word != null && word.length() > 0 && !vowels.contains(word.substring(0, 1).toLowerCase()))
.forEach(word -> System.out.print(word + " "));
}
}
if ("RUB".equals(params[0])) {
if (params[0]=="RUB") {