Task: Program Execution
Input (English): M 5329 I Z e 8247 1623 8243 E A J 7985 z 5463 8527 8149 e 2277 839 2403 D F y 4073 9131 315 327 3907 7149 n 7455
Output (English): 1, 3, 4, 5, 9, 10, 11, 13, 17, 21, 22, 23, 30