@@ -0,0 +1,238 @@
+import java.util.*;%0A%0Apublic class Main %7B%0A%09public static void main(String %5B%5D args) %7B%0A%09%09Scanner sc = new Scanner (System.in);%0A%09%09PirateSolver solver = new PirateSolver(sc.next());%0A%09%09sc.close();%0A%09%09System.out.println(solver.solution());%0A%09%09%7D%0A%7D%0A

Create Main.java