Task: Mathematics
Input (English): 5986 # 3224 # 3957 @ 1893 @ 9453 @ 3954 # 476 # 5750 # 5163
Output (English): 2716