@@ -0,0 +1,953 @@
+package com.company;%0Aimport java.util.*;%0Apublic class BabyNim %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner keyboard = new Scanner(System.in);%0A        char A = 'A';%0A        char B = 'B';%0A        char C = 'C';%0A        int pileA = 3;%0A        int pileB = 3;%0A        int pileC = 3;%0A        while(pileA%3E0 && pileB %3E 0 && pileC %3E0) %7B%0A            System.out.print(%22A: %22pileA + %22: %22 + pileA + %22     B: %22 + pileB + %22     C: %22 + pileC);%0A            System.out.print(%22%5Cr%5CnChoose a pile: %22);%0A            String choice = keyboard.nextLine();%0A            System.out.print(%22%5Cr%5CnHow many to remove from pile %22 + choice + %22: %22);%0A            int removal = keyboard.nextInt();%0A            if (choice.equals(A)) %7B%0A                pileA = pileA - removal;%0A            %7D else if (choice.equals(B)) %7B%0A                pileB = pileB - removal;%0A            %7D else if (choice.equals(C)) %7B%0A                pileC = pileC - removal;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Create BabyNim.java