Task: Program Execution
Input (English): 3, 4, ['S', '2031', '3011', 'D', 'b', 'N', '6553', '473', '5575', '2473', '6271', '8641', 'E', '9325', '7049', 'n', 'B', 'l', '1255', '4147', '4095']
Output (English): 3011, 6553, 6271, 7049, 1255