def _answer(result, line):
    """Answer the question as best as we can"""
    msgs = [u"Q: {}".format(result["Input"][1])]
    del result["Input"]

    for pod_type in ["Result", "Solution", "Derivative"]:
        if pod_type in result:
            msgs.append(u"A: {}".format(result[pod_type][1]))
            return '\n'.join(msgs)

    # We didn't find a specific answer - go into more detail

    for title, val in result.values():
        msgs.append(u"{}: {}".format(title, val))
        return '\n'.join(msgs)