Task: Program Execution
Input (English): L 2207 117 61 1623 1531 C n 2641 i 9167 R V d 4603 3015 W 7655 6281 2401 N S d 3593 g a g J 9389 j 509 n c 1051
Output (English): 2, 3, 4, 5, 6, 9, 11, 15, 16, 18, 19, 20, 24, 29, 31, 34