Scientific Games interview question

Logic test