public class PrintBug {
    public static void main(String[] args) {
        System.out.print("abc\r\ndef\rgh\r\njkl");
    }
}