Task: Program Execution
Input (English): 1, 3, ['7313', 'R', 'X']
Output (English): XR7313