Task: Mathematics
Input (English): 547 # 1789 @ 4104 @ 1655 @ 6139 @ 263 @ 5486
Output (English): 16405