Pizza Hut interview question

Not difficult.