Task: Mathematics
Input (English): 5722 # 1840 @ 2493 # 4253 # 1401 @ 511 # 1469 @ 3396
Output (English): 3159