Task: Program Execution
Input (English): 7339, 8289, 6041, 4109, 633, K, 6191
Output (English): 1, 2, 3, 4, 5, 7