Task: Mathematics
Input (English): 9510 # 1645 # 4111 @ 3431 # 7584 @ 4538 @ 2298 @ 2049 # 8099
Output (English): 387