Task: Program Execution
Input (English): 7791, 8741, 4145, 3065, 9529, m, n, c, C, V, x, 8113, 5233, b, 2467, y, 5965, Y, P, K
Output (English): 7791, 8741, 4145, 3065, 9529, 8113, 5233, 2467, 5965