Task: Mathematics
Input (English): 2747 @ 5002 @ 7629 # 3852 @ 1229 # 7586
Output (English): 5169