Amazon interview question

First part contained simple debugging questions such as missing semi-colons and such