package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/equal-stacks
 */
public class EqualsStack {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
    }
}

@@ -220,16 +220,490 @@
 em.in);%0A
+        int n1 = in.nextInt();%0A        int n2 = in.nextInt();%0A        int n3 = in.nextInt();%0A        int h1%5B%5D = new int%5Bn1%5D;%0A        for (int h1_i = 0; h1_i %3C n1; h1_i++) %7B%0A            h1%5Bh1_i%5D = in.nextInt();%0A        %7D%0A        int h2%5B%5D = new int%5Bn2%5D;%0A        for (int h2_i = 0; h2_i %3C n2; h2_i++) %7B%0A            h2%5Bh2_i%5D = in.nextInt();%0A        %7D%0A        int h3%5B%5D = new int%5Bn3%5D;%0A        for (int h3_i = 0; h3_i %3C n3; h3_i++) %7B%0A            h3%5Bh3_i%5D = in.nextInt();%0A        %7D%0A
     %7D%0A%7D%0A

Update Equals Stack problem