Task: Program Execution
Input (English): 5373, 1839, C, N, p, 971, 9807
Output (English): 5373, 1839, 3, 14, 16, 971, 9807