Qualcomm Interview Question

A question of logic - very simple