// File: LetterQueue.skeleton
// Time-stamp: "2006-02-12 19:50:46 calvanese"
// Purpose: Written exam 2/2/2005 - BSc in Computer Science (8CFU)
//          LetterQueue: skeleton of the class

class Node {
  String letter;
  Node next;
}

public class LetterQueue {

  // representation of the objects
  private String city;
  private Node first, last;

  // pubblic methods

  public LetterQueue(String c) { }
  
  public String getCity() { }
  
  public void newLetter(String letter) { }
  
  public String firstLetter() throws LetterQueueException { }

  public void removeLetter() throws LetterQueueException { }

  public int numLetters() { }

  public String letter(int pos) throws LetterQueueException { }

  public int[] shortLetters(int len) { }

}
