items = ['1', '2', '-10', 'A', '1234567890']

for item in items:
    print('{} type: {}'.format(item, type(item)))

int_items = [int(value) for value in items if value.lstrip('-').isdigit()]
print()

for item in int_items:
    print('{} type: {}'.format(item, type(item)))
