Task: Program Execution
Input (English): V, W, 4977, 6801, 3457, r, 1135, 1681, s, 6595, 7355, k, V, m, 7827, 9189, 7607, z, 1113, Q, N
Output (English): V, W, r, s, k, V, m, z, Q, N