Task: Program Execution
Input (English): D, J, 5987, L, z, 3115, J, G, 3523, 9357, 1523, G, L, 4063, 549, l, L
Output (English): 3, 6, 9, 10, 11, 14, 15