Task: Mathematics
Input (English): 5403 @ 8056 # 2287 # 2787 @ 7648 # 1240 @ 5048 @ 2246 @ 8974
Output (English): 31061