Task: Program Execution
Input (English): 3521, 3, O, V, F, F
Output (English): 3524