MBC Group interview question

pretty straight forward, nothing difficult