IBM interview question

Nothing tough.. it was pretty simple..