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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 0, 0, 0, 56, 56, 56, 0, 0, 0, 0, 0, 0, 390,975,975,455,195,130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 204,204,204,204,204,1023,1023,204,204,204,204,204,1023, 1023,204,204,204,204,204, 0, 0, 0, 0, 0, 0, 204,204,252,510,975,972,972,460,252,252,252,206,207, 207,975,510,252,204,204, 0, 0, 0, 0, 0, 0, 511,1023,819,819,822,486,204, 24, 48, 48, 96, 96,204, 222,435,435,819,798,780, 0, 0, 0, 0, 0, 0, 192,480,816,816,816,816,816,480,192,480,480,816,816, 795,795,783,782,510,231, 0, 0, 0, 0, 0, 0, 96,240,240,112, 48, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 48, 96,192,192,192,192,192,192,192,192,192,192, 192,192,192, 96, 48, 8, 0, 0, 0, 0, 0, 0, 64, 48, 24, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 24, 48, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,204,204,120,120,1023,1023,120,120,204, 204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 48,510,510, 48, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96,240,240,112, 48, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,510,510, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48,120,120, 48, 0, 0, 0, 0, 0, 0, 3, 3, 6, 6, 12, 12, 24, 24, 48, 48, 48, 96, 96, 192,192,384,384,768,768, 0, 0, 0, 0, 0, 0, 120,510,390,771,771,771,771,771,771,771,771,771,771, 771,771,771,390,510,120, 0, 0, 0, 0, 0, 0, 48,112,240,432, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,252,252, 0, 0, 0, 0, 0, 0, 120,510,903,771,771, 3, 6, 12, 24, 48, 96,192,384, 384,768,768,768,1023,1023, 0, 0, 0, 0, 0, 0, 120,510,903,771, 3, 3, 3, 6, 12, 56, 12, 6, 3, 3, 3,771,903,510,120, 0, 0, 0, 0, 0, 0, 12, 28, 28, 60, 60,108,108,204,204,396,396,1023,1023, 12, 12, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 1023,1023,768,768,768,768,768,768,888,1022,775, 3, 3, 3, 3,771,903,510,120, 0, 0, 0, 0, 0, 0, 120,510,903,771,768,768,768,768,888,1022,903,771,771, 771,771,771,903,510,120, 0, 0, 0, 0, 0, 0, 1023,1023, 3, 6, 6, 12, 12, 24, 24, 48, 48, 48, 96, 96, 96,192,192,192,192, 0, 0, 0, 0, 0, 0, 120,510,903,771,771,771,771,903,510,510,903,771,771, 771,771,771,903,510,120, 0, 0, 0, 0, 0, 0, 120,510,903,771,771,771,771,771,899,511,127, 3, 3, 3, 3,771,903,510,120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,112,112,112, 0, 0, 0,112,112, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,112,112,112, 0, 0, 0,112,112, 112, 48, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 7, 14, 28, 56,112,224,448,896,448,224,112, 56, 28, 14, 7, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,510,510, 0, 0, 0,510,510, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 512,768,896,448,224,112, 56, 28, 14, 7, 14, 28, 56, 112,224,448,896,768,512, 0, 0, 0, 0, 0, 0, 120,510,775,903,391, 14, 28, 56, 48, 48, 48, 48, 48, 0, 0, 48,120,120, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,252,510,771,827,843,843,822,768,508, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48,120,204,390,771,771,771,771,771,1023,1023,771,771, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 1016,1022,775,771,771,771,771,782,1016,1016,782,771,771, 771,771,771,775,1022,1016, 0, 0, 0, 0, 0, 0, 252,510,903,771,768,768,768,768,768,768,768,768,768, 768,768,771,903,510,252, 0, 0, 0, 0, 0, 0, 1016,1022,775,771,771,771,771,771,771,771,771,771,771, 771,771,771,775,1022,1016, 0, 0, 0, 0, 0, 0, 1023,1023,768,768,768,768,768,768,1016,1016,768,768,768, 768,768,768,768,1023,1023, 0, 0, 0, 0, 0, 0, 1023,1023,768,768,768,768,768,768,1016,1016,768,768,768, 768,768,768,768,768,768, 0, 0, 0, 0, 0, 0, 120,510,771,771,768,768,768,768,768,768,783,783,771, 771,771,771,771,510,120, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,771,771,1023,1023,771,771,771, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 252,252, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,252,252, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,771,775,510,252, 0, 0, 0, 0, 0, 0, 771,771,771,771,774,780,792,816,864,960,864,816,792, 780,774,771,771,771,771, 0, 0, 0, 0, 0, 0, 768,768,768,768,768,768,768,768,768,768,768,768,768, 768,768,768,768,1023,1023, 0, 0, 0, 0, 0, 0, 771,903,903,975,975,891,891,819,819,771,771,771,771, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 771,899,963,963,963,867,867,867,819,819,819,795,795, 795,783,783,783,775,771, 0, 0, 0, 0, 0, 0, 252,510,771,771,771,771,771,771,771,771,771,771,771, 771,771,771,771,510,252, 0, 0, 0, 0, 0, 0, 1016,1022,774,771,771,771,771,774,1022,1016,768,768,768, 768,768,768,768,768,768, 0, 0, 0, 0, 0, 0, 252,510,771,771,771,771,771,771,771,771,771,771,771, 771,819,795,780,502, 99, 0, 0, 0, 0, 0, 0, 1016,1022,771,771,771,771,771,775,1022,1016,864,816,792, 780,774,771,771,771,771, 0, 0, 0, 0, 0, 0, 120,510,903,771,768,768,768,896,504,126, 7, 3, 3, 3, 3,771,903,510,120, 0, 0, 0, 0, 0, 0, 1023,1023, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,771,771,771,771,771,771,771, 771,771,771,903,510,120, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,771,771,771,771,771,771,771, 771,771,390,204,120, 48, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,771,771,771,771,819,819,819, 510,510,510,204,204,204, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,390,204,120, 48,120,204,390, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 771,771,771,771,771,771,771,390,204,120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, 0, 0, 0, 1023,1023, 3, 6, 6, 12, 12, 24, 24, 48, 96, 96,192, 192,384,384,768,1023,1023, 0, 0, 0, 0, 0, 0, 252,252,192,192,192,192,192,192,192,192,192,192,192, 192,192,192,192,252,252, 0, 0, 0, 0, 0, 0, 768,768,384,384,192,192, 96, 96, 48, 48, 48, 24, 24, 12, 12, 6, 6, 3, 3, 0, 0, 0, 0, 0, 0, 252,252, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,252,252, 0, 0, 0, 0, 0, 0, 48,120,204,390,771, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 384,192, 96, 48, 24, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,243,507,775,771,771, 771,771,771,775,507,243, 0, 0, 0, 0, 0, 0, 896,768,768,768,768,768,768,768,824,894,899,771,771, 771,771,771,899,894,824, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120,510,903,768,768, 768,768,768,903,510,120, 0, 0, 0, 0, 0, 0, 7, 3, 3, 3, 3, 3, 3, 3,115,507,911,771,771, 771,771,771,911,507,115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120,510,903,771,1023, 768,768,768,771,510,252, 0, 0, 0, 0, 0, 0, 28,126,195,195,192,192,192,192,1008,1008,192,192,192, 192,192,192,192,192,192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,115,507,783,771,771, 771,771,771,911,507,115, 3, 3,771,390,252,120, 768,768,768,768,768,768,768,768,824,894,903,771,771, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 0, 0,240,240, 48, 48, 48, 48, 48, 48, 48,252,252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 63, 63, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,780,408,240, 768,768,768,768,768,782,792,816,864,960,896,896,960, 864,816,792,780,774,771, 0, 0, 0, 0, 0, 0, 240,112, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,510,510, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,876,951,819,819,819, 819,819,819,819,819,819, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,828,894,963,771,771, 771,771,771,771,771,771, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,252,510,771,771,771, 771,771,771,771,510,252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,824,894,899,771,771, 771,771,771,903,894,824,768,768,768,768,768,896, 0, 0, 0, 0, 0, 0, 0, 0,118,510,774,774,774, 774,774,774,774,510,118, 6, 6, 6, 6, 6, 31, 0, 0, 0, 0, 0, 0, 0, 0,824,894,903,768,768, 768,768,768,768,768,768, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120,510,903,768,480, 120, 30, 3,903,510,120, 0, 0, 0, 0, 0, 0, 0, 0, 0,192,192,192,192,192,1016,1016,192,192,192, 192,192,195,195,126, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,771,771,771,771,771, 771,771,771,903,510,120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,771,771,390,390,390, 204,204,120,120, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,771,771,771,771,819, 819,819,819,819,438,204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,771,771,390,204,120, 48,120,204,390,771,771, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,771,771,771,771,771, 771,771,771,771,511,127, 3, 3, 3,903,510,120, 0, 0, 0, 0, 0, 0, 0, 0,1023,1023, 6, 12, 24, 48, 96,192,384,1023,1023, 0, 0, 0, 0, 0, 0, 30, 62, 48, 48, 48, 48, 48, 48,224,960,224, 48, 48, 48, 48, 48, 48, 62, 30, 0, 0, 0, 0, 0, 0, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, 0, 0, 0, 480,496, 48, 48, 48, 48, 48, 48, 28, 7, 28, 48, 48, 48, 48, 48, 48,496,480, 0, 0, 0, 0, 0, 0, 480,1011,831, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };