Task: Program Execution
Input (English): 5039, 8917, 4637, y, 1343, 7903, Z, 1561, 7719, 3603, 2547, 1819, 6021, 7543, 3697, y, x, Y, m, Q, W, 5895, 4449
Output (English): 5039, 8917, 4637, 25, 1343, 7903, 26, 1561, 7719, 3603, 2547, 1819, 6021, 7543, 3697, 25, 24, 25, 13, 17, 23, 5895, 4449