<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["en", "es"].<end_of_turn>
<start_of_turn>user
Write a Python program to find the k-th smallest element in an unsorted list.<end_of_turn>
<start_of_turn>model
importar montónq

def kth_smallest(lst, k):
    devolver heapq.nsmallest(k, lst)[-1]

números = [7, 10, 4, 3, 20, 15]
k = 3
print(kth_smallest(números, k)) # Salida: 7<end_of_turn><eos>