Task: Program Execution
Input (English): 2, 4, ['9051', 'R', 'w', '4105']
Output (English): 5014wR