Task: Program Execution
Input (English): Q 8275 5357 529 h D h d V 5445 4203 7003 V 5889 Q 9885 R 1291 O M t 7247 q 3413 C F l W P 1997 K l B a 6519 6767
Output (English): 2, 3, 4, 10, 11, 12, 14, 16, 18, 22, 24, 30, 35, 36