Task: Program Execution
Input (English): 3779, 5023, 5049, 5111, Q, x, T, 7919, p, 5231, 4301
Output (English): 3779, 5023, 5049, 5111, 7919, 5231, 4301