# -*- coding:utf-8 -*-
class Solution:
    def GetLeastNumbers_Solution(self, tinput, k):
        # write code here
        r = []
        tinput.sort()#注意不要赋值
        for i in range(k):
            r.append(tinput[i]) #注意不要赋值
        return(r)