How to solve this question that appeared on Byte Code 2015

BTCD1510