public class Philos {

  public static void main(String args[]) {
    DiningRoom dr = new DiningRoom();
      
    Chopstick c1 = new Chopstick("c1");
    Chopstick c2 = new Chopstick("c2");
    Chopstick c3 = new Chopstick("c3");
    Chopstick c4 = new Chopstick("c4");
    Chopstick c5 = new Chopstick("c5");

    Philosopher p1 = new Philosopher("marx", c1, c2, dr);    
    Philosopher p2 = new Philosopher("freud", c5, c1, dr);    
    Philosopher p3 = new Philosopher("voltaire", c4, c5, dr);
    Philosopher p4 = new Philosopher("aristote", c3, c4, dr);  
    Philosopher p5 = new Philosopher("platon", c2, c3, dr);

    p1.start();
    p2.start();
    p3.start();
    p4.start();
    p5.start();

  }
}
