Task: Program Execution
Input (English): 4505 5587 2725 433 8179 o R 1113 2135 p B 7607 3989 V H n 4569 7847 4537 7883 J o q 2723 n R k u 6869 i 3907 3709 N 8117 1139 475 i T B 9133
Output (English): 1, 2, 3, 4, 5, 8, 9, 12, 13, 17, 18, 19, 20, 24, 29, 31, 32, 34, 35, 36, 40