Task: Program Execution
Input (English): M, x, 9481, N, b, 3781, 4295, x, 1099, 2639, 7333, 1733, 1573, 5321, 2869, 3145, 4087, 7889, 4741, 7975, 9123, 3465, h, 4871
Output (English): M, x, N, b, x, h, 9481, 3781, 4295, 1099, 2639, 7333, 1733, 1573, 5321, 2869, 3145, 4087, 7889, 4741, 7975, 9123, 3465, 4871