/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main
(String[] args
) { //map principal
Map
<Integer, HashMap
<String, String
>> codeStateList
= new HashMap
<>(); //cria um map para cruzar estado cidade
HashMap
<String, String
> stateCity
= new HashMap
<>(); //adiciona o par estado cidade
stateCity.put("Sao paulo", "Osasco");
//salva no map principal o code cruzando com map com par estado-cidade
codeStateList.put(1253, stateCity);
//para exibir ou pegar o par
System.
out.
println(codeStateList.
get(1253)); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgIC8vbWFwIHByaW5jaXBhbAogICAgTWFwPEludGVnZXIsIEhhc2hNYXA8U3RyaW5nLCBTdHJpbmc+PiBjb2RlU3RhdGVMaXN0ID0gbmV3IEhhc2hNYXA8PigpOyAgCiAgICAvL2NyaWEgdW0gbWFwIHBhcmEgY3J1emFyIGVzdGFkbyBjaWRhZGUKICAgIEhhc2hNYXA8U3RyaW5nLCBTdHJpbmc+IHN0YXRlQ2l0eSA9IG5ldyBIYXNoTWFwPD4oKTsKICAgIC8vYWRpY2lvbmEgbyBwYXIgZXN0YWRvIGNpZGFkZQogICAgc3RhdGVDaXR5LnB1dCgiU2FvIHBhdWxvIiwgIk9zYXNjbyIpOwogICAgLy9zYWx2YSBubyBtYXAgcHJpbmNpcGFsIG8gY29kZSBjcnV6YW5kbyBjb20gbWFwIGNvbSBwYXIgZXN0YWRvLWNpZGFkZQogICAgY29kZVN0YXRlTGlzdC5wdXQoMTI1Mywgc3RhdGVDaXR5KTsKICAgIC8vcGFyYSBleGliaXIgb3UgcGVnYXIgbyBwYXIKICAgIFN5c3RlbS5vdXQucHJpbnRsbihjb2RlU3RhdGVMaXN0LmdldCgxMjUzKSk7CiAgICB9Cn0=