input: Write a python function to find and print the first element in the list that is greater than a given value, and then print all subsequent elements that are also greater than the given value but less than the previous printed element.
  assert find_and_print([1, 2, 3, 4, 5], 2) == [3]
  assert find_and_print([10, 3, 7, 5, 8, 9], 4) == [7, 5]
  assert find_and_print([20, 15, 25, 10, 30], 18) == [20, 15]
output: def find_and_print(lst, value):
      result = []
      found = False
      for num in lst:
          if num > value:
              if not found or num < result[-1]:
                  result.append(num)
                  found = True
      print(result)
      return result