Task: Program Execution
Input (English): 4, 8, ['c', 'J', '145', '7973', '8995', '2665', '9295', '9709', 'R']
Output (English): 90795929566259983797