Task: Program Execution
Input (English): 1, 10, ['7819', '3389', 'X', '7145', 'G', 'h', '1219', '5537', '4987', '8087']
Output (English): 38183