Task: Program Execution
Input (English): W, 7877, 7389, V, 475, m
Output (English): 7877, 7389, 475