Task: Program Execution
Input (English): 2, 3, ['h', '9065', 'a', '1101', '8389', '8935', '2655', 'X', '6953', 'G']
Output (English): 9065, 8389, X