Klarna interview question

Logical Test