Task: Program Execution
Input (English): V, 1567, G, 3179, 8709, s
Output (English): V, G, s