Task: Program Execution
Input (English): 2851 A 8703 Y 6273 7669 Q 3905 I 7427 d 9131 6897 M M r 1933 u H 3243 k q m q p 4159 4895 7005 1063 M j g u 1677 961 3303 d 8309
Output (English): 1, 3, 5, 6, 8, 10, 12, 13, 17, 20, 26, 27, 28, 29, 34, 35, 36, 38