x = input().split()
x.append("Allen")#list.append 是没有返回值的
print(x)

如果是在头插入则
y = "Allen"+x