Arithmetic is well within the capabilities of even small local models: https://i.imgur.com/21tzGlN.png