as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
design a neural network to recognize handwritten digits.
user
the neural network should be designed using convolutional neural networks (cnns). 
the first layer of the model should be a 2d convolutional layer to extract features from the input images. it should be followed by pooling layers for feature selection. a dense layer should then be added to classify the digits. the output layer should consist of 10 neurons, one for each digit. the model should be trained on a dataset of labelled handwritten digits, and the performance should be tested to evaluate the accuracy of the model.
assistant