import math
data=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]#列表数据30个
n= int(input('请输入切分列表的个数:'))#输入想要切分成多少段
count=math.ceil(30/n) #向上取整
x=0
y=count
for i in range(n):
if len(data[x:y]) != 0:
print(data[x:y])
x+=count
y+=count
data=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
n=input()
n=int(n)
for i in range(0,30,n):
a=i
b=i+n
name="list_"+str(i)
# print(name)
name=data[a:b]
i+=n
print(name)