Task: Program Execution
Input (English): b, Q, 5599, 3985, R, 615, 2837, Q, i, 2253, 6779, 9241, A, 6819, 4977, 7131, a, 2929, 4971, x, a
Output (English): 5599, 3985, 615, 2837, 2253, 6779, 9241, 6819, 4977, 7131, 2929, 4971