Task: Program Execution
Input (English): 4733 7623 3347 R 3871 5461 a 7707 6597 x 3391 B v 1915 1707 d 2971 3271 8723 1619 3121 1565 T N 4745 937 S Q v J 9545 245 8959 Q 753 567
Output (English): 4, 7, 10, 12, 13, 16, 23, 24, 27, 28, 29, 30, 34