def METHOD_NAME(postfix: str) -> str:
    prefix = []
    for char in postfix:
        if char.isalpha():  # operand
            prefix.append(char)
        else:  # operator
            right_operand = prefix.pop()
            left_operand = prefix.pop()
            prefix.append(char + left_operand + right_operand)
    return "".join(prefix)