posts - 1,  comments - 2,  trackbacks - 0

  闲着无聊看了下网上的关于Java获取文件编码格式的文章,感觉都不太全面,对编码的适配太少,故写了一个Demo工具类,基本是支持全格式了,代码测试没问题,可以copy过去直接使用。

   1 package file;
   2 
   3 import java.io.File;
   4 import java.io.FileInputStream;
   5 import java.io.InputStream;
   6 import java.net.URL;
   7 
   8 public class EncodingDetect {
   9     
  10     public static void main(String[] args) {
  11         System.out.println(EncodingDetect.detect("D:/1.txt"));
  12         System.out.println(EncodingDetect.detect("D:/test.txt"));
  13         System.out.println(EncodingDetect.detect("D:/Test/a.out"));
  14     }
  15 
  16     public static String detect(String path) {
  17         BytesEncodingDetect s = new BytesEncodingDetect();
  18         String fileCode = BytesEncodingDetect.javaname[s.detectEncoding(new File(path))];
  19         return fileCode;
  20     }
  21 
  22     public static String detect(File file) {
  23         BytesEncodingDetect s = new BytesEncodingDetect();
  24         String fileCode = BytesEncodingDetect.javaname[s.detectEncoding(file)];
  25         return fileCode;
  26     }
  27 
  28     public static String detect(byte[] contents) {
  29         BytesEncodingDetect s = new BytesEncodingDetect();
  30         String fileCode = BytesEncodingDetect.javaname[s.detectEncoding(contents)];
  31         return fileCode;
  32     }
  33 
  34     public static String detect(URL url) {
  35         BytesEncodingDetect s = new BytesEncodingDetect();
  36         String fileCode = BytesEncodingDetect.javaname[s.detectEncoding(url)];
  37         return fileCode;
  38     }
  39 
  40 
  41     static class BytesEncodingDetect extends Encoding {
  42 
  43         int GBFreq[][];
  44 
  45         int GBKFreq[][];
  46 
  47         int Big5Freq[][];
  48 
  49         int Big5PFreq[][];
  50 
  51         int EUC_TWFreq[][];
  52 
  53         int KRFreq[][];
  54 
  55         int JPFreq[][];
  56 
  57         public boolean debug;
  58 
  59         public BytesEncodingDetect() {
  60             super();
  61             debug = false;
  62             GBFreq = new int[94][94];
  63             GBKFreq = new int[126][191];
  64             Big5Freq = new int[94][158];
  65             Big5PFreq = new int[126][191];
  66             EUC_TWFreq = new int[94][94];
  67             KRFreq = new int[94][94];
  68             JPFreq = new int[94][94];
  69             initialize_frequencies();
  70         }
  71 
  72         public int detectEncoding(URL testurl) {
  73             byte[] rawtext = new byte[10000];
  74             int bytesread = 0, byteoffset = 0;
  75             int guess = OTHER;
  76             InputStream is;
  77             try {
  78                 is = testurl.openStream();
  79                 while ((bytesread = is.read(rawtext, byteoffset, rawtext.length - byteoffset)) > 0) {
  80                     byteoffset += bytesread;
  81                 }
  82                 ;
  83                 is.close();
  84                 guess = detectEncoding(rawtext);
  85             } catch (Exception e) {
  86                 System.err.println("Error loading or using URL " + e.toString());
  87                 guess = -1;
  88             }
  89             return guess;
  90         }
  91 
  92         public int detectEncoding(File testfile) {
  93             FileInputStream fileis;
  94             byte[] rawtext;
  95             rawtext = new byte[(int) testfile.length()];
  96             try {
  97                 fileis = new FileInputStream(testfile);
  98                 fileis.read(rawtext);
  99                 fileis.close();
 100             } catch (Exception e) {
 101                 System.err.println("Error: " + e);
 102                 System.err.println();
 103             }
 104             return detectEncoding(rawtext);
 105         }
 106 
 107         public int detectEncoding(byte[] rawtext) {
 108             int[] scores;
 109             int index, maxscore = 0;
 110             int encoding_guess = OTHER;
 111             scores = new int[TOTALTYPES];
 112             // Assign Scores
 113             scores[GB2312] = gb2312_probability(rawtext);
 114             scores[GBK] = gbk_probability(rawtext);
 115             scores[GB18030] = gb18030_probability(rawtext);
 116             scores[HZ] = hz_probability(rawtext);
 117             scores[BIG5] = big5_probability(rawtext);
 118             scores[CNS11643] = euc_tw_probability(rawtext);
 119             scores[ISO2022CN] = iso_2022_cn_probability(rawtext);
 120             scores[UTF8] = utf8_probability(rawtext);
 121             scores[UNICODE] = utf16_probability(rawtext);
 122             scores[EUC_KR] = euc_kr_probability(rawtext);
 123             scores[CP949] = cp949_probability(rawtext);
 124             scores[JOHAB] = 0;
 125             scores[ISO2022KR] = iso_2022_kr_probability(rawtext);
 126             scores[ASCII] = ascii_probability(rawtext);
 127             scores[SJIS] = sjis_probability(rawtext);
 128             scores[EUC_JP] = euc_jp_probability(rawtext);
 129             scores[ISO2022JP] = iso_2022_jp_probability(rawtext);
 130             scores[UNICODET] = 0;
 131             scores[UNICODES] = 0;
 132             scores[ISO2022CN_GB] = 0;
 133             scores[ISO2022CN_CNS] = 0;
 134             scores[OTHER] = 0;
 135             // Tabulate Scores
 136             for (index = 0; index < TOTALTYPES; index++) {
 137                 if (debug)
 138                     System.err.println("Encoding " + nicename[index] + " score " + scores[index]);
 139                 if (scores[index] > maxscore) {
 140                     encoding_guess = index;
 141                     maxscore = scores[index];
 142                 }
 143             }
 144             // Return OTHER if nothing scored above 50
 145             if (maxscore <= 50) {
 146                 encoding_guess = OTHER;
 147             }
 148             return encoding_guess;
 149         }
 150 
 151         /*
 152          * Function: gb2312_probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 153          * probability text in array uses GB-2312 encoding
 154          */
 155         int gb2312_probability(byte[] rawtext) {
 156             int i, rawtextlen = 0;
 157             int dbchars = 1, gbchars = 1;
 158             long gbfreq = 0, totalfreq = 1;
 159             float rangeval = 0, freqval = 0;
 160             int row, column;
 161             // Stage 1: Check to see if characters fit into acceptable ranges
 162             rawtextlen = rawtext.length;
 163             for (i = 0; i < rawtextlen - 1; i++) {
 164                 // System.err.println(rawtext[i]);
 165                 if (rawtext[i] >= 0) {
 166                     // asciichars++;
 167                 } else {
 168                     dbchars++;
 169                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xF7 && (byte) 0xA1 <= rawtext[i + 1]
 170                             && rawtext[i + 1] <= (byte) 0xFE) {
 171                         gbchars++;
 172                         totalfreq += 500;
 173                         row = rawtext[i] + 256 - 0xA1;
 174                         column = rawtext[i + 1] + 256 - 0xA1;
 175                         if (GBFreq[row][column] != 0) {
 176                             gbfreq += GBFreq[row][column];
 177                         } else if (15 <= row && row < 55) {
 178                             // In GB high-freq character range
 179                             gbfreq += 200;
 180                         }
 181                     }
 182                     i++;
 183                 }
 184             }
 185             rangeval = 50 * ((float) gbchars / (float) dbchars);
 186             freqval = 50 * ((float) gbfreq / (float) totalfreq);
 187             return (int) (rangeval + freqval);
 188         }
 189 
 190         /*
 191          * Function: gbk_probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 192          * probability text in array uses GBK encoding
 193          */
 194         int gbk_probability(byte[] rawtext) {
 195             int i, rawtextlen = 0;
 196             int dbchars = 1, gbchars = 1;
 197             long gbfreq = 0, totalfreq = 1;
 198             float rangeval = 0, freqval = 0;
 199             int row, column;
 200             // Stage 1: Check to see if characters fit into acceptable ranges
 201             rawtextlen = rawtext.length;
 202             for (i = 0; i < rawtextlen - 1; i++) {
 203                 // System.err.println(rawtext[i]);
 204                 if (rawtext[i] >= 0) {
 205                     // asciichars++;
 206                 } else {
 207                     dbchars++;
 208                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xF7 && // Original GB range
 209                             (byte) 0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE) {
 210                         gbchars++;
 211                         totalfreq += 500;
 212                         row = rawtext[i] + 256 - 0xA1;
 213                         column = rawtext[i + 1] + 256 - 0xA1;
 214                         // System.out.println("original row " + row + " column " +
 215                         // column);
 216                         if (GBFreq[row][column] != 0) {
 217                             gbfreq += GBFreq[row][column];
 218                         } else if (15 <= row && row < 55) {
 219                             gbfreq += 200;
 220                         }
 221                     } else if ((byte) 0x81 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && // Extended GB range
 222                             (((byte) 0x80 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE)
 223                                     || ((byte) 0x40 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x7E))) {
 224                         gbchars++;
 225                         totalfreq += 500;
 226                         row = rawtext[i] + 256 - 0x81;
 227                         if (0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) {
 228                             column = rawtext[i + 1] - 0x40;
 229                         } else {
 230                             column = rawtext[i + 1] + 256 - 0x40;
 231                         }
 232                         // System.out.println("extended row " + row + " column " +
 233                         // column + " rawtext[i] " + rawtext[i]);
 234                         if (GBKFreq[row][column] != 0) {
 235                             gbfreq += GBKFreq[row][column];
 236                         }
 237                     }
 238                     i++;
 239                 }
 240             }
 241             rangeval = 50 * ((float) gbchars / (float) dbchars);
 242             freqval = 50 * ((float) gbfreq / (float) totalfreq);
 243             // For regular GB files, this would give the same score, so I handicap
 244             // it slightly
 245             return (int) (rangeval + freqval) - 1;
 246         }
 247 
 248         /*
 249          * Function: gb18030_probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 250          * probability text in array uses GBK encoding
 251          */
 252         int gb18030_probability(byte[] rawtext) {
 253             int i, rawtextlen = 0;
 254             int dbchars = 1, gbchars = 1;
 255             long gbfreq = 0, totalfreq = 1;
 256             float rangeval = 0, freqval = 0;
 257             int row, column;
 258             // Stage 1: Check to see if characters fit into acceptable ranges
 259             rawtextlen = rawtext.length;
 260             for (i = 0; i < rawtextlen - 1; i++) {
 261                 // System.err.println(rawtext[i]);
 262                 if (rawtext[i] >= 0) {
 263                     // asciichars++;
 264                 } else {
 265                     dbchars++;
 266                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xF7 && // Original GB range
 267                             i + 1 < rawtextlen && (byte) 0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE) {
 268                         gbchars++;
 269                         totalfreq += 500;
 270                         row = rawtext[i] + 256 - 0xA1;
 271                         column = rawtext[i + 1] + 256 - 0xA1;
 272                         // System.out.println("original row " + row + " column " +
 273                         // column);
 274                         if (GBFreq[row][column] != 0) {
 275                             gbfreq += GBFreq[row][column];
 276                         } else if (15 <= row && row < 55) {
 277                             gbfreq += 200;
 278                         }
 279                     } else if ((byte) 0x81 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && // Extended GB range
 280                             i + 1 < rawtextlen && (((byte) 0x80 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE)
 281                                     || ((byte) 0x40 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x7E))) {
 282                         gbchars++;
 283                         totalfreq += 500;
 284                         row = rawtext[i] + 256 - 0x81;
 285                         if (0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) {
 286                             column = rawtext[i + 1] - 0x40;
 287                         } else {
 288                             column = rawtext[i + 1] + 256 - 0x40;
 289                         }
 290                         // System.out.println("extended row " + row + " column " +
 291                         // column + " rawtext[i] " + rawtext[i]);
 292                         if (GBKFreq[row][column] != 0) {
 293                             gbfreq += GBKFreq[row][column];
 294                         }
 295                     } else if ((byte) 0x81 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && // Extended GB range
 296                             i + 3 < rawtextlen && (byte) 0x30 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x39
 297                             && (byte) 0x81 <= rawtext[i + 2] && rawtext[i + 2] <= (byte) 0xFE && (byte) 0x30 <= rawtext[i + 3]
 298                             && rawtext[i + 3] <= (byte) 0x39) {
 299                         gbchars++;
 300                         /*
 301                          * totalfreq += 500; row = rawtext[i] + 256 - 0x81; if (0x40 <= rawtext[i+1] && rawtext[i+1] <=
 302                          * 0x7E) { column = rawtext[i+1] - 0x40; } else { column = rawtext[i+1] + 256 - 0x40; }
 303                          * //System.out.println("extended row " + row + " column " + column + " rawtext[i] " +
 304                          * rawtext[i]); if (GBKFreq[row][column] != 0) { gbfreq += GBKFreq[row][column]; }
 305                          */
 306                     }
 307                     i++;
 308                 }
 309             }
 310             rangeval = 50 * ((float) gbchars / (float) dbchars);
 311             freqval = 50 * ((float) gbfreq / (float) totalfreq);
 312             // For regular GB files, this would give the same score, so I handicap
 313             // it slightly
 314             return (int) (rangeval + freqval) - 1;
 315         }
 316 
 317         /*
 318          * Function: hz_probability Argument: byte array Returns : number from 0 to 100 representing probability text in
 319          * array uses HZ encoding
 320          */
 321         int hz_probability(byte[] rawtext) {
 322             int i, rawtextlen;
 323             int hzchars = 0, dbchars = 1;
 324             long hzfreq = 0, totalfreq = 1;
 325             float rangeval = 0, freqval = 0;
 326             int hzstart = 0, hzend = 0;
 327             int row, column;
 328             rawtextlen = rawtext.length;
 329             for (i = 0; i < rawtextlen; i++) {
 330                 if (rawtext[i] == '~') {
 331                     if (rawtext[i + 1] == '{') {
 332                         hzstart++;
 333                         i += 2;
 334                         while (i < rawtextlen - 1) {
 335                             if (rawtext[i] == 0x0A || rawtext[i] == 0x0D) {
 336                                 break;
 337                             } else if (rawtext[i] == '~' && rawtext[i + 1] == '}') {
 338                                 hzend++;
 339                                 i++;
 340                                 break;
 341                             } else if ((0x21 <= rawtext[i] && rawtext[i] <= 0x77) && (0x21 <= rawtext[i + 1] && rawtext[i + 1] <= 0x77)) {
 342                                 hzchars += 2;
 343                                 row = rawtext[i] - 0x21;
 344                                 column = rawtext[i + 1] - 0x21;
 345                                 totalfreq += 500;
 346                                 if (GBFreq[row][column] != 0) {
 347                                     hzfreq += GBFreq[row][column];
 348                                 } else if (15 <= row && row < 55) {
 349                                     hzfreq += 200;
 350                                 }
 351                             } else if ((0xA1 <= rawtext[i] && rawtext[i] <= 0xF7) && (0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= 0xF7)) {
 352                                 hzchars += 2;
 353                                 row = rawtext[i] + 256 - 0xA1;
 354                                 column = rawtext[i + 1] + 256 - 0xA1;
 355                                 totalfreq += 500;
 356                                 if (GBFreq[row][column] != 0) {
 357                                     hzfreq += GBFreq[row][column];
 358                                 } else if (15 <= row && row < 55) {
 359                                     hzfreq += 200;
 360                                 }
 361                             }
 362                             dbchars += 2;
 363                             i += 2;
 364                         }
 365                     } else if (rawtext[i + 1] == '}') {
 366                         hzend++;
 367                         i++;
 368                     } else if (rawtext[i + 1] == '~') {
 369                         i++;
 370                     }
 371                 }
 372             }
 373             if (hzstart > 4) {
 374                 rangeval = 50;
 375             } else if (hzstart > 1) {
 376                 rangeval = 41;
 377             } else if (hzstart > 0) { // Only 39 in case the sequence happened to
 378                                         // occur
 379                 rangeval = 39; // in otherwise non-Hz text
 380             } else {
 381                 rangeval = 0;
 382             }
 383             freqval = 50 * ((float) hzfreq / (float) totalfreq);
 384             return (int) (rangeval + freqval);
 385         }
 386 
 387         /**
 388          * Function: big5_probability Argument: byte array Returns : number from 0 to 100 representing probability text
 389          * in array uses Big5 encoding
 390          */
 391         int big5_probability(byte[] rawtext) {
 392             int i, rawtextlen = 0;
 393             int dbchars = 1, bfchars = 1;
 394             float rangeval = 0, freqval = 0;
 395             long bffreq = 0, totalfreq = 1;
 396             int row, column;
 397             // Check to see if characters fit into acceptable ranges
 398             rawtextlen = rawtext.length;
 399             for (i = 0; i < rawtextlen - 1; i++) {
 400                 if (rawtext[i] >= 0) {
 401                     // asciichars++;
 402                 } else {
 403                     dbchars++;
 404                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xF9
 405                             && (((byte) 0x40 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x7E)
 406                                     || ((byte) 0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE))) {
 407                         bfchars++;
 408                         totalfreq += 500;
 409                         row = rawtext[i] + 256 - 0xA1;
 410                         if (0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) {
 411                             column = rawtext[i + 1] - 0x40;
 412                         } else {
 413                             column = rawtext[i + 1] + 256 - 0x61;
 414                         }
 415                         if (Big5Freq[row][column] != 0) {
 416                             bffreq += Big5Freq[row][column];
 417                         } else if (3 <= row && row <= 37) {
 418                             bffreq += 200;
 419                         }
 420                     }
 421                     i++;
 422                 }
 423             }
 424             rangeval = 50 * ((float) bfchars / (float) dbchars);
 425             freqval = 50 * ((float) bffreq / (float) totalfreq);
 426             return (int) (rangeval + freqval);
 427         }
 428 
 429         /*
 430          * Function: big5plus_probability Argument: pointer to unsigned char array Returns : number from 0 to 100
 431          * representing probability text in array uses Big5+ encoding
 432          */
 433         int big5plus_probability(byte[] rawtext) {
 434             int i, rawtextlen = 0;
 435             int dbchars = 1, bfchars = 1;
 436             long bffreq = 0, totalfreq = 1;
 437             float rangeval = 0, freqval = 0;
 438             int row, column;
 439             // Stage 1: Check to see if characters fit into acceptable ranges
 440             rawtextlen = rawtext.length;
 441             for (i = 0; i < rawtextlen - 1; i++) {
 442                 // System.err.println(rawtext[i]);
 443                 if (rawtext[i] >= 128) {
 444                     // asciichars++;
 445                 } else {
 446                     dbchars++;
 447                     if (0xA1 <= rawtext[i] && rawtext[i] <= 0xF9 && // Original Big5 range
 448                             ((0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) || (0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= 0xFE))) {
 449                         bfchars++;
 450                         totalfreq += 500;
 451                         row = rawtext[i] - 0xA1;
 452                         if (0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) {
 453                             column = rawtext[i + 1] - 0x40;
 454                         } else {
 455                             column = rawtext[i + 1] - 0x61;
 456                         }
 457                         // System.out.println("original row " + row + " column " +
 458                         // column);
 459                         if (Big5Freq[row][column] != 0) {
 460                             bffreq += Big5Freq[row][column];
 461                         } else if (3 <= row && row < 37) {
 462                             bffreq += 200;
 463                         }
 464                     } else if (0x81 <= rawtext[i] && rawtext[i] <= 0xFE && // Extended Big5 range
 465                             ((0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) || (0x80 <= rawtext[i + 1] && rawtext[i + 1] <= 0xFE))) {
 466                         bfchars++;
 467                         totalfreq += 500;
 468                         row = rawtext[i] - 0x81;
 469                         if (0x40 <= rawtext[i + 1] && rawtext[i + 1] <= 0x7E) {
 470                             column = rawtext[i + 1] - 0x40;
 471                         } else {
 472                             column = rawtext[i + 1] - 0x40;
 473                         }
 474                         // System.out.println("extended row " + row + " column " +
 475                         // column + " rawtext[i] " + rawtext[i]);
 476                         if (Big5PFreq[row][column] != 0) {
 477                             bffreq += Big5PFreq[row][column];
 478                         }
 479                     }
 480                     i++;
 481                 }
 482             }
 483             rangeval = 50 * ((float) bfchars / (float) dbchars);
 484             freqval = 50 * ((float) bffreq / (float) totalfreq);
 485             // For regular Big5 files, this would give the same score, so I handicap
 486             // it slightly
 487             return (int) (rangeval + freqval) - 1;
 488         }
 489 
 490         /*
 491          * Function: euc_tw_probability Argument: byte array Returns : number from 0 to 100 representing probability
 492          * text in array uses EUC-TW (CNS 11643) encoding
 493          */
 494         int euc_tw_probability(byte[] rawtext) {
 495             int i, rawtextlen = 0;
 496             int dbchars = 1, cnschars = 1;
 497             long cnsfreq = 0, totalfreq = 1;
 498             float rangeval = 0, freqval = 0;
 499             int row, column;
 500             // Check to see if characters fit into acceptable ranges
 501             // and have expected frequency of use
 502             rawtextlen = rawtext.length;
 503             for (i = 0; i < rawtextlen - 1; i++) {
 504                 if (rawtext[i] >= 0) { // in ASCII range
 505                     // asciichars++;
 506                 } else { // high bit set
 507                     dbchars++;
 508                     if (i + 3 < rawtextlen && (byte) 0x8E == rawtext[i] && (byte) 0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xB0
 509                             && (byte) 0xA1 <= rawtext[i + 2] && rawtext[i + 2] <= (byte) 0xFE && (byte) 0xA1 <= rawtext[i + 3]
 510                             && rawtext[i + 3] <= (byte) 0xFE) { // Planes 1 - 16
 511                         cnschars++;
 512                         // System.out.println("plane 2 or above CNS char");
 513                         // These are all less frequent chars so just ignore freq
 514                         i += 3;
 515                     } else if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && // Plane 1
 516                             (byte) 0xA1 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE) {
 517                         cnschars++;
 518                         totalfreq += 500;
 519                         row = rawtext[i] + 256 - 0xA1;
 520                         column = rawtext[i + 1] + 256 - 0xA1;
 521                         if (EUC_TWFreq[row][column] != 0) {
 522                             cnsfreq += EUC_TWFreq[row][column];
 523                         } else if (35 <= row && row <= 92) {
 524                             cnsfreq += 150;
 525                         }
 526                         i++;
 527                     }
 528                 }
 529             }
 530             rangeval = 50 * ((float) cnschars / (float) dbchars);
 531             freqval = 50 * ((float) cnsfreq / (float) totalfreq);
 532             return (int) (rangeval + freqval);
 533         }
 534 
 535         /*
 536          * Function: iso_2022_cn_probability Argument: byte array Returns : number from 0 to 100 representing
 537          * probability text in array uses ISO 2022-CN encoding WORKS FOR BASIC CASES, BUT STILL NEEDS MORE WORK
 538          */
 539         int iso_2022_cn_probability(byte[] rawtext) {
 540             int i, rawtextlen = 0;
 541             int dbchars = 1, isochars = 1;
 542             long isofreq = 0, totalfreq = 1;
 543             float rangeval = 0, freqval = 0;
 544             int row, column;
 545             // Check to see if characters fit into acceptable ranges
 546             // and have expected frequency of use
 547             rawtextlen = rawtext.length;
 548             for (i = 0; i < rawtextlen - 1; i++) {
 549                 if (rawtext[i] == (byte) 0x1B && i + 3 < rawtextlen) { // Escape
 550                                                                         // char ESC
 551                     if (rawtext[i + 1] == (byte) 0x24 && rawtext[i + 2] == 0x29 && rawtext[i + 3] == (byte) 0x41) { // GB
 552                                                                                                                     // Escape
 553                                                                                                                     // $
 554                                                                                                                     // )
 555                                                                                                                     // A
 556                         i += 4;
 557                         while (rawtext[i] != (byte) 0x1B) {
 558                             dbchars++;
 559                             if ((0x21 <= rawtext[i] && rawtext[i] <= 0x77) && (0x21 <= rawtext[i + 1] && rawtext[i + 1] <= 0x77)) {
 560                                 isochars++;
 561                                 row = rawtext[i] - 0x21;
 562                                 column = rawtext[i + 1] - 0x21;
 563                                 totalfreq += 500;
 564                                 if (GBFreq[row][column] != 0) {
 565                                     isofreq += GBFreq[row][column];
 566                                 } else if (15 <= row && row < 55) {
 567                                     isofreq += 200;
 568                                 }
 569                                 i++;
 570                             }
 571                             i++;
 572                         }
 573                     } else if (i + 3 < rawtextlen && rawtext[i + 1] == (byte) 0x24 && rawtext[i + 2] == (byte) 0x29
 574                             && rawtext[i + 3] == (byte) 0x47) {
 575                         // CNS Escape $ ) G
 576                         i += 4;
 577                         while (rawtext[i] != (byte) 0x1B) {
 578                             dbchars++;
 579                             if ((byte) 0x21 <= rawtext[i] && rawtext[i] <= (byte) 0x7E && (byte) 0x21 <= rawtext[i + 1]
 580                                     && rawtext[i + 1] <= (byte) 0x7E) {
 581                                 isochars++;
 582                                 totalfreq += 500;
 583                                 row = rawtext[i] - 0x21;
 584                                 column = rawtext[i + 1] - 0x21;
 585                                 if (EUC_TWFreq[row][column] != 0) {
 586                                     isofreq += EUC_TWFreq[row][column];
 587                                 } else if (35 <= row && row <= 92) {
 588                                     isofreq += 150;
 589                                 }
 590                                 i++;
 591                             }
 592                             i++;
 593                         }
 594                     }
 595                     if (rawtext[i] == (byte) 0x1B && i + 2 < rawtextlen && rawtext[i + 1] == (byte) 0x28 && rawtext[i + 2] == (byte) 0x42) { // ASCII:
 596                         // ESC
 597                         // ( B
 598                         i += 2;
 599                     }
 600                 }
 601             }
 602             rangeval = 50 * ((float) isochars / (float) dbchars);
 603             freqval = 50 * ((float) isofreq / (float) totalfreq);
 604             // System.out.println("isochars dbchars isofreq totalfreq " + isochars +
 605             // " " + dbchars + " " + isofreq + " " + totalfreq + "
 606             // " + rangeval + " " + freqval);
 607             return (int) (rangeval + freqval);
 608             // return 0;
 609         }
 610 
 611         /*
 612          * Function: utf8_probability Argument: byte array Returns : number from 0 to 100 representing probability text
 613          * in array uses UTF-8 encoding of Unicode
 614          */
 615         int utf8_probability(byte[] rawtext) {
 616             int score = 0;
 617             int i, rawtextlen = 0;
 618             int goodbytes = 0, asciibytes = 0;
 619             // Maybe also use UTF8 Byte Order Mark: EF BB BF
 620             // Check to see if characters fit into acceptable ranges
 621             rawtextlen = rawtext.length;
 622             for (i = 0; i < rawtextlen; i++) {
 623                 if ((rawtext[i] & (byte) 0x7F) == rawtext[i]) { // One byte
 624                     asciibytes++;
 625                     // Ignore ASCII, can throw off count
 626                 } else if (-64 <= rawtext[i] && rawtext[i] <= -33 && // Two bytes
 627                         i + 1 < rawtextlen && -128 <= rawtext[i + 1] && rawtext[i + 1] <= -65) {
 628                     goodbytes += 2;
 629                     i++;
 630                 } else if (-32 <= rawtext[i] && rawtext[i] <= -17 && // Three bytes
 631                         i + 2 < rawtextlen && -128 <= rawtext[i + 1] && rawtext[i + 1] <= -65 && -128 <= rawtext[i + 2]
 632                         && rawtext[i + 2] <= -65) {
 633                     goodbytes += 3;
 634                     i += 2;
 635                 }
 636             }
 637             if (asciibytes == rawtextlen) {
 638                 return 0;
 639             }
 640             score = (int) (100 * ((float) goodbytes / (float) (rawtextlen - asciibytes)));
 641             // System.out.println("rawtextlen " + rawtextlen + " goodbytes " +
 642             // goodbytes + " asciibytes " + asciibytes + " score " +
 643             // score);
 644             // If not above 98, reduce to zero to prevent coincidental matches
 645             // Allows for some (few) bad formed sequences
 646             if (score > 98) {
 647                 return score;
 648             } else if (score > 95 && goodbytes > 30) {
 649                 return score;
 650             } else {
 651                 return 0;
 652             }
 653         }
 654 
 655         /*
 656          * Function: utf16_probability Argument: byte array Returns : number from 0 to 100 representing probability text
 657          * in array uses UTF-16 encoding of Unicode, guess based on BOM // NOT VERY GENERAL, NEEDS MUCH MORE WORK
 658          */
 659         int utf16_probability(byte[] rawtext) {
 660             // int score = 0;
 661             // int i, rawtextlen = 0;
 662             // int goodbytes = 0, asciibytes = 0;
 663             if (rawtext.length > 1 && ((byte) 0xFE == rawtext[0] && (byte) 0xFF == rawtext[1]) || // Big-endian
 664                     ((byte) 0xFF == rawtext[0] && (byte) 0xFE == rawtext[1])) { // Little-endian
 665                 return 100;
 666             }
 667             return 0;
 668             /*
 669              * // Check to see if characters fit into acceptable ranges rawtextlen = rawtext.length; for (i = 0; i <
 670              * rawtextlen; i++) { if ((rawtext[i] & (byte)0x7F) == rawtext[i]) { // One byte goodbytes += 1;
 671              * asciibytes++; } else if ((rawtext[i] & (byte)0xDF) == rawtext[i]) { // Two bytes if (i+1 < rawtextlen &&
 672              * (rawtext[i+1] & (byte)0xBF) == rawtext[i+1]) { goodbytes += 2; i++; } } else if ((rawtext[i] &
 673              * (byte)0xEF) == rawtext[i]) { // Three bytes if (i+2 < rawtextlen && (rawtext[i+1] & (byte)0xBF) ==
 674              * rawtext[i+1] && (rawtext[i+2] & (byte)0xBF) == rawtext[i+2]) { goodbytes += 3; i+=2; } } }
 675              * 
 676              * score = (int)(100 * ((float)goodbytes/(float)rawtext.length)); // An all ASCII file is also a good UTF8
 677              * file, but I'd rather it // get identified as ASCII. Can delete following 3 lines otherwise if (goodbytes
 678              * == asciibytes) { score = 0; } // If not above 90, reduce to zero to prevent coincidental matches if
 679              * (score > 90) { return score; } else { return 0; }
 680              */
 681         }
 682 
 683         /*
 684          * Function: ascii_probability Argument: byte array Returns : number from 0 to 100 representing probability text
 685          * in array uses all ASCII Description: Sees if array has any characters not in ASCII range, if so, score is
 686          * reduced
 687          */
 688         int ascii_probability(byte[] rawtext) {
 689             int score = 75;
 690             int i, rawtextlen;
 691             rawtextlen = rawtext.length;
 692             for (i = 0; i < rawtextlen; i++) {
 693                 if (rawtext[i] < 0) {
 694                     score = score - 5;
 695                 } else if (rawtext[i] == (byte) 0x1B) { // ESC (used by ISO 2022)
 696                     score = score - 5;
 697                 }
 698                 if (score <= 0) {
 699                     return 0;
 700                 }
 701             }
 702             return score;
 703         }
 704 
 705         /*
 706          * Function: euc_kr__probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 707          * probability text in array uses EUC-KR encoding
 708          */
 709         int euc_kr_probability(byte[] rawtext) {
 710             int i, rawtextlen = 0;
 711             int dbchars = 1, krchars = 1;
 712             long krfreq = 0, totalfreq = 1;
 713             float rangeval = 0, freqval = 0;
 714             int row, column;
 715             // Stage 1: Check to see if characters fit into acceptable ranges
 716             rawtextlen = rawtext.length;
 717             for (i = 0; i < rawtextlen - 1; i++) {
 718                 // System.err.println(rawtext[i]);
 719                 if (rawtext[i] >= 0) {
 720                     // asciichars++;
 721                 } else {
 722                     dbchars++;
 723                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && (byte) 0xA1 <= rawtext[i + 1]
 724                             && rawtext[i + 1] <= (byte) 0xFE) {
 725                         krchars++;
 726                         totalfreq += 500;
 727                         row = rawtext[i] + 256 - 0xA1;
 728                         column = rawtext[i + 1] + 256 - 0xA1;
 729                         if (KRFreq[row][column] != 0) {
 730                             krfreq += KRFreq[row][column];
 731                         } else if (15 <= row && row < 55) {
 732                             krfreq += 0;
 733                         }
 734                     }
 735                     i++;
 736                 }
 737             }
 738             rangeval = 50 * ((float) krchars / (float) dbchars);
 739             freqval = 50 * ((float) krfreq / (float) totalfreq);
 740             return (int) (rangeval + freqval);
 741         }
 742 
 743         /*
 744          * Function: cp949__probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 745          * probability text in array uses Cp949 encoding
 746          */
 747         int cp949_probability(byte[] rawtext) {
 748             int i, rawtextlen = 0;
 749             int dbchars = 1, krchars = 1;
 750             long krfreq = 0, totalfreq = 1;
 751             float rangeval = 0, freqval = 0;
 752             int row, column;
 753             // Stage 1: Check to see if characters fit into acceptable ranges
 754             rawtextlen = rawtext.length;
 755             for (i = 0; i < rawtextlen - 1; i++) {
 756                 // System.err.println(rawtext[i]);
 757                 if (rawtext[i] >= 0) {
 758                     // asciichars++;
 759                 } else {
 760                     dbchars++;
 761                     if ((byte) 0x81 <= rawtext[i] && rawtext[i] <= (byte) 0xFE
 762                             && ((byte) 0x41 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x5A
 763                                     || (byte) 0x61 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x7A
 764                                     || (byte) 0x81 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFE)) {
 765                         krchars++;
 766                         totalfreq += 500;
 767                         if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && (byte) 0xA1 <= rawtext[i + 1]
 768                                 && rawtext[i + 1] <= (byte) 0xFE) {
 769                             row = rawtext[i] + 256 - 0xA1;
 770                             column = rawtext[i + 1] + 256 - 0xA1;
 771                             if (KRFreq[row][column] != 0) {
 772                                 krfreq += KRFreq[row][column];
 773                             }
 774                         }
 775                     }
 776                     i++;
 777                 }
 778             }
 779             rangeval = 50 * ((float) krchars / (float) dbchars);
 780             freqval = 50 * ((float) krfreq / (float) totalfreq);
 781             return (int) (rangeval + freqval);
 782         }
 783 
 784         int iso_2022_kr_probability(byte[] rawtext) {
 785             int i;
 786             for (i = 0; i < rawtext.length; i++) {
 787                 if (i + 3 < rawtext.length && rawtext[i] == 0x1b && (char) rawtext[i + 1] == '$' && (char) rawtext[i + 2] == ')'
 788                         && (char) rawtext[i + 3] == 'C') {
 789                     return 100;
 790                 }
 791             }
 792             return 0;
 793         }
 794 
 795         /*
 796          * Function: euc_jp_probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 797          * probability text in array uses EUC-JP encoding
 798          */
 799         int euc_jp_probability(byte[] rawtext) {
 800             int i, rawtextlen = 0;
 801             int dbchars = 1, jpchars = 1;
 802             long jpfreq = 0, totalfreq = 1;
 803             float rangeval = 0, freqval = 0;
 804             int row, column;
 805             // Stage 1: Check to see if characters fit into acceptable ranges
 806             rawtextlen = rawtext.length;
 807             for (i = 0; i < rawtextlen - 1; i++) {
 808                 // System.err.println(rawtext[i]);
 809                 if (rawtext[i] >= 0) {
 810                     // asciichars++;
 811                 } else {
 812                     dbchars++;
 813                     if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xFE && (byte) 0xA1 <= rawtext[i + 1]
 814                             && rawtext[i + 1] <= (byte) 0xFE) {
 815                         jpchars++;
 816                         totalfreq += 500;
 817                         row = rawtext[i] + 256 - 0xA1;
 818                         column = rawtext[i + 1] + 256 - 0xA1;
 819                         if (JPFreq[row][column] != 0) {
 820                             jpfreq += JPFreq[row][column];
 821                         } else if (15 <= row && row < 55) {
 822                             jpfreq += 0;
 823                         }
 824                     }
 825                     i++;
 826                 }
 827             }
 828             rangeval = 50 * ((float) jpchars / (float) dbchars);
 829             freqval = 50 * ((float) jpfreq / (float) totalfreq);
 830             return (int) (rangeval + freqval);
 831         }
 832 
 833         int iso_2022_jp_probability(byte[] rawtext) {
 834             int i;
 835             for (i = 0; i < rawtext.length; i++) {
 836                 if (i + 2 < rawtext.length && rawtext[i] == 0x1b && (char) rawtext[i + 1] == '$' && (char) rawtext[i + 2] == 'B') {
 837                     return 100;
 838                 }
 839             }
 840             return 0;
 841         }
 842 
 843         /*
 844          * Function: sjis_probability Argument: pointer to byte array Returns : number from 0 to 100 representing
 845          * probability text in array uses Shift-JIS encoding
 846          */
 847         int sjis_probability(byte[] rawtext) {
 848             int i, rawtextlen = 0;
 849             int dbchars = 1, jpchars = 1;
 850             long jpfreq = 0, totalfreq = 1;
 851             float rangeval = 0, freqval = 0;
 852             int row, column, adjust;
 853             // Stage 1: Check to see if characters fit into acceptable ranges
 854             rawtextlen = rawtext.length;
 855             for (i = 0; i < rawtextlen - 1; i++) {
 856                 // System.err.println(rawtext[i]);
 857                 if (rawtext[i] >= 0) {
 858                     // asciichars++;
 859                 } else {
 860                     dbchars++;
 861                     if (i + 1 < rawtext.length
 862                             && (((byte) 0x81 <= rawtext[i] && rawtext[i] <= (byte) 0x9F)
 863                                     || ((byte) 0xE0 <= rawtext[i] && rawtext[i] <= (byte) 0xEF))
 864                             && (((byte) 0x40 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0x7E)
 865                                     || ((byte) 0x80 <= rawtext[i + 1] && rawtext[i + 1] <= (byte) 0xFC))) {
 866                         jpchars++;
 867                         totalfreq += 500;
 868                         row = rawtext[i] + 256;
 869                         column = rawtext[i + 1] + 256;
 870                         if (column < 0x9f) {
 871                             adjust = 1;
 872                             if (column > 0x7f) {
 873                                 column -= 0x20;
 874                             } else {
 875                                 column -= 0x19;
 876                             }
 877                         } else {
 878                             adjust = 0;
 879                             column -= 0x7e;
 880                         }
 881                         if (row < 0xa0) {
 882                             row = ((row - 0x70) << 1) - adjust;
 883                         } else {
 884                             row = ((row - 0xb0) << 1) - adjust;
 885                         }
 886                         row -= 0x20;
 887                         column = 0x20;
 888                         // System.out.println("original row " + row + " column " +
 889                         // column);
 890                         if (row < JPFreq.length && column < JPFreq[row].length && JPFreq[row][column] != 0) {
 891                             jpfreq += JPFreq[row][column];
 892                         }
 893                         i++;
 894                     } else if ((byte) 0xA1 <= rawtext[i] && rawtext[i] <= (byte) 0xDF) {
 895                         // half-width katakana, convert to full-width
 896                     }
 897                 }
 898             }
 899             rangeval = 50 * ((float) jpchars / (float) dbchars);
 900             freqval = 50 * ((float) jpfreq / (float) totalfreq);
 901             // For regular GB files, this would give the same score, so I handicap
 902             // it slightly
 903             return (int) (rangeval + freqval) - 1;
 904         }
 905 
 906         void initialize_frequencies() {
 907             int i, j;
 908             for (i = 0; i < 94; i++) {
 909                 for (j = 0; j < 94; j++) {
 910                     GBFreq[i][j] = 0;
 911                 }
 912             }
 913             for (i = 0; i < 126; i++) {
 914                 for (j = 0; j < 191; j++) {
 915                     GBKFreq[i][j] = 0;
 916                 }
 917             }
 918             for (i = 0; i < 94; i++) {
 919                 for (j = 0; j < 158; j++) {
 920                     Big5Freq[i][j] = 0;
 921                 }
 922             }
 923             for (i = 0; i < 126; i++) {
 924                 for (j = 0; j < 191; j++) {
 925                     Big5PFreq[i][j] = 0;
 926                 }
 927             }
 928             for (i = 0; i < 94; i++) {
 929                 for (j = 0; j < 94; j++) {
 930                     EUC_TWFreq[i][j] = 0;
 931                 }
 932             }
 933             for (i = 0; i < 94; i++) {
 934                 for (j = 0; j < 94; j++) {
 935                     JPFreq[i][j] = 0;
 936                 }
 937             }
 938             GBFreq[20][35] = 599;
 939             GBFreq[49][26] = 598;
 940             GBFreq[41][38] = 597;
 941             GBFreq[17][26] = 596;
 942             GBFreq[32][42] = 595;
 943             GBFreq[39][42] = 594;
 944             GBFreq[45][49] = 593;
 945             GBFreq[51][57] = 592;
 946             GBFreq[50][47] = 591;
 947             GBFreq[42][90] = 590;
 948             GBFreq[52][65] = 589;
 949             GBFreq[53][47] = 588;
 950             GBFreq[19][82] = 587;
 951             GBFreq[31][19] = 586;
 952             GBFreq[40][46] = 585;
 953             GBFreq[24][89] = 584;
 954             GBFreq[23][85] = 583;
 955             GBFreq[20][28] = 582;
 956             GBFreq[42][20] = 581;
 957             GBFreq[34][38] = 580;
 958             GBFreq[45][9] = 579;
 959             GBFreq[54][50] = 578;
 960             GBFreq[25][44] = 577;
 961             GBFreq[35][66] = 576;
 962             GBFreq[20][55] = 575;
 963             GBFreq[18][85] = 574;
 964             GBFreq[20][31] = 573;
 965             GBFreq[49][17] = 572;
 966             GBFreq[41][16] = 571;
 967             GBFreq[35][73] = 570;
 968             GBFreq[20][34] = 569;
 969             GBFreq[29][44] = 568;
 970             GBFreq[35][38] = 567;
 971             GBFreq[49][9] = 566;
 972             GBFreq[46][33] = 565;
 973             GBFreq[49][51] = 564;
 974             GBFreq[40][89] = 563;
 975             GBFreq[26][64] = 562;
 976             GBFreq[54][51] = 561;
 977             GBFreq[54][36] = 560;
 978             GBFreq[39][4] = 559;
 979             GBFreq[53][13] = 558;
 980             GBFreq[24][92] = 557;
 981             GBFreq[27][49] = 556;
 982             GBFreq[48][6] = 555;
 983             GBFreq[21][51] = 554;
 984             GBFreq[30][40] = 553;
 985             GBFreq[42][92] = 552;
 986             GBFreq[31][78] = 551;
 987             GBFreq[25][82] = 550;
 988             GBFreq[47][0] = 549;
 989             GBFreq[34][19] = 548;
 990             GBFreq[47][35] = 547;
 991             GBFreq[21][63] = 546;
 992             GBFreq[43][75] = 545;
 993             GBFreq[21][87] = 544;
 994             GBFreq[35][59] = 543;
 995             GBFreq[25][34] = 542;
 996             GBFreq[21][27] = 541;
 997             GBFreq[39][26] = 540;
 998             GBFreq[34][26] = 539;
 999             GBFreq[39][52] = 538;
1000             GBFreq[50][57] = 537;
1001             GBFreq[37][79] = 536;
1002             GBFreq[26][24] = 535;
1003             GBFreq[22][1] = 534;
1004             GBFreq[18][40] = 533;
1005             GBFreq[41][33] = 532;
1006             GBFreq[53][26] = 531;
1007             GBFreq[54][86] = 530;
1008             GBFreq[20][16] = 529;
1009             GBFreq[46][74] = 528;
1010             GBFreq[30][19] = 527;
1011             GBFreq[45][35] = 526;
1012             GBFreq[45][61] = 525;
1013             GBFreq[30][9] = 524;
1014             GBFreq[41][53] = 523;
1015             GBFreq[41][13] = 522;
1016             GBFreq[50][34] = 521;
1017             GBFreq[53][86] = 520;
1018             GBFreq[47][47] = 519;
1019             GBFreq[22][28] = 518;
1020             GBFreq[50][53] = 517;
1021             GBFreq[39][70] = 516;
1022             GBFreq[38][15] = 515;
1023             GBFreq[42][88] = 514;
1024             GBFreq[16][29] = 513;
1025             GBFreq[27][90] = 512;
1026             GBFreq[29][12] = 511;
1027             GBFreq[44][22] = 510;
1028             GBFreq[34][69] = 509;
1029             GBFreq[24][10] = 508;
1030             GBFreq[44][11] = 507;
1031             GBFreq[39][92] = 506;
1032             GBFreq[49][48] = 505;
1033             GBFreq[31][46] = 504;
1034             GBFreq[19][50] = 503;
1035             GBFreq[21][14] = 502;
1036             GBFreq[32][28] = 501;
1037             GBFreq[18][3] = 500;
1038             GBFreq[53][9] = 499;
1039             GBFreq[34][80] = 498;
1040             GBFreq[48][88] = 497;
1041             GBFreq[46][53] = 496;
1042             GBFreq[22][53] = 495;
1043             GBFreq[28][10] = 494;
1044             GBFreq[44][65] = 493;
1045             GBFreq[20][10] = 492;
1046             GBFreq[40][76] = 491;
1047             GBFreq[47][8] = 490;
1048             GBFreq[50][74] = 489;
1049             GBFreq[23][62] = 488;
1050             GBFreq[49][65] = 487;
1051             GBFreq[28][87] = 486;
1052             GBFreq[15][48] = 485;
1053             GBFreq[22][7] = 484;
1054             GBFreq[19][42] = 483;
1055             GBFreq[41][20] = 482;
1056             GBFreq[26][55] = 481;
1057             GBFreq[21][93] = 480;
1058             GBFreq[31][76] = 479;
1059             GBFreq[34][31] = 478;
1060             GBFreq[20][66] = 477;
1061             GBFreq[51][33] = 476;
1062             GBFreq[34][86] = 475;
1063             GBFreq[37][67] = 474;
1064             GBFreq[53][53] = 473;
1065             GBFreq[40][88] = 472;
1066             GBFreq[39][10] = 471;
1067             GBFreq[24][3] = 470;
1068             GBFreq[27][25] = 469;
1069             GBFreq[26][15] = 468;
1070             GBFreq[21][88] = 467;
1071             GBFreq[52][62] = 466;
1072             GBFreq[46][81] = 465;
1073             GBFreq[38][72] = 464;
1074             GBFreq[17][30] = 463;
1075             GBFreq[52][92] = 462;
1076             GBFreq[34][90] = 461;
1077             GBFreq[21][7] = 460;
1078             GBFreq[36][13] = 459;
1079             GBFreq[45][41] = 458;
1080             GBFreq[32][5] = 457;
1081             GBFreq[26][89] = 456;
1082             GBFreq[23][87] = 455;
1083             GBFreq[20][39] = 454;
1084             GBFreq[27][23] = 453;
1085             GBFreq[25][59] = 452;
1086             GBFreq[49][20] = 451;
1087             GBFreq[54][77] = 450;
1088             GBFreq[27][67] = 449;
1089             GBFreq[47][33] = 448;
1090             GBFreq[41][17] = 447;
1091             GBFreq[19][81] = 446;
1092             GBFreq[16][66] = 445;
1093             GBFreq[45][26] = 444;
1094             GBFreq[49][81] = 443;
1095             GBFreq[53][55] = 442;
1096             GBFreq[16][26] = 441;
1097             GBFreq[54][62] = 440;
1098             GBFreq[20][70] = 439;
1099             GBFreq[42][35] = 438;
1100             GBFreq[20][57] = 437;
1101             GBFreq[34][36] = 436;
1102             GBFreq[46][63] = 435;
1103             GBFreq[19][45] = 434;
1104             GBFreq[21][10] = 433;
1105             GBFreq[52][93] = 432;
1106             GBFreq[25][2] = 431;
1107             GBFreq[30][57] = 430;
1108             GBFreq[41][24] = 429;
1109             GBFreq[28][43] = 428;
1110             GBFreq[45][86] = 427;
1111             GBFreq[51][56] = 426;
1112             GBFreq[37][28] = 425;
1113             GBFreq[52][69] = 424;
1114             GBFreq[43][92] = 423;
1115             GBFreq[41][31] = 422;
1116             GBFreq[37][87] = 421;
1117             GBFreq[47][36] = 420;
1118             GBFreq[16][16] = 419;
1119             GBFreq[40][56] = 418;
1120             GBFreq[24][55] = 417;
1121             GBFreq[17][1] = 416;
1122             GBFreq[35][57] = 415;
1123             GBFreq[27][50] = 414;
1124             GBFreq[26][14] = 413;
1125             GBFreq[50][40] = 412;
1126             GBFreq[39][19] = 411;
1127             GBFreq[19][89] = 410;
1128             GBFreq[29][91] = 409;
1129             GBFreq[17][89] = 408;
1130             GBFreq[39][74] = 407;
1131             GBFreq[46][39] = 406;
1132             GBFreq[40][28] = 405;
1133             GBFreq[45][68] = 404;
1134             GBFreq[43][10] = 403;
1135             GBFreq[42][13] = 402;
1136             GBFreq[44][81] = 401;
1137             GBFreq[41][47] = 400;
1138             GBFreq[48][58] = 399;
1139             GBFreq[43][68] = 398;
1140             GBFreq[16][79] = 397;
1141             GBFreq[19][5] = 396;
1142             GBFreq[54][59] = 395;
1143             GBFreq[17][36] = 394;
1144             GBFreq[18][0] = 393;
1145             GBFreq[41][5] = 392;
1146             GBFreq[41][72] = 391;
1147             GBFreq[16][39] = 390;
1148             GBFreq[54][0] = 389;
1149             GBFreq[51][16] = 388;
1150             GBFreq[29][36] = 387;
1151             GBFreq[47][5] = 386;
1152             GBFreq[47][51] = 385;
1153             GBFreq[44][7] = 384;
1154             GBFreq[35][30] = 383;
1155             GBFreq[26][9] = 382;
1156             GBFreq[16][7] = 381;
1157             GBFreq[32][1] = 380;
1158             GBFreq[33][76] = 379;
1159             GBFreq[34][91] = 378;
1160             GBFreq[52][36] = 377;
1161             GBFreq[26][77] = 376;
1162             GBFreq[35][48] = 375;
1163             GBFreq[40][80] = 374;
1164             GBFreq[41][92] = 373;
1165             GBFreq[27][93] = 372;
1166             GBFreq[15][17] = 371;
1167             GBFreq[16][76] = 370;
1168             GBFreq[51][12] = 369;
1169             GBFreq[18][20] = 368;
1170             GBFreq[15][54] = 367;
1171             GBFreq[50][5] = 366;
1172             GBFreq[33][22] = 365;
1173             GBFreq[37][57] = 364;
1174             GBFreq[28][47] = 363;
1175             GBFreq[42][31] = 362;
1176             GBFreq[18][2] = 361;
1177             GBFreq[43][64] = 360;
1178             GBFreq[23][47] = 359;
1179             GBFreq[28][79] = 358;
1180             GBFreq[25][45] = 357;
1181             GBFreq[23][91] = 356;
1182             GBFreq[22][19] = 355;
1183             GBFreq[25][46] = 354;
1184             GBFreq[22][36] = 353;
1185             GBFreq[54][85] = 352;
1186             GBFreq[46][20] = 351;
1187             GBFreq[27][37] = 350;
1188             GBFreq[26][81] = 349;
1189             GBFreq[42][29] = 348;
1190             GBFreq[31][90] = 347;
1191             GBFreq[41][59] = 346;
1192             GBFreq[24][65] = 345;
1193             GBFreq[44][84] = 344;
1194             GBFreq[24][90] = 343;
1195             GBFreq[38][54] = 342;
1196             GBFreq[28][70] = 341;
1197             GBFreq[27][15] = 340;
1198             GBFreq[28][80] = 339;
1199             GBFreq[29][8] = 338;
1200             GBFreq[45][80] = 337;
1201             GBFreq[53][37] = 336;
1202             GBFreq[28][65] = 335;
1203             GBFreq[23][86] = 334;
1204             GBFreq[39][45] = 333;
1205             GBFreq[53][32] = 332;
1206             GBFreq[38][68] = 331;
1207             GBFreq[45][78] = 330;
1208             GBFreq[43][7] = 329;
1209             GBFreq[46][82] = 328;
1210             GBFreq[27][38] = 327;
1211             GBFreq[16][62] = 326;
1212             GBFreq[24][17] = 325;
1213             GBFreq[22][70] = 324;
1214             GBFreq[52][28] = 323;
1215             GBFreq[23][40] = 322;
1216             GBFreq[28][50] = 321;
1217             GBFreq[42][91] = 320;
1218             GBFreq[47][76] = 319;
1219             GBFreq[15][42] = 318;
1220             GBFreq[43][55] = 317;
1221             GBFreq[29][84] = 316;
1222             GBFreq[44][90] = 315;
1223             GBFreq[53][16] = 314;
1224             GBFreq[22][93] = 313;
1225             GBFreq[34][10] = 312;
1226             GBFreq[32][53] = 311;
1227             GBFreq[43][65] = 310;
1228             GBFreq[28][7] = 309;
1229             GBFreq[35][46] = 308;
1230             GBFreq[21][39] = 307;
1231             GBFreq[44][18] = 306;
1232             GBFreq[40][10] = 305;
1233             GBFreq[54][53] = 304;
1234             GBFreq[38][74] = 303;
1235             GBFreq[28][26] = 302;
1236             GBFreq[15][13] = 301;
1237             GBFreq[39][34] = 300;
1238             GBFreq[39][46] = 299;
1239             GBFreq[42][66] = 298;
1240             GBFreq[33][58] = 297;
1241             GBFreq[15][56] = 296;
1242             GBFreq[18][51] = 295;
1243             GBFreq[49][68] = 294;
1244             GBFreq[30][37] = 293;
1245             GBFreq[51][84] = 292;
1246             GBFreq[51][9] = 291;
1247             GBFreq[40][70] = 290;
1248             GBFreq[41][84] = 289;
1249             GBFreq[28][64] = 288;
1250             GBFreq[32][88] = 287;
1251             GBFreq[24][5] = 286;
1252             GBFreq[53][23] = 285;
1253             GBFreq[42][27] = 284;
1254             GBFreq[22][38] = 283;
1255             GBFreq[32][86] = 282;
1256             GBFreq[34][30] = 281;
1257             GBFreq[38][63] = 280;
1258             GBFreq[24][59] = 279;
1259             GBFreq[22][81] = 278;
1260             GBFreq[32][11] = 277;
1261             GBFreq[51][21] = 276;
1262             GBFreq[54][41] = 275;
1263             GBFreq[21][50] = 274;
1264             GBFreq[23][89] = 273;
1265             GBFreq[19][87] = 272;
1266             GBFreq[26][7] = 271;
1267             GBFreq[30][75] = 270;
1268             GBFreq[43][84] = 269;
1269             GBFreq[51][25] = 268;
1270             GBFreq[16][67] = 267;
1271             GBFreq[32][9] = 266;
1272             GBFreq[48][51] = 265;
1273             GBFreq[39][7] = 264;
1274             GBFreq[44][88] = 263;
1275             GBFreq[52][24] = 262;
1276             GBFreq[23][34] = 261;
1277             GBFreq[32][75] = 260;
1278             GBFreq[19][10] = 259;
1279             GBFreq[28][91] = 258;
1280             GBFreq[32][83] = 257;
1281             GBFreq[25][75] = 256;
1282             GBFreq[53][45] = 255;
1283             GBFreq[29][85] = 254;
1284             GBFreq[53][59] = 253;
1285             GBFreq[16][2] = 252;
1286             GBFreq[19][78] = 251;
1287             GBFreq[15][75] = 250;
1288             GBFreq[51][42] = 249;
1289             GBFreq[45][67] = 248;
1290             GBFreq[15][74] = 247;
1291             GBFreq[25][81] = 246;
1292             GBFreq[37][62] = 245;
1293             GBFreq[16][55] = 244;
1294             GBFreq[18][38] = 243;
1295             GBFreq[23][23] = 242;
1296             GBFreq[38][30] = 241;
1297             GBFreq[17][28] = 240;
1298             GBFreq[44][73] = 239;
1299             GBFreq[23][78] = 238;
1300             GBFreq[40][77] = 237;
1301             GBFreq[38][87] = 236;
1302             GBFreq[27][19] = 235;
1303             GBFreq[38][82] = 234;
1304             GBFreq[37][22] = 233;
1305             GBFreq[41][30] = 232;
1306             GBFreq[54][9] = 231;
1307             GBFreq[32][30] = 230;
1308             GBFreq[30][52] = 229;
1309             GBFreq[40][84] = 228;
1310             GBFreq[53][57] = 227;
1311             GBFreq[27][27] = 226;
1312             GBFreq[38][64] = 225;
1313             GBFreq[18][43] = 224;
1314             GBFreq[23][69] = 223;
1315             GBFreq[28][12] = 222;
1316             GBFreq[50][78] = 221;
1317             GBFreq[50][1] = 220;
1318             GBFreq[26][88] = 219;
1319             GBFreq[36][40] = 218;
1320             GBFreq[33][89] = 217;
1321             GBFreq[41][28] = 216;
1322             GBFreq[31][77] = 215;
1323             GBFreq[46][1] = 214;
1324             GBFreq[47][19] = 213;
1325             GBFreq[35][55] = 212;
1326             GBFreq[41][21] = 211;
1327             GBFreq[27][10] = 210;
1328             GBFreq[32][77] = 209;
1329             GBFreq[26][37] = 208;
1330             GBFreq[20][33] = 207;
1331             GBFreq[41][52] = 206;
1332             GBFreq[32][18] = 205;
1333             GBFreq[38][13] = 204;
1334             GBFreq[20][18] = 203;
1335             GBFreq[20][24] = 202;
1336             GBFreq[45][19] = 201;
1337             GBFreq[18][53] = 200;
1338             /*
1339              * GBFreq[39][0] = 199; GBFreq[40][71] = 198; GBFreq[41][27] = 197; GBFreq[15][69] = 196; GBFreq[42][10] =
1340              * 195; GBFreq[31][89] = 194; GBFreq[51][28] = 193; GBFreq[41][22] = 192; GBFreq[40][43] = 191;
1341              * GBFreq[38][6] = 190; GBFreq[37][11] = 189; GBFreq[39][60] = 188; GBFreq[48][47] = 187; GBFreq[46][80] =
1342              * 186; GBFreq[52][49] = 185; GBFreq[50][48] = 184; GBFreq[25][1] = 183; GBFreq[52][29] = 182;
1343              * GBFreq[24][66] = 181; GBFreq[23][35] = 180; GBFreq[49][72] = 179; GBFreq[47][45] = 178; GBFreq[45][14] =
1344              * 177; GBFreq[51][70] = 176; GBFreq[22][30] = 175; GBFreq[49][83] = 174; GBFreq[26][79] = 173;
1345              * GBFreq[27][41] = 172; GBFreq[51][81] = 171; GBFreq[41][54] = 170; GBFreq[20][4] = 169; GBFreq[29][60] =
1346              * 168; GBFreq[20][27] = 167; GBFreq[50][15] = 166; GBFreq[41][6] = 165; GBFreq[35][34] = 164;
1347              * GBFreq[44][87] = 163; GBFreq[46][66] = 162; GBFreq[42][37] = 161; GBFreq[42][24] = 160; GBFreq[54][7] =
1348              * 159; GBFreq[41][14] = 158; GBFreq[39][83] = 157; GBFreq[16][87] = 156; GBFreq[20][59] = 155;
1349              * GBFreq[42][12] = 154; GBFreq[47][2] = 153; GBFreq[21][32] = 152; GBFreq[53][29] = 151; GBFreq[22][40] =
1350              * 150; GBFreq[24][58] = 149; GBFreq[52][88] = 148; GBFreq[29][30] = 147; GBFreq[15][91] = 146;
1351              * GBFreq[54][72] = 145; GBFreq[51][75] = 144; GBFreq[33][67] = 143; GBFreq[41][50] = 142; GBFreq[27][34] =
1352              * 141; GBFreq[46][17] = 140; GBFreq[31][74] = 139; GBFreq[42][67] = 138; GBFreq[54][87] = 137;
1353              * GBFreq[27][14] = 136; GBFreq[16][63] = 135; GBFreq[16][5] = 134; GBFreq[43][23] = 133; GBFreq[23][13] =
1354              * 132; GBFreq[31][12] = 131; GBFreq[25][57] = 130; GBFreq[38][49] = 129; GBFreq[42][69] = 128;
1355              * GBFreq[23][80] = 127; GBFreq[29][0] = 126; GBFreq[28][2] = 125; GBFreq[28][17] = 124; GBFreq[17][27] =
1356              * 123; GBFreq[40][16] = 122; GBFreq[45][1] = 121; GBFreq[36][33] = 120; GBFreq[35][23] = 119;
1357              * GBFreq[20][86] = 118; GBFreq[29][53] = 117; GBFreq[23][88] = 116; GBFreq[51][87] = 115; GBFreq[54][27] =
1358              * 114; GBFreq[44][36] = 113; GBFreq[21][45] = 112; GBFreq[53][52] = 111; GBFreq[31][53] = 110;
1359              * GBFreq[38][47] = 109; GBFreq[27][21] = 108; GBFreq[30][42] = 107; GBFreq[29][10] = 106; GBFreq[35][35] =
1360              * 105; GBFreq[24][56] = 104; GBFreq[41][29] = 103; GBFreq[18][68] = 102; GBFreq[29][24] = 101;
1361              * GBFreq[25][84] = 100; GBFreq[35][47] = 99; GBFreq[29][56] = 98; GBFreq[30][44] = 97; GBFreq[53][3] = 96;
1362              * GBFreq[30][63] = 95; GBFreq[52][52] = 94; GBFreq[54][1] = 93; GBFreq[22][48] = 92; GBFreq[54][66] = 91;
1363              * GBFreq[21][90] = 90; GBFreq[52][47] = 89; GBFreq[39][25] = 88; GBFreq[39][39] = 87; GBFreq[44][37] = 86;
1364              * GBFreq[44][76] = 85; GBFreq[46][75] = 84; GBFreq[18][37] = 83; GBFreq[47][42] = 82; GBFreq[19][92] = 81;
1365              * GBFreq[51][27] = 80; GBFreq[48][83] = 79; GBFreq[23][70] = 78; GBFreq[29][9] = 77; GBFreq[33][79] = 76;
1366              * GBFreq[52][90] = 75; GBFreq[53][6] = 74; GBFreq[24][36] = 73; GBFreq[25][25] = 72; GBFreq[44][26] = 71;
1367              * GBFreq[25][36] = 70; GBFreq[29][87] = 69; GBFreq[48][0] = 68; GBFreq[15][40] = 67; GBFreq[17][45] = 66;
1368              * GBFreq[30][14] = 65; GBFreq[48][38] = 64; GBFreq[23][19] = 63; GBFreq[40][42] = 62; GBFreq[31][63] = 61;
1369              * GBFreq[16][23] = 60; GBFreq[26][21] = 59; GBFreq[32][76] = 58; GBFreq[23][58] = 57; GBFreq[41][37] = 56;
1370              * GBFreq[30][43] = 55; GBFreq[47][38] = 54; GBFreq[21][46] = 53; GBFreq[18][33] = 52; GBFreq[52][37] = 51;
1371              * GBFreq[36][8] = 50; GBFreq[49][24] = 49; GBFreq[15][66] = 48; GBFreq[35][77] = 47; GBFreq[27][58] = 46;
1372              * GBFreq[35][51] = 45; GBFreq[24][69] = 44; GBFreq[20][54] = 43; GBFreq[24][41] = 42; GBFreq[41][0] = 41;
1373              * GBFreq[33][71] = 40; GBFreq[23][52] = 39; GBFreq[29][67] = 38; GBFreq[46][51] = 37; GBFreq[46][90] = 36;
1374              * GBFreq[49][33] = 35; GBFreq[33][28] = 34; GBFreq[37][86] = 33; GBFreq[39][22] = 32; GBFreq[37][37] = 31;
1375              * GBFreq[29][62] = 30; GBFreq[29][50] = 29; GBFreq[36][89] = 28; GBFreq[42][44] = 27; GBFreq[51][82] = 26;
1376              * GBFreq[28][83] = 25; GBFreq[15][78] = 24; GBFreq[46][62] = 23; GBFreq[19][69] = 22; GBFreq[51][23] = 21;
1377              * GBFreq[37][69] = 20; GBFreq[25][5] = 19; GBFreq[51][85] = 18; GBFreq[48][77] = 17; GBFreq[32][46] = 16;
1378              * GBFreq[53][60] = 15; GBFreq[28][57] = 14; GBFreq[54][82] = 13; GBFreq[54][15] = 12; GBFreq[49][54] = 11;
1379              * GBFreq[53][87] = 10; GBFreq[27][16] = 9; GBFreq[29][34] = 8; GBFreq[20][44] = 7; GBFreq[42][73] = 6;
1380              * GBFreq[47][71] = 5; GBFreq[29][37] = 4; GBFreq[25][50] = 3; GBFreq[18][84] = 2; GBFreq[50][45] = 1;
1381              * GBFreq[48][46] = 0;
1382              */
1383             // GBFreq[43][89] = -1; GBFreq[54][68] = -2;
1384             Big5Freq[9][89] = 600;
1385             Big5Freq[11][15] = 599;
1386             Big5Freq[3][66] = 598;
1387             Big5Freq[6][121] = 597;
1388             Big5Freq[3][0] = 596;
1389             Big5Freq[5][82] = 595;
1390             Big5Freq[3][42] = 594;
1391             Big5Freq[5][34] = 593;
1392             Big5Freq[3][8] = 592;
1393             Big5Freq[3][6] = 591;
1394             Big5Freq[3][67] = 590;
1395             Big5Freq[7][139] = 589;
1396             Big5Freq[23][137] = 588;
1397             Big5Freq[12][46] = 587;
1398             Big5Freq[4][8] = 586;
1399             Big5Freq[4][41] = 585;
1400             Big5Freq[18][47] = 584;
1401             Big5Freq[12][114] = 583;
1402             Big5Freq[6][1] = 582;
1403             Big5Freq[22][60] = 581;
1404             Big5Freq[5][46] = 580;
1405             Big5Freq[11][79] = 579;
1406             Big5Freq[3][23] = 578;
1407             Big5Freq[7][114] = 577;
1408             Big5Freq[29][102] = 576;
1409             Big5Freq[19][14] = 575;
1410             Big5Freq[4][133] = 574;
1411             Big5Freq[3][29] = 573;
1412             Big5Freq[4][109] = 572;
1413             Big5Freq[14][127] = 571;
1414             Big5Freq[5][48] = 570;
1415             Big5Freq[13][104] = 569;
1416             Big5Freq[3][132] = 568;
1417             Big5Freq[26][64] = 567;
1418             Big5Freq[7][19] = 566;
1419             Big5Freq[4][12] = 565;
1420             Big5Freq[11][124] = 564;
1421             Big5Freq[7][89] = 563;
1422             Big5Freq[15][124] = 562;
1423             Big5Freq[4][108] = 561;
1424             Big5Freq[19][66] = 560;
1425             Big5Freq[3][21] = 559;
1426             Big5Freq[24][12] = 558;
1427             Big5Freq[28][111] = 557;
1428             Big5Freq[12][107] = 556;
1429             Big5Freq[3][112] = 555;
1430             Big5Freq[8][113] = 554;
1431             Big5Freq[5][40] = 553;
1432             Big5Freq[26][145] = 552;
1433             Big5Freq[3][48] = 551;
1434             Big5Freq[3][70] = 550;
1435             Big5Freq[22][17] = 549;
1436             Big5Freq[16][47] = 548;
1437             Big5Freq[3][53] = 547;
1438             Big5Freq[4][24] = 546;
1439             Big5Freq[32][120] = 545;
1440             Big5Freq[24][49] = 544;
1441             Big5Freq[24][142] = 543;
1442             Big5Freq[18][66] = 542;
1443             Big5Freq[29][150] = 541;
1444             Big5Freq[5][122] = 540;
1445             Big5Freq[5][114] = 539;
1446             Big5Freq[3][44] = 538;
1447             Big5Freq[10][128] = 537;
1448             Big5Freq[15][20] = 536;
1449             Big5Freq[13][33] = 535;
1450             Big5Freq[14][87] = 534;
1451             Big5Freq[3][126] = 533;
1452             Big5Freq[4][53] = 532;
1453             Big5Freq[4][40] = 531;
1454             Big5Freq[9][93] = 530;
1455             Big5Freq[15][137] = 529;
1456             Big5Freq[10][123] = 528;
1457             Big5Freq[4][56] = 527;
1458             Big5Freq[5][71] = 526;
1459             Big5Freq[10][8] = 525;
1460             Big5Freq[5][16] = 524;
1461             Big5Freq[5][146] = 523;
1462             Big5Freq[18][88] = 522;
1463             Big5Freq[24][4] = 521;
1464             Big5Freq[20][47] = 520;
1465             Big5Freq[5][33] = 519;
1466             Big5Freq[9][43] = 518;
1467             Big5Freq[20][12] = 517;
1468             Big5Freq[20][13] = 516;
1469             Big5Freq[5][156] = 515;
1470             Big5Freq[22][140] = 514;
1471             Big5Freq[8][146] = 513;
1472             Big5Freq[21][123] = 512;
1473             Big5Freq[4][90] = 511;
1474             Big5Freq[5][62] = 510;
1475             Big5Freq[17][59] = 509;
1476             Big5Freq[10][37] = 508;
1477             Big5Freq[18][107] = 507;
1478             Big5Freq[14][53] = 506;
1479             Big5Freq[22][51] = 505;
1480             Big5Freq[8][13] = 504;
1481             Big5Freq[5][29] = 503;
1482             Big5Freq[9][7] = 502;
1483             Big5Freq[22][14] = 501;
1484             Big5Freq[8][55] = 500;
1485             Big5Freq[33][9] = 499;
1486             Big5Freq[16][64] = 498;
1487             Big5Freq[7][131] = 497;
1488             Big5Freq[34][4] = 496;
1489             Big5Freq[7][101] = 495;
1490             Big5Freq[11][139] = 494;
1491             Big5Freq[3][135] = 493;
1492             Big5Freq[7][102] = 492;
1493             Big5Freq[17][13] = 491;
1494             Big5Freq[3][20] = 490;
1495             Big5Freq[27][106] = 489;
1496             Big5Freq[5][88] = 488;
1497             Big5Freq[6][33] = 487;
1498             Big5Freq[5][139] = 486;
1499             Big5Freq[6][0] = 485;
1500             Big5Freq[17][58] = 484;
1501             Big5Freq[5][133] = 483;
1502             Big5Freq[9][107] = 482;
1503             Big5Freq[23][39] = 481;
1504             Big5Freq[5][23] = 480;
1505             Big5Freq[3][79] = 479;
1506             Big5Freq[32][97] = 478;
1507             Big5Freq[3][136] = 477;
1508             Big5Freq[4][94] = 476;
1509             Big5Freq[21][61] = 475;
1510             Big5Freq[23][123] = 474;
1511             Big5Freq[26][16] = 473;
1512             Big5Freq[24][137] = 472;
1513             Big5Freq[22][18] = 471;
1514             Big5Freq[5][1] = 470;
1515             Big5Freq[20][119] = 469;
1516             Big5Freq[3][7] = 468;
1517             Big5Freq[10][79] = 467;
1518             Big5Freq[15][105] = 466;
1519             Big5Freq[3][144] = 465;
1520             Big5Freq[12][80] = 464;
1521             Big5Freq[15][73] = 463;
1522             Big5Freq[3][19] = 462;
1523             Big5Freq[8][109] = 461;
1524             Big5Freq[3][15] = 460;
1525             Big5Freq[31][82] = 459;
1526             Big5Freq[3][43] = 458;
1527             Big5Freq[25][119] = 457;
1528             Big5Freq[16][111] = 456;
1529             Big5Freq[7][77] = 455;
1530             Big5Freq[3][95] = 454;
1531             Big5Freq[24][82] = 453;
1532             Big5Freq[7][52] = 452;
1533             Big5Freq[9][151] = 451;
1534             Big5Freq[3][129] = 450;
1535             Big5Freq[5][87] = 449;
1536             Big5Freq[3][55] = 448;
1537             Big5Freq[8][153] = 447;
1538             Big5Freq[4][83] = 446;
1539             Big5Freq[3][114] = 445;
1540             Big5Freq[23][147] = 444;
1541             Big5Freq[15][31] = 443;
1542             Big5Freq[3][54] = 442;
1543             Big5Freq[11][122] = 441;
1544             Big5Freq[4][4] = 440;
1545             Big5Freq[34][149] = 439;
1546             Big5Freq[3][17] = 438;
1547             Big5Freq[21][64] = 437;
1548             Big5Freq[26][144] = 436;
1549             Big5Freq[4][62] = 435;
1550             Big5Freq[8][15] = 434;
1551             Big5Freq[35][80] = 433;
1552             Big5Freq[7][110] = 432;
1553             Big5Freq[23][114] = 431;
1554             Big5Freq[3][108] = 430;
1555             Big5Freq[3][62] = 429;
1556             Big5Freq[21][41] = 428;
1557             Big5Freq[15][99] = 427;
1558             Big5Freq[5][47] = 426;
1559             Big5Freq[4][96] = 425;
1560             Big5Freq[20][122] = 424;
1561             Big5Freq[5][21] = 423;
1562             Big5Freq[4][157] = 422;
1563             Big5Freq[16][14] = 421;
1564             Big5Freq[3][117] = 420;
1565             Big5Freq[7][129] = 419;
1566             Big5Freq[4][27] = 418;
1567             Big5Freq[5][30] = 417;
1568             Big5Freq[22][16] = 416;
1569             Big5Freq[5][64] = 415;
1570             Big5Freq[17][99] = 414;
1571             Big5Freq[17][57] = 413;
1572             Big5Freq[8][105] = 412;
1573             Big5Freq[5][112] = 411;
1574             Big5Freq[20][59] = 410;
1575             Big5Freq[6][129] = 409;
1576             Big5Freq[18][17] = 408;
1577             Big5Freq[3][92] = 407;
1578             Big5Freq[28][118] = 406;
1579             Big5Freq[3][109] = 405;
1580             Big5Freq[31][51] = 404;
1581             Big5Freq[13][116] = 403;
1582             Big5Freq[6][15] = 402;
1583             Big5Freq[36][136] = 401;
1584             Big5Freq[12][74] = 400;
1585             Big5Freq[20][88] = 399;
1586             Big5Freq[36][68] = 398;
1587             Big5Freq[3][147] = 397;
1588             Big5Freq[15][84] = 396;
1589             Big5Freq[16][32] = 395;
1590             Big5Freq[16][58] = 394;
1591             Big5Freq[7][66] = 393;
1592             Big5Freq[23][107] = 392;
1593             Big5Freq[9][6] = 391;
1594             Big5Freq[12][86] = 390;
1595             Big5Freq[23][112] = 389;
1596             Big5Freq[37][23] = 388;
1597             Big5Freq[3][138] = 387;
1598             Big5Freq[20][68] = 386;
1599             Big5Freq[15][116] = 385;
1600             Big5Freq[18][64] = 384;
1601             Big5Freq[12][139] = 383;
1602             Big5Freq[11][155] = 382;
1603             Big5Freq[4][156] = 381;
1604             Big5Freq[12][84] = 380;
1605             Big5Freq[18][49] = 379;
1606             Big5Freq[25][125] = 378;
1607             Big5Freq[25][147] = 377;
1608             Big5Freq[15][110] = 376;
1609             Big5Freq[19][96] = 375;
1610             Big5Freq[30][152] = 374;
1611             Big5Freq[6][31] = 373;
1612             Big5Freq[27][117] = 372;
1613             Big5Freq[3][10] = 371;
1614             Big5Freq[6][131] = 370;
1615             Big5Freq[13][112] = 369;
1616             Big5Freq[36][156] = 368;
1617             Big5Freq[4][60] = 367;
1618             Big5Freq[15][121] = 366;
1619             Big5Freq[4][112] = 365;
1620             Big5Freq[30][142] = 364;
1621             Big5Freq[23][154] = 363;
1622             Big5Freq[27][101] = 362;
1623             Big5Freq[9][140] = 361;
1624             Big5Freq[3][89] = 360;
1625             Big5Freq[18][148] = 359;
1626             Big5Freq[4][69] = 358;
1627             Big5Freq[16][49] = 357;
1628             Big5Freq[6][117] = 356;
1629             Big5Freq[36][55] = 355;
1630             Big5Freq[5][123] = 354;
1631             Big5Freq[4][126] = 353;
1632             Big5Freq[4][119] = 352;
1633             Big5Freq[9][95] = 351;
1634             Big5Freq[5][24] = 350;
1635             Big5Freq[16][133] = 349;
1636             Big5Freq[10][134] = 348;
1637             Big5Freq[26][59] = 347;
1638             Big5Freq[6][41] = 346;
1639             Big5Freq[6][146] = 345;
1640             Big5Freq[19][24] = 344;
1641             Big5Freq[5][113] = 343;
1642             Big5Freq[10][118] = 342;
1643             Big5Freq[34][151] = 341;
1644             Big5Freq[9][72] = 340;
1645             Big5Freq[31][25] = 339;
1646             Big5Freq[18][126] = 338;
1647             Big5Freq[18][28] = 337;
1648             Big5Freq[4][153] = 336;
1649             Big5Freq[3][84] = 335;
1650             Big5Freq[21][18] = 334;
1651             Big5Freq[25][129] = 333;
1652             Big5Freq[6][107] = 332;
1653             Big5Freq[12][25] = 331;
1654             Big5Freq[17][109] = 330;
1655             Big5Freq[7][76] = 329;
1656             Big5Freq[15][15] = 328;
1657             Big5Freq[4][14] = 327;
1658             Big5Freq[23][88] = 326;
1659             Big5Freq[18][2] = 325;
1660             Big5Freq[6][88] = 324;
1661             Big5Freq[16][84] = 323;
1662             Big5Freq[12][48] = 322;
1663             Big5Freq[7][68] = 321;
1664             Big5Freq[5][50] = 320;
1665             Big5Freq[13][54] = 319;
1666             Big5Freq[7][98] = 318;
1667             Big5Freq[11][6] = 317;
1668             Big5Freq[9][80] = 316;
1669             Big5Freq[16][41] = 315;
1670             Big5Freq[7][43] = 314;
1671             Big5Freq[28][117] = 313;
1672             Big5Freq[3][51] = 312;
1673             Big5Freq[7][3] = 311;
1674             Big5Freq[20][81] = 310;
1675             Big5Freq[4][2] = 309;
1676             Big5Freq[11][16] = 308;
1677             Big5Freq[10][4] = 307;
1678             Big5Freq[10][119] = 306;
1679             Big5Freq[6][142] = 305;
1680             Big5Freq[18][51] = 304;
1681             Big5Freq[8][144] = 303;
1682             Big5Freq[10][65] = 302;
1683             Big5Freq[11][64] = 301;
1684             Big5Freq[11][130] = 300;
1685             Big5Freq[9][92] = 299;
1686             Big5Freq[18][29] = 298;
1687             Big5Freq[18][78] = 297;
1688             Big5Freq[18][151] = 296;
1689             Big5Freq[33][127] = 295;
1690             Big5Freq[35][113] = 294;
1691             Big5Freq[10][155] = 293;
1692             Big5Freq[3][76] = 292;
1693             Big5Freq[36][123] = 291;
1694             Big5Freq[13][143] = 290;
1695             Big5Freq[5][135] = 289;
1696             Big5Freq[23][116] = 288;
1697             Big5Freq[6][101] = 287;
1698             Big5Freq[14][74] = 286;
1699             Big5Freq[7][153] = 285;
1700             Big5Freq[3][101] = 284;
1701             Big5Freq[9][74] = 283;
1702             Big5Freq[3][156] = 282;
1703             Big5Freq[4][147] = 281;
1704             Big5Freq[9][12] = 280;
1705             Big5Freq[18][133] = 279;
1706             Big5Freq[4][0] = 278;
1707             Big5Freq[7][155] = 277;
1708             Big5Freq[9][144] = 276;
1709             Big5Freq[23][49] = 275;
1710             Big5Freq[5][89] = 274;
1711             Big5Freq[10][11] = 273;
1712             Big5Freq[3][110] = 272;
1713             Big5Freq[3][40] = 271;
1714             Big5Freq[29][115] = 270;
1715             Big5Freq[9][100] = 269;
1716             Big5Freq[21][67] = 268;
1717             Big5Freq[23][145] = 267;
1718             Big5Freq[10][47] = 266;
1719             Big5Freq[4][31] = 265;
1720             Big5Freq[4][81] = 264;
1721             Big5Freq[22][62] = 263;
1722             Big5Freq[4][28] = 262;
1723             Big5Freq[27][39] = 261;
1724             Big5Freq[27][54] = 260;
1725             Big5Freq[32][46] = 259;
1726             Big5Freq[4][76] = 258;
1727             Big5Freq[26][15] = 257;
1728             Big5Freq[12][154] = 256;
1729             Big5Freq[9][150] = 255;
1730             Big5Freq[15][17] = 254;
1731             Big5Freq[5][129] = 253;
1732             Big5Freq[10][40] = 252;
1733             Big5Freq[13][37] = 251;
1734             Big5Freq[31][104] = 250;
1735             Big5Freq[3][152] = 249;
1736             Big5Freq[5][22] = 248;
1737             Big5Freq[8][48] = 247;
1738             Big5Freq[4][74] = 246;
1739             Big5Freq[6][17] = 245;
1740             Big5Freq[30][82] = 244;
1741             Big5Freq[4][116] = 243;
1742             Big5Freq[16][42] = 242;
1743             Big5Freq[5][55] = 241;
1744             Big5Freq[4][64] = 240;
1745             Big5Freq[14][19] = 239;
1746             Big5Freq[35][82] = 238;
1747             Big5Freq[30][139] = 237;
1748             Big5Freq[26][152] = 236;
1749             Big5Freq[32][32] = 235;
1750             Big5Freq[21][102] = 234;
1751             Big5Freq[10][131] = 233;
1752             Big5Freq[9][128] = 232;
1753             Big5Freq[3][87] = 231;
1754             Big5Freq[4][51] = 230;
1755             Big5Freq[10][15] = 229;
1756             Big5Freq[4][150] = 228;
1757             Big5Freq[7][4] = 227;
1758             Big5Freq[7][51] = 226;
1759             Big5Freq[7][157] = 225;
1760             Big5Freq[4][146] = 224;
1761             Big5Freq[4][91] = 223;
1762             Big5Freq[7][13] = 222;
1763             Big5Freq[17][116] = 221;
1764             Big5Freq[23][21] = 220;
1765             Big5Freq[5][106] = 219;
1766             Big5Freq[14][100] = 218;
1767             Big5Freq[10][152] = 217;
1768             Big5Freq[14][89] = 216;
1769             Big5Freq[6][138] = 215;
1770             Big5Freq[12][157] = 214;
1771             Big5Freq[10][102] = 213;
1772             Big5Freq[19][94] = 212;
1773             Big5Freq[7][74] = 211;
1774             Big5Freq[18][128] = 210;
1775             Big5Freq[27][111] = 209;
1776             Big5Freq[11][57] = 208;
1777             Big5Freq[3][131] = 207;
1778             Big5Freq[30][23] = 206;
1779             Big5Freq[30][126] = 205;
1780             Big5Freq[4][36] = 204;
1781             Big5Freq[26][124] = 203;
1782             Big5Freq[4][19] = 202;
1783             Big5Freq[9][152] = 201;
1784             /*
1785              * Big5Freq[5][0] = 200; Big5Freq[26][57] = 199; Big5Freq[13][155] = 198; Big5Freq[3][38] = 197;
1786              * Big5Freq[9][155] = 196; Big5Freq[28][53] = 195; Big5Freq[15][71] = 194; Big5Freq[21][95] = 193;
1787              * Big5Freq[15][112] = 192; Big5Freq[14][138] = 191; Big5Freq[8][18] = 190; Big5Freq[20][151] = 189;
1788              * Big5Freq[37][27] = 188; Big5Freq[32][48] = 187; Big5Freq[23][66] = 186; Big5Freq[9][2] = 185;
1789              * Big5Freq[13][133] = 184; Big5Freq[7][127] = 183; Big5Freq[3][11] = 182; Big5Freq[12][118] = 181;
1790              * Big5Freq[13][101] = 180; Big5Freq[30][153] = 179; Big5Freq[4][65] = 178; Big5Freq[5][25] = 177;
1791              * Big5Freq[5][140] = 176; Big5Freq[6][25] = 175; Big5Freq[4][52] = 174; Big5Freq[30][156] = 173;
1792              * Big5Freq[16][13] = 172; Big5Freq[21][8] = 171; Big5Freq[19][74] = 170; Big5Freq[15][145] = 169;
1793              * Big5Freq[9][15] = 168; Big5Freq[13][82] = 167; Big5Freq[26][86] = 166; Big5Freq[18][52] = 165;
1794              * Big5Freq[6][109] = 164; Big5Freq[10][99] = 163; Big5Freq[18][101] = 162; Big5Freq[25][49] = 161;
1795              * Big5Freq[31][79] = 160; Big5Freq[28][20] = 159; Big5Freq[12][115] = 158; Big5Freq[15][66] = 157;
1796              * Big5Freq[11][104] = 156; Big5Freq[23][106] = 155; Big5Freq[34][157] = 154; Big5Freq[32][94] = 153;
1797              * Big5Freq[29][88] = 152; Big5Freq[10][46] = 151; Big5Freq[13][118] = 150; Big5Freq[20][37] = 149;
1798              * Big5Freq[12][30] = 148; Big5Freq[21][4] = 147; Big5Freq[16][33] = 146; Big5Freq[13][52] = 145;
1799              * Big5Freq[4][7] = 144; Big5Freq[21][49] = 143; Big5Freq[3][27] = 142; Big5Freq[16][91] = 141;
1800              * Big5Freq[5][155] = 140; Big5Freq[29][130] = 139; Big5Freq[3][125] = 138; Big5Freq[14][26] = 137;
1801              * Big5Freq[15][39] = 136; Big5Freq[24][110] = 135; Big5Freq[7][141] = 134; Big5Freq[21][15] = 133;
1802              * Big5Freq[32][104] = 132; Big5Freq[8][31] = 131; Big5Freq[34][112] = 130; Big5Freq[10][75] = 129;
1803              * Big5Freq[21][23] = 128; Big5Freq[34][131] = 127; Big5Freq[12][3] = 126; Big5Freq[10][62] = 125;
1804              * Big5Freq[9][120] = 124; Big5Freq[32][149] = 123; Big5Freq[8][44] = 122; Big5Freq[24][2] = 121;
1805              * Big5Freq[6][148] = 120; Big5Freq[15][103] = 119; Big5Freq[36][54] = 118; Big5Freq[36][134] = 117;
1806              * Big5Freq[11][7] = 116; Big5Freq[3][90] = 115; Big5Freq[36][73] = 114; Big5Freq[8][102] = 113;
1807              * Big5Freq[12][87] = 112; Big5Freq[25][64] = 111; Big5Freq[9][1] = 110; Big5Freq[24][121] = 109;
1808              * Big5Freq[5][75] = 108; Big5Freq[17][83] = 107; Big5Freq[18][57] = 106; Big5Freq[8][95] = 105;
1809              * Big5Freq[14][36] = 104; Big5Freq[28][113] = 103; Big5Freq[12][56] = 102; Big5Freq[14][61] = 101;
1810              * Big5Freq[25][138] = 100; Big5Freq[4][34] = 99; Big5Freq[11][152] = 98; Big5Freq[35][0] = 97;
1811              * Big5Freq[4][15] = 96; Big5Freq[8][82] = 95; Big5Freq[20][73] = 94; Big5Freq[25][52] = 93; Big5Freq[24][6]
1812              * = 92; Big5Freq[21][78] = 91; Big5Freq[17][32] = 90; Big5Freq[17][91] = 89; Big5Freq[5][76] = 88;
1813              * Big5Freq[15][60] = 87; Big5Freq[15][150] = 86; Big5Freq[5][80] = 85; Big5Freq[15][81] = 84;
1814              * Big5Freq[28][108] = 83; Big5Freq[18][14] = 82; Big5Freq[19][109] = 81; Big5Freq[28][133] = 80;
1815              * Big5Freq[21][97] = 79; Big5Freq[5][105] = 78; Big5Freq[18][114] = 77; Big5Freq[16][95] = 76;
1816              * Big5Freq[5][51] = 75; Big5Freq[3][148] = 74; Big5Freq[22][102] = 73; Big5Freq[4][123] = 72;
1817              * Big5Freq[8][88] = 71; Big5Freq[25][111] = 70; Big5Freq[8][149] = 69; Big5Freq[9][48] = 68;
1818              * Big5Freq[16][126] = 67; Big5Freq[33][150] = 66; Big5Freq[9][54] = 65; Big5Freq[29][104] = 64;
1819              * Big5Freq[3][3] = 63; Big5Freq[11][49] = 62; Big5Freq[24][109] = 61; Big5Freq[28][116] = 60;
1820              * Big5Freq[34][113] = 59; Big5Freq[5][3] = 58; Big5Freq[21][106] = 57; Big5Freq[4][98] = 56;
1821              * Big5Freq[12][135] = 55; Big5Freq[16][101] = 54; Big5Freq[12][147] = 53; Big5Freq[27][55] = 52;
1822              * Big5Freq[3][5] = 51; Big5Freq[11][101] = 50; Big5Freq[16][157] = 49; Big5Freq[22][114] = 48;
1823              * Big5Freq[18][46] = 47; Big5Freq[4][29] = 46; Big5Freq[8][103] = 45; Big5Freq[16][151] = 44;
1824              * Big5Freq[8][29] = 43; Big5Freq[15][114] = 42; Big5Freq[22][70] = 41; Big5Freq[13][121] = 40;
1825              * Big5Freq[7][112] = 39; Big5Freq[20][83] = 38; Big5Freq[3][36] = 37; Big5Freq[10][103] = 36;
1826              * Big5Freq[3][96] = 35; Big5Freq[21][79] = 34; Big5Freq[25][120] = 33; Big5Freq[29][121] = 32;
1827              * Big5Freq[23][71] = 31; Big5Freq[21][22] = 30; Big5Freq[18][89] = 29; Big5Freq[25][104] = 28;
1828              * Big5Freq[10][124] = 27; Big5Freq[26][4] = 26; Big5Freq[21][136] = 25; Big5Freq[6][112] = 24;
1829              * Big5Freq[12][103] = 23; Big5Freq[17][66] = 22; Big5Freq[13][151] = 21; Big5Freq[33][152] = 20;
1830              * Big5Freq[11][148] = 19; Big5Freq[13][57] = 18; Big5Freq[13][41] = 17; Big5Freq[7][60] = 16;
1831              * Big5Freq[21][29] = 15; Big5Freq[9][157] = 14; Big5Freq[24][95] = 13; Big5Freq[15][148] = 12;
1832              * Big5Freq[15][122] = 11; Big5Freq[6][125] = 10; Big5Freq[11][25] = 9; Big5Freq[20][55] = 8;
1833              * Big5Freq[19][84] = 7; Big5Freq[21][82] = 6; Big5Freq[24][3] = 5; Big5Freq[13][70] = 4; Big5Freq[6][21] =
1834              * 3; Big5Freq[21][86] = 2; Big5Freq[12][23] = 1; Big5Freq[3][85] = 0; EUC_TWFreq[45][90] = 600;
1835              */
1836             Big5PFreq[41][122] = 600;
1837             Big5PFreq[35][0] = 599;
1838             Big5PFreq[43][15] = 598;
1839             Big5PFreq[35][99] = 597;
1840             Big5PFreq[35][6] = 596;
1841             Big5PFreq[35][8] = 595;
1842             Big5PFreq[38][154] = 594;
1843             Big5PFreq[37][34] = 593;
1844             Big5PFreq[37][115] = 592;
1845             Big5PFreq[36][12] = 591;
1846             Big5PFreq[18][77] = 590;
1847             Big5PFreq[35][100] = 589;
1848             Big5PFreq[35][42] = 588;
1849             Big5PFreq[120][75] = 587;
1850             Big5PFreq[35][23] = 586;
1851             Big5PFreq[13][72] = 585;
1852             Big5PFreq[0][67] = 584;
1853             Big5PFreq[39][172] = 583;
1854             Big5PFreq[22][182] = 582;
1855             Big5PFreq[15][186] = 581;
1856             Big5PFreq[15][165] = 580;
1857             Big5PFreq[35][44] = 579;
1858             Big5PFreq[40][13] = 578;
1859             Big5PFreq[38][1] = 577;
1860             Big5PFreq[37][33] = 576;
1861             Big5PFreq[36][24] = 575;
1862             Big5PFreq[56][4] = 574;
1863             Big5PFreq[35][29] = 573;
1864             Big5PFreq[9][96] = 572;
1865             Big5PFreq[37][62] = 571;
1866             Big5PFreq[48][47] = 570;
1867             Big5PFreq[51][14] = 569;
1868             Big5PFreq[39][122] = 568;
1869             Big5PFreq[44][46] = 567;
1870             Big5PFreq[35][21] = 566;
1871             Big5PFreq[36][8] = 565;
1872             Big5PFreq[36][141] = 564;
1873             Big5PFreq[3][81] = 563;
1874             Big5PFreq[37][155] = 562;
1875             Big5PFreq[42][84] = 561;
1876             Big5PFreq[36][40] = 560;
1877             Big5PFreq[35][103] = 559;
1878             Big5PFreq[11][84] = 558;
1879             Big5PFreq[45][33] = 557;
1880             Big5PFreq[121][79] = 556;
1881             Big5PFreq[2][77] = 555;
1882             Big5PFreq[36][41] = 554;
1883             Big5PFreq[37][47] = 553;
1884             Big5PFreq[39][125] = 552;
1885             Big5PFreq[37][26] = 551;
1886             Big5PFreq[35][48] = 550;
1887             Big5PFreq[35][28] = 549;
1888             Big5PFreq[35][159] = 548;
1889             Big5PFreq[37][40] = 547;
1890             Big5PFreq[35][145] = 546;
1891             Big5PFreq[37][147] = 545;
1892             Big5PFreq[46][160] = 544;
1893             Big5PFreq[37][46] = 543;
1894             Big5PFreq[50][99] = 542;
1895             Big5PFreq[52][13] = 541;
1896             Big5PFreq[10][82] = 540;
1897             Big5PFreq[35][169] = 539;
1898             Big5PFreq[35][31] = 538;
1899             Big5PFreq[47][31] = 537;
1900             Big5PFreq[18][79] = 536;
1901             Big5PFreq[16][113] = 535;
1902             Big5PFreq[37][104] = 534;
1903             Big5PFreq[39][134] = 533;
1904             Big5PFreq[36][53] = 532;
1905             Big5PFreq[38][0] = 531;
1906             Big5PFreq[4][86] = 530;
1907             Big5PFreq[54][17] = 529;
1908             Big5PFreq[43][157] = 528;
1909             Big5PFreq[35][165] = 527;
1910             Big5PFreq[69][147] = 526;
1911             Big5PFreq[117][95] = 525;
1912             Big5PFreq[35][162] = 524;
1913             Big5PFreq[35][17] = 523;
1914             Big5PFreq[36][142] = 522;
1915             Big5PFreq[36][4] = 521;
1916             Big5PFreq[37][166] = 520;
1917             Big5PFreq[35][168] = 519;
1918             Big5PFreq[35][19] = 518;
1919             Big5PFreq[37][48] = 517;
1920             Big5PFreq[42][37] = 516;
1921             Big5PFreq[40][146] = 515;
1922             Big5PFreq[36][123] = 514;
1923             Big5PFreq[22][41] = 513;
1924             Big5PFreq[20][119] = 512;
1925             Big5PFreq[2][74] = 511;
1926             Big5PFreq[44][113] = 510;
1927             Big5PFreq[35][125] = 509;
1928             Big5PFreq[37][16] = 508;
1929             Big5PFreq[35][20] = 507;
1930             Big5PFreq[35][55] = 506;
1931             Big5PFreq[37][145] = 505;
1932             Big5PFreq[0][88] = 504;
1933             Big5PFreq[3][94] = 503;
1934             Big5PFreq[6][65] = 502;
1935             Big5PFreq[26][15] = 501;
1936             Big5PFreq[41][126] = 500;
1937             Big5PFreq[36][129] = 499;
1938             Big5PFreq[31][75] = 498;
1939             Big5PFreq[19][61] = 497;
1940             Big5PFreq[35][128] = 496;
1941             Big5PFreq[29][79] = 495;
1942             Big5PFreq[36][62] = 494;
1943             Big5PFreq[37][189] = 493;
1944             Big5PFreq[39][109] = 492;
1945             Big5PFreq[39][135] = 491;
1946             Big5PFreq[72][15] = 490;
1947             Big5PFreq[47][106] = 489;
1948             Big5PFreq[54][14] = 488;
1949             Big5PFreq[24][52] = 487;
1950             Big5PFreq[38][162] = 486;
1951             Big5PFreq[41][43] = 485;
1952             Big5PFreq[37][121] = 484;
1953             Big5PFreq[14][66] = 483;
1954             Big5PFreq[37][30] = 482;
1955             Big5PFreq[35][7] = 481;
1956             Big5PFreq[49][58] = 480;
1957             Big5PFreq[43][188] = 479;
1958             Big5PFreq[24][66] = 478;
1959             Big5PFreq[35][171] = 477;
1960             Big5PFreq[40][186] = 476;
1961             Big5PFreq[39][164] = 475;
1962             Big5PFreq[78][186] = 474;
1963             Big5PFreq[8][72] = 473;
1964             Big5PFreq[36][190] = 472;
1965             Big5PFreq[35][53] = 471;
1966             Big5PFreq[35][54] = 470;
1967             Big5PFreq[22][159] = 469;
1968             Big5PFreq[35][9] = 468;
1969             Big5PFreq[41][140] = 467;
1970             Big5PFreq[37][22] = 466;
1971             Big5PFreq[48][97] = 465;
1972             Big5PFreq[50][97] = 464;
1973             Big5PFreq[36][127] = 463;
1974             Big5PFreq[37][23] = 462;
1975             Big5PFreq[40][55] = 461;
1976             Big5PFreq[35][43] = 460;
1977             Big5PFreq[26][22] = 459;
1978             Big5PFreq[35][15] = 458;
1979             Big5PFreq[72][179] = 457;
1980             Big5PFreq[20][129] = 456;
1981             Big5PFreq[52][101] = 455;
1982             Big5PFreq[35][12] = 454;
1983             Big5PFreq[42][156] = 453;
1984             Big5PFreq[15][157] = 452;
1985             Big5PFreq[50][140] = 451;
1986             Big5PFreq[26][28] = 450;
1987             Big5PFreq[54][51] = 449;
1988             Big5PFreq[35][112] = 448;
1989             Big5PFreq[36][116] = 447;
1990             Big5PFreq[42][11] = 446;
1991             Big5PFreq[37][172] = 445;
1992             Big5PFreq[37][29] = 444;
1993             Big5PFreq[44][107] = 443;
1994             Big5PFreq[50][17] = 442;
1995             Big5PFreq[39][107] = 441;
1996             Big5PFreq[19][109] = 440;
1997             Big5PFreq[36][60] = 439;
1998             Big5PFreq[49][132] = 438;
1999             Big5PFreq[26][16] = 437;
2000             Big5PFreq[43][155] = 436;
2001             Big5PFreq[37][120] = 435;
2002             Big5PFreq[15][159] = 434;
2003             Big5PFreq[43][6] = 433;
2004             Big5PFreq[45][188] = 432;
2005             Big5PFreq[35][38] = 431;
2006             Big5PFreq[39][143] = 430;
2007             Big5PFreq[48][144] = 429;
2008             Big5PFreq[37][168] = 428;
2009             Big5PFreq[37][1] = 427;
2010             Big5PFreq[36][109] = 426;
2011             Big5PFreq[46][53] = 425;
2012             Big5PFreq[38][54] = 424;
2013             Big5PFreq[36][0] = 423;
2014             Big5PFreq[72][33] = 422;
2015             Big5PFreq[42][8] = 421;
2016             Big5PFreq[36][31] = 420;
2017             Big5PFreq[35][150] = 419;
2018             Big5PFreq[118][93] = 418;
2019             Big5PFreq[37][61] = 417;
2020             Big5PFreq[0][85] = 416;
2021             Big5PFreq[36][27] = 415;
2022             Big5PFreq[35][134] = 414;
2023             Big5PFreq[36][145] = 413;
2024             Big5PFreq[6][96] = 412;
2025             Big5PFreq[36][14] = 411;
2026             Big5PFreq[16][36] = 410;
2027             Big5PFreq[15][175] = 409;
2028             Big5PFreq[35][10] = 408;
2029             Big5PFreq[36][189] = 407;
2030             Big5PFreq[35][51] = 406;
2031             Big5PFreq[35][109] = 405;
2032             Big5PFreq[35][147] = 404;
2033             Big5PFreq[35][180] = 403;
2034             Big5PFreq[72][5] = 402;
2035             Big5PFreq[36][107] = 401;
2036             Big5PFreq[49][116] = 400;
2037             Big5PFreq[73][30] = 399;
2038             Big5PFreq[6][90] = 398;
2039             Big5PFreq[2][70] = 397;
2040             Big5PFreq[17][141] = 396;
2041             Big5PFreq[35][62] = 395;
2042             Big5PFreq[16][180] = 394;
2043             Big5PFreq[4][91] = 393;
2044             Big5PFreq[15][171] = 392;
2045             Big5PFreq[35][177] = 391;
2046             Big5PFreq[37][173] = 390;
2047             Big5PFreq[16][121] = 389;
2048             Big5PFreq[35][5] = 388;
2049             Big5PFreq[46][122] = 387;
2050             Big5PFreq[40][138] = 386;
2051             Big5PFreq[50][49] = 385;
2052             Big5PFreq[36][152] = 384;
2053             Big5PFreq[13][43] = 383;
2054             Big5PFreq[9][88] = 382;
2055             Big5PFreq[36][159] = 381;
2056             Big5PFreq[27][62] = 380;
2057             Big5PFreq[40][18] = 379;
2058             Big5PFreq[17][129] = 378;
2059             Big5PFreq[43][97] = 377;
2060             Big5PFreq[13][131] = 376;
2061             Big5PFreq[46][107] = 375;
2062             Big5PFreq[60][64] = 374;
2063             Big5PFreq[36][179] = 373;
2064             Big5PFreq[37][55] = 372;
2065             Big5PFreq[41][173] = 371;
2066             Big5PFreq[44][172] = 370;
2067             Big5PFreq[23][187] = 369;
2068             Big5PFreq[36][149] = 368;
2069             Big5PFreq[17][125] = 367;
2070             Big5PFreq[55][180] = 366;
2071             Big5PFreq[51][129] = 365;
2072             Big5PFreq[36][51] = 364;
2073             Big5PFreq[37][122] = 363;
2074             Big5PFreq[48][32] = 362;
2075             Big5PFreq[51][99] = 361;
2076             Big5PFreq[54][16] = 360;
2077             Big5PFreq[41][183] = 359;
2078             Big5PFreq[37][179] = 358;
2079             Big5PFreq[38][179] = 357;
2080             Big5PFreq[35][143] = 356;
2081             Big5PFreq[37][24] = 355;
2082             Big5PFreq[40][177] = 354;
2083             Big5PFreq[47][117] = 353;
2084             Big5PFreq[39][52] = 352;
2085             Big5PFreq[22][99] = 351;
2086             Big5PFreq[40][142] = 350;
2087             Big5PFreq[36][49] = 349;
2088             Big5PFreq[38][17] = 348;
2089             Big5PFreq[39][188] = 347;
2090             Big5PFreq[36][186] = 346;
2091             Big5PFreq[35][189] = 345;
2092             Big5PFreq[41][7] = 344;
2093             Big5PFreq[18][91] = 343;
2094             Big5PFreq[43][137] = 342;
2095             Big5PFreq[35][142] = 341;
2096             Big5PFreq[35][117] = 340;
2097             Big5PFreq[39][138] = 339;
2098             Big5PFreq[16][59] = 338;
2099             Big5PFreq[39][174] = 337;
2100             Big5PFreq[55][145] = 336;
2101             Big5PFreq[37][21] = 335;
2102             Big5PFreq[36][180] = 334;
2103             Big5PFreq[37][156] = 333;
2104             Big5PFreq[49][13] = 332;
2105             Big5PFreq[41][107] = 331;
2106             Big5PFreq[36][56] = 330;
2107             Big5PFreq[53][8] = 329;
2108             Big5PFreq[22][114] = 328;
2109             Big5PFreq[5][95] = 327;
2110             Big5PFreq[37][0] = 326;
2111             Big5PFreq[26][183] = 325;
2112             Big5PFreq[22][66] = 324;
2113             Big5PFreq[35][58] = 323;
2114             Big5PFreq[48][117] = 322;
2115             Big5PFreq[36][102] = 321;
2116             Big5PFreq[22][122] = 320;
2117             Big5PFreq[35][11] = 319;
2118             Big5PFreq[46][19] = 318;
2119             Big5PFreq[22][49] = 317;
2120             Big5PFreq[48][166] = 316;
2121             Big5PFreq[41][125] = 315;
2122             Big5PFreq[41][1] = 314;
2123             Big5PFreq[35][178] = 313;
2124             Big5PFreq[41][12] = 312;
2125             Big5PFreq[26][167] = 311;
2126             Big5PFreq[42][152] = 310;
2127             Big5PFreq[42][46] = 309;
2128             Big5PFreq[42][151] = 308;
2129             Big5PFreq[20][135] = 307;
2130             Big5PFreq[37][162] = 306;
2131             Big5PFreq[37][50] = 305;
2132             Big5PFreq[22][185] = 304;
2133             Big5PFreq[36][166] = 303;
2134             Big5PFreq[19][40] = 302;
2135             Big5PFreq[22][107] = 301;
2136             Big5PFreq[22][102] = 300;
2137             Big5PFreq[57][162] = 299;
2138             Big5PFreq[22][124] = 298;
2139             Big5PFreq[37][138] = 297;
2140             Big5PFreq[37][25] = 296;
2141             Big5PFreq[0][69] = 295;
2142             Big5PFreq[43][172] = 294;
2143             Big5PFreq[42][167] = 293;
2144             Big5PFreq[35][120] = 292;
2145             Big5PFreq[41][128] = 291;
2146             Big5PFreq[2][88] = 290;
2147             Big5PFreq[20][123] = 289;
2148             Big5PFreq[35][123] = 288;
2149             Big5PFreq[36][28] = 287;
2150             Big5PFreq[42][188] = 286;
2151             Big5PFreq[42][164] = 285;
2152             Big5PFreq[42][4] = 284;
2153             Big5PFreq[43][57] = 283;
2154             Big5PFreq[39][3] = 282;
2155             Big5PFreq[42][3] = 281;
2156             Big5PFreq[57][158] = 280;
2157             Big5PFreq[35][146] = 279;
2158             Big5PFreq[24][54] = 278;
2159             Big5PFreq[13][110] = 277;
2160             Big5PFreq[23][132] = 276;
2161             Big5PFreq[26][102] = 275;
2162             Big5PFreq[55][178] = 274;
2163             Big5PFreq[17][117] = 273;
2164             Big5PFreq[41][161] = 272;
2165             Big5PFreq[38][150] = 271;
2166             Big5PFreq[10][71] = 270;
2167             Big5PFreq[47][60] = 269;
2168             Big5PFreq[16][114] = 268;
2169             Big5PFreq[21][47] = 267;
2170             Big5PFreq[39][101] = 266;
2171             Big5PFreq[18][45] = 265;
2172             Big5PFreq[40][121] = 264;
2173             Big5PFreq[45][41] = 263;
2174             Big5PFreq[22][167] = 262;
2175             Big5PFreq[26][149] = 261;
2176             Big5PFreq[15][189] = 260;
2177             Big5PFreq[41][177] = 259;
2178             Big5PFreq[46][36] = 258;
2179             Big5PFreq[20][40] = 257;
2180             Big5PFreq[41][54] = 256;
2181             Big5PFreq[3][87] = 255;
2182             Big5PFreq[40][16] = 254;
2183             Big5PFreq[42][15] = 253;
2184             Big5PFreq[11][83] = 252;
2185             Big5PFreq[0][94] = 251;
2186             Big5PFreq[122][81] = 250;
2187             Big5PFreq[41][26] = 249;
2188             Big5PFreq[36][34] = 248;
2189             Big5PFreq[44][148] = 247;
2190             Big5PFreq[35][3] = 246;
2191             Big5PFreq[36][114] = 245;
2192             Big5PFreq[42][112] = 244;
2193             Big5PFreq[35][183] = 243;
2194             Big5PFreq[49][73] = 242;
2195             Big5PFreq[39][2] = 241;
2196             Big5PFreq[38][121] = 240;
2197             Big5PFreq[44][114] = 239;
2198             Big5PFreq[49][32] = 238;
2199             Big5PFreq[1][65] = 237;
2200             Big5PFreq[38][25] = 236;
2201             Big5PFreq[39][4] = 235;
2202             Big5PFreq[42][62] = 234;
2203             Big5PFreq[35][40] = 233;
2204             Big5PFreq[24][2] = 232;
2205             Big5PFreq[53][49] = 231;
2206             Big5PFreq[41][133] = 230;
2207             Big5PFreq[43][134] = 229;
2208             Big5PFreq[3][83] = 228;
2209             Big5PFreq[38][158] = 227;
2210             Big5PFreq[24][17] = 226;
2211             Big5PFreq[52][59] = 225;
2212             Big5PFreq[38][41] = 224;
2213             Big5PFreq[37][127] = 223;
2214             Big5PFreq[22][175] = 222;
2215             Big5PFreq[44][30] = 221;
2216             Big5PFreq[47][178] = 220;
2217             Big5PFreq[43][99] = 219;
2218             Big5PFreq[19][4] = 218;
2219             Big5PFreq[37][97] = 217;
2220             Big5PFreq[38][181] = 216;
2221             Big5PFreq[45][103] = 215;
2222             Big5PFreq[1][86] = 214;
2223             Big5PFreq[40][15] = 213;
2224             Big5PFreq[22][136] = 212;
2225             Big5PFreq[75][165] = 211;
2226             Big5PFreq[36][15] = 210;
2227             Big5PFreq[46][80] = 209;
2228             Big5PFreq[59][55] = 208;
2229             Big5PFreq[37][108] = 207;
2230             Big5PFreq[21][109] = 206;
2231             Big5PFreq[24][165] = 205;
2232             Big5PFreq[79][158] = 204;
2233             Big5PFreq[44][139] = 203;
2234             Big5PFreq[36][124] = 202;
2235             Big5PFreq[42][185] = 201;
2236             Big5PFreq[39][186] = 200;
2237             Big5PFreq[22][128] = 199;
2238             Big5PFreq[40][44] = 198;
2239             Big5PFreq[41][105] = 197;
2240             Big5PFreq[1][70] = 196;
2241             Big5PFreq[1][68] = 195;
2242             Big5PFreq[53][22] = 194;
2243             Big5PFreq[36][54] = 193;
2244             Big5PFreq[47][147] = 192;
2245             Big5PFreq[35][36] = 191;
2246             Big5PFreq[35][185] = 190;
2247             Big5PFreq[45][37] = 189;
2248             Big5PFreq[43][163] = 188;
2249             Big5PFreq[56][115] = 187;
2250             Big5PFreq[38][164] = 186;
2251             Big5PFreq[35][141] = 185;
2252             Big5PFreq[42][132] = 184;
2253             Big5PFreq[46][120] = 183;
2254             Big5PFreq[69][142] = 182;
2255             Big5PFreq[38][175] = 181;
2256             Big5PFreq[22][112] = 180;
2257             Big5PFreq[38][142] = 179;
2258             Big5PFreq[40][37] = 178;
2259             Big5PFreq[37][109] = 177;
2260             Big5PFreq[40][144] = 176;
2261             Big5PFreq[44][117] = 175;
2262             Big5PFreq[35][181] = 174;
2263             Big5PFreq[26][105] = 173;
2264             Big5PFreq[16][48] = 172;
2265             Big5PFreq[44][122] = 171;
2266             Big5PFreq[12][86] = 170;
2267             Big5PFreq[84][53] = 169;
2268             Big5PFreq[17][44] = 168;
2269             Big5PFreq[59][54] = 167;
2270             Big5PFreq[36][98] = 166;
2271             Big5PFreq[45][115] = 165;
2272             Big5PFreq[73][9] = 164;
2273             Big5PFreq[44][123] = 163;
2274             Big5PFreq[37][188] = 162;
2275             Big5PFreq[51][117] = 161;
2276             Big5PFreq[15][156] = 160;
2277             Big5PFreq[36][155] = 159;
2278             Big5PFreq[44][25] = 158;
2279             Big5PFreq[38][12] = 157;
2280             Big5PFreq[38][140] = 156;
2281             Big5PFreq[23][4] = 155;
2282             Big5PFreq[45][149] = 154;
2283             Big5PFreq[22][189] = 153;
2284             Big5PFreq[38][147] = 152;
2285             Big5PFreq[27][5] = 151;
2286             Big5PFreq[22][42] = 150;
2287             Big5PFreq[3][68] = 149;
2288             Big5PFreq[39][51] = 148;
2289             Big5PFreq[36][29] = 147;
2290             Big5PFreq[20][108] = 146;
2291             Big5PFreq[50][57] = 145;
2292             Big5PFreq[55][104] = 144;
2293             Big5PFreq[22][46] = 143;
2294             Big5PFreq[18][164] = 142;
2295             Big5PFreq[50][159] = 141;
2296             Big5PFreq[85][131] = 140;
2297             Big5PFreq[26][79] = 139;
2298             Big5PFreq[38][100] = 138;
2299             Big5PFreq[53][112] = 137;
2300             Big5PFreq[20][190] = 136;
2301             Big5PFreq[14][69] = 135;
2302             Big5PFreq[23][11] = 134;
2303             Big5PFreq[40][114] = 133;
2304             Big5PFreq[40][148] = 132;
2305             Big5PFreq[53][130] = 131;
2306             Big5PFreq[36][2] = 130;
2307             Big5PFreq[66][82] = 129;
2308             Big5PFreq[45][166] = 128;
2309             Big5PFreq[4][88] = 127;
2310             Big5PFreq[16][57] = 126;
2311             Big5PFreq[22][116] = 125;
2312             Big5PFreq[36][108] = 124;
2313             Big5PFreq[13][48] = 123;
2314             Big5PFreq[54][12] = 122;
2315             Big5PFreq[40][136] = 121;
2316             Big5PFreq[36][128] = 120;
2317             Big5PFreq[23][6] = 119;
2318             Big5PFreq[38][125] = 118;
2319             Big5PFreq[45][154] = 117;
2320             Big5PFreq[51][127] = 116;
2321             Big5PFreq[44][163] = 115;
2322             Big5PFreq[16][173] = 114;
2323             Big5PFreq[43][49] = 113;
2324             Big5PFreq[20][112] = 112;
2325             Big5PFreq[15][168] = 111;
2326             Big5PFreq[35][129] = 110;
2327             Big5PFreq[20][45] = 109;
2328             Big5PFreq[38][10] = 108;
2329             Big5PFreq[57][171] = 107;
2330             Big5PFreq[44][190] = 106;
2331             Big5PFreq[40][56] = 105;
2332             Big5PFreq[36][156] = 104;
2333             Big5PFreq[3][88] = 103;
2334             Big5PFreq[50][122] = 102;
2335             Big5PFreq[36][7] = 101;
2336             Big5PFreq[39][43] = 100;
2337             Big5PFreq[15][166] = 99;
2338             Big5PFreq[42][136] = 98;
2339             Big5PFreq[22][131] = 97;
2340             Big5PFreq[44][23] = 96;
2341             Big5PFreq[54][147] = 95;
2342             Big5PFreq[41][32] = 94;
2343             Big5PFreq[23][121] = 93;
2344             Big5PFreq[39][108] = 92;
2345             Big5PFreq[2][78] = 91;
2346             Big5PFreq[40][155] = 90;
2347             Big5PFreq[55][51] = 89;
2348             Big5PFreq[19][34] = 88;
2349             Big5PFreq[48][128] = 87;
2350             Big5PFreq[48][159] = 86;
2351             Big5PFreq[20][70] = 85;
2352             Big5PFreq[34][71] = 84;
2353             Big5PFreq[16][31] = 83;
2354             Big5PFreq[42][157] = 82;
2355             Big5PFreq[20][44] = 81;
2356             Big5PFreq[11][92] = 80;
2357             Big5PFreq[44][180] = 79;
2358             Big5PFreq[84][33] = 78;
2359             Big5PFreq[16][116] = 77;
2360             Big5PFreq[61][163] = 76;
2361             Big5PFreq[35][164] = 75;
2362             Big5PFreq[36][42] = 74;
2363             Big5PFreq[13][40] = 73;
2364             Big5PFreq[43][176] = 72;
2365             Big5PFreq[2][66] = 71;
2366             Big5PFreq[20][133] = 70;
2367             Big5PFreq[36][65] = 69;
2368             Big5PFreq[38][33] = 68;
2369             Big5PFreq[12][91] = 67;
2370             Big5PFreq[36][26] = 66;
2371             Big5PFreq[15][174] = 65;
2372             Big5PFreq[77][32] = 64;
2373             Big5PFreq[16][1] = 63;
2374             Big5PFreq[25][86] = 62;
2375             Big5PFreq[17][13] = 61;
2376             Big5PFreq[5][75] = 60;
2377             Big5PFreq[36][52] = 59;
2378             Big5PFreq[51][164] = 58;
2379             Big5PFreq[12][85] = 57;
2380             Big5PFreq[39][168] = 56;
2381             Big5PFreq[43][16] = 55;
2382             Big5PFreq[40][69] = 54;
2383             Big5PFreq[26][108] = 53;
2384             Big5PFreq[51][56] = 52;
2385             Big5PFreq[16][37] = 51;
2386             Big5PFreq[40][29] = 50;
2387             Big5PFreq[46][171] = 49;
2388             Big5PFreq[40][128] = 48;
2389             Big5PFreq[72][114] = 47;
2390             Big5PFreq[21][103] = 46;
2391             Big5PFreq[22][44] = 45;
2392             Big5PFreq[40][115] = 44;
2393             Big5PFreq[43][7] = 43;
2394             Big5PFreq[43][153] = 42;
2395             Big5PFreq[17][20] = 41;
2396             Big5PFreq[16][49] = 40;
2397             Big5PFreq[36][57] = 39;
2398             Big5PFreq[18][38] = 38;
2399             Big5PFreq[45][184] = 37;
2400             Big5PFreq[37][167] = 36;
2401             Big5PFreq[26][106] = 35;
2402             Big5PFreq[61][121] = 34;
2403             Big5PFreq[89][140] = 33;
2404             Big5PFreq[46][61] = 32;
2405             Big5PFreq[39][163] = 31;
2406             Big5PFreq[40][62] = 30;
2407             Big5PFreq[38][165] = 29;
2408             Big5PFreq[47][37] = 28;
2409             Big5PFreq[18][155] = 27;
2410             Big5PFreq[20][33] = 26;
2411             Big5PFreq[29][90] = 25;
2412             Big5PFreq[20][103] = 24;
2413             Big5PFreq[37][51] = 23;
2414             Big5PFreq[57][0] = 22;
2415             Big5PFreq[40][31] = 21;
2416             Big5PFreq[45][32] = 20;
2417             Big5PFreq[59][23] = 19;
2418             Big5PFreq[18][47] = 18;
2419             Big5PFreq[45][134] = 17;
2420             Big5PFreq[37][59] = 16;
2421             Big5PFreq[21][128] = 15;
2422             Big5PFreq[36][106] = 14;
2423             Big5PFreq[31][39] = 13;
2424             Big5PFreq[40][182] = 12;
2425             Big5PFreq[52][155] = 11;
2426             Big5PFreq[42][166] = 10;
2427             Big5PFreq[35][27] = 9;
2428             Big5PFreq[38][3] = 8;
2429             Big5PFreq[13][44] = 7;
2430             Big5PFreq[58][157] = 6;
2431             Big5PFreq[47][51] = 5;
2432             Big5PFreq[41][37] = 4;
2433             Big5PFreq[41][172] = 3;
2434             Big5PFreq[51][165] = 2;
2435             Big5PFreq[15][161] = 1;
2436             Big5PFreq[24][181] = 0;
2437             EUC_TWFreq[48][49] = 599;
2438             EUC_TWFreq[35][65] = 598;
2439             EUC_TWFreq[41][27] = 597;
2440             EUC_TWFreq[35][0] = 596;
2441             EUC_TWFreq[39][19] = 595;
2442             EUC_TWFreq[35][42] = 594;
2443             EUC_TWFreq[38][66] = 593;
2444             EUC_TWFreq[35][8] = 592;
2445             EUC_TWFreq[35][6] = 591;
2446             EUC_TWFreq[35][66] = 590;
2447             EUC_TWFreq[43][14] = 589;
2448             EUC_TWFreq[69][80] = 588;
2449             EUC_TWFreq[50][48] = 587;
2450             EUC_TWFreq[36][71] = 586;
2451             EUC_TWFreq[37][10] = 585;
2452             EUC_TWFreq[60][52] = 584;
2453             EUC_TWFreq[51][21] = 583;
2454             EUC_TWFreq[40][2] = 582;
2455             EUC_TWFreq[67][35] = 581;
2456             EUC_TWFreq[38][78] = 580;
2457             EUC_TWFreq[49][18] = 579;
2458             EUC_TWFreq[35][23] = 578;
2459             EUC_TWFreq[42][83] = 577;
2460             EUC_TWFreq[79][47] = 576;
2461             EUC_TWFreq[61][82] = 575;
2462             EUC_TWFreq[38][7] = 574;
2463             EUC_TWFreq[35][29] = 573;
2464             EUC_TWFreq[37][77] = 572;
2465             EUC_TWFreq[54][67] = 571;
2466             EUC_TWFreq[38][80] = 570;
2467             EUC_TWFreq[52][74] = 569;
2468             EUC_TWFreq[36][37] = 568;
2469             EUC_TWFreq[74][8] = 567;
2470             EUC_TWFreq[41][83] = 566;
2471             EUC_TWFreq[36][75] = 565;
2472             EUC_TWFreq[49][63] = 564;
2473             EUC_TWFreq[42][58] = 563;
2474             EUC_TWFreq[56][33] = 562;
2475             EUC_TWFreq[37][76] = 561;
2476             EUC_TWFreq[62][39] = 560;
2477             EUC_TWFreq[35][21] = 559;
2478             EUC_TWFreq[70][19] = 558;
2479             EUC_TWFreq[77][88] = 557;
2480             EUC_TWFreq[51][14] = 556;
2481             EUC_TWFreq[36][17] = 555;
2482             EUC_TWFreq[44][51] = 554;
2483             EUC_TWFreq[38][72] = 553;
2484             EUC_TWFreq[74][90] = 552;
2485             EUC_TWFreq[35][48] = 551;
2486             EUC_TWFreq[35][69] = 550;
2487             EUC_TWFreq[66][86] = 549;
2488             EUC_TWFreq[57][20] = 548;
2489             EUC_TWFreq[35][53] = 547;
2490             EUC_TWFreq[36][87] = 546;
2491             EUC_TWFreq[84][67] = 545;
2492             EUC_TWFreq[70][56] = 544;
2493             EUC_TWFreq[71][54] = 543;
2494             EUC_TWFreq[60][70] = 542;
2495             EUC_TWFreq[80][1] = 541;
2496             EUC_TWFreq[39][59] = 540;
2497             EUC_TWFreq[39][51] = 539;
2498             EUC_TWFreq[35][44] = 538;
2499             EUC_TWFreq[48][4] = 537;
2500             EUC_TWFreq[55][24] = 536;
2501             EUC_TWFreq[52][4] = 535;
2502             EUC_TWFreq[54][26] = 534;
2503             EUC_TWFreq[36][31] = 533;
2504             EUC_TWFreq[37][22] = 532;
2505             EUC_TWFreq[37][9] = 531;
2506             EUC_TWFreq[46][0] = 530;
2507             EUC_TWFreq[56][46] = 529;
2508             EUC_TWFreq[47][93] = 528;
2509             EUC_TWFreq[37][25] = 527;
2510             EUC_TWFreq[39][8] = 526;
2511             EUC_TWFreq[46][73] = 525;
2512             EUC_TWFreq[38][48] = 524;
2513             EUC_TWFreq[39][83] = 523;
2514             EUC_TWFreq[60][92] = 522;
2515             EUC_TWFreq[70][11] = 521;
2516             EUC_TWFreq[63][84] = 520;
2517             EUC_TWFreq[38][65] = 519;
2518             EUC_TWFreq[45][45] = 518;
2519             EUC_TWFreq[63][49] = 517;
2520             EUC_TWFreq[63][50] = 516;
2521             EUC_TWFreq[39][93] = 515;
2522             EUC_TWFreq[68][20] = 514;
2523             EUC_TWFreq[44][84] = 513;
2524             EUC_TWFreq[66][34] = 512;
2525             EUC_TWFreq[37][58] = 511;
2526             EUC_TWFreq[39][0] = 510;
2527             EUC_TWFreq[59][1] = 509;
2528             EUC_TWFreq[47][8] = 508;
2529             EUC_TWFreq[61][17] = 507;
2530             EUC_TWFreq[53][87] = 506;
2531             EUC_TWFreq[67][26] = 505;
2532             EUC_TWFreq[43][46] = 504;
2533             EUC_TWFreq[38][61] = 503;
2534             EUC_TWFreq[45][9] = 502;
2535             EUC_TWFreq[66][83] = 501;
2536             EUC_TWFreq[43][88] = 500;
2537             EUC_TWFreq[85][20] = 499;
2538             EUC_TWFreq[57][36] = 498;
2539             EUC_TWFreq[43][6] = 497;
2540             EUC_TWFreq[86][77] = 496;
2541             EUC_TWFreq[42][70] = 495;
2542             EUC_TWFreq[49][78] = 494;
2543             EUC_TWFreq[36][40] = 493;
2544             EUC_TWFreq[42][71] = 492;
2545             EUC_TWFreq[58][49] = 491;
2546             EUC_TWFreq[35][20] = 490;
2547             EUC_TWFreq[76][20] = 489;
2548             EUC_TWFreq[39][25] = 488;
2549             EUC_TWFreq[40][34] = 487;
2550             EUC_TWFreq[39][76] = 486;
2551             EUC_TWFreq[40][1] = 485;
2552             EUC_TWFreq[59][0] = 484;
2553             EUC_TWFreq[39][70] = 483;
2554             EUC_TWFreq[46][14] = 482;
2555             EUC_TWFreq[68][77] = 481;
2556             EUC_TWFreq[38][55] = 480;
2557             EUC_TWFreq[35][78] = 479;
2558             EUC_TWFreq[84][44] = 478;
2559             EUC_TWFreq[36][41] = 477;
2560             EUC_TWFreq[37][62] = 476;
2561             EUC_TWFreq[65][67] = 475;
2562             EUC_TWFreq[69][66] = 474;
2563             EUC_TWFreq[73][55] = 473;
2564             EUC_TWFreq[71][49] = 472;
2565             EUC_TWFreq[66][87] = 471;
2566             EUC_TWFreq[38][33] = 470;
2567             EUC_TWFreq[64][61] = 469;
2568             EUC_TWFreq[35][7] = 468;
2569             EUC_TWFreq[47][49] = 467;
2570             EUC_TWFreq[56][14] = 466;
2571             EUC_TWFreq[36][49] = 465;
2572             EUC_TWFreq[50][81] = 464;
2573             EUC_TWFreq[55][76] = 463;
2574             EUC_TWFreq[35][19] = 462;
2575             EUC_TWFreq[44][47] = 461;
2576             EUC_TWFreq[35][15] = 460;
2577             EUC_TWFreq[82][59] = 459;
2578             EUC_TWFreq[35][43] = 458;
2579             EUC_TWFreq[73][0] = 457;
2580             EUC_TWFreq[57][83] = 456;
2581             EUC_TWFreq[42][46] = 455;
2582             EUC_TWFreq[36][0] = 454;
2583             EUC_TWFreq[70][88] = 453;
2584             EUC_TWFreq[42][22] = 452;
2585             EUC_TWFreq[46][58] = 451;
2586             EUC_TWFreq[36][34] = 450;
2587             EUC_TWFreq[39][24] = 449;
2588             EUC_TWFreq[35][55] = 448;
2589             EUC_TWFreq[44][91] = 447;
2590             EUC_TWFreq[37][51] = 446;
2591             EUC_TWFreq[36][19] = 445;
2592             EUC_TWFreq[69][90] = 444;
2593             EUC_TWFreq[55][35] = 443;
2594             EUC_TWFreq[35][54] = 442;
2595             EUC_TWFreq[49][61] = 441;
2596             EUC_TWFreq[36][67] = 440;
2597             EUC_TWFreq[88][34] = 439;
2598             EUC_TWFreq[35][17] = 438;
2599             EUC_TWFreq[65][69] = 437;
2600             EUC_TWFreq[74][89] = 436;
2601             EUC_TWFreq[37][31] = 435;
2602             EUC_TWFreq[43][48] = 434;
2603             EUC_TWFreq[89][27] = 433;
2604             EUC_TWFreq[42][79] = 432;
2605             EUC_TWFreq[69][57] = 431;
2606             EUC_TWFreq[36][13] = 430;
2607             EUC_TWFreq[35][62] = 429;
2608             EUC_TWFreq[65][47] = 428;
2609             EUC_TWFreq[56][8] = 427;
2610             EUC_TWFreq[38][79] = 426;
2611             EUC_TWFreq[37][64] = 425;
2612             EUC_TWFreq[64][64] = 424;
2613             EUC_TWFreq[38][53] = 423;
2614             EUC_TWFreq[38][31] = 422;
2615             EUC_TWFreq[56][81] = 421;
2616             EUC_TWFreq[36][22] = 420;
2617             EUC_TWFreq[43][4] = 419;
2618             EUC_TWFreq[36][90] = 418;
2619             EUC_TWFreq[38][62] = 417;
2620             EUC_TWFreq[66][85] = 416;
2621             EUC_TWFreq[39][1] = 415;
2622             EUC_TWFreq[59][40] = 414;
2623             EUC_TWFreq[58][93] = 413;
2624             EUC_TWFreq[44][43] = 412;
2625             EUC_TWFreq[39][49] = 411;
2626             EUC_TWFreq[64][2] = 410;
2627             EUC_TWFreq[41][35] = 409;
2628             EUC_TWFreq[60][22] = 408;
2629             EUC_TWFreq[35][91] = 407;
2630             EUC_TWFreq[78][1] = 406;
2631             EUC_TWFreq[36][14] = 405;
2632             EUC_TWFreq[82][29] = 404;
2633             EUC_TWFreq[52][86] = 403;
2634             EUC_TWFreq[40][16] = 402;
2635             EUC_TWFreq[91][52] = 401;
2636             EUC_TWFreq[50][75] = 400;
2637             EUC_TWFreq[64][30] = 399;
2638             EUC_TWFreq[90][78] = 398;
2639             EUC_TWFreq[36][52] = 397;
2640             EUC_TWFreq[55][87] = 396;
2641             EUC_TWFreq[57][5] = 395;
2642             EUC_TWFreq[57][31] = 394;
2643             EUC_TWFreq[42][35] = 393;
2644             EUC_TWFreq[69][50] = 392;
2645             EUC_TWFreq[45][8] = 391;
2646             EUC_TWFreq[50][87] = 390;
2647             EUC_TWFreq[69][55] = 389;
2648             EUC_TWFreq[92][3] = 388;
2649             EUC_TWFreq[36][43] = 387;
2650             EUC_TWFreq[64][10] = 386;
2651             EUC_TWFreq[56][25] = 385;
2652             EUC_TWFreq[60][68] = 384;
2653             EUC_TWFreq[51][46] = 383;
2654             EUC_TWFreq[50][0] = 382;
2655             EUC_TWFreq[38][30] = 381;
2656             EUC_TWFreq[50][85] = 380;
2657             EUC_TWFreq[60][54] = 379;
2658             EUC_TWFreq[73][6] = 378;
2659             EUC_TWFreq[73][28] = 377;
2660             EUC_TWFreq[56][19] = 376;
2661             EUC_TWFreq[62][69] = 375;
2662             EUC_TWFreq[81][66] = 374;
2663             EUC_TWFreq[40][32] = 373;
2664             EUC_TWFreq[76][31] = 372;
2665             EUC_TWFreq[35][10] = 371;
2666             EUC_TWFreq[41][37] = 370;
2667             EUC_TWFreq[52][82] = 369;
2668             EUC_TWFreq[91][72] = 368;
2669             EUC_TWFreq[37][29] = 367;
2670             EUC_TWFreq[56][30] = 366;
2671             EUC_TWFreq[37][80] = 365;
2672             EUC_TWFreq[81][56] = 364;
2673             EUC_TWFreq[70][3] = 363;
2674             EUC_TWFreq[76][15] = 362;
2675             EUC_TWFreq[46][47] = 361;
2676             EUC_TWFreq[35][88] = 360;
2677             EUC_TWFreq[61][58] = 359;
2678             EUC_TWFreq[37][37] = 358;
2679             EUC_TWFreq[57][22] = 357;
2680             EUC_TWFreq[41][23] = 356;
2681             EUC_TWFreq[90][66] = 355;
2682             EUC_TWFreq[39][60] = 354;
2683             EUC_TWFreq[38][0] = 353;
2684             EUC_TWFreq[37][87] = 352;
2685             EUC_TWFreq[46][2] = 351;
2686             EUC_TWFreq[38][56] = 350;
2687             EUC_TWFreq[58][11] = 349;
2688             EUC_TWFreq[48][10] = 348;
2689             EUC_TWFreq[74][4] = 347;
2690             EUC_TWFreq[40][42] = 346;
2691             EUC_TWFreq[41][52] = 345;
2692             EUC_TWFreq[61][92] = 344;
2693             EUC_TWFreq[39][50] = 343;
2694             EUC_TWFreq[47][88] = 342;
2695             EUC_TWFreq[88][36] = 341;
2696             EUC_TWFreq[45][73] = 340;
2697             EUC_TWFreq[82][3] = 339;
2698             EUC_TWFreq[61][36] = 338;
2699             EUC_TWFreq[60][33] = 337;
2700             EUC_TWFreq[38][27] = 336;
2701             EUC_TWFreq[35][83] = 335;
2702             EUC_TWFreq[65][24] = 334;
2703             EUC_TWFreq[73][10] = 333;
2704             EUC_TWFreq[41][13] = 332;
2705             EUC_TWFreq[50][27] = 331;
2706             EUC_TWFreq[59][50] = 330;
2707             EUC_TWFreq[42][45] = 329;
2708             EUC_TWFreq[55][19] = 328;
2709             EUC_TWFreq[36][77] = 327;
2710             EUC_TWFreq[69][31] = 326;
2711             EUC_TWFreq[60][7] = 325;
2712             EUC_TWFreq[40][88] = 324;
2713             EUC_TWFreq[57][56] = 323;
2714             EUC_TWFreq[50][50] = 322;
2715             EUC_TWFreq[42][37] = 321;
2716             EUC_TWFreq[38][82] = 320;
2717             EUC_TWFreq[52][25] = 319;
2718             EUC_TWFreq[42][67] = 318;
2719             EUC_TWFreq[48][40] = 317;
2720             EUC_TWFreq[45][81] = 316;
2721             EUC_TWFreq[57][14] = 315;
2722             EUC_TWFreq[42][13] = 314;
2723             EUC_TWFreq[78][0] = 313;
2724             EUC_TWFreq[35][51] = 312;
2725             EUC_TWFreq[41][67] = 311;
2726             EUC_TWFreq[64][23] = 310;
2727             EUC_TWFreq[36][65] = 309;
2728             EUC_TWFreq[48][50] = 308;
2729             EUC_TWFreq[46][69] = 307;
2730             EUC_TWFreq[47][89] = 306;
2731             EUC_TWFreq[41][48] = 305;
2732             EUC_TWFreq[60][56] = 304;
2733             EUC_TWFreq[44][82] = 303;
2734             EUC_TWFreq[47][35] = 302;
2735             EUC_TWFreq[49][3] = 301;
2736             EUC_TWFreq[49][69] = 300;
2737             EUC_TWFreq[45][93] = 299;
2738             EUC_TWFreq[60][34] = 298;
2739             EUC_TWFreq[60][82] = 297;
2740             EUC_TWFreq[61][61] = 296;
2741             EUC_TWFreq[86][42] = 295;
2742             EUC_TWFreq[89][60] = 294;
2743             EUC_TWFreq[48][31] = 293;
2744             EUC_TWFreq[35][75] = 292;
2745             EUC_TWFreq[91][39] = 291;
2746             EUC_TWFreq[53][19] = 290;
2747             EUC_TWFreq[39][72] = 289;
2748             EUC_TWFreq[69][59] = 288;
2749             EUC_TWFreq[41][7] = 287;
2750             EUC_TWFreq[54][13] = 286;
2751             EUC_TWFreq[43][28] = 285;
2752             EUC_TWFreq[36][6] = 284;
2753             EUC_TWFreq[45][75] = 283;
2754             EUC_TWFreq[36][61] = 282;
2755             EUC_TWFreq[38][21] = 281;
2756             EUC_TWFreq[45][14] = 280;
2757             EUC_TWFreq[61][43] = 279;
2758             EUC_TWFreq[36][63] = 278;
2759             EUC_TWFreq[43][30] = 277;
2760             EUC_TWFreq[46][51] = 276;
2761             EUC_TWFreq[68][87] = 275;
2762             EUC_TWFreq[39][26] = 274;
2763             EUC_TWFreq[46][76] = 273;
2764             EUC_TWFreq[36][15] = 272;
2765             EUC_TWFreq[35][40] = 271;
2766             EUC_TWFreq[79][60] = 270;
2767             EUC_TWFreq[46][7] = 269;
2768             EUC_TWFreq[65][72] = 268;
2769             EUC_TWFreq[69][88] = 267;
2770             EUC_TWFreq[47][18] = 266;
2771             EUC_TWFreq[37][0] = 265;
2772             EUC_TWFreq[37][49] = 264;
2773             EUC_TWFreq[67][37] = 263;
2774             EUC_TWFreq[36][91] = 262;
2775             EUC_TWFreq[75][48] = 261;
2776             EUC_TWFreq[75][63] = 260;
2777             EUC_TWFreq[83][87] = 259;
2778             EUC_TWFreq[37][44] = 258;
2779             EUC_TWFreq[73][54] = 257;
2780             EUC_TWFreq[51][61] = 256;
2781             EUC_TWFreq[46][57] = 255;
2782             EUC_TWFreq[55][21] = 254;
2783             EUC_TWFreq[39][66] = 253;
2784             EUC_TWFreq[47][11] = 252;
2785             EUC_TWFreq[52][8] = 251;
2786             EUC_TWFreq[82][81] = 250;
2787             EUC_TWFreq[36][57] = 249;
2788             EUC_TWFreq[38][54] = 248;
2789             EUC_TWFreq[43][81] = 247;
2790             EUC_TWFreq[37][42] = 246;
2791             EUC_TWFreq[40][18] = 245;
2792             EUC_TWFreq[80][90] = 244;
2793             EUC_TWFreq[37][84] = 243;
2794             EUC_TWFreq[57][15] = 242;
2795             EUC_TWFreq[38][87] = 241;
2796             EUC_TWFreq[37][32] = 240;
2797             EUC_TWFreq[53][53] = 239;
2798             EUC_TWFreq[89][29] = 238;
2799             EUC_TWFreq[81][53] = 237;
2800             EUC_TWFreq[75][3] = 236;
2801             EUC_TWFreq[83][73] = 235;
2802             EUC_TWFreq[66][13] = 234;
2803             EUC_TWFreq[48][7] = 233;
2804             EUC_TWFreq[46][35] = 232;
2805             EUC_TWFreq[35][86] = 231;
2806             EUC_TWFreq[37][20] = 230;
2807             EUC_TWFreq[46][80] = 229;
2808             EUC_TWFreq[38][24] = 228;
2809             EUC_TWFreq[41][68] = 227;
2810             EUC_TWFreq[42][21] = 226;
2811             EUC_TWFreq[43][32] = 225;
2812             EUC_TWFreq[38][20] = 224;
2813             EUC_TWFreq[37][59] = 223;
2814             EUC_TWFreq[41][77] = 222;
2815             EUC_TWFreq[59][57] = 221;
2816             EUC_TWFreq[68][59] = 220;
2817             EUC_TWFreq[39][43] = 219;
2818             EUC_TWFreq[54][39] = 218;
2819             EUC_TWFreq[48][28] = 217;
2820             EUC_TWFreq[54][28] = 216;
2821             EUC_TWFreq[41][44] = 215;
2822             EUC_TWFreq[51][64] = 214;
2823             EUC_TWFreq[47][72] = 213;
2824             EUC_TWFreq[62][67] = 212;
2825             EUC_TWFreq[42][43] = 211;
2826             EUC_TWFreq[61][38] = 210;
2827             EUC_TWFreq[76][25] = 209;
2828             EUC_TWFreq[48][91] = 208;
2829             EUC_TWFreq[36][36] = 207;
2830             EUC_TWFreq[80][32] = 206;
2831             EUC_TWFreq[81][40] = 205;
2832             EUC_TWFreq[37][5] = 204;
2833             EUC_TWFreq[74][69] = 203;
2834             EUC_TWFreq[36][82] = 202;
2835             EUC_TWFreq[46][59] = 201;
2836             /*
2837              * EUC_TWFreq[38][32] = 200; EUC_TWFreq[74][2] = 199; EUC_TWFreq[53][31] = 198; EUC_TWFreq[35][38] = 197;
2838              * EUC_TWFreq[46][62] = 196; EUC_TWFreq[77][31] = 195; EUC_TWFreq[55][74] = 194; EUC_TWFreq[66][6] = 193;
2839              * EUC_TWFreq[56][21] = 192; EUC_TWFreq[54][78] = 191; EUC_TWFreq[43][51] = 190; EUC_TWFreq[64][93] = 189;
2840              * EUC_TWFreq[92][7] = 188; EUC_TWFreq[83][89] = 187; EUC_TWFreq[69][9] = 186; EUC_TWFreq[45][4] = 185;
2841              * EUC_TWFreq[53][9] = 184; EUC_TWFreq[43][2] = 183; EUC_TWFreq[35][11] = 182; EUC_TWFreq[51][25] = 181;
2842              * EUC_TWFreq[52][71] = 180; EUC_TWFreq[81][67] = 179; EUC_TWFreq[37][33] = 178; EUC_TWFreq[38][57] = 177;
2843              * EUC_TWFreq[39][77] = 176; EUC_TWFreq[40][26] = 175; EUC_TWFreq[37][21] = 174; EUC_TWFreq[81][70] = 173;
2844              * EUC_TWFreq[56][80] = 172; EUC_TWFreq[65][14] = 171; EUC_TWFreq[62][47] = 170; EUC_TWFreq[56][54] = 169;
2845              * EUC_TWFreq[45][17] = 168; EUC_TWFreq[52][52] = 167; EUC_TWFreq[74][30] = 166; EUC_TWFreq[60][57] = 165;
2846              * EUC_TWFreq[41][15] = 164; EUC_TWFreq[47][69] = 163; EUC_TWFreq[61][11] = 162; EUC_TWFreq[72][25] = 161;
2847              * EUC_TWFreq[82][56] = 160; EUC_TWFreq[76][92] = 159; EUC_TWFreq[51][22] = 158; EUC_TWFreq[55][69] = 157;
2848              * EUC_TWFreq[49][43] = 156; EUC_TWFreq[69][49] = 155; EUC_TWFreq[88][42] = 154; EUC_TWFreq[84][41] = 153;
2849              * EUC_TWFreq[79][33] = 152; EUC_TWFreq[47][17] = 151; EUC_TWFreq[52][88] = 150; EUC_TWFreq[63][74] = 149;
2850              * EUC_TWFreq[50][32] = 148; EUC_TWFreq[65][10] = 147; EUC_TWFreq[57][6] = 146; EUC_TWFreq[52][23] = 145;
2851              * EUC_TWFreq[36][70] = 144; EUC_TWFreq[65][55] = 143; EUC_TWFreq[35][27] = 142; EUC_TWFreq[57][63] = 141;
2852              * EUC_TWFreq[39][92] = 140; EUC_TWFreq[79][75] = 139; EUC_TWFreq[36][30] = 138; EUC_TWFreq[53][60] = 137;
2853              * EUC_TWFreq[55][43] = 136; EUC_TWFreq[71][22] = 135; EUC_TWFreq[43][16] = 134; EUC_TWFreq[65][21] = 133;
2854              * EUC_TWFreq[84][51] = 132; EUC_TWFreq[43][64] = 131; EUC_TWFreq[87][91] = 130; EUC_TWFreq[47][45] = 129;
2855              * EUC_TWFreq[65][29] = 128; EUC_TWFreq[88][16] = 127; EUC_TWFreq[50][5] = 126; EUC_TWFreq[47][33] = 125;
2856              * EUC_TWFreq[46][27] = 124; EUC_TWFreq[85][2] = 123; EUC_TWFreq[43][77] = 122; EUC_TWFreq[70][9] = 121;
2857              * EUC_TWFreq[41][54] = 120; EUC_TWFreq[56][12] = 119; EUC_TWFreq[90][65] = 118; EUC_TWFreq[91][50] = 117;
2858              * EUC_TWFreq[48][41] = 116; EUC_TWFreq[35][89] = 115; EUC_TWFreq[90][83] = 114; EUC_TWFreq[44][40] = 113;
2859              * EUC_TWFreq[50][88] = 112; EUC_TWFreq[72][39] = 111; EUC_TWFreq[45][3] = 110; EUC_TWFreq[71][33] = 109;
2860              * EUC_TWFreq[39][12] = 108; EUC_TWFreq[59][24] = 107; EUC_TWFreq[60][62] = 106; EUC_TWFreq[44][33] = 105;
2861              * EUC_TWFreq[53][70] = 104; EUC_TWFreq[77][90] = 103; EUC_TWFreq[50][58] = 102; EUC_TWFreq[54][1] = 101;
2862              * EUC_TWFreq[73][19] = 100; EUC_TWFreq[37][3] = 99; EUC_TWFreq[49][91] = 98; EUC_TWFreq[88][43] = 97;
2863              * EUC_TWFreq[36][78] = 96; EUC_TWFreq[44][20] = 95; EUC_TWFreq[64][15] = 94; EUC_TWFreq[72][28] = 93;
2864              * EUC_TWFreq[70][13] = 92; EUC_TWFreq[65][83] = 91; EUC_TWFreq[58][68] = 90; EUC_TWFreq[59][32] = 89;
2865              * EUC_TWFreq[39][13] = 88; EUC_TWFreq[55][64] = 87; EUC_TWFreq[56][59] = 86; EUC_TWFreq[39][17] = 85;
2866              * EUC_TWFreq[55][84] = 84; EUC_TWFreq[77][85] = 83; EUC_TWFreq[60][19] = 82; EUC_TWFreq[62][82] = 81;
2867              * EUC_TWFreq[78][16] = 80; EUC_TWFreq[66][8] = 79; EUC_TWFreq[39][42] = 78; EUC_TWFreq[61][24] = 77;
2868              * EUC_TWFreq[57][67] = 76; EUC_TWFreq[38][83] = 75; EUC_TWFreq[36][53] = 74; EUC_TWFreq[67][76] = 73;
2869              * EUC_TWFreq[37][91] = 72; EUC_TWFreq[44][26] = 71; EUC_TWFreq[72][86] = 70; EUC_TWFreq[44][87] = 69;
2870              * EUC_TWFreq[45][50] = 68; EUC_TWFreq[58][4] = 67; EUC_TWFreq[86][65] = 66; EUC_TWFreq[45][56] = 65;
2871              * EUC_TWFreq[79][49] = 64; EUC_TWFreq[35][3] = 63; EUC_TWFreq[48][83] = 62; EUC_TWFreq[71][21] = 61;
2872              * EUC_TWFreq[77][93] = 60; EUC_TWFreq[87][92] = 59; EUC_TWFreq[38][35] = 58; EUC_TWFreq[66][17] = 57;
2873              * EUC_TWFreq[37][66] = 56; EUC_TWFreq[51][42] = 55; EUC_TWFreq[57][73] = 54; EUC_TWFreq[51][54] = 53;
2874              * EUC_TWFreq[75][64] = 52; EUC_TWFreq[35][5] = 51; EUC_TWFreq[49][40] = 50; EUC_TWFreq[58][35] = 49;
2875              * EUC_TWFreq[67][88] = 48; EUC_TWFreq[60][51] = 47; EUC_TWFreq[36][92] = 46; EUC_TWFreq[44][41] = 45;
2876              * EUC_TWFreq[58][29] = 44; EUC_TWFreq[43][62] = 43; EUC_TWFreq[56][23] = 42; EUC_TWFreq[67][44] = 41;
2877              * EUC_TWFreq[52][91] = 40; EUC_TWFreq[42][81] = 39; EUC_TWFreq[64][25] = 38; EUC_TWFreq[35][36] = 37;
2878              * EUC_TWFreq[47][73] = 36; EUC_TWFreq[36][1] = 35; EUC_TWFreq[65][84] = 34; EUC_TWFreq[73][1] = 33;
2879              * EUC_TWFreq[79][66] = 32; EUC_TWFreq[69][14] = 31; EUC_TWFreq[65][28] = 30; EUC_TWFreq[60][93] = 29;
2880              * EUC_TWFreq[72][79] = 28; EUC_TWFreq[48][0] = 27; EUC_TWFreq[73][43] = 26; EUC_TWFreq[66][47] = 25;
2881              * EUC_TWFreq[41][18] = 24; EUC_TWFreq[51][10] = 23; EUC_TWFreq[59][7] = 22; EUC_TWFreq[53][27] = 21;
2882              * EUC_TWFreq[86][67] = 20; EUC_TWFreq[49][87] = 19; EUC_TWFreq[52][28] = 18; EUC_TWFreq[52][12] = 17;
2883              * EUC_TWFreq[42][30] = 16; EUC_TWFreq[65][35] = 15; EUC_TWFreq[46][64] = 14; EUC_TWFreq[71][7] = 13;
2884              * EUC_TWFreq[56][57] = 12; EUC_TWFreq[56][31] = 11; EUC_TWFreq[41][31] = 10; EUC_TWFreq[48][59] = 9;
2885              * EUC_TWFreq[63][92] = 8; EUC_TWFreq[62][57] = 7; EUC_TWFreq[65][87] = 6; EUC_TWFreq[70][10] = 5;
2886              * EUC_TWFreq[52][40] = 4; EUC_TWFreq[40][22] = 3; EUC_TWFreq[65][91] = 2; EUC_TWFreq[50][25] = 1;
2887              * EUC_TWFreq[35][84] = 0;
2888              */
2889             GBKFreq[52][132] = 600;
2890             GBKFreq[73][135] = 599;
2891             GBKFreq[49][123] = 598;
2892             GBKFreq[77][146] = 597;
2893             GBKFreq[81][123] = 596;
2894             GBKFreq[82][144] = 595;
2895             GBKFreq[51][179] = 594;
2896             GBKFreq[83][154] = 593;
2897             GBKFreq[71][139] = 592;
2898             GBKFreq[64][139] = 591;
2899             GBKFreq[85][144] = 590;
2900             GBKFreq[52][125] = 589;
2901             GBKFreq[88][25] = 588;
2902             GBKFreq[81][106] = 587;
2903             GBKFreq[81][148] = 586;
2904             GBKFreq[62][137] = 585;
2905             GBKFreq[94][0] = 584;
2906             GBKFreq[1][64] = 583;
2907             GBKFreq[67][163] = 582;
2908             GBKFreq[20][190] = 581;
2909             GBKFreq[57][131] = 580;
2910             GBKFreq[29][169] = 579;
2911             GBKFreq[72][143] = 578;
2912             GBKFreq[0][173] = 577;
2913             GBKFreq[11][23] = 576;
2914             GBKFreq[61][141] = 575;
2915             GBKFreq[60][123] = 574;
2916             GBKFreq[81][114] = 573;
2917             GBKFreq[82][131] = 572;
2918             GBKFreq[67][156] = 571;
2919             GBKFreq[71][167] = 570;
2920             GBKFreq[20][50] = 569;
2921             GBKFreq[77][132] = 568;
2922             GBKFreq[84][38] = 567;
2923             GBKFreq[26][29] = 566;
2924             GBKFreq[74][187] = 565;
2925             GBKFreq[62][116] = 564;
2926             GBKFreq[67][135] = 563;
2927             GBKFreq[5][86] = 562;
2928             GBKFreq[72][186] = 561;
2929             GBKFreq[75][161] = 560;
2930             GBKFreq[78][130] = 559;
2931             GBKFreq[94][30] = 558;
2932             GBKFreq[84][72] = 557;
2933             GBKFreq[1][67] = 556;
2934             GBKFreq[75][172] = 555;
2935             GBKFreq[74][185] = 554;
2936             GBKFreq[53][160] = 553;
2937             GBKFreq[123][14] = 552;
2938             GBKFreq[79][97] = 551;
2939             GBKFreq[85][110] = 550;
2940             GBKFreq[78][171] = 549;
2941             GBKFreq[52][131] = 548;
2942             GBKFreq[56][100] = 547;
2943             GBKFreq[50][182] = 546;
2944             GBKFreq[94][64] = 545;
2945             GBKFreq[106][74] = 544;
2946             GBKFreq[11][102] = 543;
2947             GBKFreq[53][124] = 542;
2948             GBKFreq[24][3] = 541;
2949             GBKFreq[86][148] = 540;
2950             GBKFreq[53][184] = 539;
2951             GBKFreq[86][147] = 538;
2952             GBKFreq[96][161] = 537;
2953             GBKFreq[82][77] = 536;
2954             GBKFreq[59][146] = 535;
2955             GBKFreq[84][126] = 534;
2956             GBKFreq[79][132] = 533;
2957             GBKFreq[85][123] = 532;
2958             GBKFreq[71][101] = 531;
2959             GBKFreq[85][106] = 530;
2960             GBKFreq[6][184] = 529;
2961             GBKFreq[57][156] = 528;
2962             GBKFreq[75][104] = 527;
2963             GBKFreq[50][137] = 526;
2964             GBKFreq[79][133] = 525;
2965             GBKFreq[76][108] = 524;
2966             GBKFreq[57][142] = 523;
2967             GBKFreq[84][130] = 522;
2968             GBKFreq[52][128] = 521;
2969             GBKFreq[47][44] = 520;
2970             GBKFreq[52][152] = 519;
2971             GBKFreq[54][104] = 518;
2972             GBKFreq[30][47] = 517;
2973             GBKFreq[71][123] = 516;
2974             GBKFreq[52][107] = 515;
2975             GBKFreq[45][84] = 514;
2976             GBKFreq[107][118] = 513;
2977             GBKFreq[5][161] = 512;
2978             GBKFreq[48][126] = 511;
2979             GBKFreq[67][170] = 510;
2980             GBKFreq[43][6] = 509;
2981             GBKFreq[70][112] = 508;
2982             GBKFreq[86][174] = 507;
2983             GBKFreq[84][166] = 506;
2984             GBKFreq[79][130] = 505;
2985             GBKFreq[57][141] = 504;
2986             GBKFreq[81][178] = 503;
2987             GBKFreq[56][187] = 502;
2988             GBKFreq[81][162] = 501;
2989             GBKFreq[53][104] = 500;
2990             GBKFreq[123][35] = 499;
2991             GBKFreq[70][169] = 498;
2992             GBKFreq[69][164] = 497;
2993             GBKFreq[109][61] = 496;
2994             GBKFreq[73][130] = 495;
2995             GBKFreq[62][134] = 494;
2996             GBKFreq[54][125] = 493;
2997             GBKFreq[79][105] = 492;
2998             GBKFreq[70][165] = 491;
2999             GBKFreq[71][189] = 490;
3000             GBKFreq[23][147] = 489;
3001             GBKFreq[51][139] = 488;
3002             GBKFreq[47][137] = 487;
3003             GBKFreq[77][123] = 486;
3004             GBKFreq[86][183] = 485;
3005             GBKFreq[63][173] = 484;
3006             GBKFreq[79][144] = 483;
3007             GBKFreq[84][159] = 482;
3008             GBKFreq[60][91] = 481;
3009             GBKFreq[66][187] = 480;
3010             GBKFreq[73][114] = 479;
3011             GBKFreq[85][56] = 478;
3012             GBKFreq[71][149] = 477;
3013             GBKFreq[84][189] = 476;
3014             GBKFreq[104][31] = 475;
3015             GBKFreq[83][82] = 474;
3016             GBKFreq[68][35] = 473;
3017             GBKFreq[11][77] = 472;
3018             GBKFreq[15][155] = 471;
3019             GBKFreq[83][153] = 470;
3020             GBKFreq[71][1] = 469;
3021             GBKFreq[53][190] = 468;
3022             GBKFreq[50][135] = 467;
3023             GBKFreq[3][147] = 466;
3024             GBKFreq[48][136] = 465;
3025             GBKFreq[66][166] = 464;
3026             GBKFreq[55][159] = 463;
3027             GBKFreq[82][150] = 462;
3028             GBKFreq[58][178] = 461;
3029             GBKFreq[64][102] = 460;
3030             GBKFreq[16][106] = 459;
3031             GBKFreq[68][110] = 458;
3032             GBKFreq[54][14] = 457;
3033             GBKFreq[60][140] = 456;
3034             GBKFreq[91][71] = 455;
3035             GBKFreq[54][150] = 454;
3036             GBKFreq[78][177] = 453;
3037             GBKFreq[78][117] = 452;
3038             GBKFreq[104][12] = 451;
3039             GBKFreq[73][150] = 450;
3040             GBKFreq[51][142] = 449;
3041             GBKFreq[81][145] = 448;
3042             GBKFreq[66][183] = 447;
3043             GBKFreq[51][178] = 446;
3044             GBKFreq[75][107] = 445;
3045             GBKFreq[65][119] = 444;
3046             GBKFreq[69][176] = 443;
3047             GBKFreq[59][122] = 442;
3048             GBKFreq[78][160] = 441;
3049             GBKFreq[85][183] = 440;
3050             GBKFreq[105][16] = 439;
3051             GBKFreq[73][110] = 438;
3052             GBKFreq[104][39] = 437;
3053             GBKFreq[119][16] = 436;
3054             GBKFreq[76][162] = 435;
3055             GBKFreq[67][152] = 434;
3056             GBKFreq[82][24] = 433;
3057             GBKFreq[73][121] = 432;
3058             GBKFreq[83][83] = 431;
3059             GBKFreq[82][145] = 430;
3060             GBKFreq[49][133] = 429;
3061             GBKFreq[94][13] = 428;
3062             GBKFreq[58][139] = 427;
3063             GBKFreq[74][189] = 426;
3064             GBKFreq[66][177] = 425;
3065             GBKFreq[85][184] = 424;
3066             GBKFreq[55][183] = 423;
3067             GBKFreq[71][107] = 422;
3068             GBKFreq[11][98] = 421;
3069             GBKFreq[72][153] = 420;
3070             GBKFreq[2][137] = 419;
3071             GBKFreq[59][147] = 418;
3072             GBKFreq[58][152] = 417;
3073             GBKFreq[55][144] = 416;
3074             GBKFreq[73][125] = 415;
3075             GBKFreq[52][154] = 414;
3076             GBKFreq[70][178] = 413;
3077             GBKFreq[79][148] = 412;
3078             GBKFreq[63][143] = 411;
3079             GBKFreq[50][140] = 410;
3080             GBKFreq[47][145] = 409;
3081             GBKFreq[48][123] = 408;
3082             GBKFreq[56][107] = 407;
3083             GBKFreq[84][83] = 406;
3084             GBKFreq[59][112] = 405;
3085             GBKFreq[124][72] = 404;
3086             GBKFreq[79][99] = 403;
3087             GBKFreq[3][37] = 402;
3088             GBKFreq[114][55] = 401;
3089             GBKFreq[85][152] = 400;
3090             GBKFreq[60][47] = 399;
3091             GBKFreq[65][96] = 398;
3092             GBKFreq[74][110] = 397;
3093             GBKFreq[86][182] = 396;
3094             GBKFreq[50][99] = 395;
3095             GBKFreq[67][186] = 394;
3096             GBKFreq[81][74] = 393;
3097             GBKFreq[80][37] = 392;
3098             GBKFreq[21][60] = 391;
3099             GBKFreq[110][12] = 390;
3100             GBKFreq[60][162] = 389;
3101             GBKFreq[29][115] = 388;
3102             GBKFreq[83][130] = 387;
3103             GBKFreq[52][136] = 386;
3104             GBKFreq[63][114] = 385;
3105             GBKFreq[49][127] = 384;
3106             GBKFreq[83][109] = 383;
3107             GBKFreq[66][128] = 382;
3108             GBKFreq[78][136] = 381;
3109             GBKFreq[81][180] = 380;
3110             GBKFreq[76][104] = 379;
3111             GBKFreq[56][156] = 378;
3112             GBKFreq[61][23] = 377;
3113             GBKFreq[4][30] = 376;
3114             GBKFreq[69][154] = 375;
3115             GBKFreq[100][37] = 374;
3116             GBKFreq[54][177] = 373;
3117             GBKFreq[23][119] = 372;
3118             GBKFreq[71][171] = 371;
3119             GBKFreq[84][146] = 370;
3120             GBKFreq[20][184] = 369;
3121             GBKFreq[86][76] = 368;
3122             GBKFreq[74][132] = 367;
3123             GBKFreq[47][97] = 366;
3124             GBKFreq[82][137] = 365;
3125             GBKFreq[94][56] = 364;
3126             GBKFreq[92][30] = 363;
3127             GBKFreq[19][117] = 362;
3128             GBKFreq[48][173] = 361;
3129             GBKFreq[2][136] = 360;
3130             GBKFreq[7][182] = 359;
3131             GBKFreq[74][188] = 358;
3132             GBKFreq[14][132] = 357;
3133             GBKFreq[62][172] = 356;
3134             GBKFreq[25][39] = 355;
3135             GBKFreq[85][129] = 354;
3136             GBKFreq[64][98] = 353;
3137             GBKFreq[67][127] = 352;
3138             GBKFreq[72][167] = 351;
3139             GBKFreq[57][143] = 350;
3140             GBKFreq[76][187] = 349;
3141             GBKFreq[83][181] = 348;
3142             GBKFreq[84][10] = 347;
3143             GBKFreq[55][166] = 346;
3144             GBKFreq[55][188] = 345;
3145             GBKFreq[13][151] = 344;
3146             GBKFreq[62][124] = 343;
3147             GBKFreq[53][136] = 342;
3148             GBKFreq[106][57] = 341;
3149             GBKFreq[47][166] = 340;
3150             GBKFreq[109][30] = 339;
3151             GBKFreq[78][114] = 338;
3152             GBKFreq[83][19] = 337;
3153             GBKFreq[56][162] = 336;
3154             GBKFreq[60][177] = 335;
3155             GBKFreq[88][9] = 334;
3156             GBKFreq[74][163] = 333;
3157             GBKFreq[52][156] = 332;
3158             GBKFreq[71][180] = 331;
3159             GBKFreq[60][57] = 330;
3160             GBKFreq[72][173] = 329;
3161             GBKFreq[82][91] = 328;
3162             GBKFreq[51][186] = 327;
3163             GBKFreq[75][86] = 326;
3164             GBKFreq[75][78] = 325;
3165             GBKFreq[76][170] = 324;
3166             GBKFreq[60][147] = 323;
3167             GBKFreq[82][75] = 322;
3168             GBKFreq[80][148] = 321;
3169             GBKFreq[86][150] = 320;
3170             GBKFreq[13][95] = 319;
3171             GBKFreq[0][11] = 318;
3172             GBKFreq[84][190] = 317;
3173             GBKFreq[76][166] = 316;
3174             GBKFreq[14][72] = 315;
3175             GBKFreq[67][144] = 314;
3176             GBKFreq[84][44] = 313;
3177             GBKFreq[72][125] = 312;
3178             GBKFreq[66][127] = 311;
3179             GBKFreq[60][25] = 310;
3180             GBKFreq[70][146] = 309;
3181             GBKFreq[79][135] = 308;
3182             GBKFreq[54][135] = 307;
3183             GBKFreq[60][104] = 306;
3184             GBKFreq[55][132] = 305;
3185             GBKFreq[94][2] = 304;
3186             GBKFreq[54][133] = 303;
3187             GBKFreq[56][190] = 302;
3188             GBKFreq[58][174] = 301;
3189             GBKFreq[80][144] = 300;
3190             GBKFreq[85][113] = 299;
3191             /*
3192              * GBKFreq[83][15] = 298; GBKFreq[105][80] = 297; GBKFreq[7][179] = 296; GBKFreq[93][4] = 295;
3193              * GBKFreq[123][40] = 294; GBKFreq[85][120] = 293; GBKFreq[77][165] = 292; GBKFreq[86][67] = 291;
3194              * GBKFreq[25][162] = 290; GBKFreq[77][183] = 289; GBKFreq[83][71] = 288; GBKFreq[78][99] = 287;
3195              * GBKFreq[72][177] = 286; GBKFreq[71][97] = 285; GBKFreq[58][111] = 284; GBKFreq[77][175] = 283;
3196              * GBKFreq[76][181] = 282; GBKFreq[71][142] = 281; GBKFreq[64][150] = 280; GBKFreq[5][142] = 279;
3197              * GBKFreq[73][128] = 278; GBKFreq[73][156] = 277; GBKFreq[60][188] = 276; GBKFreq[64][56] = 275;
3198              * GBKFreq[74][128] = 274; GBKFreq[48][163] = 273; GBKFreq[54][116] = 272; GBKFreq[73][127] = 271;
3199              * GBKFreq[16][176] = 270; GBKFreq[62][149] = 269; GBKFreq[105][96] = 268; GBKFreq[55][186] = 267;
3200              * GBKFreq[4][51] = 266; GBKFreq[48][113] = 265; GBKFreq[48][152] = 264; GBKFreq[23][9] = 263;
3201              * GBKFreq[56][102] = 262; GBKFreq[11][81] = 261; GBKFreq[82][112] = 260; GBKFreq[65][85] = 259;
3202              * GBKFreq[69][125] = 258; GBKFreq[68][31] = 257; GBKFreq[5][20] = 256; GBKFreq[60][176] = 255;
3203              * GBKFreq[82][81] = 254; GBKFreq[72][107] = 253; GBKFreq[3][52] = 252; GBKFreq[71][157] = 251;
3204              * GBKFreq[24][46] = 250; GBKFreq[69][108] = 249; GBKFreq[78][178] = 248; GBKFreq[9][69] = 247;
3205              * GBKFreq[73][144] = 246; GBKFreq[63][187] = 245; GBKFreq[68][36] = 244; GBKFreq[47][151] = 243;
3206              * GBKFreq[14][74] = 242; GBKFreq[47][114] = 241; GBKFreq[80][171] = 240; GBKFreq[75][152] = 239;
3207              * GBKFreq[86][40] = 238; GBKFreq[93][43] = 237; GBKFreq[2][50] = 236; GBKFreq[62][66] = 235;
3208              * GBKFreq[1][183] = 234; GBKFreq[74][124] = 233; GBKFreq[58][104] = 232; GBKFreq[83][106] = 231;
3209              * GBKFreq[60][144] = 230; GBKFreq[48][99] = 229; GBKFreq[54][157] = 228; GBKFreq[70][179] = 227;
3210              * GBKFreq[61][127] = 226; GBKFreq[57][135] = 225; GBKFreq[59][190] = 224; GBKFreq[77][116] = 223;
3211              * GBKFreq[26][17] = 222; GBKFreq[60][13] = 221; GBKFreq[71][38] = 220; GBKFreq[85][177] = 219;
3212              * GBKFreq[59][73] = 218; GBKFreq[50][150] = 217; GBKFreq[79][102] = 216; GBKFreq[76][118] = 215;
3213              * GBKFreq[67][132] = 214; GBKFreq[73][146] = 213; GBKFreq[83][184] = 212; GBKFreq[86][159] = 211;
3214              * GBKFreq[95][120] = 210; GBKFreq[23][139] = 209; GBKFreq[64][183] = 208; GBKFreq[85][103] = 207;
3215              * GBKFreq[41][90] = 206; GBKFreq[87][72] = 205; GBKFreq[62][104] = 204; GBKFreq[79][168] = 203;
3216              * GBKFreq[79][150] = 202; GBKFreq[104][20] = 201; GBKFreq[56][114] = 200; GBKFreq[84][26] = 199;
3217              * GBKFreq[57][99] = 198; GBKFreq[62][154] = 197; GBKFreq[47][98] = 196; GBKFreq[61][64] = 195;
3218              * GBKFreq[112][18] = 194; GBKFreq[123][19] = 193; GBKFreq[4][98] = 192; GBKFreq[47][163] = 191;
3219              * GBKFreq[66][188] = 190; GBKFreq[81][85] = 189; GBKFreq[82][30] = 188; GBKFreq[65][83] = 187;
3220              * GBKFreq[67][24] = 186; GBKFreq[68][179] = 185; GBKFreq[55][177] = 184; GBKFreq[2][122] = 183;
3221              * GBKFreq[47][139] = 182; GBKFreq[79][158] = 181; GBKFreq[64][143] = 180; GBKFreq[100][24] = 179;
3222              * GBKFreq[73][103] = 178; GBKFreq[50][148] = 177; GBKFreq[86][97] = 176; GBKFreq[59][116] = 175;
3223              * GBKFreq[64][173] = 174; GBKFreq[99][91] = 173; GBKFreq[11][99] = 172; GBKFreq[78][179] = 171;
3224              * GBKFreq[18][17] = 170; GBKFreq[58][185] = 169; GBKFreq[47][165] = 168; GBKFreq[67][131] = 167;
3225              * GBKFreq[94][40] = 166; GBKFreq[74][153] = 165; GBKFreq[79][142] = 164; GBKFreq[57][98] = 163;
3226              * GBKFreq[1][164] = 162; GBKFreq[55][168] = 161; GBKFreq[13][141] = 160; GBKFreq[51][31] = 159;
3227              * GBKFreq[57][178] = 158; GBKFreq[50][189] = 157; GBKFreq[60][167] = 156; GBKFreq[80][34] = 155;
3228              * GBKFreq[109][80] = 154; GBKFreq[85][54] = 153; GBKFreq[69][183] = 152; GBKFreq[67][143] = 151;
3229              * GBKFreq[47][120] = 150; GBKFreq[45][75] = 149; GBKFreq[82][98] = 148; GBKFreq[83][22] = 147;
3230              * GBKFreq[13][103] = 146; GBKFreq[49][174] = 145; GBKFreq[57][181] = 144; GBKFreq[64][127] = 143;
3231              * GBKFreq[61][131] = 142; GBKFreq[52][180] = 141; GBKFreq[74][134] = 140; GBKFreq[84][187] = 139;
3232              * GBKFreq[81][189] = 138; GBKFreq[47][160] = 137; GBKFreq[66][148] = 136; GBKFreq[7][4] = 135;
3233              * GBKFreq[85][134] = 134; GBKFreq[88][13] = 133; GBKFreq[88][80] = 132; GBKFreq[69][166] = 131;
3234              * GBKFreq[86][18] = 130; GBKFreq[79][141] = 129; GBKFreq[50][108] = 128; GBKFreq[94][69] = 127;
3235              * GBKFreq[81][110] = 126; GBKFreq[69][119] = 125; GBKFreq[72][161] = 124; GBKFreq[106][45] = 123;
3236              * GBKFreq[73][124] = 122; GBKFreq[94][28] = 121; GBKFreq[63][174] = 120; GBKFreq[3][149] = 119;
3237              * GBKFreq[24][160] = 118; GBKFreq[113][94] = 117; GBKFreq[56][138] = 116; GBKFreq[64][185] = 115;
3238              * GBKFreq[86][56] = 114; GBKFreq[56][150] = 113; GBKFreq[110][55] = 112; GBKFreq[28][13] = 111;
3239              * GBKFreq[54][190] = 110; GBKFreq[8][180] = 109; GBKFreq[73][149] = 108; GBKFreq[80][155] = 107;
3240              * GBKFreq[83][172] = 106; GBKFreq[67][174] = 105; GBKFreq[64][180] = 104; GBKFreq[84][46] = 103;
3241              * GBKFreq[91][74] = 102; GBKFreq[69][134] = 101; GBKFreq[61][107] = 100; GBKFreq[47][171] = 99;
3242              * GBKFreq[59][51] = 98; GBKFreq[109][74] = 97; GBKFreq[64][174] = 96; GBKFreq[52][151] = 95;
3243              * GBKFreq[51][176] = 94; GBKFreq[80][157] = 93; GBKFreq[94][31] = 92; GBKFreq[79][155] = 91;
3244              * GBKFreq[72][174] = 90; GBKFreq[69][113] = 89; GBKFreq[83][167] = 88; GBKFreq[83][122] = 87;
3245              * GBKFreq[8][178] = 86; GBKFreq[70][186] = 85; GBKFreq[59][153] = 84; GBKFreq[84][68] = 83; GBKFreq[79][39]
3246              * = 82; GBKFreq[47][180] = 81; GBKFreq[88][53] = 80; GBKFreq[57][154] = 79; GBKFreq[47][153] = 78;
3247              * GBKFreq[3][153] = 77; GBKFreq[76][134] = 76; GBKFreq[51][166] = 75; GBKFreq[58][176] = 74;
3248              * GBKFreq[27][138] = 73; GBKFreq[73][126] = 72; GBKFreq[76][185] = 71; GBKFreq[52][186] = 70;
3249              * GBKFreq[81][151] = 69; GBKFreq[26][50] = 68; GBKFreq[76][173] = 67; GBKFreq[106][56] = 66;
3250              * GBKFreq[85][142] = 65; GBKFreq[11][103] = 64; GBKFreq[69][159] = 63; GBKFreq[53][142] = 62; GBKFreq[7][6]
3251              * = 61; GBKFreq[84][59] = 60; GBKFreq[86][3] = 59; GBKFreq[64][144] = 58; GBKFreq[1][187] = 57;
3252              * GBKFreq[82][128] = 56; GBKFreq[3][66] = 55; GBKFreq[68][133] = 54; GBKFreq[55][167] = 53;
3253              * GBKFreq[52][130] = 52; GBKFreq[61][133] = 51; GBKFreq[72][181] = 50; GBKFreq[25][98] = 49;
3254              * GBKFreq[84][149] = 48; GBKFreq[91][91] = 47; GBKFreq[47][188] = 46; GBKFreq[68][130] = 45;
3255              * GBKFreq[22][44] = 44; GBKFreq[81][121] = 43; GBKFreq[72][140] = 42; GBKFreq[55][133] = 41;
3256              * GBKFreq[55][185] = 40; GBKFreq[56][105] = 39; GBKFreq[60][30] = 38; GBKFreq[70][103] = 37;
3257              * GBKFreq[62][141] = 36; GBKFreq[70][144] = 35; GBKFreq[59][111] = 34; GBKFreq[54][17] = 33;
3258              * GBKFreq[18][190] = 32; GBKFreq[65][164] = 31; GBKFreq[83][125] = 30; GBKFreq[61][121] = 29;
3259              * GBKFreq[48][13] = 28; GBKFreq[51][189] = 27; GBKFreq[65][68] = 26; GBKFreq[7][0] = 25; GBKFreq[76][188] =
3260              * 24; GBKFreq[85][117] = 23; GBKFreq[45][33] = 22; GBKFreq[78][187] = 21; GBKFreq[106][48] = 20;
3261              * GBKFreq[59][52] = 19; GBKFreq[86][185] = 18; GBKFreq[84][121] = 17; GBKFreq[82][189] = 16;
3262              * GBKFreq[68][156] = 15; GBKFreq[55][125] = 14; GBKFreq[65][175] = 13; GBKFreq[7][140] = 12;
3263              * GBKFreq[50][106] = 11; GBKFreq[59][124] = 10; GBKFreq[67][115] = 9; GBKFreq[82][114] = 8;
3264              * GBKFreq[74][121] = 7; GBKFreq[106][69] = 6; GBKFreq[94][27] = 5; GBKFreq[78][98] = 4; GBKFreq[85][186] =
3265              * 3; GBKFreq[108][90] = 2; GBKFreq[62][160] = 1; GBKFreq[60][169] = 0;
3266              */
3267             KRFreq[31][43] = 600;
3268             KRFreq[19][56] = 599;
3269             KRFreq[38][46] = 598;
3270             KRFreq[3][3] = 597;
3271             KRFreq[29][77] = 596;
3272             KRFreq[19][33] = 595;
3273             KRFreq[30][0] = 594;
3274             KRFreq[29][89] = 593;
3275             KRFreq[31][26] = 592;
3276             KRFreq[31][38] = 591;
3277             KRFreq[32][85] = 590;
3278             KRFreq[15][0] = 589;
3279             KRFreq[16][54] = 588;
3280             KRFreq[15][76] = 587;
3281             KRFreq[31][25] = 586;
3282             KRFreq[23][13] = 585;
3283             KRFreq[28][34] = 584;
3284             KRFreq[18][9] = 583;
3285             KRFreq[29][37] = 582;
3286             KRFreq[22][45] = 581;
3287             KRFreq[19][46] = 580;
3288             KRFreq[16][65] = 579;
3289             KRFreq[23][5] = 578;
3290             KRFreq[26][70] = 577;
3291             KRFreq[31][53] = 576;
3292             KRFreq[27][12] = 575;
3293             KRFreq[30][67] = 574;
3294             KRFreq[31][57] = 573;
3295             KRFreq[20][20] = 572;
3296             KRFreq[30][31] = 571;
3297             KRFreq[20][72] = 570;
3298             KRFreq[15][51] = 569;
3299             KRFreq[3][8] = 568;
3300             KRFreq[32][53] = 567;
3301             KRFreq[27][85] = 566;
3302             KRFreq[25][23] = 565;
3303             KRFreq[15][44] = 564;
3304             KRFreq[32][3] = 563;
3305             KRFreq[31][68] = 562;
3306             KRFreq[30][24] = 561;
3307             KRFreq[29][49] = 560;
3308             KRFreq[27][49] = 559;
3309             KRFreq[23][23] = 558;
3310             KRFreq[31][91] = 557;
3311             KRFreq[31][46] = 556;
3312             KRFreq[19][74] = 555;
3313             KRFreq[27][27] = 554;
3314             KRFreq[3][17] = 553;
3315             KRFreq[20][38] = 552;
3316             KRFreq[21][82] = 551;
3317             KRFreq[28][25] = 550;
3318             KRFreq[32][5] = 549;
3319             KRFreq[31][23] = 548;
3320             KRFreq[25][45] = 547;
3321             KRFreq[32][87] = 546;
3322             KRFreq[18][26] = 545;
3323             KRFreq[24][10] = 544;
3324             KRFreq[26][82] = 543;
3325             KRFreq[15][89] = 542;
3326             KRFreq[28][36] = 541;
3327             KRFreq[28][31] = 540;
3328             KRFreq[16][23] = 539;
3329             KRFreq[16][77] = 538;
3330             KRFreq[19][84] = 537;
3331             KRFreq[23][72] = 536;
3332             KRFreq[38][48] = 535;
3333             KRFreq[23][2] = 534;
3334             KRFreq[30][20] = 533;
3335             KRFreq[38][47] = 532;
3336             KRFreq[39][12] = 531;
3337             KRFreq[23][21] = 530;
3338             KRFreq[18][17] = 529;
3339             KRFreq[30][87] = 528;
3340             KRFreq[29][62] = 527;
3341             KRFreq[29][87] = 526;
3342             KRFreq[34][53] = 525;
3343             KRFreq[32][29] = 524;
3344             KRFreq[35][0] = 523;
3345             KRFreq[24][43] = 522;
3346             KRFreq[36][44] = 521;
3347             KRFreq[20][30] = 520;
3348             KRFreq[39][86] = 519;
3349             KRFreq[22][14] = 518;
3350             KRFreq[29][39] = 517;
3351             KRFreq[28][38] = 516;
3352             KRFreq[23][79] = 515;
3353             KRFreq[24][56] = 514;
3354             KRFreq[29][63] = 513;
3355             KRFreq[31][45] = 512;
3356             KRFreq[23][26] = 511;
3357             KRFreq[15][87] = 510;
3358             KRFreq[30][74] = 509;
3359             KRFreq[24][69] = 508;
3360             KRFreq[20][4] = 507;
3361             KRFreq[27][50] = 506;
3362             KRFreq[30][75] = 505;
3363             KRFreq[24][13] = 504;
3364             KRFreq[30][8] = 503;
3365             KRFreq[31][6] = 502;
3366             KRFreq[25][80] = 501;
3367             KRFreq[36][8] = 500;
3368             KRFreq[15][18] = 499;
3369             KRFreq[39][23] = 498;
3370             KRFreq[16][24] = 497;
3371             KRFreq[31][89] = 496;
3372             KRFreq[15][71] = 495;
3373             KRFreq[15][57] = 494;
3374             KRFreq[30][11] = 493;
3375             KRFreq[15][36] = 492;
3376             KRFreq[16][60] = 491;
3377             KRFreq[24][45] = 490;
3378             KRFreq[37][35] = 489;
3379             KRFreq[24][87] = 488;
3380             KRFreq[20][45] = 487;
3381             KRFreq[31][90] = 486;
3382             KRFreq[32][21] = 485;
3383             KRFreq[19][70] = 484;
3384             KRFreq[24][15] = 483;
3385             KRFreq[26][92] = 482;
3386             KRFreq[37][13] = 481;
3387             KRFreq[39][2] = 480;
3388             KRFreq[23][70] = 479;
3389             KRFreq[27][25] = 478;
3390             KRFreq[15][69] = 477;
3391             KRFreq[19][61] = 476;
3392             KRFreq[31][58] = 475;
3393             KRFreq[24][57] = 474;
3394             KRFreq[36][74] = 473;
3395             KRFreq[21][6] = 472;
3396             KRFreq[30][44] = 471;
3397             KRFreq[15][91] = 470;
3398             KRFreq[27][16] = 469;
3399             KRFreq[29][42] = 468;
3400             KRFreq[33][86] = 467;
3401             KRFreq[29][41] = 466;
3402             KRFreq[20][68] = 465;
3403             KRFreq[25][47] = 464;
3404             KRFreq[22][0] = 463;
3405             KRFreq[18][14] = 462;
3406             KRFreq[31][28] = 461;
3407             KRFreq[15][2] = 460;
3408             KRFreq[23][76] = 459;
3409             KRFreq[38][32] = 458;
3410             KRFreq[29][82] = 457;
3411             KRFreq[21][86] = 456;
3412             KRFreq[24][62] = 455;
3413             KRFreq[31][64] = 454;
3414             KRFreq[38][26] = 453;
3415             KRFreq[32][86] = 452;
3416             KRFreq[22][32] = 451;
3417             KRFreq[19][59] = 450;
3418             KRFreq[34][18] = 449;
3419             KRFreq[18][54] = 448;
3420             KRFreq[38][63] = 447;
3421             KRFreq[36][23] = 446;
3422             KRFreq[35][35] = 445;
3423             KRFreq[32][62] = 444;
3424             KRFreq[28][35] = 443;
3425             KRFreq[27][13] = 442;
3426             KRFreq[31][59] = 441;
3427             KRFreq[29][29] = 440;
3428             KRFreq[15][64] = 439;
3429             KRFreq[26][84] = 438;
3430             KRFreq[21][90] = 437;
3431             KRFreq[20][24] = 436;
3432             KRFreq[16][18] = 435;
3433             KRFreq[22][23] = 434;
3434             KRFreq[31][14] = 433;
3435             KRFreq[15][1] = 432;
3436             KRFreq[18][63] = 431;
3437             KRFreq[19][10] = 430;
3438             KRFreq[25][49] = 429;
3439             KRFreq[36][57] = 428;
3440             KRFreq[20][22] = 427;
3441             KRFreq[15][15] = 426;
3442             KRFreq[31][51] = 425;
3443             KRFreq[24][60] = 424;
3444             KRFreq[31][70] = 423;
3445             KRFreq[15][7] = 422;
3446             KRFreq[28][40] = 421;
3447             KRFreq[18][41] = 420;
3448             KRFreq[15][38] = 419;
3449             KRFreq[32][0] = 418;
3450             KRFreq[19][51] = 417;
3451             KRFreq[34][62] = 416;
3452             KRFreq[16][27] = 415;
3453             KRFreq[20][70] = 414;
3454             KRFreq[22][33] = 413;
3455             KRFreq[26][73] = 412;
3456             KRFreq[20][79] = 411;
3457             KRFreq[23][6] = 410;
3458             KRFreq[24][85] = 409;
3459             KRFreq[38][51] = 408;
3460             KRFreq[29][88] = 407;
3461             KRFreq[38][55] = 406;
3462             KRFreq[32][32] = 405;
3463             KRFreq[27][18] = 404;
3464             KRFreq[23][87] = 403;
3465             KRFreq[35][6] = 402;
3466             KRFreq[34][27] = 401;
3467             KRFreq[39][35] = 400;
3468             KRFreq[30][88] = 399;
3469             KRFreq[32][92] = 398;
3470             KRFreq[32][49] = 397;
3471             KRFreq[24][61] = 396;
3472             KRFreq[18][74] = 395;
3473             KRFreq[23][77] = 394;
3474             KRFreq[23][50] = 393;
3475             KRFreq[23][32] = 392;
3476             KRFreq[23][36] = 391;
3477             KRFreq[38][38] = 390;
3478             KRFreq[29][86] = 389;
3479             KRFreq[36][15] = 388;
3480             KRFreq[31][50] = 387;
3481             KRFreq[15][86] = 386;
3482             KRFreq[39][13] = 385;
3483             KRFreq[34][26] = 384;
3484             KRFreq[19][34] = 383;
3485             KRFreq[16][3] = 382;
3486             KRFreq[26][93] = 381;
3487             KRFreq[19][67] = 380;
3488             KRFreq[24][72] = 379;
3489             KRFreq[29][17] = 378;
3490             KRFreq[23][24] = 377;
3491             KRFreq[25][19] = 376;
3492             KRFreq[18][65] = 375;
3493             KRFreq[30][78] = 374;
3494             KRFreq[27][52] = 373;
3495             KRFreq[22][18] = 372;
3496             KRFreq[16][38] = 371;
3497             KRFreq[21][26] = 370;
3498             KRFreq[34][20] = 369;
3499             KRFreq[15][42] = 368;
3500             KRFreq[16][71] = 367;
3501             KRFreq[17][17] = 366;
3502             KRFreq[24][71] = 365;
3503             KRFreq[18][84] = 364;
3504             KRFreq[15][40] = 363;
3505             KRFreq[31][62] = 362;
3506             KRFreq[15][8] = 361;
3507             KRFreq[16][69] = 360;
3508             KRFreq[29][79] = 359;
3509             KRFreq[38][91] = 358;
3510             KRFreq[31][92] = 357;
3511             KRFreq[20][77] = 356;
3512             KRFreq[3][16] = 355;
3513             KRFreq[27][87] = 354;
3514             KRFreq[16][25] = 353;
3515             KRFreq[36][33] = 352;
3516             KRFreq[37][76] = 351;
3517             KRFreq[30][12] = 350;
3518             KRFreq[26][75] = 349;
3519             KRFreq[25][14] = 348;
3520             KRFreq[32][26] = 347;
3521             KRFreq[23][22] = 346;
3522             KRFreq[20][90] = 345;
3523             KRFreq[19][8] = 344;
3524             KRFreq[38][41] = 343;
3525             KRFreq[34][2] = 342;
3526             KRFreq[39][4] = 341;
3527             KRFreq[27][89] = 340;
3528             KRFreq[28][41] = 339;
3529             KRFreq[28][44] = 338;
3530             KRFreq[24][92] = 337;
3531             KRFreq[34][65] = 336;
3532             KRFreq[39][14] = 335;
3533             KRFreq[21][38] = 334;
3534             KRFreq[19][31] = 333;
3535             KRFreq[37][39] = 332;
3536             KRFreq[33][41] = 331;
3537             KRFreq[38][4] = 330;
3538             KRFreq[23][80] = 329;
3539             KRFreq[25][24] = 328;
3540             KRFreq[37][17] = 327;
3541             KRFreq[22][16] = 326;
3542             KRFreq[22][46] = 325;
3543             KRFreq[33][91] = 324;
3544             KRFreq[24][89] = 323;
3545             KRFreq[30][52] = 322;
3546             KRFreq[29][38] = 321;
3547             KRFreq[38][85] = 320;
3548             KRFreq[15][12] = 319;
3549             KRFreq[27][58] = 318;
3550             KRFreq[29][52] = 317;
3551             KRFreq[37][38] = 316;
3552             KRFreq[34][41] = 315;
3553             KRFreq[31][65] = 314;
3554             KRFreq[29][53] = 313;
3555             KRFreq[22][47] = 312;
3556             KRFreq[22][19] = 311;
3557             KRFreq[26][0] = 310;
3558             KRFreq[37][86] = 309;
3559             KRFreq[35][4] = 308;
3560             KRFreq[36][54] = 307;
3561             KRFreq[20][76] = 306;
3562             KRFreq[30][9] = 305;
3563             KRFreq[30][33] = 304;
3564             KRFreq[23][17] = 303;
3565             KRFreq[23][33] = 302;
3566             KRFreq[38][52] = 301;
3567             KRFreq[15][19] = 300;
3568             KRFreq[28][45] = 299;
3569             KRFreq[29][78] = 298;
3570             KRFreq[23][15] = 297;
3571             KRFreq[33][5] = 296;
3572             KRFreq[17][40] = 295;
3573             KRFreq[30][83] = 294;
3574             KRFreq[18][1] = 293;
3575             KRFreq[30][81] = 292;
3576             KRFreq[19][40] = 291;
3577             KRFreq[24][47] = 290;
3578             KRFreq[17][56] = 289;
3579             KRFreq[39][80] = 288;
3580             KRFreq[30][46] = 287;
3581             KRFreq[16][61] = 286;
3582             KRFreq[26][78] = 285;
3583             KRFreq[26][57] = 284;
3584             KRFreq[20][46] = 283;
3585             KRFreq[25][15] = 282;
3586             KRFreq[25][91] = 281;
3587             KRFreq[21][83] = 280;
3588             KRFreq[30][77] = 279;
3589             KRFreq[35][30] = 278;
3590             KRFreq[30][34] = 277;
3591             KRFreq[20][69] = 276;
3592             KRFreq[35][10] = 275;
3593             KRFreq[29][70] = 274;
3594             KRFreq[22][50] = 273;
3595             KRFreq[18][0] = 272;
3596             KRFreq[22][64] = 271;
3597             KRFreq[38][65] = 270;
3598             KRFreq[22][70] = 269;
3599             KRFreq[24][58] = 268;
3600             KRFreq[19][66] = 267;
3601             KRFreq[30][59] = 266;
3602             KRFreq[37][14] = 265;
3603             KRFreq[16][56] = 264;
3604             KRFreq[29][85] = 263;
3605             KRFreq[31][15] = 262;
3606             KRFreq[36][84] = 261;
3607             KRFreq[39][15] = 260;
3608             KRFreq[39][90] = 259;
3609             KRFreq[18][12] = 258;
3610             KRFreq[21][93] = 257;
3611             KRFreq[24][66] = 256;
3612             KRFreq[27][90] = 255;
3613             KRFreq[25][90] = 254;
3614             KRFreq[22][24] = 253;
3615             KRFreq[36][67] = 252;
3616             KRFreq[33][90] = 251;
3617             KRFreq[15][60] = 250;
3618             KRFreq[23][85] = 249;
3619             KRFreq[34][1] = 248;
3620             KRFreq[39][37] = 247;
3621             KRFreq[21][18] = 246;
3622             KRFreq[34][4] = 245;
3623             KRFreq[28][33] = 244;
3624             KRFreq[15][13] = 243;
3625             KRFreq[32][22] = 242;
3626             KRFreq[30][76] = 241;
3627             KRFreq[20][21] = 240;
3628             KRFreq[38][66] = 239;
3629             KRFreq[32][55] = 238;
3630             KRFreq[32][89] = 237;
3631             KRFreq[25][26] = 236;
3632             KRFreq[16][80] = 235;
3633             KRFreq[15][43] = 234;
3634             KRFreq[38][54] = 233;
3635             KRFreq[39][68] = 232;
3636             KRFreq[22][88] = 231;
3637             KRFreq[21][84] = 230;
3638             KRFreq[21][17] = 229;
3639             KRFreq[20][28] = 228;
3640             KRFreq[32][1] = 227;
3641             KRFreq[33][87] = 226;
3642             KRFreq[38][71] = 225;
3643             KRFreq[37][47] = 224;
3644             KRFreq[18][77] = 223;
3645             KRFreq[37][58] = 222;
3646             KRFreq[34][74] = 221;
3647             KRFreq[32][54] = 220;
3648             KRFreq[27][33] = 219;
3649             KRFreq[32][93] = 218;
3650             KRFreq[23][51] = 217;
3651             KRFreq[20][57] = 216;
3652             KRFreq[22][37] = 215;
3653             KRFreq[39][10] = 214;
3654             KRFreq[39][17] = 213;
3655             KRFreq[33][4] = 212;
3656             KRFreq[32][84] = 211;
3657             KRFreq[34][3] = 210;
3658             KRFreq[28][27] = 209;
3659             KRFreq[15][79] = 208;
3660             KRFreq[34][21] = 207;
3661             KRFreq[34][69] = 206;
3662             KRFreq[21][62] = 205;
3663             KRFreq[36][24] = 204;
3664             KRFreq[16][89] = 203;
3665             KRFreq[18][48] = 202;
3666             KRFreq[38][15] = 201;
3667             KRFreq[36][58] = 200;
3668             KRFreq[21][56] = 199;
3669             KRFreq[34][48] = 198;
3670             KRFreq[21][15] = 197;
3671             KRFreq[39][3] = 196;
3672             KRFreq[16][44] = 195;
3673             KRFreq[18][79] = 194;
3674             KRFreq[25][13] = 193;
3675             KRFreq[29][47] = 192;
3676             KRFreq[38][88] = 191;
3677             KRFreq[20][71] = 190;
3678             KRFreq[16][58] = 189;
3679             KRFreq[35][57] = 188;
3680             KRFreq[29][30] = 187;
3681             KRFreq[29][23] = 186;
3682             KRFreq[34][93] = 185;
3683             KRFreq[30][85] = 184;
3684             KRFreq[15][80] = 183;
3685             KRFreq[32][78] = 182;
3686             KRFreq[37][82] = 181;
3687             KRFreq[22][40] = 180;
3688             KRFreq[21][69] = 179;
3689             KRFreq[26][85] = 178;
3690             KRFreq[31][31] = 177;
3691             KRFreq[28][64] = 176;
3692             KRFreq[38][13] = 175;
3693             KRFreq[25][2] = 174;
3694             KRFreq[22][34] = 173;
3695             KRFreq[28][28] = 172;
3696             KRFreq[24][91] = 171;
3697             KRFreq[33][74] = 170;
3698             KRFreq[29][40] = 169;
3699             KRFreq[15][77] = 168;
3700             KRFreq[32][80] = 167;
3701             KRFreq[30][41] = 166;
3702             KRFreq[23][30] = 165;
3703             KRFreq[24][63] = 164;
3704             KRFreq[30][53] = 163;
3705             KRFreq[39][70] = 162;
3706             KRFreq[23][61] = 161;
3707             KRFreq[37][27] = 160;
3708             KRFreq[16][55] = 159;
3709             KRFreq[22][74] = 158;
3710             KRFreq[26][50] = 157;
3711             KRFreq[16][10] = 156;
3712             KRFreq[34][63] = 155;
3713             KRFreq[35][14] = 154;
3714             KRFreq[17][7] = 153;
3715             KRFreq[15][59] = 152;
3716             KRFreq[27][23] = 151;
3717             KRFreq[18][70] = 150;
3718             KRFreq[32][56] = 149;
3719             KRFreq[37][87] = 148;
3720             KRFreq[17][61] = 147;
3721             KRFreq[18][83] = 146;
3722             KRFreq[23][86] = 145;
3723             KRFreq[17][31] = 144;
3724             KRFreq[23][83] = 143;
3725             KRFreq[35][2] = 142;
3726             KRFreq[18][64] = 141;
3727             KRFreq[27][43] = 140;
3728             KRFreq[32][42] = 139;
3729             KRFreq[25][76] = 138;
3730             KRFreq[19][85] = 137;
3731             KRFreq[37][81] = 136;
3732             KRFreq[38][83] = 135;
3733             KRFreq[35][7] = 134;
3734             KRFreq[16][51] = 133;
3735             KRFreq[27][22] = 132;
3736             KRFreq[16][76] = 131;
3737             KRFreq[22][4] = 130;
3738             KRFreq[38][84] = 129;
3739             KRFreq[17][83] = 128;
3740             KRFreq[24][46] = 127;
3741             KRFreq[33][15] = 126;
3742             KRFreq[20][48] = 125;
3743             KRFreq[17][30] = 124;
3744             KRFreq[30][93] = 123;
3745             KRFreq[28][11] = 122;
3746             KRFreq[28][30] = 121;
3747             KRFreq[15][62] = 120;
3748             KRFreq[17][87] = 119;
3749             KRFreq[32][81] = 118;
3750             KRFreq[23][37] = 117;
3751             KRFreq[30][22] = 116;
3752             KRFreq[32][66] = 115;
3753             KRFreq[33][78] = 114;
3754             KRFreq[21][4] = 113;
3755             KRFreq[31][17] = 112;
3756             KRFreq[39][61] = 111;
3757             KRFreq[18][76] = 110;
3758             KRFreq[15][85] = 109;
3759             KRFreq[31][47] = 108;
3760             KRFreq[19][57] = 107;
3761             KRFreq[23][55] = 106;
3762             KRFreq[27][29] = 105;
3763             KRFreq[29][46] = 104;
3764             KRFreq[33][0] = 103;
3765             KRFreq[16][83] = 102;
3766             KRFreq[39][78] = 101;
3767             KRFreq[32][77] = 100;
3768             KRFreq[36][25] = 99;
3769             KRFreq[34][19] = 98;
3770             KRFreq[38][49] = 97;
3771             KRFreq[19][25] = 96;
3772             KRFreq[23][53] = 95;
3773             KRFreq[28][43] = 94;
3774             KRFreq[31][44] = 93;
3775             KRFreq[36][34] = 92;
3776             KRFreq[16][34] = 91;
3777             KRFreq[35][1] = 90;
3778             KRFreq[19][87] = 89;
3779             KRFreq[18][53] = 88;
3780             KRFreq[29][54] = 87;
3781             KRFreq[22][41] = 86;
3782             KRFreq[38][18] = 85;
3783             KRFreq[22][2] = 84;
3784             KRFreq[20][3] = 83;
3785             KRFreq[39][69] = 82;
3786             KRFreq[30][29] = 81;
3787             KRFreq[28][19] = 80;
3788             KRFreq[29][90] = 79;
3789             KRFreq[17][86] = 78;
3790             KRFreq[15][9] = 77;
3791             KRFreq[39][73] = 76;
3792             KRFreq[15][37] = 75;
3793             KRFreq[35][40] = 74;
3794             KRFreq[33][77] = 73;
3795             KRFreq[27][86] = 72;
3796             KRFreq[36][79] = 71;
3797             KRFreq[23][18] = 70;
3798             KRFreq[34][87] = 69;
3799             KRFreq[39][24] = 68;
3800             KRFreq[26][8] = 67;
3801             KRFreq[33][48] = 66;
3802             KRFreq[39][30] = 65;
3803             KRFreq[33][28] = 64;
3804             KRFreq[16][67] = 63;
3805             KRFreq[31][78] = 62;
3806             KRFreq[32][23] = 61;
3807             KRFreq[24][55] = 60;
3808             KRFreq[30][68] = 59;
3809             KRFreq[18][60] = 58;
3810             KRFreq[15][17] = 57;
3811             KRFreq[23][34] = 56;
3812             KRFreq[20][49] = 55;
3813             KRFreq[15][78] = 54;
3814             KRFreq[24][14] = 53;
3815             KRFreq[19][41] = 52;
3816             KRFreq[31][55] = 51;
3817             KRFreq[21][39] = 50;
3818             KRFreq[35][9] = 49;
3819             KRFreq[30][15] = 48;
3820             KRFreq[20][52] = 47;
3821             KRFreq[35][71] = 46;
3822             KRFreq[20][7] = 45;
3823             KRFreq[29][72] = 44;
3824             KRFreq[37][77] = 43;
3825             KRFreq[22][35] = 42;
3826             KRFreq[20][61] = 41;
3827             KRFreq[31][60] = 40;
3828             KRFreq[20][93] = 39;
3829             KRFreq[27][92] = 38;
3830             KRFreq[28][16] = 37;
3831             KRFreq[36][26] = 36;
3832             KRFreq[18][89] = 35;
3833             KRFreq[21][63] = 34;
3834             KRFreq[22][52] = 33;
3835             KRFreq[24][65] = 32;
3836             KRFreq[31][8] = 31;
3837             KRFreq[31][49] = 30;
3838             KRFreq[33][30] = 29;
3839             KRFreq[37][15] = 28;
3840             KRFreq[18][18] = 27;
3841             KRFreq[25][50] = 26;
3842             KRFreq[29][20] = 25;
3843             KRFreq[35][48] = 24;
3844             KRFreq[38][75] = 23;
3845             KRFreq[26][83] = 22;
3846             KRFreq[21][87] = 21;
3847             KRFreq[27][71] = 20;
3848             KRFreq[32][91] = 19;
3849             KRFreq[25][73] = 18;
3850             KRFreq[16][84] = 17;
3851             KRFreq[25][31] = 16;
3852             KRFreq[17][90] = 15;
3853             KRFreq[18][40] = 14;
3854             KRFreq[17][77] = 13;
3855             KRFreq[17][35] = 12;
3856             KRFreq[23][52] = 11;
3857             KRFreq[23][35] = 10;
3858             KRFreq[16][5] = 9;
3859             KRFreq[23][58] = 8;
3860             KRFreq[19][60] = 7;
3861             KRFreq[30][32] = 6;
3862             KRFreq[38][34] = 5;
3863             KRFreq[23][4] = 4;
3864             KRFreq[23][1] = 3;
3865             KRFreq[27][57] = 2;
3866             KRFreq[39][38] = 1;
3867             KRFreq[32][33] = 0;
3868             JPFreq[3][74] = 600;
3869             JPFreq[3][45] = 599;
3870             JPFreq[3][3] = 598;
3871             JPFreq[3][24] = 597;
3872             JPFreq[3][30] = 596;
3873             JPFreq[3][42] = 595;
3874             JPFreq[3][46] = 594;
3875             JPFreq[3][39] = 593;
3876             JPFreq[3][11] = 592;
3877             JPFreq[3][37] = 591;
3878             JPFreq[3][38] = 590;
3879             JPFreq[3][31] = 589;
3880             JPFreq[3][41] = 588;
3881             JPFreq[3][5] = 587;
3882             JPFreq[3][10] = 586;
3883             JPFreq[3][75] = 585;
3884             JPFreq[3][65] = 584;
3885             JPFreq[3][72] = 583;
3886             JPFreq[37][91] = 582;
3887             JPFreq[0][27] = 581;
3888             JPFreq[3][18] = 580;
3889             JPFreq[3][22] = 579;
3890             JPFreq[3][61] = 578;
3891             JPFreq[3][14] = 577;
3892             JPFreq[24][80] = 576;
3893             JPFreq[4][82] = 575;
3894             JPFreq[17][80] = 574;
3895             JPFreq[30][44] = 573;
3896             JPFreq[3][73] = 572;
3897             JPFreq[3][64] = 571;
3898             JPFreq[38][14] = 570;
3899             JPFreq[33][70] = 569;
3900             JPFreq[3][1] = 568;
3901             JPFreq[3][16] = 567;
3902             JPFreq[3][35] = 566;
3903             JPFreq[3][40] = 565;
3904             JPFreq[4][74] = 564;
3905             JPFreq[4][24] = 563;
3906             JPFreq[42][59] = 562;
3907             JPFreq[3][7] = 561;
3908             JPFreq[3][71] = 560;
3909             JPFreq[3][12] = 559;
3910             JPFreq[15][75] = 558;
3911             JPFreq[3][20] = 557;
3912             JPFreq[4][39] = 556;
3913             JPFreq[34][69] = 555;
3914             JPFreq[3][28] = 554;
3915             JPFreq[35][24] = 553;
3916             JPFreq[3][82] = 552;
3917             JPFreq[28][47] = 551;
3918             JPFreq[3][67] = 550;
3919             JPFreq[37][16] = 549;
3920             JPFreq[26][93] = 548;
3921             JPFreq[4][1] = 547;
3922             JPFreq[26][85] = 546;
3923             JPFreq[31][14] = 545;
3924             JPFreq[4][3] = 544;
3925             JPFreq[4][72] = 543;
3926             JPFreq[24][51] = 542;
3927             JPFreq[27][51] = 541;
3928             JPFreq[27][49] = 540;
3929             JPFreq[22][77] = 539;
3930             JPFreq[27][10] = 538;
3931             JPFreq[29][68] = 537;
3932             JPFreq[20][35] = 536;
3933             JPFreq[41][11] = 535;
3934             JPFreq[24][70] = 534;
3935             JPFreq[36][61] = 533;
3936             JPFreq[31][23] = 532;
3937             JPFreq[43][16] = 531;
3938             JPFreq[23][68] = 530;
3939             JPFreq[32][15] = 529;
3940             JPFreq[3][32] = 528;
3941             JPFreq[19][53] = 527;
3942             JPFreq[40][83] = 526;
3943             JPFreq[4][14] = 525;
3944             JPFreq[36][9] = 524;
3945             JPFreq[4][73] = 523;
3946             JPFreq[23][10] = 522;
3947             JPFreq[3][63] = 521;
3948             JPFreq[39][14] = 520;
3949             JPFreq[3][78] = 519;
3950             JPFreq[33][47] = 518;
3951             JPFreq[21][39] = 517;
3952             JPFreq[34][46] = 516;
3953             JPFreq[36][75] = 515;
3954             JPFreq[41][92] = 514;
3955             JPFreq[37][93] = 513;
3956             JPFreq[4][34] = 512;
3957             JPFreq[15][86] = 511;
3958             JPFreq[46][1] = 510;
3959             JPFreq[37][65] = 509;
3960             JPFreq[3][62] = 508;
3961             JPFreq[32][73] = 507;
3962             JPFreq[21][65] = 506;
3963             JPFreq[29][75] = 505;
3964             JPFreq[26][51] = 504;
3965             JPFreq[3][34] = 503;
3966             JPFreq[4][10] = 502;
3967             JPFreq[30][22] = 501;
3968             JPFreq[35][73] = 500;
3969             JPFreq[17][82] = 499;
3970             JPFreq[45][8] = 498;
3971             JPFreq[27][73] = 497;
3972             JPFreq[18][55] = 496;
3973             JPFreq[25][2] = 495;
3974             JPFreq[3][26] = 494;
3975             JPFreq[45][46] = 493;
3976             JPFreq[4][22] = 492;
3977             JPFreq[4][40] = 491;
3978             JPFreq[18][10] = 490;
3979             JPFreq[32][9] = 489;
3980             JPFreq[26][49] = 488;
3981             JPFreq[3][47] = 487;
3982             JPFreq[24][65] = 486;
3983             JPFreq[4][76] = 485;
3984             JPFreq[43][67] = 484;
3985             JPFreq[3][9] = 483;
3986             JPFreq[41][37] = 482;
3987             JPFreq[33][68] = 481;
3988             JPFreq[43][31] = 480;
3989             JPFreq[19][55] = 479;
3990             JPFreq[4][30] = 478;
3991             JPFreq[27][33] = 477;
3992             JPFreq[16][62] = 476;
3993             JPFreq[36][35] = 475;
3994             JPFreq[37][15] = 474;
3995             JPFreq[27][70] = 473;
3996             JPFreq[22][71] = 472;
3997             JPFreq[33][45] = 471;
3998             JPFreq[31][78] = 470;
3999             JPFreq[43][59] = 469;
4000             JPFreq[32][19] = 468;
4001             JPFreq[17][28] = 467;
4002             JPFreq[40][28] = 466;
4003             JPFreq[20][93] = 465;
4004             JPFreq[18][15] = 464;
4005             JPFreq[4][23] = 463;
4006             JPFreq[3][23] = 462;
4007             JPFreq[26][64] = 461;
4008             JPFreq[44][92] = 460;
4009             JPFreq[17][27] = 459;
4010             JPFreq[3][56] = 458;
4011             JPFreq[25][38] = 457;
4012             JPFreq[23][31] = 456;
4013             JPFreq[35][43] = 455;
4014             JPFreq[4][54] = 454;
4015             JPFreq[35][19] = 453;
4016             JPFreq[22][47] = 452;
4017             JPFreq[42][0] = 451;
4018             JPFreq[23][28] = 450;
4019             JPFreq[46][33] = 449;
4020             JPFreq[36][85] = 448;
4021             JPFreq[31][12] = 447;
4022             JPFreq[3][76] = 446;
4023             JPFreq[4][75] = 445;
4024             JPFreq[36][56] = 444;
4025             JPFreq[4][64] = 443;
4026             JPFreq[25][77] = 442;
4027             JPFreq[15][52] = 441;
4028             JPFreq[33][73] = 440;
4029             JPFreq[3][55] = 439;
4030             JPFreq[43][82] = 438;
4031             JPFreq[27][82] = 437;
4032             JPFreq[20][3] = 436;
4033             JPFreq[40][51] = 435;
4034             JPFreq[3][17] = 434;
4035             JPFreq[27][71] = 433;
4036             JPFreq[4][52] = 432;
4037             JPFreq[44][48] = 431;
4038             JPFreq[27][2] = 430;
4039             JPFreq[17][39] = 429;
4040             JPFreq[31][8] = 428;
4041             JPFreq[44][54] = 427;
4042             JPFreq[43][18] = 426;
4043             JPFreq[43][77] = 425;
4044             JPFreq[4][61] = 424;
4045             JPFreq[19][91] = 423;
4046             JPFreq[31][13] = 422;
4047             JPFreq[44][71] = 421;
4048             JPFreq[20][0] = 420;
4049             JPFreq[23][87] = 419;
4050             JPFreq[21][14] = 418;
4051             JPFreq[29][13] = 417;
4052             JPFreq[3][58] = 416;
4053             JPFreq[26][18] = 415;
4054             JPFreq[4][47] = 414;
4055             JPFreq[4][18] = 413;
4056             JPFreq[3][53] = 412;
4057             JPFreq[26][92] = 411;
4058             JPFreq[21][7] = 410;
4059             JPFreq[4][37] = 409;
4060             JPFreq[4][63] = 408;
4061             JPFreq[36][51] = 407;
4062             JPFreq[4][32] = 406;
4063             JPFreq[28][73] = 405;
4064             JPFreq[4][50] = 404;
4065             JPFreq[41][60] = 403;
4066             JPFreq[23][1] = 402;
4067             JPFreq[36][92] = 401;
4068             JPFreq[15][41] = 400;
4069             JPFreq[21][71] = 399;
4070             JPFreq[41][30] = 398;
4071             JPFreq[32][76] = 397;
4072             JPFreq[17][34] = 396;
4073             JPFreq[26][15] = 395;
4074             JPFreq[26][25] = 394;
4075             JPFreq[31][77] = 393;
4076             JPFreq[31][3] = 392;
4077             JPFreq[46][34] = 391;
4078             JPFreq[27][84] = 390;
4079             JPFreq[23][8] = 389;
4080             JPFreq[16][0] = 388;
4081             JPFreq[28][80] = 387;
4082             JPFreq[26][54] = 386;
4083             JPFreq[33][18] = 385;
4084             JPFreq[31][20] = 384;
4085             JPFreq[31][62] = 383;
4086             JPFreq[30][41] = 382;
4087             JPFreq[33][30] = 381;
4088             JPFreq[45][45] = 380;
4089             JPFreq[37][82] = 379;
4090             JPFreq[15][33] = 378;
4091             JPFreq[20][12] = 377;
4092             JPFreq[18][5] = 376;
4093             JPFreq[28][86] = 375;
4094             JPFreq[30][19] = 374;
4095             JPFreq[42][43] = 373;
4096             JPFreq[36][31] = 372;
4097             JPFreq[17][93] = 371;
4098             JPFreq[4][15] = 370;
4099             JPFreq[21][20] = 369;
4100             JPFreq[23][21] = 368;
4101             JPFreq[28][72] = 367;
4102             JPFreq[4][20] = 366;
4103             JPFreq[26][55] = 365;
4104             JPFreq[21][5] = 364;
4105             JPFreq[19][16] = 363;
4106             JPFreq[23][64] = 362;
4107             JPFreq[40][59] = 361;
4108             JPFreq[37][26] = 360;
4109             JPFreq[26][56] = 359;
4110             JPFreq[4][12] = 358;
4111             JPFreq[33][71] = 357;
4112             JPFreq[32][39] = 356;
4113             JPFreq[38][40] = 355;
4114             JPFreq[22][74] = 354;
4115             JPFreq[3][25] = 353;
4116             JPFreq[15][48] = 352;
4117             JPFreq[41][82] = 351;
4118             JPFreq[41][9] = 350;
4119             JPFreq[25][48] = 349;
4120             JPFreq[31][71] = 348;
4121             JPFreq[43][29] = 347;
4122             JPFreq[26][80] = 346;
4123             JPFreq[4][5] = 345;
4124             JPFreq[18][71] = 344;
4125             JPFreq[29][0] = 343;
4126             JPFreq[43][43] = 342;
4127             JPFreq[23][81] = 341;
4128             JPFreq[4][42] = 340;
4129             JPFreq[44][28] = 339;
4130             JPFreq[23][93] = 338;
4131             JPFreq[17][81] = 337;
4132             JPFreq[25][25] = 336;
4133             JPFreq[41][23] = 335;
4134             JPFreq[34][35] = 334;
4135             JPFreq[4][53] = 333;
4136             JPFreq[28][36] = 332;
4137             JPFreq[4][41] = 331;
4138             JPFreq[25][60] = 330;
4139             JPFreq[23][20] = 329;
4140             JPFreq[3][43] = 328;
4141             JPFreq[24][79] = 327;
4142             JPFreq[29][41] = 326;
4143             JPFreq[30][83] = 325;
4144             JPFreq[3][50] = 324;
4145             JPFreq[22][18] = 323;
4146             JPFreq[18][3] = 322;
4147             JPFreq[39][30] = 321;
4148             JPFreq[4][28] = 320;
4149             JPFreq[21][64] = 319;
4150             JPFreq[4][68] = 318;
4151             JPFreq[17][71] = 317;
4152             JPFreq[27][0] = 316;
4153             JPFreq[39][28] = 315;
4154             JPFreq[30][13] = 314;
4155             JPFreq[36][70] = 313;
4156             JPFreq[20][82] = 312;
4157             JPFreq[33][38] = 311;
4158             JPFreq[44][87] = 310;
4159             JPFreq[34][45] = 309;
4160             JPFreq[4][26] = 308;
4161             JPFreq[24][44] = 307;
4162             JPFreq[38][67] = 306;
4163             JPFreq[38][6] = 305;
4164             JPFreq[30][68] = 304;
4165             JPFreq[15][89] = 303;
4166             JPFreq[24][93] = 302;
4167             JPFreq[40][41] = 301;
4168             JPFreq[38][3] = 300;
4169             JPFreq[28][23] = 299;
4170             JPFreq[26][17] = 298;
4171             JPFreq[4][38] = 297;
4172             JPFreq[22][78] = 296;
4173             JPFreq[15][37] = 295;
4174             JPFreq[25][85] = 294;
4175             JPFreq[4][9] = 293;
4176             JPFreq[4][7] = 292;
4177             JPFreq[27][53] = 291;
4178             JPFreq[39][29] = 290;
4179             JPFreq[41][43] = 289;
4180             JPFreq[25][62] = 288;
4181             JPFreq[4][48] = 287;
4182             JPFreq[28][28] = 286;
4183             JPFreq[21][40] = 285;
4184             JPFreq[36][73] = 284;
4185             JPFreq[26][39] = 283;
4186             JPFreq[22][54] = 282;
4187             JPFreq[33][5] = 281;
4188             JPFreq[19][21] = 280;
4189             JPFreq[46][31] = 279;
4190             JPFreq[20][64] = 278;
4191             JPFreq[26][63] = 277;
4192             JPFreq[22][23] = 276;
4193             JPFreq[25][81] = 275;
4194             JPFreq[4][62] = 274;
4195             JPFreq[37][31] = 273;
4196             JPFreq[40][52] = 272;
4197             JPFreq[29][79] = 271;
4198             JPFreq[41][48] = 270;
4199             JPFreq[31][57] = 269;
4200             JPFreq[32][92] = 268;
4201             JPFreq[36][36] = 267;
4202             JPFreq[27][7] = 266;
4203             JPFreq[35][29] = 265;
4204             JPFreq[37][34] = 264;
4205             JPFreq[34][42] = 263;
4206             JPFreq[27][15] = 262;
4207             JPFreq[33][27] = 261;
4208             JPFreq[31][38] = 260;
4209             JPFreq[19][79] = 259;
4210             JPFreq[4][31] = 258;
4211             JPFreq[4][66] = 257;
4212             JPFreq[17][32] = 256;
4213             JPFreq[26][67] = 255;
4214             JPFreq[16][30] = 254;
4215             JPFreq[26][46] = 253;
4216             JPFreq[24][26] = 252;
4217             JPFreq[35][10] = 251;
4218             JPFreq[18][37] = 250;
4219             JPFreq[3][19] = 249;
4220             JPFreq[33][69] = 248;
4221             JPFreq[31][9] = 247;
4222             JPFreq[45][29] = 246;
4223             JPFreq[3][15] = 245;
4224             JPFreq[18][54] = 244;
4225             JPFreq[3][44] = 243;
4226             JPFreq[31][29] = 242;
4227             JPFreq[18][45] = 241;
4228             JPFreq[38][28] = 240;
4229             JPFreq[24][12] = 239;
4230             JPFreq[35][82] = 238;
4231             JPFreq[17][43] = 237;
4232             JPFreq[28][9] = 236;
4233             JPFreq[23][25] = 235;
4234             JPFreq[44][37] = 234;
4235             JPFreq[23][75] = 233;
4236             JPFreq[23][92] = 232;
4237             JPFreq[0][24] = 231;
4238             JPFreq[19][74] = 230;
4239             JPFreq[45][32] = 229;
4240             JPFreq[16][72] = 228;
4241             JPFreq[16][93] = 227;
4242             JPFreq[45][13] = 226;
4243             JPFreq[24][8] = 225;
4244             JPFreq[25][47] = 224;
4245             JPFreq[28][26] = 223;
4246             JPFreq[43][81] = 222;
4247             JPFreq[32][71] = 221;
4248             JPFreq[18][41] = 220;
4249             JPFreq[26][62] = 219;
4250             JPFreq[41][24] = 218;
4251             JPFreq[40][11] = 217;
4252             JPFreq[43][57] = 216;
4253             JPFreq[34][53] = 215;
4254             JPFreq[20][32] = 214;
4255             JPFreq[34][43] = 213;
4256             JPFreq[41][91] = 212;
4257             JPFreq[29][57] = 211;
4258             JPFreq[15][43] = 210;
4259             JPFreq[22][89] = 209;
4260             JPFreq[33][83] = 208;
4261             JPFreq[43][20] = 207;
4262             JPFreq[25][58] = 206;
4263             JPFreq[30][30] = 205;
4264             JPFreq[4][56] = 204;
4265             JPFreq[17][64] = 203;
4266             JPFreq[23][0] = 202;
4267             JPFreq[44][12] = 201;
4268             JPFreq[25][37] = 200;
4269             JPFreq[35][13] = 199;
4270             JPFreq[20][30] = 198;
4271             JPFreq[21][84] = 197;
4272             JPFreq[29][14] = 196;
4273             JPFreq[30][5] = 195;
4274             JPFreq[37][2] = 194;
4275             JPFreq[4][78] = 193;
4276             JPFreq[29][78] = 192;
4277             JPFreq[29][84] = 191;
4278             JPFreq[32][86] = 190;
4279             JPFreq[20][68] = 189;
4280             JPFreq[30][39] = 188;
4281             JPFreq[15][69] = 187;
4282             JPFreq[4][60] = 186;
4283             JPFreq[20][61] = 185;
4284             JPFreq[41][67] = 184;
4285             JPFreq[16][35] = 183;
4286             JPFreq[36][57] = 182;
4287             JPFreq[39][80] = 181;
4288             JPFreq[4][59] = 180;
4289             JPFreq[4][44] = 179;
4290             JPFreq[40][54] = 178;
4291             JPFreq[30][8] = 177;
4292             JPFreq[44][30] = 176;
4293             JPFreq[31][93] = 175;
4294             JPFreq[31][47] = 174;
4295             JPFreq[16][70] = 173;
4296             JPFreq[21][0] = 172;
4297             JPFreq[17][35] = 171;
4298             JPFreq[21][67] = 170;
4299             JPFreq[44][18] = 169;
4300             JPFreq[36][29] = 168;
4301             JPFreq[18][67] = 167;
4302             JPFreq[24][28] = 166;
4303             JPFreq[36][24] = 165;
4304             JPFreq[23][5] = 164;
4305             JPFreq[31][65] = 163;
4306             JPFreq[26][59] = 162;
4307             JPFreq[28][2] = 161;
4308             JPFreq[39][69] = 160;
4309             JPFreq[42][40] = 159;
4310             JPFreq[37][80] = 158;
4311             JPFreq[15][66] = 157;
4312             JPFreq[34][38] = 156;
4313             JPFreq[28][48] = 155;
4314             JPFreq[37][77] = 154;
4315             JPFreq[29][34] = 153;
4316             JPFreq[33][12] = 152;
4317             JPFreq[4][65] = 151;
4318             JPFreq[30][31] = 150;
4319             JPFreq[27][92] = 149;
4320             JPFreq[4][2] = 148;
4321             JPFreq[4][51] = 147;
4322             JPFreq[23][77] = 146;
4323             JPFreq[4][35] = 145;
4324             JPFreq[3][13] = 144;
4325             JPFreq[26][26] = 143;
4326             JPFreq[44][4] = 142;
4327             JPFreq[39][53] = 141;
4328             JPFreq[20][11] = 140;
4329             JPFreq[40][33] = 139;
4330             JPFreq[45][7] = 138;
4331             JPFreq[4][70] = 137;
4332             JPFreq[3][49] = 136;
4333             JPFreq[20][59] = 135;
4334             JPFreq[21][12] = 134;
4335             JPFreq[33][53] = 133;
4336             JPFreq[20][14] = 132;
4337             JPFreq[37][18] = 131;
4338             JPFreq[18][17] = 130;
4339             JPFreq[36][23] = 129;
4340             JPFreq[18][57] = 128;
4341             JPFreq[26][74] = 127;
4342             JPFreq[35][2] = 126;
4343             JPFreq[38][58] = 125;
4344             JPFreq[34][68] = 124;
4345             JPFreq[29][81] = 123;
4346             JPFreq[20][69] = 122;
4347             JPFreq[39][86] = 121;
4348             JPFreq[4][16] = 120;
4349             JPFreq[16][49] = 119;
4350             JPFreq[15][72] = 118;
4351             JPFreq[26][35] = 117;
4352             JPFreq[32][14] = 116;
4353             JPFreq[40][90] = 115;
4354             JPFreq[33][79] = 114;
4355             JPFreq[35][4] = 113;
4356             JPFreq[23][33] = 112;
4357             JPFreq[19][19] = 111;
4358             JPFreq[31][41] = 110;
4359             JPFreq[44][1] = 109;
4360             JPFreq[22][56] = 108;
4361             JPFreq[31][27] = 107;
4362             JPFreq[32][18] = 106;
4363             JPFreq[27][32] = 105;
4364             JPFreq[37][39] = 104;
4365             JPFreq[42][11] = 103;
4366             JPFreq[29][71] = 102;
4367             JPFreq[32][58] = 101;
4368             JPFreq[46][10] = 100;
4369             JPFreq[17][30] = 99;
4370             JPFreq[38][15] = 98;
4371             JPFreq[29][60] = 97;
4372             JPFreq[4][11] = 96;
4373             JPFreq[38][31] = 95;
4374             JPFreq[40][79] = 94;
4375             JPFreq[28][49] = 93;
4376             JPFreq[28][84] = 92;
4377             JPFreq[26][77] = 91;
4378             JPFreq[22][32] = 90;
4379             JPFreq[33][17] = 89;
4380             JPFreq[23][18] = 88;
4381             JPFreq[32][64] = 87;
4382             JPFreq[4][6] = 86;
4383             JPFreq[33][51] = 85;
4384             JPFreq[44][77] = 84;
4385             JPFreq[29][5] = 83;
4386             JPFreq[46][25] = 82;
4387             JPFreq[19][58] = 81;
4388             JPFreq[4][46] = 80;
4389             JPFreq[15][71] = 79;
4390             JPFreq[18][58] = 78;
4391             JPFreq[26][45] = 77;
4392             JPFreq[45][66] = 76;
4393             JPFreq[34][10] = 75;
4394             JPFreq[19][37] = 74;
4395             JPFreq[33][65] = 73;
4396             JPFreq[44][52] = 72;
4397             JPFreq[16][38] = 71;
4398             JPFreq[36][46] = 70;
4399             JPFreq[20][26] = 69;
4400             JPFreq[30][37] = 68;
4401             JPFreq[4][58] = 67;
4402             JPFreq[43][2] = 66;
4403             JPFreq[30][18] = 65;
4404             JPFreq[19][35] = 64;
4405             JPFreq[15][68] = 63;
4406             JPFreq[3][36] = 62;
4407             JPFreq[35][40] = 61;
4408             JPFreq[36][32] = 60;
4409             JPFreq[37][14] = 59;
4410             JPFreq[17][11] = 58;
4411             JPFreq[19][78] = 57;
4412             JPFreq[37][11] = 56;
4413             JPFreq[28][63] = 55;
4414             JPFreq[29][61] = 54;
4415             JPFreq[33][3] = 53;
4416             JPFreq[41][52] = 52;
4417             JPFreq[33][63] = 51;
4418             JPFreq[22][41] = 50;
4419             JPFreq[4][19] = 49;
4420             JPFreq[32][41] = 48;
4421             JPFreq[24][4] = 47;
4422             JPFreq[31][28] = 46;
4423             JPFreq[43][30] = 45;
4424             JPFreq[17][3] = 44;
4425             JPFreq[43][70] = 43;
4426             JPFreq[34][19] = 42;
4427             JPFreq[20][77] = 41;
4428             JPFreq[18][83] = 40;
4429             JPFreq[17][15] = 39;
4430             JPFreq[23][61] = 38;
4431             JPFreq[40][27] = 37;
4432             JPFreq[16][48] = 36;
4433             JPFreq[39][78] = 35;
4434             JPFreq[41][53] = 34;
4435             JPFreq[40][91] = 33;
4436             JPFreq[40][72] = 32;
4437             JPFreq[18][52] = 31;
4438             JPFreq[35][66] = 30;
4439             JPFreq[39][93] = 29;
4440             JPFreq[19][48] = 28;
4441             JPFreq[26][36] = 27;
4442             JPFreq[27][25] = 26;
4443             JPFreq[42][71] = 25;
4444             JPFreq[42][85] = 24;
4445             JPFreq[26][48] = 23;
4446             JPFreq[28][15] = 22;
4447             JPFreq[3][66] = 21;
4448             JPFreq[25][24] = 20;
4449             JPFreq[27][43] = 19;
4450             JPFreq[27][78] = 18;
4451             JPFreq[45][43] = 17;
4452             JPFreq[27][72] = 16;
4453             JPFreq[40][29] = 15;
4454             JPFreq[41][0] = 14;
4455             JPFreq[19][57] = 13;
4456             JPFreq[15][59] = 12;
4457             JPFreq[29][29] = 11;
4458             JPFreq[4][25] = 10;
4459             JPFreq[21][42] = 9;
4460             JPFreq[23][35] = 8;
4461             JPFreq[33][1] = 7;
4462             JPFreq[4][57] = 6;
4463             JPFreq[17][60] = 5;
4464             JPFreq[25][19] = 4;
4465             JPFreq[22][65] = 3;
4466             JPFreq[42][29] = 2;
4467             JPFreq[27][66] = 1;
4468             JPFreq[26][89] = 0;
4469         }
4470     }
4471 
4472     static class Encoding {
4473         
4474         // Supported Encoding Types
4475         public static int GB2312 = 0;
4476 
4477         public static int GBK = 1;
4478 
4479         public static int GB18030 = 2;
4480 
4481         public static int HZ = 3;
4482 
4483         public static int BIG5 = 4;
4484 
4485         public static int CNS11643 = 5;
4486 
4487         public static int UTF8 = 6;
4488 
4489         public static int UTF8T = 7;
4490 
4491         public static int UTF8S = 8;
4492 
4493         public static int UNICODE = 9;
4494 
4495         public static int UNICODET = 10;
4496 
4497         public static int UNICODES = 11;
4498 
4499         public static int ISO2022CN = 12;
4500 
4501         public static int ISO2022CN_CNS = 13;
4502 
4503         public static int ISO2022CN_GB = 14;
4504 
4505         public static int EUC_KR = 15;
4506 
4507         public static int CP949 = 16;
4508 
4509         public static int ISO2022KR = 17;
4510 
4511         public static int JOHAB = 18;
4512 
4513         public static int SJIS = 19;
4514 
4515         public static int EUC_JP = 20;
4516 
4517         public static int ISO2022JP = 21;
4518 
4519         public static int ASCII = 22;
4520 
4521         public static int OTHER = 23;
4522 
4523         public static int TOTALTYPES = 24;
4524 
4525         public final static int SIMP = 0;
4526 
4527         public final static int TRAD = 1;
4528 
4529         // Names of the encodings as understood by Java
4530         public static String[] javaname;
4531 
4532         // Names of the encodings for human viewing
4533         public static String[] nicename;
4534 
4535         // Names of charsets as used in charset parameter of HTML Meta tag
4536         public static String[] htmlname;
4537 
4538         // Constructor
4539         public Encoding() {
4540             javaname = new String[TOTALTYPES];
4541             nicename = new String[TOTALTYPES];
4542             htmlname = new String[TOTALTYPES];
4543             // Assign encoding names
4544             javaname[GB2312] = "GB2312";
4545             javaname[GBK] = "GBK";
4546             javaname[GB18030] = "GB18030";
4547             javaname[HZ] = "ASCII"; // What to put here? Sun doesn't support HZ
4548             javaname[ISO2022CN_GB] = "ISO2022CN_GB";
4549             javaname[BIG5] = "BIG5";
4550             javaname[CNS11643] = "EUC-TW";
4551             javaname[ISO2022CN_CNS] = "ISO2022CN_CNS";
4552             javaname[ISO2022CN] = "ISO2022CN";
4553             javaname[UTF8] = "UTF-8";
4554             javaname[UTF8T] = "UTF-8";
4555             javaname[UTF8S] = "UTF-8";
4556             javaname[UNICODE] = "Unicode";
4557             javaname[UNICODET] = "Unicode";
4558             javaname[UNICODES] = "Unicode";
4559             javaname[EUC_KR] = "EUC_KR";
4560             javaname[CP949] = "MS949";
4561             javaname[ISO2022KR] = "ISO2022KR";
4562             javaname[JOHAB] = "Johab";
4563             javaname[SJIS] = "SJIS";
4564             javaname[EUC_JP] = "EUC_JP";
4565             javaname[ISO2022JP] = "ISO2022JP";
4566             javaname[ASCII] = "ASCII";
4567             javaname[OTHER] = "ISO8859_1";
4568             // Assign encoding names
4569             htmlname[GB2312] = "GB2312";
4570             htmlname[GBK] = "GBK";
4571             htmlname[GB18030] = "GB18030";
4572             htmlname[HZ] = "HZ-GB-2312";
4573             htmlname[ISO2022CN_GB] = "ISO-2022-CN-EXT";
4574             htmlname[BIG5] = "BIG5";
4575             htmlname[CNS11643] = "EUC-TW";
4576             htmlname[ISO2022CN_CNS] = "ISO-2022-CN-EXT";
4577             htmlname[ISO2022CN] = "ISO-2022-CN";
4578             htmlname[UTF8] = "UTF-8";
4579             htmlname[UTF8T] = "UTF-8";
4580             htmlname[UTF8S] = "UTF-8";
4581             htmlname[UNICODE] = "UTF-16";
4582             htmlname[UNICODET] = "UTF-16";
4583             htmlname[UNICODES] = "UTF-16";
4584             htmlname[EUC_KR] = "EUC-KR";
4585             htmlname[CP949] = "x-windows-949";
4586             htmlname[ISO2022KR] = "ISO-2022-KR";
4587             htmlname[JOHAB] = "x-Johab";
4588             htmlname[SJIS] = "Shift_JIS";
4589             htmlname[EUC_JP] = "EUC-JP";
4590             htmlname[ISO2022JP] = "ISO-2022-JP";
4591             htmlname[ASCII] = "ASCII";
4592             htmlname[OTHER] = "ISO8859-1";
4593             // Assign Human readable names
4594             nicename[GB2312] = "GB-2312";
4595             nicename[GBK] = "GBK";
4596             nicename[GB18030] = "GB18030";
4597             nicename[HZ] = "HZ";
4598             nicename[ISO2022CN_GB] = "ISO2022CN-GB";
4599             nicename[BIG5] = "Big5";
4600             nicename[CNS11643] = "CNS11643";
4601             nicename[ISO2022CN_CNS] = "ISO2022CN-CNS";
4602             nicename[ISO2022CN] = "ISO2022 CN";
4603             nicename[UTF8] = "UTF-8";
4604             nicename[UTF8T] = "UTF-8 (Trad)";
4605             nicename[UTF8S] = "UTF-8 (Simp)";
4606             nicename[UNICODE] = "Unicode";
4607             nicename[UNICODET] = "Unicode (Trad)";
4608             nicename[UNICODES] = "Unicode (Simp)";
4609             nicename[EUC_KR] = "EUC-KR";
4610             nicename[CP949] = "CP949";
4611             nicename[ISO2022KR] = "ISO 2022 KR";
4612             nicename[JOHAB] = "Johab";
4613             nicename[SJIS] = "Shift-JIS";
4614             nicename[EUC_JP] = "EUC-JP";
4615             nicename[ISO2022JP] = "ISO 2022 JP";
4616             nicename[ASCII] = "ASCII";
4617             nicename[OTHER] = "OTHER";
4618         }
4619     }
4620 }

 

posted on 2018-02-07 16:44 兰栖 阅读(...) 评论(...) 编辑 收藏