Task: Program Execution
Input (English): 5607, 7267, c, 4977, E, E, 5457, 7519, 8825, 3985, 837, E, 4439, 2891, 9837, 7257, 793, B, K, 2663, q, 4409, R
Output (English): 3, 5, 6, 12, 18, 19, 21, 23