import random


def get_random_value_in_interval(interval):
    """Returns a random value in the given interval."""
    lower_bound = interval[0] if interval[0] != "-inf" else max(interval[1]-20, 0)
    upper_bound = interval[1] if interval[1] != "inf" else interval[0] + 20
    return random.randint(lower_bound, upper_bound)