Testfest for homework 10

Test cases are in rows. Programs submitted by pairs are in columns.

In each cell, a check mark indicates that the program passed the test. A cross, that it failed the test. A squiggle, that it passed for some combinations of pretty-printed or one-line output, and rapidly-transmitted vs trickle-fed output, but failed for other combinations.

Pairs are identified by the last four digits of their NUIDs (in the same order as their CCS ids appear in their class repo name). Tests are identified similarly, but with the addition of the test number after the two NUID fragments.

Each cell in each row in the matrix is a hyperlink to the test case inputs and outputs.

Results matrix

Test case 0067-2657 1073-0623 1976-3959 2367-3461 2598-3830 3561 3731-5223 3982-9634 4890-1606 6112-0807 6118-7013 6344-7167 7214-1853 7469-8070 7498-5803 7920-6080 8179-2198 8949-0357 9159-7391 9951-4071
0067-2657-1
×
0067-2657-2
×
0067-2657-3
×
×
0067-2657-4
×
0067-2657-5
×
×
0067-2657-6
×
×
×
0067-2657-7
×
×
0067-2657-8
×
×
×
1976-3959-1
×
×
1976-3959-2
×
×
1976-3959-3
×
×
1976-3959-4
×
×
1976-3959-5
×
×
2598-3830-1
×
×
×
2598-3830-11
×
×
×
×
2598-3830-13
×
2598-3830-2
×
×
×
2598-3830-3
×
×
×
2598-3830-4
×
×
×
2598-3830-5
×
×
×
2598-3830-6
×
×
×
2598-3830-7
×
×
×
2598-3830-8
×
×
×
2598-3830-9
×
×
×
×
6112-0807-10
×
×
6112-0807-5
×
×
6112-0807-6
×
×
×
6112-0807-7
×
×
6112-0807-9
×
×
6344-7167-1
×
×
×
×
×
6344-7167-2
×
×
6344-7167-3
×
×
6344-7167-4
×
×
6344-7167-5
×
×
7214-1853-1
×
7214-1853-2
×
7214-1853-3
×
7214-1853-4
×
×
7214-1853-5
×
7214-1853-6
×
×
7469-8070-1
×
×
7469-8070-2
×
×
7469-8070-3
×
×
7920-6080-3
×
×
7920-6080-4
×
×
8949-0357-1
×
8949-0357-2
×
×
8949-0357-3
×
×
8949-0357-4
×
×
8949-0357-5
×
×
9159-7391-1
×
9159-7391-11
×
×
9159-7391-12
×
9159-7391-13
×
×
9159-7391-14
×
×
9159-7391-15
×
×
9159-7391-16
×
×
9159-7391-17
×
×
9159-7391-18
×
×
9159-7391-19
×
×
9159-7391-2
×
×
9159-7391-20
×
×
9159-7391-21
×
9159-7391-22
×
9159-7391-23
×
×
9159-7391-24
×
×
9159-7391-25
×
×
9159-7391-3
×
×
×
9159-7391-4
×
9159-7391-5
×
×
9159-7391-6
×
×
9159-7391-7
×
×
9159-7391-8
×
×
9159-7391-9
×
×
×
9951-4071-10
×
×
×
9951-4071-11
×
×
×
×
9951-4071-15
×
×
9951-4071-17
×
×
9951-4071-2
×
×
×
9951-4071-3
×
×
×
9951-4071-4
×
×
×
9951-4071-5
×
×
×
9951-4071-9
×
×
×
matthias-1
×
matthias-10
×
matthias-11
×
matthias-12
×
×
matthias-13
×
×
matthias-14
×
×
matthias-15
×
×
matthias-16
×
×
matthias-17
×
×
×
matthias-18
×
×
matthias-19
×
×
×
×
matthias-2
×
matthias-20
×
×
×
×
matthias-21
×
×
×
matthias-22
×
×
matthias-23
×
×
matthias-24
×
×
matthias-25
×
×
matthias-26
×
×
matthias-27
×
×
matthias-28
×
×
matthias-29
×
×
matthias-3
×
×
matthias-30
×
×
×
matthias-31
×
×
matthias-32
×
×
matthias-33
×
×
matthias-34
×
×
matthias-35
×
×
×
×
×
matthias-36
×
×
matthias-4
×
×
matthias-5
×
matthias-6
×
matthias-7
×
×
matthias-8
×
matthias-9
×
×

Test cases

0067-2657-1

Input:

[
  [
    [["id", 1],
     ["species", []],
     ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
    ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
10,
[]
]

0067-2657-2

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
         ["body", 1],
         ["population", 1],
         ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  9,
  []
]

0067-2657-3

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
         ["body", 2],
         ["population", 2],
         ["traits", ["fat-tissue"]]]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
         ["body", 2],
         ["population", 2],
         ["traits", ["fat-tissue"]],
         ["fat-food", 2]]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  8,
  []
]

0067-2657-4

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns"]]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns"]]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  9,
  []
]

0067-2657-5

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  7,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]]
  ],
  4,
  []
]

0067-2657-6

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]],

          [["food", 0],
            ["body", 1],
            ["population", 4],
            ["traits", ["foraging", "climbing"]]
          ]
        ]],
        ["bag", 0]]
      ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 2],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]
        ],
          [["food", 4],
            ["body", 1],
            ["population", 4],
            ["traits", ["foraging", "climbing"]]
          ]
        ]
      ],
      ["bag", 0]]
  ],
  2,
  []
]

0067-2657-7

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["hard-shell"]]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]],

        [["food", 0],
          ["body", 1],
          ["population", 4],
          ["traits", ["foraging", "hard-shell"]]
        ]
      ]],
      ["bag", 0]]
  ],
  10,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["hard-shell"]]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]],

        [["food", 0],
          ["body", 1],
          ["population", 4],
          ["traits", ["foraging", "hard-shell"]]
        ]
      ]],
      ["bag", 0]]
  ],
  10,
  []
]

0067-2657-8

Input:

[
  [
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 0],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 0],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]],

        [["food", 0],
          ["body", 1],
          ["population", 4],
          ["traits", ["foraging", "climbing"]]
        ]
      ]],
      ["bag", 0]]
  ],
  5,
  []
]

Output:

