Getting errors on the first excersice - Exercise 1: Listing pineapple routes

Sometimes the answer machine requests definitions from the example code.

My answer is not approved. I understand that 24 kombinations should be the result from the python program? Find my own solution.

I have the list as below.

But that does not get approved? Have I misunderstood what shoulkd be the answer?

PAN AMS CAS NYC HEL

PAN AMS CAS HEL NYC

PAN AMS NYC CAS HEL

PAN AMS NYC HEL CAS

PAN AMS HEL NYC CAS

PAN AMS HEL CAS NYC

PAN CAS AMS NYC HEL

PAN CAS AMS HEL NYC

PAN CAS NYC AMS HEL

PAN CAS NYC HEL AMS

PAN CAS HEL NYC AMS

PAN CAS HEL AMS NYC

PAN NYC CAS AMS HEL

PAN NYC CAS HEL AMS

PAN NYC AMS CAS HEL

PAN NYC AMS HEL CAS

PAN NYC HEL AMS CAS

PAN NYC HEL CAS AMS

PAN HEL CAS NYC AMS

PAN HEL CAS AMS NYC

PAN HEL NYC CAS AMS

PAN HEL NYC AMS CAS

PAN HEL AMS NYC CAS

PAN HEL AMS CAS NYC