code: public static String getAdiVarna(String str)
      {
          if (str.length() == 0) return null;
          String adiVarna = String.valueOf(str.charAt(0));
  
          if (str.length() > 1 && str.charAt(1) == '3') // for pluta
          {
              adiVarna += String.valueOf(str.charAt(1));
          }
  
          return adiVarna;
  
      }
docs: *******************END OF FUNCTION**********************//