Philips interview question

Not very difficult to answer