def network_name(nid):
    """
    Lookup the friendly name for a network ID.
    :param int nid: The network ID to look up.
    :return: The friendly name for the network.
    :rtype: str
    """
    networks = {(1): 'HSCAN', (2): 'MSCAN', (3): 'SWCAN', (4): 'LSFTCAN'}
    return networks.get(nid, 'Unknown')
