// File: Main.java
// Time-stamp: "2005-01-22 09:59:25 calvanese"
// Purpose: Counter: main program for testing the solutions

import java.io.*;

public class Main {

  public static void main (String[] args) throws IOException{
    
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    System.out.print("Input the name of a file: ");
    String filename = br.readLine();
    BufferedReader brf = new BufferedReader(new FileReader(filename));

    Counter cnt = new Counter(100);

    int[] numbers = Client.readFromFile(filename, cnt);
    for (int i = 0; i < numbers.length; i++)
      System.out.print(numbers[i] + " ");
    System.out.println();
  }
}
