Task: Program Execution
Input (English): 2, 6, ['7119', 'a', 'Y', 'n', 'd', 'N', '3411', '3347', 'c', 'S', 'a', '6585', '6591', 'Z', '4837', '4661', '1055']
Output (English): NdnYa