Task: Program Execution
Input (English): 2, 3, ['5793', 'V', 'h', 'j', 'Q', '1495', '7479', '7017', '3617', '2117', '2969', 'b', '7505']
Output (English): V, Q, 7017, 2969