With the exception that one of the listeners converts the input string to uppercase, the code for the listeners is exactly the same.
⇑ Translate the sentence above by Google ⇑
Related: input