Some advice: don't cram all your code into the main method. Learn how methods work. Then you can break your program down into smaller steps and place each step in its own method.