@@ -0,0 +1,1002 @@
+import java.util.*;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String args%5B%5D) %7B%0A        Scanner in = new Scanner(System.in);%0A        String LON = in.next().replace(%22,%22, %22.%22);%0A        String LAT = in.next().replace(%22,%22, %22.%22);%0A        double LONhuman = Double.parseDouble(LON);%0A        double LAThuman = Double.parseDouble(LAT);%0A        int N = in.nextInt();%0A        in.nextLine();%0A        double min=15000000;%0A        String which=%22%22;%0A        for (int i = 0; i %3C N; i++) %7B%0A            String DEFIB = in.nextLine();%0A            String%5B%5D parts = DEFIB.split(%22;%22);%0A            double londef = Double.parseDouble(parts%5B4%5D.replace(%22,%22, %22.%22));%0A            double latdef = Double.parseDouble(parts%5B5%5D.replace(%22,%22, %22.%22));%0A            double x=(londef-LONhuman)*Math.cos((latdef+LAThuman)/2);%0A            double y =latdef - LAThuman;%0A            double d = Math.sqrt(x*x+y*y)*6371;%0A            if(d%3Cmin)%7Bmin=d; which=parts%5B1%5D;%7D%0A        %7D%0A        System.out.println(which);%0A        in.close();%0A    %7D%0A%7D%0A

Create Solution.java