Task: Mathematics
Input (English): 9540 # 9387 # 8692 @ 5008 # 4886 @ 9427 @ 3816
Output (English): 4826