Signant Health interview question

Logical problem asked in interview