Task: Program Execution
Input (English): 4, 10, ['y', 'Q', '1865', 'M', '1911', '6783', '4187', 'X', 'm', 'y', 'g', '351', 'i', 'J', 'f', '3611', 'S', '9771', 'Z', '4877', 'G']
Output (English): ymX418767831911M