Task: Program Execution
Input (English): 3, 4, ['v', 'f', '2987', '7303', '15']
Output (English): 30377892