Task: Program Execution
Input (English): 1, 5, ['5829', 'h', 'S', '4829', '9411', '7055', '9883', '3953', '4509', 'a', '6117', '7713', '2197']
Output (English): 5829, 7055, 6117