@@ -0,0 +1,719 @@
+import java.util.Scanner;%0A%0Apublic class Solution%7B%0A    public static void main(String args%5B%5D)%7B%0A        int x1,v1,x2,v2;%0A        Scanner s = new Scanner(System.in);%0A        x1 = s.nextInt();%0A        v1 = s.nextInt();%0A        x2 = s.nextInt();%0A        v2 = s.nextInt();%0A%0A        if(x1%3Ex2 && v1%3Ev2)%7B%0A            System.out.println(%22NO%22);%0A            System.exit(0);%0A        %7D%0A%0A        if(x2%3Ex1 && v2%3Ev1)%7B%0A            System.out.println(%22NO%22);%0A            System.exit(0);%0A        %7D%0A        if(v2==v1)%7B%0A            System.out.println(%22NO%22);%0A            System.exit(0);%0A        %7D%0A%0A        if((x1-x2)%25(v2-v1) == 0 )%7B%0A            System.out.println(%22YES%22);%0A        %7Delse%7B%0A            System.out.println(%22NO%22);%0A        %7D%0A    %7D%0A%7D%0A

Create Solution.java