Task: Program Execution
Input (English): 3, 6, ['S', '7293', '6489', 'V', 'H', 'a', '1585', '8711', '1067', 'U', '8179', '1277', '2857', '5697', 's', '7645']
Output (English): 6489, 1067, s