Task: Mathematics
Input (English): 4758 # 246 # 3022 @ 2742 # 1285 @ 2137 @ 4423 # 4009
Output (English): 5498