[
  [
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["carnivore"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["horns", "cooperation"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", []]
        ]
      ]],
      ["bag", 0]],
    [["id", 1],
      ["species", []],
      ["bag", 0]],
    [["id", 1],
      ["species", [
        [["food", 1],
          ["body", 1],
          ["population", 1],
          ["traits", ["cooperation", "scavenger", "climbing"]]
        ],
        [["food", 1],
          ["body", 1],
          ["population", 2],
          ["traits", ["scavenger", "cooperation", "climbing"]]],

        [["food", 2],
          ["body", 1],
          ["population", 4],
          ["traits", ["foraging", "climbing"]]
        ]
      ]],
      ["bag", 0]]
  ],
  0,
  []
]

1976-3959-1

Input:

[
    [
        [["id", 1], ["species", [[["food", 1], ["body", 1], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 2], ["traits", ["horns"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    10,
    [[3, "carnivore"]]
]

Output:

[
    [
        [["id", 1], ["species", [[["food", 2], ["body", 1], ["population", 2], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 1], ["traits", ["horns"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    9,
    [[3, "carnivore"]]
]

1976-3959-2

Input:

[
    [
        [["id", 1], ["species", [[["food", 1], ["body", 1], ["population", 3], ["traits", ["foraging"]]]]], ["bag", 3]],
        [["id", 2], ["species", []], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    10,
    [[3, "carnivore"]]
]

Output:

[
    [
        [["id", 1], ["species", [[["food", 3], ["body", 1], ["population", 3], ["traits", ["foraging"]]]]], ["bag", 3]],
        [["id", 2], ["species", []], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    8,
    [[3, "carnivore"]]
]

1976-3959-3

Input:

[
    [
        [["id", 1], ["species", [[["food", 1], ["body", 1], ["population", 3], ["traits", ["carnivore", "scavenger"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 2], ["traits", []]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    10,
    [[3, "carnivore"]]
]

Output:

[
    [
        [["id", 1], ["species", [[["food", 3], ["body", 1], ["population", 3], ["traits", ["carnivore", "scavenger"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 1], ["traits", []]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    8,
    [[3, "carnivore"]]
]

1976-3959-4

Input:

[
    [
        [["id", 1], ["species", [[["food", 1], ["body", 1], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 5], ["traits", ["scavenger"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    10,
    [[3, "carnivore"]]
]

Output:

[
    [
        [["id", 1], ["species", [[["food", 2], ["body", 1], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 2], ["body", 1], ["population", 4], ["traits", ["scavenger"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    8,
    [[3, "carnivore"]]
]

1976-3959-5

Input:

[
    [
        [["id", 1], ["species", [[["food", 1], ["body", 1], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 1], ["body", 1], ["population", 5], ["traits", ["scavenger", "foraging"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    2,
    [[3, "carnivore"]]
]

Output:

[
    [
        [["id", 1], ["species", [[["food", 2], ["body", 1], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 3]],
        [["id", 2], ["species", [[["food", 2], ["body", 1], ["population", 4], ["traits", ["scavenger", "foraging"]]]]], ["bag", 5]],
        [["id", 3], ["species", []], ["bag", 8]]
    ],
    0,
    [[3, "carnivore"]]
]

2598-3830-1

Input:

[[[["id",2],
   ["species",[[["food",4],
                ["body",4],
                ["population",4],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",2],
   ["species",[[["food",4],
                ["body",4],
                ["population",4],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

2598-3830-11

Input:

[[[["id",3],
   ["species",[[["food",0],
                ["body",4],
                ["population",5],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",["scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",6],
                ["body",7],
                ["population",6],
                ["traits",[]]]]],
   ["bag",100]]],
 10,
 [[3, "burrowing"],
  [3, "horns"],
  [1, "climbing"]]]

Output:

[[[["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",5],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",1],
                ["body",3],
                ["population",4],
                ["traits",["scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",5],
                ["body",7],
                ["population",5],
                ["traits",[]]]]],
   ["bag",100]]],
 8,
 [[3, "burrowing"],
  [3, "horns"],
  [1, "climbing"]]]

2598-3830-13

Input:

[[[["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",1],
                ["traits",["carnivore"]]],
               [["food",1],
                ["body",3],
                ["population",1],
                ["traits",[]]]]],
   ["bag",0]],
  [["id",99],
   ["species",[[["food",0],
                ["body",3],
                ["population",1],
                ["traits",["climbing"]]]]],
   ["bag",0]],
  [["id",88],
   ["species",[]],
   ["bag",0]]],
1,
[]]

Output:

[[[["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",1],
                ["traits",["carnivore"]]],
               [["food",1],
                ["body",3],
                ["population",1],
                ["traits",[]]]]],
    ["bag",0]],
   [["id",99],
    ["species",[[["food",0],
                 ["body",3],
                 ["population",1],
                 ["traits",["climbing"]]]]],
    ["bag",0]],
   [["id",88],
    ["species",[]],
    ["bag",0]]],
1,
[]]

2598-3830-2

Input:

[[[["id",2],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",2],
   ["species",[[["food",3],
                ["body",4],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 5,
 []]

2598-3830-3

Input:

[[[["id",2],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["fat-tissue"]],
                ["fat-food", 1]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",2],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["fat-tissue"]],
                ["fat-food", 4]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 3,
 []]

2598-3830-4

Input:

[[[["id",2],
   ["species",[[["food",3],
                ["body",3],
                ["population",4],
                ["traits",["cooperation"]]],
               [["food",3],
                ["body",2],
                ["population",4],
                ["traits",["cooperation"]]],
               [["food",3],
                ["body",1],
                ["population",4],
                ["traits",["burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",2],
   ["species",[[["food",4],
                ["body",3],
                ["population",4],
                ["traits",["cooperation"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["cooperation"]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",["burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 3,
 []]

2598-3830-5

Input:

[[[["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",3],
                ["body",3],
                ["population",4],
                ["traits",["climbing", "cooperation", "scavenger"]]],
               [["food",3],
                ["body",2],
                ["population",4],
                ["traits",["climbing", "cooperation"]]],
               [["food",3],
                ["body",1],
                ["population",4],
                ["traits",["climbing", "burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",7],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",3],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",4],
                ["body",3],
                ["population",4],
                ["traits",["climbing", "cooperation", "scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["climbing", "cooperation"]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",["climbing", "burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",6],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 2,
 []]

2598-3830-6

Input:

[[[["id",3],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["foraging", "carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",["foraging", "scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",6],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 10,
 []]

Output:

[[[["id",3],
   ["species",[[["food",4],
                ["body",4],
                ["population",4],
                ["traits",["foraging", "carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",2],
                ["body",3],
                ["population",4],
                ["traits",["foraging", "scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",5],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

2598-3830-7

Input:

[[[["id",3],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",6],
                ["traits",["horns"]]]]],
   ["bag",100]]],
 10,
 []]

Output:

[[[["id",3],
   ["species",[[["food",3],
                ["body",4],
                ["population",3],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",[]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",[]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",5],
                ["traits",["horns"]]]]],
   ["bag",100]]],
 9,
 []]

2598-3830-8

Input:

[[[["id",3],
   ["species",[[["food",3],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",["climbing"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["climbing"]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",["climbing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",1],
                ["traits",[]]]]],
   ["bag",100]]],
 9,
 [[3, "burrowing"],
  [3, "horns"],
  [1, "climbing"]]]

Output:

[[[["id",3],
   ["species",[[["food",4],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",0],
                ["body",3],
                ["population",4],
                ["traits",["climbing"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["climbing"]]],
               [["food",4],
                ["body",1],
                ["population",4],
                ["traits",["climbing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[]],
   ["bag",100],
   ["cards",[[3, "burrowing"],[3, "horns"]]]]],
 8,
 [[1, "climbing"]]]

2598-3830-9

Input:

[[[["id",3],
   ["species",[[["food",1],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",3],
                ["body",3],
                ["population",4],
                ["traits",["climbing", "cooperation", "scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["climbing", "cooperation"]]],
               [["food",3],
                ["body",1],
                ["population",4],
                ["traits",["climbing", "burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",7],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 6,
 []]

Output:

[[[["id",3],
   ["species",[[["food",2],
                ["body",4],
                ["population",4],
                ["traits",["carnivore"]]]]],
   ["bag",2],
   ["cards",[[-3, "burrowing"]]]],
  [["id",2],
   ["species",[[["food",4],
                ["body",3],
                ["population",4],
                ["traits",["climbing", "cooperation", "scavenger"]]],
               [["food",4],
                ["body",2],
                ["population",4],
                ["traits",["climbing", "cooperation"]]],
               [["food",3],
                ["body",1],
                ["population",4],
                ["traits",["climbing", "burrowing"]]]]],
   ["bag",42],
   ["cards",[[3, "climbing"]]]],
  [["id",4],
   ["species",[[["food",0],
                ["body",7],
                ["population",6],
                ["traits",["fat-tissue"]],
                ["fat-food" ,4]]]],
   ["bag",100]]],
 4,
 []]

6112-0807-10

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",1]],
[["id",2],["species",[[["food",1],["body",2],["population",2],["traits",["horns"]]]]],["bag",1]],
[["id",3],["species",[[["food",1],["body",1],["population",1],["traits",[]]]]],["bag",1]]],20,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",1]],[["id",2],["species",[[["food",1],["body",2],["population",1],["traits",["horns"]]]]],["bag",1]],[["id",3],["species",[[["food",1],["body",1],["population",1],["traits",[]]]]],["bag",1]]],20,[]]

6112-0807-5

Input:

[[[["id",3],["species",[[["food",5],["body",5],["population",5],["traits",["fat-tissue","horns","foraging"]],["fat-food",5]]]],["bag",5]],[["id",1],["species",[]],["bag",3]],[["id",2],["species",[]],["bag",4]]],20,[[5,"carnivore"],[2,"long-neck"],[0,"symbiosis"]]]

Output:

[[[["id",3],["species",[[["food",5],["body",5],["population",5],["traits",["fat-tissue","horns","foraging"]],["fat-food",5]]]],["bag",5]],[["id",1],["species",[]],["bag",3]],[["id",2],["species",[]],["bag",4]]],20,[[5,"carnivore"],[2,"long-neck"],[0,"symbiosis"]]]

6112-0807-6

Input:

[[[["id",1],["species",[[["food",3],["body",5],["population",5],["traits",["fat-tissue","horns"]],["fat-food",5]],
[["food",3],["body",3],["population",3],["traits",["carnivore"]]],
[["food",3],["body",3],["population",3],["traits",["carnivore"]]]]],["bag",0]],
[["id",2],["species",[]],["bag",0]],
[["id",3],["species",[]],["bag",0]]],20,[]]

Output:

[[[["id",1],["species",[[["food",4],["body",5],["population",5],["traits",["fat-tissue","horns"]],["fat-food",5]],[["food",3],["body",3],["population",3],["traits",["carnivore"]]],[["food",3],["body",3],["population",3],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],19,[]]

6112-0807-7

Input:

[
[[["id",1],["species",[[["food",2],["body",3],["population",4],["traits",["carnivore"]]]]],["bag",2]],
[["id",2],["species",[[["food",2],["body",2],["population",3],["traits",["scavenger","foraging"]]]]],["bag",2]],
[["id",3],["species",[[["food",1],["body",1],["population",3],["traits",["scavenger","cooperation","climbing"]]],[["food",1],["body",2],["population",3],["traits",[]]]]],["bag",2]]],
15,[]]

Output:

[[[["id",1],["species",[[["food",3],["body",3],["population",4],["traits",["carnivore"]]]]],["bag",2]],[["id",2],["species",[[["food",2],["body",2],["population",2],["traits",["scavenger","foraging"]]]]],["bag",2]],[["id",3],["species",[[["food",2],["body",1],["population",3],["traits",["scavenger","cooperation","climbing"]]],[["food",2],["body",2],["population",3],["traits",[]]]]],["bag",2]]],12,[]]

6112-0807-9

Input:

[[[["id",1],["species",[
[["food",1],["body",1],["population",1],["traits",["carnivore"]]],
[["food",1],["body",2],["population",5],["traits",["carnivore","cooperation"]]],
[["food",2],["body",4],["population",3],["traits",["carnivore","cooperation"]]],
[["food",2],["body",4],["population",3],["traits",["carnivore","cooperation"]]]]],["bag",2]],

[["id",2],["species",[
[["food",1],["body",2],["population",1],["traits",[]]],
[["food",1],["body",2],["population",1],["traits",[]]],
[["food",1],["body",2],["population",1],["traits",[]]]]],["bag",3]],

[["id",3],["species",[
[["food",1],["body",2],["population",1],["traits",["carnivore"]]],
[["food",1],["body",2],["population",1],["traits",["carnivore"]]]]],["bag",1]]],20,[[1,"foraging"],[2,"long-neck"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",1],["population",1],["traits",["carnivore"]]],[["food",2],["body",2],["population",5],["traits",["carnivore","cooperation"]]],[["food",3],["body",4],["population",3],["traits",["carnivore","cooperation"]]],[["food",3],["body",4],["population",3],["traits",["carnivore","cooperation"]]]]],["bag",2]],[["id",2],["species",[[["food",1],["body",2],["population",1],["traits",[]]],[["food",1],["body",2],["population",1],["traits",[]]]]],["bag",3],["cards",[[1,"foraging"],[2,"long-neck"]]]],[["id",3],["species",[[["food",1],["body",2],["population",1],["traits",["carnivore"]]],[["food",1],["body",2],["population",1],["traits",["carnivore"]]]]],["bag",1]]],17,[]]

6344-7167-1

Input:

[
  [
    [["id", 1], ["species", []], ["bag", 0]],
    [["id", 2], ["species", []], ["bag", 0], ["cards", []]],
    [["id", 3], ["species", [[["food", 6],
                               ["body", 5],
                               ["population", 6],
                               ["traits", ["fat-tissue"]],
                               ["fat-food", 0]]]],
      ["bag", 0]]
  ],
  2,
  [
    [4, "carnivore"],
    [3, "scavenger"]
  ]
]

Output:

[[[["id", 1], ["species", []], ["bag", 0]], [["id", 2], ["species", []], ["bag", 0]], [["id", 3], ["species", [[["food", 6], ["body", 5], ["population", 6], ["traits", ["fat-tissue"]]]]], ["bag", 0]]], 2, [[4, "carnivore"], [3, "scavenger"]]]

6344-7167-2

Input:

[
  [
    [["id", 1],
      ["species", [[["food", 1],
                    ["body", 5],
                    ["population", 6],
                    ["traits", []]]]],
      ["bag", 0]],
    [["id", 2], ["species", []], ["bag", 0]],
    [["id", 3], ["species", []], ["bag", 0]]
  ],
  1,
  [
    [4, "carnivore"],
    [3, "scavenger"]
  ]
]

Output:

[[[["id", 1], ["species", [[["food", 2], ["body", 5], ["population", 6], ["traits", []]]]], ["bag", 0]], [["id", 2], ["species", []], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]], 0, [[4, "carnivore"], [3, "scavenger"]]]

6344-7167-3

Input:

[
  [
    [["id", 1],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 6],
                    ["traits", ["carnivore"]]]]],
      ["bag", 0]],
    [["id", 2],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 6],
                    ["traits", []]]]],
      ["bag", 0]],
    [["id", 3], ["species",
                  [[["food", 2],
                    ["body", 1],
                    ["population", 6],
                    ["traits", ["scavenger"]]]]], ["bag", 0]]
  ],
  3,
  [
    [4, "carnivore"],
    [3, "scavenger"]
  ]
]

Output:

[[[["id", 1], ["species", [[["food", 3], ["body", 5], ["population", 6], ["traits", ["carnivore"]]]]], ["bag", 0]], [["id", 2], ["species", [[["food", 2], ["body", 5], ["population", 5], ["traits", []]]]], ["bag", 0]], [["id", 3], ["species", [[["food", 3], ["body", 1], ["population", 6], ["traits", ["scavenger"]]]]], ["bag", 0]]], 1, [[4, "carnivore"], [3, "scavenger"]]]

6344-7167-4

Input:

[
  [
    [["id", 1],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 6],
                    ["traits", ["foraging", "cooperation"]]],
                    [["food", 2],
                    ["body", 5],
                    ["population", 3],
                    ["traits", ["cooperation"]]]]],
      ["bag", 0]],
    [["id", 2],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 6],
                    ["traits", ["scavenger"]]]]],
      ["bag", 0]],
    [["id", 3], ["species",
                  [[["food", 2],
                    ["body", 1],
                    ["population", 6],
                    ["traits", ["foraging"]]]]], ["bag", 0]]
  ],
  4,
  [
    [4, "carnivore"],
    [3, "scavenger"]
  ]
]

Output:

[[[["id", 1], ["species", [[["food", 4], ["body", 5], ["population", 6], ["traits", ["foraging", "cooperation"]]], [["food", 3], ["body", 5], ["population", 3], ["traits", ["cooperation"]]]]], ["bag", 0]], [["id", 2], ["species", [[["food", 2], ["body", 5], ["population", 6], ["traits", ["scavenger"]]]]], ["bag", 0]], [["id", 3], ["species", [[["food", 2], ["body", 1], ["population", 6], ["traits", ["foraging"]]]]], ["bag", 0]]], 1, [[4, "carnivore"], [3, "scavenger"]]]

6344-7167-5

Input:

[
  [
    [["id", 1],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 6],
                    ["traits", ["carnivore", "cooperation"]]],
                    [["food", 2],
                    ["body", 5],
                    ["population", 3],
                    ["traits", ["carnivore", "cooperation"]]],
                    [["food", 2],
                    ["body", 5],
                    ["population", 3],
                    ["traits", ["carnivore"]]]]],
      ["bag", 0]],
    [["id", 2],
      ["species", [[["food", 2],
                    ["body", 5],
                    ["population", 4],
                    ["traits", ["scavenger"]]]]],
      ["bag", 0]],
    [["id", 3], ["species",
                  [[["food", 2],
                    ["body", 1],
                    ["population", 6],
                    ["traits", ["foraging", "horns"]]]]], ["bag", 0]]
  ],
  3,
  [
    [4, "carnivore"],
    [3, "scavenger"]
  ]
]

Output:

[[[["id", 1], ["species", [[["food", 3], ["body", 5], ["population", 5], ["traits", ["carnivore", "cooperation"]]], [["food", 3], ["body", 5], ["population", 3], ["traits", ["carnivore", "cooperation"]]], [["food", 3], ["body", 5], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 0]], [["id", 2], ["species", [[["food", 2], ["body", 5], ["population", 4], ["traits", ["scavenger"]]]]], ["bag", 0]], [["id", 3], ["species", [[["food", 2], ["body", 1], ["population", 5], ["traits", ["foraging", "horns"]]]]], ["bag", 0]]], 0, [[4, "carnivore"], [3, "scavenger"]]]

7214-1853-1

Input:

[[[["id", 1],
 ["species", [[["food", 1],
               ["body", 1],
               ["population", 1],
               ["traits", []]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 2]],
   [["id", 3],
    ["species", []],
    ["bag", 4]]],
 1,
 []]

Output:

[[[["id", 1],
 ["species", [[["food", 1],
               ["body", 1],
               ["population", 1],
               ["traits", []]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 2]],
   [["id", 3],
    ["species", []],
    ["bag", 4]]],
 1,
 []]

7214-1853-2

Input:

[[[["id", 1],
 ["species", [[["food", 0],
               ["body", 1],
               ["population", 1],
               ["traits", []]]]],
               ["bag", 5]],
 [["id", 2],
   ["species", []],
   ["bag", 4]],
 [["id", 3],
   ["species", []],
   ["bag", 2]]],
 1,
 []]

Output:

[[[["id", 1],
 ["species", [[["food", 1],
               ["body", 1],
               ["population", 1],
               ["traits", []]]]],
               ["bag", 5]],
 [["id", 2],
   ["species", []],
   ["bag", 4]],
 [["id", 3],
   ["species", []],
   ["bag", 2]]],
 0,
 []]

7214-1853-3

Input:

[[[["id", 1],
 ["species", [[["food", 0],
               ["body", 1],
               ["population", 1],
               ["traits", ["carnivore"]]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 4]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 1,
 []]

Output:

[[[["id", 1],
 ["species", [[["food", 0],
               ["body", 1],
               ["population", 1],
               ["traits", ["carnivore"]]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 4]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 1,
 []]

7214-1853-4

Input:

[[[["id", 1],
   ["species", [[["food", 1],
                 ["body", 2],
                 ["population", 2],
                 ["traits", ["carnivore"]]]]],
   ["bag", 4]],
  [["id", 2],
   ["species", []],
   ["bag", 5]],
   [["id", 3],
      ["species", [[["food", 1],
                    ["body", 2],
                    ["population", 2],
                    ["traits", []]]]],
      ["bag", 2]]],
 1,
 []]

Output:

[[[["id", 1],
   ["species", [[["food", 2],
                 ["body", 2],
                 ["population", 2],
                 ["traits", ["carnivore"]]]]],
   ["bag", 4]],
  [["id", 2],
   ["species", []],
   ["bag", 5]],
   [["id", 3],
      ["species", [[["food", 1],
                    ["body", 2],
                    ["population", 1],
                    ["traits", []]]]],
      ["bag", 2]]],
 0,
 []]

7214-1853-5

Input:

[[[["id", 1],
   ["species", [[["food", 1],
                 ["body", 2],
                 ["population", 2],
                 ["traits", ["carnivore"]]],
                [["food", 1],
                 ["body", 1],
                 ["population", 1],
                 ["traits", []]]]],
   ["bag", 4]],
  [["id", 2],
   ["species", []],
   ["bag", 5]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 1,
 []]

Output:

[[[["id", 1],
   ["species", [[["food", 1],
                 ["body", 2],
                 ["population", 2],
                 ["traits", ["carnivore"]]],
                [["food", 1],
                 ["body", 1],
                 ["population", 1],
                 ["traits", []]]]],
   ["bag", 4]],
  [["id", 2],
   ["species", []],
   ["bag", 5]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 1,
 []]

7214-1853-6

Input:

[[[["id", 1],
 ["species", [[["food", 0],
               ["body", 3],
               ["population", 1],
               ["traits", ["fat-tissue"]],
               ["fat-food", 0]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 4]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 3,
 []]

Output:

[[[["id", 1],
 ["species", [[["food", 0],
               ["body", 3],
               ["population", 1],
               ["traits", ["fat-tissue"]],
               ["fat-food", 3]]]],
               ["bag", 5]],
  [["id", 2],
   ["species", []],
   ["bag", 4]],
  [["id", 3],
   ["species", []],
   ["bag", 2]]],
 0,
 []]

7469-8070-1

Input:

[
	[
		[["id",1],
		 ["species",[]],
		 ["bag",0]],
		[["id",2],
		 ["species",[]],
		 ["bag",0]],
		[["id",3],
		 ["species",[]],
		 ["bag",0]]
	],
	1,
	[
		[8, "carnivore"],
		[-8, "carnivore"],
		[-3, "symbiosis"],
		[3, "horns"]
	]
]

Output:

[[[["id", 1], ["species", []], ["bag", 0]], [["id", 2], ["species", []], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]], 1, [[8, "carnivore"], [-8, "carnivore"], [-3, "symbiosis"], [3, "horns"]]]

7469-8070-2

Input:

[
	[
		[["id",1],
		 ["species",[
		 	[
		 		["food",2],
			 	["body",2],
			 	["population",3],
			 	["traits",[]]
			]
		 ]],
		 ["bag",0]],
		[["id",2],
		 ["species",[]],
		 ["bag",0]],
		[["id",3],
		 ["species",[]],
		 ["bag",0]]
	],
	1,
	[
		[8, "carnivore"],
		[-8, "carnivore"],
		[-3, "symbiosis"],
		[3, "horns"]
	]
]

Output:

[[[["id", 1], ["species", [[["food", 3], ["body", 2], ["population", 3], ["traits", []]]]], ["bag", 0]], [["id", 2], ["species", []], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]], 0, [[8, "carnivore"], [-8, "carnivore"], [-3, "symbiosis"], [3, "horns"]]]

7469-8070-3

Input:

[
	[
		[["id",1],
		 ["species",[
			[
				["food",3],
				["body",2],
				["population",3],
				["traits",["fat-tissue"]],
				["fat-food", 0]
			]
		 ]],
		 ["bag",0]],
		[["id",2],
		 ["species",[]],
		 ["bag",0]],
		[["id",3],
		 ["species",[]],
		 ["bag",0]]
	],
	1,
	[
		[8, "carnivore"],
		[-8, "carnivore"],
		[-3, "symbiosis"],
		[3, "horns"]
	]
]

Output:

[[[["id", 1], ["species", [[["food", 3], ["body", 2], ["population", 3], ["traits", ["fat-tissue"]], ["fat-food", 1]]]], ["bag", 0]], [["id", 2], ["species", []], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]], 0, [[8, "carnivore"], [-8, "carnivore"], [-3, "symbiosis"], [3, "horns"]]]

7920-6080-3

Input:

[[[["id", 1], ["species", 
         [[["food",0],
            ["body",5],
            ["population",2],
            ["traits",["foraging"]]]]], 
   ["bag", 4]],
  [["id", 2], ["species", 
         [[["food",0],
            ["body",2],
            ["population",1],
            ["traits",["foraging"]]]]], 
   ["bag", 4]],
  [["id", 3], ["species", 
         [[["food",0],
            ["body",1],
            ["population",1],
            ["traits",[]]]]], 
   ["bag", 4]]],
 5,
 [[-8, "carnivore"],
  [0, "herding"],
  [3, "fat-tissue"]
 ]
]

Output:

[[[["id", 1], ["species", 
         [[["food",2],
            ["body",5],
            ["population",2],
            ["traits",["foraging"]]]]], 
   ["bag", 4]],
  [["id", 2], ["species", 
         [[["food",0],
            ["body",2],
            ["population",1],
            ["traits",["foraging"]]]]], 
   ["bag", 4]],
  [["id", 3], ["species", 
         [[["food",0],
            ["body",1],
            ["population",1],
            ["traits",[]]]]], 
   ["bag", 4]]],
 3,
 [[-8, "carnivore"],
  [0, "herding"],
  [3, "fat-tissue"]
 ]
]

7920-6080-4

Input:

[[[["id", 1], ["species", 
         [[["food",0],
            ["body",5],
            ["population",2],
            ["traits",["carnivore", "cooperation"]]],
          [["food",0],
            ["body",5],
            ["population",1],
            ["traits",["carnivore"]]]]], 
   ["bag", 4]],
  [["id", 2], ["species", 
         [[["food",0],
            ["body",2],
            ["population",2],
            ["traits",["scavenger", "foraging", "cooperation"]]],
          [["food",0],
            ["body",5],
            ["population",2],
            ["traits",["carnivore", "cooperation"]]]]], 
   ["bag", 4]],
  [["id", 3], ["species", 
         [[["food",0],
            ["body",4],
            ["population",1],
            ["traits",[]]]]], 
   ["bag", 4]]],
 10,
 [[-8, "carnivore"],
  [0, "herding"],
  [3, "fat-tissue"]
 ]
]

Output:

[[[["id", 1], ["species", 
         [[["food",1],
            ["body",5],
            ["population",2],
            ["traits",["carnivore", "cooperation"]]],
          [["food",1],
            ["body",5],
            ["population",1],
            ["traits",["carnivore"]]]]], 
   ["bag", 4]],
  [["id", 2], ["species", 
         [[["food",2],
            ["body",2],
            ["population",2],
            ["traits",["scavenger", "foraging", "cooperation"]]],
          [["food",1],
            ["body",5],
            ["population",1],
            ["traits",["carnivore", "cooperation"]]]]], 
   ["bag", 4]],
  [["id", 3], ["species", 
         [[["food",0],
            ["body",4],
            ["population",1],
            ["traits",[]]]]], 
   ["bag", 4]]],
 5,
 [[-8, "carnivore"],
  [0, "herding"],
  [3, "fat-tissue"]
 ]
]

8949-0357-1

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 1],
            ["traits", ["long-neck"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 1],
            ["traits", ["long-neck"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

8949-0357-2

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 3],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  8,
  []
]

8949-0357-3

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "fat-tissue"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  2,
  []
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 2],
            ["population", 3],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "fat-tissue"]],
            ["fat-food", 2]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  0,
  []
]

8949-0357-4

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 4],
            ["body", 2],
            ["population", 5],
            ["traits", ["carnivore", "cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "carnivore", "scavenger"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 5],
            ["body", 2],
            ["population", 5],
            ["traits", ["carnivore", "cooperation"]]
          ],
          [
            ["food", 4],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "carnivore", "scavenger"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["burrowing"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  6,
  []
]

8949-0357-5

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 2],
            ["population", 1],
            ["traits", ["carnivore", "cooperation"]]
          ],
          [
            ["food", 4],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "carnivore", "scavenger"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 0],
            ["body", 3],
            ["population", 1],
            ["traits", ["burrowing", "horns"]]
          ]
        ]
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 4],
            ["body", 3],
            ["population", 4],
            ["traits", ["foraging", "carnivore", "scavenger"]]
          ]
        ]
      ],
      ["bag", 3]],
    [
      ["id", 2],
      ["species",
        []
      ],
      ["bag", 4]
    ],
    [
      ["id", 3],
      ["species",
        []
      ],
      ["bag", 5]
    ]
  ],
  10,
  []
]

9159-7391-1

Input:

[
  [
    [
      ["id",1],
      ["species",
        [
          [["food",0],["body",3],["population",1],["traits",[]]],
          [["food",1],["body",3],["population",1],["traits",[]]]
        ]
      ],
      ["bag",0]
    ],
    [
      ["id",2],
      ["species",[]],
      ["bag",0]
    ],
    [
      ["id",3],
      ["species",[]],
      ["bag",0]]
  ],
  5,
  []
]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-11

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",3],["traits",["foraging"]]],[["food",0],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",3],["population",3],["traits",["foraging"]]],[["food",0],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

9159-7391-12

Input:

[[[["id",1],["species",[[["food",2],["body",3],["population",3],["traits",["foraging"]]],[["food",1],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",3],["body",3],["population",3],["traits",["foraging"]]],[["food",1],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-13

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",2],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",2],["body",3],["population",2],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

9159-7391-14

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",2],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",2],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

9159-7391-15

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",2],["traits",["carnivore"]]],[["food",0],["body",3],["population",1],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",2],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

9159-7391-16

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",0],["body",3],["population",1],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",0],["body",3],["population",1],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

9159-7391-17

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",2],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",3],["population",2],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

9159-7391-18

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",["scavenger"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",["scavenger"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-19

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",2],["traits",["carnivore"]]],[["food",1],["body",3],["population",2],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",2],["traits",["scavenger"]]],[["food",1],["body",3],["population",2],["traits",["scavenger"]]]]],["bag",0]]],3,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",3],["population",2],["traits",["carnivore"]]],[["food",2],["body",3],["population",2],["traits",["carnivore","scavenger"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",2],["body",3],["population",2],["traits",["scavenger"]]],[["food",1],["body",3],["population",2],["traits",["scavenger"]]]]],["bag",0]]],0,[]]

9159-7391-2

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",3],["traits",[]]]]],["bag",0],["cards",[]]],[["id",2],["species",[]],["bag",0],["cards",[]]],[["id",3],["species",[]],["bag",0],["cards",[]]]],5,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",2],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-20

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["cooperation"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

9159-7391-21

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",["cooperation"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["cooperation"]]],[["food",1],["body",3],["population",1],["traits",["cooperation"]]],[["food",1],["body",3],["population",1],["traits",["cooperation"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],2,[]]

9159-7391-22

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",["cooperation"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],2,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["cooperation"]]],[["food",1],["body",3],["population",1],["traits",["cooperation"]]],[["food",0],["body",3],["population",1],["traits",["cooperation"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

9159-7391-23

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore","scavenger","cooperation"]]],[["food",1],["body",3],["population",3],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],3,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore","scavenger","cooperation"]]],[["food",3],["body",3],["population",3],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

9159-7391-24

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore","scavenger","cooperation"]]],[["food",0],["body",3],["population",4],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore","scavenger","cooperation"]]],[["food",4],["body",3],["population",4],["traits",["carnivore","foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

9159-7391-25

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",2],["traits",["carnivore","scavenger","foraging"]]],[["food",0],["body",3],["population",4],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",3],["population",2],["traits",["carnivore","scavenger","foraging"]]],[["food",1],["body",3],["population",4],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],2,[]]

9159-7391-3

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["fat-tissue"]],["fat-food",0]]]],["bag",0],["cards",[]]],[["id",2],["species",[]],["bag",0],["cards",[]]],[["id",2],["species",[]],["bag",0],["cards",[]]]],5,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["fat-tissue"]],["fat-food",3]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",2],["species",[]],["bag",0]]],2,[]]

9159-7391-4

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

9159-7391-5

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-6

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[[3,"climbing"],[3,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[3,"climbing"],[3,"ambush"]]]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-7

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",3],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",2],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],4,[]]

9159-7391-8

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

9159-7391-9

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",2],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[[3,"climbing"],[3,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0],["cards",[[3,"climbing"],[3,"ambush"]]]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],5,[]]

9951-4071-10

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits",["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 0],
            ["body", 4],
            ["population", 4],
            ["traits",["horns"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 0],
            ["body", 1],
            ["population", 1],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  5,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits",["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 0],
            ["body", 4],
            ["population", 3],
            ["traits",["horns"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 0],
            ["body", 1],
            ["population", 1],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  5,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-11

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 3],
            ["population", 7],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 7],
            ["traits", ["cooperation"]]
          ],
          [
            ["food", 7],
            ["body", 3],
            ["population", 7],
            ["traits", ["cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 7],
            ["traits", []]
          ]

        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 1],
            ["body", 3],
            ["population", 3],
            ["traits",[]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 1],
            ["body", 3],
            ["population", 5],
            ["traits",[]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 5],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",[]]
    ]
  ],
  15,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 3],
            ["population", 7],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 7],
            ["traits", ["cooperation"]]
          ],
          [
            ["food", 7],
            ["body", 3],
            ["population", 7],
            ["traits", ["cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 7],
            ["traits", []]
          ]

        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 1],
            ["body", 3],
            ["population", 3],
            ["traits",[]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 1],
            ["body", 3],
            ["population", 5],
            ["traits",[]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 5],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0]
    ]
  ],
  14,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-15

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 7],
            ["population", 7],
            ["traits", ["burrowing", "fat-tissue"]]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 2],
      ["species", []],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species", []],
      ["bag", 0]
    ]
  ],
  100,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 7],
            ["population", 7],
            ["traits", ["burrowing", "fat-tissue"]],
            ["fat-food", 7]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 2],
      ["species", []],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species", []],
      ["bag", 0]
    ]
  ],
  93,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-17

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 7],
            ["population", 7],
            ["traits", ["carnivore", "fat-tissue"]]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 2],
      ["species", []],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species", []],
      ["bag", 0]
    ]
  ],
  100,
  [
    [-8, "carnivore"],
    [-7, "carnivore"],
    [-6, "carnivore"],
    [-5, "carnivore"],
    [-4, "carnivore"],
    [-3, "carnivore"],
    [-2, "carnivore"],
    [-1, "carnivore"],
    [1, "carnivore"],
    [2, "carnivore"],
    [3, "carnivore"],
    [4, "carnivore"],
    [5, "carnivore"],
    [6, "carnivore"],
    [7, "carnivore"],
    [8, "carnivore"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 7],
            ["population", 7],
            ["traits", ["carnivore", "fat-tissue"]],
            ["fat-food", 7]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 2],
      ["species", []],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species", []],
      ["bag", 0]
    ]
  ],
  93,
  [
    [-8, "carnivore"],
    [-7, "carnivore"],
    [-6, "carnivore"],
    [-5, "carnivore"],
    [-4, "carnivore"],
    [-3, "carnivore"],
    [-2, "carnivore"],
    [-1, "carnivore"],
    [1, "carnivore"],
    [2, "carnivore"],
    [3, "carnivore"],
    [4, "carnivore"],
    [5, "carnivore"],
    [6, "carnivore"],
    [7, "carnivore"],
    [8, "carnivore"]
  ]
]

9951-4071-2

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  1,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 3],
            ["body",3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  0,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-3

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["fat-tissue"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  5,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["fat-tissue"]],
            ["fat-food", 3]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["carnivore"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  2,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-4

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 3],
            ["body", 3],
            ["population",3],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",2],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["scavenger"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["scavenger","pack-hunting"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  2,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 3],
            ["body", 3],
            ["population",3],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 3],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",2],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 2],
            ["traits", ["scavenger"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 3],
            ["body",3],
            ["population",3],
            ["traits",["scavenger"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["scavenger","pack-hunting"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  0,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-5

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 3],
            ["body",3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["climbing"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["climbing","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["climbing"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["climbing","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  5,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 3],
            ["body", 3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [1, "carnivore"],
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 2],
            ["body", 3],
            ["population",3],
            ["traits",["climbing"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["climbing","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",["climbing"]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", ["climbing","pack-hunting", "ambush"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  5,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

9951-4071-9

Input:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 0],
            ["body", 3],
            ["population", 5],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 2],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 2],
            ["traits", ["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 0],
            ["body",3],
            ["population",4],
            ["traits",["scavenger", "cooperation"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  15,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

Output:

[
  [
    [
      ["id", 1],
      ["species",
        [
          [
            ["food", 1],
            ["body", 3],
            ["population", 5],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 3],
            ["traits", ["carnivore","cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 2],
            ["traits", ["carnivore"]]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 2],
            ["traits", ["carnivore"]]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 2],
      ["species",
        [
          [
            ["food", 1],
            ["body",3],
            ["population",3],
            ["traits",["scavenger", "cooperation"]]
          ],
          [
            ["food", 1],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ],
          [
            ["food", 0],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [3, "carnivore"],
          [-2, "ambush"]
        ]
      ]
    ],
    [
      ["id", 3],
      ["species",
        [
          [
            ["food", 2],
            ["body",3],
            ["population",3],
            ["traits",[]]
          ],
          [
            ["food", 2],
            ["body", 3],
            ["population", 3],
            ["traits", []]
          ]
        ]
      ],
      ["bag", 0],
      ["cards",
        [
          [7, "carnivore"],
          [-3, "ambush"]
        ]
      ]
    ]
  ],
  9,
  [
    [-3, "burrowing"],
    [-2, "burrowing"],
    [-1, "burrowing"],
    [0, "burrowing"],
    [1, "burrowing"],
    [2, "burrowing"],
    [3, "burrowing"]
  ]
]

matthias-1

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-10

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",0],["population",5],["traits",["foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-11

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],2,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-12

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],5,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",2],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

matthias-13

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],4,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",2],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-14

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],3,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",1],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-15

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],12,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",4],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",3],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],3,[]]

matthias-16

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],10,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",4],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",3],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

matthias-17

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",0],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],8,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",4],["body",0],["population",5],["traits",["foraging","cooperation"]]],[["food",2],["body",0],["population",3],["traits",["long-neck"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-18

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[]]

matthias-19

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",1],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0],["cards",[[-1,"ambush"],[0,"ambush"]]]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[]],["bag",0]]],1,[]]

matthias-2

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[]]

matthias-20

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",1],["traits",["horns"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[]],["bag",0]]],1,[]]

matthias-21

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",2],["body",0],["population",2],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

matthias-22

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],3,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[[-1,"ambush"],[0,"ambush"]]]

matthias-23

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],2,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[[-1,"ambush"],[0,"ambush"]]]

matthias-24

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[[-1,"ambush"],[0,"ambush"]]]

matthias-25

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",3],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],4,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",2],["body",0],["population",2],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

matthias-26

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",3],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],3,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",2],["body",0],["population",2],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

matthias-27

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],2,[[-3,"ambush"],[-2,"ambush"],[-1,"ambush"],[0,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger","foraging"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[[-1,"ambush"],[0,"ambush"]]]

matthias-28

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","cooperation"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],6,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",2],["body",0],["population",3],["traits",["scavenger","foraging","cooperation"]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],2,[[-3,"ambush"],[-2,"ambush"]]]

matthias-29

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","cooperation"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],5,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",2],["body",0],["population",3],["traits",["scavenger","foraging","cooperation"]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[[-3,"ambush"],[-2,"ambush"]]]

matthias-3

Input:

[[[["id",1],["species",[[["food",0],["body",2],["population",1],["traits",["fat-tissue"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],2,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",2],["population",1],["traits",["fat-tissue"]],["fat-food",2]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-30

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","cooperation"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],3,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",2],["body",0],["population",3],["traits",["scavenger","foraging","cooperation"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[[-3,"ambush"],[-2,"ambush"]]]

matthias-31

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],6,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",4],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[]]

matthias-32

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],4,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",4],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[]]

matthias-33

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],6,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",4],["body",0],["population",4],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],2,[]]

matthias-34

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger","foraging","carnivore"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],3,[[-3,"ambush"],[-2,"ambush"]]]

Output:

[[[["id",1],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger","foraging","carnivore"]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[]],["bag",0],["cards",[[-3,"ambush"],[-2,"ambush"]]]],[["id",3],["species",[[["food",1],["body",0],["population",1],["traits",["scavenger"]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],0,[]]

matthias-35

Input:

[[[["id",1],["species",[[["food",1],["body",0],["population",2],["traits",["cooperation","foraging"]]],[["food",0],["body",0],["population",2],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],3,[]]

Output:

[[[["id",1],["species",[[["food",2],["body",0],["population",2],["traits",["cooperation","foraging"]]],[["food",1],["body",0],["population",2],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

matthias-36

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",5],["traits",["carnivore","cooperation"]]],[["food",0],["body",3],["population",3],["traits",["carnivore","cooperation"]]],[["food",0],["body",3],["population",3],["traits",["carnivore","cooperation"]]],[["food",0],["body",3],["population",2],["traits",["carnivore"]]],[["food",0],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",4],["traits",["carnivore","scavenger","cooperation"]]],[["food",0],["body",3],["population",3],["traits",[]]],[["food",0],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",2],["body",3],["population",3],["traits",[]]],[["food",2],["body",3],["population",3],["traits",[]]]]],["bag",0]]],15,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",5],["traits",["carnivore","cooperation"]]],[["food",1],["body",3],["population",3],["traits",["carnivore","cooperation"]]],[["food",1],["body",3],["population",3],["traits",["carnivore","cooperation"]]],[["food",1],["body",3],["population",2],["traits",["carnivore"]]],[["food",0],["body",3],["population",2],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",1],["body",3],["population",3],["traits",["carnivore","scavenger","cooperation"]]],[["food",1],["body",3],["population",3],["traits",[]]],[["food",0],["body",3],["population",3],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",2],["body",3],["population",3],["traits",[]]],[["food",2],["body",3],["population",3],["traits",[]]]]],["bag",0]]],9,[]]

matthias-4

Input:

[[[["id",1],["species",[[["food",0],["body",2],["population",1],["traits",["fat-tissue"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",0],["body",2],["population",1],["traits",["fat-tissue"]],["fat-food",1]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-5

Input:

[[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-6

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],0,[]]

matthias-7

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[]],["bag",0]]],0,[]]

matthias-8

Input:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",3],["species",[[["food",1],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]],1,[]]

matthias-9

Input:

[[[["id",1],["species",[[["food",0],["body",0],["population",1],["traits",["cooperation"]]],[["food",0],["body",0],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",1],["traits",["cooperation"]]],[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["cooperation"]]],[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]]],2,[]]

Output:

[[[["id",1],["species",[[["food",1],["body",0],["population",1],["traits",["cooperation"]]],[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]],[["id",2],["species",[[["food",0],["body",0],["population",1],["traits",["cooperation"]]],[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]],[["id",3],["species",[[["food",0],["body",0],["population",1],["traits",["cooperation"]]],[["food",1],["body",0],["population",1],["traits",[]]]]],["bag",0]]],0,[]]