Task: Program Execution
Input (English): 2039, 8895, 4917, 4273, 8797, B, 2917, D, K, 3391, 1333, G, 3997
Output (English): 6, 8, 9, 12