# -*- coding: utf-8 -*-
__author__ = 'manman'

'''
1.输入20个数
2.收入一个列表
3.按正负数分入两个列表
'''

source_list = []
positive_list = []
negative_list = []

for i in range(20):
    num = int(input('Please input the number:'))
    print(num)
    source_list.append(num)

print('source list data is:')
print(source_list)

for item in source_list:
    if item >= 0:
        positive_list.append(item)
    else:
        negative_list.append(item)

print('positive data is:')
print(positive_list)
print('negative data is:')
print(negative_list)
