Task: Program Execution
Input (English): p 8309 p M 8535 K A 1315 2435 1595 k 7223 3643 365 g G L c R W 7995 3329 2605 K 3589 851 B v X w
Output (English): 2, 5, 8, 9, 10, 12, 13, 14, 21, 22, 23, 25, 26