import java.util.HashMap;

//old
class Hash1 {
   
   static HashMap h = new HashMap();
   
   public static void main(String[] args) {      
      h.put("one",new Integer(1));
      Integer s = (Integer)h.get("one");
      System.out.println(s);
   }
}


// new
class Hash2 {
   
   static HashMap<String,Integer> h = new HashMap<String,Integer>();
   
   public static void main(String[] args) {      
      h.put("two",new Integer(2));
      Integer s = h.get("two");
      System.out.println(s);
   }
}
