Task: Mathematics
Input (English): 2840 # 6154 # 5236 @ 7035 @ 4160 # 9567 @ 7071
Output (English): 149