Task: Program Execution
Input (English): 4155, T, 7713, N, 165
Output (English): 12033