// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class F15 {
    public static void main(String[] args) {
        Map<Integer,String> m = new HashMap<Integer,String>();
        m.put(1, "a");
        m.put(2, "bb");
        m.put(3, "ccc");
        for(int k : m.keySet()) {
            String v = m.get(k);
            System.out.println(k + " " + v);
        }
    }
}
