Task: Program Execution
Input (English): 707, v, X, 1765, 8705, Y, 7147, A, 9253, 6025, R, 1403, 9941
Output (English): 44946