Task: Mathematics
Input (English): 1486 @ 9115 # 262 @ 4709 @ 8742 # 5158 # 2446 @ 8468 @ 5898
Output (English): 30552