Task: Mathematics
Input (English): 7841 # 9523 # 1242 @ 934 @ 842 @ 5785 @ 2604 @ 1465
Output (English): 8706