input: Write a function to find the consecutive integers in a list whose sum is equal to a given integer k. If no such consecutive integers exist, return -1. If the sum of the given list is less than k or k is negative, return -1.
  assert find_consecutive_integers([1,3,5,7,9], 10)==[3,5,7]
  assert find_consecutive_integers([1,3,5,7,9], 15)==-1
  assert find_consecutive_integers([4,5,6,1,2], 11)==[4,5,6]
  assert find_consecutive_integers([1,2,3,4,5], 0)==-1
  assert find_consecutive_integers([5,2,3,1,8], 19)==-1
output: def find_consecutive_integers(lst, k):
      if k < 0 or sum(lst) < k:
          return -1
      n = len(lst)
      for i in range(n):
          current_sum = 0
          for j in range(i, n):
              current_sum += lst[j]
              if current_sum == k:
                  return lst[i:j+1]
              elif current_sum > k:
                  break
      return -1