import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
public static void main(String...args) {
try (Scanner scanner = new Scanner(System.in)) {
StringTokenizer st = new StringTokenizer(scanner.nextLine()," ");
while (st.hasMoreTokens()) {
System.out.println(st.nextToken());
}
}
}
}