Thoughtworks interview question

It was a some puzzle question

Interview Answer

Anonymous

26 Sept 2018

I got it correct somehow.