Implement this integer calculator
Do not worry about the color and font, but you can play with them if you want to.