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: [174, 74, 209, 109, 124, 272, 236, 231, 115, 254, 165, 234, 21, 64, 198, 264, 166, 23, 29, 144], k=5
Student:
74