Beinex interview question

To test logic there will be machine test