Task: Program Execution
Input (English): 6667, P, S, x, h
Output (English): 6667, 16, 19, 24, 8