Task: Program Execution
Input (English): 5, 7, ['Y', '5101', 'B', '5129', 'a', 'y', 'v', '4577', '5455', '6685', '6435']
Output (English): vya