Task: Program Execution
Input (English): V, 4695, 3755, 4939, 389
Output (English): 22, 4695, 3755, 4939, 389