code: def create_accountant(mechanism: str) -> IAccountant:
      if mechanism == "rdp":
          return RDPAccountant()
      elif mechanism == "gdp":
          return GaussianAccountant()
      elif mechanism == "prv":
          return PRVAccountant()
  
      raise ValueError(f"Unexpected accounting mechanism: {mechanism}")
  
imports: from .accountant import IAccountant
  from .gdp import GaussianAccountant
  from .prv import PRVAccountant
  from .rdp import RDPAccountant
label_desc: Use image node_id 1 for calling a global function with example usage: create_accountant(mechanism) and returns: RDPAccountant, GaussianAccountant, PRVAccountant