Task: Program Execution
Input (English): K, k, 1889, 4251, 5711, A, e, 9971, 9991, 1173, 2401, n, 7039, N, G, 1533, 9895, s
Output (English): 1889, 4251, 5711, 9971, 9991, 1173, 2401, 7039, 1533, 9895