Task: Mathematics
Input (English): 5918 # 3034 @ 2234 @ 3244 # 9987 @ 4087 @ 1781 # 786 @ 94
Output (English): 3551