import java.util.*;
import java.lang.*;
class SuperClass {
}
class SubClassA extends SuperClass {
}
class SubClassB extends SuperClass {
}
class Main
{
static private HashMap
<String, SuperClass
> mapOfRoles
= new HashMap(); static public void X()
{
mapOfRoles.put("try", new SubClassA());
mapOfRoles.put("again", new SubClassB());
}
{
X();
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpjbGFzcyBTdXBlckNsYXNzIHsKICAgIAp9CmNsYXNzIFN1YkNsYXNzQSBleHRlbmRzIFN1cGVyQ2xhc3MgewogICAgCn0KCmNsYXNzIFN1YkNsYXNzQiBleHRlbmRzIFN1cGVyQ2xhc3MgewogICAgCn0KCmNsYXNzIE1haW4KewogICAgICAgIHN0YXRpYyBwcml2YXRlIEhhc2hNYXA8U3RyaW5nLCBTdXBlckNsYXNzPiBtYXBPZlJvbGVzID0gbmV3IEhhc2hNYXAoKTsKICAgICBzdGF0aWMgcHVibGljIHZvaWQgWCgpCiAgICAgIHsKICAgICAgICAgICAgbWFwT2ZSb2xlcy5wdXQoInRyeSIsIG5ldyBTdWJDbGFzc0EoKSk7CiAgICAgICAgICAgIG1hcE9mUm9sZXMucHV0KCJhZ2FpbiIsIG5ldyBTdWJDbGFzc0IoKSk7CiAgICAgIH0KICAgICAgCnB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJICBYKCk7CgoJfQp9