Task: Program Execution
Input (English): 3875 j R 1453 7965 c 9727 6367 V 8491 7357 N 6223 2615 3677 2581 1025 w F 7645 7045 5845 d R R 6803 a 8547 1365 7171
Output (English): 2, 3, 6, 9, 12, 18, 19, 23, 24, 25, 27