An artificial neural network for classifying handwritten digits.