import java.util.*;
public class Main {
public static void main
(String[] args
) { HashMap
<String,String
> myMap
= new HashMap
<String,String
>();
myMap.put("1", "valor1");
myMap.put("2", "valor2");
myMap.put("3", "valor3");
myMap.put("valor1", "1");
myMap.put("valor2", "2");
myMap.put("valor3", "3");
System.
out.
println(myMap.
get("valor1")); }
}
aW1wb3J0IGphdmEudXRpbC4qOwoKcHVibGljIGNsYXNzIE1haW4gewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHsKCQlIYXNoTWFwPFN0cmluZyxTdHJpbmc+IG15TWFwID0gbmV3IEhhc2hNYXA8U3RyaW5nLFN0cmluZz4oKTsKCQkKCQlteU1hcC5wdXQoIjEiLCAidmFsb3IxIik7CgkJbXlNYXAucHV0KCIyIiwgInZhbG9yMiIpOwoJCW15TWFwLnB1dCgiMyIsICJ2YWxvcjMiKTsKCQkKCQlteU1hcC5wdXQoInZhbG9yMSIsICIxIik7CgkJbXlNYXAucHV0KCJ2YWxvcjIiLCAiMiIpOwoJCW15TWFwLnB1dCgidmFsb3IzIiwgIjMiKTsKCQkKCQlTeXN0ZW0ub3V0LnByaW50bG4obXlNYXAuZ2V0KCJ2YWxvcjEiKSk7Cgl9Cn0=