private static String compress(
      final String s) {
    if (s != null && !s.isEmpty()) {
      StringBuilder sb = new StringBuilder();
      
      char last  = s.charAt(0);
      int count = 1;
      for(int i = 1; i < s.length(); i++ ){
        if (last == s.charAt(i)) {
          count ++;
        } else {
          sb.append(last).append(count);
          count = 1;
          last = s.charAt(i);
        }
      }
      System.out.println(getCountCompression(s));
      return getCountCompression(s) > s.length() ? s : sb.append(last).append(count).toString();
      
    }
    return null;
  }