Abbott interview question

Write code or pseudo code that does X?