<s>[INST] class HeatingElement:
    def __init__(self):
        self.temperature = 0

    def set_temperature(self, temperature):
        self.temperature = temperature

    def get_temperature(self):
        return self.temperature


class Thermostat:
    def __init__(self, min_temperature, max_temperature):
        self.min_temp = min_temperature
        self.max_temp = max_temperature
        self.heating_element = HeatingElement()

    def measure_temperature(self):
        return self.heating_element.get_temperature()

    def adjust_temperature(self, desired_temperature):
        if desired_temperature < self.min_temp or desired_temperature > self.max_temp:
            print("Temperature is out of range.")
        else:
            self.heating_element.set_temperature(desired_temperature)[/INST]