Adds value of text input based on A = 1, B = 2...