Task: Program Execution
Input (English): 2, 6, ['2481', 'P', '7473', 'h', '8221', '1565', 'g', 'U', '5685', 'K', 'u', '2861', '2967']
Output (English): P, U