Task: Program Execution
Input (English): 8037, 2381, 6215, 4445, K, 2177, Y, 3659, N, p
Output (English): 1, 2, 3, 4, 6, 8