Task: Program Execution
Input (English): 2, ['n', 'd', 'P', '165', '7221', '971', 'W', '7097', '8273', '419', 'y', '7771', '1387', 'u', 'v', 'F', '7003', '8139', 'i', '305', 'w']
Output (English): n, d