import java.util.*;
import java.io.*;

public class HockeySchedule {
  
  /** The names of the opponents. */
  private String[] opponents;
  
  /** The dates of the games. */
  private Date[] dates;
  
  public HockeySchedule(int numGames) {
    opponents = new String[numGames];
    dates = new Date[numGames];
  }
  
  public void readSchedule(String filename)
    throws IOException {
    FileReader f = new FileReader(filename);
    BufferedReader br = new BufferedReader(f);
    
    for(int i = 0; i < opponents.length; i++) {
      dates[i] = new Date(br.readLine());
      opponents[i] = br.readLine();
    }
    
    br.close();
    f.close();
  }
}
