Task: Program Execution
Input (English): 1661, 3835, 5435, Q, 8431, 5777, G, 9015, 3165, Y, k, U, J, X
Output (English): 1661, 3835, 5435, 17, 8431, 5777, 7, 9015, 3165, 25, 11, 21, 10, 24