Task: Program Execution
Input (English): U M Z 4027 I 1561 Y 1043 z Z 6291 2003 6667 1755 9587 8961 D l m 5535 7133 401 5173 N y b 1585 6821 9573 Y m
Output (English): 4, 6, 8, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 27, 28, 29