Task: Mathematics
Input (English): 1952 # 2240 @ 2430 # 6025 @ 4421 @ 8354 @ 7792
Output (English): 16684