fork download
  1. import java.util.*;
  2. import java.lang.*;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. Scanner input = new Scanner(System.in);
  9. String a = input.next();
  10. String b = input.next();
  11. for (int i = 0; i < 3; i++) {
  12. System.out.println(">" + input.nextLine() + "<");
  13. }
  14. }
  15. }
  16.  
Success #stdin #stdout 0.07s 213312KB
stdin
foo bar
baz
qux
stdout
><
>baz<
>qux<