def METHOD_NAME(alias: str) -> int:
    """
    We perform the calculation in a different way to verify correctness
    """
    offset_dict = dict(zip(["A", "B", "C", "D", "R"], range(0, 32, 6)))
    return offset_dict[alias[0]] + int(alias[1:])