How to write less code : I have a simple question.

Is it possible to rewrite this code below in less lines?

    $(document).ready(function(){
      $("#clickShow").click(function(){
        $("#cw1").toggleClass("showLess");
        if($("#clickShow").text() === "Show more"){
          $("#clickShow").text("Show less");
        } else {
          $("#clickShow").text("Show more");
        }
      });
    
      $("#clickShow1").click(function(){
        $("#cw2").toggleClass("showLess");
        if($("#clickShow1").text() === "Show more"){
          $("#clickShow1").text("Show less");
        } else {
          $("#clickShow1").text("Show more");
        }
      });
    });

Thanks