Task: Program Execution
Input (English): 4, 6, ['371', '4247', 'S', 'z', 'n', 'k', 'x', 'g', 'e', '9945', '419', 'G', '845', '7619', '5261', '8865', 'B', 'G', 'T']
Output (English): znk