Task: Program Execution
Input (English): 2199 9183 7489 f d X G W G 6933 s b L C 8947 2971 5347 O 1219 743 J 5409 8863 4221 6629 4807 6815 3513 s 7017 b K V B 9507 5533 4427 A p S
Output (English): 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 18, 21, 29, 31, 32, 33, 34, 38, 39, 40