Task: Mathematics
Input (English): 3165 @ 8603 # 2566 @ 297 # 1914 @ 6781 @ 9085 @ 3950 @ 4261
Output (English): 31662