Task: Program Execution
Input (English): 2, 6, ['2279', '6025', 'Y', 'N', 'V', 'S', 'z']
Output (English): S, V, N, Y, 6025