Task: Mathematics
Input (English): 6694 @ 8723 # 1592 @ 7366 @ 9388
Output (English): 30579