Task: Program Execution
Input (English): 7135 i 2017 1877 V 6911 O 6821 A 7909 x Y B U h h 4153 l 85 3083 c 3591 c Y 5905 g x 8669 2253 k 7985 9117 3477 8249 R 7571 o N A 1213
Output (English): 1, 3, 4, 6, 8, 10, 17, 19, 20, 22, 25, 28, 29, 31, 32, 33, 34, 36, 40