def budget_line_to_account(line):
    """
    Convert a budget line to an account name.

    :param str line: The line to convert.
    :returns: The account.
    """
    if line[0] == '/':
        line = line[1:]
    line = line.replace('/', ':')
    return 'Expenses:{0}'.format(line)
