Morgan Stanley interview question

A simple combinatorial question.