Task: Program Execution
Input (English): 2447, k, 6479, 5945, 9193, 3707, J, R, 4259, V
Output (English): 2, 7, 8, 10