As it was said, All your doing is printing the number alot .. Try to rescan in your for loop

for(int number=1;number<=30;number++)
{
score = inputFile.nextInt();
System.out.println(score);
}