`gets.chomp` only removes the newline. I typically prefer `gets.strip` which removes the newline and any leading / trailing whitespace. E.g. "     brooooookss    " turns into "brooooookss"