Ball arithmetic