Update Main.java

change 8 to 1