Task: Program Execution
Input (English): 4501, 4425, N, S, 4467, 3629, 5551, 1545, p
Output (English): 24118