We have a building with floors labeled 0 through 5 (n0 to n5). Each floor nX is considered “above” any floor nY where X < Y, meaning n0 < n1 < n2 < … < n5 in ascending order.

There are three elevators:
- **fast0**, a fast elevator currently at floor 0 (n0). It has 0 passengers right now and has a maximum capacity of 2 passengers. It can reach all floors from 0 to 5 (n0 to n5).
- **fast1**, another fast elevator, currently at floor 3 (n3). It holds 0 passengers at the moment and can also hold up to 2 passengers. It can serve all floors from 0 to 5 (n0 to n5).
- **slow0-0**, a slow elevator, is at floor 2 (n2) with 0 passengers. It can hold up to 1 passenger and can reach floors 0, 1, 2, and 3 (n0 to n3).

We have seven passengers on specific floors:
- **p0** is on floor 4 (n4).
- **p1** is on floor 1 (n1).
- **p2** is on floor 3 (n3).
- **p3** is on floor 4 (n4).
- **p4** is on floor 2 (n2).
- **p5** is on floor 5 (n5).
- **p6** is on floor 2 (n2).

Travel costs are as follows:
- Using a slow elevator costs 6 units per floor. For example, going from n0 to n1 costs 6. Longer jumps (e.g. n0 to n3) just add up accordingly (e.g., 8 for n0 to n3).
- Using the fast elevator between any of its reachable floors (e.g., n0 to n1 or n1 to n2) costs 4 units per floor. Longer jumps (e.g. n0 to n5) just add up accordingly (e.g., 16 for n0 to n5).