@@ -0,0 +1,1041 @@
+import java.io.*;%0Aimport java.math.*;%0Aimport java.text.*;%0Aimport java.util.*;%0Aimport java.util.regex.*;%0A%0Apublic class Solution %7B%0A    static String timeConversion(String s) %7B%0A        String st = s.substring(0,2);%0A        String am_pm = s.substring(8);%0A        System.out.println(am_pm);%0A        if(am_pm.equals(%22AM%22))%7B%0A            int k = Integer.parseInt(st);%0A            if(k==12) return(%2200%22+s.substring(2,8));%0A            return(s.substring(0,8));%0A        %7D%0A        else%7B%0A            int k = Integer.parseInt(st);%0A            if(k==12) return(s.substring(0,8));%0A            k+=12;%0A            return(Integer.toString(k)+s.substring(2,8));%0A        %7D%0A    %7D%0A%0A    private static final Scanner scan = new Scanner(System.in);%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        BufferedWriter bw = new BufferedWriter(new FileWriter(System.getenv(%22OUTPUT_PATH%22)));%0A%0A        String s = scan.nextLine();%0A%0A        String result = timeConversion(s);%0A%0A        bw.write(result);%0A        bw.newLine();%0A%0A        bw.close();%0A    %7D%0A%7D%0A

add TimeConversion.java