Task: Program Execution
Input (English): P 2495 n 4333 T 5505 k 5701 9461 5353 I N 6199 3463 p n 9827 5071 2983 9085 I C 1233 U f 6131 9841 8613 5081 9317 s 9543 h
Output (English): 16, 2495, 14, 4333, 20, 5505, 11, 5701, 9461, 5353, 9, 14, 6199, 3463, 16, 14, 9827, 5071, 2983, 9085, 9, 3, 1233, 21, 6, 6131, 9841, 8613, 5081, 9317, 19, 9543, 8