input=kb.nextLine(); if(input.charAt(0)=='Q' || input.charAt(0)=='q'){System.out.println("\nBye!"); System.exit(0);}