Task: Mathematics
Input (English): 8152 # 4796 # 14 @ 5071 @ 3953 @ 5142
Output (English): 17508