Task: Program Execution
Input (English): U, 3823, x, k, V, X, 6483, u, 3847, U, x, 1051
Output (English): 2, 7, 9, 12