Task: Program Execution
Input (English): 8, 10, ['1441', '2791', '1901', '729', '7541', 'O', 'z', 'U', '1901', 'V']
Output (English): 1901