public class 统计单词 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
String[] split = str.split(" ");
for (String string : split) {
System.out.println(string);
}
}
}
public class 统计单词 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
String[] split = str.split(" ");
for (String string : split) {
System.out.println(string);
}
}
}