[STARTER] UVa program template JAVA

[java] import java.io.IOException; class Main implements Runnable { public static void main(String[] args) { Main main = new Main(); main.run(); } @Override public void run() { ExecutorTemplate exe = new ExecutorTemplate(); exe.run(); } } class ExecutorTemplate implements Runnable { @Override public void run() { //YOUR CODE HERE } private String readLine() { byte line[] =…