Yes, it matters. You will get a different answer if you add 17 + 4 before subtracting it from 25.