<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def get_rg_from_id(vmss_id):
    '''get a resource group name from a VMSS ID string'''
    rgname = re.search('Groups/(.+?)/providers', vmss_id).group(1)
    print('Resource group: ' + rgname)
    return rgname