Update Main.java

add second $