@@ -0,0 +1,650 @@
+/* %0A* @Author: Zeyuan Shang%0A* @Date:   2015-12-23 20:57:34%0A* @Last Modified by:   Zeyuan Shang%0A* @Last Modified time: 2015-12-23 20:57:41%0A*/%0A%0Aimport static java.lang.System.in;%0A%0Aclass Prime %7B%0A    boolean chk(int n)%7B%0A        if(n%3C2)return false;%0A        for(int i=2;i*i%3C=n;i++)if(n%25i==0)return false;%0A        return true;%0A    %7D%0A    void checkPrime(Integer... a)%7B%0A        boolean f=false;%0A        for(int i=0;i%3Ca.length;i++)%7B%0A            if(chk(a%5Bi%5D))%7B%0A                if(f)java.lang.System.out.print(%22 %22);%0A                f=true;%0A                java.lang.System.out.print(a%5Bi%5D);%0A            %7D%0A        %7D%0A        java.lang.System.out.println();%0A    %7D%0A%7D

add prime-checker