Simple arithmetic matching.