unsigned short uni2gbk[21243][2]={
{0x3000,0xa1a1},{0x3001,0xa2a1},{0x3002,0xa3a1},{0x3003,0xa8a1},{0x3005,0xa9a1},{0x3006,0x65a9},
{0x3007,0x96a9},{0x3008,0xb4a1},{0x3009,0xb5a1},{0x300a,0xb6a1},{0x300b,0xb7a1},{0x300c,0xb8a1},
{0x300d,0xb9a1},{0x300e,0xbaa1},{0x300f,0xbba1},{0x3010,0xbea1},{0x3011,0xbfa1},{0x3012,0x93a8},
{0x3013,0xfea1},{0x3014,0xb2a1},{0x3015,0xb3a1},{0x3016,0xbca1},{0x3017,0xbda1},{0x301d,0x94a8},
{0x301e,0x95a8},{0x3021,0x40a9},{0x3022,0x41a9},{0x3023,0x42a9},{0x3024,0x43a9},{0x3025,0x44a9},
{0x3026,0x45a9},{0x3027,0x46a9},{0x3028,0x47a9},{0x3029,0x48a9},{0x3041,0xa1a4},{0x3042,0xa2a4},
{0x3043,0xa3a4},{0x3044,0xa4a4},{0x3045,0xa5a4},{0x3046,0xa6a4},{0x3047,0xa7a4},{0x3048,0xa8a4},
{0x3049,0xa9a4},{0x304a,0xaaa4},{0x304b,0xaba4},{0x304c,0xaca4},{0x304d,0xada4},{0x304e,0xaea4},
{0x304f,0xafa4},{0x3050,0xb0a4},{0x3051,0xb1a4},{0x3052,0xb2a4},{0x3053,0xb3a4},{0x3054,0xb4a4},
{0x3055,0xb5a4},{0x3056,0xb6a4},{0x3057,0xb7a4},{0x3058,0xb8a4},{0x3059,0xb9a4},{0x305a,0xbaa4},
{0x305b,0xbba4},{0x305c,0xbca4},{0x305d,0xbda4},{0x305e,0xbea4},{0x305f,0xbfa4},{0x3060,0xc0a4},
{0x3061,0xc1a4},{0x3062,0xc2a4},{0x3063,0xc3a4},{0x3064,0xc4a4},{0x3065,0xc5a4},{0x3066,0xc6a4},
{0x3067,0xc7a4},{0x3068,0xc8a4},{0x3069,0xc9a4},{0x306a,0xcaa4},{0x306b,0xcba4},{0x306c,0xcca4},
{0x306d,0xcda4},{0x306e,0xcea4},{0x306f,0xcfa4},{0x3070,0xd0a4},{0x3071,0xd1a4},{0x3072,0xd2a4},
{0x3073,0xd3a4},{0x3074,0xd4a4},{0x3075,0xd5a4},{0x3076,0xd6a4},{0x3077,0xd7a4},{0x3078,0xd8a4},
{0x3079,0xd9a4},{0x307a,0xdaa4},{0x307b,0xdba4},{0x307c,0xdca4},{0x307d,0xdda4},{0x307e,0xdea4},
{0x307f,0xdfa4},{0x3080,0xe0a4},{0x3081,0xe1a4},{0x3082,0xe2a4},{0x3083,0xe3a4},{0x3084,0xe4a4},
{0x3085,0xe5a4},{0x3086,0xe6a4},{0x3087,0xe7a4},{0x3088,0xe8a4},{0x3089,0xe9a4},{0x308a,0xeaa4},
{0x308b,0xeba4},{0x308c,0xeca4},{0x308d,0xeda4},{0x308e,0xeea4},{0x308f,0xefa4},{0x3090,0xf0a4},
{0x3091,0xf1a4},{0x3092,0xf2a4},{0x3093,0xf3a4},{0x309b,0x61a9},{0x309c,0x62a9},{0x309d,0x66a9},
{0x309e,0x67a9},{0x30a1,0xa1a5},{0x30a2,0xa2a5},{0x30a3,0xa3a5},{0x30a4,0xa4a5},{0x30a5,0xa5a5},
{0x30a6,0xa6a5},{0x30a7,0xa7a5},{0x30a8,0xa8a5},{0x30a9,0xa9a5},{0x30aa,0xaaa5},{0x30ab,0xaba5},
{0x30ac,0xaca5},{0x30ad,0xada5},{0x30ae,0xaea5},{0x30af,0xafa5},{0x30b0,0xb0a5},{0x30b1,0xb1a5},
{0x30b2,0xb2a5},{0x30b3,0xb3a5},{0x30b4,0xb4a5},{0x30b5,0xb5a5},{0x30b6,0xb6a5},{0x30b7,0xb7a5},
{0x30b8,0xb8a5},{0x30b9,0xb9a5},{0x30ba,0xbaa5},{0x30bb,0xbba5},{0x30bc,0xbca5},{0x30bd,0xbda5},
{0x30be,0xbea5},{0x30bf,0xbfa5},{0x30c0,0xc0a5},{0x30c1,0xc1a5},{0x30c2,0xc2a5},{0x30c3,0xc3a5},
{0x30c4,0xc4a5},{0x30c5,0xc5a5},{0x30c6,0xc6a5},{0x30c7,0xc7a5},{0x30c8,0xc8a5},{0x30c9,0xc9a5},
{0x30ca,0xcaa5},{0x30cb,0xcba5},{0x30cc,0xcca5},{0x30cd,0xcda5},{0x30ce,0xcea5},{0x30cf,0xcfa5},
{0x30d0,0xd0a5},{0x30d1,0xd1a5},{0x30d2,0xd2a5},{0x30d3,0xd3a5},{0x30d4,0xd4a5},{0x30d5,0xd5a5},
{0x30d6,0xd6a5},{0x30d7,0xd7a5},{0x30d8,0xd8a5},{0x30d9,0xd9a5},{0x30da,0xdaa5},{0x30db,0xdba5},
{0x30dc,0xdca5},{0x30dd,0xdda5},{0x30de,0xdea5},{0x30df,0xdfa5},{0x30e0,0xe0a5},{0x30e1,0xe1a5},
{0x30e2,0xe2a5},{0x30e3,0xe3a5},{0x30e4,0xe4a5},{0x30e5,0xe5a5},{0x30e6,0xe6a5},{0x30e7,0xe7a5},
{0x30e8,0xe8a5},{0x30e9,0xe9a5},{0x30ea,0xeaa5},{0x30eb,0xeba5},{0x30ec,0xeca5},{0x30ed,0xeda5},
{0x30ee,0xeea5},{0x30ef,0xefa5},{0x30f0,0xf0a5},{0x30f1,0xf1a5},{0x30f2,0xf2a5},{0x30f3,0xf3a5},
{0x30f4,0xf4a5},{0x30f5,0xf5a5},{0x30f6,0xf6a5},{0x30fc,0x60a9},{0x30fd,0x63a9},{0x30fe,0x64a9},
{0x3105,0xc5a8},{0x3106,0xc6a8},{0x3107,0xc7a8},{0x3108,0xc8a8},{0x3109,0xc9a8},{0x310a,0xcaa8},
{0x310b,0xcba8},{0x310c,0xcca8},{0x310d,0xcda8},{0x310e,0xcea8},{0x310f,0xcfa8},{0x3110,0xd0a8},
{0x3111,0xd1a8},{0x3112,0xd2a8},{0x3113,0xd3a8},{0x3114,0xd4a8},{0x3115,0xd5a8},{0x3116,0xd6a8},
{0x3117,0xd7a8},{0x3118,0xd8a8},{0x3119,0xd9a8},{0x311a,0xdaa8},{0x311b,0xdba8},{0x311c,0xdca8},
{0x311d,0xdda8},{0x311e,0xdea8},{0x311f,0xdfa8},{0x3120,0xe0a8},{0x3121,0xe1a8},{0x3122,0xe2a8},
{0x3123,0xe3a8},{0x3124,0xe4a8},{0x3125,0xe5a8},{0x3126,0xe6a8},{0x3127,0xe7a8},{0x3128,0xe8a8},
{0x3129,0xe9a8},{0x3220,0xe5a2},{0x3221,0xe6a2},{0x3222,0xe7a2},{0x3223,0xe8a2},{0x3224,0xe9a2},
{0x3225,0xeaa2},{0x3226,0xeba2},{0x3227,0xeca2},{0x3228,0xeda2},{0x3229,0xeea2},{0x3231,0x5aa9},
{0x32a3,0x49a9},{0x338e,0x4aa9},{0x338f,0x4ba9},{0x339c,0x4ca9},{0x339d,0x4da9},{0x339e,0x4ea9},
{0x33a1,0x4fa9},{0x33c4,0x50a9},{0x33ce,0x51a9},{0x33d1,0x52a9},{0x33d2,0x53a9},{0x33d5,0x54a9},
{0x4e00,0xbbd2},{0x4e01,0xa1b6},{0x4e02,0x4081},{0x4e03,0xdfc6},{0x4e04,0x4181},{0x4e05,0x4281},
{0x4e06,0x4381},{0x4e07,0xf2cd},{0x4e08,0xc9d5},{0x4e09,0xfdc8},{0x4e0a,0xcfc9},{0x4e0b,0xc2cf},
{0x4e0c,0xa2d8},{0x4e0d,0xbbb2},{0x4e0e,0xebd3},{0x4e0f,0x4481},{0x4e10,0xa4d8},{0x4e11,0xf3b3},
{0x4e12,0x4581},{0x4e13,0xa8d7},{0x4e14,0xd2c7},{0x4e15,0xa7d8},{0x4e16,0xc0ca},{0x4e17,0x4681},
{0x4e18,0xf0c7},{0x4e19,0xfbb1},{0x4e1a,0xb5d2},{0x4e1b,0xd4b4},{0x4e1c,0xabb6},{0x4e1d,0xbfcb},
{0x4e1e,0xa9d8},{0x4e1f,0x4781},{0x4e20,0x4881},{0x4e21,0x4981},{0x4e22,0xaab6},{0x4e23,0x4a81},
{0x4e24,0xbdc1},{0x4e25,0xcfd1},{0x4e26,0x4b81},{0x4e27,0xa5c9},{0x4e28,0xadd8},{0x4e29,0x4c81},
{0x4e2a,0xf6b8},{0x4e2b,0xbed1},{0x4e2c,0xdce3},{0x4e2d,0xd0d6},{0x4e2e,0x4d81},{0x4e2f,0x4e81},
{0x4e30,0xe1b7},{0x4e31,0x4f81},{0x4e32,0xaeb4},{0x4e33,0x5081},{0x4e34,0xd9c1},{0x4e35,0x5181},
{0x4e36,0xbcd8},{0x4e37,0x5281},{0x4e38,0xe8cd},{0x4e39,0xa4b5},{0x4e3a,0xaace},{0x4e3b,0xf7d6},
{0x4e3c,0x5381},{0x4e3d,0xf6c0},{0x4e3e,0xd9be},{0x4e3f,0xafd8},{0x4e40,0x5481},{0x4e41,0x5581},
{0x4e42,0x5681},{0x4e43,0xcbc4},{0x4e44,0x5781},{0x4e45,0xc3be},{0x4e46,0x5881},{0x4e47,0xb1d8},
{0x4e48,0xb4c3},{0x4e49,0xe5d2},{0x4e4a,0x5981},{0x4e4b,0xaed6},{0x4e4c,0xdace},{0x4e4d,0xa7d5},
{0x4e4e,0xf5ba},{0x4e4f,0xa6b7},{0x4e50,0xd6c0},{0x4e51,0x5a81},{0x4e52,0xb9c6},{0x4e53,0xd2c5},
{0x4e54,0xc7c7},{0x4e55,0x5b81},{0x4e56,0xd4b9},{0x4e57,0x5c81},{0x4e58,0xcbb3},{0x4e59,0xd2d2},
{0x4e5a,0x5d81},{0x4e5b,0x5e81},{0x4e5c,0xbfd8},{0x4e5d,0xc5be},{0x4e5e,0xf2c6},{0x4e5f,0xb2d2},
{0x4e60,0xb0cf},{0x4e61,0xe7cf},{0x4e62,0x5f81},{0x4e63,0x6081},{0x4e64,0x6181},{0x4e65,0x6281},
{0x4e66,0xe9ca},{0x4e67,0x6381},{0x4e68,0x6481},{0x4e69,0xc0d8},{0x4e6a,0x6581},{0x4e6b,0x6681},
{0x4e6c,0x6781},{0x4e6d,0x6881},{0x4e6e,0x6981},{0x4e6f,0x6a81},{0x4e70,0xf2c2},{0x4e71,0xd2c2},
{0x4e72,0x6b81},{0x4e73,0xe9c8},{0x4e74,0x6c81},{0x4e75,0x6d81},{0x4e76,0x6e81},{0x4e77,0x6f81},
{0x4e78,0x7081},{0x4e79,0x7181},{0x4e7a,0x7281},{0x4e7b,0x7381},{0x4e7c,0x7481},{0x4e7d,0x7581},
{0x4e7e,0xacc7},{0x4e7f,0x7681},{0x4e80,0x7781},{0x4e81,0x7881},{0x4e82,0x7981},{0x4e83,0x7a81},
{0x4e84,0x7b81},{0x4e85,0x7c81},{0x4e86,0xcbc1},{0x4e87,0x7d81},{0x4e88,0xe8d3},{0x4e89,0xf9d5},
{0x4e8a,0x7e81},{0x4e8b,0xc2ca},{0x4e8c,0xfeb6},{0x4e8d,0xa1d8},{0x4e8e,0xdad3},{0x4e8f,0xf7bf},
{0x4e90,0x8081},{0x4e91,0xc6d4},{0x4e92,0xa5bb},{0x4e93,0xc1d8},{0x4e94,0xe5ce},{0x4e95,0xaebe},
{0x4e96,0x8181},{0x4e97,0x8281},{0x4e98,0xa8d8},{0x4e99,0x8381},{0x4e9a,0xc7d1},{0x4e9b,0xa9d0},
{0x4e9c,0x8481},{0x4e9d,0x8581},{0x4e9e,0x8681},{0x4e9f,0xbdd8},{0x4ea0,0xefd9},{0x4ea1,0xf6cd},
{0x4ea2,0xbabf},{0x4ea3,0x8781},{0x4ea4,0xbbbd},{0x4ea5,0xa5ba},{0x4ea6,0xe0d2},{0x4ea7,0xfab2},
{0x4ea8,0xe0ba},{0x4ea9,0xb6c4},{0x4eaa,0x8881},{0x4eab,0xedcf},{0x4eac,0xa9be},{0x4ead,0xa4cd},
{0x4eae,0xc1c1},{0x4eaf,0x8981},{0x4eb0,0x8a81},{0x4eb1,0x8b81},{0x4eb2,0xd7c7},{0x4eb3,0xf1d9},
{0x4eb4,0x8c81},{0x4eb5,0xf4d9},{0x4eb6,0x8d81},{0x4eb7,0x8e81},{0x4eb8,0x8f81},{0x4eb9,0x9081},
{0x4eba,0xcbc8},{0x4ebb,0xe9d8},{0x4ebc,0x9181},{0x4ebd,0x9281},{0x4ebe,0x9381},{0x4ebf,0xdad2},
{0x4ec0,0xb2ca},{0x4ec1,0xcac8},{0x4ec2,0xecd8},{0x4ec3,0xead8},{0x4ec4,0xc6d8},{0x4ec5,0xf6bd},
{0x4ec6,0xcdc6},{0x4ec7,0xf0b3},{0x4ec8,0x9481},{0x4ec9,0xebd8},{0x4eca,0xf1bd},{0x4ecb,0xe9bd},
{0x4ecc,0x9581},{0x4ecd,0xd4c8},{0x4ece,0xd3b4},{0x4ecf,0x9681},{0x4ed0,0x9781},{0x4ed1,0xd8c2},
{0x4ed2,0x9881},{0x4ed3,0xd6b2},{0x4ed4,0xd0d7},{0x4ed5,0xcbca},{0x4ed6,0xfbcb},{0x4ed7,0xccd5},
{0x4ed8,0xb6b8},{0x4ed9,0x