Task: Program Execution
Input (English): 6753 k 6827 p f 2443 d U u P O 5909 9343 6683 6925 9249 7267 y K 307 z J 3581 z 3033 9981 669 Z K 2545 6649 227
Output (English): 2, 4, 5, 7, 8, 9, 10, 11, 18, 19, 21, 22, 24, 28, 29