def METHOD_NAME(account_summary, relevant_tag):
    result = dict(
        [
            (summary_item.currency, summary_item.value)
            for summary_item in account_summary
            if summary_item.tag == relevant_tag
        ]
    )
    return result