Task: Mathematics
Input (English): 1289 # 725 @ 8131 @ 6019 @ 3460 @ 1727 # 8097 # 7477
Output (English): 4327