code: public static String getAntyaVarna(String str)
      {
          if (str.length() == 0) return null;
          String antyaVarna = String.valueOf(str.charAt(str.length() - 1));
  
          if (str.length() > 1 && antyaVarna.equals("3")) // for pluta
          {
              antyaVarna = str.charAt(str.length() - 2) + antyaVarna;
          }
  
          return antyaVarna;
  
      }
docs: *******************BEGINNING OF FUNCTION********************//