Task: Program Execution
Input (English): 2, 4, ['9913', 'B', 'd', 'U', 'B', '8037', 'o', '741', '9871', '7211']
Output (English): B, d, U