A Java console calculator in as few semicolons as possible