A four-function calculator