@@ -0,0 +1,320 @@
+import java.util.Scanner;%0A%0Apublic class IntersectDot %7B%0A%09public static void main(String args%5B%5D)%0A%09%7B%0A%09%09int k=0,d=0;%0A%09%09Scanner scr=new Scanner(System.in);%0A%09%09int n1=scr.nextInt();%0A%09%09int n2=scr.nextInt();%0A%09%09for(int i=1;i%3C=n1-1;i++)%0A%09%09%7B%0A%09%09%09k+=i;%0A%09%09%7D%0A%09%09for(int j=1;j%3C=n2-1;j++)%0A%09%09%7B%0A%09%09%09d+=k*j;%0A%09%09%7D%0A%09%09System.out.println(d);%0A%09%7D%0A%0A%7D%0A

Create IntersectDot.java