Teacher:In this task, you are given a list of integers and an integer k. You need to find the kth smallest element in the input list and return that.
Teacher: Now, understand the problem? Solve this instance: [162, 147, 103, 261, 215, 61, 298, 268, 131, 45, 267, 58, 176, 155, 200, 17, 96, 57, 18, 109], k=20
Student:
298