Task: Program Execution
Input (English): d, 7945, I, 9181, V, 1565, 4231, K, 5765, 4981, 2299, 2185, 1921, J, 9291, 5315, 6153, 7157, g
Output (English): 2, 4, 6, 7, 9, 10, 11, 12, 13, 15, 16, 17, 18