Task: Program Execution
Input (English): 10, 12, ['H', '591', '9501', 'H', '9801', '4883', '3607', '4961', 'u', 'H', 'U', 'X']
Output (English): H, U, X