Character input example