@@ -0,0 +1,1461 @@
+import java.io.*;%0Aimport java.util.*;%0A%0A// https://www.hackerrank.com/contests/30-days-of-code/challenges/day-27-testing-part-2/submissions/code/4879789%0A%0Apublic class Solution %7B%0A    //*%0A    public static void main(String%5B%5D args) %7B%0A        %0A        // We need the output to be cases that follow the pattern:%0A        // YES%0A        // NO%0A        // YES%0A        // NO%0A        // YES%0A        %0A       System.out.println(%225%22);%0A       System.out.println(%2221 20%22);%0A       System.out.println(%22-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 -1 -1 -1 -1 1 1%22);%0A       System.out.println(%2220 2%22);%0A       System.out.println(%22-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 7 -1 -1 -1%22);%0A       System.out.println(%225 3%22);%0A       System.out.println(%225 5 5 0 -1%22);%0A       System.out.println(%224 2%22);%0A       System.out.println(%22-1 0 4 2%22);%0A       System.out.println(%223 3%22);%0A       System.out.println(%22-1 1 0%22);%0A%0A        %0A    %7D%0A    %0A    /*/%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scn = new Scanner(System.in);%0A        %0A        for (int cases = scn.nextInt(); cases %3E 0; --cases) %7B%0A            System.out.println(runCase(scn));%0A        %7D%0A    %7D%0A    %0A    public static String runCase(Scanner scn) %7B%0A        %0A        int N = scn.nextInt();%0A        int K = scn.nextInt();%0A        %0A        for (int n = 0; n %3C N; ++n) %7B%0A            if (scn.nextInt() %3C= 0) %7B%0A                --K;%0A            %7D%0A        %7D%0A        %0A        return (K %3C= 0) ? %22NO%22 : %22YES%22;%0A    %7D%0A    //*/%0A%7D%0A

Create Day27-TestingPart2.java