Task: Mathematics
Input (English): 8351 # 4913 @ 5669 # 3835 @ 6606 @ 6669 # 29
Output (English): 18518