Task: Mathematics
Input (English): 4737 # 8536 @ 5633 # 1731 @ 3807 # 520 @ 1622
Output (English): 5012