How To Control Two Different Characters With Keyboard?

Yes, it prints the valid name! So happy!