Task: Program Execution
Input (English): 1521, 6045, o, M, Q, 4725, 3357, 2519
Output (English): 18167