Task: Mathematics
Input (English): 8227 # 7725 @ 669 @ 489 @ 6499 @ 2486
Output (English): 10645