Task: Mathematics
Input (English): 1998 @ 8352 # 7443 @ 8319 # 4843 @ 3054 @ 9926 @ 5746
Output (English): 25109