Task: Program Execution
Input (English): E, X, 5683, P, 3623, 5137
Output (English): 5, 24, 5683, 16, 3623, 5137