Written Perceptron