Task: Mathematics
Input (English): 504 @ 2750 @ 4702 # 9860 @ 765 @ 6897 # 5647
Output (English): 111