Task: Program Execution
Input (English): 535 D 9365 J 3075 N 4593 1589 j 343 z 3055 37 1963 S 3311 Y L 5783 6635 i 5533 5325 869 749 1795 9507 q 8033 7683 I 4307 x x O
Output (English): 2, 4, 6, 9, 11, 15, 17, 18, 21, 28, 31, 33, 34, 35