<｜begin▁of▁sentence｜>### Instruction:
As a receptionist, you're likely tasked with managing appointments and ensuring smooth communication within the office. Imagine a scenario where you're scheduling appointments for a busy executive. They prefer their meetings to be no longer than 5 hours, but occasionally people try to schedule longer sessions. How would you ensure that appointments are kept within the executive's preferred time frame?
### Response:
import numpy as np

# Clamp function definition
def clamp(value, min_value, max_value):
    return max(min_value, min(value, max_value))

# Example usage
original_value = 10
clamped_value = clamp(original_value, 0, 5)
print(f'Original: {original_value}, Clamped: {clamped_value}')
<|EOT|>
