Amadeus interview question

Pyhton scripting