Task: Program Execution
Input (English): 7995 P u 7787 4953 9811 161 k 7387 g 2509 L 1825 2121 3291 q 2881 3231 4877 7467 6815 7967 d 3081 Z 615 4627 8949 8321 O e W 1181 T
Output (English): 7995, 16, 21, 7787, 4953, 9811, 161, 11, 7387, 7, 2509, 12, 1825, 2121, 3291, 17, 2881, 3231, 4877, 7467, 6815, 7967, 4, 3081, 26, 615, 4627, 8949, 8321, 15, 5, 23, 1181, 20