Sample arithmetic program