import re


def level_3(text):
    """Find the lowercase letters in text that are surrounded by exactly 3 uppercase letters."""
    pattern = re.compile(r'[a-z][A-Z]{3}([a-z])[A-Z]{3}[a-z]')
    return ''.join(pattern.findall(text))