Task: Mathematics
Input (English): 6703 # 9786 @ 9954 @ 2764 # 215 # 4197 @ 7852 # 2961 # 9816
Output (English): 298