Task: Program Execution
Input (English): Q 503 r b f e 4977 8195 3059 n y M 4353 R 4897 3869 K 2177 Y 303 g 4199 1867 b 1785 N
Output (English): 1, 3, 4, 5, 6, 10, 11, 12, 14, 17, 19, 21, 24, 26