def METHOD_NAME(contest: Contest, root: ET.Element) -> Dict[int, int]:
    teams = contest.users.filter(virtual=0).select_related('user', 'user__user')
    team_index = {}
    for id, participation in enumerate(teams, start=1):
        profile = participation.user
        user = profile.user
        team = ET.SubElement(root, 'team')
        team.tail = '\n'
        ET.SubElement(team, 'id').text = str(id)
        ET.SubElement(team, 'external-id').text = str(user.id)
        ET.SubElement(team, 'name').text = user.first_name or profile.display_name
        ET.SubElement(team, 'nationality').text = 'VNM'
        ET.SubElement(team, 'region').text = 'Administrative Site'
        org = profile.organization
        ET.SubElement(team, 'university').text = org.name if org else ''
        team_index[user.id] = id
    return team_index