Task: Program Execution
Input (English): R 7165 N P 9965 1279 6655 5175 7243 I 8531 4829 T 4639 6933 t B 8171 Y b L n b A 7795 f 5231 m b 1865 Q 2703 3807 L 4253 4837 x Y 6647 3657
Output (English): 2, 5, 6, 7, 8, 9, 11, 12, 14, 15, 18, 25, 27, 30, 32, 33, 35, 36, 39, 40