The planes are grounded, so the Elves have dusted off an old Christmas train. Before it can leave, six kinds of parts have to be found and loaded, but the shed's inventory records are gone. All anyone has is a list of crate IDs, and nobody remembers which ID means what.
My shed
2,012 crates on the list, 500 different IDs.
Piled to the rafters
The shed used to be full of these, so they should be the three most common IDs.
| Item | Crate ID | Crates |
|---|---|---|
| Contraptions | 213 | 7 |
| Gizmos | 684 | 6 |
| Apparatuses | 815 | 6 |
| Part A: IDs multiplied | 118738980 | |
Across the shed
Grandpa Elf always had to walk all the way across the shed for these, so they should be the three rarest IDs.
| Item | Crate ID | Crates |
|---|---|---|
| Thingamabobs | 548 | 1 |
| Thingamajigs | 666 | 1 |
| Screws | 415 | 2 |
| Part B: IDs multiplied | 151461720 | |
Check your own crate list
Paste a list of crate IDs, one per line. It starts with the example list from the puzzle.