Klarna interview question

logic test.