Task: Program Execution
Input (English): D, k, g, O, r, 529, n, V, 1175, N, 6397, 627, g
Output (English): 529, 1175, 6397, 627