Yet Another Neural Network for recognizing handwritten digits