Task: Program Execution
Input (English): Z, m, R, 3333, 8887, 6049, U, P, K, A, 4285, 3365, c, 8737, J
Output (English): 26, 13, 18, 3333, 8887, 6049, 21, 16, 11, 1, 4285, 3365, 3, 8737, 10