Task: Program Execution
Input (English): 4, 18, ['N', 'c', 'D', '9015', '2391', '3841', 'f', 'Q', 'h', '2611', '5663', 'b', '2427', 'E', 't', '7145', 'X', 'Y', '2633', 'M', '8197', '9553', '719', '2151', 'j', '165', 'z']
Output (English): YX7145tE2427b56632611hQf384123919015