import java.util.Scanner;
import java.io.*;
public class PGPromoteur{
public static void main(String[] args){
  Scanner cin = new Scanner(System.in);
  Promoteur tr = new Promoteur();
  System.out.print("Nom du fichier? ");
  String fn = cin.next();
  try {
    tr.charger(fn);
    tr.afficher();
    tr.calculer();
  }
  catch (IOException e){}
}
}
