Update Problem036.java

Fixed syntax