Multifunction calculator - the 4th bison example.
