Task: Program Execution
Input (English): 7171 4363 3095 V 3869 9897 5665 p 8951 6875 3907 J 4105 j 7929 l 3107 7137 Q M P 6361 7361 5007 n
Output (English): 1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 15, 17, 18, 22, 23, 24