import java.io.*; 
import java.util.*; 
  
public class SortFileList 
{ 
  public static void main(String[] argv) throws Exception 
  { 
    // open a file for input 
    BufferedReader fin; 
    fin = new BufferedReader(new FileReader("many.txt")); 
  
    // create an empty list of capacity 100 
    int nScores = 0; 
    int[] score = new int[100]; 
  
    // read and save the scores 
    while (fin.ready()) 
    { 
      // read a score from the file 
      int aScore; 
      aScore = new Double(fin.readLine()).intValue(); 
  
      // save score to list, if not full 
      if (nScores < score.length) 
        score[nScores++] = aScore; 
    } // while 
    fin.close(); 
  
    Arrays.sort(score, 0, nScores); 
  
    int i; 
    for (i = 0; i < nScores; i++) 
      System.out.print("" + score[i] + ' '); 
    System.out.println(); 
  } // main 
} // public class 
