Task: Program Execution
Input (English): 6, ['1889', '6047', '1243', '193', 'p', 'Y', 'Y', '7213', 'A', '5027', '4095', '4499', 'D', 'x', '7161', 'd', '8285', '1579']
Output (English): 1889, Y, D