code: def resolve(input, representation, resolvers=None, get3d=False, **kwargs):
      
      # Take first result from XML query
      results = query(input, representation, resolvers, False, get3d, **kwargs)
      result = results[0].value if results else None
      return result
docs: Resolve input to the specified output representation.
  
      :param string input: Chemical identifier to resolve
      :param string representation: Desired output representation
      :param list(string) resolvers: (Optional) Ordered list of resolvers to use
      :param bool get3d: (Optional) Whether to return 3D coordinates (where applicable)
      :returns: Output representation or None
      :rtype: string or None
      :raises HTTPError: if CIR returns an error code
      :raises ParseError: if CIR response is uninterpretable