Remove the semicolon on line 16
A semicolon is a statement separator, not a statement terminator. That means that if a semicolon is found then it must be followed by another expression.
The exception is a semicolon at the end of the program. That is accepted because a) it can be detected and b) so many people put one there that I got tired of the questions.