A simple calculator made with atoms