Task: Program Execution
Input (English): 5, 6, ['X', '1679', '8377', '1689', '4881', '1397']
Output (English): 79311884