The below was the response from Gemini.
I just calculated manually and I figured that 1686.4-879.9-584.9 was 221.6 and not 321.6. When I confronted Gemini about it, this is the response I got.
This is just crazy and shows that these AI tools cannot be relied upon, how can they make a mistake in subtraction? Is it intentional? Ideally their backend should be able to just have a small calculator built in to process these or do they calculate manually like humans?