Task: Mathematics
Input (English): 7918 @ 5997 # 5403 # 3756 @ 6192 # 4714 @ 1851 @ 846
Output (English): 8931