Task: Program Execution
Input (English): 1, 3, ['9967', '9437', 'R', 'p', '7447']
Output (English): R73497699