Task: Program Execution
Input (English): 5003, 5991, 3881, 429, 5119, 7719, b, 1465, 7781, 9061, 1667, C, 3503, 7327, 8109, m, 7721, S, 9675, 6965, 8671
Output (English): 7, 12, 16, 18