Task: Mathematics
Input (English): 8429 # 2537 @ 7826 # 8488 # 2731 @ 4085 # 109 # 2944
Output (English): 3531