<s> import hashmap <EOL> states = hashmap . new ( ) <EOL> hashmap . set ( states , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( states , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( states , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( states , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( states , '<STR_LIT>' , '<STR_LIT>' ) <EOL> cities = hashmap . new ( ) <EOL> hashmap . set ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> hashmap . set ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> print "<STR_LIT>" % hashmap . get ( cities , '<STR_LIT>' ) <EOL> print "<STR_LIT>" % hashmap . get ( cities , '<STR_LIT>' ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> print "<STR_LIT>" % hashmap . get ( states , '<STR_LIT>' ) <EOL> print "<STR_LIT>" % hashmap . get ( states , '<STR_LIT>' ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> print "<STR_LIT>" % hashmap . get ( cities , hashmap . get ( states , '<STR_LIT>' ) ) <EOL> print "<STR_LIT>" % hashmap . get ( cities , hashmap . get ( states , '<STR_LIT>' ) ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> hashmap . list ( states ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> hashmap . list ( cities ) <EOL> print '<STR_LIT:->' * <NUM_LIT:10> <EOL> state = hashmap . get ( states , '<STR_LIT>' ) <EOL> if not state : <EOL> print "<STR_LIT>" <EOL> city = hashmap . get ( cities , '<STR_LIT>' , '<STR_LIT>' ) <EOL> print "<STR_LIT>" % city </s>
