group_list = ['Tom','Allen','Jane','William','Tony']
print(group_list[0:2])
print(group_list[1:4])
print(group_list[3:])