def comb_nums(numes, k):
    last_lines = list()
    lines = list()
    for i in range(9 - k):
        
    return lines



lines = comb_nums([1,2,3],3)
for line in lines:
    print line
def comb_nums(numes, k):
    last_lines = list()
    lines = list()
    for i in range(9 - k):
        
    return lines



lines = comb_nums([1,2,3],3)
for line in lines:
    print line