Pitney Bowes interview question

Basic coding problem