Task: Mathematics
Input (English): 4991 @ 6392 @ 8141 @ 9732 @ 1024 @ 8997 # 1686
Output (English): 37591