Task: Program Execution
Input (English): 5481, R, L, V, 4429, E, 1247, z
Output (English): 11157