The ancient Greeks and Romans relied heavily on the abacus.