Task: Mathematics
Input (English): 6867 @ 3039 @ 214 # 6383 @ 1961 # 3844 # 6887 @ 8122
Output (English): 3089