Update Main.java

Updated.