@@ -0,0 +1,384 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class %3C+FILEBASE+%3E %7B%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09%09try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) %7B%0A%09%09%09br.lines()%0A%09%09%09%09.map(line -%3E Arrays.stream(line.split(%22 %22))%0A%09%09%09%09%09%09.mapToInt(Integer::parseInt)%0A%09%09%09%09%09%09.toArray())%0A%09%09%09%09.forEach(intArray -%3E %7B%0A%09%09%09%09%09%3C+CURSOR+%3E%0A%09%09%09%09%7D);%0A%09%09%7D%0A%09%7D%0A%7D%0A

Fix a programming contest template for Java8