[[250, 251, 252, 254, 255, 256, 257, 258, 259, 262, 265, 267, 269, 270, 273, 274, 276, 277, 280, 281, 283, 287, 288, 289, 292, 294, 295, 296, 302, 305, 306, 307, 309, 310, 311, 312, 313, 314, 320, 322, 324, 328, 331, 332, 334, 337, 340, 342, 346, 348, 350, 351, 354, 355, 361, 362, 363, 366, 367, 369, 370, 373, 376, 377, 378, 379, 380, 381, 382, 383, 386, 390, 392, 393, 394, 396, 399, 400, 403, 404, 405, 408, 411, 414, 415, 416, 417, 418, 420, 421, 423, 424, 425, 426, 427, 428, 429, 430, 435, 436, 441, 445, 446, 447, 456, 458, 460, 461, 463, 464, 465, 466, 467, 468, 474, 478, 479, 480, 481, 483, 484, 485, 488, 491, 492, 494, 496, 498], [251, 253, 254, 255, 257, 258, 260, 261, 262, 263, 265, 268, 270, 271, 275, 276, 277, 282, 283, 285, 286, 288, 289, 290, 291, 295, 296, 297, 298, 299, 303, 304, 306, 310, 311, 312, 313, 314, 315, 319, 322, 323, 328, 329, 330, 331, 332, 334, 335, 337, 339, 340, 342, 344, 346, 347, 348, 353, 355, 366, 368, 369, 372, 374, 376, 378, 380, 381, 383, 384, 387, 390, 393, 394, 396, 399, 404, 411, 415, 417, 418, 419, 422, 424, 425, 428, 432, 434, 435, 436, 438, 440, 441, 442, 444, 445, 446, 448, 450, 451, 453, 454, 459, 460, 461, 462, 463, 465, 467, 478, 481, 482, 484, 489, 491, 492, 493, 497, 498], [250, 251, 253, 254, 257, 261, 262, 266, 268, 269, 273, 275, 277, 278, 279, 281, 282, 285, 288, 289, 291, 294, 295, 300, 301, 303, 304, 306, 308, 309, 311, 314, 317, 318, 319, 320, 321, 322, 324, 325, 327, 328, 329, 330, 333, 334, 338, 340, 343, 347, 349, 350, 353, 356, 357, 358, 363, 364, 367, 368, 371, 374, 375, 376, 377, 380, 381, 382, 383, 386, 389, 394, 396, 399, 401, 402, 404, 408, 409, 410, 411, 412, 413, 414, 415, 418, 419, 423, 424, 426, 427, 429, 436, 438, 440, 441, 444, 445, 447, 449, 450, 451, 453, 457, 460, 462, 463, 465, 466, 467, 470, 471, 472, 473, 475, 476, 478, 479, 480, 482, 486, 488, 489, 491, 492, 494, 497, 498, 499], [250, 252, 254, 258, 259, 260, 263, 266, 269, 271, 273, 274, 276, 278, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 292, 293, 294, 295, 296, 299, 301, 303, 306, 309, 313, 314, 315, 316, 318, 319, 320, 321, 324, 329, 332, 333, 334, 335, 337, 339, 340, 343, 344, 347, 348, 349, 350, 355, 356, 364, 366, 369, 370, 372, 375, 377, 378, 379, 380, 381, 388, 389, 390, 395, 396, 397, 399, 400, 403, 404, 405, 406, 408, 411, 412, 413, 414, 415, 419, 420, 421, 422, 423, 424, 432, 433, 435, 437, 441, 444, 446, 447, 451, 452, 454, 455, 458, 460, 461, 463, 466, 468, 469, 470, 472, 475, 476, 478, 479, 481, 483, 484, 485, 486, 487, 490, 495, 496, 497, 498, 499], [250, 251, 252, 254, 257, 258, 260, 262, 264, 266, 267, 269, 272, 273, 274, 275, 277, 280, 281, 283, 285, 287, 291, 292, 293, 295, 298, 303, 306, 307, 308, 309, 313, 314, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 327, 331, 334, 336, 337, 338, 343, 344, 346, 348, 349, 350, 351, 352, 354, 355, 356, 359, 361, 364, 369, 370, 371, 372, 378, 380, 382, 385, 386, 387, 389, 390, 391, 392, 394, 395, 397, 398, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 414, 422, 423, 424, 425, 428, 431, 433, 436, 437, 440, 441, 443, 448, 449, 451, 452, 453, 454, 455, 460, 461, 465, 474, 475, 476, 478, 481, 484, 489, 494, 496, 497, 499], [253, 255, 258, 261, 262, 263, 264, 269, 270, 271, 273, 275, 280, 281, 283, 286, 287, 288, 292, 294, 295, 297, 299, 303, 304, 305, 308, 309, 310, 312, 313, 315, 316, 317, 319, 322, 324, 325, 330, 332, 333, 334, 336, 337, 338, 339, 341, 343, 345, 350, 351, 352, 354, 356, 357, 358, 359, 360, 362, 363, 365, 366, 369, 371, 372, 373, 374, 375, 376, 377, 382, 383, 384, 385, 386, 390, 391, 393, 395, 401, 402, 404, 407, 411, 413, 414, 415, 416, 417, 418, 419, 420, 423, 424, 425, 428, 429, 431, 432, 433, 435, 436, 439, 440, 442, 445, 446, 449, 450, 451, 452, 453, 454, 456, 457, 458, 460, 461, 466, 470, 475, 476, 479, 481, 485, 486, 488, 490, 493, 496, 497, 498, 499], [251, 253, 257, 258, 259, 260, 263, 264, 269, 270, 272, 273, 274, 275, 279, 281, 282, 283, 284, 285, 287, 290, 291, 295, 296, 297, 298, 299, 301, 303, 305, 306, 307, 310, 316, 317, 318, 319, 323, 325, 326, 327, 330, 333, 334, 336, 341, 342, 343, 344, 347, 348, 349, 351, 355, 359, 361, 362, 364, 367, 368, 370, 371, 374, 376, 377, 378, 380, 388, 391, 392, 393, 394, 395, 396, 397, 398, 400, 402, 403, 405, 409, 411, 412, 415, 416, 420, 421, 423, 424, 425, 426, 427, 428, 430, 431, 432, 434, 436, 440, 441, 444, 446, 448, 449, 451, 453, 456, 457, 458, 459, 460, 461, 464, 465, 471, 473, 474, 479, 480, 481, 482, 483, 486, 487, 490, 491, 493, 496, 499], [251, 252, 256, 257, 258, 260, 261, 262, 265, 266, 271, 273, 274, 276, 278, 279, 280, 282, 283, 284, 289, 294, 296, 298, 300, 303, 305, 306, 308, 309, 310, 311, 312, 314, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 331, 332, 333, 335, 336, 337, 339, 341, 344, 345, 346, 348, 350, 352, 359, 360, 365, 366, 368, 369, 372, 376, 377, 378, 380, 381, 384, 386, 388, 389, 390, 393, 395, 396, 397, 399, 401, 402, 403, 404, 405, 406, 409, 410, 415, 417, 421, 423, 425, 427, 428, 429, 431, 432, 435, 436, 438, 440, 442, 443, 444, 449, 452, 454, 455, 457, 462, 465, 466, 467, 470, 471, 472, 477, 480, 483, 484, 487, 488, 491, 492, 494], [250, 251, 252, 254, 256, 257, 259, 261, 262, 265, 267, 268, 270, 275, 276, 277, 282, 285, 288, 289, 292, 293, 297, 298, 300, 303, 304, 312, 313, 314, 315, 316, 317, 320, 322, 323, 325, 327, 330, 331, 332, 334, 335, 336, 337, 338, 340, 342, 344, 346, 349, 350, 351, 352, 354, 361, 363, 364, 367, 369, 372, 375, 377, 378, 379, 381, 382, 388, 389, 391, 398, 400, 401, 402, 403, 404, 405, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 424, 425, 426, 428, 429, 430, 432, 434, 435, 437, 443, 445, 446, 448, 449, 450, 452, 453, 454, 457, 458, 462, 463, 465, 467, 469, 470, 474, 475, 476, 477, 478, 479, 481, 484, 485, 487, 489, 490, 491, 494, 496, 498], [250, 251, 252, 254, 255, 257, 260, 261, 262, 263, 266, 267, 268, 269, 270, 271, 273, 274, 275, 277, 280, 281, 285, 287, 290, 294, 296, 298, 301, 302, 303, 304, 306, 307, 309, 310, 312, 313, 315, 317, 318, 321, 322, 323, 324, 325, 328, 329, 332, 334, 337, 340, 341, 342, 343, 344, 346, 347, 349, 351, 352, 354, 357, 359, 361, 365, 366, 367, 372, 373, 375, 376, 379, 381, 383, 387, 388, 390, 391, 392, 393, 399, 403, 406, 408, 409, 410, 411, 413, 414, 415, 418, 419, 422, 423, 424, 426, 429, 433, 434, 435, 436, 437, 441, 445, 446, 447, 448, 449, 452, 453, 460, 461, 467, 468, 471, 473, 474, 477, 479, 482, 483, 486, 488, 489, 491, 493, 495, 498], [252, 253, 254, 255, 256, 257, 260, 261, 265, 267, 268, 269, 271, 272, 274, 275, 277, 280, 281, 283, 285, 287, 290, 291, 292, 293, 298, 299, 300, 304, 310, 311, 317, 319, 324, 328, 334, 335, 336, 337, 338, 339, 340, 343, 344, 346, 349, 350, 351, 353, 356, 357, 359, 361, 363, 364, 365, 367, 370, 371, 374, 376, 377, 380, 381, 384, 385, 386, 388, 389, 390, 391, 392, 395, 398, 401, 405, 406, 407, 410, 411, 412, 417, 418, 419, 420, 422, 423, 429, 430, 434, 437, 448, 449, 453, 455, 456, 457, 460, 461, 462, 463, 465, 467, 469, 471, 475, 478, 483, 484, 485, 486, 487, 488, 490, 491, 494, 495], [250, 252, 253, 254, 257, 259, 262, 264, 265, 266, 267, 270, 273, 275, 276, 279, 282, 283, 284, 288, 289, 293, 295, 298, 299, 301, 302, 304, 306, 310, 314, 316, 320, 322, 324, 326, 327, 328, 330, 331, 334, 336, 337, 338, 340, 341, 343, 344, 345, 346, 349, 350, 351, 353, 355, 356, 357, 358, 360, 362, 363, 365, 370, 371, 373, 375, 376, 377, 379, 381, 382, 386, 387, 388, 390, 391, 392, 395, 397, 400, 402, 405, 408, 410, 411, 415, 424, 429, 430, 432, 434, 435, 436, 437, 438, 441, 442, 443, 444, 446, 447, 449, 454, 456, 458, 461, 462, 463, 465, 467, 468, 471, 472, 473, 474, 476, 477, 478, 484, 489, 490, 492, 494, 495, 496, 497, 498], [250, 251, 253, 254, 257, 258, 259, 261, 262, 264, 265, 266, 268, 269, 270, 271, 279, 281, 282, 283, 284, 286, 288, 292, 293, 296, 298, 299, 302, 305, 311, 312, 313, 315, 317, 321, 322, 327, 330, 332, 333, 336, 337, 338, 339, 341, 342, 343, 344, 345, 349, 352, 353, 354, 356, 359, 365, 366, 370, 371, 372, 375, 379, 380, 381, 382, 384, 385, 386, 388, 390, 393, 394, 397, 405, 406, 407, 410, 413, 416, 417, 419, 420, 421, 423, 425, 427, 434, 438, 442, 444, 446, 447, 449, 450, 452, 454, 457, 458, 459, 460, 461, 467, 468, 469, 470, 472, 473, 475, 478, 479, 484, 488, 489, 490, 491, 493, 495, 496], [252, 253, 254, 257, 258, 259, 260, 263, 264, 265, 266, 267, 268, 269, 270, 272, 275, 277, 281, 282, 283, 284, 285, 287, 289, 291, 295, 296, 297, 300, 301, 304, 305, 306, 309, 310, 312, 314, 316, 317, 319, 322, 323, 324, 329, 330, 331, 332, 334, 337, 338, 342, 343, 347, 348, 352, 354, 356, 357, 360, 362, 364, 365, 366, 367, 368, 371, 372, 377, 381, 384, 387, 388, 389, 390, 391, 392, 393, 394, 397, 398, 402, 408, 409, 410, 411, 412, 416, 418, 420, 421, 423, 424, 430, 432, 433, 434, 436, 440, 442, 443, 445, 446, 451, 452, 453, 455, 460, 461, 468, 469, 470, 474, 475, 477, 478, 479, 480, 483, 486, 487, 488, 489, 491, 492, 493, 495, 497, 499], [253, 254, 256, 257, 258, 262, 263, 264, 265, 269, 271, 272, 274, 275, 278, 280, 281, 282, 285, 286, 287, 288, 289, 290, 292, 293, 296, 298, 301, 303, 304, 308, 309, 311, 312, 317, 319, 320, 321, 322, 324, 325, 327, 328, 329, 331, 334, 335, 337, 339, 340, 345, 347, 349, 351, 353, 354, 358, 361, 363, 366, 367, 371, 373, 375, 376, 377, 378, 379, 382, 384, 387, 389, 395, 397, 400, 402, 406, 408, 409, 412, 414, 418, 420, 421, 423, 425, 428, 429, 432, 434, 435, 438, 439, 441, 442, 443, 450, 454, 455, 456, 457, 461, 463, 465, 466, 469, 470, 471, 472, 474, 476, 477, 480, 484, 487, 489, 491, 495, 496, 499], [250, 252, 254, 255, 256, 258, 262, 263, 264, 265, 266, 269, 275, 276, 285, 287, 290, 291, 293, 294, 295, 297, 299, 301, 302, 312, 313, 314, 315, 318, 320, 321, 322, 323, 327, 329, 330, 331, 332, 336, 339, 342, 343, 346, 347, 349, 354, 356, 358, 362, 367, 368, 370, 374, 377, 378, 379, 382, 383, 384, 385, 386, 392, 393, 395, 396, 397, 404, 405, 406, 409, 414, 415, 416, 420, 422, 423, 424, 425, 426, 427, 428, 429, 430, 432, 434, 436, 440, 442, 444, 448, 450, 451, 453, 454, 456, 458, 462, 463, 465, 466, 469, 471, 474, 475, 476, 477, 478, 480, 484, 485, 488, 489, 494, 495, 496, 497, 499], [250, 251, 252, 254, 256, 260, 261, 262, 263, 264, 267, 271, 274, 276, 278, 279, 282, 283, 285, 286, 290, 291, 295, 297, 298, 300, 303, 304, 306, 307, 308, 309, 310, 311, 313, 314, 316, 317, 318, 319, 323, 324, 326, 328, 329, 330, 331, 332, 334, 335, 336, 339, 342, 345, 346, 347, 349, 350, 351, 352, 354, 355, 359, 360, 364, 366, 367, 368, 369, 373, 376, 377, 378, 381, 383, 384, 385, 388, 390, 391, 394, 396, 397, 398, 400, 402, 406, 408, 409, 412, 413, 416, 417, 419, 422, 425, 430, 432, 434, 435, 437, 438, 439, 440, 442, 445, 446, 448, 451, 452, 456, 458, 460, 461, 465, 467, 470, 471, 480, 481, 485, 486, 487, 488, 489, 490, 491, 492], [251, 252, 253, 255, 262, 263, 264, 267, 269, 270, 273, 276, 277, 279, 280, 281, 284, 285, 286, 287, 289, 290, 292, 293, 297, 299, 300, 302, 304, 308, 309, 310, 311, 314, 315, 316, 317, 320, 321, 322, 324, 325, 327, 328, 329, 330, 331, 333, 334, 335, 336, 339, 345, 346, 348, 351, 355, 357, 360, 361, 364, 366, 367, 368, 369, 373, 379, 380, 382, 385, 387, 388, 389, 390, 392, 394, 395, 399, 400, 401, 402, 403, 404, 408, 409, 410, 411, 415, 417, 418, 420, 423, 424, 425, 426, 427, 428, 429, 430, 431, 433, 434, 435, 436, 439, 440, 441, 442, 447, 449, 450, 454, 457, 460, 463, 465, 469, 471, 474, 475, 476, 478, 479, 480, 481, 482, 483, 485, 486, 487, 492, 493, 494, 495, 496, 497], [252, 253, 254, 255, 256, 258, 261, 263, 266, 267, 270, 271, 274, 280, 281, 285, 288, 292, 294, 296, 299, 301, 302, 304, 306, 307, 309, 310, 313, 314, 315, 319, 320, 322, 323, 324, 325, 327, 330, 332, 333, 334, 336, 337, 338, 340, 342, 343, 344, 345, 348, 350, 353, 355, 359, 360, 363, 365, 366, 367, 369, 370, 372, 373, 375, 377, 378, 379, 380, 382, 383, 384, 385, 388, 389, 390, 391, 392, 397, 403, 404, 405, 406, 411, 413, 414, 415, 420, 422, 423, 425, 426, 427, 429, 431, 432, 433, 435, 438, 440, 441, 443, 444, 445, 450, 460, 462, 464, 465, 466, 468, 471, 472, 473, 474, 475, 476, 477, 481, 482, 486, 488, 489, 494, 495, 497, 498, 499], [253, 255, 258, 260, 262, 265, 266, 267, 268, 271, 272, 273, 276, 278, 279, 280, 281, 283, 284, 285, 286, 291, 292, 293, 296, 297, 301, 302, 304, 307, 309, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 324, 326, 327, 328, 329, 334, 338, 339, 340, 343, 346, 347, 348, 350, 353, 357, 359, 361, 364, 366, 368, 370, 372, 373, 376, 379, 380, 381, 382, 383, 385, 386, 387, 389, 391, 394, 395, 396, 398, 399, 400, 402, 404, 406, 407, 408, 414, 417, 418, 420, 421, 422, 423, 425, 427, 428, 432, 433, 435, 437, 441, 444, 448, 449, 450, 452, 456, 457, 459, 460, 462, 464, 467, 468, 469, 474, 476, 477, 478, 480, 483, 484, 486, 490, 491, 497], [250, 252, 253, 259, 265, 266, 271, 272, 273, 279, 284, 285, 291, 292, 293, 294, 295, 297, 299, 300, 303, 304, 307, 308, 310, 312, 313, 314, 315, 316, 320, 321, 322, 323, 331, 332, 333, 335, 338, 340, 342, 344, 345, 350, 351, 354, 355, 357, 359, 362, 363, 368, 369, 376, 378, 379, 382, 385, 388, 389, 390, 393, 396, 397, 399, 400, 402, 403, 404, 405, 410, 413, 414, 417, 418, 419, 421, 423, 424, 425, 428, 429, 430, 431, 432, 434, 436, 440, 442, 445, 447, 448, 449, 454, 455, 457, 458, 460, 461, 462, 465, 466, 467, 468, 470, 474, 475, 480, 481, 484, 486, 487, 488, 489, 491, 493, 495, 496, 497, 498], [250, 252, 253, 255, 257, 259, 260, 265, 266, 267, 268, 270, 271, 274, 277, 280, 283, 285, 287, 290, 291, 292, 293, 295, 297, 298, 301, 303, 305, 306, 307, 311, 312, 313, 315, 318, 319, 321, 322, 326, 329, 330, 333, 337, 339, 340, 342, 343, 344, 345, 347, 350, 352, 353, 355, 356, 357, 358, 359, 361, 364, 365, 367, 369, 370, 371, 374, 375, 379, 380, 382, 383, 384, 385, 386, 387, 388, 389, 391, 392, 393, 395, 396, 397, 398, 402, 405, 408, 409, 410, 414, 415, 418, 420, 421, 424, 425, 426, 427, 432, 433, 436, 438, 439, 440, 442, 444, 449, 451, 452, 453, 455, 456, 457, 460, 462, 464, 465, 467, 468, 471, 472, 473, 478, 480, 481, 484, 485, 488, 489, 492, 494, 496, 497, 499], [250, 251, 256, 257, 259, 264, 265, 266, 268, 269, 273, 276, 277, 279, 281, 282, 285, 287, 288, 290, 292, 293, 294, 295, 298, 300, 301, 303, 306, 307, 310, 313, 317, 318, 320, 321, 322, 325, 333, 334, 335, 336, 337, 338, 340, 343, 347, 349, 350, 351, 353, 358, 361, 362, 363, 366, 370, 371, 376, 378, 380, 381, 382, 386, 387, 390, 392, 394, 395, 396, 400, 403, 408, 410, 411, 412, 413, 415, 416, 418, 419, 420, 426, 429, 430, 432, 436, 437, 438, 442, 445, 447, 453, 454, 455, 457, 458, 460, 461, 462, 463, 464, 465, 469, 471, 472, 473, 474, 475, 478, 479, 481, 484, 487, 488, 490, 492, 494, 496, 498], [250, 251, 252, 253, 259, 260, 262, 268, 269, 271, 272, 273, 277, 278, 279, 280, 282, 283, 284, 286, 289, 290, 292, 294, 297, 299, 302, 304, 305, 306, 307, 308, 309, 311, 313, 314, 315, 316, 317, 320, 321, 322, 325, 327, 328, 329, 330, 331, 333, 334, 335, 336, 338, 341, 344, 345, 348, 352, 353, 354, 355, 356, 357, 358, 363, 366, 367, 369, 372, 373, 378, 380, 383, 386, 388, 389, 392, 395, 396, 401, 402, 403, 406, 408, 412, 415, 416, 417, 420, 424, 425, 428, 429, 431, 432, 433, 434, 436, 439, 441, 443, 444, 446, 450, 457, 462, 463, 464, 467, 471, 474, 476, 477, 478, 479, 482, 483, 485, 486, 493, 494, 495, 496], [251, 252, 253, 255, 256, 257, 258, 259, 261, 262, 264, 265, 267, 268, 271, 272, 274, 275, 278, 281, 284, 285, 288, 291, 296, 300, 303, 304, 309, 310, 311, 313, 314, 316, 317, 318, 319, 320, 323, 325, 328, 329, 330, 331, 332, 333, 335, 337, 338, 341, 343, 344, 346, 347, 349, 350, 353, 354, 355, 356, 357, 364, 366, 368, 369, 372, 376, 377, 378, 379, 381, 383, 385, 386, 388, 390, 391, 393, 395, 396, 398, 399, 400, 401, 402, 403, 407, 408, 410, 412, 413, 415, 419, 421, 422, 423, 426, 427, 428, 430, 431, 433, 434, 435, 439, 440, 441, 442, 443, 445, 447, 449, 453, 460, 462, 463, 464, 467, 469, 470, 471, 474, 477, 478, 480, 481, 482, 486, 487, 489, 491, 495, 496, 498, 499], [252, 253, 254, 255, 257, 258, 262, 265, 266, 268, 272, 279, 280, 281, 282, 283, 284, 285, 287, 288, 290, 296, 297, 298, 299, 301, 303, 304, 305, 306, 308, 309, 310, 312, 313, 314, 318, 320, 321, 323, 324, 326, 327, 328, 329, 335, 340, 342, 343, 344, 345, 346, 352, 353, 355, 357, 360, 361, 362, 363, 367, 369, 373, 375, 377, 381, 382, 383, 384, 389, 390, 392, 393, 394, 396, 401, 403, 404, 405, 409, 410, 412, 413, 414, 415, 417, 423, 425, 426, 428, 429, 431, 442, 443, 447, 451, 453, 455, 456, 458, 462, 463, 464, 465, 468, 470, 471, 475, 477, 478, 479, 480, 482, 483, 484, 485, 486, 488, 489, 490, 491, 494, 495, 498, 499], [250, 251, 252, 254, 255, 256, 258, 260, 261, 262, 264, 267, 268, 269, 272, 274, 275, 276, 278, 281, 282, 285, 286, 289, 290, 294, 295, 296, 297, 300, 301, 305, 306, 308, 309, 312, 315, 317, 318, 320, 322, 323, 326, 330, 331, 332, 333, 334, 335, 336, 338, 340, 341, 342, 347, 349, 350, 355, 356, 357, 358, 361, 365, 368, 369, 370, 371, 374, 376, 377, 378, 379, 380, 381, 383, 384, 389, 390, 393, 394, 395, 398, 401, 403, 406, 409, 410, 412, 413, 416, 420, 422, 425, 427, 435, 437, 438, 439, 440, 441, 443, 445, 446, 450, 451, 455, 457, 467, 468, 469, 478, 479, 480, 482, 483, 484, 488, 491, 492, 493, 498, 499], [251, 253, 255, 258, 259, 260, 262, 263, 264, 269, 273, 275, 278, 281, 282, 284, 285, 286, 287, 293, 296, 299, 300, 301, 303, 306, 310, 313, 314, 316, 318, 320, 321, 322, 323, 324, 326, 328, 329, 333, 335, 336, 340, 343, 344, 345, 346, 347, 348, 353, 367, 372, 378, 380, 382, 384, 388, 390, 391, 392, 402, 403, 404, 406, 407, 410, 411, 412, 413, 414, 415, 417, 419, 427, 428, 429, 431, 432, 435, 438, 439, 441, 443, 444, 445, 447, 449, 450, 451, 452, 454, 456, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 473, 474, 476, 478, 481, 482, 483, 484, 488, 489, 492, 493, 494, 495, 496, 497], [250, 251, 252, 253, 256, 259, 260, 261, 264, 265, 266, 267, 269, 271, 274, 276, 278, 279, 284, 287, 288, 291, 293, 298, 299, 300, 303, 304, 305, 307, 308, 310, 314, 316, 317, 318, 321, 322, 323, 324, 325, 327, 329, 330, 332, 333, 335, 338, 339, 340, 341, 342, 348, 349, 351, 352, 354, 356, 357, 359, 360, 361, 363, 365, 366, 367, 369, 371, 372, 375, 377, 380, 381, 382, 384, 386, 387, 388, 389, 390, 392, 394, 395, 396, 397, 399, 401, 402, 403, 404, 406, 410, 411, 414, 417, 420, 423, 425, 427, 428, 433, 434, 435, 436, 440, 441, 442, 443, 445, 446, 448, 453, 454, 455, 457, 458, 461, 465, 467, 470, 471, 474, 476, 478, 479, 480, 482, 483, 484, 485, 486, 487, 488, 491, 492, 496], [250, 252, 253, 256, 257, 259, 263, 268, 271, 272, 273, 275, 276, 277, 278, 279, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 301, 303, 304, 306, 311, 313, 315, 320, 321, 322, 323, 326, 329, 332, 333, 336, 337, 338, 340, 342, 344, 345, 347, 348, 349, 350, 361, 363, 364, 365, 367, 368, 369, 370, 372, 374, 378, 379, 381, 382, 385, 386, 387, 393, 394, 395, 396, 397, 398, 400, 402, 403, 406, 409, 412, 413, 414, 416, 417, 421, 422, 423, 424, 425, 426, 427, 428, 430, 431, 432, 433, 434, 435, 436, 438, 444, 447, 450, 455, 456, 459, 460, 462, 465, 466, 467, 468, 471, 472, 475, 476, 478, 479, 481, 483, 485, 492, 494, 495], [252, 255, 257, 259, 260, 261, 262, 264, 266, 268, 272, 273, 275, 276, 277, 280, 281, 282, 283, 284, 285, 286, 287, 289, 292, 294, 297, 298, 299, 301, 302, 306, 307, 308, 315, 317, 320, 321, 322, 323, 326, 328, 333, 334, 337, 339, 340, 341, 342, 344, 347, 348, 349, 352, 353, 355, 357, 360, 361, 362, 363, 366, 367, 374, 377, 378, 379, 380, 386, 389, 393, 396, 399, 402, 403, 406, 407, 408, 409, 410, 412, 413, 414, 415, 416, 419, 420, 421, 427, 431, 433, 435, 438, 439, 443, 451, 452, 454, 457, 459, 462, 463, 465, 467, 468, 469, 473, 477, 482, 485, 486, 487, 490], [254, 257, 258, 260, 261, 263, 265, 266, 269, 270, 271, 272, 273, 275, 276, 279, 281, 283, 284, 287, 290, 291, 295, 297, 300, 301, 303, 309, 311, 312, 313, 314, 315, 317, 318, 320, 322, 323, 326, 328, 330, 331, 334, 335, 336, 338, 339, 340, 341, 342, 347, 348, 350, 351, 355, 357, 361, 364, 366, 368, 369, 370, 371, 374, 375, 376, 378, 381, 382, 385, 387, 392, 393, 398, 399, 402, 403, 405, 408, 411, 417, 418, 419, 422, 423, 425, 427, 428, 429, 430, 433, 434, 435, 437, 440, 441, 442, 443, 444, 445, 451, 452, 453, 455, 456, 458, 459, 461, 462, 463, 464, 465, 466, 468, 475, 476, 480, 482, 487, 489, 490, 491, 492, 493, 494, 496, 497, 498], [250, 251, 255, 256, 257, 258, 259, 260, 266, 269, 272, 273, 274, 275, 276, 278, 279, 280, 281, 282, 283, 285, 290, 296, 298, 299, 301, 302, 306, 307, 308, 309, 310, 314, 315, 320, 325, 328, 329, 332, 335, 338, 339, 340, 341, 342, 343, 344, 345, 348, 349, 351, 352, 353, 356, 357, 363, 364, 365, 367, 369, 370, 371, 372, 373, 374, 376, 377, 378, 379, 387, 388, 394, 400, 402, 404, 406, 407, 408, 411, 412, 413, 414, 420, 421, 422, 426, 431, 435, 439, 440, 443, 444, 445, 446, 449, 450, 451, 452, 453, 454, 455, 458, 461, 463, 464, 465, 469, 470, 471, 473, 474, 480, 482, 484, 486, 487, 490, 491, 494, 495, 496, 499], [251, 252, 253, 256, 257, 258, 259, 260, 264, 265, 266, 267, 268, 269, 270, 271, 274, 276, 277, 279, 280, 281, 286, 290, 291, 293, 295, 296, 298, 299, 300, 303, 304, 305, 307, 310, 312, 314, 316, 318, 319, 320, 321, 322, 324, 333, 335, 338, 341, 344, 345, 346, 347, 348, 349, 352, 353, 355, 356, 365, 367, 370, 371, 374, 377, 378, 379, 380, 383, 384, 385, 389, 390, 392, 394, 395, 396, 397, 398, 402, 405, 409, 410, 411, 415, 421, 426, 428, 430, 431, 432, 433, 436, 437, 441, 443, 444, 445, 447, 450, 451, 452, 456, 458, 459, 460, 461, 467, 469, 470, 474, 476, 482, 484, 485, 486, 487, 490, 492, 498, 499], [252, 253, 256, 257, 261, 264, 265, 266, 267, 268, 270, 271, 272, 273, 275, 276, 277, 278, 279, 280, 286, 287, 290, 292, 293, 296, 299, 307, 308, 309, 311, 312, 315, 317, 320, 321, 322, 325, 326, 327, 329, 330, 331, 332, 333, 337, 338, 340, 341, 344, 346, 347, 350, 352, 355, 358, 359, 361, 362, 367, 368, 369, 375, 378, 382, 383, 384, 385, 394, 395, 397, 398, 399, 406, 407, 409, 410, 411, 414, 415, 418, 419, 421, 423, 424, 425, 426, 427, 429, 430, 437, 442, 444, 445, 446, 448, 449, 453, 455, 458, 461, 463, 464, 468, 469, 470, 473, 474, 476, 479, 480, 481, 482, 486, 487, 488, 489, 490, 493, 496, 497], [251, 253, 255, 257, 258, 259, 265, 266, 268, 272, 273, 274, 275, 276, 277, 278, 280, 281, 286, 287, 288, 290, 291, 294, 296, 298, 299, 300, 301, 302, 303, 305, 307, 308, 309, 312, 313, 314, 315, 316, 318, 319, 320, 323, 324, 325, 326, 327, 328, 331, 333, 334, 335, 337, 338, 340, 342, 344, 347, 349, 350, 351, 353, 354, 355, 357, 363, 367, 369, 371, 376, 380, 383, 384, 385, 388, 390, 392, 394, 395, 403, 405, 407, 408, 409, 410, 411, 414, 416, 417, 419, 421, 424, 426, 427, 428, 433, 436, 438, 440, 442, 443, 444, 448, 449, 450, 453, 455, 456, 457, 458, 464, 465, 466, 467, 469, 471, 473, 480, 481, 483, 484, 487, 490, 491, 492, 495, 496, 497, 498, 499], [250, 255, 258, 260, 261, 262, 265, 268, 270, 271, 274, 275, 276, 277, 278, 279, 281, 286, 288, 290, 294, 296, 297, 298, 300, 301, 305, 306, 308, 310, 311, 313, 314, 315, 319, 322, 323, 326, 327, 328, 329, 335, 338, 342, 343, 344, 346, 349, 353, 354, 355, 356, 357, 360, 362, 365, 366, 367, 368, 369, 370, 371, 377, 381, 386, 389, 390, 391, 394, 395, 396, 397, 402, 404, 405, 411, 413, 414, 415, 417, 419, 420, 423, 429, 430, 431, 432, 435, 437, 438, 439, 441, 442, 443, 444, 445, 450, 451, 453, 460, 461, 464, 465, 469, 471, 474, 475, 479, 480, 482, 483, 486, 487, 490, 492, 493, 494, 497, 498], [250, 251, 252, 253, 257, 259, 262, 270, 271, 274, 277, 278, 279, 280, 285, 290, 292, 296, 298, 299, 300, 301, 302, 304, 305, 306, 307, 308, 310, 311, 312, 314, 315, 316, 317, 319, 323, 324, 325, 330, 333, 334, 336, 340, 344, 346, 347, 348, 352, 356, 361, 362, 363, 369, 370, 371, 374, 377, 378, 380, 387, 388, 390, 393, 394, 396, 402, 406, 410, 411, 413, 414, 415, 421, 422, 423, 424, 425, 426, 429, 431, 436, 437, 439, 440, 441, 442, 443, 445, 446, 448, 449, 453, 455, 456, 457, 460, 461, 462, 463, 464, 468, 470, 471, 472, 473, 474, 475, 479, 480, 483, 484, 485, 487, 488, 489, 492, 494, 495, 498, 499], [251, 252, 254, 255, 258, 259, 260, 261, 263, 265, 267, 269, 270, 271, 274, 275, 276, 277, 280, 281, 287, 291, 296, 299, 301, 302, 306, 308, 309, 310, 311, 316, 318, 319, 320, 325, 328, 329, 330, 331, 334, 335, 341, 342, 345, 346, 357, 362, 363, 364, 365, 366, 367, 368, 371, 376, 379, 380, 383, 384, 385, 388, 391, 392, 394, 395, 396, 398, 399, 401, 403, 404, 407, 408, 411, 414, 415, 416, 417, 418, 419, 421, 424, 425, 426, 432, 437, 439, 440, 441, 445, 447, 448, 455, 456, 459, 460, 462, 463, 466, 467, 470, 471, 473, 474, 478, 479, 480, 481, 482, 483, 485, 488, 493, 494, 495, 498], [252, 253, 254, 255, 262, 264, 265, 266, 267, 268, 269, 271, 272, 278, 279, 283, 286, 287, 289, 296, 298, 299, 300, 303, 304, 307, 308, 310, 312, 313, 314, 315, 316, 318, 319, 320, 321, 323, 325, 326, 327, 328, 329, 330, 333, 334, 335, 337, 338, 340, 341, 342, 344, 346, 347, 350, 351, 352, 356, 357, 359, 364, 365, 366, 367, 369, 370, 373, 375, 376, 377, 378, 384, 385, 386, 390, 394, 397, 399, 402, 403, 406, 408, 409, 412, 413, 414, 415, 417, 419, 420, 423, 424, 426, 427, 428, 429, 432, 434, 435, 436, 441, 442, 443, 444, 449, 450, 453, 455, 456, 459, 462, 463, 465, 467, 468, 469, 470, 471, 473, 475, 477, 480, 481, 482, 484, 486, 487, 488, 489, 490, 492, 495, 497, 498, 499], [252, 253, 254, 255, 259, 268, 269, 270, 271, 273, 274, 275, 278, 279, 280, 281, 282, 284, 286, 287, 289, 290, 291, 292, 293, 294, 295, 296, 298, 301, 303, 305, 306, 310, 311, 312, 313, 314, 315, 316, 317, 318, 321, 323, 325, 326, 327, 328, 329, 336, 339, 342, 343, 345, 347, 350, 352, 353, 356, 357, 360, 361, 369, 370, 371, 372, 374, 377, 379, 380, 381, 384, 386, 387, 388, 393, 396, 398, 399, 406, 407, 411, 413, 414, 416, 419, 421, 422, 424, 426, 427, 428, 429, 431, 433, 435, 438, 441, 442, 446, 447, 448, 453, 458, 459, 461, 462, 463, 466, 474, 475, 476, 478, 480, 484, 485, 486, 487, 493, 494, 495], [250, 251, 252, 253, 255, 258, 259, 262, 263, 265, 266, 269, 271, 274, 275, 276, 280, 281, 283, 284, 285, 286, 287, 289, 292, 295, 298, 299, 302, 303, 305, 307, 310, 311, 313, 314, 315, 316, 317, 319, 320, 321, 322, 324, 327, 338, 339, 340, 341, 343, 344, 346, 349, 350, 351, 352, 353, 355, 356, 357, 363, 364, 366, 367, 368, 369, 370, 372, 373, 374, 376, 378, 380, 381, 382, 383, 391, 392, 393, 394, 397, 398, 399, 401, 404, 406, 411, 412, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 428, 436, 439, 443, 445, 446, 451, 452, 455, 457, 459, 460, 466, 468, 472, 474, 479, 481, 482, 486, 487, 490, 491, 493, 494, 495, 496, 497, 499], [252, 254, 258, 259, 261, 265, 266, 267, 269, 270, 271, 273, 275, 278, 279, 281, 284, 287, 288, 289, 291, 292, 295, 296, 299, 301, 302, 304, 305, 306, 309, 311, 313, 315, 316, 319, 320, 322, 323, 326, 328, 331, 332, 333, 337, 339, 340, 341, 342, 343, 345, 351, 352, 354, 355, 356, 359, 360, 363, 365, 367, 368, 370, 371, 372, 375, 377, 379, 380, 381, 382, 384, 385, 386, 387, 391, 393, 394, 395, 397, 398, 399, 401, 402, 403, 404, 405, 406, 408, 412, 416, 420, 422, 423, 425, 426, 427, 430, 434, 437, 438, 440, 442, 443, 445, 446, 448, 450, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 469, 471, 474, 475, 476, 478, 479, 481, 482, 483, 484, 485, 486, 491, 493, 494, 496, 497], [251, 254, 255, 256, 257, 260, 261, 262, 265, 267, 269, 271, 274, 275, 276, 279, 283, 287, 289, 290, 291, 292, 293, 295, 298, 299, 302, 303, 304, 305, 306, 307, 308, 310, 311, 316, 318, 320, 323, 324, 326, 327, 328, 331, 334, 337, 338, 339, 341, 345, 348, 349, 353, 356, 358, 361, 362, 363, 364, 365, 369, 372, 375, 377, 378, 381, 385, 386, 389, 391, 392, 394, 395, 396, 398, 402, 404, 405, 406, 407, 408, 409, 411, 412, 414, 420, 423, 425, 426, 428, 433, 434, 435, 437, 444, 445, 446, 448, 449, 450, 451, 453, 454, 455, 456, 458, 460, 461, 462, 465, 469, 472, 475, 481, 482, 483, 484, 485, 491, 492, 493, 495, 496, 497, 498, 499], [252, 255, 259, 266, 267, 268, 271, 272, 274, 276, 280, 281, 283, 287, 290, 294, 295, 297, 299, 300, 301, 304, 305, 307, 308, 309, 310, 311, 312, 313, 316, 319, 321, 322, 323, 324, 325, 332, 333, 334, 335, 336, 337, 340, 341, 343, 346, 347, 348, 350, 351, 352, 353, 355, 358, 362, 363, 364, 365, 366, 367, 368, 370, 371, 372, 375, 378, 380, 381, 383, 384, 385, 387, 388, 392, 393, 396, 397, 398, 399, 401, 402, 403, 405, 407, 409, 410, 411, 414, 416, 421, 422, 424, 428, 429, 430, 431, 433, 434, 435, 436, 438, 443, 447, 448, 451, 452, 454, 455, 456, 458, 459, 463, 468, 469, 472, 473, 475, 477, 479, 481, 482, 483, 484, 487, 489, 491, 495, 496], [250, 251, 252, 254, 256, 257, 259, 263, 264, 265, 267, 268, 273, 275, 276, 277, 278, 280, 283, 285, 286, 288, 291, 301, 304, 305, 306, 308, 310, 311, 316, 317, 318, 324, 325, 326, 329, 332, 335, 336, 337, 338, 339, 340, 341, 342, 344, 345, 346, 347, 348, 349, 350, 356, 358, 359, 360, 362, 365, 369, 370, 372, 376, 377, 378, 379, 381, 382, 383, 386, 387, 389, 391, 394, 395, 396, 397, 398, 399, 400, 401, 402, 406, 407, 408, 410, 411, 414, 415, 419, 422, 423, 424, 425, 427, 428, 429, 432, 436, 437, 438, 444, 445, 448, 450, 451, 453, 454, 456, 457, 458, 460, 467, 468, 469, 470, 473, 474, 475, 477, 478, 480, 482, 484, 486, 489, 490, 491, 492, 495, 496, 497, 498], [250, 251, 252, 256, 259, 262, 264, 266, 271, 272, 273, 274, 275, 276, 277, 278, 281, 282, 283, 284, 285, 286, 288, 289, 292, 293, 294, 296, 297, 299, 302, 303, 304, 306, 307, 313, 317, 318, 319, 320, 323, 327, 328, 329, 330, 332, 334, 335, 336, 339, 343, 344, 348, 349, 350, 351, 353, 355, 356, 357, 358, 359, 361, 362, 363, 364, 370, 375, 378, 381, 383, 384, 386, 387, 388, 393, 394, 396, 398, 399, 400, 403, 405, 407, 409, 411, 413, 414, 415, 417, 418, 419, 420, 421, 422, 423, 427, 428, 429, 431, 432, 433, 434, 436, 438, 440, 441, 442, 445, 448, 456, 457, 458, 459, 463, 465, 468, 470, 471, 473, 476, 480, 482, 483, 484, 489, 490, 491, 492, 494, 495, 497, 498], [250, 251, 253, 254, 255, 256, 268, 269, 271, 274, 276, 278, 279, 281, 285, 286, 290, 291, 292, 295, 296, 297, 301, 302, 305, 306, 307, 308, 309, 310, 311, 312, 317, 321, 323, 327, 328, 330, 331, 332, 333, 335, 336, 338, 339, 344, 347, 350, 351, 352, 353, 363, 364, 367, 369, 370, 371, 380, 381, 383, 384, 386, 390, 391, 393, 395, 398, 399, 404, 406, 407, 408, 409, 411, 413, 414, 416, 417, 419, 420, 421, 424, 427, 428, 429, 432, 433, 440, 444, 449, 450, 452, 460, 461, 463, 466, 468, 469, 470, 471, 472, 473, 476, 482, 483, 484, 485, 486, 487, 488, 489, 490, 494, 496, 497, 499], [251, 253, 255, 256, 257, 258, 259, 261, 263, 267, 269, 272, 276, 285, 286, 287, 291, 294, 297, 298, 304, 306, 310, 314, 316, 318, 319, 321, 324, 325, 326, 327, 330, 331, 332, 334, 336, 337, 338, 340, 342, 343, 344, 349, 352, 353, 355, 356, 357, 359, 360, 362, 363, 366, 367, 371, 373, 374, 375, 377, 378, 379, 381, 384, 385, 388, 389, 393, 395, 400, 401, 405, 407, 409, 411, 412, 413, 414, 418, 419, 420, 422, 423, 425, 426, 427, 428, 432, 433, 437, 439, 441, 444, 445, 446, 448, 449, 452, 454, 455, 456, 457, 458, 459, 461, 463, 464, 465, 466, 471, 472, 474, 477, 479, 480, 482, 484, 485, 486, 489, 490, 491, 494, 495, 496, 498, 499], [251, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 265, 267, 271, 272, 273, 274, 276, 277, 278, 280, 283, 285, 286, 288, 289, 293, 296, 299, 301, 302, 304, 306, 308, 309, 310, 311, 313, 314, 315, 317, 319, 320, 321, 322, 324, 328, 329, 330, 331, 332, 333, 336, 339, 340, 342, 346, 348, 351, 352, 354, 355, 357, 358, 359, 360, 363, 364, 365, 367, 369, 371, 372, 373, 374, 380, 382, 384, 390, 391, 392, 393, 395, 400, 401, 404, 406, 407, 413, 423, 426, 429, 430, 431, 432, 433, 434, 435, 440, 441, 442, 447, 448, 449, 450, 451, 452, 455, 456, 457, 458, 462, 463, 465, 468, 469, 470, 473, 475, 476, 477, 478, 479, 480, 482, 483, 487, 488, 489, 495, 496, 497, 499], [250, 252, 253, 256, 257, 258, 261, 262, 266, 267, 268, 269, 275, 277, 283, 284, 285, 288, 291, 294, 295, 301, 304, 307, 308, 309, 312, 314, 316, 319, 320, 322, 323, 324, 331, 332, 334, 336, 339, 341, 342, 343, 350, 351, 352, 353, 354, 355, 357, 366, 368, 369, 370, 373, 379, 380, 385, 388, 390, 395, 397, 400, 406, 407, 408, 409, 411, 416, 417, 418, 423, 426, 427, 428, 431, 432, 435, 436, 437, 439, 440, 443, 444, 445, 448, 449, 454, 456, 458, 461, 465, 467, 468, 469, 470, 472, 473, 475, 476, 477, 479, 480, 484, 490, 491, 492, 493, 494, 495, 496, 498], [251, 252, 254, 255, 256, 257, 259, 260, 261, 262, 263, 264, 267, 269, 270, 271, 272, 273, 274, 276, 277, 279, 280, 285, 286, 287, 291, 293, 294, 298, 299, 300, 304, 306, 308, 313, 315, 316, 318, 324, 325, 327, 328, 329, 330, 331, 332, 334, 336, 338, 341, 342, 343, 346, 348, 350, 353, 354, 355, 356, 357, 358, 361, 362, 367, 368, 370, 372, 375, 376, 379, 380, 383, 384, 386, 387, 388, 390, 392, 393, 396, 399, 400, 401, 402, 404, 408, 409, 412, 415, 416, 417, 420, 421, 422, 426, 433, 435, 436, 437, 438, 439, 441, 443, 444, 445, 446, 449, 450, 451, 455, 456, 458, 460, 461, 462, 463, 464, 466, 467, 468, 469, 470, 473, 474, 476, 479, 481, 482, 483, 484, 485, 488, 489, 492, 494, 495, 499], [250, 251, 254, 255, 256, 257, 260, 263, 264, 266, 268, 272, 273, 276, 280, 281, 282, 285, 286, 288, 289, 290, 291, 294, 296, 301, 303, 310, 312, 314, 315, 317, 318, 319, 320, 321, 322, 326, 327, 328, 329, 330, 332, 335, 340, 342, 343, 346, 347, 349, 351, 352, 353, 359, 362, 364, 365, 366, 367, 368, 369, 371, 372, 373, 375, 376, 377, 378, 380, 383, 384, 385, 387, 388, 389, 390, 392, 396, 397, 400, 401, 405, 407, 409, 411, 413, 415, 416, 417, 419, 421, 423, 424, 425, 429, 431, 432, 435, 436, 438, 442, 445, 446, 448, 450, 452, 453, 456, 459, 460, 463, 464, 468, 469, 474, 476, 478, 479, 480, 481, 484, 487, 488, 489, 490, 493, 494, 495, 499], [250, 254, 258, 260, 265, 268, 270, 271, 272, 273, 275, 277, 278, 280, 281, 283, 284, 285, 286, 287, 288, 289, 293, 295, 298, 299, 303, 309, 310, 314, 317, 320, 321, 322, 323, 324, 325, 327, 328, 331, 332, 333, 335, 336, 339, 340, 343, 344, 347, 348, 351, 352, 353, 355, 358, 360, 362, 367, 369, 370, 371, 373, 375, 377, 378, 380, 382, 383, 386, 387, 388, 390, 392, 393, 394, 395, 397, 399, 401, 403, 405, 407, 409, 410, 415, 416, 418, 419, 421, 424, 425, 426, 430, 432, 435, 436, 439, 442, 445, 446, 447, 449, 452, 456, 457, 463, 464, 465, 468, 469, 471, 472, 479, 480, 481, 482, 483, 486, 490, 495, 498], [250, 251, 253, 255, 256, 258, 261, 262, 263, 264, 265, 266, 267, 269, 272, 274, 278, 279, 281, 282, 284, 285, 286, 287, 288, 289, 291, 292, 296, 297, 298, 300, 301, 305, 306, 310, 311, 312, 313, 319, 320, 323, 324, 325, 328, 329, 330, 331, 332, 335, 342, 343, 344, 345, 351, 352, 353, 354, 356, 359, 360, 363, 365, 367, 368, 370, 372, 378, 379, 380, 382, 383, 384, 385, 387, 388, 389, 393, 394, 397, 398, 399, 404, 405, 406, 408, 413, 420, 424, 426, 427, 434, 436, 437, 438, 440, 442, 446, 447, 449, 451, 452, 453, 454, 455, 456, 457, 460, 461, 462, 464, 465, 468, 469, 471, 474, 476, 477, 478, 480, 483, 485, 486, 487, 488, 490, 495], [251, 252, 253, 254, 255, 259, 262, 265, 266, 267, 268, 272, 273, 274, 277, 280, 281, 288, 289, 290, 291, 292, 295, 296, 297, 298, 300, 301, 302, 303, 304, 305, 307, 309, 310, 311, 314, 315, 318, 319, 321, 322, 325, 326, 327, 330, 334, 335, 337, 339, 340, 344, 345, 346, 347, 348, 351, 352, 354, 355, 358, 360, 362, 363, 368, 372, 374, 379, 382, 384, 386, 389, 390, 392, 395, 397, 398, 405, 407, 409, 410, 413, 414, 415, 416, 417, 418, 419, 420, 422, 423, 425, 427, 428, 429, 431, 432, 433, 434, 440, 441, 442, 445, 451, 456, 457, 460, 462, 464, 465, 466, 468, 474, 475, 476, 477, 478, 482, 483, 484, 485, 486, 489, 491, 492, 493, 494, 496, 497], [254, 256, 257, 260, 261, 265, 266, 267, 268, 269, 273, 274, 277, 279, 280, 284, 286, 287, 289, 294, 295, 298, 302, 304, 308, 310, 313, 316, 319, 321, 322, 323, 324, 325, 327, 328, 329, 330, 331, 333, 334, 338, 340, 345, 346, 347, 349, 351, 352, 353, 355, 357, 358, 359, 362, 363, 364, 365, 366, 370, 372, 373, 374, 378, 381, 384, 387, 388, 390, 391, 394, 395, 396, 403, 404, 405, 407, 409, 410, 411, 413, 424, 426, 431, 433, 434, 435, 436, 443, 444, 447, 448, 449, 452, 453, 454, 455, 456, 457, 461, 462, 463, 468, 469, 470, 471, 472, 474, 476, 478, 485, 487, 491, 494, 497], [251, 252, 256, 258, 260, 263, 264, 265, 266, 267, 268, 269, 270, 273, 274, 275, 278, 279, 280, 282, 284, 285, 287, 288, 289, 290, 298, 299, 300, 301, 303, 306, 307, 309, 316, 317, 318, 320, 321, 322, 323, 325, 326, 328, 329, 331, 333, 335, 336, 339, 341, 344, 345, 346, 347, 349, 353, 354, 357, 359, 360, 361, 366, 369, 370, 376, 377, 378, 382, 383, 385, 387, 388, 389, 390, 391, 392, 397, 398, 399, 403, 405, 406, 408, 409, 410, 411, 412, 413, 414, 416, 417, 418, 420, 422, 424, 425, 426, 427, 428, 430, 431, 432, 433, 435, 437, 438, 439, 441, 445, 446, 448, 450, 452, 453, 454, 456, 461, 463, 466, 468, 469, 470, 473, 476, 477, 479, 481, 483, 488, 490, 491, 493, 494, 497], [252, 255, 261, 266, 267, 270, 271, 273, 279, 280, 281, 282, 283, 284, 285, 286, 288, 289, 293, 295, 297, 298, 303, 306, 308, 309, 311, 313, 315, 316, 317, 325, 327, 329, 332, 336, 338, 339, 340, 342, 343, 345, 346, 348, 349, 355, 356, 358, 360, 362, 364, 365, 366, 368, 369, 370, 372, 375, 378, 380, 381, 382, 384, 386, 394, 396, 397, 398, 399, 404, 405, 406, 407, 412, 413, 414, 416, 418, 421, 432, 433, 435, 439, 441, 442, 443, 444, 449, 450, 452, 453, 454, 461, 463, 464, 465, 466, 468, 473, 478, 482, 483, 484, 485, 486, 487, 490, 492, 496, 497, 499], [252, 253, 258, 260, 261, 262, 263, 265, 267, 268, 269, 272, 273, 275, 277, 279, 281, 285, 287, 290, 291, 293, 294, 296, 297, 298, 299, 303, 304, 305, 307, 310, 312, 313, 317, 320, 322, 323, 324, 326, 327, 328, 329, 330, 333, 334, 337, 338, 340, 341, 342, 343, 344, 346, 347, 350, 351, 353, 354, 359, 360, 362, 363, 364, 365, 366, 367, 369, 371, 373, 378, 381, 383, 384, 388, 390, 396, 397, 402, 403, 405, 407, 408, 412, 414, 415, 416, 417, 419, 421, 422, 426, 427, 429, 430, 431, 432, 433, 434, 435, 436, 438, 441, 446, 448, 449, 450, 455, 456, 461, 462, 463, 466, 467, 468, 469, 473, 476, 478, 479, 481, 482, 483, 486, 488, 493, 495, 497], [251, 252, 254, 257, 259, 260, 262, 263, 266, 269, 274, 275, 276, 278, 279, 286, 288, 293, 294, 295, 300, 301, 304, 306, 307, 313, 315, 316, 317, 318, 321, 322, 326, 328, 329, 330, 332, 336, 338, 341, 344, 345, 346, 347, 349, 351, 352, 353, 355, 356, 358, 360, 361, 364, 367, 369, 370, 373, 376, 377, 378, 379, 380, 381, 383, 384, 386, 388, 389, 390, 392, 397, 398, 402, 403, 404, 405, 406, 408, 409, 411, 412, 414, 415, 416, 417, 419, 420, 421, 423, 426, 427, 428, 431, 433, 434, 437, 438, 440, 442, 447, 448, 449, 450, 451, 453, 455, 457, 458, 460, 464, 468, 469, 470, 473, 475, 479, 480, 481, 482, 485, 486, 487, 488, 489, 491, 496, 497], [251, 253, 254, 255, 256, 257, 260, 262, 263, 264, 265, 266, 267, 271, 276, 278, 279, 280, 281, 287, 290, 291, 293, 294, 298, 300, 303, 304, 305, 307, 309, 311, 317, 318, 320, 322, 325, 326, 327, 329, 330, 331, 333, 334, 335, 336, 341, 342, 344, 345, 346, 347, 348, 350, 351, 352, 353, 356, 358, 361, 362, 363, 364, 366, 367, 368, 371, 372, 374, 376, 377, 378, 379, 380, 382, 386, 388, 390, 391, 392, 397, 398, 400, 401, 405, 407, 408, 412, 416, 417, 418, 420, 422, 424, 425, 426, 427, 428, 430, 431, 432, 433, 435, 438, 440, 441, 445, 446, 447, 448, 449, 457, 458, 459, 460, 461, 462, 464, 471, 472, 477, 478, 481, 482, 483, 484, 485, 490, 493, 494, 495, 496], [250, 251, 253, 254, 256, 259, 260, 264, 267, 271, 272, 276, 277, 278, 279, 287, 288, 289, 290, 292, 294, 296, 298, 301, 305, 308, 309, 310, 311, 312, 314, 315, 317, 318, 320, 322, 323, 326, 330, 332, 333, 334, 336, 337, 338, 339, 344, 349, 350, 351, 352, 354, 356, 360, 363, 365, 366, 367, 368, 369, 370, 371, 373, 375, 376, 381, 382, 385, 386, 388, 389, 391, 392, 393, 394, 397, 400, 401, 402, 403, 405, 406, 408, 413, 414, 419, 421, 422, 426, 428, 432, 434, 436, 437, 438, 439, 440, 441, 442, 443, 445, 446, 450, 451, 452, 454, 455, 456, 459, 461, 462, 465, 468, 469, 471, 472, 473, 475, 476, 477, 479, 481, 482, 483, 486, 487, 490, 491, 492, 494, 495, 496, 497], [251, 252, 253, 254, 257, 260, 261, 262, 265, 266, 268, 270, 273, 276, 277, 278, 279, 281, 284, 285, 287, 290, 291, 292, 293, 294, 295, 297, 298, 305, 306, 309, 311, 312, 315, 316, 317, 319, 320, 326, 327, 328, 329, 332, 333, 336, 338, 339, 340, 341, 342, 344, 346, 347, 348, 349, 351, 352, 353, 355, 356, 359, 361, 363, 366, 367, 373, 377, 378, 380, 381, 383, 386, 388, 389, 390, 392, 394, 395, 396, 398, 400, 401, 404, 406, 409, 410, 411, 412, 413, 418, 419, 422, 423, 424, 425, 432, 433, 434, 435, 438, 441, 443, 448, 452, 456, 457, 460, 461, 462, 463, 465, 467, 472, 473, 474, 475, 480, 481, 483, 484, 486, 490, 491, 492, 493, 496, 499], [250, 254, 256, 257, 259, 261, 262, 263, 265, 266, 270, 277, 278, 281, 283, 284, 285, 287, 289, 291, 292, 294, 296, 297, 302, 305, 306, 308, 309, 311, 318, 319, 325, 330, 334, 337, 338, 341, 343, 345, 348, 349, 350, 351, 355, 357, 358, 360, 361, 362, 366, 367, 368, 369, 371, 372, 375, 377, 378, 379, 380, 383, 385, 387, 389, 391, 392, 395, 398, 401, 403, 405, 406, 408, 411, 415, 418, 419, 421, 423, 427, 428, 430, 433, 434, 435, 439, 441, 443, 445, 446, 449, 450, 451, 454, 456, 460, 463, 469, 470, 471, 472, 473, 474, 476, 477, 478, 479, 481, 483, 486, 488, 490, 493, 494, 498, 499], [252, 257, 258, 261, 262, 263, 264, 265, 273, 275, 276, 282, 283, 286, 287, 289, 290, 291, 293, 294, 295, 298, 299, 306, 308, 309, 315, 316, 321, 322, 324, 326, 327, 328, 332, 333, 335, 337, 340, 342, 343, 347, 350, 353, 354, 355, 357, 360, 362, 368, 373, 375, 376, 377, 378, 381, 382, 384, 386, 393, 396, 398, 399, 404, 406, 407, 409, 410, 411, 415, 416, 418, 420, 421, 422, 423, 424, 427, 430, 432, 436, 437, 438, 439, 443, 447, 448, 454, 455, 459, 461, 466, 467, 468, 471, 475, 476, 478, 479, 480, 481, 483, 484, 485, 486, 488, 489, 491, 494, 496, 499], [252, 253, 255, 256, 258, 259, 260, 261, 263, 265, 270, 271, 273, 274, 278, 280, 281, 282, 284, 287, 290, 292, 293, 296, 297, 298, 299, 301, 302, 303, 304, 305, 307, 308, 311, 315, 317, 318, 320, 323, 325, 329, 330, 331, 333, 334, 337, 338, 340, 343, 346, 348, 352, 354, 359, 363, 366, 367, 370, 371, 372, 374, 377, 378, 380, 381, 382, 383, 386, 387, 388, 389, 391, 393, 394, 395, 399, 401, 403, 406, 408, 409, 410, 411, 415, 416, 423, 424, 426, 428, 429, 431, 432, 433, 440, 441, 442, 447, 448, 449, 452, 453, 455, 460, 461, 462, 465, 467, 468, 470, 472, 473, 474, 475, 477, 478, 479, 480, 481, 482, 483, 486, 491, 492, 493, 494], [250, 251, 252, 254, 255, 257, 258, 259, 261, 263, 265, 266, 270, 271, 273, 275, 277, 281, 282, 285, 286, 287, 293, 294, 295, 297, 298, 299, 301, 302, 304, 305, 306, 308, 310, 312, 316, 317, 320, 321, 323, 324, 326, 330, 332, 335, 336, 337, 339, 341, 346, 349, 353, 356, 361, 362, 365, 366, 367, 369, 371, 373, 374, 375, 376, 377, 380, 383, 384, 386, 388, 390, 391, 394, 395, 396, 400, 401, 403, 405, 412, 413, 416, 417, 418, 420, 422, 423, 424, 426, 427, 428, 429, 432, 434, 435, 436, 439, 441, 447, 449, 451, 452, 453, 460, 462, 464, 466, 469, 470, 471, 474, 475, 476, 478, 482, 483, 487, 489, 490, 491, 493, 494, 496, 497, 498, 499], [250, 253, 255, 256, 260, 261, 263, 265, 266, 272, 273, 275, 276, 277, 278, 279, 280, 282, 283, 284, 287, 289, 290, 291, 295, 298, 304, 306, 307, 308, 315, 318, 319, 320, 325, 326, 327, 328, 329, 330, 331, 334, 335, 336, 337, 339, 340, 341, 344, 347, 349, 353, 354, 355, 357, 359, 361, 363, 367, 369, 370, 374, 376, 377, 378, 379, 384, 386, 388, 391, 393, 396, 402, 403, 406, 408, 410, 415, 417, 418, 419, 420, 421, 423, 425, 427, 430, 432, 435, 437, 438, 440, 446, 448, 450, 451, 452, 455, 456, 457, 461, 462, 463, 464, 467, 468, 469, 471, 472, 473, 474, 475, 478, 479, 480, 481, 482, 483, 484, 492, 493, 498, 499], [251, 252, 254, 256, 257, 258, 260, 264, 266, 269, 275, 276, 280, 281, 283, 285, 288, 289, 290, 291, 292, 298, 300, 302, 303, 307, 309, 310, 311, 312, 313, 314, 318, 319, 321, 324, 331, 332, 336, 338, 340, 341, 344, 346, 347, 348, 349, 353, 357, 358, 359, 360, 361, 363, 365, 367, 368, 369, 373, 375, 379, 381, 383, 384, 386, 388, 389, 390, 391, 392, 393, 395, 396, 399, 400, 404, 405, 408, 409, 410, 412, 413, 414, 415, 416, 420, 425, 427, 428, 430, 432, 433, 436, 437, 442, 444, 447, 448, 449, 450, 453, 455, 456, 457, 458, 462, 465, 466, 470, 471, 473, 474, 475, 479, 482, 485, 486, 493, 494, 495, 496, 497, 498, 499], [250, 255, 256, 258, 261, 263, 264, 265, 267, 270, 275, 276, 279, 282, 284, 286, 287, 290, 293, 294, 296, 297, 298, 299, 300, 301, 303, 306, 308, 309, 310, 313, 318, 325, 327, 328, 329, 330, 335, 336, 340, 342, 343, 345, 346, 347, 350, 352, 354, 357, 358, 362, 364, 365, 366, 367, 368, 369, 371, 372, 374, 376, 378, 379, 381, 382, 383, 387, 389, 390, 391, 392, 394, 395, 396, 397, 399, 400, 402, 403, 404, 405, 406, 407, 410, 411, 412, 417, 419, 421, 423, 424, 427, 428, 433, 436, 438, 439, 442, 443, 444, 447, 448, 449, 450, 458, 464, 468, 470, 472, 473, 475, 476, 477, 478, 480, 482, 484, 488, 489, 493, 495, 496, 498], [251, 252, 255, 256, 257, 258, 261, 262, 265, 266, 267, 271, 272, 273, 274, 275, 278, 279, 282, 283, 284, 291, 293, 294, 296, 298, 301, 303, 305, 306, 308, 311, 312, 316, 317, 318, 319, 320, 321, 322, 324, 327, 329, 331, 335, 337, 339, 341, 342, 343, 344, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 358, 360, 362, 364, 365, 366, 368, 369, 371, 372, 373, 374, 377, 381, 388, 389, 395, 397, 401, 402, 407, 413, 415, 416, 417, 420, 422, 423, 424, 428, 433, 434, 435, 438, 439, 440, 441, 445, 446, 447, 453, 454, 455, 456, 461, 462, 463, 465, 467, 468, 473, 474, 476, 478, 479, 480, 481, 483, 484, 485, 487, 489, 491, 492, 495, 496, 498, 499], [250, 251, 253, 254, 257, 259, 260, 261, 264, 267, 268, 270, 271, 272, 275, 280, 283, 284, 285, 287, 288, 292, 293, 294, 296, 298, 299, 302, 303, 305, 308, 309, 311, 312, 313, 319, 323, 324, 325, 327, 328, 329, 331, 333, 334, 335, 339, 342, 344, 345, 347, 348, 361, 362, 363, 364, 365, 368, 371, 373, 374, 378, 381, 382, 383, 385, 387, 388, 389, 390, 391, 392, 394, 395, 400, 401, 403, 404, 407, 408, 414, 415, 416, 419, 420, 421, 422, 425, 426, 429, 430, 431, 435, 436, 437, 438, 439, 440, 441, 442, 443, 445, 446, 447, 448, 450, 451, 453, 454, 456, 458, 460, 461, 462, 463, 464, 467, 468, 471, 472, 477, 478, 480, 483, 484, 485, 487, 488, 489, 490, 492, 494, 495, 496, 498, 499], [252, 253, 254, 259, 261, 266, 267, 268, 269, 270, 271, 276, 277, 282, 284, 285, 287, 290, 292, 301, 302, 305, 310, 313, 314, 317, 318, 321, 323, 324, 326, 327, 329, 331, 333, 334, 339, 341, 342, 343, 345, 346, 349, 354, 355, 357, 358, 359, 363, 364, 366, 368, 369, 370, 371, 377, 378, 380, 381, 383, 392, 394, 395, 396, 401, 403, 407, 410, 413, 419, 420, 424, 425, 428, 433, 435, 436, 438, 442, 444, 445, 448, 449, 450, 452, 453, 455, 457, 460, 462, 465, 470, 471, 472, 473, 475, 478, 479, 480, 484, 486, 489, 490, 493, 494, 497, 498, 499], [250, 251, 252, 253, 256, 257, 258, 261, 262, 263, 264, 265, 267, 268, 270, 272, 273, 275, 277, 278, 283, 286, 289, 290, 291, 292, 294, 300, 301, 302, 303, 309, 316, 317, 318, 319, 320, 322, 324, 328, 329, 331, 332, 333, 334, 336, 340, 341, 343, 345, 346, 347, 348, 349, 352, 357, 358, 359, 360, 362, 363, 367, 370, 372, 373, 375, 376, 378, 379, 380, 381, 382, 383, 384, 386, 387, 388, 390, 396, 403, 404, 410, 411, 412, 413, 417, 418, 420, 422, 425, 426, 430, 432, 433, 434, 436, 437, 438, 443, 444, 445, 446, 447, 453, 454, 455, 457, 458, 459, 460, 461, 462, 466, 470, 473, 474, 476, 477, 478, 484, 486, 487, 491, 493, 494, 495, 499], [250, 252, 253, 258, 260, 261, 263, 264, 265, 266, 267, 274, 275, 276, 277, 280, 281, 282, 287, 294, 295, 296, 298, 301, 302, 305, 311, 312, 313, 314, 316, 318, 320, 321, 322, 323, 329, 336, 339, 341, 344, 345, 346, 347, 349, 353, 357, 359, 360, 362, 363, 365, 366, 367, 371, 374, 380, 381, 382, 383, 387, 389, 390, 393, 394, 395, 396, 397, 400, 401, 403, 404, 405, 406, 418, 419, 421, 422, 423, 427, 433, 438, 439, 441, 442, 443, 446, 448, 449, 450, 451, 455, 457, 460, 461, 462, 463, 465, 469, 471, 474, 475, 476, 477, 484, 485, 486, 487, 490, 491, 492, 494, 495, 496], [251, 252, 255, 257, 261, 263, 264, 265, 266, 268, 269, 272, 275, 276, 280, 286, 287, 292, 293, 296, 298, 300, 301, 302, 303, 304, 305, 306, 309, 311, 316, 317, 318, 321, 324, 328, 329, 331, 334, 336, 337, 340, 341, 342, 344, 345, 346, 350, 352, 354, 355, 357, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 380, 381, 383, 385, 387, 388, 389, 390, 391, 392, 395, 397, 398, 399, 401, 402, 403, 406, 410, 412, 414, 416, 417, 418, 419, 420, 425, 427, 428, 430, 431, 432, 434, 437, 438, 441, 442, 453, 454, 455, 456, 459, 461, 468, 470, 471, 472, 475, 476, 478, 479, 480, 481, 482, 483, 484, 485, 486, 488, 489, 491, 494, 497, 499], [250, 251, 252, 254, 256, 259, 261, 262, 263, 264, 265, 266, 267, 268, 270, 272, 273, 274, 276, 282, 283, 285, 286, 288, 290, 291, 292, 295, 300, 301, 302, 303, 304, 305, 306, 307, 309, 310, 311, 313, 316, 317, 320, 321, 323, 324, 327, 330, 331, 332, 335, 338, 339, 341, 342, 344, 346, 347, 350, 351, 353, 356, 358, 360, 361, 362, 363, 365, 366, 367, 369, 370, 372, 373, 375, 380, 381, 382, 384, 385, 386, 389, 390, 391, 392, 394, 395, 398, 400, 402, 403, 405, 407, 408, 409, 417, 418, 422, 423, 424, 425, 426, 427, 429, 430, 433, 434, 436, 438, 441, 445, 448, 450, 451, 453, 454, 456, 458, 464, 467, 471, 475, 478, 481, 482, 486, 487, 488, 490, 491, 496, 499], [250, 251, 255, 256, 260, 263, 266, 269, 270, 272, 274, 275, 278, 281, 282, 283, 286, 287, 289, 290, 291, 297, 298, 299, 301, 303, 307, 308, 315, 316, 319, 320, 322, 323, 324, 327, 328, 329, 330, 332, 333, 336, 337, 338, 340, 341, 344, 348, 354, 355, 356, 359, 360, 362, 365, 367, 368, 369, 370, 371, 375, 377, 378, 379, 380, 382, 388, 389, 390, 392, 393, 394, 395, 397, 398, 401, 404, 405, 406, 409, 410, 413, 422, 426, 429, 430, 432, 433, 434, 435, 436, 439, 441, 444, 448, 451, 452, 453, 456, 457, 458, 459, 460, 462, 466, 468, 469, 470, 471, 472, 473, 474, 475, 477, 480, 481, 482, 484, 486, 487, 489, 490, 491, 492, 494, 497], [250, 251, 253, 254, 255, 263, 264, 271, 273, 274, 276, 277, 281, 284, 290, 292, 293, 294, 295, 296, 301, 302, 305, 307, 309, 310, 313, 314, 321, 322, 323, 324, 327, 328, 329, 333, 336, 337, 340, 343, 344, 348, 349, 350, 351, 352, 356, 359, 361, 369, 371, 372, 373, 374, 375, 379, 383, 386, 389, 394, 396, 398, 399, 400, 401, 402, 403, 405, 407, 412, 413, 414, 415, 417, 419, 420, 422, 423, 427, 429, 430, 431, 432, 434, 437, 438, 443, 444, 447, 452, 453, 459, 461, 464, 465, 466, 467, 468, 470, 472, 473, 474, 475, 477, 479, 482, 486, 487, 488, 490, 491, 494, 495, 496, 498, 499], [250, 252, 253, 254, 256, 261, 262, 263, 266, 269, 272, 274, 276, 277, 278, 279, 282, 283, 284, 285, 286, 287, 289, 290, 292, 295, 296, 297, 298, 299, 300, 303, 305, 308, 310, 313, 315, 316, 317, 318, 319, 320, 321, 322, 323, 326, 327, 328, 330, 331, 334, 336, 339, 341, 347, 348, 354, 357, 358, 359, 362, 364, 365, 372, 374, 375, 380, 382, 386, 387, 389, 391, 394, 395, 398, 405, 408, 409, 411, 412, 415, 419, 426, 428, 430, 431, 434, 436, 437, 438, 442, 445, 449, 451, 452, 456, 458, 461, 462, 463, 464, 465, 466, 467, 469, 470, 474, 475, 476, 478, 479, 480, 482, 485, 486, 487, 491, 492, 493, 495, 497, 498, 499], [251, 255, 257, 258, 259, 260, 262, 263, 264, 267, 269, 270, 271, 272, 273, 275, 276, 278, 279, 280, 281, 282, 284, 285, 286, 288, 289, 290, 293, 296, 297, 305, 307, 308, 309, 310, 311, 315, 316, 317, 318, 320, 321, 323, 324, 326, 327, 330, 332, 333, 339, 340, 341, 342, 343, 345, 351, 352, 353, 354, 355, 356, 357, 359, 360, 361, 363, 365, 366, 372, 374, 375, 376, 377, 380, 382, 385, 386, 387, 388, 392, 395, 397, 398, 402, 404, 407, 408, 410, 411, 412, 416, 417, 422, 426, 429, 430, 431, 434, 438, 441, 442, 443, 444, 445, 447, 453, 454, 457, 458, 459, 461, 463, 464, 465, 466, 468, 469, 471, 476, 478, 484, 485, 493, 495, 496], [258, 260, 261, 262, 267, 271, 275, 277, 278, 283, 286, 287, 289, 290, 292, 293, 294, 297, 298, 299, 301, 303, 305, 306, 309, 310, 312, 314, 322, 326, 327, 328, 329, 330, 331, 333, 335, 339, 341, 342, 343, 346, 347, 348, 351, 353, 354, 356, 357, 360, 361, 363, 367, 368, 370, 373, 378, 380, 381, 383, 385, 386, 387, 388, 390, 391, 392, 393, 398, 403, 404, 407, 408, 409, 412, 418, 426, 427, 428, 429, 430, 432, 434, 437, 439, 440, 443, 445, 446, 447, 448, 450, 452, 453, 454, 455, 456, 457, 459, 462, 463, 464, 465, 466, 467, 469, 470, 471, 473, 474, 475, 477, 478, 479, 482, 484, 485, 486, 487, 490, 492, 493, 494, 497, 498, 499], [251, 254, 256, 257, 260, 262, 264, 266, 268, 269, 271, 272, 277, 278, 281, 285, 286, 290, 291, 292, 294, 295, 296, 301, 303, 306, 308, 310, 312, 313, 314, 317, 318, 319, 320, 321, 322, 323, 324, 326, 327, 328, 329, 330, 331, 332, 333, 334, 337, 338, 340, 341, 342, 344, 345, 346, 347, 348, 349, 350, 356, 357, 358, 362, 364, 365, 366, 367, 368, 370, 371, 375, 377, 378, 380, 381, 382, 383, 384, 385, 389, 394, 395, 396, 399, 402, 404, 405, 410, 411, 416, 417, 421, 422, 423, 426, 427, 431, 432, 435, 437, 438, 442, 444, 445, 447, 448, 449, 450, 452, 456, 457, 458, 462, 463, 464, 468, 469, 472, 473, 477, 479, 481, 482, 488, 490, 492, 494, 498], [250, 255, 256, 257, 259, 261, 263, 264, 265, 266, 268, 269, 274, 275, 276, 279, 282, 289, 291, 293, 294, 296, 297, 299, 300, 301, 302, 303, 304, 307, 308, 309, 311, 313, 314, 318, 320, 323, 326, 328, 330, 331, 332, 334, 335, 338, 341, 343, 346, 348, 349, 351, 353, 355, 356, 357, 361, 362, 363, 366, 368, 370, 372, 373, 374, 375, 378, 380, 381, 382, 383, 384, 386, 387, 388, 390, 391, 393, 394, 395, 396, 398, 400, 401, 405, 407, 409, 411, 412, 413, 414, 416, 417, 419, 420, 423, 425, 426, 427, 428, 432, 434, 435, 438, 442, 445, 446, 448, 451, 452, 453, 455, 456, 464, 466, 470, 472, 473, 474, 475, 477, 479, 480, 482, 483, 486, 487, 489, 490, 492, 493, 494, 499], [252, 260, 267, 268, 270, 274, 275, 277, 278, 280, 283, 284, 286, 288, 289, 292, 295, 297, 300, 301, 302, 304, 305, 306, 308, 311, 312, 314, 316, 317, 319, 323, 327, 328, 331, 338, 339, 342, 343, 344, 345, 347, 348, 349, 351, 354, 357, 358, 365, 369, 372, 374, 375, 376, 377, 378, 379, 381, 383, 386, 390, 391, 392, 393, 396, 398, 401, 403, 404, 405, 406, 410, 414, 415, 416, 420, 421, 422, 423, 427, 428, 429, 431, 433, 435, 438, 440, 441, 442, 444, 446, 448, 449, 450, 451, 453, 455, 457, 459, 461, 462, 463, 464, 468, 474, 475, 485, 487, 489, 490, 495, 497], [255, 257, 258, 261, 262, 263, 264, 266, 267, 270, 271, 272, 273, 274, 275, 276, 277, 279, 280, 283, 285, 288, 290, 294, 298, 302, 305, 306, 307, 308, 311, 314, 317, 319, 323, 325, 326, 327, 328, 336, 340, 342, 344, 346, 348, 349, 351, 355, 358, 359, 362, 363, 364, 365, 368, 373, 375, 377, 379, 383, 384, 389, 390, 391, 392, 393, 394, 396, 401, 402, 403, 409, 410, 411, 414, 415, 416, 418, 419, 421, 424, 426, 427, 432, 437, 440, 443, 447, 449, 452, 453, 454, 455, 456, 457, 460, 464, 465, 466, 468, 469, 471, 472, 473, 476, 478, 480, 486, 488, 489, 494], [251, 252, 254, 255, 257, 260, 261, 262, 266, 268, 270, 272, 277, 278, 279, 283, 287, 288, 289, 290, 291, 292, 294, 295, 296, 297, 299, 302, 305, 306, 309, 310, 314, 315, 317, 318, 320, 322, 324, 325, 326, 327, 329, 330, 334, 337, 338, 339, 340, 343, 344, 347, 348, 354, 356, 361, 363, 364, 365, 366, 369, 371, 375, 376, 378, 380, 381, 382, 383, 385, 386, 388, 392, 393, 394, 395, 397, 400, 401, 402, 404, 409, 411, 412, 413, 414, 415, 418, 419, 422, 423, 425, 426, 432, 434, 438, 439, 442, 443, 445, 447, 450, 452, 453, 456, 461, 462, 463, 465, 472, 476, 478, 480, 483, 484, 489, 493, 494, 495, 498], [250, 251, 253, 254, 256, 257, 259, 264, 266, 267, 269, 270, 271, 280, 281, 283, 285, 292, 296, 297, 299, 300, 301, 305, 307, 309, 310, 312, 313, 315, 317, 319, 320, 321, 325, 328, 329, 331, 332, 334, 337, 338, 340, 342, 343, 344, 346, 347, 348, 349, 350, 352, 353, 354, 356, 358, 360, 363, 365, 368, 369, 370, 373, 378, 382, 383, 386, 387, 393, 395, 397, 398, 400, 402, 403, 404, 405, 406, 407, 411, 412, 413, 415, 421, 422, 424, 426, 428, 432, 433, 434, 435, 446, 448, 449, 450, 452, 453, 457, 458, 459, 460, 463, 465, 467, 469, 470, 473, 474, 481, 483, 485, 488, 489, 490, 492, 493, 494, 495, 496, 498, 499], [251, 252, 255, 256, 259, 264, 265, 267, 269, 270, 272, 274, 276, 277, 278, 285, 286, 287, 290, 291, 292, 293, 294, 297, 298, 299, 301, 302, 304, 305, 306, 309, 313, 315, 316, 319, 323, 324, 325, 326, 329, 330, 331, 333, 336, 337, 338, 339, 342, 345, 348, 349, 350, 351, 352, 355, 362, 365, 368, 369, 373, 374, 379, 380, 381, 382, 386, 388, 390, 391, 392, 394, 395, 396, 401, 405, 406, 408, 410, 411, 412, 419, 424, 426, 429, 432, 433, 434, 436, 437, 442, 445, 447, 449, 450, 451, 452, 455, 459, 460, 463, 464, 465, 469, 470, 471, 473, 476, 477, 482, 484, 486, 487, 488, 490, 491, 493, 494, 496], [252, 255, 257, 259, 261, 262, 263, 266, 268, 270, 271, 272, 274, 275, 277, 278, 279, 282, 289, 291, 294, 298, 300, 301, 302, 303, 313, 314, 316, 319, 320, 321, 323, 325, 326, 329, 330, 331, 332, 334, 336, 337, 341, 343, 344, 346, 347, 348, 350, 352, 354, 356, 359, 360, 361, 362, 363, 365, 366, 370, 372, 373, 374, 376, 383, 388, 389, 392, 393, 394, 396, 397, 398, 399, 400, 401, 402, 406, 407, 408, 411, 417, 421, 422, 423, 424, 425, 426, 428, 429, 436, 438, 443, 445, 447, 448, 451, 452, 457, 458, 460, 463, 464, 465, 467, 470, 473, 474, 477, 479, 481, 484, 487, 488, 489, 490, 491, 492, 494, 497, 498], [254, 255, 260, 263, 264, 265, 268, 269, 272, 275, 278, 280, 281, 284, 285, 287, 289, 295, 296, 297, 300, 301, 302, 304, 305, 307, 308, 309, 310, 311, 317, 319, 320, 321, 323, 324, 325, 326, 327, 332, 333, 335, 338, 339, 341, 343, 344, 345, 349, 352, 354, 355, 361, 362, 363, 364, 365, 368, 370, 375, 376, 377, 378, 379, 380, 381, 382, 383, 385, 386, 388, 390, 392, 394, 396, 399, 401, 402, 405, 406, 407, 409, 411, 412, 413, 415, 416, 417, 418, 422, 424, 433, 437, 438, 445, 446, 448, 449, 450, 452, 456, 457, 461, 462, 463, 464, 466, 468, 470, 471, 472, 474, 475, 476, 477, 478, 479, 481, 482, 484, 485, 490, 492, 493, 494, 496, 497, 498, 499], [251, 253, 256, 257, 259, 261, 263, 271, 275, 276, 277, 279, 283, 284, 286, 289, 291, 293, 295, 297, 298, 301, 306, 307, 308, 309, 310, 311, 312, 314, 315, 318, 319, 322, 324, 325, 327, 330, 334, 336, 341, 342, 346, 348, 349, 351, 352, 353, 355, 356, 357, 360, 363, 365, 366, 367, 372, 374, 377, 378, 379, 380, 381, 382, 385, 387, 388, 392, 393, 395, 397, 399, 400, 401, 403, 405, 406, 407, 408, 409, 412, 413, 415, 417, 419, 422, 424, 425, 426, 428, 430, 433, 434, 435, 437, 438, 439, 440, 441, 442, 445, 447, 448, 455, 456, 458, 462, 464, 466, 467, 471, 474, 476, 481, 484, 486, 491, 492, 493, 496, 498, 499], [250, 256, 259, 260, 262, 265, 267, 269, 270, 271, 273, 275, 276, 277, 278, 279, 280, 281, 283, 288, 289, 290, 291, 292, 295, 296, 297, 299, 302, 305, 307, 309, 311, 312, 314, 316, 317, 318, 320, 321, 323, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 342, 343, 346, 347, 348, 350, 351, 352, 353, 354, 356, 358, 359, 361, 363, 365, 369, 372, 373, 374, 375, 377, 379, 383, 384, 387, 388, 390, 393, 394, 395, 397, 400, 403, 406, 407, 410, 412, 414, 415, 418, 424, 425, 427, 428, 437, 439, 440, 442, 443, 446, 451, 453, 455, 457, 460, 461, 462, 463, 464, 466, 467, 468, 469, 471, 473, 477, 478, 479, 480, 482, 484, 485, 486, 487, 491, 495, 496, 497, 498], [253, 254, 255, 258, 259, 262, 264, 265, 266, 267, 273, 275, 276, 277, 278, 279, 280, 281, 282, 283, 286, 288, 289, 292, 295, 296, 297, 299, 300, 302, 305, 306, 307, 308, 310, 311, 312, 315, 316, 317, 324, 326, 328, 330, 331, 333, 335, 336, 338, 341, 342, 343, 344, 346, 349, 350, 351, 356, 357, 360, 363, 365, 366, 367, 368, 369, 370, 372, 374, 379, 381, 383, 384, 391, 394, 395, 398, 404, 406, 407, 409, 410, 412, 413, 414, 415, 416, 417, 418, 419, 420, 431, 433, 434, 435, 436, 438, 439, 441, 442, 444, 447, 448, 449, 450, 453, 454, 455, 461, 462, 463, 464, 467, 468, 471, 472, 476, 480, 481, 487, 490, 493, 496, 497], [251, 253, 256, 258, 259, 262, 263, 264, 265, 267, 273, 274, 280, 282, 283, 284, 285, 288, 289, 290, 291, 292, 296, 298, 300, 303, 305, 308, 311, 312, 314, 317, 320, 322, 323, 325, 326, 327, 330, 337, 340, 341, 342, 343, 346, 347, 348, 351, 353, 354, 356, 357, 359, 362, 363, 364, 365, 367, 369, 374, 377, 378, 379, 380, 385, 386, 389, 390, 395, 397, 401, 402, 403, 405, 409, 411, 412, 414, 416, 420, 424, 425, 426, 428, 429, 431, 432, 436, 437, 439, 444, 445, 446, 447, 450, 452, 455, 456, 457, 460, 462, 464, 465, 466, 468, 469, 470, 473, 475, 476, 477, 480, 481, 483, 485, 486, 488, 489, 491, 492, 495, 496, 499], [250, 253, 254, 255, 256, 257, 259, 261, 264, 265, 266, 271, 272, 273, 274, 277, 278, 279, 280, 285, 287, 297, 298, 300, 301, 303, 305, 306, 311, 312, 313, 315, 316, 319, 323, 324, 325, 326, 327, 328, 331, 334, 336, 337, 339, 340, 342, 344, 345, 347, 349, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 366, 369, 370, 371, 372, 375, 376, 378, 381, 382, 383, 385, 386, 387, 389, 391, 392, 397, 398, 400, 401, 402, 406, 407, 408, 411, 415, 418, 419, 423, 424, 425, 427, 430, 435, 440, 442, 444, 445, 447, 449, 450, 452, 453, 454, 455, 457, 462, 463, 465, 469, 470, 472, 473, 474, 476, 477, 482, 483, 490, 492, 493, 494, 495, 498, 499], [250, 251, 254, 260, 261, 264, 266, 268, 269, 270, 271, 273, 275, 277, 278, 284, 285, 287, 291, 292, 293, 294, 297, 300, 301, 302, 304, 305, 307, 310, 313, 315, 316, 318, 322, 325, 328, 330, 333, 338, 341, 342, 346, 348, 353, 354, 356, 357, 358, 359, 360, 361, 363, 364, 365, 367, 369, 371, 373, 375, 377, 379, 381, 382, 385, 387, 388, 391, 392, 393, 394, 398, 400, 402, 403, 405, 407, 408, 410, 412, 415, 417, 418, 419, 421, 422, 423, 424, 426, 428, 429, 430, 433, 436, 438, 439, 440, 442, 445, 448, 449, 451, 454, 455, 459, 460, 463, 464, 466, 467, 469, 472, 473, 474, 476, 484, 488, 490, 491, 492, 493, 496, 498, 499], [250, 253, 254, 256, 257, 258, 259, 261, 262, 268, 270, 271, 274, 275, 276, 277, 279, 280, 281, 283, 287, 289, 290, 294, 297, 299, 303, 309, 310, 313, 314, 315, 317, 320, 321, 322, 325, 326, 328, 329, 332, 334, 337, 339, 340, 342, 344, 346, 349, 351, 357, 360, 363, 366, 367, 369, 370, 371, 373, 376, 377, 378, 379, 380, 382, 386, 387, 391, 392, 393, 394, 395, 397, 399, 404, 409, 412, 414, 416, 417, 418, 419, 420, 421, 423, 426, 427, 428, 429, 430, 431, 432, 434, 436, 437, 439, 440, 441, 442, 444, 445, 446, 448, 449, 450, 453, 456, 458, 459, 460, 461, 466, 467, 468, 469, 470, 471, 473, 475, 476, 477, 478, 479, 483, 484, 485, 486, 489, 492, 495, 496, 499], [250, 252, 255, 258, 259, 260, 262, 265, 268, 269, 270, 271, 272, 274, 275, 276, 278, 279, 280, 281, 282, 284, 285, 287, 288, 289, 290, 291, 293, 294, 296, 297, 305, 306, 308, 312, 314, 315, 320, 321, 327, 328, 331, 332, 334, 338, 342, 345, 350, 351, 352, 357, 358, 359, 360, 361, 362, 364, 366, 367, 370, 371, 374, 378, 382, 383, 385, 387, 388, 391, 396, 399, 400, 401, 404, 405, 406, 407, 408, 409, 413, 416, 417, 420, 425, 426, 427, 430, 431, 432, 433, 434, 436, 438, 439, 441, 443, 444, 445, 446, 447, 448, 450, 452, 453, 455, 457, 458, 459, 460, 461, 465, 467, 468, 470, 471, 472, 474, 475, 477, 482, 484, 485, 488, 489, 493, 494, 495, 497], [252, 254, 257, 258, 259, 262, 263, 264, 268, 269, 270, 272, 273, 275, 277, 279, 281, 284, 285, 286, 287, 288, 291, 292, 293, 294, 295, 296, 305, 307, 308, 312, 314, 315, 316, 317, 318, 322, 323, 330, 331, 333, 334, 335, 336, 341, 342, 344, 346, 349, 350, 352, 356, 358, 362, 365, 368, 371, 372, 373, 376, 378, 379, 382, 385, 388, 390, 391, 392, 398, 399, 401, 403, 408, 410, 411, 413, 419, 422, 423, 425, 428, 429, 430, 431, 433, 434, 435, 436, 437, 439, 440, 441, 442, 443, 444, 445, 448, 449, 451, 453, 454, 455, 456, 457, 460, 466, 467, 469, 470, 476, 478, 479, 480, 484, 486, 489, 490, 492, 493, 494, 497, 499], [251, 253, 254, 256, 257, 258, 260, 265, 269, 270, 271, 272, 273, 274, 276, 281, 286, 287, 291, 292, 293, 301, 306, 307, 311, 313, 315, 316, 318, 321, 322, 323, 324, 328, 330, 331, 333, 334, 335, 336, 337, 339, 341, 342, 343, 344, 345, 347, 350, 352, 354, 355, 356, 362, 363, 364, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 378, 385, 388, 389, 390, 391, 396, 400, 403, 404, 405, 406, 411, 412, 414, 415, 420, 424, 426, 427, 428, 430, 434, 435, 436, 437, 439, 440, 441, 442, 445, 446, 447, 448, 449, 450, 451, 456, 458, 460, 464, 467, 469, 474, 476, 481, 484, 485, 488, 490, 492, 493, 494, 498], [250, 253, 255, 258, 263, 265, 266, 269, 270, 272, 274, 275, 278, 280, 283, 287, 288, 289, 292, 293, 294, 297, 298, 299, 300, 303, 304, 307, 308, 311, 312, 315, 317, 318, 319, 322, 325, 328, 331, 333, 335, 338, 347, 350, 352, 358, 360, 362, 363, 364, 365, 366, 368, 369, 373, 374, 375, 376, 377, 380, 382, 384, 386, 392, 395, 398, 399, 400, 403, 406, 407, 408, 409, 411, 413, 414, 416, 417, 418, 419, 420, 423, 425, 426, 427, 430, 431, 432, 433, 435, 436, 437, 438, 439, 441, 444, 446, 447, 448, 450, 451, 454, 464, 465, 470, 475, 477, 478, 479, 480, 483, 484, 486, 487, 490, 491, 492, 494, 497, 498], [254, 256, 258, 259, 260, 262, 264, 265, 266, 267, 274, 275, 279, 280, 285, 286, 289, 292, 293, 297, 302, 303, 307, 309, 310, 312, 313, 316, 319, 322, 323, 324, 326, 327, 328, 329, 330, 332, 334, 335, 336, 339, 341, 342, 343, 346, 347, 349, 350, 351, 357, 358, 363, 365, 366, 368, 370, 373, 376, 380, 382, 386, 388, 389, 390, 391, 392, 396, 399, 401, 402, 403, 404, 408, 413, 414, 415, 416, 420, 422, 423, 426, 427, 428, 429, 430, 433, 434, 435, 436, 437, 438, 443, 445, 446, 448, 449, 450, 452, 460, 463, 465, 466, 467, 468, 471, 475, 476, 477, 481, 483, 485, 487, 489, 491, 492, 493, 495, 498], [251, 252, 253, 254, 255, 260, 262, 264, 266, 267, 269, 271, 273, 274, 275, 278, 279, 281, 283, 285, 286, 288, 294, 298, 299, 301, 302, 303, 305, 306, 307, 308, 309, 310, 311, 315, 317, 318, 319, 321, 323, 324, 327, 330, 334, 335, 339, 342, 344, 346, 347, 349, 350, 351, 352, 354, 355, 357, 358, 360, 361, 365, 367, 369, 372, 373, 374, 375, 379, 380, 381, 382, 383, 385, 386, 388, 389, 390, 392, 393, 398, 400, 401, 407, 408, 410, 411, 412, 413, 416, 418, 419, 420, 422, 428, 432, 433, 434, 435, 436, 438, 439, 440, 441, 442, 446, 447, 448, 449, 451, 453, 454, 456, 457, 459, 460, 463, 464, 465, 466, 469, 470, 472, 474, 475, 476, 477, 480, 481, 482, 484, 485, 489, 490, 494, 495, 497], [250, 253, 254, 256, 259, 260, 261, 262, 263, 265, 270, 271, 273, 276, 278, 279, 281, 283, 285, 286, 288, 289, 291, 292, 293, 294, 296, 299, 301, 302, 305, 309, 310, 312, 314, 317, 320, 323, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 339, 340, 342, 345, 347, 348, 350, 351, 352, 354, 355, 357, 358, 359, 363, 365, 367, 369, 370, 373, 377, 380, 383, 387, 388, 390, 392, 393, 394, 395, 396, 398, 400, 403, 404, 405, 406, 407, 408, 409, 410, 412, 413, 414, 415, 416, 419, 421, 423, 424, 428, 431, 433, 434, 438, 440, 442, 443, 444, 445, 447, 448, 449, 450, 451, 452, 453, 454, 456, 457, 459, 460, 461, 463, 464, 466, 469, 470, 472, 474, 475, 477, 478, 481, 482, 483, 485, 486, 489, 491, 492, 496, 498, 499], [250, 255, 257, 259, 260, 261, 262, 266, 269, 270, 272, 273, 277, 279, 281, 282, 285, 286, 287, 288, 289, 290, 295, 296, 297, 298, 300, 302, 307, 308, 310, 311, 313, 317, 318, 321, 326, 329, 330, 331, 333, 336, 337, 338, 339, 343, 345, 347, 348, 350, 351, 353, 357, 358, 359, 360, 365, 366, 367, 368, 370, 372, 373, 375, 378, 382, 383, 384, 388, 390, 391, 392, 393, 394, 395, 396, 400, 403, 404, 405, 406, 408, 410, 411, 413, 414, 416, 417, 419, 420, 422, 423, 424, 425, 426, 427, 429, 430, 431, 432, 437, 438, 440, 441, 442, 445, 450, 455, 456, 457, 458, 462, 463, 466, 467, 468, 473, 474, 475, 476, 479, 480, 482, 484, 485, 486, 487, 489, 490, 492, 493, 499], [250, 251, 252, 255, 257, 258, 259, 266, 268, 269, 272, 274, 275, 277, 279, 281, 282, 283, 285, 287, 288, 289, 290, 291, 293, 295, 297, 298, 299, 303, 305, 306, 307, 309, 312, 313, 315, 317, 322, 323, 324, 326, 328, 329, 330, 331, 332, 333, 334, 335, 338, 339, 343, 346, 347, 348, 353, 356, 358, 362, 365, 369, 373, 374, 377, 378, 379, 384, 385, 387, 389, 390, 392, 394, 395, 396, 397, 399, 401, 402, 403, 407, 409, 410, 412, 414, 415, 418, 419, 422, 423, 427, 428, 429, 430, 433, 435, 438, 440, 441, 442, 444, 446, 447, 449, 452, 454, 456, 458, 459, 461, 467, 470, 473, 474, 475, 476, 480, 482, 487, 488, 489, 491, 493, 494, 498, 499], [250, 253, 254, 255, 256, 257, 258, 259, 261, 263, 266, 268, 269, 271, 273, 274, 275, 276, 277, 278, 279, 280, 285, 286, 287, 290, 291, 294, 296, 299, 300, 304, 306, 308, 311, 312, 314, 317, 318, 321, 323, 325, 328, 330, 331, 333, 337, 344, 347, 349, 350, 351, 352, 353, 356, 358, 360, 361, 362, 364, 365, 366, 368, 369, 373, 375, 377, 378, 381, 383, 385, 390, 391, 393, 397, 399, 405, 409, 411, 413, 421, 422, 425, 426, 428, 429, 430, 432, 433, 434, 435, 437, 438, 441, 442, 443, 445, 449, 452, 456, 457, 459, 460, 461, 462, 464, 466, 467, 468, 469, 471, 473, 475, 478, 479, 480, 481, 482, 483, 486, 487, 488, 491, 492, 493, 496, 497], [250, 252, 253, 254, 256, 257, 258, 260, 262, 263, 265, 270, 271, 273, 274, 275, 277, 278, 279, 280, 281, 282, 284, 285, 286, 287, 290, 291, 293, 294, 295, 299, 300, 301, 305, 306, 307, 308, 309, 310, 311, 315, 316, 317, 318, 321, 322, 325, 326, 327, 336, 338, 339, 342, 343, 344, 346, 347, 348, 349, 352, 354, 355, 356, 358, 360, 361, 362, 364, 365, 366, 367, 368, 370, 371, 375, 376, 377, 379, 388, 390, 392, 393, 395, 398, 399, 400, 402, 406, 407, 408, 409, 410, 414, 417, 419, 420, 423, 424, 425, 428, 429, 431, 432, 434, 438, 443, 444, 445, 446, 447, 448, 449, 451, 452, 455, 457, 458, 461, 462, 464, 468, 469, 471, 472, 473, 474, 475, 479, 482, 483, 484, 487, 488, 489, 491, 493, 495, 496, 499], [250, 256, 257, 258, 261, 263, 265, 266, 267, 268, 270, 273, 277, 278, 280, 281, 284, 285, 290, 292, 293, 294, 296, 297, 298, 299, 302, 304, 305, 306, 307, 309, 310, 311, 315, 316, 317, 319, 321, 322, 327, 328, 329, 334, 335, 337, 338, 339, 343, 344, 347, 348, 350, 351, 352, 355, 356, 359, 368, 369, 374, 375, 377, 379, 382, 384, 386, 388, 389, 390, 391, 392, 396, 397, 401, 402, 403, 404, 405, 407, 409, 410, 413, 416, 417, 422, 429, 430, 433, 434, 436, 437, 439, 443, 444, 447, 448, 453, 454, 455, 457, 458, 459, 461, 466, 467, 468, 469, 470, 473, 477, 481, 482, 483, 484, 490, 494, 495, 496, 497, 498, 499], [250, 251, 252, 254, 256, 257, 260, 262, 263, 265, 268, 270, 271, 273, 274, 278, 279, 281, 282, 285, 286, 288, 289, 290, 292, 293, 299, 300, 301, 302, 303, 306, 307, 309, 310, 311, 312, 313, 314, 315, 319, 320, 321, 325, 326, 329, 330, 332, 334, 339, 341, 343, 346, 352, 353, 354, 355, 357, 360, 362, 364, 368, 369, 375, 382, 383, 388, 389, 390, 391, 392, 394, 395, 396, 397, 398, 402, 403, 405, 409, 410, 413, 416, 419, 420, 421, 422, 425, 426, 428, 431, 432, 433, 435, 438, 440, 441, 442, 444, 451, 452, 454, 455, 457, 460, 469, 470, 471, 472, 477, 480, 483, 486, 490, 491, 494, 495, 496, 497, 498, 499], [250, 251, 255, 257, 258, 259, 262, 263, 265, 266, 267, 271, 276, 280, 282, 286, 287, 289, 292, 293, 294, 295, 297, 298, 301, 302, 303, 304, 305, 308, 313, 318, 319, 321, 322, 324, 325, 326, 328, 330, 333, 334, 335, 336, 337, 341, 342, 344, 345, 347, 349, 350, 351, 354, 356, 359, 360, 362, 363, 364, 365, 368, 372, 376, 378, 387, 390, 393, 394, 397, 399, 400, 404, 405, 407, 408, 416, 417, 418, 420, 421, 423, 425, 426, 429, 430, 431, 432, 433, 434, 438, 441, 443, 444, 445, 448, 449, 450, 451, 453, 454, 455, 458, 459, 461, 467, 468, 469, 470, 471, 474, 475, 476, 477, 478, 480, 481, 483, 484, 490, 494, 496, 497, 499], [253, 254, 255, 256, 257, 258, 259, 261, 262, 263, 265, 267, 272, 276, 277, 278, 280, 282, 283, 290, 292, 296, 298, 302, 303, 304, 305, 306, 307, 308, 309, 310, 312, 314, 315, 316, 317, 318, 322, 323, 324, 325, 327, 329, 333, 335, 338, 346, 347, 348, 349, 350, 352, 354, 355, 358, 359, 362, 364, 366, 367, 368, 369, 370, 372, 376, 379, 383, 384, 385, 386, 387, 390, 393, 395, 397, 399, 401, 404, 405, 407, 409, 410, 412, 417, 419, 420, 422, 424, 425, 426, 427, 430, 431, 432, 433, 442, 443, 446, 449, 450, 451, 452, 453, 457, 458, 462, 464, 468, 469, 470, 471, 472, 473, 474, 476, 479, 481, 482, 483, 484, 486, 488, 490, 492, 493, 494, 495, 496, 497, 499], [250, 251, 254, 255, 256, 258, 259, 260, 262, 263, 264, 265, 266, 272, 273, 274, 276, 277, 279, 282, 285, 288, 289, 292, 294, 297, 300, 301, 302, 307, 308, 314, 315, 320, 322, 325, 326, 328, 329, 331, 335, 336, 337, 338, 339, 340, 347, 348, 349, 350, 352, 353, 354, 355, 359, 360, 363, 366, 367, 368, 370, 371, 373, 374, 375, 377, 382, 384, 385, 386, 387, 389, 392, 399, 402, 403, 406, 408, 410, 412, 414, 415, 419, 420, 422, 423, 426, 428, 429, 431, 437, 438, 440, 443, 445, 446, 447, 450, 453, 456, 459, 460, 461, 462, 463, 465, 466, 468, 471, 472, 475, 476, 478, 479, 482, 484, 485, 488, 489, 491, 492, 493, 494, 495, 496, 497, 499], [251, 252, 253, 254, 255, 256, 259, 260, 261, 265, 267, 268, 269, 274, 275, 279, 281, 282, 283, 286, 287, 290, 291, 292, 294, 295, 296, 299, 302, 304, 305, 307, 308, 311, 312, 313, 315, 316, 319, 322, 323, 324, 325, 327, 328, 329, 332, 333, 335, 336, 337, 338, 340, 343, 346, 347, 349, 350, 351, 354, 355, 357, 360, 363, 365, 368, 369, 371, 372, 373, 374, 377, 379, 381, 383, 385, 387, 391, 392, 393, 395, 401, 403, 406, 407, 408, 409, 412, 413, 416, 420, 422, 423, 425, 427, 428, 430, 431, 432, 433, 434, 436, 437, 440, 441, 442, 444, 448, 449, 450, 454, 455, 456, 457, 458, 459, 462, 463, 465, 468, 472, 473, 481, 482, 486, 487, 488, 489, 491, 492, 494, 495, 497, 498], [250, 253, 255, 258, 260, 261, 263, 266, 267, 268, 269, 271, 272, 273, 274, 275, 276, 278, 279, 284, 288, 294, 295, 298, 303, 304, 309, 310, 312, 315, 317, 321, 322, 324, 326, 331, 333, 335, 336, 338, 339, 341, 343, 344, 346, 347, 348, 349, 350, 351, 354, 355, 356, 358, 362, 363, 364, 367, 369, 370, 371, 372, 374, 377, 379, 380, 381, 383, 386, 387, 395, 396, 397, 398, 401, 402, 404, 407, 408, 411, 413, 415, 418, 419, 425, 429, 431, 432, 436, 440, 441, 444, 446, 448, 453, 455, 458, 459, 463, 464, 466, 467, 468, 469, 472, 476, 478, 480, 482, 483, 485, 495, 497], [251, 252, 253, 255, 256, 257, 260, 262, 263, 270, 272, 273, 274, 276, 277, 282, 287, 288, 289, 294, 296, 297, 298, 301, 302, 303, 304, 306, 310, 311, 312, 314, 316, 317, 321, 322, 323, 325, 326, 332, 334, 335, 336, 341, 342, 344, 345, 346, 347, 348, 349, 350, 352, 353, 354, 356, 361, 365, 367, 369, 370, 371, 375, 383, 384, 391, 394, 395, 399, 400, 401, 403, 405, 408, 409, 411, 412, 414, 415, 416, 419, 420, 423, 424, 428, 429, 430, 431, 432, 433, 434, 435, 437, 439, 441, 443, 446, 448, 452, 453, 456, 457, 458, 459, 460, 462, 464, 467, 469, 472, 475, 477, 482, 483, 489, 490, 492, 493, 496, 498], [252, 254, 256, 257, 258, 259, 260, 262, 264, 265, 270, 272, 273, 274, 276, 277, 279, 280, 281, 283, 286, 287, 288, 289, 291, 292, 293, 295, 296, 297, 298, 299, 304, 306, 308, 309, 310, 311, 312, 314, 316, 318, 319, 320, 322, 327, 329, 330, 331, 332, 333, 334, 335, 338, 340, 341, 344, 345, 347, 348, 349, 350, 353, 354, 357, 358, 361, 362, 370, 372, 374, 375, 379, 382, 386, 390, 392, 394, 395, 396, 397, 398, 400, 401, 404, 411, 415, 416, 419, 425, 426, 427, 430, 431, 432, 435, 437, 438, 439, 445, 446, 450, 451, 452, 453, 454, 456, 457, 458, 459, 462, 463, 465, 470, 471, 473, 474, 475, 477, 478, 479, 480, 481, 482, 483, 484, 485, 489, 492, 494, 499], [252, 255, 257, 264, 265, 266, 267, 269, 270, 271, 272, 273, 274, 276, 277, 279, 281, 284, 286, 287, 289, 296, 298, 299, 304, 305, 308, 309, 310, 311, 312, 313, 315, 318, 320, 321, 323, 324, 325, 328, 329, 330, 331, 332, 333, 334, 336, 337, 338, 339, 340, 341, 343, 346, 347, 350, 351, 357, 362, 363, 364, 366, 372, 373, 375, 376, 377, 379, 381, 382, 383, 386, 387, 390, 391, 392, 393, 394, 396, 397, 398, 399, 400, 402, 404, 410, 411, 413, 415, 416, 419, 421, 422, 424, 425, 429, 431, 435, 436, 437, 438, 439, 440, 442, 445, 447, 448, 450, 452, 453, 454, 455, 456, 457, 459, 460, 463, 467, 470, 472, 473, 478, 479, 481, 486, 487, 488, 489, 491, 492, 493, 494, 495, 496, 497, 499], [250, 251, 254, 255, 256, 257, 258, 260, 264, 265, 266, 267, 271, 273, 278, 279, 281, 283, 284, 286, 290, 291, 292, 294, 297, 300, 302, 303, 305, 306, 307, 309, 310, 313, 314, 315, 316, 319, 321, 322, 323, 328, 330, 335, 336, 337, 338, 340, 341, 342, 346, 350, 354, 356, 359, 364, 365, 367, 368, 369, 372, 374, 376, 379, 380, 383, 388, 389, 391, 393, 396, 398, 399, 402, 405, 407, 410, 411, 412, 414, 415, 416, 419, 420, 421, 422, 423, 425, 426, 427, 432, 435, 437, 438, 440, 442, 443, 447, 448, 450, 455, 456, 458, 460, 461, 464, 466, 467, 468, 469, 471, 473, 477, 478, 482, 483, 484, 485, 488, 490, 492, 493, 494, 495, 496], [251, 254, 256, 257, 258, 260, 261, 262, 263, 264, 266, 267, 268, 269, 273, 274, 275, 282, 283, 284, 286, 287, 290, 292, 294, 295, 298, 302, 305, 306, 308, 309, 312, 314, 315, 317, 321, 322, 323, 324, 329, 330, 331, 333, 338, 341, 343, 347, 349, 352, 360, 361, 362, 363, 364, 365, 366, 372, 373, 374, 375, 376, 382, 383, 384, 385, 386, 387, 388, 390, 393, 394, 396, 397, 398, 399, 400, 401, 402, 406, 407, 412, 414, 416, 419, 420, 421, 423, 424, 425, 431, 434, 437, 438, 441, 448, 449, 452, 455, 459, 460, 468, 470, 471, 473, 475, 476, 478, 479, 482, 484, 485, 487, 488, 489, 490, 493, 496, 497, 499], [252, 253, 254, 255, 259, 260, 262, 265, 267, 270, 271, 272, 275, 279, 280, 281, 282, 283, 286, 287, 290, 291, 293, 305, 306, 307, 309, 310, 313, 315, 319, 320, 323, 324, 325, 326, 327, 330, 333, 334, 336, 338, 341, 342, 346, 347, 350, 355, 358, 359, 363, 365, 368, 369, 370, 372, 373, 375, 376, 377, 379, 380, 383, 385, 391, 392, 393, 394, 396, 398, 400, 401, 402, 404, 405, 409, 410, 411, 412, 413, 414, 415, 418, 421, 423, 424, 428, 430, 434, 437, 441, 442, 444, 445, 447, 450, 451, 452, 453, 454, 456, 461, 463, 466, 467, 468, 469, 471, 473, 477, 478, 480, 483, 485, 487, 489, 490, 492, 493, 496, 497, 499], [250, 251, 255, 256, 259, 260, 266, 269, 273, 276, 282, 289, 290, 291, 292, 294, 295, 296, 298, 299, 300, 302, 303, 306, 310, 313, 315, 316, 318, 320, 322, 324, 328, 330, 331, 332, 336, 337, 345, 348, 352, 357, 359, 361, 364, 365, 367, 370, 377, 378, 379, 382, 385, 388, 389, 391, 394, 395, 396, 397, 399, 402, 404, 405, 412, 413, 415, 418, 419, 420, 424, 425, 427, 433, 435, 438, 440, 442, 444, 447, 449, 450, 451, 454, 455, 456, 457, 458, 459, 461, 462, 463, 465, 468, 469, 471, 474, 475, 476, 477, 479, 480, 482, 484, 487, 488, 493, 494, 495], [254, 255, 256, 258, 259, 264, 265, 268, 269, 270, 272, 274, 276, 278, 279, 281, 282, 284, 285, 287, 289, 290, 292, 293, 295, 296, 297, 298, 300, 301, 304, 305, 314, 319, 320, 323, 327, 329, 332, 335, 336, 337, 343, 344, 349, 350, 351, 352, 353, 354, 359, 360, 362, 363, 364, 366, 369, 370, 371, 374, 375, 376, 378, 379, 380, 381, 386, 390, 391, 393, 394, 397, 399, 400, 401, 402, 403, 404, 405, 406, 408, 410, 411, 412, 414, 416, 420, 421, 424, 430, 434, 435, 436, 439, 440, 441, 442, 443, 445, 447, 448, 449, 450, 453, 455, 459, 460, 461, 462, 463, 465, 466, 469, 470, 476, 478, 480, 485, 489, 490, 492, 493, 496, 497], [252, 253, 256, 257, 262, 267, 278, 280, 282, 283, 284, 289, 291, 292, 295, 296, 297, 298, 300, 301, 304, 305, 306, 309, 312, 315, 319, 320, 323, 324, 325, 326, 327, 329, 333, 336, 337, 338, 340, 341, 342, 344, 345, 348, 349, 350, 355, 357, 358, 360, 361, 362, 363, 366, 367, 368, 370, 371, 377, 378, 380, 381, 383, 385, 387, 391, 393, 394, 398, 400, 401, 404, 407, 409, 411, 413, 414, 418, 419, 420, 421, 424, 427, 429, 432, 433, 434, 435, 436, 437, 441, 442, 444, 445, 447, 449, 450, 452, 453, 456, 458, 459, 460, 461, 462, 463, 465, 467, 470, 472, 473, 478, 479, 482, 483, 484, 486, 487, 492, 493, 497, 498, 499], [253, 255, 256, 259, 262, 263, 264, 266, 268, 269, 270, 274, 276, 277, 281, 283, 284, 289, 290, 291, 293, 294, 296, 297, 298, 299, 301, 304, 306, 308, 310, 313, 315, 318, 321, 322, 323, 325, 326, 330, 331, 333, 334, 336, 339, 340, 341, 347, 348, 352, 353, 355, 356, 357, 358, 360, 362, 365, 366, 368, 371, 372, 373, 376, 380, 381, 382, 384, 387, 393, 398, 399, 401, 405, 412, 413, 415, 416, 420, 422, 424, 425, 426, 439, 440, 441, 443, 444, 446, 447, 448, 450, 451, 452, 458, 459, 461, 462, 463, 466, 468, 470, 475, 476, 478, 479, 480, 483, 491, 492, 493, 495, 497, 499], [250, 251, 252, 254, 255, 258, 259, 263, 266, 267, 268, 270, 272, 273, 277, 278, 279, 280, 282, 283, 285, 286, 288, 289, 290, 291, 292, 293, 296, 297, 298, 299, 301, 303, 305, 306, 307, 308, 309, 310, 311, 312, 314, 315, 316, 317, 321, 323, 326, 327, 328, 329, 330, 335, 338, 339, 340, 345, 348, 350, 353, 354, 355, 356, 357, 359, 362, 364, 366, 367, 370, 372, 374, 376, 377, 378, 379, 383, 386, 387, 389, 391, 392, 393, 394, 395, 402, 404, 405, 406, 407, 408, 409, 413, 415, 416, 417, 418, 420, 423, 426, 427, 428, 429, 431, 434, 439, 444, 447, 452, 454, 457, 459, 461, 464, 465, 466, 469, 471, 475, 476, 479, 480, 482, 485, 486, 487, 491, 499], [250, 251, 252, 258, 259, 263, 265, 266, 272, 273, 274, 276, 277, 278, 281, 284, 286, 287, 288, 290, 293, 296, 297, 298, 300, 301, 303, 304, 305, 308, 309, 310, 311, 312, 313, 315, 316, 319, 321, 322, 324, 325, 329, 330, 332, 333, 335, 336, 337, 338, 339, 342, 346, 349, 354, 357, 360, 361, 362, 363, 364, 367, 368, 375, 382, 383, 384, 385, 389, 390, 392, 393, 394, 396, 400, 404, 405, 406, 408, 409, 413, 419, 422, 423, 424, 427, 431, 433, 439, 440, 443, 450, 452, 453, 454, 458, 460, 461, 462, 463, 464, 467, 469, 477, 479, 480, 482, 484, 485, 489, 490, 491, 493, 494, 495, 496, 497, 499], [253, 254, 255, 257, 259, 261, 263, 266, 268, 269, 272, 273, 278, 280, 282, 284, 287, 289, 292, 293, 295, 299, 300, 304, 305, 306, 308, 311, 312, 313, 314, 315, 317, 318, 320, 321, 322, 323, 331, 336, 339, 341, 347, 350, 352, 353, 354, 355, 361, 362, 364, 366, 367, 368, 369, 371, 373, 374, 376, 377, 379, 380, 381, 382, 385, 386, 387, 388, 392, 393, 396, 397, 398, 399, 401, 402, 403, 405, 407, 408, 410, 416, 417, 418, 420, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 433, 435, 440, 441, 443, 444, 445, 447, 448, 452, 453, 454, 455, 456, 457, 458, 459, 460, 462, 464, 466, 468, 469, 472, 473, 474, 476, 477, 478, 480, 482, 484, 485, 488, 489, 490, 492, 493, 494], [250, 251, 253, 254, 258, 259, 261, 262, 263, 265, 268, 269, 271, 272, 273, 275, 277, 278, 283, 285, 289, 294, 302, 304, 305, 306, 307, 308, 309, 312, 313, 314, 315, 316, 317, 318, 319, 320, 322, 324, 326, 331, 332, 333, 336, 338, 341, 347, 349, 350, 352, 353, 354, 355, 357, 358, 361, 362, 363, 367, 368, 369, 370, 373, 374, 376, 379, 380, 381, 382, 383, 387, 388, 391, 392, 397, 398, 400, 403, 404, 405, 406, 407, 408, 413, 414, 417, 419, 422, 423, 424, 426, 427, 428, 429, 430, 432, 436, 437, 438, 440, 443, 445, 448, 449, 453, 455, 456, 459, 461, 463, 464, 466, 468, 469, 471, 473, 474, 475, 477, 482, 484, 487, 488, 489, 491, 492, 495, 496, 499], [250, 251, 253, 254, 255, 256, 257, 259, 264, 265, 267, 269, 270, 271, 272, 273, 274, 276, 281, 284, 285, 289, 290, 291, 293, 296, 306, 308, 309, 314, 315, 316, 320, 321, 323, 324, 327, 328, 332, 333, 334, 338, 339, 343, 346, 351, 353, 359, 360, 363, 365, 366, 367, 369, 371, 376, 377, 378, 379, 381, 382, 383, 385, 387, 388, 389, 390, 391, 396, 398, 399, 401, 402, 403, 405, 406, 407, 409, 411, 412, 414, 415, 418, 421, 425, 426, 427, 429, 430, 431, 432, 434, 438, 443, 447, 449, 450, 454, 456, 458, 459, 460, 462, 466, 468, 471, 472, 473, 480, 481, 485, 486, 487, 489, 491, 493, 494, 495, 497], [252, 253, 255, 257, 258, 260, 264, 267, 269, 270, 271, 272, 274, 275, 277, 278, 282, 286, 289, 290, 292, 297, 298, 301, 302, 303, 306, 307, 308, 309, 310, 314, 315, 317, 318, 321, 324, 326, 328, 330, 332, 335, 336, 338, 339, 340, 341, 346, 347, 350, 352, 354, 355, 357, 358, 366, 367, 370, 371, 375, 376, 377, 379, 380, 381, 382, 383, 384, 385, 389, 391, 392, 393, 394, 400, 401, 403, 404, 406, 407, 408, 411, 412, 414, 415, 416, 417, 420, 423, 424, 427, 428, 429, 430, 431, 432, 433, 434, 437, 438, 439, 440, 442, 446, 447, 448, 451, 452, 453, 454, 456, 457, 458, 460, 463, 464, 467, 468, 471, 473, 475, 477, 482, 483, 484, 487, 491, 492, 493, 494, 496], [250, 251, 253, 254, 262, 263, 265, 266, 268, 269, 274, 278, 279, 280, 281, 287, 290, 291, 292, 293, 296, 300, 301, 302, 303, 308, 310, 311, 314, 315, 317, 318, 321, 322, 325, 326, 327, 328, 330, 332, 334, 337, 338, 341, 346, 347, 352, 353, 356, 358, 360, 362, 363, 367, 369, 370, 372, 373, 374, 375, 377, 378, 381, 384, 391, 392, 398, 401, 405, 406, 409, 411, 413, 418, 419, 421, 426, 427, 428, 430, 431, 433, 434, 436, 443, 445, 449, 450, 451, 452, 453, 454, 456, 457, 459, 460, 461, 464, 469, 474, 477, 478, 481, 487, 488, 491, 492, 493, 494, 497, 498, 499], [251, 252, 253, 254, 256, 257, 258, 259, 264, 266, 267, 273, 277, 280, 281, 284, 287, 289, 290, 291, 292, 293, 295, 296, 298, 301, 302, 304, 307, 310, 313, 314, 315, 316, 322, 324, 325, 328, 329, 330, 331, 333, 338, 339, 340, 346, 349, 350, 351, 352, 353, 354, 355, 357, 359, 369, 372, 373, 375, 377, 379, 383, 385, 387, 390, 393, 396, 399, 401, 405, 407, 411, 412, 413, 416, 417, 418, 419, 420, 422, 423, 426, 427, 430, 431, 435, 436, 437, 441, 443, 444, 446, 447, 448, 449, 453, 454, 455, 456, 458, 460, 465, 466, 467, 468, 469, 471, 472, 473, 474, 476, 477, 479, 480, 483, 485, 486, 490, 491, 492, 495, 496, 498], [251, 252, 254, 255, 258, 259, 260, 263, 264, 266, 269, 270, 271, 275, 279, 280, 281, 282, 283, 284, 287, 291, 294, 297, 299, 304, 306, 308, 313, 314, 316, 317, 324, 326, 328, 329, 330, 332, 334, 335, 340, 342, 345, 349, 350, 351, 353, 354, 355, 356, 358, 359, 361, 363, 364, 367, 368, 371, 377, 379, 382, 387, 390, 391, 392, 395, 397, 400, 401, 402, 403, 406, 407, 412, 413, 414, 415, 417, 421, 426, 427, 428, 433, 434, 435, 437, 441, 442, 443, 444, 445, 446, 448, 450, 451, 456, 463, 464, 468, 470, 471, 472, 473, 474, 477, 479, 480, 481, 484, 485, 488, 489, 491, 492, 494, 496, 497, 499], [250, 251, 252, 255, 257, 258, 259, 260, 263, 264, 269, 271, 272, 273, 275, 276, 278, 279, 280, 282, 283, 284, 286, 289, 291, 293, 296, 304, 305, 308, 310, 311, 313, 319, 320, 322, 324, 325, 328, 330, 332, 334, 335, 336, 339, 341, 342, 344, 346, 349, 350, 351, 352, 355, 361, 363, 365, 369, 374, 375, 379, 381, 383, 385, 393, 396, 399, 401, 402, 403, 404, 405, 407, 410, 411, 412, 413, 415, 417, 418, 419, 422, 424, 426, 427, 428, 429, 430, 431, 432, 433, 437, 441, 444, 446, 448, 449, 450, 451, 453, 455, 461, 463, 464, 465, 467, 468, 470, 471, 473, 474, 476, 479, 480, 483, 485, 486, 488, 489, 490, 491, 492, 494, 495, 496, 497, 498], [252, 257, 262, 264, 269, 270, 271, 273, 274, 279, 280, 284, 285, 286, 288, 293, 296, 297, 300, 302, 305, 306, 308, 309, 310, 311, 312, 314, 324, 325, 329, 333, 334, 335, 336, 339, 342, 344, 346, 347, 348, 349, 351, 354, 361, 363, 367, 368, 369, 372, 375, 377, 378, 383, 384, 385, 390, 391, 393, 395, 396, 397, 398, 401, 403, 406, 411, 418, 420, 422, 423, 424, 425, 426, 427, 428, 430, 431, 432, 434, 437, 438, 440, 441, 445, 447, 454, 455, 456, 459, 461, 464, 469, 472, 473, 474, 475, 476, 479, 480, 482, 483, 484, 490, 494, 495, 496, 498], [250, 251, 255, 256, 257, 260, 261, 262, 264, 275, 282, 283, 286, 290, 292, 298, 302, 305, 308, 309, 310, 313, 315, 317, 318, 319, 322, 324, 325, 326, 328, 329, 337, 339, 340, 341, 343, 344, 351, 352, 362, 364, 365, 368, 369, 371, 373, 374, 375, 378, 379, 387, 392, 393, 394, 395, 397, 398, 399, 400, 401, 402, 404, 405, 406, 410, 415, 416, 417, 424, 425, 427, 428, 430, 431, 432, 434, 436, 438, 440, 442, 443, 444, 446, 448, 455, 457, 459, 465, 466, 467, 474, 478, 481, 482, 483, 486, 488, 489, 491, 492, 493, 495, 498], [250, 252, 255, 257, 259, 260, 261, 263, 267, 268, 269, 270, 277, 279, 282, 283, 285, 287, 292, 293, 294, 297, 298, 301, 302, 303, 304, 305, 306, 312, 316, 318, 325, 327, 328, 329, 330, 331, 332, 334, 335, 338, 340, 343, 344, 345, 346, 348, 350, 355, 356, 360, 361, 366, 370, 374, 378, 381, 382, 384, 385, 389, 391, 392, 393, 398, 399, 400, 401, 403, 404, 405, 406, 408, 413, 415, 416, 417, 418, 420, 421, 423, 425, 427, 428, 429, 430, 434, 438, 440, 442, 443, 444, 445, 446, 447, 448, 450, 451, 452, 453, 456, 457, 458, 459, 460, 462, 464, 465, 468, 469, 470, 471, 475, 476, 477, 479, 481, 484, 491, 494, 495, 496], [252, 253, 255, 256, 261, 263, 266, 272, 273, 274, 276, 283, 284, 285, 287, 288, 291, 295, 297, 298, 302, 303, 304, 305, 307, 309, 310, 311, 313, 314, 317, 318, 319, 321, 322, 323, 326, 327, 329, 330, 331, 334, 335, 343, 344, 345, 346, 348, 352, 354, 355, 357, 358, 360, 361, 364, 365, 366, 368, 369, 370, 375, 378, 381, 382, 385, 386, 388, 389, 391, 401, 404, 405, 407, 408, 409, 414, 419, 420, 422, 423, 424, 426, 428, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 443, 445, 447, 448, 450, 451, 454, 459, 460, 461, 463, 464, 465, 466, 468, 469, 470, 471, 473, 475, 477, 478, 480, 481, 482, 487, 489, 490, 491, 493, 494, 495, 496, 498], [250, 254, 255, 256, 259, 261, 262, 264, 265, 267, 269, 272, 273, 274, 276, 278, 279, 280, 283, 285, 286, 289, 293, 296, 299, 301, 304, 306, 307, 308, 309, 312, 313, 314, 316, 318, 319, 321, 325, 328, 330, 335, 336, 339, 342, 343, 344, 345, 346, 347, 348, 349, 353, 355, 356, 358, 360, 362, 363, 364, 366, 367, 369, 370, 380, 382, 384, 387, 388, 389, 391, 392, 394, 397, 401, 402, 404, 405, 406, 407, 413, 414, 416, 417, 418, 422, 423, 424, 426, 431, 432, 435, 442, 445, 447, 448, 449, 452, 453, 454, 462, 464, 466, 471, 472, 473, 475, 477, 478, 479, 481, 482, 485, 486, 487, 488, 489, 490, 493, 498, 499], [251, 252, 255, 256, 258, 259, 260, 261, 262, 263, 265, 268, 269, 270, 273, 275, 276, 277, 279, 284, 288, 290, 292, 295, 296, 298, 302, 303, 304, 305, 306, 307, 310, 311, 314, 316, 318, 320, 321, 323, 327, 328, 329, 332, 333, 337, 338, 340, 341, 342, 345, 346, 348, 349, 351, 355, 357, 359, 361, 367, 372, 373, 374, 378, 379, 380, 383, 384, 385, 386, 389, 392, 394, 399, 400, 401, 408, 409, 415, 417, 418, 422, 424, 425, 426, 427, 428, 429, 431, 432, 435, 436, 437, 439, 440, 442, 443, 446, 447, 453, 454, 458, 463, 467, 468, 470, 471, 472, 475, 479, 480, 482, 483, 486, 487, 488, 489, 491, 495, 496, 498], [252, 253, 255, 257, 258, 259, 260, 261, 262, 264, 265, 267, 269, 271, 275, 276, 277, 279, 280, 281, 282, 284, 286, 290, 291, 293, 294, 295, 299, 301, 303, 304, 305, 311, 312, 313, 314, 315, 322, 324, 327, 328, 331, 336, 337, 338, 339, 343, 346, 349, 350, 351, 352, 354, 355, 356, 358, 361, 362, 363, 364, 365, 366, 369, 370, 371, 377, 379, 381, 383, 385, 386, 387, 388, 390, 391, 393, 394, 396, 397, 398, 406, 407, 408, 409, 412, 414, 416, 418, 420, 423, 426, 427, 428, 430, 432, 438, 439, 440, 441, 443, 445, 446, 448, 450, 452, 454, 457, 458, 461, 462, 466, 468, 469, 470, 473, 476, 477, 478, 480, 481, 484, 485, 487, 491, 492, 494, 495, 496, 497, 498], [250, 251, 253, 254, 257, 258, 260, 263, 264, 269, 270, 271, 272, 274, 278, 279, 283, 284, 286, 287, 288, 289, 292, 293, 296, 298, 301, 302, 305, 306, 307, 308, 310, 311, 312, 315, 316, 317, 320, 324, 325, 332, 333, 334, 335, 336, 337, 339, 341, 342, 343, 347, 349, 351, 352, 355, 356, 357, 358, 359, 361, 362, 367, 369, 371, 372, 374, 375, 376, 377, 380, 383, 390, 391, 395, 396, 398, 399, 402, 403, 405, 407, 409, 410, 412, 413, 417, 422, 423, 425, 426, 430, 433, 435, 438, 442, 443, 444, 446, 447, 450, 452, 456, 457, 458, 459, 461, 463, 464, 466, 467, 468, 470, 472, 473, 478, 480, 481, 485, 486, 487, 490, 491, 492, 493, 495, 496, 498], [250, 251, 252, 255, 259, 261, 262, 263, 264, 267, 269, 270, 272, 273, 283, 284, 286, 291, 292, 294, 298, 299, 300, 301, 306, 310, 311, 312, 313, 314, 315, 316, 321, 322, 326, 329, 335, 336, 337, 339, 342, 344, 345, 347, 350, 352, 353, 355, 356, 360, 361, 365, 366, 367, 368, 369, 370, 371, 374, 375, 377, 379, 380, 382, 383, 385, 386, 387, 389, 392, 393, 403, 404, 405, 409, 410, 411, 413, 414, 415, 417, 419, 420, 422, 425, 427, 428, 429, 431, 432, 433, 434, 435, 437, 438, 439, 440, 443, 444, 445, 449, 450, 453, 454, 457, 462, 464, 466, 469, 470, 472, 475, 476, 484, 486, 488, 489, 491, 492, 493, 495, 498], [251, 252, 253, 254, 255, 258, 259, 260, 262, 264, 266, 268, 269, 270, 272, 273, 275, 276, 279, 280, 282, 285, 287, 289, 291, 294, 295, 297, 301, 302, 303, 304, 307, 308, 313, 315, 317, 318, 319, 323, 324, 327, 328, 330, 332, 336, 337, 338, 340, 346, 350, 352, 353, 354, 355, 356, 357, 359, 364, 365, 366, 368, 370, 373, 374, 377, 378, 380, 383, 384, 385, 386, 387, 390, 391, 392, 398, 407, 410, 411, 412, 413, 415, 418, 422, 423, 424, 428, 430, 431, 433, 434, 435, 436, 437, 440, 442, 444, 449, 451, 453, 455, 457, 460, 462, 463, 465, 466, 467, 470, 472, 477, 479, 481, 482, 483, 484, 486, 487, 489, 490, 492, 494, 495, 498], [251, 254, 258, 262, 263, 265, 266, 267, 268, 270, 272, 274, 275, 276, 277, 279, 281, 284, 285, 286, 287, 289, 290, 291, 292, 293, 297, 299, 300, 302, 304, 305, 309, 310, 313, 314, 316, 319, 320, 322, 325, 326, 327, 330, 331, 334, 335, 337, 338, 339, 344, 349, 354, 357, 359, 360, 361, 362, 363, 365, 368, 369, 370, 371, 372, 375, 376, 377, 381, 384, 388, 390, 391, 393, 395, 396, 397, 398, 401, 402, 404, 406, 412, 413, 418, 421, 425, 429, 430, 431, 432, 433, 435, 438, 440, 441, 442, 444, 445, 447, 448, 449, 451, 454, 459, 460, 463, 466, 467, 469, 471, 473, 476, 477, 478, 481, 482, 483, 485, 486, 487, 488, 494, 495, 496, 498], [259, 260, 265, 266, 268, 269, 270, 273, 274, 275, 277, 278, 280, 281, 282, 285, 286, 287, 292, 293, 294, 296, 297, 300, 303, 306, 307, 310, 311, 314, 318, 319, 321, 322, 323, 324, 325, 329, 330, 332, 335, 337, 340, 342, 343, 344, 346, 349, 352, 355, 356, 358, 359, 361, 362, 363, 365, 369, 370, 371, 373, 376, 377, 380, 381, 384, 386, 387, 388, 390, 392, 394, 395, 396, 397, 400, 403, 406, 409, 410, 411, 412, 413, 415, 416, 418, 419, 420, 422, 423, 424, 425, 427, 429, 431, 432, 433, 435, 438, 442, 443, 444, 450, 453, 456, 458, 461, 466, 467, 468, 469, 470, 474, 486, 487, 492, 493, 499], [250, 251, 252, 253, 259, 262, 267, 269, 273, 278, 279, 281, 283, 287, 288, 292, 293, 298, 305, 307, 308, 311, 315, 316, 318, 320, 322, 323, 326, 327, 330, 332, 334, 336, 340, 342, 343, 344, 345, 348, 350, 357, 358, 359, 360, 361, 366, 367, 369, 370, 371, 372, 375, 377, 378, 380, 381, 384, 385, 387, 388, 389, 390, 391, 394, 396, 398, 401, 402, 403, 404, 405, 406, 410, 413, 414, 416, 419, 421, 427, 430, 431, 433, 435, 436, 438, 439, 441, 442, 444, 449, 450, 452, 456, 458, 459, 462, 464, 465, 467, 470, 472, 473, 474, 481, 482, 483, 484, 486, 487, 489, 491, 495, 496, 497], [251, 252, 253, 254, 255, 257, 258, 259, 260, 261, 264, 267, 271, 272, 273, 275, 277, 279, 281, 282, 283, 286, 291, 295, 300, 301, 303, 304, 307, 309, 311, 314, 315, 316, 318, 319, 322, 323, 325, 328, 333, 334, 335, 336, 337, 338, 341, 343, 345, 351, 353, 354, 361, 362, 366, 369, 370, 371, 372, 374, 376, 380, 381, 383, 384, 385, 386, 387, 389, 390, 392, 393, 394, 396, 397, 398, 400, 405, 406, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 420, 421, 422, 423, 424, 425, 429, 431, 433, 436, 439, 441, 442, 443, 445, 451, 452, 453, 454, 458, 460, 462, 463, 466, 467, 468, 469, 473, 474, 476, 477, 480, 481, 482, 483, 485, 487, 488, 489, 490, 491, 492, 493, 494, 496, 498, 499], [252, 253, 256, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 270, 271, 274, 275, 277, 278, 280, 283, 284, 285, 289, 290, 292, 293, 294, 295, 296, 299, 300, 304, 305, 307, 309, 311, 312, 313, 314, 315, 317, 319, 320, 321, 324, 329, 333, 334, 337, 338, 339, 340, 341, 345, 346, 348, 349, 353, 354, 357, 358, 360, 361, 363, 366, 371, 373, 374, 378, 379, 380, 383, 385, 387, 391, 393, 396, 397, 398, 399, 400, 402, 403, 404, 405, 406, 407, 408, 410, 411, 412, 415, 421, 425, 429, 430, 431, 432, 435, 436, 441, 443, 444, 445, 446, 447, 448, 449, 450, 452, 453, 455, 456, 458, 459, 460, 465, 466, 467, 469, 470, 472, 474, 477, 478, 479, 480, 482, 484, 485, 486, 487, 490, 491, 492, 495, 496, 499], [250, 251, 252, 253, 254, 255, 257, 258, 259, 260, 261, 262, 265, 266, 268, 269, 270, 274, 278, 279, 280, 281, 283, 284, 285, 290, 291, 293, 299, 300, 303, 308, 309, 310, 311, 313, 314, 315, 316, 318, 319, 321, 322, 323, 324, 326, 330, 332, 333, 334, 342, 343, 344, 345, 347, 348, 350, 352, 353, 354, 355, 356, 358, 359, 360, 364, 365, 366, 370, 374, 375, 376, 377, 378, 381, 382, 384, 385, 388, 390, 393, 398, 399, 400, 401, 402, 404, 405, 407, 408, 409, 411, 412, 413, 418, 420, 421, 422, 424, 426, 427, 428, 430, 431, 433, 436, 437, 438, 441, 444, 447, 451, 453, 455, 456, 457, 459, 461, 464, 465, 468, 470, 471, 472, 473, 474, 476, 482, 485, 486, 487, 488, 489, 492, 493, 497, 498], [250, 253, 255, 256, 257, 258, 259, 260, 261, 262, 264, 265, 269, 270, 272, 274, 276, 277, 278, 279, 283, 284, 289, 290, 292, 294, 295, 297, 306, 307, 309, 311, 312, 314, 315, 316, 317, 318, 319, 320, 322, 323, 324, 327, 329, 331, 333, 335, 336, 339, 342, 344, 348, 352, 354, 356, 358, 359, 361, 365, 366, 367, 368, 369, 371, 372, 374, 376, 377, 378, 382, 383, 384, 385, 387, 388, 390, 391, 394, 395, 397, 400, 403, 408, 414, 415, 416, 417, 418, 419, 423, 424, 425, 426, 427, 428, 431, 433, 435, 436, 438, 440, 441, 443, 444, 445, 446, 447, 448, 449, 450, 451, 453, 454, 455, 456, 457, 459, 460, 463, 464, 465, 466, 468, 469, 470, 471, 472, 474, 475, 478, 479, 480, 481, 482, 484, 487, 489, 491, 492, 494], [250, 252, 254, 259, 260, 264, 265, 266, 267, 268, 269, 270, 273, 274, 275, 276, 277, 278, 279, 282, 283, 286, 287, 288, 289, 290, 291, 292, 293, 295, 296, 301, 303, 304, 305, 306, 307, 308, 310, 315, 317, 319, 322, 324, 331, 332, 335, 336, 337, 340, 341, 342, 345, 346, 347, 349, 351, 353, 357, 358, 359, 360, 361, 362, 363, 365, 366, 367, 371, 373, 374, 376, 377, 380, 383, 386, 387, 388, 392, 393, 396, 398, 399, 400, 402, 403, 408, 409, 412, 416, 417, 420, 421, 422, 424, 427, 430, 432, 433, 437, 440, 446, 451, 452, 453, 454, 455, 456, 457, 460, 461, 462, 465, 467, 468, 469, 470, 472, 474, 478, 479, 482, 483, 484, 485, 488, 490, 494, 496, 497, 499], [250, 252, 253, 256, 258, 259, 262, 264, 265, 268, 269, 270, 271, 272, 275, 277, 280, 283, 286, 287, 288, 289, 290, 293, 294, 302, 303, 304, 305, 307, 308, 309, 312, 314, 316, 317, 318, 321, 323, 325, 326, 328, 333, 337, 338, 339, 340, 342, 343, 345, 348, 351, 352, 356, 360, 362, 366, 367, 369, 371, 372, 375, 377, 378, 379, 380, 383, 384, 385, 386, 387, 389, 391, 392, 393, 394, 398, 399, 400, 401, 402, 403, 404, 406, 407, 409, 411, 412, 414, 421, 424, 426, 427, 428, 430, 433, 435, 446, 448, 450, 451, 453, 457, 459, 460, 461, 462, 463, 466, 467, 470, 471, 474, 475, 477, 478, 479, 482, 483, 485, 486, 488, 489, 492, 493, 495, 499], [252, 254, 259, 266, 270, 271, 274, 277, 278, 281, 282, 283, 284, 286, 291, 293, 294, 295, 296, 297, 298, 299, 302, 303, 304, 305, 311, 312, 313, 314, 317, 318, 320, 322, 323, 325, 327, 334, 335, 336, 337, 340, 341, 343, 346, 350, 351, 352, 355, 359, 361, 362, 363, 364, 369, 370, 371, 375, 376, 377, 380, 384, 386, 390, 391, 394, 396, 399, 402, 403, 407, 409, 412, 413, 414, 416, 424, 427, 429, 431, 433, 435, 437, 438, 441, 444, 446, 447, 448, 449, 455, 457, 460, 467, 468, 470, 471, 474, 475, 482, 483, 485, 487, 488, 493, 494, 495], [251, 252, 254, 258, 261, 263, 264, 265, 266, 268, 271, 272, 275, 276, 279, 281, 282, 283, 284, 285, 286, 287, 290, 291, 293, 296, 297, 298, 299, 301, 303, 304, 308, 309, 310, 311, 312, 314, 315, 316, 317, 319, 320, 321, 325, 326, 327, 330, 331, 332, 333, 335, 336, 337, 338, 340, 343, 345, 346, 349, 350, 351, 352, 353, 354, 355, 358, 359, 360, 361, 367, 369, 370, 374, 375, 378, 380, 381, 384, 387, 388, 389, 391, 395, 399, 403, 405, 406, 407, 409, 411, 413, 416, 419, 420, 421, 424, 425, 427, 432, 433, 434, 435, 437, 446, 448, 449, 451, 453, 454, 456, 457, 458, 459, 460, 461, 465, 467, 468, 474, 475, 477, 478, 480, 484, 485, 486, 489, 490, 492, 493, 495, 497, 498], [251, 255, 257, 258, 259, 260, 261, 262, 263, 265, 266, 267, 268, 274, 276, 280, 281, 283, 284, 286, 288, 290, 292, 295, 296, 298, 305, 306, 307, 309, 311, 312, 313, 314, 315, 316, 320, 322, 327, 329, 332, 338, 341, 346, 347, 349, 350, 351, 355, 357, 358, 360, 362, 366, 367, 369, 373, 375, 379, 381, 382, 383, 384, 385, 386, 387, 388, 390, 391, 392, 396, 397, 401, 403, 404, 406, 407, 410, 416, 417, 418, 420, 424, 431, 433, 434, 436, 438, 440, 442, 444, 445, 446, 447, 448, 451, 452, 453, 460, 462, 464, 467, 470, 471, 473, 474, 475, 477, 478, 479, 489, 490], [251, 252, 253, 254, 258, 259, 260, 264, 266, 268, 271, 275, 276, 278, 281, 282, 287, 291, 292, 294, 295, 297, 300, 302, 305, 306, 308, 311, 314, 315, 316, 317, 318, 319, 320, 322, 327, 328, 329, 331, 332, 333, 338, 340, 342, 343, 344, 345, 349, 350, 351, 353, 354, 355, 356, 358, 362, 363, 364, 367, 368, 371, 372, 375, 376, 377, 378, 380, 381, 382, 388, 391, 392, 393, 394, 395, 400, 401, 405, 406, 408, 410, 411, 413, 415, 417, 418, 420, 421, 424, 427, 429, 432, 433, 435, 437, 439, 441, 442, 443, 449, 450, 454, 456, 458, 459, 460, 461, 462, 464, 465, 466, 468, 472, 476, 477, 478, 479, 481, 485, 488, 490, 493, 495, 497], [251, 252, 263, 266, 269, 271, 273, 274, 277, 280, 282, 283, 284, 286, 288, 289, 292, 294, 296, 297, 298, 300, 302, 305, 307, 310, 312, 316, 318, 319, 320, 322, 330, 331, 332, 336, 337, 339, 340, 341, 342, 347, 348, 353, 354, 356, 357, 358, 365, 366, 368, 369, 371, 373, 374, 376, 377, 378, 382, 383, 385, 386, 389, 390, 391, 392, 393, 394, 395, 396, 397, 400, 402, 403, 404, 405, 407, 409, 410, 411, 412, 413, 414, 417, 421, 423, 424, 429, 430, 431, 433, 437, 439, 440, 441, 445, 447, 449, 452, 459, 460, 462, 465, 466, 467, 468, 472, 476, 477, 479, 480, 482, 483, 484, 485, 489, 490, 491, 493, 494, 496, 497, 498], [250, 252, 253, 254, 255, 260, 264, 267, 268, 269, 271, 274, 280, 282, 285, 286, 287, 288, 289, 290, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 309, 310, 311, 312, 313, 315, 316, 317, 319, 324, 325, 328, 331, 332, 334, 335, 336, 340, 342, 347, 348, 350, 351, 352, 353, 357, 358, 361, 368, 369, 370, 372, 373, 376, 378, 379, 381, 383, 386, 387, 388, 389, 390, 393, 394, 396, 398, 400, 401, 402, 405, 407, 409, 412, 413, 414, 415, 416, 417, 420, 422, 423, 425, 426, 427, 433, 434, 436, 440, 441, 442, 444, 445, 449, 450, 451, 455, 457, 458, 459, 461, 466, 470, 472, 473, 478, 480, 482, 483, 484, 486, 493, 494, 495, 496, 498], [252, 254, 255, 256, 258, 260, 261, 262, 266, 267, 269, 271, 274, 275, 276, 277, 280, 284, 287, 289, 291, 292, 293, 294, 296, 298, 300, 307, 309, 310, 312, 313, 315, 319, 322, 323, 325, 331, 332, 336, 338, 342, 343, 346, 348, 349, 350, 352, 353, 355, 357, 363, 364, 366, 367, 368, 369, 371, 373, 374, 375, 377, 381, 386, 387, 395, 397, 398, 400, 402, 404, 408, 409, 410, 411, 412, 416, 417, 419, 421, 423, 426, 427, 429, 430, 431, 432, 434, 436, 437, 439, 443, 445, 446, 449, 451, 452, 453, 455, 456, 458, 460, 462, 463, 464, 466, 467, 468, 469, 473, 477, 484, 485, 486, 487, 488, 489, 493, 494, 495, 497, 498, 499], [250, 252, 253, 256, 257, 258, 259, 260, 261, 264, 265, 266, 267, 268, 269, 275, 279, 280, 282, 283, 286, 287, 288, 289, 291, 292, 298, 302, 303, 305, 307, 308, 310, 311, 312, 313, 314, 315, 317, 318, 320, 321, 322, 323, 325, 326, 327, 329, 335, 336, 337, 338, 339, 341, 351, 353, 355, 364, 367, 369, 371, 373, 381, 384, 386, 387, 389, 392, 394, 395, 396, 398, 399, 400, 405, 406, 407, 411, 412, 416, 418, 419, 420, 426, 428, 431, 432, 433, 434, 435, 436, 437, 439, 441, 442, 443, 444, 445, 447, 448, 449, 451, 453, 454, 455, 456, 459, 460, 462, 464, 465, 466, 469, 471, 472, 473, 474, 478, 479, 483, 485, 486, 489, 492, 495, 496, 498, 499], [250, 251, 253, 256, 257, 261, 262, 265, 267, 268, 270, 271, 272, 274, 279, 280, 281, 283, 284, 286, 291, 296, 303, 306, 311, 313, 314, 315, 317, 318, 319, 322, 324, 325, 327, 328, 330, 335, 337, 343, 344, 345, 346, 348, 352, 353, 354, 355, 356, 358, 359, 360, 361, 362, 364, 365, 366, 367, 368, 370, 371, 373, 375, 379, 383, 390, 391, 392, 395, 397, 399, 400, 401, 404, 405, 406, 408, 409, 411, 412, 413, 415, 417, 421, 423, 425, 426, 427, 428, 429, 430, 433, 434, 435, 437, 438, 441, 442, 443, 444, 447, 450, 453, 454, 455, 456, 459, 461, 462, 464, 466, 468, 469, 471, 472, 473, 474, 477, 478, 480, 484, 486, 488, 489, 490, 491, 493, 494, 497, 498, 499], [250, 252, 253, 254, 257, 259, 262, 266, 267, 268, 270, 273, 274, 279, 282, 284, 285, 287, 288, 290, 291, 295, 297, 298, 299, 303, 304, 306, 308, 309, 310, 311, 312, 313, 316, 318, 319, 320, 321, 327, 330, 331, 332, 333, 337, 338, 339, 340, 345, 346, 347, 348, 349, 351, 354, 355, 357, 359, 364, 367, 369, 370, 374, 376, 378, 379, 386, 389, 390, 394, 395, 400, 401, 402, 403, 406, 407, 409, 414, 415, 416, 418, 419, 420, 422, 428, 433, 435, 436, 437, 439, 440, 442, 443, 444, 446, 448, 449, 450, 451, 454, 456, 458, 460, 461, 462, 464, 469, 471, 472, 473, 476, 477, 478, 481, 485, 486, 488, 493, 494, 495, 496], [251, 252, 253, 255, 263, 269, 272, 273, 276, 277, 278, 281, 283, 284, 287, 288, 293, 294, 297, 298, 300, 303, 304, 305, 311, 313, 315, 316, 317, 318, 323, 328, 332, 333, 334, 337, 338, 342, 343, 344, 345, 348, 353, 355, 357, 358, 359, 360, 363, 364, 368, 370, 371, 377, 378, 379, 382, 383, 386, 387, 389, 390, 395, 397, 399, 400, 401, 402, 403, 404, 405, 407, 408, 413, 419, 420, 421, 422, 424, 425, 427, 428, 430, 431, 432, 433, 434, 436, 439, 441, 442, 445, 446, 448, 449, 450, 451, 452, 457, 458, 459, 462, 463, 466, 468, 469, 473, 477, 479, 480, 482, 484, 486, 488, 494, 495, 497, 499], [251, 254, 255, 257, 258, 262, 264, 265, 266, 268, 270, 276, 278, 281, 282, 285, 286, 287, 288, 290, 291, 292, 293, 294, 296, 298, 302, 304, 306, 308, 309, 310, 312, 313, 314, 316, 318, 319, 320, 322, 324, 326, 328, 330, 331, 332, 334, 335, 336, 337, 340, 341, 343, 344, 352, 353, 354, 355, 356, 357, 359, 360, 363, 366, 370, 372, 373, 374, 380, 381, 383, 384, 386, 390, 391, 394, 395, 396, 397, 399, 400, 401, 407, 409, 410, 411, 413, 414, 420, 423, 424, 425, 426, 432, 435, 438, 439, 440, 441, 442, 443, 444, 445, 448, 449, 450, 452, 453, 456, 457, 458, 464, 467, 468, 469, 471, 475, 476, 477, 478, 479, 482, 485, 487, 488, 490, 491, 494, 495, 496], [250, 251, 255, 257, 260, 264, 267, 269, 273, 275, 276, 283, 285, 286, 287, 288, 289, 290, 291, 293, 295, 297, 299, 302, 309, 310, 315, 318, 320, 321, 324, 325, 327, 328, 332, 333, 337, 338, 339, 341, 344, 347, 348, 349, 351, 355, 356, 358, 360, 361, 362, 363, 364, 365, 371, 372, 373, 379, 380, 384, 386, 389, 390, 391, 396, 399, 400, 401, 402, 403, 404, 406, 407, 408, 410, 412, 414, 415, 417, 419, 421, 424, 426, 427, 430, 431, 432, 433, 434, 436, 438, 439, 440, 441, 442, 444, 446, 447, 449, 450, 452, 453, 454, 456, 459, 460, 461, 464, 465, 469, 472, 473, 474, 475, 476, 478, 479, 481, 483, 484, 485, 488, 489, 490, 495, 499], [250, 251, 252, 254, 257, 259, 261, 264, 266, 268, 270, 271, 272, 274, 275, 278, 283, 286, 289, 292, 294, 297, 298, 299, 300, 303, 305, 308, 309, 313, 316, 317, 318, 320, 321, 322, 324, 325, 327, 331, 333, 336, 337, 339, 341, 344, 345, 347, 349, 350, 351, 352, 353, 355, 360, 361, 363, 368, 371, 372, 376, 377, 378, 380, 383, 385, 387, 389, 390, 391, 392, 393, 397, 398, 399, 401, 402, 404, 410, 412, 414, 417, 418, 420, 421, 423, 424, 425, 429, 430, 438, 439, 440, 443, 444, 445, 446, 449, 450, 451, 452, 453, 454, 455, 456, 458, 460, 461, 462, 463, 466, 467, 468, 472, 473, 478, 481, 484, 485, 486, 487, 491, 498], [250, 251, 252, 253, 254, 256, 258, 263, 264, 266, 267, 269, 270, 272, 273, 277, 286, 287, 289, 290, 299, 300, 301, 303, 306, 308, 309, 310, 314, 315, 316, 317, 319, 322, 323, 330, 332, 334, 336, 337, 338, 342, 343, 345, 351, 352, 353, 354, 357, 359, 362, 363, 365, 366, 367, 369, 371, 373, 375, 377, 379, 380, 382, 385, 386, 388, 389, 390, 391, 393, 395, 396, 397, 400, 401, 403, 405, 407, 410, 412, 413, 418, 420, 423, 425, 429, 430, 432, 433, 434, 435, 441, 442, 443, 448, 449, 450, 451, 452, 456, 457, 460, 461, 463, 465, 468, 475, 476, 482, 483, 487, 489, 490, 491, 492, 494, 495, 496], [250, 252, 253, 254, 255, 256, 261, 263, 265, 266, 268, 270, 271, 272, 275, 280, 283, 286, 288, 290, 291, 292, 293, 300, 301, 302, 303, 305, 309, 310, 311, 317, 319, 320, 324, 325, 327, 328, 330, 332, 333, 337, 342, 344, 347, 350, 351, 354, 356, 358, 360, 361, 362, 363, 364, 368, 370, 371, 375, 379, 382, 385, 388, 395, 403, 405, 406, 407, 408, 410, 412, 413, 414, 415, 417, 418, 420, 421, 422, 425, 427, 432, 435, 437, 439, 442, 446, 448, 450, 451, 452, 453, 457, 458, 459, 461, 464, 465, 466, 467, 468, 473, 475, 476, 477, 478, 480, 482, 483, 484, 487, 488, 494, 495, 496], [250, 252, 253, 254, 255, 257, 261, 262, 263, 264, 265, 267, 268, 269, 270, 280, 281, 282, 284, 287, 288, 289, 290, 291, 292, 293, 294, 297, 298, 301, 302, 303, 304, 306, 309, 314, 315, 317, 320, 321, 323, 324, 326, 327, 328, 330, 331, 335, 337, 338, 340, 341, 342, 343, 344, 346, 347, 348, 350, 353, 354, 358, 359, 360, 362, 366, 368, 371, 372, 373, 374, 376, 377, 378, 379, 381, 382, 384, 391, 393, 395, 400, 402, 403, 407, 409, 410, 413, 414, 416, 417, 418, 420, 421, 423, 424, 426, 429, 430, 432, 433, 434, 436, 437, 439, 440, 445, 446, 447, 448, 449, 450, 451, 452, 455, 456, 457, 459, 461, 465, 466, 467, 471, 472, 474, 478, 482, 483, 487, 488, 490, 494, 496, 499], [251, 252, 255, 257, 259, 261, 267, 268, 269, 270, 276, 277, 278, 279, 283, 284, 286, 288, 289, 291, 297, 299, 301, 305, 308, 310, 312, 313, 317, 318, 319, 320, 321, 323, 326, 330, 334, 335, 336, 338, 339, 342, 343, 345, 346, 347, 348, 350, 351, 352, 359, 364, 369, 370, 376, 378, 379, 380, 383, 384, 385, 386, 388, 390, 392, 393, 399, 401, 404, 406, 407, 408, 412, 414, 417, 418, 422, 425, 426, 427, 433, 435, 437, 440, 441, 442, 444, 447, 449, 450, 452, 453, 455, 456, 459, 460, 464, 466, 470, 471, 472, 474, 475, 477, 478, 482, 483, 485, 486, 487, 490, 491, 492, 493, 495, 496, 498], [251, 252, 253, 254, 257, 259, 262, 264, 268, 270, 271, 276, 277, 278, 279, 283, 285, 286, 287, 288, 289, 292, 293, 295, 296, 297, 302, 305, 307, 310, 311, 312, 314, 315, 322, 325, 330, 332, 333, 334, 336, 337, 338, 341, 342, 345, 346, 347, 349, 350, 351, 355, 356, 358, 364, 365, 367, 369, 371, 372, 373, 374, 376, 377, 378, 379, 382, 385, 386, 389, 390, 392, 393, 395, 396, 398, 405, 408, 409, 410, 411, 413, 414, 416, 418, 419, 420, 421, 422, 423, 426, 427, 434, 437, 440, 443, 446, 447, 448, 453, 456, 457, 458, 460, 464, 465, 467, 471, 472, 473, 476, 477, 479, 482, 483, 486, 491, 493, 494, 495, 496, 497, 498], [256, 261, 262, 263, 264, 265, 266, 269, 270, 272, 273, 275, 276, 277, 279, 280, 281, 282, 288, 289, 291, 293, 294, 296, 297, 298, 299, 301, 302, 303, 304, 305, 306, 308, 310, 311, 313, 314, 315, 317, 322, 325, 327, 330, 335, 337, 342, 343, 344, 345, 346, 347, 348, 353, 354, 355, 359, 361, 362, 363, 364, 365, 366, 368, 371, 372, 373, 374, 375, 377, 382, 383, 385, 393, 394, 396, 399, 402, 403, 407, 409, 415, 420, 422, 423, 425, 429, 431, 433, 435, 438, 439, 440, 441, 442, 445, 446, 449, 450, 453, 455, 458, 463, 464, 469, 470, 474, 477, 479, 480, 481, 485, 486, 487, 488, 489, 496, 497], [250, 253, 254, 255, 257, 258, 259, 260, 261, 263, 264, 267, 270, 272, 274, 278, 280, 281, 283, 284, 285, 289, 290, 295, 298, 300, 301, 306, 309, 312, 313, 314, 318, 321, 322, 323, 325, 327, 329, 330, 332, 333, 334, 337, 338, 341, 342, 343, 344, 345, 352, 353, 354, 356, 357, 359, 361, 362, 365, 366, 367, 368, 370, 372, 375, 377, 380, 382, 383, 385, 386, 387, 388, 389, 391, 392, 393, 394, 398, 399, 401, 402, 403, 404, 405, 406, 407, 408, 409, 414, 416, 417, 420, 421, 423, 425, 427, 429, 435, 436, 440, 442, 453, 454, 455, 457, 459, 460, 463, 464, 465, 466, 470, 471, 473, 475, 484, 486, 488, 489, 490, 491, 499], [250, 251, 255, 261, 262, 265, 268, 270, 274, 276, 278, 279, 280, 282, 283, 284, 286, 287, 289, 290, 294, 295, 301, 302, 303, 304, 306, 307, 310, 311, 312, 313, 314, 315, 317, 319, 320, 322, 324, 325, 326, 331, 332, 333, 337, 338, 340, 341, 342, 343, 344, 345, 346, 348, 350, 352, 353, 354, 355, 365, 366, 367, 372, 373, 375, 377, 379, 380, 382, 385, 386, 387, 388, 392, 393, 395, 397, 400, 402, 405, 407, 408, 411, 412, 413, 420, 422, 423, 425, 426, 430, 432, 433, 434, 435, 437, 438, 445, 446, 447, 448, 450, 451, 452, 455, 457, 459, 460, 463, 467, 468, 469, 470, 471, 473, 474, 477, 482, 483, 486, 489, 490, 491, 492, 493, 494, 496, 497], [250, 251, 256, 257, 258, 259, 261, 263, 266, 267, 270, 273, 274, 276, 278, 279, 280, 283, 285, 286, 287, 290, 293, 297, 300, 303, 305, 307, 308, 309, 312, 314, 315, 316, 318, 320, 321, 323, 330, 333, 335, 339, 340, 341, 343, 347, 348, 351, 352, 355, 356, 359, 360, 361, 363, 365, 366, 367, 368, 370, 372, 375, 376, 378, 380, 381, 384, 385, 387, 390, 391, 392, 393, 394, 397, 398, 399, 400, 401, 403, 404, 407, 408, 409, 412, 413, 415, 416, 418, 419, 420, 423, 425, 427, 428, 430, 432, 434, 437, 440, 442, 443, 445, 448, 450, 451, 452, 453, 454, 455, 459, 460, 461, 462, 463, 465, 467, 475, 478, 481, 482, 484, 487, 488, 490, 491, 492, 494, 496, 499], [251, 252, 253, 256, 259, 261, 262, 264, 266, 268, 270, 271, 272, 273, 274, 275, 276, 278, 279, 282, 283, 289, 291, 292, 294, 295, 302, 304, 305, 306, 308, 315, 316, 318, 320, 321, 322, 323, 325, 326, 329, 330, 335, 336, 337, 338, 341, 344, 351, 352, 354, 355, 356, 360, 361, 363, 364, 365, 366, 367, 368, 371, 372, 373, 374, 375, 376, 379, 380, 382, 383, 384, 385, 391, 392, 393, 394, 396, 402, 404, 405, 407, 408, 409, 412, 414, 415, 416, 420, 422, 426, 427, 428, 432, 434, 436, 438, 439, 441, 446, 453, 454, 455, 457, 460, 462, 464, 465, 466, 469, 471, 472, 473, 475, 476, 477, 478, 479, 480, 481, 483, 484, 485, 491, 493, 495, 497], [250, 251, 253, 254, 256, 258, 259, 260, 264, 265, 267, 268, 270, 272, 274, 277, 278, 280, 281, 283, 285, 286, 289, 291, 292, 293, 295, 297, 298, 302, 304, 305, 309, 310, 311, 313, 314, 315, 316, 320, 321, 322, 323, 324, 325, 326, 328, 331, 340, 341, 345, 347, 349, 350, 352, 356, 357, 358, 359, 361, 365, 366, 367, 368, 369, 370, 371, 372, 374, 375, 378, 379, 383, 384, 386, 387, 390, 391, 393, 395, 397, 399, 401, 403, 404, 407, 410, 411, 413, 414, 417, 419, 420, 425, 426, 427, 428, 429, 430, 433, 435, 436, 437, 439, 442, 444, 445, 449, 451, 452, 453, 454, 457, 459, 461, 462, 463, 465, 466, 467, 469, 470, 471, 475, 477, 478, 484, 485, 490, 494, 495, 499], [250, 251, 252, 253, 254, 256, 257, 262, 263, 266, 269, 270, 271, 272, 273, 274, 280, 283, 285, 289, 290, 292, 293, 295, 296, 297, 298, 299, 303, 304, 305, 306, 309, 310, 315, 318, 321, 322, 324, 327, 332, 336, 337, 343, 345, 346, 347, 349, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 373, 374, 375, 377, 378, 383, 384, 386, 387, 388, 390, 391, 392, 393, 395, 397, 398, 400, 404, 405, 406, 410, 413, 414, 416, 418, 421, 423, 424, 425, 426, 429, 431, 435, 436, 437, 438, 441, 443, 445, 446, 448, 450, 451, 454, 459, 462, 463, 467, 468, 479, 482, 484, 485, 486, 488, 489, 491, 492, 493, 497, 498], [252, 253, 256, 257, 259, 261, 263, 264, 265, 267, 268, 269, 272, 274, 287, 290, 291, 292, 293, 295, 296, 299, 300, 304, 305, 307, 308, 313, 315, 317, 321, 322, 324, 325, 326, 327, 328, 330, 331, 342, 343, 344, 345, 346, 349, 350, 351, 352, 355, 356, 359, 360, 361, 366, 368, 369, 371, 372, 373, 376, 378, 383, 385, 386, 388, 389, 394, 395, 396, 398, 399, 400, 402, 403, 404, 406, 408, 415, 416, 418, 421, 423, 424, 425, 427, 428, 430, 431, 432, 434, 435, 436, 437, 438, 439, 440, 441, 444, 446, 447, 448, 449, 450, 452, 453, 454, 457, 458, 459, 461, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 474, 475, 477, 480, 481, 482, 483, 484, 486, 487, 489, 492, 493, 495, 496], [251, 252, 253, 254, 255, 256, 259, 263, 264, 271, 275, 280, 281, 283, 286, 287, 289, 290, 291, 293, 296, 297, 298, 301, 304, 305, 307, 309, 310, 314, 315, 320, 324, 326, 327, 329, 331, 335, 338, 339, 340, 341, 343, 344, 346, 349, 351, 354, 355, 357, 359, 360, 361, 362, 363, 365, 366, 370, 371, 373, 374, 376, 377, 378, 379, 380, 381, 382, 383, 384, 386, 387, 388, 390, 391, 392, 396, 397, 400, 401, 403, 404, 405, 409, 410, 417, 418, 419, 420, 421, 423, 425, 426, 428, 429, 431, 433, 434, 435, 437, 440, 441, 442, 443, 447, 448, 451, 452, 456, 457, 460, 461, 463, 465, 466, 469, 473, 475, 476, 478, 480, 481, 483, 484, 485, 489, 491, 493, 496, 498, 499], [252, 253, 254, 260, 262, 267, 270, 271, 272, 274, 276, 281, 287, 292, 294, 297, 299, 300, 301, 302, 303, 306, 307, 309, 310, 311, 312, 316, 317, 319, 320, 321, 324, 329, 330, 332, 334, 335, 337, 340, 341, 344, 345, 346, 348, 351, 353, 355, 357, 359, 363, 364, 366, 370, 373, 374, 375, 377, 379, 380, 381, 382, 384, 388, 390, 391, 392, 393, 394, 395, 396, 398, 405, 406, 407, 410, 411, 412, 413, 414, 415, 416, 417, 419, 420, 423, 424, 425, 426, 431, 433, 435, 437, 438, 443, 448, 450, 452, 453, 454, 457, 459, 461, 463, 464, 465, 467, 468, 471, 472, 473, 475, 476, 478, 482, 483, 484, 489, 490, 492, 494, 498, 499], [254, 255, 256, 257, 258, 260, 264, 265, 266, 268, 269, 273, 274, 275, 276, 280, 281, 282, 283, 284, 285, 286, 287, 288, 290, 291, 292, 293, 294, 298, 300, 301, 307, 308, 309, 311, 312, 315, 317, 318, 323, 324, 326, 327, 329, 331, 332, 333, 334, 336, 340, 343, 344, 345, 347, 352, 354, 356, 357, 360, 361, 362, 363, 366, 370, 371, 373, 374, 375, 378, 379, 380, 382, 384, 385, 386, 387, 388, 390, 391, 392, 393, 394, 396, 400, 404, 406, 408, 411, 412, 416, 417, 418, 420, 421, 425, 426, 427, 429, 433, 434, 435, 439, 440, 441, 442, 443, 444, 445, 446, 447, 449, 451, 453, 454, 457, 458, 460, 461, 462, 463, 465, 473, 474, 475, 476, 477, 479, 480, 483, 486, 489, 494, 495, 496, 497, 499], [251, 254, 256, 258, 259, 261, 263, 266, 268, 271, 272, 273, 274, 277, 279, 280, 281, 282, 283, 284, 285, 289, 291, 293, 296, 298, 299, 301, 302, 304, 307, 308, 309, 319, 320, 322, 323, 325, 326, 329, 331, 332, 335, 336, 337, 338, 340, 341, 346, 347, 348, 349, 354, 358, 359, 360, 364, 365, 367, 369, 371, 372, 373, 375, 376, 377, 378, 379, 381, 382, 384, 388, 389, 391, 395, 397, 399, 400, 402, 406, 407, 409, 412, 413, 418, 419, 420, 422, 423, 425, 427, 436, 437, 439, 440, 441, 443, 447, 448, 450, 451, 452, 453, 454, 455, 457, 461, 462, 463, 465, 466, 467, 471, 472, 473, 474, 475, 476, 477, 479, 483, 484, 485, 486, 487, 492, 493, 495, 497, 498], [250, 254, 258, 260, 261, 263, 264, 268, 269, 273, 275, 276, 277, 278, 281, 284, 290, 291, 293, 294, 296, 300, 301, 307, 308, 309, 311, 313, 315, 316, 317, 318, 322, 324, 333, 338, 339, 340, 341, 343, 346, 348, 349, 350, 352, 357, 358, 360, 362, 363, 364, 367, 368, 369, 370, 372, 373, 376, 379, 380, 381, 384, 385, 386, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 402, 403, 404, 406, 410, 413, 415, 417, 418, 421, 422, 423, 424, 427, 429, 432, 433, 434, 436, 437, 439, 441, 442, 444, 447, 448, 449, 451, 452, 455, 458, 459, 460, 464, 467, 469, 470, 471, 473, 475, 478, 479, 483, 485, 486, 488, 489, 492, 493, 494, 495, 496, 497, 499], [250, 253, 254, 255, 256, 257, 259, 262, 266, 267, 270, 272, 273, 275, 276, 278, 280, 281, 282, 283, 285, 286, 288, 293, 296, 297, 299, 301, 302, 303, 304, 308, 309, 310, 311, 312, 323, 324, 328, 329, 331, 332, 333, 334, 336, 339, 342, 345, 349, 350, 351, 352, 354, 355, 356, 357, 358, 359, 363, 366, 367, 368, 370, 371, 372, 374, 375, 378, 381, 382, 383, 384, 385, 386, 391, 392, 396, 397, 398, 399, 403, 404, 406, 408, 410, 411, 412, 415, 416, 420, 424, 425, 427, 428, 429, 430, 433, 437, 438, 442, 443, 444, 445, 446, 447, 448, 450, 452, 453, 454, 456, 461, 464, 473, 474, 475, 476, 478, 480, 481, 483, 484, 487, 489, 493, 494, 495, 496, 499], [250, 252, 255, 259, 261, 262, 263, 265, 266, 269, 270, 272, 274, 276, 278, 279, 281, 282, 284, 285, 287, 288, 291, 298, 300, 301, 307, 309, 311, 312, 313, 316, 318, 319, 320, 323, 324, 325, 327, 328, 329, 331, 337, 338, 339, 340, 342, 343, 345, 346, 347, 348, 354, 357, 358, 360, 361, 363, 368, 373, 375, 376, 378, 381, 382, 384, 385, 389, 390, 393, 397, 398, 399, 400, 401, 404, 409, 410, 412, 415, 417, 418, 419, 420, 421, 424, 425, 426, 428, 431, 432, 433, 438, 439, 441, 442, 447, 449, 450, 451, 452, 453, 454, 458, 462, 465, 466, 467, 469, 471, 472, 473, 474, 477, 478, 479, 480, 482, 483, 484, 485, 488, 494, 496, 497], [253, 257, 258, 262, 263, 265, 266, 269, 270, 271, 273, 275, 277, 281, 283, 287, 288, 289, 290, 291, 292, 300, 307, 308, 312, 315, 320, 323, 327, 330, 335, 337, 338, 340, 342, 343, 344, 345, 349, 351, 352, 354, 355, 356, 358, 360, 362, 363, 365, 366, 368, 370, 372, 373, 374, 378, 379, 381, 382, 383, 384, 386, 388, 389, 392, 393, 395, 396, 398, 399, 401, 402, 404, 405, 406, 407, 408, 409, 410, 411, 412, 414, 415, 417, 418, 420, 423, 424, 425, 426, 428, 429, 430, 431, 434, 436, 437, 438, 439, 440, 441, 449, 450, 452, 453, 454, 455, 457, 460, 461, 466, 467, 468, 469, 471, 472, 473, 475, 477, 479, 483, 484, 485, 489, 492, 493, 499], [251, 252, 253, 255, 258, 262, 270, 272, 273, 274, 276, 278, 279, 280, 281, 282, 284, 285, 289, 291, 292, 293, 295, 296, 297, 298, 299, 301, 302, 304, 305, 308, 312, 315, 316, 319, 321, 322, 326, 327, 331, 333, 334, 335, 336, 338, 340, 342, 344, 350, 351, 352, 353, 356, 357, 358, 359, 361, 363, 364, 367, 372, 373, 375, 376, 377, 378, 381, 385, 386, 388, 391, 393, 394, 396, 401, 402, 404, 410, 413, 417, 419, 424, 426, 428, 433, 434, 440, 442, 449, 450, 452, 455, 456, 457, 459, 460, 463, 467, 468, 473, 476, 478, 481, 483, 486, 488, 489, 490, 491, 493, 496], [253, 255, 256, 259, 260, 261, 262, 263, 266, 268, 271, 275, 276, 280, 281, 282, 286, 287, 289, 291, 293, 294, 295, 296, 298, 301, 302, 304, 305, 306, 309, 310, 312, 320, 321, 324, 327, 331, 334, 335, 338, 340, 341, 342, 343, 344, 345, 346, 349, 350, 351, 352, 353, 355, 361, 362, 363, 368, 370, 371, 373, 375, 376, 381, 383, 387, 388, 389, 391, 396, 397, 398, 399, 402, 404, 405, 412, 414, 426, 430, 433, 437, 441, 442, 446, 447, 452, 455, 458, 460, 463, 464, 465, 466, 467, 468, 470, 472, 474, 475, 480, 482, 483, 494, 495, 497, 498, 499], [250, 252, 254, 255, 256, 257, 259, 260, 264, 265, 267, 268, 269, 270, 271, 274, 275, 277, 279, 280, 284, 285, 286, 287, 290, 291, 292, 293, 294, 295, 296, 298, 300, 301, 303, 305, 307, 308, 309, 311, 314, 315, 316, 317, 318, 320, 321, 323, 324, 330, 331, 335, 338, 339, 340, 341, 344, 351, 354, 355, 357, 358, 364, 365, 366, 367, 369, 370, 371, 372, 373, 375, 377, 378, 381, 385, 386, 387, 389, 392, 396, 401, 402, 406, 408, 410, 411, 412, 414, 415, 416, 418, 419, 421, 422, 424, 425, 428, 429, 430, 432, 442, 443, 444, 446, 449, 450, 453, 454, 455, 457, 458, 462, 465, 469, 470, 471, 472, 474, 476, 477, 478, 481, 482, 484, 488, 494, 495, 497, 498], [251, 253, 256, 258, 259, 261, 262, 264, 265, 268, 270, 271, 273, 275, 277, 281, 283, 284, 285, 286, 288, 289, 291, 292, 293, 298, 299, 300, 301, 303, 304, 307, 308, 309, 310, 312, 314, 315, 316, 318, 320, 322, 323, 325, 328, 329, 333, 334, 336, 337, 339, 340, 342, 346, 347, 348, 349, 350, 353, 354, 355, 358, 359, 360, 364, 365, 369, 370, 371, 373, 374, 375, 380, 382, 383, 384, 386, 387, 389, 390, 391, 393, 400, 401, 410, 411, 412, 416, 417, 420, 421, 422, 423, 424, 425, 428, 429, 431, 432, 438, 440, 443, 444, 446, 447, 450, 451, 454, 455, 457, 458, 460, 463, 464, 465, 466, 467, 469, 472, 473, 475, 476, 477, 479, 483, 484, 485, 488, 492, 493, 494, 496, 498, 499], [250, 251, 252, 254, 255, 256, 262, 265, 267, 269, 270, 271, 273, 275, 276, 280, 282, 284, 285, 287, 290, 291, 292, 295, 296, 301, 303, 305, 306, 307, 310, 312, 314, 315, 318, 319, 321, 323, 324, 325, 327, 330, 333, 336, 337, 339, 344, 345, 346, 350, 352, 353, 354, 355, 358, 359, 360, 361, 363, 364, 367, 368, 371, 376, 377, 378, 379, 381, 382, 383, 385, 387, 389, 390, 391, 393, 398, 399, 400, 402, 403, 406, 407, 411, 413, 414, 415, 416, 418, 420, 421, 422, 424, 425, 430, 431, 435, 436, 437, 438, 441, 442, 443, 446, 450, 451, 452, 453, 455, 458, 460, 461, 462, 464, 465, 467, 472, 474, 476, 477, 480, 481, 482, 486, 487, 488, 489, 497, 498], [250, 251, 257, 258, 259, 260, 265, 266, 268, 271, 273, 275, 276, 277, 280, 281, 282, 289, 290, 291, 292, 293, 297, 299, 300, 302, 303, 304, 306, 307, 312, 313, 314, 315, 316, 317, 318, 321, 323, 324, 325, 327, 329, 330, 331, 334, 335, 337, 339, 340, 341, 344, 346, 347, 350, 352, 353, 354, 357, 359, 361, 362, 363, 365, 368, 369, 371, 373, 374, 376, 377, 378, 379, 381, 382, 383, 384, 386, 388, 389, 392, 394, 396, 397, 399, 400, 401, 403, 405, 406, 411, 414, 416, 420, 423, 426, 428, 432, 434, 436, 438, 439, 440, 442, 446, 447, 448, 449, 450, 451, 452, 453, 464, 465, 468, 469, 470, 473, 474, 475, 476, 477, 480, 481, 483, 484, 485, 486, 488, 491, 493, 495, 496], [253, 257, 259, 261, 262, 264, 265, 267, 271, 273, 274, 275, 278, 279, 280, 282, 283, 284, 286, 287, 290, 291, 296, 298, 301, 302, 303, 304, 305, 307, 311, 312, 313, 315, 316, 318, 320, 321, 322, 326, 327, 329, 332, 339, 344, 345, 348, 349, 353, 356, 359, 362, 363, 364, 369, 375, 376, 377, 379, 382, 383, 391, 393, 394, 396, 397, 399, 400, 402, 403, 404, 406, 408, 411, 412, 415, 416, 417, 419, 420, 421, 423, 426, 431, 433, 434, 435, 437, 441, 444, 448, 449, 452, 454, 455, 459, 461, 463, 464, 466, 468, 469, 470, 471, 472, 476, 477, 478, 479, 482, 483, 489, 494, 497, 498], [250, 252, 254, 255, 256, 258, 260, 262, 264, 266, 269, 274, 277, 280, 281, 283, 286, 289, 290, 293, 294, 298, 300, 301, 302, 303, 305, 306, 307, 308, 309, 310, 313, 315, 316, 319, 320, 322, 324, 325, 326, 328, 330, 331, 332, 336, 338, 340, 344, 346, 348, 350, 352, 354, 356, 357, 358, 360, 361, 362, 366, 367, 369, 374, 376, 377, 378, 380, 385, 388, 395, 397, 398, 399, 401, 402, 403, 406, 407, 408, 409, 410, 414, 415, 418, 420, 421, 422, 424, 426, 427, 428, 432, 434, 435, 436, 437, 438, 446, 447, 448, 451, 454, 455, 457, 458, 459, 462, 463, 464, 466, 468, 472, 474, 475, 476, 477, 479, 480, 484, 485, 486, 487, 489, 491, 493, 499], [250, 251, 253, 254, 255, 256, 257, 259, 260, 261, 262, 263, 264, 266, 269, 270, 275, 276, 277, 279, 280, 282, 283, 288, 292, 295, 298, 301, 303, 304, 305, 307, 308, 309, 313, 314, 315, 316, 317, 318, 319, 320, 323, 324, 329, 336, 337, 338, 340, 346, 348, 349, 354, 356, 358, 360, 362, 364, 365, 366, 367, 370, 372, 374, 375, 379, 380, 381, 382, 383, 387, 395, 396, 397, 398, 399, 402, 403, 407, 410, 414, 415, 417, 418, 420, 422, 423, 424, 425, 427, 431, 433, 434, 435, 436, 437, 438, 444, 446, 449, 453, 454, 457, 460, 461, 462, 463, 464, 465, 466, 467, 469, 473, 475, 476, 477, 479, 480, 483, 484, 485, 486, 487, 488, 489, 492, 495, 496], [250, 251, 252, 254, 255, 259, 262, 264, 265, 266, 267, 273, 274, 275, 278, 280, 281, 282, 287, 288, 292, 299, 301, 302, 304, 305, 306, 309, 310, 312, 313, 314, 315, 317, 318, 320, 322, 325, 327, 328, 329, 334, 336, 338, 339, 340, 343, 344, 345, 346, 351, 353, 359, 360, 363, 366, 368, 369, 371, 372, 374, 376, 383, 385, 389, 390, 391, 393, 397, 399, 400, 401, 402, 403, 404, 406, 407, 408, 409, 410, 411, 412, 413, 414, 416, 425, 428, 430, 435, 439, 440, 441, 445, 446, 449, 450, 453, 454, 455, 458, 460, 461, 462, 463, 464, 465, 466, 470, 471, 472, 473, 475, 477, 480, 483, 486, 487, 489, 490, 491, 493, 496, 497, 499], [254, 257, 261, 263, 264, 265, 267, 270, 271, 272, 274, 276, 277, 278, 279, 281, 282, 283, 285, 286, 288, 290, 292, 293, 294, 297, 299, 300, 301, 302, 303, 304, 305, 306, 312, 313, 316, 317, 321, 322, 326, 327, 328, 333, 337, 338, 340, 341, 344, 347, 348, 351, 353, 359, 361, 364, 366, 368, 369, 370, 371, 372, 373, 374, 375, 376, 378, 379, 380, 381, 382, 384, 385, 387, 389, 393, 394, 395, 397, 398, 399, 400, 401, 406, 407, 410, 411, 415, 417, 421, 422, 424, 425, 428, 429, 430, 432, 434, 435, 437, 438, 439, 442, 443, 445, 446, 449, 451, 452, 454, 455, 456, 458, 459, 460, 461, 462, 465, 467, 469, 470, 472, 475, 476, 478, 481, 482, 487, 489, 496], [250, 251, 253, 254, 255, 256, 260, 261, 263, 264, 265, 266, 268, 269, 274, 275, 277, 280, 283, 284, 288, 289, 292, 295, 296, 299, 302, 303, 306, 308, 309, 315, 316, 320, 324, 326, 327, 330, 331, 332, 339, 340, 341, 342, 344, 345, 346, 347, 348, 355, 356, 358, 359, 360, 363, 371, 372, 375, 376, 377, 380, 381, 383, 384, 387, 389, 390, 392, 394, 395, 396, 398, 400, 403, 404, 405, 408, 410, 411, 412, 415, 416, 417, 418, 420, 422, 423, 424, 426, 428, 430, 432, 434, 437, 439, 442, 443, 445, 446, 447, 448, 449, 451, 452, 459, 461, 462, 465, 466, 467, 469, 470, 471, 472, 475, 476, 480, 484, 487, 488, 491, 492, 493, 494, 495, 497], [251, 254, 256, 257, 258, 259, 261, 262, 263, 264, 266, 268, 271, 272, 274, 277, 280, 281, 282, 285, 286, 289, 292, 293, 294, 295, 297, 300, 302, 304, 305, 307, 309, 311, 313, 314, 315, 319, 320, 323, 324, 325, 326, 330, 332, 334, 337, 338, 340, 341, 343, 345, 348, 349, 353, 356, 357, 358, 359, 362, 364, 366, 369, 373, 382, 383, 385, 386, 387, 389, 391, 395, 397, 398, 399, 405, 407, 408, 414, 415, 417, 421, 426, 428, 430, 432, 434, 436, 438, 440, 441, 443, 447, 448, 452, 453, 458, 459, 463, 464, 465, 466, 467, 468, 469, 472, 473, 475, 482, 483, 484, 487, 488, 490, 491, 492, 493, 499], [251, 252, 254, 255, 258, 261, 262, 264, 265, 268, 271, 272, 273, 278, 279, 281, 286, 287, 288, 291, 293, 294, 295, 296, 299, 300, 302, 303, 304, 308, 309, 310, 315, 317, 319, 320, 321, 323, 325, 326, 328, 329, 330, 335, 336, 337, 338, 339, 340, 342, 343, 344, 346, 348, 351, 352, 353, 355, 359, 360, 363, 365, 368, 369, 372, 374, 375, 377, 382, 384, 385, 387, 388, 389, 391, 392, 393, 394, 397, 403, 404, 405, 406, 407, 408, 409, 412, 413, 420, 424, 425, 426, 427, 429, 430, 437, 438, 440, 441, 443, 446, 452, 453, 454, 455, 457, 462, 463, 465, 469, 471, 472, 473, 476, 480, 482, 485, 487, 495, 497, 498, 499], [252, 253, 254, 259, 261, 262, 264, 270, 273, 274, 276, 277, 280, 284, 285, 286, 287, 289, 290, 296, 298, 301, 307, 309, 310, 313, 314, 317, 319, 323, 324, 325, 326, 328, 329, 331, 334, 335, 336, 337, 339, 341, 343, 349, 350, 353, 357, 358, 360, 364, 369, 370, 373, 374, 375, 376, 377, 378, 379, 380, 382, 383, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 401, 403, 404, 405, 407, 408, 409, 410, 415, 417, 418, 420, 421, 424, 425, 426, 427, 428, 431, 432, 435, 436, 438, 441, 442, 443, 444, 447, 454, 455, 457, 465, 466, 467, 470, 479, 480, 481, 483, 486, 487, 489, 490, 491, 492, 494, 496, 497, 499], [250, 252, 253, 254, 256, 260, 271, 272, 279, 282, 286, 288, 290, 291, 292, 293, 298, 299, 300, 301, 302, 306, 307, 308, 309, 315, 316, 317, 318, 319, 321, 327, 328, 330, 332, 337, 339, 344, 349, 354, 357, 362, 366, 371, 372, 373, 375, 376, 379, 380, 385, 386, 392, 393, 394, 395, 397, 398, 399, 405, 408, 411, 412, 415, 420, 422, 423, 424, 425, 427, 429, 431, 432, 433, 434, 437, 438, 439, 442, 446, 447, 448, 451, 452, 454, 457, 458, 460, 464, 465, 466, 470, 471, 472, 476, 477, 481, 485, 486, 487, 488, 489, 492, 497, 498, 499], [250, 254, 258, 262, 263, 265, 267, 270, 272, 273, 275, 276, 280, 282, 283, 284, 285, 286, 287, 289, 291, 294, 304, 306, 309, 318, 323, 324, 325, 326, 327, 329, 331, 333, 335, 336, 337, 341, 344, 349, 350, 351, 354, 356, 359, 364, 367, 368, 369, 370, 371, 372, 373, 375, 377, 380, 381, 382, 383, 386, 387, 389, 397, 398, 400, 405, 409, 411, 413, 414, 416, 417, 418, 419, 420, 422, 423, 427, 432, 434, 436, 437, 439, 441, 442, 445, 446, 447, 448, 453, 454, 459, 461, 462, 465, 466, 467, 470, 473, 474, 476, 483, 485, 486, 487, 488, 489, 490, 491, 492, 494, 495, 496, 497], [250, 251, 252, 253, 255, 256, 260, 263, 267, 268, 269, 270, 273, 274, 275, 276, 279, 281, 282, 285, 286, 287, 289, 290, 295, 296, 298, 303, 304, 305, 308, 310, 312, 313, 314, 315, 317, 319, 323, 325, 327, 338, 339, 340, 341, 345, 346, 347, 348, 349, 350, 352, 353, 354, 355, 356, 358, 360, 361, 362, 363, 366, 367, 368, 370, 371, 374, 375, 378, 380, 382, 383, 384, 385, 386, 388, 392, 393, 394, 397, 400, 403, 404, 406, 407, 408, 409, 411, 415, 417, 419, 423, 424, 425, 426, 427, 431, 433, 434, 435, 436, 437, 438, 441, 442, 445, 447, 448, 450, 451, 452, 454, 455, 457, 458, 459, 461, 462, 463, 464, 467, 468, 469, 470, 472, 475, 480, 481, 482, 483, 484, 486, 487, 489, 490, 491, 496, 498, 499], [252, 253, 257, 258, 259, 260, 262, 263, 265, 267, 269, 270, 271, 272, 273, 274, 276, 279, 280, 281, 282, 283, 284, 286, 287, 289, 291, 297, 298, 300, 301, 303, 304, 305, 307, 309, 314, 319, 320, 322, 325, 328, 332, 334, 339, 341, 343, 344, 345, 346, 352, 353, 354, 362, 366, 370, 372, 373, 374, 375, 377, 384, 385, 389, 390, 391, 398, 399, 400, 401, 403, 406, 407, 408, 409, 413, 414, 417, 421, 424, 425, 427, 432, 433, 434, 436, 437, 439, 441, 442, 446, 453, 455, 456, 457, 458, 459, 461, 462, 468, 470, 472, 474, 478, 481, 482, 484, 485, 487, 489, 490, 492, 495, 496, 497], [250, 253, 254, 256, 257, 258, 261, 267, 268, 269, 270, 271, 273, 275, 279, 281, 282, 284, 286, 289, 291, 292, 293, 294, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 311, 313, 314, 315, 316, 317, 318, 320, 321, 322, 325, 326, 330, 334, 336, 337, 339, 341, 342, 344, 345, 347, 348, 350, 351, 361, 363, 364, 367, 368, 369, 373, 374, 375, 376, 378, 380, 381, 382, 386, 387, 388, 391, 393, 396, 398, 400, 403, 406, 407, 408, 409, 415, 416, 418, 422, 423, 425, 429, 431, 435, 437, 439, 440, 441, 443, 445, 447, 448, 449, 451, 453, 454, 455, 456, 457, 458, 459, 461, 462, 463, 464, 467, 469, 471, 475, 476, 478, 479, 480, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 494, 495, 498], [250, 251, 253, 254, 255, 256, 258, 260, 261, 265, 266, 267, 269, 270, 272, 274, 276, 280, 282, 283, 284, 285, 287, 288, 290, 291, 293, 295, 297, 298, 299, 301, 302, 306, 307, 313, 314, 316, 320, 321, 322, 323, 324, 325, 326, 328, 331, 335, 336, 337, 338, 339, 341, 343, 345, 347, 348, 349, 352, 355, 357, 359, 363, 364, 367, 369, 370, 371, 372, 373, 374, 375, 377, 378, 379, 382, 384, 385, 386, 387, 388, 394, 395, 396, 397, 399, 400, 401, 402, 403, 405, 406, 408, 410, 414, 416, 417, 420, 424, 426, 427, 428, 429, 430, 433, 434, 435, 438, 441, 442, 443, 446, 448, 450, 452, 453, 454, 456, 459, 461, 462, 463, 469, 471, 472, 474, 475, 476, 478, 479, 482, 485, 486, 487, 488, 498, 499], [253, 254, 255, 256, 258, 263, 266, 267, 270, 271, 273, 274, 276, 277, 278, 279, 280, 282, 284, 287, 288, 289, 292, 295, 297, 299, 304, 306, 307, 310, 313, 316, 317, 318, 321, 322, 327, 330, 335, 337, 339, 344, 347, 348, 357, 359, 360, 361, 364, 365, 367, 369, 375, 376, 377, 387, 388, 390, 392, 394, 401, 402, 403, 404, 407, 409, 410, 414, 415, 417, 422, 423, 425, 427, 432, 433, 434, 435, 436, 437, 438, 439, 441, 444, 447, 448, 452, 453, 454, 456, 458, 465, 468, 469, 470, 471, 474, 477, 479, 481, 483, 484, 485, 490, 492, 493, 494, 495, 498], [254, 257, 259, 261, 262, 265, 268, 269, 270, 272, 273, 275, 276, 278, 279, 281, 284, 285, 286, 287, 291, 292, 294, 296, 297, 303, 305, 308, 309, 310, 311, 314, 317, 318, 321, 324, 325, 326, 330, 332, 335, 336, 337, 340, 341, 342, 345, 347, 351, 354, 359, 362, 363, 365, 366, 368, 369, 374, 375, 376, 377, 379, 380, 383, 385, 387, 388, 389, 390, 391, 393, 394, 395, 397, 398, 400, 401, 403, 404, 411, 412, 416, 418, 421, 423, 424, 427, 429, 430, 431, 432, 436, 437, 438, 439, 441, 442, 444, 445, 447, 449, 451, 452, 453, 456, 457, 459, 461, 462, 463, 464, 467, 470, 473, 475, 476, 477, 481, 482, 483, 489, 490, 493, 494, 495, 497, 499], [250, 251, 254, 255, 256, 259, 260, 263, 265, 267, 268, 269, 270, 271, 273, 275, 277, 279, 284, 285, 286, 290, 291, 292, 293, 295, 296, 298, 302, 304, 309, 310, 313, 314, 315, 316, 319, 322, 325, 326, 330, 331, 335, 336, 337, 339, 341, 342, 343, 344, 345, 346, 347, 349, 350, 354, 357, 361, 362, 365, 366, 370, 371, 374, 375, 381, 383, 384, 386, 388, 389, 392, 393, 397, 399, 400, 401, 402, 403, 405, 406, 408, 410, 411, 412, 413, 414, 416, 418, 420, 422, 424, 425, 426, 429, 431, 433, 434, 435, 437, 438, 439, 440, 445, 447, 450, 452, 454, 455, 458, 460, 464, 465, 468, 469, 470, 473, 474, 475, 479, 483, 485, 486, 490, 491, 493, 498], [250, 251, 253, 254, 255, 256, 258, 260, 261, 262, 264, 266, 267, 268, 269, 270, 271, 273, 274, 280, 281, 282, 283, 284, 285, 289, 291, 294, 298, 300, 302, 314, 315, 318, 319, 322, 324, 325, 326, 327, 328, 329, 332, 334, 341, 347, 348, 352, 359, 363, 366, 368, 370, 371, 372, 374, 375, 377, 378, 379, 380, 382, 384, 385, 390, 391, 392, 394, 396, 397, 399, 402, 409, 411, 412, 415, 416, 420, 423, 425, 426, 428, 431, 433, 434, 435, 437, 439, 441, 442, 445, 447, 448, 453, 454, 456, 457, 458, 460, 463, 466, 467, 469, 470, 474, 476, 481, 483, 484, 485, 487, 489, 494, 495, 496, 497, 498], [251, 252, 254, 255, 257, 258, 259, 262, 264, 265, 266, 269, 270, 272, 273, 275, 278, 280, 281, 282, 283, 285, 286, 287, 288, 289, 290, 291, 293, 294, 295, 298, 299, 300, 304, 307, 308, 311, 312, 317, 320, 322, 325, 326, 327, 328, 329, 336, 338, 339, 342, 343, 344, 345, 346, 348, 352, 353, 354, 357, 358, 360, 362, 366, 367, 369, 370, 372, 373, 375, 376, 378, 379, 382, 383, 384, 390, 391, 392, 394, 395, 400, 401, 402, 404, 405, 406, 407, 408, 412, 413, 415, 416, 417, 419, 420, 424, 427, 429, 430, 432, 434, 435, 436, 437, 438, 439, 441, 442, 448, 454, 455, 456, 457, 458, 459, 463, 465, 466, 467, 469, 472, 473, 475, 477, 478, 480, 482, 485, 487, 488, 494, 495, 496], [250, 251, 252, 253, 258, 259, 260, 261, 263, 264, 266, 268, 269, 270, 271, 272, 276, 277, 278, 279, 282, 283, 287, 290, 291, 296, 297, 298, 299, 303, 304, 306, 308, 309, 313, 315, 317, 318, 319, 320, 322, 323, 325, 326, 327, 328, 331, 333, 335, 336, 338, 339, 341, 348, 351, 353, 355, 361, 363, 364, 366, 367, 371, 373, 374, 375, 376, 378, 383, 384, 386, 388, 392, 393, 395, 396, 398, 399, 401, 404, 405, 413, 414, 418, 419, 420, 421, 422, 423, 425, 426, 427, 429, 430, 433, 436, 437, 438, 441, 442, 443, 446, 448, 449, 450, 451, 452, 453, 456, 458, 461, 463, 464, 465, 468, 470, 471, 472, 473, 481, 482, 483, 485, 488, 490, 493, 494, 495, 497, 499], [251, 252, 258, 259, 260, 265, 266, 268, 273, 274, 277, 280, 283, 287, 289, 291, 293, 294, 295, 300, 301, 304, 305, 307, 309, 311, 312, 313, 316, 323, 325, 326, 327, 329, 332, 333, 334, 335, 337, 339, 342, 344, 347, 353, 355, 356, 357, 358, 359, 360, 362, 370, 372, 373, 374, 375, 376, 379, 382, 386, 387, 388, 390, 391, 394, 395, 397, 398, 399, 402, 403, 407, 408, 410, 415, 418, 420, 421, 422, 423, 424, 425, 431, 432, 433, 435, 436, 437, 438, 440, 443, 448, 449, 450, 452, 454, 455, 459, 463, 464, 465, 466, 468, 472, 478, 480, 481, 483, 487, 489, 491, 493], [250, 251, 254, 255, 257, 259, 261, 262, 263, 266, 269, 270, 271, 272, 276, 278, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 293, 300, 301, 304, 306, 309, 310, 311, 312, 313, 316, 318, 320, 321, 325, 327, 331, 332, 333, 340, 343, 345, 347, 349, 350, 353, 354, 355, 360, 361, 362, 365, 368, 369, 370, 372, 373, 379, 381, 385, 386, 388, 392, 394, 395, 399, 401, 404, 410, 411, 413, 416, 417, 418, 422, 423, 424, 425, 434, 437, 439, 441, 443, 445, 447, 450, 451, 452, 453, 457, 461, 462, 463, 464, 465, 466, 467, 468, 470, 471, 475, 476, 478, 479, 480, 482, 483, 484, 488, 490, 492, 493, 494, 496, 499], [251, 253, 254, 255, 256, 258, 260, 261, 262, 266, 267, 268, 271, 272, 273, 275, 277, 278, 283, 284, 285, 288, 291, 299, 304, 307, 309, 310, 311, 316, 317, 319, 321, 323, 324, 326, 328, 329, 330, 331, 332, 335, 336, 337, 340, 341, 343, 344, 345, 347, 348, 349, 354, 358, 359, 360, 365, 367, 372, 373, 376, 377, 378, 390, 391, 394, 397, 398, 399, 400, 402, 403, 405, 407, 408, 409, 411, 416, 419, 422, 423, 424, 425, 429, 433, 436, 438, 440, 442, 443, 446, 448, 450, 452, 454, 460, 462, 463, 467, 468, 470, 474, 475, 476, 479, 482, 484, 486, 487, 488, 491, 492, 495, 498], [255, 256, 259, 260, 261, 262, 263, 264, 266, 267, 268, 269, 270, 273, 274, 276, 279, 280, 281, 282, 288, 289, 294, 295, 296, 297, 298, 304, 309, 312, 313, 314, 315, 316, 318, 319, 320, 321, 323, 324, 327, 329, 330, 332, 334, 336, 340, 344, 347, 350, 351, 354, 355, 358, 359, 360, 361, 362, 363, 367, 369, 372, 374, 379, 382, 384, 385, 390, 392, 393, 397, 398, 399, 400, 401, 406, 407, 411, 413, 415, 419, 420, 422, 423, 425, 427, 428, 430, 431, 432, 435, 436, 437, 440, 441, 444, 445, 446, 449, 450, 454, 455, 456, 460, 462, 464, 467, 471, 472, 482, 483, 486, 487, 488, 491, 492, 494, 495, 496], [250, 253, 257, 259, 260, 263, 264, 265, 267, 274, 275, 276, 277, 278, 280, 283, 285, 286, 289, 292, 294, 295, 296, 297, 298, 301, 302, 311, 313, 314, 320, 321, 322, 324, 325, 329, 333, 334, 341, 343, 347, 349, 350, 353, 354, 355, 357, 358, 365, 368, 369, 370, 375, 377, 379, 380, 382, 383, 384, 386, 387, 390, 391, 394, 395, 396, 398, 400, 402, 404, 405, 406, 409, 411, 414, 416, 418, 419, 420, 421, 422, 423, 424, 427, 433, 435, 438, 439, 440, 441, 443, 444, 446, 448, 449, 450, 452, 454, 455, 457, 459, 461, 462, 463, 464, 465, 466, 467, 468, 471, 472, 473, 474, 478, 480, 485, 486, 487, 490, 491, 492, 493, 496, 498], [252, 253, 256, 257, 258, 261, 264, 265, 267, 270, 272, 273, 279, 280, 284, 286, 289, 291, 292, 293, 296, 300, 301, 303, 305, 307, 308, 310, 311, 312, 319, 320, 322, 327, 328, 331, 333, 336, 343, 344, 348, 349, 350, 351, 352, 357, 358, 360, 365, 367, 369, 371, 372, 375, 378, 385, 386, 387, 389, 390, 392, 395, 396, 397, 400, 401, 403, 408, 409, 411, 412, 414, 418, 420, 425, 429, 430, 431, 432, 434, 436, 438, 443, 444, 445, 446, 448, 452, 453, 455, 458, 460, 461, 465, 467, 468, 470, 471, 472, 475, 477, 481, 482, 483, 487, 488, 493, 494, 495, 497], [250, 252, 253, 255, 256, 257, 258, 261, 263, 264, 266, 267, 268, 269, 271, 273, 274, 275, 276, 279, 280, 282, 283, 287, 289, 292, 293, 294, 295, 296, 297, 298, 299, 302, 303, 305, 306, 307, 308, 309, 310, 314, 315, 316, 319, 320, 321, 323, 324, 325, 326, 329, 331, 332, 333, 335, 338, 340, 341, 343, 347, 351, 353, 354, 356, 357, 362, 363, 364, 365, 366, 368, 369, 372, 374, 375, 376, 378, 381, 383, 384, 389, 394, 395, 400, 402, 405, 406, 407, 409, 413, 416, 419, 420, 425, 428, 430, 432, 434, 436, 437, 438, 442, 443, 444, 446, 448, 451, 452, 456, 457, 460, 461, 462, 469, 472, 473, 474, 475, 476, 477, 478, 481, 482, 483, 484, 487, 488, 491, 494], [251, 252, 255, 256, 260, 261, 265, 267, 268, 270, 273, 274, 278, 279, 282, 283, 286, 288, 289, 290, 291, 292, 293, 295, 297, 298, 299, 300, 303, 304, 305, 306, 311, 313, 314, 316, 317, 320, 321, 322, 323, 331, 332, 333, 335, 336, 337, 338, 339, 340, 342, 344, 345, 346, 350, 353, 357, 358, 359, 360, 361, 363, 365, 366, 367, 370, 373, 378, 380, 381, 388, 389, 390, 392, 393, 395, 396, 397, 399, 400, 404, 407, 412, 413, 415, 416, 417, 421, 426, 429, 431, 432, 433, 434, 435, 439, 441, 442, 444, 446, 447, 448, 453, 454, 456, 457, 460, 462, 465, 466, 468, 469, 472, 473, 474, 475, 477, 478, 479, 480, 482, 483, 484, 486, 489, 490, 492, 494, 496, 499], [251, 253, 257, 261, 263, 264, 269, 270, 272, 277, 278, 280, 281, 283, 284, 285, 287, 289, 291, 292, 293, 294, 295, 296, 297, 300, 301, 305, 307, 308, 310, 311, 315, 317, 319, 321, 322, 323, 324, 326, 333, 335, 336, 337, 338, 339, 342, 344, 345, 347, 349, 351, 353, 355, 356, 359, 361, 362, 365, 366, 370, 371, 373, 376, 377, 381, 382, 385, 386, 390, 391, 393, 395, 397, 401, 403, 408, 409, 411, 413, 417, 420, 421, 425, 431, 434, 436, 438, 439, 440, 442, 443, 444, 445, 447, 449, 454, 455, 456, 457, 458, 459, 460, 462, 465, 466, 467, 468, 469, 471, 472, 473, 474, 476, 477, 478, 479, 480, 482, 483, 484, 485, 490, 492, 496, 499], [251, 255, 257, 261, 262, 266, 269, 271, 272, 275, 276, 277, 281, 284, 287, 288, 289, 291, 292, 293, 295, 297, 298, 299, 301, 302, 307, 308, 309, 310, 314, 318, 319, 322, 323, 326, 327, 328, 329, 331, 333, 334, 337, 338, 339, 341, 346, 347, 349, 353, 355, 356, 358, 360, 361, 363, 364, 365, 367, 368, 370, 371, 372, 373, 374, 376, 381, 382, 383, 384, 386, 387, 388, 393, 394, 395, 399, 401, 402, 403, 404, 411, 413, 416, 418, 420, 421, 422, 423, 427, 431, 432, 433, 434, 437, 440, 441, 444, 446, 447, 449, 450, 452, 458, 459, 460, 461, 465, 466, 475, 476, 478, 479, 481, 482, 487, 488, 491, 497, 498, 499], [252, 256, 258, 262, 264, 265, 266, 267, 272, 276, 278, 280, 284, 285, 289, 291, 292, 293, 297, 303, 306, 307, 308, 310, 311, 316, 317, 318, 319, 321, 328, 329, 333, 334, 335, 338, 341, 342, 345, 347, 349, 354, 356, 358, 359, 363, 364, 366, 368, 369, 370, 371, 372, 374, 375, 380, 381, 382, 383, 384, 385, 387, 389, 390, 391, 393, 395, 397, 399, 400, 401, 402, 403, 404, 405, 408, 411, 414, 415, 416, 418, 426, 428, 429, 430, 431, 433, 438, 439, 441, 447, 448, 449, 452, 454, 457, 463, 465, 467, 468, 469, 472, 473, 477, 481, 482, 484, 485, 486, 488, 489, 492, 493, 496, 498], [251, 253, 255, 256, 257, 261, 262, 263, 264, 265, 267, 270, 273, 275, 277, 278, 287, 289, 290, 294, 295, 297, 298, 299, 300, 302, 303, 304, 305, 306, 310, 314, 315, 316, 317, 318, 323, 325, 327, 331, 332, 333, 334, 337, 338, 343, 345, 347, 349, 352, 355, 356, 357, 361, 362, 365, 367, 371, 372, 374, 376, 377, 380, 385, 386, 387, 391, 392, 394, 395, 398, 399, 402, 404, 405, 407, 410, 413, 414, 416, 419, 420, 422, 425, 426, 427, 428, 433, 434, 436, 438, 439, 441, 443, 444, 445, 447, 448, 450, 452, 455, 456, 457, 459, 462, 464, 465, 466, 468, 473, 475, 476, 480, 483, 484, 485, 486, 489, 491, 492], [251, 252, 256, 257, 258, 259, 262, 264, 265, 267, 269, 270, 271, 272, 274, 276, 280, 281, 284, 285, 287, 288, 290, 291, 292, 296, 298, 299, 300, 301, 306, 308, 309, 310, 311, 313, 314, 315, 316, 317, 318, 324, 326, 327, 330, 331, 332, 334, 336, 337, 338, 339, 340, 346, 348, 352, 354, 355, 356, 361, 363, 364, 365, 367, 369, 378, 380, 381, 382, 384, 388, 392, 394, 396, 399, 401, 402, 404, 405, 410, 412, 413, 414, 415, 416, 418, 419, 421, 423, 424, 426, 427, 431, 432, 433, 434, 435, 436, 442, 444, 448, 451, 452, 457, 460, 461, 462, 465, 467, 469, 470, 471, 472, 476, 477, 479, 482, 483, 484, 486, 487, 489, 491, 492, 497], [250, 251, 252, 253, 254, 256, 257, 259, 260, 267, 270, 274, 275, 277, 281, 282, 284, 287, 288, 289, 290, 291, 292, 296, 298, 303, 304, 307, 310, 314, 316, 319, 321, 324, 326, 327, 329, 332, 335, 336, 338, 339, 341, 342, 344, 348, 350, 351, 353, 354, 355, 356, 358, 367, 369, 370, 371, 372, 375, 382, 383, 385, 386, 387, 397, 398, 400, 401, 402, 404, 405, 406, 408, 409, 411, 412, 413, 414, 415, 418, 419, 423, 433, 434, 436, 438, 439, 442, 444, 448, 451, 452, 455, 456, 457, 458, 461, 462, 463, 470, 471, 473, 474, 477, 478, 480, 481, 482, 483, 485, 486, 487, 488, 491, 493, 495, 497, 498], [252, 256, 258, 259, 261, 263, 264, 267, 270, 271, 273, 276, 277, 278, 281, 285, 288, 289, 291, 293, 297, 298, 299, 300, 302, 304, 305, 307, 311, 312, 313, 315, 316, 318, 323, 325, 326, 329, 331, 333, 334, 336, 340, 341, 344, 345, 346, 347, 348, 350, 354, 357, 358, 364, 366, 368, 371, 372, 375, 376, 380, 381, 385, 388, 389, 391, 392, 393, 394, 396, 399, 400, 401, 402, 403, 405, 408, 410, 411, 412, 413, 414, 415, 416, 417, 418, 420, 421, 424, 425, 426, 428, 430, 434, 437, 438, 441, 447, 452, 458, 459, 461, 462, 463, 464, 465, 467, 468, 470, 471, 472, 473, 476, 477, 479, 481, 484, 486, 490, 491, 492, 493, 495, 497, 498], [251, 254, 255, 257, 258, 259, 263, 265, 267, 268, 269, 271, 273, 274, 278, 279, 280, 284, 287, 288, 289, 294, 296, 300, 302, 304, 310, 312, 314, 315, 316, 317, 323, 324, 327, 329, 331, 332, 337, 338, 343, 345, 346, 348, 350, 352, 353, 354, 355, 356, 357, 360, 363, 366, 367, 369, 372, 373, 376, 378, 380, 383, 384, 386, 387, 388, 389, 390, 391, 392, 394, 395, 396, 398, 399, 409, 413, 415, 418, 419, 421, 422, 423, 425, 429, 430, 432, 433, 434, 435, 437, 438, 439, 440, 441, 447, 448, 449, 451, 452, 454, 455, 457, 460, 466, 468, 471, 473, 475, 476, 477, 478, 482, 486, 488, 490, 492, 497], [251, 252, 253, 254, 255, 256, 261, 262, 265, 266, 267, 268, 269, 271, 273, 275, 278, 283, 284, 285, 286, 289, 291, 293, 296, 298, 299, 300, 301, 302, 303, 304, 305, 308, 309, 312, 317, 318, 319, 322, 323, 324, 325, 328, 333, 337, 339, 342, 345, 346, 347, 348, 349, 351, 353, 356, 358, 361, 362, 364, 365, 366, 368, 369, 370, 371, 374, 375, 377, 378, 379, 382, 385, 394, 397, 401, 403, 404, 405, 408, 411, 412, 414, 419, 420, 422, 423, 427, 428, 429, 430, 431, 432, 433, 436, 437, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 455, 456, 457, 461, 463, 464, 465, 469, 472, 473, 477, 478, 480, 481, 483, 485, 488, 489, 490, 491, 492, 493, 496, 498], [250, 251, 256, 257, 258, 259, 260, 261, 262, 263, 264, 266, 270, 271, 272, 274, 276, 278, 279, 289, 290, 291, 293, 294, 295, 298, 299, 301, 303, 305, 307, 308, 310, 311, 312, 315, 316, 317, 320, 322, 323, 325, 326, 329, 335, 336, 338, 340, 343, 344, 346, 348, 350, 354, 356, 357, 358, 364, 365, 366, 368, 369, 371, 372, 374, 376, 377, 379, 381, 382, 383, 384, 388, 392, 394, 395, 396, 399, 404, 407, 411, 412, 413, 414, 421, 424, 426, 428, 429, 440, 441, 443, 446, 449, 453, 454, 455, 460, 464, 465, 466, 467, 470, 471, 473, 474, 475, 477, 478, 482, 483, 484, 487, 489, 491, 492, 493, 496, 497, 498, 499], [251, 252, 255, 257, 259, 261, 262, 264, 266, 268, 270, 272, 273, 274, 278, 279, 285, 286, 290, 291, 292, 295, 299, 300, 301, 302, 304, 308, 310, 311, 312, 319, 322, 327, 328, 330, 332, 334, 336, 337, 339, 340, 341, 342, 345, 346, 347, 349, 350, 351, 352, 353, 356, 359, 360, 362, 366, 367, 368, 369, 370, 374, 377, 378, 379, 382, 383, 384, 385, 387, 388, 389, 390, 398, 400, 401, 402, 406, 407, 413, 414, 415, 416, 418, 419, 420, 424, 425, 426, 427, 428, 430, 431, 433, 434, 435, 436, 437, 438, 440, 442, 446, 447, 449, 454, 456, 458, 459, 461, 463, 464, 466, 467, 468, 470, 472, 473, 474, 476, 477, 480, 481, 484, 487, 488, 489, 493, 495, 498], [253, 254, 255, 256, 257, 259, 261, 264, 266, 268, 269, 272, 273, 275, 277, 279, 280, 284, 285, 287, 288, 296, 297, 298, 300, 302, 303, 306, 310, 311, 312, 313, 315, 320, 326, 327, 335, 336, 337, 339, 340, 341, 347, 348, 349, 350, 352, 353, 354, 356, 358, 362, 370, 372, 373, 376, 378, 379, 380, 381, 384, 386, 388, 390, 391, 392, 398, 400, 402, 403, 404, 407, 409, 412, 413, 414, 416, 417, 423, 424, 430, 434, 439, 440, 443, 445, 446, 448, 453, 454, 455, 457, 460, 461, 462, 463, 464, 465, 470, 473, 476, 477, 478, 479, 482, 484, 490, 491, 492, 493, 495, 496, 499], [251, 256, 257, 259, 262, 263, 266, 268, 269, 270, 272, 274, 280, 281, 284, 286, 287, 289, 290, 291, 295, 296, 297, 300, 302, 303, 304, 305, 306, 307, 310, 311, 312, 316, 317, 318, 319, 323, 324, 325, 326, 329, 331, 336, 338, 340, 341, 343, 344, 349, 351, 352, 353, 354, 355, 356, 359, 361, 363, 364, 366, 367, 368, 369, 370, 371, 372, 375, 376, 377, 382, 385, 387, 388, 392, 393, 394, 395, 397, 399, 400, 402, 405, 406, 407, 412, 413, 414, 415, 416, 419, 421, 424, 428, 429, 436, 438, 441, 445, 447, 451, 452, 453, 455, 459, 461, 464, 467, 470, 472, 473, 474, 477, 479, 481, 482, 483, 484, 485, 486, 487, 488, 491, 495, 496], [250, 252, 257, 260, 262, 263, 267, 268, 271, 274, 277, 278, 280, 282, 286, 287, 288, 289, 291, 294, 295, 296, 298, 299, 300, 302, 303, 304, 305, 310, 312, 314, 316, 317, 318, 319, 320, 321, 322, 324, 326, 328, 329, 331, 332, 334, 336, 340, 341, 342, 344, 348, 349, 351, 352, 355, 358, 360, 363, 364, 365, 366, 367, 368, 369, 372, 373, 374, 376, 378, 387, 393, 394, 395, 398, 400, 401, 402, 404, 405, 407, 412, 413, 414, 415, 416, 419, 420, 421, 427, 429, 432, 433, 434, 436, 437, 439, 440, 441, 442, 446, 447, 448, 449, 451, 462, 464, 467, 468, 469, 475, 476, 478, 479, 480, 485, 486, 489, 490, 491, 498], [250, 253, 255, 258, 259, 261, 262, 263, 267, 270, 272, 274, 275, 276, 277, 278, 279, 280, 281, 282, 286, 289, 290, 291, 294, 295, 297, 298, 300, 303, 304, 305, 306, 309, 311, 312, 314, 317, 318, 320, 322, 323, 328, 329, 332, 333, 337, 338, 340, 343, 345, 346, 347, 348, 349, 350, 353, 354, 355, 357, 358, 359, 362, 364, 368, 369, 371, 373, 375, 378, 379, 381, 383, 387, 388, 389, 391, 392, 393, 394, 395, 396, 399, 400, 401, 403, 404, 410, 413, 415, 418, 420, 421, 422, 424, 425, 427, 429, 431, 432, 433, 434, 435, 438, 439, 441, 442, 447, 450, 453, 455, 457, 461, 462, 467, 469, 470, 473, 475, 477, 481, 482, 483, 484, 486, 488, 489, 491, 493, 498], [250, 252, 255, 256, 259, 261, 262, 268, 270, 272, 273, 276, 278, 281, 282, 284, 287, 289, 290, 296, 297, 298, 301, 303, 305, 306, 307, 308, 310, 311, 312, 313, 314, 315, 320, 321, 322, 323, 324, 325, 327, 328, 331, 342, 343, 344, 347, 349, 351, 352, 353, 354, 357, 359, 360, 364, 368, 371, 372, 376, 379, 384, 385, 387, 389, 390, 397, 399, 400, 401, 404, 405, 407, 409, 410, 411, 412, 413, 417, 418, 420, 421, 424, 426, 427, 428, 429, 435, 437, 439, 444, 448, 451, 452, 453, 454, 456, 457, 458, 459, 462, 464, 465, 466, 470, 473, 476, 480, 481, 484, 487, 489, 492, 493, 494, 496], [250, 251, 261, 268, 269, 271, 272, 274, 275, 277, 279, 281, 282, 283, 285, 287, 288, 289, 291, 292, 294, 295, 297, 298, 300, 302, 306, 308, 309, 312, 316, 317, 321, 323, 324, 325, 329, 330, 332, 333, 337, 338, 340, 341, 342, 345, 346, 348, 349, 351, 353, 354, 355, 357, 360, 364, 365, 366, 368, 372, 373, 374, 376, 377, 378, 381, 383, 385, 387, 392, 393, 394, 399, 400, 401, 404, 406, 409, 414, 415, 416, 417, 419, 421, 422, 424, 425, 426, 428, 429, 432, 434, 435, 436, 437, 438, 440, 441, 445, 448, 449, 450, 451, 453, 454, 456, 457, 461, 462, 465, 467, 468, 471, 472, 480, 482, 488, 489, 493, 494, 495, 499], [250, 255, 257, 258, 259, 260, 261, 262, 263, 266, 269, 270, 271, 272, 278, 279, 282, 287, 291, 293, 294, 295, 300, 301, 302, 304, 305, 306, 307, 308, 309, 310, 314, 315, 318, 323, 324, 329, 333, 334, 335, 337, 339, 340, 341, 342, 343, 344, 346, 347, 348, 349, 350, 352, 353, 360, 362, 363, 364, 368, 369, 372, 373, 374, 375, 376, 377, 378, 382, 386, 387, 388, 390, 391, 393, 394, 397, 398, 399, 400, 401, 403, 407, 410, 414, 415, 416, 419, 422, 428, 429, 430, 436, 439, 442, 444, 446, 451, 452, 453, 454, 456, 457, 458, 460, 463, 464, 465, 468, 469, 471, 476, 485, 491, 493, 497, 499], [250, 251, 254, 255, 256, 257, 259, 260, 262, 263, 264, 265, 266, 267, 268, 269, 272, 273, 274, 275, 276, 282, 284, 285, 286, 287, 288, 289, 290, 291, 292, 295, 296, 298, 299, 302, 303, 304, 308, 312, 314, 315, 316, 317, 318, 319, 320, 322, 324, 325, 327, 333, 335, 337, 339, 340, 341, 347, 348, 350, 351, 352, 357, 358, 360, 362, 363, 364, 366, 367, 370, 371, 374, 375, 377, 380, 381, 385, 387, 389, 390, 392, 393, 396, 397, 400, 403, 404, 405, 406, 409, 412, 415, 416, 419, 424, 425, 426, 427, 428, 429, 442, 443, 444, 445, 446, 447, 448, 453, 454, 455, 458, 459, 460, 463, 464, 465, 470, 476, 477, 478, 480, 482, 483, 484, 486, 487, 489, 494, 496, 497, 498], [250, 251, 253, 255, 256, 262, 263, 264, 265, 266, 267, 269, 270, 271, 272, 274, 275, 277, 279, 281, 284, 286, 287, 289, 290, 292, 293, 294, 296, 297, 301, 308, 310, 313, 315, 316, 318, 321, 322, 323, 327, 328, 329, 331, 336, 338, 339, 340, 348, 349, 350, 351, 353, 355, 356, 361, 368, 369, 370, 371, 376, 377, 378, 379, 384, 385, 389, 402, 405, 407, 408, 410, 411, 413, 414, 418, 421, 422, 423, 424, 425, 428, 429, 430, 434, 436, 440, 441, 442, 443, 446, 447, 448, 449, 451, 452, 458, 459, 461, 464, 469, 472, 473, 478, 479, 480, 483, 484, 486, 487, 491, 492, 495, 497, 499], [250, 252, 253, 254, 256, 257, 259, 260, 262, 263, 264, 268, 270, 272, 274, 276, 278, 280, 281, 284, 285, 286, 287, 291, 292, 293, 294, 295, 297, 298, 306, 311, 312, 313, 315, 317, 319, 321, 322, 323, 324, 325, 328, 329, 330, 332, 334, 335, 337, 338, 341, 343, 345, 348, 349, 350, 352, 355, 356, 357, 358, 359, 361, 363, 366, 367, 369, 373, 374, 380, 381, 384, 385, 388, 390, 391, 393, 394, 395, 396, 397, 398, 399, 403, 407, 408, 411, 414, 415, 418, 421, 424, 425, 426, 428, 430, 432, 433, 436, 437, 438, 441, 442, 443, 445, 446, 447, 451, 453, 455, 457, 460, 463, 464, 467, 469, 470, 473, 477, 478, 479, 481, 482, 486, 487, 488, 489, 490, 494, 495], [251, 252, 254, 259, 260, 261, 264, 267, 268, 269, 270, 272, 276, 279, 282, 283, 286, 287, 291, 292, 293, 294, 295, 296, 297, 302, 303, 308, 311, 315, 319, 320, 321, 330, 331, 332, 335, 336, 337, 338, 340, 341, 343, 345, 346, 349, 351, 356, 357, 358, 361, 365, 366, 369, 371, 373, 374, 377, 378, 379, 382, 383, 386, 388, 392, 394, 396, 402, 405, 406, 407, 414, 415, 419, 423, 424, 426, 427, 428, 429, 430, 431, 432, 433, 434, 436, 438, 439, 441, 443, 444, 446, 447, 449, 450, 451, 452, 453, 458, 459, 463, 464, 470, 471, 472, 476, 478, 479, 480, 481, 485, 487, 490, 491, 492, 495, 497, 498], [257, 260, 262, 264, 265, 269, 271, 272, 274, 275, 276, 277, 278, 279, 280, 283, 285, 286, 287, 290, 293, 295, 296, 297, 298, 300, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 317, 318, 321, 323, 325, 327, 331, 333, 334, 337, 341, 342, 346, 347, 350, 353, 354, 355, 356, 357, 358, 363, 365, 368, 369, 370, 376, 377, 378, 379, 381, 382, 384, 385, 386, 387, 389, 395, 397, 402, 404, 406, 407, 408, 409, 412, 415, 418, 420, 422, 424, 426, 428, 430, 432, 433, 434, 436, 437, 438, 440, 442, 445, 447, 450, 452, 455, 456, 461, 463, 465, 466, 470, 476, 478, 482, 483, 485, 488, 491, 493, 494, 496], [253, 254, 257, 260, 261, 262, 263, 264, 266, 270, 271, 272, 273, 274, 275, 276, 277, 279, 280, 282, 283, 285, 290, 292, 295, 296, 297, 299, 304, 305, 308, 309, 310, 312, 315, 318, 325, 327, 328, 329, 333, 334, 338, 339, 341, 343, 347, 350, 353, 354, 355, 356, 357, 358, 359, 361, 365, 366, 367, 370, 371, 373, 375, 376, 377, 379, 381, 384, 386, 390, 391, 394, 396, 399, 400, 401, 403, 404, 405, 408, 410, 412, 413, 415, 418, 421, 422, 424, 426, 429, 430, 431, 434, 435, 437, 438, 439, 443, 444, 445, 448, 449, 451, 452, 455, 456, 459, 460, 467, 469, 470, 473, 474, 475, 476, 483, 489, 493, 494, 497, 498], [0, 2, 3, 4, 8, 9, 11, 12, 15, 16, 20, 21, 22, 23, 26, 28, 29, 32, 36, 37, 41, 45, 46, 47, 50, 52, 53, 54, 62, 64, 67, 68, 70, 72, 74, 75, 77, 78, 79, 80, 84, 88, 93, 96, 97, 98, 99, 102, 105, 106, 107, 108, 109, 110, 111, 112, 114, 116, 120, 123, 127, 128, 130, 131, 133, 136, 138, 139, 141, 144, 145, 149, 152, 153, 154, 155, 161, 163, 164, 165, 168, 169, 170, 171, 172, 176, 177, 178, 180, 181, 187, 188, 189, 193, 195, 196, 198, 199, 200, 202, 206, 207, 208, 210, 211, 214, 215, 217, 219, 222, 224, 231, 235, 239, 240, 241, 242, 243, 244, 245, 246], [0, 1, 2, 4, 6, 7, 8, 9, 12, 16, 17, 22, 23, 24, 26, 27, 28, 32, 33, 35, 37, 38, 41, 43, 45, 46, 47, 48, 49, 51, 52, 54, 55, 57, 60, 61, 62, 63, 67, 69, 71, 72, 74, 76, 77, 78, 79, 81, 83, 87, 88, 89, 92, 95, 97, 101, 104, 107, 111, 112, 114, 115, 117, 120, 121, 123, 127, 128, 130, 131, 133, 134, 135, 136, 138, 142, 144, 145, 146, 147, 149, 150, 152, 157, 158, 159, 160, 164, 166, 167, 168, 169, 170, 173, 174, 177, 178, 179, 180, 181, 183, 186, 191, 194, 195, 196, 199, 200, 202, 203, 204, 208, 211, 214, 215, 216, 217, 218, 219, 220, 225, 226, 227, 229, 230, 231, 233, 234, 235, 236, 238, 242, 244, 245, 247], [0, 3, 4, 7, 8, 9, 10, 11, 13, 15, 16, 17, 18, 20, 21, 23, 24, 25, 26, 28, 29, 30, 33, 34, 37, 38, 39, 40, 41, 42, 44, 45, 46, 50, 51, 55, 57, 58, 59, 60, 63, 65, 66, 67, 69, 71, 73, 74, 75, 76, 77, 80, 85, 87, 89, 90, 99, 100, 104, 107, 109, 111, 115, 117, 118, 119, 122, 125, 127, 128, 132, 134, 135, 136, 137, 139, 140, 142, 143, 145, 146, 149, 150, 151, 152, 154, 155, 156, 157, 159, 160, 161, 162, 163, 165, 166, 169, 170, 171, 172, 173, 174, 179, 181, 182, 183, 184, 189, 191, 193, 195, 198, 200, 204, 205, 206, 208, 209, 216, 217, 218, 223, 224, 225, 228, 230, 231, 232, 234, 236, 239, 241, 246, 247], [1, 2, 5, 6, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 23, 24, 25, 27, 28, 29, 33, 34, 35, 37, 39, 40, 41, 47, 48, 49, 50, 54, 55, 59, 61, 62, 63, 66, 68, 72, 73, 74, 75, 79, 80, 88, 92, 94, 95, 96, 98, 101, 102, 104, 105, 108, 109, 113, 115, 116, 117, 122, 125, 126, 129, 130, 131, 132, 133, 134, 140, 143, 144, 146, 149, 150, 151, 152, 153, 155, 159, 161, 163, 164, 165, 166, 170, 171, 172, 174, 176, 179, 180, 181, 182, 183, 184, 188, 190, 191, 192, 194, 197, 199, 202, 205, 206, 208, 209, 210, 211, 212, 215, 217, 220, 222, 223, 224, 226, 229, 231, 234, 237, 240, 245, 246, 249], [0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 25, 26, 31, 38, 39, 40, 42, 43, 45, 47, 49, 51, 52, 53, 55, 56, 60, 61, 62, 63, 64, 67, 69, 72, 73, 77, 79, 80, 83, 87, 88, 91, 94, 96, 97, 98, 100, 101, 103, 104, 105, 108, 109, 111, 113, 114, 115, 118, 120, 121, 122, 124, 127, 129, 130, 131, 133, 134, 135, 141, 144, 146, 147, 150, 152, 154, 156, 157, 159, 161, 162, 165, 167, 169, 170, 171, 172, 174, 176, 180, 181, 183, 184, 185, 186, 187, 188, 193, 195, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 210, 211, 212, 213, 214, 215, 216, 219, 220, 231, 233, 234, 237, 244, 246, 247, 249], [0, 1, 5, 9, 10, 15, 17, 18, 19, 21, 24, 25, 26, 27, 30, 32, 35, 36, 38, 39, 40, 41, 43, 44, 47, 48, 49, 51, 52, 54, 55, 58, 61, 66, 67, 68, 70, 71, 76, 78, 79, 81, 84, 86, 87, 89, 90, 91, 94, 96, 99, 102, 104, 106, 107, 108, 112, 113, 114, 115, 116, 117, 119, 120, 122, 123, 124, 126, 127, 129, 131, 132, 135, 136, 138, 139, 140, 141, 142, 143, 145, 146, 150, 152, 153, 158, 161, 162, 166, 167, 168, 171, 172, 173, 176, 177, 183, 185, 188, 189, 191, 192, 193, 195, 198, 199, 200, 202, 204, 208, 211, 212, 214, 215, 216, 219, 220, 221, 224, 225, 227, 229, 233, 234, 236, 237, 240, 241, 243, 244, 245], [0, 7, 8, 10, 14, 15, 16, 18, 22, 24, 26, 28, 29, 32, 33, 34, 43, 45, 46, 47, 48, 49, 50, 51, 52, 54, 56, 57, 61, 62, 64, 66, 68, 69, 70, 71, 74, 77, 78, 80, 83, 84, 88, 89, 92, 93, 95, 96, 98, 101, 103, 105, 108, 109, 110, 111, 113, 114, 115, 117, 118, 120, 121, 123, 124, 125, 126, 131, 134, 138, 140, 141, 142, 151, 153, 155, 162, 163, 164, 170, 171, 175, 178, 179, 180, 181, 182, 183, 185, 186, 188, 192, 193, 194, 195, 198, 199, 202, 203, 206, 208, 210, 211, 212, 214, 215, 220, 221, 223, 224, 225, 228, 229, 230, 231, 232, 234, 235, 237, 238, 241, 244, 245, 246], [0, 1, 2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 21, 22, 24, 25, 29, 30, 31, 32, 33, 34, 35, 37, 43, 45, 48, 49, 50, 51, 52, 56, 60, 61, 63, 64, 65, 67, 69, 71, 72, 74, 76, 81, 83, 84, 86, 87, 88, 90, 92, 96, 98, 100, 101, 106, 107, 108, 109, 110, 111, 112, 113, 117, 118, 119, 120, 121, 125, 129, 131, 132, 134, 136, 137, 138, 139, 143, 144, 150, 152, 153, 158, 163, 164, 165, 167, 168, 169, 172, 173, 174, 176, 178, 181, 182, 185, 188, 190, 193, 196, 197, 199, 201, 203, 209, 210, 213, 216, 219, 222, 223, 224, 226, 227, 229, 230, 231, 233, 235, 236, 237, 238, 239, 243, 244, 246, 248, 249], [0, 1, 3, 4, 5, 6, 7, 12, 13, 14, 15, 18, 19, 24, 25, 26, 27, 31, 32, 33, 35, 36, 38, 41, 42, 48, 49, 50, 53, 54, 57, 59, 65, 66, 67, 69, 70, 71, 74, 75, 81, 82, 86, 94, 95, 98, 99, 100, 101, 102, 103, 107, 108, 109, 110, 112, 113, 114, 116, 118, 120, 121, 124, 127, 128, 130, 132, 134, 135, 136, 142, 143, 144, 146, 147, 150, 151, 152, 153, 155, 157, 158, 159, 162, 163, 167, 170, 176, 178, 180, 185, 186, 187, 190, 191, 194, 196, 198, 203, 204, 207, 209, 210, 211, 212, 215, 216, 217, 218, 220, 223, 224, 228, 230, 232, 233, 235, 240, 243], [0, 3, 6, 8, 11, 12, 13, 20, 21, 22, 23, 24, 27, 28, 29, 30, 32, 33, 35, 37, 38, 40, 41, 42, 44, 45, 46, 48, 49, 51, 55, 60, 62, 64, 66, 67, 72, 73, 77, 81, 84, 88, 89, 90, 92, 93, 94, 95, 96, 98, 99, 100, 103, 105, 106, 107, 108, 112, 113, 114, 115, 118, 122, 123, 124, 126, 127, 128, 129, 130, 131, 134, 135, 136, 139, 141, 142, 143, 145, 146, 148, 149, 150, 151, 152, 153, 154, 155, 156, 158, 159, 163, 165, 169, 173, 174, 176, 178, 179, 180, 182, 183, 186, 188, 189, 192, 193, 194, 196, 197, 199, 200, 203, 205, 209, 213, 214, 216, 217, 218, 219, 221, 222, 230, 231, 232, 233, 235, 236, 237, 238, 240, 241, 243, 244, 246, 247], [1, 3, 4, 6, 7, 9, 10, 13, 16, 19, 21, 23, 26, 27, 28, 30, 31, 32, 33, 36, 38, 43, 49, 51, 52, 53, 56, 57, 59, 60, 61, 62, 63, 66, 68, 69, 72, 75, 78, 81, 82, 83, 85, 87, 91, 93, 97, 99, 101, 103, 104, 105, 106, 109, 111, 114, 115, 116, 117, 118, 120, 121, 122, 123, 132, 135, 136, 138, 139, 142, 143, 144, 146, 148, 150, 151, 152, 153, 154, 158, 159, 161, 162, 163, 168, 176, 180, 184, 185, 187, 192, 193, 196, 198, 199, 202, 206, 208, 209, 211, 214, 215, 217, 218, 220, 221, 222, 225, 231, 235, 239, 243, 244, 246, 247, 248, 249], [1, 2, 5, 7, 8, 9, 10, 12, 16, 18, 24, 26, 28, 30, 31, 34, 36, 38, 42, 43, 48, 49, 50, 51, 54, 56, 58, 59, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 77, 80, 82, 84, 86, 87, 90, 92, 96, 97, 98, 105, 106, 108, 110, 113, 115, 116, 121, 129, 130, 138, 139, 140, 141, 142, 143, 145, 150, 151, 152, 153, 157, 158, 162, 163, 164, 169, 171, 172, 173, 175, 176, 177, 178, 179, 182, 186, 187, 189, 192, 194, 197, 199, 201, 202, 203, 204, 205, 210, 211, 213, 215, 217, 219, 220, 221, 223, 224, 225, 226, 227, 229, 232, 234, 235, 236, 237, 240, 241, 242, 243, 247, 249], [0, 1, 2, 4, 5, 7, 8, 9, 11, 12, 14, 15, 16, 17, 19, 23, 24, 25, 26, 27, 30, 36, 37, 39, 41, 43, 46, 49, 50, 51, 54, 55, 59, 60, 61, 63, 64, 65, 71, 74, 77, 80, 81, 82, 83, 86, 87, 90, 93, 94, 95, 98, 99, 100, 103, 104, 105, 106, 109, 111, 112, 113, 114, 117, 118, 121, 122, 125, 126, 130, 133, 137, 138, 141, 142, 143, 145, 146, 147, 149, 151, 152, 153, 155, 158, 162, 164, 165, 167, 172, 174, 175, 177, 179, 181, 184, 188, 189, 190, 191, 192, 194, 195, 197, 198, 199, 200, 203, 204, 205, 207, 209, 213, 215, 216, 219, 220, 221, 227, 228, 229, 230, 234, 235, 236, 238, 239, 240, 241, 243, 244, 245, 246, 248, 249], [1, 3, 5, 6, 9, 13, 14, 15, 16, 17, 18, 27, 29, 31, 38, 41, 45, 48, 49, 51, 52, 54, 57, 59, 60, 61, 64, 65, 66, 67, 68, 70, 74, 75, 76, 77, 78, 79, 80, 81, 84, 86, 90, 91, 92, 95, 100, 102, 105, 108, 109, 110, 111, 112, 113, 114, 116, 117, 121, 126, 127, 128, 129, 130, 133, 135, 136, 139, 140, 142, 144, 145, 147, 151, 157, 158, 160, 166, 170, 171, 172, 175, 176, 178, 181, 182, 183, 186, 187, 189, 190, 192, 199, 201, 202, 203, 207, 208, 209, 212, 214, 217, 219, 221, 222, 224, 226, 229, 232, 233, 235, 238, 239, 240, 243, 244, 245, 246, 249], [4, 5, 6, 11, 12, 13, 14, 15, 16, 17, 22, 24, 26, 27, 28, 30, 33, 34, 39, 45, 46, 51, 52, 54, 57, 61, 62, 65, 69, 70, 72, 74, 75, 76, 77, 79, 81, 83, 84, 86, 88, 89, 91, 94, 95, 96, 97, 100, 103, 104, 114, 118, 119, 120, 121, 124, 126, 131, 132, 134, 135, 136, 137, 138, 141, 143, 144, 145, 146, 150, 151, 153, 154, 155, 157, 159, 161, 163, 167, 168, 169, 170, 172, 174, 175, 176, 179, 180, 182, 183, 185, 187, 193, 194, 197, 198, 199, 200, 201, 202, 203, 204, 205, 215, 216, 217, 221, 222, 223, 224, 226, 228, 229, 230, 232, 235, 236, 237, 244, 245, 246, 247, 248, 249], [0, 1, 7, 8, 10, 11, 12, 13, 14, 15, 19, 20, 21, 22, 24, 25, 28, 31, 33, 34, 35, 36, 38, 39, 41, 42, 43, 45, 49, 53, 54, 55, 56, 57, 59, 61, 63, 64, 65, 66, 67, 68, 70, 71, 74, 75, 76, 77, 84, 89, 91, 93, 94, 95, 96, 99, 101, 102, 103, 105, 109, 110, 111, 112, 113, 114, 115, 118, 119, 120, 122, 124, 128, 130, 131, 133, 141, 142, 143, 147, 148, 151, 152, 153, 154, 155, 157, 158, 163, 164, 167, 171, 172, 175, 177, 180, 182, 185, 189, 190, 193, 194, 195, 196, 197, 200, 201, 202, 204, 207, 209, 211, 213, 214, 216, 218, 222, 223, 225, 228, 229, 230, 233, 234, 244, 245, 248], [2, 3, 4, 7, 9, 11, 12, 13, 15, 18, 19, 20, 21, 22, 25, 28, 30, 31, 32, 33, 34, 35, 39, 41, 42, 44, 46, 50, 52, 54, 55, 56, 57, 58, 60, 61, 63, 64, 67, 68, 69, 71, 73, 75, 76, 77, 78, 80, 83, 84, 86, 87, 88, 90, 94, 96, 97, 102, 103, 104, 106, 107, 108, 110, 112, 114, 116, 119, 120, 121, 123, 126, 127, 128, 129, 133, 134, 135, 140, 146, 147, 148, 151, 152, 154, 156, 157, 158, 159, 160, 162, 163, 165, 167, 169, 170, 171, 175, 178, 179, 181, 185, 186, 188, 189, 190, 192, 196, 198, 199, 200, 202, 203, 211, 212, 215, 216, 217, 218, 219, 220, 221, 224, 227, 228, 234, 235, 236, 237, 238, 243, 244, 245, 249], [0, 4, 8, 9, 10, 11, 13, 16, 17, 18, 19, 21, 24, 26, 28, 33, 34, 38, 39, 42, 43, 44, 45, 48, 49, 50, 51, 54, 55, 56, 57, 58, 59, 61, 62, 70, 71, 72, 73, 74, 75, 77, 81, 82, 85, 86, 88, 89, 93, 94, 95, 103, 104, 110, 112, 113, 115, 116, 119, 120, 121, 122, 125, 127, 131, 132, 134, 139, 141, 143, 145, 147, 149, 150, 151, 154, 158, 161, 162, 163, 164, 165, 168, 170, 172, 173, 176, 178, 180, 182, 184, 188, 193, 195, 197, 200, 201, 207, 208, 209, 210, 211, 212, 214, 215, 220, 221, 222, 223, 224, 225, 228, 229, 230, 231, 232, 233, 234, 239, 240, 244, 245, 247], [1, 2, 8, 9, 10, 12, 13, 19, 21, 22, 23, 24, 25, 26, 29, 30, 33, 34, 35, 36, 39, 40, 44, 45, 47, 50, 52, 53, 55, 56, 57, 59, 63, 72, 73, 74, 76, 77, 83, 84, 85, 87, 90, 91, 97, 98, 99, 100, 107, 108, 110, 111, 115, 116, 121, 124, 126, 127, 129, 130, 133, 139, 142, 146, 147, 148, 151, 152, 154, 155, 157, 158, 159, 161, 163, 164, 165, 167, 169, 171, 172, 173, 174, 177, 179, 180, 182, 185, 186, 187, 192, 193, 194, 196, 202, 203, 204, 208, 210, 213, 214, 215, 217, 218, 220, 221, 224, 225, 233, 234, 236, 237, 238, 239, 241, 242, 244, 246, 247], [0, 2, 3, 4, 5, 6, 9, 10, 12, 13, 14, 15, 17, 22, 23, 26, 27, 28, 31, 32, 33, 38, 39, 40, 41, 42, 43, 47, 48, 50, 51, 54, 56, 57, 59, 60, 69, 73, 76, 78, 80, 81, 83, 84, 88, 89, 91, 93, 97, 99, 100, 101, 102, 104, 106, 107, 108, 115, 116, 119, 121, 123, 124, 126, 129, 130, 131, 132, 133, 135, 136, 137, 139, 141, 142, 143, 144, 145, 146, 148, 149, 152, 153, 154, 155, 160, 161, 162, 163, 166, 168, 170, 172, 173, 175, 181, 182, 185, 187, 189, 190, 193, 195, 198, 199, 202, 208, 209, 210, 211, 213, 214, 215, 216, 217, 219, 221, 224, 226, 227, 230, 233, 234, 237, 238, 242, 243, 244, 245, 247, 248], [0, 1, 5, 6, 8, 9, 11, 12, 13, 17, 18, 21, 31, 33, 34, 36, 37, 38, 40, 42, 51, 53, 57, 58, 63, 64, 66, 67, 70, 72, 73, 74, 77, 78, 81, 85, 86, 87, 88, 89, 90, 93, 97, 98, 99, 100, 101, 102, 105, 106, 109, 110, 111, 117, 118, 119, 122, 124, 126, 127, 131, 132, 135, 137, 139, 142, 144, 145, 146, 147, 148, 151, 152, 153, 154, 155, 156, 164, 165, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 184, 188, 189, 190, 191, 193, 194, 195, 199, 201, 205, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 219, 221, 223, 225, 226, 229, 230, 231, 232, 235, 236, 238, 240, 241, 243, 245, 246, 247, 249], [1, 3, 5, 7, 9, 10, 12, 14, 16, 18, 19, 20, 21, 23, 24, 28, 29, 31, 33, 34, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 51, 53, 58, 61, 62, 66, 67, 71, 72, 73, 79, 81, 82, 83, 86, 88, 90, 92, 93, 96, 97, 98, 99, 101, 104, 105, 108, 109, 111, 112, 116, 119, 120, 122, 130, 131, 132, 135, 136, 137, 143, 144, 150, 151, 155, 156, 157, 159, 160, 161, 162, 164, 169, 171, 174, 179, 181, 183, 184, 186, 190, 192, 193, 194, 195, 196, 197, 201, 203, 204, 206, 209, 210, 212, 214, 215, 217, 219, 220, 224, 227, 230, 232, 233, 234, 235, 239, 242, 243, 245, 248, 249], [4, 6, 10, 13, 14, 19, 20, 23, 24, 25, 26, 29, 30, 31, 32, 34, 35, 39, 44, 46, 48, 49, 51, 52, 53, 54, 55, 59, 62, 68, 71, 72, 74, 76, 77, 78, 80, 81, 83, 86, 87, 89, 90, 91, 96, 99, 100, 101, 102, 106, 107, 113, 114, 116, 117, 118, 119, 122, 124, 127, 128, 129, 130, 131, 132, 136, 140, 141, 144, 145, 146, 147, 150, 153, 155, 157, 164, 166, 169, 170, 171, 175, 176, 179, 180, 181, 182, 184, 186, 188, 189, 191, 201, 203, 204, 206, 207, 209, 211, 213, 216, 217, 219, 220, 223, 226, 227, 228, 230, 235, 236, 237, 238, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], [0, 2, 3, 4, 5, 6, 7, 9, 11, 17, 19, 20, 22, 23, 27, 29, 30, 31, 32, 34, 35, 40, 42, 45, 46, 49, 51, 52, 53, 55, 56, 57, 58, 59, 63, 65, 66, 67, 68, 71, 74, 77, 79, 81, 86, 93, 94, 95, 96, 97, 100, 101, 104, 105, 106, 108, 109, 110, 111, 114, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 134, 136, 137, 140, 141, 142, 145, 146, 148, 149, 150, 154, 160, 165, 166, 168, 170, 175, 178, 179, 181, 185, 186, 187, 188, 190, 191, 194, 195, 196, 197, 200, 204, 205, 207, 208, 209, 210, 212, 213, 214, 215, 216, 218, 220, 221, 223, 224, 225, 229, 232, 233, 234, 236, 237, 241, 244, 249], [0, 3, 4, 6, 7, 9, 10, 14, 16, 18, 21, 24, 26, 28, 32, 33, 35, 36, 37, 38, 40, 41, 43, 44, 46, 47, 49, 51, 54, 55, 56, 57, 60, 66, 71, 75, 77, 78, 79, 80, 84, 85, 86, 89, 90, 95, 96, 98, 99, 101, 102, 103, 104, 107, 108, 109, 111, 114, 115, 116, 117, 118, 119, 121, 124, 126, 128, 131, 132, 133, 137, 140, 141, 144, 147, 148, 151, 152, 153, 154, 156, 158, 160, 161, 162, 164, 165, 169, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 189, 191, 193, 197, 198, 200, 201, 202, 203, 205, 208, 209, 211, 212, 215, 218, 221, 222, 224, 225, 230, 231, 233, 235, 236, 238, 239, 240, 242, 244, 245, 246, 248, 249], [1, 2, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 24, 26, 27, 29, 30, 31, 32, 34, 35, 36, 38, 40, 41, 42, 43, 45, 46, 50, 53, 57, 59, 60, 65, 67, 68, 69, 70, 71, 72, 74, 75, 76, 78, 81, 82, 84, 85, 86, 90, 91, 92, 93, 94, 97, 98, 99, 100, 102, 103, 104, 107, 108, 109, 115, 116, 121, 122, 130, 132, 135, 136, 138, 142, 143, 146, 147, 148, 150, 151, 154, 155, 157, 159, 162, 163, 168, 169, 171, 175, 179, 183, 185, 187, 188, 190, 192, 193, 194, 195, 196, 197, 199, 200, 202, 207, 208, 210, 213, 214, 216, 220, 222, 224, 227, 229, 231, 234, 237, 240, 242, 244, 245, 248, 249], [0, 1, 3, 7, 8, 11, 15, 16, 17, 19, 22, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 41, 43, 44, 45, 46, 47, 48, 49, 51, 52, 60, 61, 62, 63, 65, 68, 69, 70, 73, 75, 76, 77, 79, 80, 81, 84, 86, 89, 92, 93, 94, 98, 99, 101, 105, 108, 112, 113, 114, 116, 117, 118, 119, 123, 124, 126, 128, 131, 136, 140, 141, 142, 143, 146, 147, 153, 154, 157, 158, 159, 162, 166, 167, 168, 173, 174, 175, 177, 178, 179, 184, 185, 187, 188, 189, 191, 192, 195, 196, 199, 201, 205, 207, 208, 209, 211, 212, 213, 217, 219, 221, 222, 224, 227, 228, 230, 232, 235, 240, 241, 244, 246, 247, 248, 249], [0, 1, 2, 4, 8, 9, 10, 13, 17, 21, 22, 23, 29, 30, 33, 34, 35, 36, 37, 38, 45, 46, 49, 50, 51, 53, 55, 56, 59, 62, 63, 64, 67, 68, 73, 74, 75, 79, 80, 82, 83, 85, 86, 87, 89, 90, 92, 93, 94, 96, 97, 98, 100, 106, 107, 108, 109, 110, 113, 114, 117, 118, 119, 126, 127, 128, 130, 132, 134, 139, 142, 143, 147, 148, 150, 151, 153, 154, 155, 156, 160, 162, 166, 170, 173, 174, 175, 180, 186, 187, 190, 193, 194, 196, 198, 199, 201, 202, 203, 205, 212, 214, 217, 218, 220, 222, 226, 227, 229, 231, 232, 237, 239, 240, 242, 245, 248, 249], [2, 3, 7, 14, 16, 19, 23, 24, 26, 27, 28, 29, 32, 34, 35, 36, 37, 39, 40, 42, 45, 46, 47, 49, 53, 54, 57, 60, 61, 62, 63, 64, 66, 68, 71, 74, 78, 80, 81, 82, 83, 85, 87, 89, 90, 91, 93, 94, 96, 97, 99, 102, 104, 105, 108, 109, 110, 111, 113, 116, 120, 124, 125, 127, 128, 129, 130, 132, 133, 136, 141, 144, 148, 149, 151, 152, 153, 154, 156, 159, 166, 167, 169, 173, 174, 176, 177, 178, 179, 180, 187, 188, 189, 191, 197, 200, 201, 204, 212, 213, 216, 217, 219, 220, 222, 225, 226, 228, 229, 232, 233, 234, 235, 236, 239, 240, 241, 243, 246, 248], [2, 6, 7, 11, 12, 16, 17, 19, 20, 22, 23, 25, 28, 29, 31, 32, 33, 34, 36, 37, 39, 40, 42, 43, 47, 51, 54, 56, 57, 58, 59, 60, 61, 62, 63, 68, 70, 71, 80, 81, 84, 86, 87, 90, 92, 93, 94, 96, 98, 99, 100, 103, 104, 105, 106, 107, 108, 109, 111, 114, 115, 116, 118, 119, 120, 122, 124, 127, 133, 135, 136, 137, 139, 141, 142, 143, 144, 146, 147, 149, 150, 152, 153, 154, 157, 163, 164, 165, 173, 174, 175, 177, 178, 179, 186, 189, 191, 193, 197, 199, 201, 204, 206, 208, 209, 210, 212, 213, 214, 217, 221, 223, 224, 225, 233, 235, 236, 237, 240, 242, 243, 245, 247, 248, 249], [0, 3, 4, 5, 7, 9, 10, 14, 17, 18, 19, 21, 23, 25, 29, 30, 32, 33, 34, 35, 37, 38, 40, 41, 44, 45, 49, 51, 52, 53, 55, 56, 57, 58, 61, 66, 68, 69, 72, 75, 76, 81, 85, 86, 88, 91, 93, 94, 95, 96, 98, 99, 102, 103, 108, 109, 110, 112, 113, 118, 122, 125, 127, 129, 133, 134, 135, 136, 137, 141, 143, 146, 148, 151, 152, 155, 158, 160, 161, 162, 163, 164, 171, 172, 175, 176, 177, 178, 180, 181, 183, 185, 186, 188, 191, 192, 193, 195, 196, 197, 198, 199, 200, 202, 203, 205, 207, 209, 211, 212, 215, 216, 218, 221, 222, 223, 224, 226, 228, 230, 233, 237, 238, 239, 240, 246, 248, 249], [0, 2, 4, 5, 6, 9, 10, 12, 13, 14, 17, 18, 19, 22, 24, 25, 26, 27, 29, 30, 31, 32, 33, 35, 36, 38, 40, 41, 42, 44, 46, 47, 52, 53, 54, 55, 58, 59, 61, 63, 64, 66, 67, 69, 75, 78, 79, 81, 83, 88, 91, 93, 94, 98, 99, 100, 101, 104, 105, 106, 107, 109, 110, 111, 115, 118, 119, 120, 122, 124, 126, 128, 131, 133, 134, 135, 143, 147, 148, 149, 150, 152, 156, 157, 158, 159, 164, 166, 167, 172, 175, 176, 180, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 194, 196, 198, 200, 201, 203, 204, 208, 209, 210, 213, 215, 216, 219, 221, 226, 227, 230, 231, 232, 238, 240, 241, 242, 245, 246], [1, 2, 3, 6, 7, 8, 11, 12, 13, 14, 16, 22, 23, 25, 26, 27, 30, 32, 40, 46, 52, 54, 57, 58, 65, 66, 67, 68, 70, 71, 73, 75, 77, 78, 80, 81, 84, 90, 94, 95, 99, 106, 107, 109, 111, 112, 113, 114, 115, 117, 121, 122, 123, 124, 125, 127, 129, 132, 135, 136, 138, 139, 143, 146, 148, 150, 154, 156, 157, 159, 160, 161, 163, 165, 167, 172, 175, 177, 179, 185, 186, 188, 189, 191, 192, 195, 196, 197, 199, 200, 201, 203, 206, 207, 208, 209, 210, 211, 212, 215, 216, 217, 219, 221, 224, 225, 231, 239, 240, 241, 242, 243, 244, 247, 249], [0, 1, 3, 4, 5, 6, 7, 10, 11, 12, 13, 16, 19, 21, 23, 25, 30, 31, 32, 39, 41, 43, 44, 45, 46, 49, 50, 53, 58, 64, 65, 68, 69, 71, 72, 74, 77, 78, 80, 82, 85, 86, 87, 88, 92, 93, 94, 95, 98, 102, 104, 105, 107, 113, 115, 118, 120, 121, 122, 125, 126, 127, 130, 135, 136, 138, 139, 140, 141, 144, 145, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 160, 163, 164, 166, 168, 169, 171, 173, 174, 176, 177, 178, 179, 180, 181, 183, 185, 186, 188, 190, 194, 197, 198, 199, 201, 202, 207, 209, 211, 215, 216, 217, 218, 219, 220, 222, 224, 225, 226, 234, 242, 247, 248, 249], [3, 6, 7, 11, 12, 13, 17, 19, 20, 23, 24, 25, 27, 28, 30, 31, 40, 41, 42, 46, 50, 53, 54, 56, 57, 58, 63, 64, 66, 68, 70, 71, 72, 73, 79, 80, 81, 85, 91, 92, 95, 97, 99, 100, 109, 110, 116, 119, 120, 121, 124, 125, 126, 128, 129, 131, 134, 135, 136, 137, 140, 142, 143, 144, 145, 147, 151, 152, 153, 156, 157, 158, 160, 162, 164, 165, 166, 172, 173, 176, 177, 185, 186, 187, 189, 191, 193, 194, 195, 197, 202, 205, 207, 209, 210, 211, 212, 213, 214, 215, 219, 220, 223, 226, 227, 228, 230, 231, 233, 234, 237, 238, 241, 244, 245, 246], [1, 2, 3, 4, 6, 8, 9, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 30, 32, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 57, 58, 59, 63, 64, 67, 69, 72, 73, 77, 80, 81, 83, 86, 88, 89, 91, 95, 96, 97, 99, 100, 103, 104, 105, 106, 107, 108, 109, 110, 111, 114, 124, 127, 130, 131, 137, 139, 140, 141, 146, 147, 148, 151, 152, 157, 161, 165, 167, 168, 174, 176, 178, 180, 181, 185, 186, 188, 189, 191, 193, 194, 195, 201, 203, 205, 207, 208, 211, 213, 214, 215, 216, 219, 220, 222, 226, 228, 230, 232, 234, 236, 237, 242, 244, 246, 248, 249], [1, 3, 5, 12, 14, 16, 17, 19, 23, 26, 27, 29, 30, 33, 34, 35, 36, 39, 40, 41, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56, 58, 60, 65, 67, 70, 74, 76, 77, 78, 80, 81, 82, 83, 85, 89, 92, 94, 100, 101, 103, 104, 105, 106, 108, 109, 111, 112, 115, 118, 119, 120, 121, 122, 127, 128, 132, 136, 137, 138, 141, 143, 144, 145, 147, 148, 150, 154, 155, 156, 157, 158, 160, 161, 163, 164, 167, 168, 169, 170, 171, 173, 174, 177, 178, 180, 183, 185, 188, 192, 193, 194, 197, 198, 201, 203, 204, 205, 206, 207, 208, 209, 210, 213, 214, 216, 219, 222, 223, 225, 234, 236, 238, 239, 240, 244, 245, 246, 247, 248], [0, 3, 4, 5, 6, 9, 10, 13, 14, 15, 17, 21, 22, 25, 27, 28, 30, 31, 34, 35, 38, 39, 40, 41, 42, 43, 44, 48, 51, 53, 54, 56, 57, 59, 61, 62, 63, 64, 65, 66, 67, 68, 70, 72, 73, 75, 76, 78, 80, 82, 87, 89, 91, 96, 97, 98, 99, 100, 101, 102, 106, 107, 108, 109, 112, 115, 117, 118, 119, 121, 122, 124, 128, 129, 133, 134, 135, 139, 140, 144, 146, 147, 148, 149, 154, 155, 157, 159, 161, 162, 163, 165, 166, 167, 168, 170, 172, 174, 177, 178, 182, 183, 184, 185, 189, 190, 192, 193, 195, 197, 200, 204, 205, 207, 208, 209, 211, 212, 213, 216, 217, 218, 219, 224, 226, 227, 229, 230, 231, 233, 237, 238, 239, 241, 242, 243, 244, 245, 246, 247, 248], [0, 1, 2, 3, 5, 8, 11, 12, 14, 18, 22, 24, 25, 28, 29, 35, 36, 42, 45, 46, 49, 50, 52, 53, 54, 55, 57, 58, 60, 62, 69, 72, 77, 81, 85, 86, 87, 93, 94, 95, 99, 100, 102, 104, 105, 106, 107, 111, 114, 116, 117, 118, 127, 128, 137, 140, 142, 144, 149, 154, 155, 158, 160, 161, 163, 165, 166, 167, 168, 171, 172, 173, 174, 175, 185, 188, 189, 190, 194, 199, 200, 201, 202, 204, 206, 211, 212, 216, 219, 220, 221, 225, 227, 230, 231, 232, 233, 237, 239, 242, 244], [0, 1, 2, 3, 7, 8, 11, 13, 14, 17, 23, 26, 29, 30, 39, 40, 41, 42, 43, 46, 49, 52, 53, 54, 55, 56, 57, 58, 62, 64, 65, 68, 69, 74, 78, 80, 81, 82, 84, 85, 87, 90, 91, 92, 93, 94, 95, 98, 99, 102, 103, 105, 106, 107, 111, 112, 114, 117, 118, 119, 123, 124, 125, 126, 127, 129, 130, 131, 132, 134, 136, 141, 144, 146, 147, 151, 153, 154, 155, 160, 161, 162, 163, 168, 169, 170, 172, 173, 174, 175, 176, 177, 179, 180, 181, 183, 186, 190, 191, 192, 194, 196, 198, 202, 203, 205, 207, 208, 209, 210, 212, 215, 216, 218, 219, 221, 222, 223, 224, 225, 226, 227, 228, 229, 231, 232, 233, 234, 235, 238, 239, 240, 241, 242, 244, 245], [1, 3, 6, 9, 10, 14, 15, 16, 17, 21, 22, 23, 25, 26, 29, 31, 32, 33, 34, 35, 36, 37, 40, 43, 44, 47, 52, 55, 57, 59, 61, 62, 63, 65, 66, 68, 69, 70, 73, 74, 77, 78, 79, 80, 81, 82, 83, 86, 87, 89, 93, 95, 98, 99, 106, 107, 108, 109, 110, 111, 113, 115, 120, 121, 122, 123, 124, 126, 127, 128, 131, 132, 133, 134, 138, 142, 143, 147, 151, 152, 153, 154, 155, 157, 158, 161, 165, 167, 168, 170, 171, 172, 176, 177, 178, 181, 182, 183, 185, 187, 190, 193, 195, 196, 197, 198, 201, 205, 206, 208, 211, 214, 216, 217, 219, 225, 229, 230, 231, 235, 236, 238, 240, 241, 244, 245, 248, 249], [1, 2, 4, 6, 10, 13, 15, 16, 19, 20, 21, 24, 28, 29, 31, 33, 35, 38, 40, 42, 43, 45, 47, 48, 50, 51, 52, 54, 55, 59, 61, 63, 64, 65, 68, 69, 71, 74, 77, 78, 83, 84, 87, 89, 90, 92, 93, 95, 97, 99, 100, 101, 105, 107, 108, 109, 115, 118, 120, 122, 123, 125, 126, 127, 131, 133, 134, 135, 136, 140, 143, 145, 146, 147, 150, 152, 154, 156, 157, 159, 162, 163, 164, 165, 167, 168, 171, 172, 173, 175, 179, 180, 182, 183, 185, 186, 187, 189, 190, 191, 192, 193, 194, 195, 196, 197, 204, 206, 207, 209, 210, 211, 213, 214, 215, 216, 217, 218, 220, 223, 225, 226, 227, 228, 230, 231, 232, 234, 235, 236, 238, 239, 240, 242, 243, 244, 246, 247], [0, 3, 4, 5, 8, 10, 12, 14, 17, 18, 19, 20, 21, 22, 23, 29, 30, 34, 37, 40, 41, 42, 43, 46, 47, 54, 55, 62, 63, 64, 66, 69, 72, 73, 74, 76, 77, 79, 80, 82, 83, 85, 87, 88, 89, 93, 94, 95, 97, 100, 101, 102, 103, 105, 110, 111, 112, 113, 114, 115, 118, 120, 121, 123, 124, 125, 127, 129, 132, 133, 134, 138, 139, 142, 144, 145, 147, 148, 149, 151, 153, 154, 158, 159, 160, 162, 163, 167, 169, 171, 172, 174, 179, 180, 181, 182, 184, 185, 190, 191, 193, 194, 195, 196, 199, 200, 201, 202, 203, 206, 210, 212, 213, 214, 222, 223, 224, 225, 226, 227, 228, 230, 231, 236, 242, 244, 245, 246, 247, 249], [3, 4, 8, 10, 11, 12, 14, 15, 17, 19, 20, 21, 22, 27, 28, 29, 33, 34, 40, 43, 46, 49, 51, 53, 58, 59, 60, 61, 63, 65, 66, 67, 70, 71, 72, 76, 79, 81, 82, 84, 89, 92, 97, 99, 100, 101, 102, 103, 105, 107, 109, 110, 111, 112, 118, 122, 124, 126, 127, 128, 129, 131, 133, 134, 136, 137, 139, 141, 143, 144, 147, 148, 149, 151, 152, 154, 155, 156, 157, 162, 166, 167, 168, 171, 172, 174, 175, 178, 180, 181, 182, 183, 185, 186, 187, 188, 191, 192, 193, 194, 196, 198, 201, 203, 204, 206, 210, 211, 214, 216, 218, 219, 223, 224, 225, 226, 227, 228, 232, 234, 235, 243, 245, 246, 247, 248], [0, 2, 3, 5, 7, 9, 15, 18, 20, 22, 23, 26, 29, 30, 35, 36, 40, 44, 46, 48, 50, 51, 52, 56, 59, 60, 61, 62, 63, 64, 65, 67, 70, 71, 72, 74, 75, 79, 82, 83, 84, 86, 87, 89, 90, 97, 98, 99, 100, 102, 104, 105, 108, 109, 110, 112, 114, 115, 116, 117, 120, 121, 123, 126, 130, 135, 139, 143, 145, 146, 148, 151, 153, 155, 156, 159, 160, 161, 162, 166, 167, 169, 172, 175, 177, 179, 184, 185, 187, 192, 193, 198, 201, 203, 204, 207, 210, 213, 215, 216, 218, 221, 222, 224, 226, 229, 233, 235, 239, 240, 242, 243, 245, 246, 247], [0, 1, 2, 3, 4, 5, 6, 11, 13, 15, 16, 20, 21, 22, 26, 29, 31, 33, 40, 41, 42, 43, 44, 47, 50, 53, 55, 56, 58, 60, 63, 65, 67, 68, 75, 77, 79, 80, 83, 85, 87, 91, 92, 93, 94, 100, 106, 107, 109, 112, 115, 116, 118, 121, 123, 124, 125, 129, 134, 140, 142, 143, 146, 150, 151, 153, 154, 156, 158, 159, 161, 165, 168, 174, 176, 177, 179, 180, 181, 182, 191, 192, 193, 195, 199, 202, 203, 204, 208, 211, 212, 214, 216, 218, 221, 222, 224, 225, 226, 227, 229, 235, 236, 238, 239, 240, 242, 243, 244, 246, 247, 248, 249], [0, 1, 3, 6, 7, 9, 12, 13, 14, 18, 19, 24, 25, 26, 27, 29, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 46, 47, 49, 52, 54, 55, 59, 62, 64, 66, 70, 71, 72, 75, 76, 79, 80, 81, 83, 84, 87, 88, 91, 93, 94, 95, 99, 100, 105, 106, 108, 110, 113, 115, 117, 118, 119, 123, 124, 125, 126, 127, 128, 131, 133, 134, 136, 137, 141, 142, 144, 148, 151, 154, 156, 157, 158, 160, 161, 162, 164, 167, 174, 175, 181, 182, 183, 186, 187, 188, 191, 192, 193, 195, 197, 202, 204, 205, 208, 213, 214, 217, 221, 222, 223, 224, 226, 230, 231, 233, 234, 237, 238, 239, 241, 244, 245, 247, 248, 249], [1, 5, 6, 8, 13, 15, 16, 17, 19, 20, 21, 23, 25, 26, 29, 30, 31, 36, 44, 46, 47, 48, 54, 55, 58, 59, 63, 64, 66, 67, 70, 78, 80, 81, 82, 84, 85, 87, 88, 89, 91, 92, 93, 94, 96, 97, 98, 99, 102, 103, 106, 107, 110, 112, 114, 117, 118, 120, 124, 125, 126, 127, 128, 132, 135, 137, 139, 140, 146, 147, 148, 153, 156, 157, 159, 160, 161, 165, 166, 168, 169, 172, 173, 174, 175, 178, 180, 181, 183, 184, 188, 191, 196, 201, 203, 209, 211, 212, 213, 217, 221, 222, 224, 225, 226, 227, 228, 229, 232, 237, 238, 240, 241, 242, 245, 246, 247, 248, 249], [1, 4, 6, 7, 8, 9, 10, 11, 12, 14, 16, 21, 22, 25, 28, 29, 30, 32, 33, 35, 36, 37, 39, 40, 41, 43, 48, 51, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 75, 76, 78, 80, 82, 86, 89, 90, 92, 95, 96, 102, 104, 106, 107, 110, 112, 113, 116, 117, 118, 119, 121, 123, 124, 125, 126, 127, 128, 132, 134, 138, 139, 140, 142, 144, 145, 149, 156, 157, 158, 160, 161, 162, 163, 165, 166, 167, 169, 172, 175, 176, 180, 181, 183, 185, 186, 189, 191, 192, 193, 194, 197, 198, 199, 205, 206, 208, 209, 210, 211, 214, 215, 216, 217, 221, 222, 224, 225, 227, 229, 230, 231, 232, 234, 235, 237, 239, 240, 241, 242, 244, 246, 248], [1, 3, 5, 6, 10, 11, 12, 15, 17, 18, 20, 23, 25, 27, 28, 29, 30, 32, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 46, 49, 51, 53, 57, 59, 65, 66, 67, 70, 72, 78, 80, 82, 84, 87, 88, 89, 93, 94, 98, 102, 104, 105, 107, 108, 109, 110, 111, 115, 118, 119, 123, 126, 127, 129, 135, 141, 143, 145, 147, 151, 152, 156, 157, 161, 165, 168, 169, 170, 173, 175, 181, 182, 184, 186, 188, 191, 194, 196, 200, 201, 202, 204, 206, 210, 211, 212, 216, 217, 220, 224, 225, 227, 229, 230, 232, 234, 235, 236, 239, 244, 249], [2, 7, 8, 10, 13, 16, 17, 20, 22, 24, 26, 27, 28, 31, 33, 35, 36, 37, 39, 44, 51, 54, 55, 57, 60, 61, 69, 70, 74, 76, 77, 80, 84, 85, 88, 90, 91, 94, 95, 96, 97, 102, 106, 108, 109, 111, 114, 120, 123, 124, 125, 128, 129, 133, 137, 145, 147, 148, 150, 151, 152, 159, 160, 161, 162, 166, 169, 170, 171, 176, 178, 182, 184, 185, 187, 189, 190, 193, 194, 196, 198, 201, 203, 204, 206, 209, 210, 215, 216, 218, 219, 223, 225, 226, 229, 230, 232, 233, 234, 236, 237, 238, 239, 240, 242, 243, 248], [2, 3, 6, 9, 11, 13, 14, 15, 18, 19, 21, 22, 25, 26, 27, 29, 30, 31, 32, 35, 36, 37, 38, 40, 42, 44, 45, 47, 49, 50, 52, 54, 55, 57, 60, 62, 66, 67, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84, 85, 88, 89, 90, 91, 92, 96, 97, 101, 104, 105, 109, 111, 112, 114, 117, 124, 125, 126, 127, 128, 132, 133, 134, 139, 141, 143, 144, 145, 146, 150, 154, 157, 161, 170, 171, 172, 173, 175, 176, 177, 183, 184, 185, 186, 187, 188, 189, 191, 192, 193, 194, 195, 197, 198, 199, 200, 201, 205, 206, 209, 210, 211, 218, 219, 222, 223, 226, 227, 230, 234, 235, 236, 241, 243, 245], [0, 9, 11, 12, 15, 17, 18, 19, 23, 30, 32, 35, 37, 38, 41, 42, 43, 46, 47, 49, 55, 56, 64, 66, 67, 69, 72, 73, 74, 75, 76, 77, 79, 84, 85, 86, 87, 89, 90, 91, 93, 94, 97, 103, 104, 105, 106, 110, 111, 112, 113, 114, 115, 117, 120, 121, 123, 130, 132, 133, 134, 137, 138, 139, 140, 142, 144, 146, 147, 155, 156, 159, 160, 161, 163, 167, 168, 171, 172, 174, 175, 177, 179, 180, 184, 186, 188, 191, 192, 196, 197, 198, 200, 201, 202, 203, 204, 206, 210, 211, 214, 215, 222, 224, 227, 229, 232, 233, 234, 236, 237, 238, 239, 242, 243, 244, 247, 248], [1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 16, 20, 21, 22, 24, 25, 27, 28, 29, 31, 33, 35, 39, 40, 41, 43, 46, 52, 53, 55, 57, 58, 59, 61, 66, 69, 70, 71, 72, 74, 76, 77, 78, 80, 82, 83, 84, 90, 95, 96, 98, 102, 103, 104, 107, 111, 112, 113, 116, 117, 120, 123, 127, 128, 132, 133, 139, 140, 142, 143, 146, 148, 150, 152, 154, 155, 156, 157, 161, 163, 164, 165, 166, 169, 170, 171, 172, 175, 177, 178, 181, 184, 188, 193, 194, 195, 196, 197, 198, 199, 201, 202, 204, 208, 209, 210, 213, 217, 223, 224, 225, 228, 229, 231, 234, 235, 237, 238, 239, 240, 241, 244, 247, 248], [1, 2, 5, 8, 9, 10, 11, 13, 14, 16, 17, 18, 19, 20, 23, 24, 25, 28, 29, 33, 37, 39, 42, 43, 44, 45, 46, 48, 49, 50, 51, 55, 56, 59, 60, 61, 66, 67, 68, 76, 77, 84, 85, 89, 91, 97, 102, 108, 110, 112, 113, 115, 116, 117, 118, 119, 124, 125, 126, 128, 129, 130, 134, 135, 136, 139, 140, 141, 142, 143, 146, 147, 150, 151, 154, 155, 156, 157, 161, 165, 166, 167, 172, 175, 177, 179, 180, 181, 182, 183, 186, 188, 191, 192, 194, 196, 197, 199, 200, 201, 203, 204, 207, 208, 209, 210, 212, 214, 216, 217, 218, 219, 220, 221, 225, 229, 231, 232, 233, 234, 236, 238, 239, 240, 243, 244, 248, 249], [0, 5, 6, 7, 12, 13, 21, 23, 25, 26, 28, 33, 35, 36, 37, 40, 41, 42, 43, 44, 45, 47, 54, 55, 59, 61, 62, 63, 64, 66, 67, 71, 72, 73, 75, 76, 77, 79, 80, 81, 82, 85, 86, 87, 88, 89, 91, 93, 94, 95, 96, 97, 99, 100, 104, 105, 107, 109, 110, 112, 113, 115, 119, 120, 121, 122, 124, 125, 127, 128, 129, 130, 136, 137, 138, 139, 140, 142, 143, 144, 147, 149, 151, 154, 155, 156, 158, 159, 160, 161, 163, 166, 169, 171, 173, 174, 175, 178, 179, 180, 181, 182, 183, 191, 192, 193, 195, 197, 198, 199, 200, 201, 203, 208, 209, 210, 213, 218, 223, 224, 225, 226, 229, 232, 234, 235, 238, 239, 240, 241, 243, 248, 249], [0, 1, 2, 3, 4, 6, 7, 9, 11, 13, 16, 18, 21, 22, 23, 25, 26, 27, 29, 30, 32, 36, 37, 38, 40, 42, 43, 45, 46, 47, 48, 49, 51, 54, 57, 58, 60, 63, 64, 65, 67, 68, 70, 71, 76, 77, 82, 83, 85, 86, 87, 89, 92, 94, 96, 99, 101, 104, 107, 108, 109, 110, 111, 113, 117, 118, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131, 132, 135, 137, 139, 141, 142, 144, 145, 148, 153, 154, 158, 159, 161, 164, 165, 167, 170, 172, 175, 176, 177, 179, 181, 184, 192, 195, 196, 198, 200, 201, 202, 206, 207, 210, 211, 212, 217, 219, 224, 225, 228, 229, 230, 237, 238, 240, 241, 242, 243, 246, 248], [0, 4, 6, 9, 16, 18, 19, 20, 21, 22, 23, 28, 30, 32, 33, 34, 35, 37, 39, 41, 43, 44, 46, 47, 50, 55, 57, 59, 60, 61, 66, 68, 69, 77, 78, 79, 81, 84, 86, 88, 91, 92, 93, 94, 97, 100, 101, 102, 103, 104, 106, 107, 109, 110, 111, 113, 114, 115, 120, 122, 127, 130, 132, 134, 140, 141, 142, 144, 146, 148, 149, 150, 151, 153, 154, 155, 158, 160, 161, 162, 163, 174, 177, 178, 182, 183, 184, 185, 186, 187, 189, 190, 193, 194, 195, 196, 197, 198, 199, 203, 205, 206, 209, 210, 211, 212, 216, 218, 220, 223, 224, 226, 227, 228, 231, 232, 235, 238, 241, 243, 248], [2, 4, 5, 7, 14, 16, 17, 20, 23, 25, 26, 28, 30, 32, 34, 35, 36, 37, 38, 39, 43, 44, 45, 47, 49, 50, 51, 56, 58, 62, 64, 65, 66, 67, 68, 70, 71, 72, 78, 80, 81, 83, 84, 85, 86, 91, 92, 94, 95, 99, 100, 102, 104, 106, 108, 109, 112, 113, 114, 115, 118, 119, 121, 126, 127, 128, 129, 130, 131, 132, 133, 135, 136, 137, 138, 141, 144, 146, 149, 152, 154, 155, 157, 159, 163, 165, 167, 169, 170, 173, 175, 178, 179, 182, 185, 186, 187, 188, 190, 191, 193, 194, 198, 199, 202, 204, 206, 208, 213, 216, 217, 223, 224, 226, 227, 228, 230, 234, 235, 236, 241, 242, 243, 244, 245, 247, 248, 249], [0, 2, 3, 4, 5, 7, 9, 13, 14, 16, 17, 18, 19, 23, 24, 25, 26, 31, 32, 34, 35, 38, 42, 44, 47, 49, 50, 53, 55, 57, 58, 61, 62, 63, 64, 65, 69, 70, 72, 74, 76, 77, 79, 81, 82, 84, 87, 88, 89, 91, 92, 93, 98, 103, 104, 105, 107, 109, 110, 111, 113, 116, 118, 119, 120, 121, 122, 125, 127, 128, 130, 131, 132, 137, 138, 140, 141, 147, 150, 151, 152, 153, 155, 157, 158, 161, 162, 165, 167, 168, 169, 170, 171, 172, 176, 178, 180, 181, 183, 184, 185, 186, 187, 188, 189, 192, 193, 194, 198, 199, 200, 202, 203, 204, 205, 206, 207, 209, 213, 214, 217, 218, 219, 220, 221, 224, 227, 230, 234, 240, 242, 243, 248, 249], [0, 1, 5, 6, 7, 9, 10, 11, 13, 16, 17, 18, 20, 22, 24, 25, 27, 28, 32, 33, 36, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 52, 53, 54, 55, 56, 59, 62, 67, 69, 70, 73, 77, 79, 80, 81, 82, 83, 87, 88, 91, 92, 94, 97, 98, 103, 104, 105, 106, 109, 110, 111, 113, 116, 117, 118, 119, 120, 122, 123, 126, 127, 128, 132, 133, 134, 136, 137, 138, 140, 142, 144, 145, 147, 148, 152, 154, 157, 160, 161, 162, 163, 165, 167, 168, 170, 171, 173, 174, 175, 177, 180, 181, 183, 184, 188, 192, 194, 195, 198, 200, 204, 205, 208, 212, 213, 214, 219, 220, 223, 224, 226, 227, 228, 229, 230, 231, 233, 235, 236, 237, 238, 239, 241, 243, 245, 248, 249], [0, 1, 2, 7, 10, 12, 14, 16, 17, 21, 23, 24, 29, 31, 34, 36, 37, 38, 40, 41, 42, 43, 44, 45, 47, 49, 54, 55, 58, 61, 62, 63, 64, 66, 69, 71, 72, 75, 76, 77, 81, 84, 85, 86, 91, 92, 93, 94, 95, 96, 101, 102, 104, 106, 108, 109, 110, 111, 115, 117, 118, 119, 127, 128, 129, 133, 136, 137, 140, 142, 143, 144, 145, 148, 149, 150, 151, 152, 153, 156, 157, 158, 159, 161, 163, 164, 165, 166, 171, 174, 175, 177, 180, 184, 185, 187, 188, 189, 193, 197, 203, 210, 213, 216, 218, 219, 220, 222, 223, 225, 226, 228, 230, 232, 235, 236, 237, 238, 240, 241, 246, 247, 248], [0, 1, 5, 7, 8, 9, 12, 13, 14, 15, 19, 20, 21, 25, 26, 31, 33, 34, 35, 37, 39, 40, 44, 47, 50, 52, 54, 59, 62, 63, 67, 69, 71, 72, 75, 82, 83, 85, 88, 92, 93, 94, 95, 96, 99, 100, 102, 103, 105, 107, 108, 111, 113, 115, 116, 117, 118, 119, 121, 125, 127, 128, 129, 130, 137, 139, 141, 143, 144, 145, 151, 153, 155, 156, 157, 158, 160, 161, 162, 163, 165, 167, 173, 174, 176, 177, 178, 184, 185, 188, 189, 190, 191, 192, 194, 195, 196, 197, 200, 201, 208, 216, 218, 219, 221, 223, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 244, 246, 248, 249], [0, 1, 3, 4, 5, 8, 9, 12, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 27, 29, 31, 35, 36, 39, 40, 41, 42, 44, 46, 49, 51, 54, 56, 58, 59, 60, 69, 70, 72, 73, 75, 77, 79, 80, 83, 84, 88, 89, 90, 96, 97, 98, 101, 103, 106, 107, 111, 112, 115, 119, 120, 122, 123, 126, 128, 129, 130, 134, 135, 136, 138, 140, 141, 143, 145, 146, 147, 151, 152, 156, 158, 161, 162, 163, 164, 165, 166, 167, 169, 173, 175, 176, 177, 180, 182, 187, 189, 196, 197, 198, 199, 200, 201, 203, 205, 208, 210, 211, 212, 214, 217, 218, 219, 221, 222, 225, 230, 232, 237, 241, 245, 246, 248], [0, 1, 2, 3, 4, 7, 8, 11, 13, 15, 16, 17, 18, 19, 20, 23, 24, 25, 27, 28, 31, 32, 33, 35, 36, 37, 39, 40, 41, 48, 49, 50, 52, 53, 55, 62, 69, 73, 75, 79, 82, 83, 84, 85, 86, 87, 90, 92, 93, 95, 98, 99, 100, 105, 108, 111, 113, 114, 117, 118, 120, 121, 124, 127, 129, 130, 131, 132, 133, 134, 135, 137, 140, 141, 142, 143, 145, 147, 148, 150, 151, 152, 153, 155, 156, 157, 158, 159, 163, 164, 167, 170, 172, 174, 175, 176, 177, 178, 180, 183, 193, 194, 195, 196, 199, 200, 203, 205, 208, 209, 210, 211, 213, 214, 215, 221, 222, 224, 225, 227, 229, 230, 231, 233, 239, 240, 241, 243, 244, 248], [1, 3, 5, 8, 9, 12, 15, 17, 18, 19, 20, 21, 23, 26, 29, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 49, 51, 52, 55, 58, 60, 62, 63, 65, 66, 68, 78, 80, 81, 87, 88, 89, 92, 94, 96, 97, 98, 99, 100, 101, 102, 104, 107, 109, 110, 111, 113, 114, 115, 116, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 138, 143, 144, 145, 146, 149, 150, 151, 152, 153, 154, 157, 158, 159, 161, 162, 163, 164, 166, 168, 170, 172, 174, 175, 177, 178, 179, 180, 181, 182, 183, 185, 187, 190, 191, 193, 194, 195, 196, 197, 198, 199, 200, 202, 203, 204, 206, 208, 210, 214, 215, 217, 221, 224, 226, 229, 230, 232, 233, 235, 237, 241, 243, 244, 245, 246, 247, 249], [3, 4, 5, 6, 7, 8, 11, 13, 16, 17, 19, 20, 23, 24, 27, 28, 33, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 48, 50, 51, 56, 57, 58, 60, 63, 65, 67, 71, 74, 75, 76, 77, 78, 80, 81, 85, 89, 90, 93, 94, 96, 97, 100, 101, 103, 109, 110, 113, 115, 117, 118, 120, 123, 127, 128, 130, 131, 134, 135, 139, 141, 142, 144, 145, 147, 149, 150, 152, 153, 155, 157, 158, 159, 160, 161, 165, 166, 167, 169, 170, 178, 179, 180, 184, 187, 189, 191, 193, 194, 196, 197, 198, 199, 201, 202, 206, 210, 211, 212, 214, 218, 219, 220, 221, 224, 225, 228, 229, 230, 231, 232, 233, 235, 238, 239, 242, 244, 245], [2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 16, 17, 19, 22, 23, 24, 26, 28, 30, 31, 34, 37, 40, 41, 45, 46, 47, 49, 52, 53, 57, 58, 59, 60, 61, 62, 63, 66, 67, 71, 73, 74, 76, 77, 80, 81, 83, 85, 86, 87, 88, 91, 93, 94, 95, 98, 100, 102, 104, 105, 106, 107, 108, 109, 110, 113, 116, 117, 121, 127, 129, 130, 132, 133, 135, 138, 140, 144, 146, 151, 153, 154, 155, 156, 157, 159, 161, 163, 164, 166, 169, 170, 171, 172, 173, 175, 177, 182, 184, 185, 187, 193, 196, 199, 200, 201, 204, 205, 206, 208, 210, 212, 213, 216, 217, 220, 225, 226, 228, 229, 230, 233, 234, 235, 238, 239, 240, 242, 244, 246, 248], [2, 3, 4, 6, 7, 9, 15, 16, 19, 21, 22, 24, 25, 26, 27, 28, 31, 33, 35, 38, 39, 40, 43, 45, 46, 48, 51, 52, 55, 57, 60, 61, 62, 64, 66, 68, 69, 70, 71, 73, 74, 75, 76, 80, 81, 83, 84, 87, 92, 93, 97, 100, 101, 102, 104, 106, 108, 109, 112, 113, 118, 119, 123, 126, 129, 130, 132, 133, 138, 139, 140, 141, 142, 146, 148, 149, 150, 152, 153, 155, 156, 159, 160, 163, 164, 165, 166, 167, 168, 169, 173, 176, 178, 179, 181, 185, 187, 189, 193, 194, 195, 196, 197, 199, 200, 206, 207, 210, 212, 213, 215, 217, 219, 221, 227, 228, 229, 230, 232, 234, 238, 239, 240, 243, 244, 245, 248, 249], [1, 2, 3, 4, 5, 6, 7, 10, 13, 14, 16, 18, 19, 21, 24, 33, 35, 36, 37, 38, 39, 41, 42, 44, 46, 48, 49, 50, 52, 54, 55, 56, 63, 64, 68, 69, 71, 72, 74, 78, 80, 83, 85, 86, 88, 89, 90, 91, 92, 96, 102, 103, 104, 110, 111, 112, 115, 118, 120, 122, 124, 125, 128, 130, 136, 138, 140, 141, 146, 147, 148, 150, 151, 152, 153, 154, 157, 159, 160, 161, 162, 164, 165, 167, 170, 171, 173, 177, 184, 186, 189, 191, 195, 198, 199, 203, 204, 205, 206, 208, 209, 214, 215, 217, 220, 221, 223, 224, 226, 227, 228, 231, 234, 236, 238, 239, 244, 246, 247], [0, 2, 3, 4, 7, 8, 11, 14, 15, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 38, 39, 41, 42, 43, 46, 49, 50, 52, 53, 54, 57, 59, 61, 62, 63, 66, 67, 68, 71, 74, 75, 77, 78, 80, 81, 83, 84, 87, 88, 90, 91, 93, 95, 98, 99, 105, 111, 114, 118, 119, 122, 123, 124, 125, 129, 130, 131, 136, 142, 144, 147, 149, 151, 153, 156, 157, 158, 159, 160, 163, 165, 167, 168, 169, 171, 172, 173, 177, 178, 179, 180, 183, 184, 186, 189, 190, 192, 193, 194, 197, 198, 199, 200, 202, 203, 204, 209, 210, 211, 216, 217, 219, 221, 222, 223, 224, 225, 235, 237, 239, 240, 241, 244, 247], [2, 3, 4, 7, 9, 12, 14, 15, 17, 19, 20, 21, 22, 23, 25, 27, 28, 29, 30, 33, 34, 39, 40, 41, 44, 47, 48, 49, 52, 53, 55, 56, 57, 60, 65, 67, 69, 71, 73, 75, 76, 77, 79, 80, 81, 83, 88, 90, 91, 93, 98, 99, 101, 104, 106, 108, 109, 110, 111, 112, 116, 117, 119, 120, 121, 126, 127, 128, 129, 131, 132, 133, 140, 141, 142, 145, 148, 151, 152, 155, 157, 163, 165, 168, 169, 172, 173, 176, 178, 179, 180, 181, 182, 184, 191, 192, 193, 195, 196, 197, 201, 204, 206, 210, 211, 212, 213, 219, 220, 221, 222, 224, 225, 226, 228, 231, 239, 241, 242, 245, 246, 247, 248], [0, 1, 2, 4, 5, 7, 8, 9, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 26, 27, 28, 29, 30, 31, 33, 34, 36, 41, 42, 44, 49, 50, 52, 53, 55, 56, 57, 59, 60, 61, 62, 65, 71, 74, 75, 78, 79, 80, 82, 83, 87, 92, 95, 97, 98, 100, 101, 102, 103, 107, 109, 110, 112, 113, 114, 115, 116, 117, 118, 120, 121, 123, 126, 128, 129, 130, 133, 134, 136, 138, 140, 143, 145, 147, 148, 149, 150, 152, 153, 154, 156, 158, 159, 160, 162, 163, 164, 167, 169, 170, 174, 175, 176, 177, 179, 180, 181, 182, 186, 187, 191, 194, 197, 198, 200, 201, 209, 210, 211, 212, 214, 215, 216, 217, 222, 223, 225, 226, 227, 234, 235, 236, 239, 240, 241, 244, 245, 246], [1, 4, 6, 7, 8, 9, 13, 15, 16, 18, 20, 24, 25, 26, 27, 28, 29, 30, 31, 35, 36, 37, 39, 40, 42, 43, 44, 46, 47, 50, 53, 54, 56, 57, 59, 62, 66, 67, 72, 73, 75, 77, 78, 79, 80, 81, 83, 84, 85, 86, 89, 90, 91, 93, 95, 96, 100, 101, 103, 104, 105, 107, 108, 113, 115, 117, 119, 120, 121, 122, 124, 125, 126, 127, 129, 131, 140, 142, 146, 148, 149, 150, 152, 153, 155, 156, 162, 163, 166, 170, 172, 173, 176, 178, 179, 180, 185, 186, 188, 189, 190, 193, 194, 195, 196, 199, 203, 204, 205, 207, 208, 211, 217, 218, 220, 221, 224, 225, 226, 227, 229, 232, 233, 234, 235, 238, 240, 241, 242, 243, 245, 246, 248], [0, 2, 3, 4, 5, 7, 9, 10, 11, 13, 14, 16, 17, 18, 19, 25, 27, 28, 33, 35, 37, 41, 43, 44, 45, 48, 49, 50, 51, 53, 54, 56, 59, 65, 67, 69, 71, 72, 73, 74, 76, 77, 78, 79, 81, 83, 87, 89, 91, 92, 94, 96, 101, 103, 104, 107, 112, 113, 115, 116, 119, 121, 122, 123, 125, 128, 130, 131, 132, 134, 135, 136, 137, 138, 143, 144, 146, 148, 151, 152, 153, 154, 161, 164, 167, 168, 169, 171, 172, 177, 180, 181, 182, 183, 184, 185, 187, 188, 189, 192, 193, 195, 196, 198, 199, 202, 203, 205, 207, 211, 213, 215, 220, 221, 222, 224, 226, 230, 231, 233, 234, 238, 239, 241, 242, 243, 244, 246], [2, 4, 5, 6, 7, 8, 9, 14, 17, 18, 22, 23, 24, 28, 32, 34, 35, 37, 38, 39, 40, 44, 45, 48, 51, 53, 54, 55, 56, 57, 58, 61, 64, 66, 68, 70, 72, 86, 87, 88, 89, 90, 91, 92, 95, 96, 97, 98, 102, 105, 108, 109, 111, 112, 113, 114, 115, 117, 119, 122, 125, 126, 128, 133, 134, 136, 137, 138, 139, 141, 144, 147, 148, 150, 155, 156, 157, 161, 162, 163, 164, 168, 169, 171, 174, 175, 176, 177, 179, 180, 182, 186, 189, 194, 195, 196, 198, 200, 203, 204, 205, 207, 208, 209, 210, 211, 213, 214, 215, 216, 217, 218, 219, 222, 224, 229, 232, 234, 235, 238, 241, 242, 244, 246, 248, 249], [6, 7, 11, 16, 19, 21, 25, 26, 27, 29, 30, 31, 34, 35, 36, 39, 40, 42, 43, 45, 48, 52, 55, 57, 59, 60, 61, 62, 63, 65, 67, 68, 73, 80, 81, 82, 83, 84, 86, 87, 89, 90, 91, 94, 95, 96, 98, 103, 105, 106, 107, 109, 111, 112, 114, 116, 117, 122, 125, 126, 127, 130, 132, 133, 135, 138, 140, 145, 147, 149, 152, 155, 157, 163, 167, 172, 173, 177, 179, 180, 182, 183, 185, 186, 191, 197, 198, 201, 202, 203, 204, 205, 207, 210, 211, 213, 214, 215, 216, 217, 218, 220, 224, 226, 227, 230, 231, 232, 235, 237, 238, 239], [2, 4, 6, 7, 8, 11, 12, 14, 15, 17, 18, 19, 23, 25, 28, 34, 35, 36, 39, 40, 41, 43, 46, 47, 48, 51, 52, 53, 55, 56, 58, 59, 61, 63, 65, 68, 70, 71, 72, 73, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 91, 92, 93, 95, 96, 99, 103, 104, 105, 109, 110, 113, 115, 118, 122, 124, 125, 127, 131, 133, 139, 140, 142, 143, 146, 147, 149, 153, 156, 157, 158, 159, 163, 164, 165, 168, 169, 171, 172, 175, 176, 181, 182, 183, 185, 189, 190, 191, 192, 195, 196, 197, 200, 201, 202, 206, 207, 208, 212, 215, 216, 217, 218, 219, 221, 223, 227, 229, 230, 231, 233, 236, 237, 241, 244, 245, 248, 249], [0, 1, 2, 7, 9, 10, 11, 14, 16, 17, 19, 23, 24, 25, 27, 30, 31, 32, 35, 36, 38, 39, 40, 42, 43, 46, 47, 49, 51, 52, 53, 54, 56, 57, 59, 60, 63, 65, 68, 70, 72, 74, 76, 78, 79, 80, 82, 83, 84, 85, 86, 88, 93, 94, 96, 97, 98, 99, 101, 102, 103, 105, 107, 108, 110, 112, 114, 115, 119, 120, 123, 127, 131, 132, 133, 134, 135, 136, 138, 139, 141, 142, 143, 146, 150, 155, 159, 161, 164, 166, 167, 168, 171, 172, 180, 182, 188, 189, 194, 198, 200, 201, 204, 205, 206, 209, 211, 215, 216, 217, 220, 223, 227, 228, 234, 236, 239, 240, 241, 245, 246, 249], [1, 2, 3, 9, 13, 14, 15, 16, 17, 19, 21, 23, 24, 25, 27, 28, 29, 32, 34, 36, 38, 39, 40, 45, 46, 49, 51, 52, 54, 56, 57, 58, 59, 60, 61, 63, 66, 68, 70, 71, 72, 73, 74, 75, 76, 78, 79, 82, 83, 87, 88, 89, 90, 93, 98, 103, 105, 106, 107, 110, 111, 113, 114, 115, 118, 119, 121, 124, 125, 127, 128, 134, 135, 137, 138, 139, 140, 142, 145, 148, 151, 153, 158, 159, 163, 176, 179, 183, 184, 185, 186, 188, 189, 194, 196, 197, 199, 200, 204, 205, 207, 215, 216, 218, 220, 221, 222, 224, 227, 228, 231, 232, 233, 235, 238, 239, 240, 242, 243, 245, 246, 249], [1, 2, 5, 6, 8, 11, 12, 13, 15, 16, 17, 18, 21, 23, 24, 26, 28, 31, 34, 37, 38, 39, 46, 47, 48, 49, 51, 52, 54, 55, 56, 59, 60, 61, 62, 64, 66, 67, 68, 70, 77, 78, 80, 81, 82, 83, 84, 87, 89, 90, 92, 93, 94, 95, 97, 100, 101, 103, 104, 105, 106, 107, 108, 111, 112, 118, 119, 120, 121, 122, 123, 126, 127, 128, 132, 133, 134, 135, 136, 139, 140, 141, 146, 147, 148, 149, 152, 157, 160, 164, 165, 167, 170, 171, 172, 173, 174, 175, 176, 178, 179, 182, 184, 190, 193, 195, 196, 198, 202, 203, 204, 206, 210, 212, 213, 214, 220, 221, 230, 236, 242, 246, 247], [0, 1, 4, 7, 8, 11, 13, 14, 15, 16, 17, 20, 23, 24, 26, 31, 34, 35, 38, 42, 43, 47, 48, 49, 50, 51, 53, 54, 56, 57, 61, 66, 68, 69, 71, 72, 73, 74, 76, 77, 80, 82, 83, 84, 85, 88, 89, 90, 93, 94, 96, 99, 100, 101, 102, 105, 106, 107, 108, 114, 116, 118, 119, 121, 123, 126, 129, 130, 134, 139, 140, 143, 147, 153, 154, 157, 159, 160, 161, 162, 165, 167, 169, 172, 177, 180, 182, 183, 185, 186, 188, 189, 191, 192, 193, 196, 198, 202, 205, 207, 211, 214, 217, 219, 220, 223, 224, 225, 227, 229, 230, 232, 233, 238, 239, 241, 245, 247, 248], [0, 1, 3, 5, 7, 8, 9, 12, 13, 15, 16, 18, 20, 24, 26, 28, 29, 32, 34, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 58, 60, 62, 63, 65, 67, 69, 74, 77, 78, 81, 83, 84, 88, 90, 91, 93, 98, 99, 103, 105, 107, 111, 115, 117, 118, 119, 123, 124, 128, 130, 131, 132, 133, 135, 136, 139, 142, 144, 146, 148, 149, 152, 154, 157, 158, 159, 160, 161, 162, 165, 166, 167, 168, 170, 171, 174, 176, 177, 181, 184, 185, 186, 188, 197, 198, 202, 203, 206, 209, 213, 215, 218, 219, 220, 221, 224, 225, 229, 230, 231, 233, 236, 239, 240, 242, 246, 247], [2, 3, 5, 6, 7, 12, 17, 18, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 33, 34, 35, 37, 39, 42, 44, 47, 49, 53, 56, 57, 59, 61, 62, 63, 65, 66, 72, 73, 74, 78, 79, 81, 82, 83, 89, 91, 93, 94, 97, 100, 101, 102, 105, 106, 107, 108, 112, 113, 115, 116, 118, 119, 121, 122, 125, 126, 128, 130, 131, 134, 137, 142, 144, 150, 151, 152, 153, 155, 157, 159, 165, 166, 168, 169, 171, 174, 176, 177, 178, 185, 187, 188, 191, 194, 195, 201, 207, 217, 218, 219, 222, 223, 224, 225, 226, 227, 228, 229, 232, 234, 240, 242, 243, 244, 248, 249], [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 16, 17, 18, 19, 22, 23, 26, 30, 31, 35, 37, 38, 39, 43, 44, 46, 48, 50, 51, 55, 56, 59, 61, 62, 64, 66, 68, 72, 73, 74, 76, 80, 83, 84, 87, 88, 90, 92, 93, 96, 98, 99, 100, 101, 103, 104, 105, 107, 110, 111, 112, 117, 118, 119, 122, 126, 131, 133, 135, 136, 137, 139, 140, 144, 147, 149, 150, 151, 152, 156, 161, 166, 167, 170, 173, 174, 176, 184, 185, 188, 191, 192, 194, 196, 200, 203, 205, 209, 210, 215, 218, 221, 222, 227, 228, 229, 230, 232, 236, 239, 243, 246, 248, 249], [1, 3, 7, 8, 10, 14, 16, 17, 20, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 38, 39, 44, 45, 46, 47, 52, 53, 54, 55, 57, 61, 65, 67, 68, 70, 71, 72, 77, 82, 84, 91, 93, 94, 100, 101, 102, 103, 104, 107, 110, 112, 113, 114, 115, 116, 117, 118, 120, 124, 127, 128, 132, 135, 136, 137, 139, 140, 141, 144, 145, 147, 148, 150, 153, 154, 156, 157, 161, 163, 164, 167, 172, 173, 175, 178, 179, 183, 184, 186, 190, 191, 192, 193, 196, 204, 205, 207, 211, 212, 213, 214, 217, 218, 220, 224, 225, 226, 228, 231, 235, 237, 243, 244, 246, 247], [4, 5, 6, 7, 8, 10, 11, 12, 15, 16, 17, 18, 22, 23, 26, 27, 29, 31, 37, 40, 44, 45, 46, 47, 48, 49, 50, 51, 53, 57, 58, 60, 61, 62, 63, 67, 68, 69, 70, 74, 75, 76, 78, 79, 80, 86, 89, 90, 92, 93, 94, 96, 100, 101, 103, 106, 109, 112, 114, 115, 116, 117, 119, 120, 122, 123, 124, 125, 126, 128, 129, 130, 132, 136, 137, 141, 143, 144, 145, 146, 149, 150, 153, 154, 156, 157, 160, 161, 162, 163, 167, 169, 170, 173, 174, 179, 181, 185, 186, 188, 191, 194, 195, 198, 199, 200, 204, 205, 207, 210, 211, 213, 214, 216, 217, 220, 221, 223, 225, 226, 230, 231, 232, 235, 236, 237, 238, 239, 245, 247], [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 18, 21, 22, 24, 29, 30, 34, 35, 39, 42, 43, 44, 45, 48, 55, 59, 62, 64, 65, 66, 67, 68, 71, 76, 78, 79, 83, 87, 88, 89, 90, 93, 95, 96, 98, 101, 106, 108, 110, 112, 114, 115, 119, 120, 123, 124, 125, 128, 133, 138, 142, 143, 144, 145, 146, 147, 148, 150, 151, 154, 155, 156, 157, 160, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 179, 181, 184, 186, 189, 190, 194, 195, 196, 199, 201, 203, 204, 205, 206, 207, 210, 211, 212, 213, 214, 218, 220, 225, 226, 227, 229, 230, 233, 234, 236, 237, 240, 242, 243, 244, 246, 247, 248], [2, 4, 5, 8, 10, 11, 12, 13, 18, 19, 20, 22, 23, 24, 26, 28, 29, 31, 32, 33, 34, 35, 36, 39, 41, 43, 45, 47, 48, 51, 56, 58, 59, 60, 62, 63, 64, 66, 69, 77, 78, 83, 84, 85, 87, 88, 89, 91, 93, 94, 97, 99, 102, 106, 107, 109, 110, 113, 114, 115, 116, 118, 119, 120, 121, 122, 125, 127, 128, 130, 131, 132, 133, 134, 139, 142, 143, 146, 147, 150, 151, 155, 157, 158, 159, 162, 163, 165, 166, 168, 170, 172, 173, 174, 176, 177, 179, 183, 186, 187, 189, 190, 191, 192, 193, 198, 199, 200, 201, 203, 204, 208, 211, 216, 217, 224, 225, 226, 227, 228, 229, 230, 231, 233, 235, 238, 240, 242, 245, 246, 247, 249], [1, 3, 5, 7, 10, 12, 14, 15, 16, 17, 19, 21, 28, 30, 31, 32, 40, 41, 42, 43, 45, 46, 47, 49, 50, 53, 55, 57, 58, 62, 63, 67, 68, 71, 72, 73, 75, 77, 80, 81, 82, 85, 87, 89, 91, 96, 98, 101, 103, 104, 105, 106, 107, 109, 110, 111, 114, 116, 119, 126, 127, 128, 129, 131, 132, 134, 136, 137, 138, 141, 143, 144, 145, 147, 151, 153, 155, 160, 163, 165, 168, 169, 173, 178, 183, 187, 188, 189, 193, 194, 195, 196, 197, 200, 202, 204, 205, 206, 208, 209, 210, 211, 212, 214, 216, 217, 218, 225, 226, 227, 230, 231, 234, 236, 237, 243, 244, 245, 249], [0, 1, 2, 3, 8, 9, 10, 11, 14, 18, 19, 20, 21, 22, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 37, 39, 41, 42, 44, 45, 48, 49, 52, 53, 55, 56, 58, 59, 63, 65, 66, 68, 69, 70, 74, 76, 78, 79, 81, 83, 86, 87, 88, 95, 96, 98, 105, 114, 115, 118, 119, 120, 125, 126, 127, 132, 134, 135, 138, 139, 142, 146, 148, 149, 151, 154, 155, 156, 157, 159, 160, 161, 165, 167, 172, 177, 178, 180, 183, 184, 185, 186, 187, 189, 190, 191, 192, 193, 194, 196, 198, 199, 200, 201, 202, 203, 204, 208, 213, 219, 220, 221, 224, 225, 230, 232, 235, 236, 237, 238, 239, 240, 242, 243, 244, 245, 247], [5, 6, 7, 9, 11, 12, 23, 24, 26, 28, 30, 31, 32, 33, 34, 38, 39, 41, 42, 43, 44, 45, 50, 51, 57, 59, 60, 61, 63, 64, 67, 68, 69, 71, 73, 74, 75, 76, 77, 78, 80, 81, 82, 83, 84, 90, 91, 92, 94, 95, 97, 100, 101, 103, 111, 112, 116, 117, 118, 119, 120, 121, 122, 125, 126, 129, 130, 132, 133, 136, 138, 142, 144, 150, 151, 154, 156, 158, 160, 163, 167, 168, 169, 172, 174, 176, 177, 178, 179, 180, 183, 184, 186, 187, 192, 193, 196, 201, 202, 203, 205, 207, 208, 209, 210, 211, 213, 214, 215, 217, 220, 222, 224, 227, 228, 231, 232, 236, 237, 238, 239, 242, 243, 244, 246, 247, 248, 249], [0, 1, 6, 8, 9, 12, 13, 15, 16, 18, 20, 21, 25, 26, 28, 29, 30, 31, 32, 35, 36, 38, 39, 40, 42, 45, 48, 49, 50, 51, 52, 54, 58, 59, 61, 63, 65, 70, 71, 72, 73, 76, 77, 81, 82, 83, 85, 86, 88, 89, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 109, 112, 117, 120, 122, 125, 128, 135, 136, 137, 141, 142, 144, 145, 148, 149, 152, 153, 154, 155, 159, 160, 161, 162, 166, 170, 171, 172, 173, 174, 175, 176, 177, 182, 188, 189, 190, 191, 192, 194, 202, 204, 210, 213, 214, 216, 218, 225, 226, 228, 231, 234, 236, 239, 241, 242, 243, 248], [2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 15, 18, 19, 21, 22, 24, 25, 27, 32, 36, 40, 41, 42, 44, 46, 48, 50, 51, 52, 53, 54, 58, 59, 64, 65, 66, 70, 71, 73, 74, 79, 81, 82, 84, 85, 87, 88, 90, 91, 93, 94, 95, 101, 103, 106, 107, 109, 110, 111, 115, 116, 119, 121, 124, 131, 138, 139, 140, 141, 143, 144, 148, 149, 150, 152, 155, 156, 157, 159, 162, 164, 166, 167, 170, 172, 173, 175, 176, 177, 178, 181, 182, 183, 185, 187, 189, 190, 192, 200, 203, 204, 205, 209, 211, 214, 216, 219, 220, 222, 223, 224, 229, 233, 235, 238, 240, 241, 243, 246, 247, 249], [1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 18, 20, 21, 23, 24, 25, 27, 29, 30, 32, 33, 34, 35, 36, 37, 39, 41, 45, 46, 47, 48, 53, 54, 55, 57, 59, 60, 61, 62, 63, 68, 69, 71, 72, 75, 76, 77, 78, 79, 83, 85, 86, 87, 88, 90, 91, 94, 96, 98, 100, 101, 104, 108, 109, 110, 112, 116, 117, 118, 124, 125, 136, 137, 138, 139, 140, 141, 145, 147, 148, 149, 152, 153, 159, 164, 166, 167, 168, 169, 171, 172, 175, 176, 177, 179, 182, 183, 184, 185, 190, 191, 192, 193, 195, 196, 197, 198, 200, 201, 202, 204, 206, 207, 209, 210, 212, 214, 216, 218, 220, 221, 223, 225, 226, 231, 232, 235, 238, 239, 241, 243], [5, 7, 11, 12, 14, 16, 17, 18, 20, 21, 23, 25, 27, 29, 32, 33, 38, 40, 42, 43, 45, 54, 55, 56, 57, 58, 60, 61, 64, 70, 72, 73, 74, 75, 76, 81, 83, 85, 89, 91, 96, 99, 101, 105, 106, 112, 117, 118, 123, 125, 127, 135, 139, 140, 141, 142, 145, 149, 150, 151, 152, 154, 155, 157, 159, 164, 165, 166, 169, 170, 173, 174, 175, 176, 177, 180, 181, 182, 184, 185, 188, 189, 190, 192, 195, 197, 200, 202, 203, 208, 209, 210, 211, 213, 214, 216, 219, 220, 225, 226, 228, 229, 232, 233, 234, 236, 240, 242, 246, 247], [0, 1, 4, 7, 8, 9, 10, 11, 15, 16, 17, 19, 24, 25, 27, 33, 34, 36, 37, 38, 39, 41, 44, 45, 49, 51, 52, 55, 56, 57, 58, 59, 60, 61, 63, 66, 67, 69, 70, 71, 73, 74, 75, 76, 77, 82, 83, 84, 86, 88, 90, 92, 93, 94, 95, 97, 98, 100, 103, 104, 107, 109, 111, 113, 115, 116, 117, 119, 120, 122, 128, 131, 132, 133, 134, 136, 137, 139, 140, 141, 142, 143, 146, 148, 151, 154, 156, 157, 158, 162, 164, 165, 172, 173, 174, 175, 177, 181, 182, 183, 184, 186, 187, 189, 192, 194, 195, 196, 198, 199, 200, 202, 204, 208, 209, 214, 216, 225, 227, 230, 232, 233, 234, 235, 236, 240, 242, 243, 247, 248], [1, 2, 3, 6, 9, 13, 14, 15, 16, 19, 21, 22, 24, 26, 27, 29, 30, 31, 33, 34, 35, 37, 39, 40, 44, 45, 47, 52, 53, 55, 56, 57, 59, 60, 61, 63, 65, 68, 69, 70, 71, 72, 74, 75, 77, 80, 82, 83, 85, 87, 88, 90, 93, 95, 96, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 126, 129, 130, 132, 133, 137, 141, 144, 145, 152, 154, 158, 160, 161, 165, 168, 169, 171, 172, 173, 174, 175, 178, 180, 181, 185, 186, 189, 194, 196, 201, 202, 208, 210, 211, 212, 213, 214, 215, 218, 219, 220, 221, 222, 224, 226, 227, 228, 229, 232, 234, 236, 237, 240, 241, 243, 244, 248, 249], [0, 1, 3, 4, 6, 7, 13, 17, 18, 19, 23, 27, 28, 29, 30, 31, 32, 33, 37, 43, 44, 45, 46, 49, 51, 53, 55, 58, 61, 63, 64, 66, 69, 71, 72, 74, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 93, 95, 97, 105, 106, 107, 109, 110, 113, 114, 116, 117, 118, 123, 125, 126, 127, 137, 139, 140, 141, 142, 149, 151, 152, 153, 155, 160, 161, 162, 164, 165, 166, 168, 172, 173, 175, 177, 178, 184, 186, 187, 189, 194, 197, 198, 199, 201, 202, 203, 204, 208, 210, 211, 212, 215, 216, 217, 220, 223, 230, 231, 232, 233, 234, 235, 237, 239, 240, 242, 243, 244, 245, 246], [2, 3, 4, 6, 8, 9, 10, 11, 12, 14, 15, 16, 22, 24, 26, 28, 29, 30, 32, 33, 35, 36, 41, 43, 45, 46, 48, 52, 56, 57, 58, 60, 62, 63, 64, 67, 68, 69, 71, 73, 74, 75, 79, 83, 84, 85, 86, 88, 89, 91, 92, 94, 96, 98, 100, 103, 104, 108, 109, 112, 113, 114, 115, 116, 117, 118, 121, 124, 125, 128, 130, 134, 135, 136, 137, 141, 142, 143, 144, 147, 148, 151, 154, 157, 158, 159, 162, 165, 168, 169, 174, 180, 181, 182, 183, 186, 187, 188, 190, 192, 194, 197, 199, 203, 205, 206, 207, 208, 211, 214, 219, 220, 222, 223, 226, 227, 228, 229, 234, 236, 237, 238, 239, 240, 241, 242, 243, 245, 246, 247], [0, 2, 3, 4, 5, 7, 8, 10, 11, 16, 18, 19, 20, 21, 22, 24, 26, 29, 31, 34, 35, 39, 40, 41, 44, 45, 46, 47, 50, 51, 59, 61, 62, 64, 65, 70, 71, 76, 77, 79, 83, 88, 89, 90, 93, 94, 99, 100, 101, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 122, 124, 125, 127, 129, 130, 132, 134, 135, 136, 139, 143, 145, 146, 149, 152, 156, 157, 158, 159, 161, 162, 169, 171, 172, 173, 174, 177, 180, 182, 187, 188, 191, 192, 194, 195, 196, 198, 205, 207, 208, 210, 214, 219, 221, 222, 223, 225, 231, 232, 233, 235, 236, 237, 240, 243, 244, 245, 246, 248, 249], [0, 4, 5, 6, 8, 9, 10, 11, 14, 16, 17, 20, 22, 28, 31, 32, 35, 39, 41, 42, 44, 46, 47, 49, 50, 52, 53, 54, 55, 56, 59, 60, 61, 62, 63, 64, 71, 77, 79, 81, 82, 84, 85, 86, 89, 92, 93, 94, 95, 98, 99, 103, 104, 105, 106, 108, 110, 112, 115, 116, 119, 124, 131, 134, 135, 136, 137, 138, 142, 143, 144, 150, 154, 155, 156, 157, 158, 159, 161, 163, 165, 168, 169, 170, 171, 173, 174, 178, 179, 182, 183, 184, 188, 190, 191, 192, 193, 200, 201, 204, 207, 210, 213, 217, 221, 223, 224, 226, 231, 234, 236, 238, 239, 241, 242, 244, 245, 247], [4, 5, 7, 8, 9, 12, 13, 16, 21, 23, 25, 28, 30, 32, 33, 34, 37, 39, 40, 41, 42, 44, 47, 48, 49, 50, 52, 53, 54, 55, 56, 60, 61, 62, 63, 66, 70, 71, 74, 76, 79, 81, 88, 89, 90, 91, 92, 93, 99, 100, 101, 102, 104, 105, 108, 109, 110, 111, 113, 114, 117, 121, 123, 124, 126, 129, 130, 132, 133, 134, 136, 138, 140, 143, 144, 145, 146, 148, 152, 153, 155, 156, 157, 161, 162, 164, 167, 169, 170, 173, 176, 177, 178, 179, 180, 181, 182, 185, 187, 188, 190, 191, 192, 195, 196, 198, 204, 208, 209, 211, 215, 216, 223, 229, 230, 233, 236, 237, 238, 239, 241, 243, 244, 246], [1, 2, 10, 11, 12, 14, 18, 19, 21, 22, 23, 24, 25, 27, 30, 32, 33, 35, 36, 40, 41, 43, 44, 46, 47, 48, 50, 51, 52, 53, 54, 56, 57, 59, 60, 61, 63, 65, 67, 68, 69, 71, 75, 77, 81, 82, 84, 88, 92, 93, 95, 96, 97, 106, 107, 108, 111, 114, 117, 118, 124, 126, 127, 129, 130, 131, 133, 134, 135, 141, 145, 146, 150, 151, 152, 154, 157, 159, 160, 161, 162, 163, 164, 166, 167, 169, 170, 172, 175, 176, 177, 181, 184, 191, 192, 194, 195, 196, 197, 200, 201, 203, 204, 205, 208, 209, 216, 217, 218, 219, 222, 224, 225, 226, 227, 231, 233, 234, 236, 237, 238, 240, 241, 242, 243, 245, 248, 249], [0, 4, 5, 8, 9, 12, 13, 14, 15, 16, 20, 23, 24, 28, 35, 36, 42, 49, 50, 51, 54, 55, 57, 59, 62, 65, 66, 68, 70, 71, 73, 76, 78, 80, 81, 82, 85, 87, 88, 90, 91, 93, 95, 96, 97, 101, 104, 105, 109, 111, 112, 113, 114, 115, 116, 117, 118, 120, 124, 127, 128, 129, 130, 132, 134, 135, 137, 140, 143, 146, 147, 150, 151, 152, 153, 157, 159, 160, 164, 165, 167, 170, 171, 172, 175, 176, 177, 179, 181, 183, 185, 186, 188, 189, 190, 193, 194, 195, 196, 198, 199, 206, 207, 208, 209, 213, 214, 216, 219, 220, 221, 222, 224, 228, 230, 231, 232, 233, 235, 237, 238, 240, 241, 242, 248, 249], [0, 1, 3, 4, 6, 11, 16, 17, 18, 20, 21, 23, 24, 25, 26, 30, 31, 33, 34, 35, 36, 41, 42, 44, 46, 48, 49, 50, 51, 53, 55, 56, 58, 60, 63, 64, 65, 68, 71, 73, 76, 78, 81, 84, 86, 89, 91, 92, 96, 101, 104, 105, 109, 110, 111, 113, 114, 115, 116, 122, 125, 126, 127, 129, 130, 132, 134, 135, 136, 139, 140, 141, 142, 143, 144, 145, 146, 148, 152, 156, 157, 158, 159, 162, 163, 164, 165, 166, 167, 168, 169, 174, 175, 177, 178, 179, 181, 182, 183, 184, 188, 190, 192, 193, 194, 195, 202, 204, 208, 211, 217, 218, 219, 221, 222, 226, 227, 229, 230, 231, 233, 238, 239, 240, 242, 245, 246, 248, 249], [2, 3, 4, 5, 10, 11, 12, 13, 15, 21, 23, 24, 26, 28, 32, 33, 36, 37, 39, 40, 41, 42, 43, 45, 46, 48, 51, 54, 58, 60, 61, 62, 63, 67, 77, 78, 79, 81, 82, 83, 84, 87, 88, 90, 92, 93, 94, 95, 96, 97, 100, 101, 107, 108, 109, 110, 112, 116, 117, 120, 126, 127, 133, 135, 139, 141, 143, 144, 145, 146, 148, 152, 153, 155, 159, 160, 164, 167, 168, 171, 174, 176, 178, 179, 180, 181, 182, 185, 188, 190, 191, 197, 198, 199, 202, 203, 207, 208, 218, 224, 226, 227, 228, 229, 230, 231, 233, 234, 235, 236, 237, 238, 245, 246, 247, 248, 249], [2, 5, 9, 10, 11, 13, 17, 19, 20, 21, 23, 24, 25, 26, 28, 30, 31, 32, 35, 36, 38, 39, 40, 41, 46, 48, 49, 50, 51, 56, 57, 64, 65, 68, 69, 70, 73, 74, 75, 76, 80, 81, 82, 83, 84, 85, 92, 94, 95, 96, 97, 98, 99, 103, 104, 105, 106, 111, 115, 118, 119, 123, 125, 126, 127, 128, 130, 132, 134, 140, 142, 144, 146, 147, 149, 151, 154, 158, 160, 161, 162, 165, 166, 167, 170, 176, 180, 181, 183, 184, 185, 187, 188, 189, 191, 193, 196, 198, 203, 205, 206, 211, 212, 214, 216, 218, 222, 223, 224, 225, 229, 232, 233, 235, 240, 241, 242, 244, 246, 247, 248, 249], [2, 5, 11, 14, 15, 21, 22, 23, 26, 34, 43, 44, 45, 46, 49, 51, 53, 55, 56, 58, 60, 61, 64, 69, 70, 71, 73, 74, 77, 80, 83, 85, 86, 88, 93, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 113, 116, 118, 122, 125, 126, 130, 132, 133, 135, 140, 141, 143, 144, 148, 149, 151, 152, 153, 154, 157, 158, 159, 160, 161, 164, 166, 168, 171, 172, 174, 180, 181, 186, 187, 188, 189, 190, 191, 193, 194, 195, 198, 199, 202, 203, 205, 208, 216, 218, 220, 221, 222, 223, 225, 227, 228, 231, 232, 234, 235, 237, 239, 240, 244, 246, 247, 248, 249], [4, 5, 6, 7, 9, 10, 12, 16, 18, 19, 20, 21, 28, 34, 39, 42, 45, 46, 48, 49, 52, 54, 56, 57, 59, 63, 66, 68, 69, 73, 74, 75, 76, 78, 79, 80, 81, 86, 90, 93, 95, 96, 97, 99, 105, 106, 110, 112, 113, 114, 120, 122, 123, 124, 127, 131, 134, 135, 142, 144, 146, 147, 148, 149, 152, 153, 154, 156, 157, 164, 165, 166, 167, 170, 172, 173, 175, 176, 178, 180, 181, 182, 183, 184, 186, 188, 191, 194, 195, 196, 197, 200, 201, 202, 203, 204, 207, 211, 212, 213, 215, 218, 220, 221, 225, 226, 228, 236, 238, 240, 241, 246, 249], [5, 7, 11, 13, 16, 17, 18, 25, 28, 30, 36, 40, 42, 45, 48, 49, 53, 54, 55, 57, 58, 59, 60, 62, 64, 65, 69, 71, 74, 75, 76, 77, 78, 81, 82, 88, 90, 92, 94, 96, 97, 98, 99, 102, 104, 106, 108, 109, 111, 112, 114, 115, 121, 124, 125, 126, 128, 131, 133, 139, 140, 141, 145, 147, 149, 151, 152, 154, 155, 157, 158, 164, 166, 167, 168, 169, 171, 172, 178, 179, 181, 182, 183, 185, 186, 187, 189, 190, 194, 195, 198, 199, 200, 202, 204, 205, 208, 212, 216, 218, 219, 220, 221, 223, 225, 227, 233, 236, 239, 241, 242, 243, 244], [0, 4, 6, 8, 9, 10, 14, 17, 19, 21, 22, 25, 26, 28, 29, 30, 31, 34, 37, 40, 43, 46, 51, 57, 60, 61, 63, 64, 67, 68, 69, 72, 76, 77, 79, 81, 82, 84, 87, 90, 91, 93, 96, 97, 99, 104, 108, 109, 117, 118, 121, 123, 125, 128, 129, 130, 135, 136, 137, 139, 140, 142, 143, 144, 145, 147, 148, 149, 150, 151, 153, 154, 156, 157, 161, 164, 168, 169, 171, 175, 176, 178, 179, 180, 181, 182, 183, 185, 189, 191, 192, 195, 196, 198, 201, 208, 210, 212, 214, 217, 219, 221, 225, 226, 227, 229, 230, 234, 238, 245, 246, 247, 249], [0, 5, 6, 11, 13, 15, 20, 22, 25, 30, 34, 36, 37, 38, 43, 44, 45, 46, 48, 51, 52, 53, 55, 56, 58, 59, 61, 64, 65, 67, 70, 71, 72, 74, 75, 76, 77, 78, 80, 83, 84, 86, 89, 90, 91, 95, 96, 99, 100, 101, 102, 107, 108, 109, 111, 112, 113, 116, 118, 119, 121, 124, 125, 126, 127, 128, 129, 130, 133, 138, 141, 143, 144, 147, 148, 150, 154, 155, 156, 158, 159, 164, 168, 170, 171, 172, 175, 176, 181, 183, 185, 187, 190, 192, 196, 197, 198, 199, 203, 206, 208, 209, 213, 214, 216, 218, 219, 221, 224, 226, 229, 234, 236, 237, 240, 243, 244], [0, 2, 5, 8, 10, 11, 14, 18, 20, 22, 23, 25, 28, 29, 30, 32, 35, 37, 38, 41, 42, 43, 44, 46, 47, 48, 49, 54, 55, 56, 59, 61, 62, 63, 66, 68, 69, 72, 73, 74, 75, 76, 77, 81, 82, 84, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 101, 102, 103, 105, 112, 114, 115, 116, 119, 121, 122, 124, 125, 128, 130, 131, 133, 135, 136, 137, 141, 143, 147, 148, 151, 154, 156, 159, 162, 166, 167, 168, 169, 170, 171, 175, 178, 179, 183, 184, 185, 187, 188, 189, 190, 191, 192, 195, 196, 197, 200, 202, 204, 208, 210, 211, 213, 215, 217, 221, 224, 225, 227, 228, 230, 233, 238, 239, 243, 244, 246, 248], [2, 3, 4, 6, 8, 10, 13, 16, 17, 19, 21, 24, 29, 31, 32, 38, 39, 41, 43, 44, 46, 47, 49, 52, 56, 58, 59, 60, 61, 70, 71, 72, 73, 76, 80, 83, 86, 87, 91, 95, 96, 97, 99, 101, 102, 108, 109, 111, 112, 113, 116, 119, 120, 121, 123, 124, 127, 128, 129, 135, 138, 140, 141, 143, 146, 152, 156, 159, 162, 163, 164, 165, 166, 168, 171, 173, 174, 175, 179, 184, 186, 187, 191, 193, 194, 195, 197, 199, 201, 203, 205, 207, 210, 211, 212, 217, 224, 227, 228, 230, 232, 234, 235, 238, 239, 240, 241, 242, 243, 244], [5, 7, 9, 10, 11, 12, 13, 18, 21, 26, 28, 29, 32, 33, 36, 38, 39, 42, 43, 44, 45, 49, 52, 54, 56, 58, 59, 62, 67, 69, 70, 71, 72, 75, 76, 77, 78, 80, 81, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 100, 102, 103, 104, 105, 106, 107, 108, 109, 112, 115, 117, 120, 121, 122, 123, 126, 131, 136, 138, 140, 143, 145, 146, 147, 148, 152, 153, 154, 160, 164, 168, 170, 174, 175, 176, 177, 178, 179, 180, 183, 186, 190, 193, 194, 196, 199, 204, 212, 213, 214, 219, 220, 222, 223, 224, 225, 226, 227, 229, 230, 234, 235, 239, 242, 247, 248, 249], [0, 1, 3, 5, 7, 9, 12, 13, 14, 16, 17, 18, 19, 22, 23, 24, 28, 30, 31, 36, 38, 39, 41, 44, 48, 50, 52, 56, 57, 58, 59, 61, 62, 63, 64, 66, 67, 70, 71, 73, 75, 76, 77, 81, 83, 84, 87, 90, 92, 94, 96, 98, 99, 101, 102, 103, 106, 108, 109, 113, 114, 119, 121, 124, 125, 126, 127, 129, 131, 132, 139, 140, 141, 143, 145, 146, 149, 150, 151, 152, 153, 154, 155, 158, 160, 162, 164, 167, 170, 172, 175, 176, 177, 178, 179, 180, 182, 183, 184, 185, 188, 190, 193, 198, 199, 200, 201, 203, 206, 208, 209, 213, 214, 215, 216, 217, 224, 225, 226, 228, 232, 233, 234, 235, 236, 238, 239, 242, 244, 246, 247, 249], [0, 2, 6, 8, 9, 10, 13, 14, 15, 16, 17, 18, 21, 23, 25, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 41, 42, 44, 47, 48, 49, 51, 52, 53, 54, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 74, 75, 76, 77, 78, 82, 83, 92, 94, 95, 97, 98, 99, 101, 104, 105, 106, 109, 113, 114, 116, 117, 120, 123, 125, 127, 128, 129, 130, 131, 132, 133, 135, 137, 141, 142, 144, 145, 149, 153, 154, 155, 157, 158, 159, 162, 163, 164, 165, 170, 174, 176, 177, 178, 179, 180, 186, 187, 188, 191, 193, 195, 198, 199, 207, 208, 210, 211, 212, 216, 217, 220, 221, 223, 225, 227, 229, 230, 231, 233, 236, 238, 239, 244, 246, 249], [1, 2, 6, 7, 13, 15, 16, 17, 19, 20, 24, 26, 29, 31, 34, 36, 38, 41, 42, 44, 50, 51, 52, 54, 55, 58, 61, 62, 64, 65, 69, 70, 71, 72, 73, 76, 78, 82, 83, 84, 86, 88, 89, 91, 94, 100, 101, 102, 103, 106, 108, 109, 110, 111, 112, 113, 114, 115, 120, 122, 125, 126, 128, 129, 130, 135, 137, 138, 140, 145, 146, 147, 153, 159, 160, 161, 162, 164, 166, 169, 171, 172, 175, 176, 178, 179, 180, 182, 187, 188, 189, 190, 192, 195, 196, 200, 201, 204, 207, 208, 210, 213, 215, 219, 222, 224, 227, 228, 232, 234, 235, 236, 238, 239, 240, 241, 242, 243, 245, 248], [0, 1, 3, 4, 5, 7, 8, 16, 17, 18, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 34, 35, 36, 37, 39, 40, 41, 43, 45, 47, 49, 50, 52, 53, 57, 58, 59, 60, 62, 64, 67, 68, 69, 70, 71, 73, 76, 77, 78, 79, 85, 87, 88, 89, 93, 94, 95, 96, 97, 98, 101, 102, 104, 105, 107, 108, 110, 111, 113, 115, 116, 117, 120, 122, 124, 129, 130, 131, 133, 134, 136, 137, 138, 140, 141, 143, 144, 145, 147, 148, 149, 150, 153, 155, 156, 157, 158, 160, 161, 162, 163, 165, 170, 173, 174, 180, 182, 186, 187, 193, 194, 196, 197, 198, 200, 201, 203, 204, 205, 207, 210, 211, 212, 213, 216, 219, 221, 222, 223, 224, 228, 230, 231, 233, 234, 235, 236, 238, 239, 240, 243, 245, 246, 247, 248], [0, 3, 4, 6, 10, 11, 12, 15, 18, 19, 21, 22, 26, 29, 31, 32, 33, 36, 37, 39, 40, 41, 42, 44, 45, 46, 47, 50, 51, 53, 54, 56, 57, 58, 60, 62, 66, 68, 73, 74, 76, 77, 78, 82, 83, 84, 88, 90, 91, 94, 96, 98, 99, 101, 103, 105, 106, 109, 113, 114, 116, 117, 118, 122, 123, 124, 125, 127, 130, 132, 133, 139, 140, 141, 143, 145, 146, 147, 148, 149, 150, 152, 156, 157, 161, 164, 165, 166, 167, 171, 173, 176, 178, 180, 183, 184, 185, 187, 188, 190, 192, 193, 194, 199, 201, 205, 207, 208, 209, 211, 214, 215, 216, 218, 219, 222, 225, 226, 227, 228, 231, 234, 236, 237, 238, 244, 245, 248, 249], [2, 4, 5, 6, 10, 11, 12, 13, 14, 21, 22, 26, 28, 31, 32, 33, 35, 36, 37, 38, 40, 42, 44, 47, 48, 49, 52, 53, 59, 61, 62, 64, 66, 67, 70, 71, 72, 73, 75, 76, 78, 79, 83, 87, 96, 97, 98, 99, 100, 101, 109, 114, 115, 116, 117, 124, 125, 126, 129, 131, 132, 135, 138, 143, 144, 145, 147, 148, 149, 150, 151, 153, 154, 155, 156, 159, 160, 162, 163, 164, 166, 168, 169, 170, 171, 172, 174, 175, 179, 180, 182, 183, 185, 186, 188, 192, 193, 194, 195, 196, 200, 201, 202, 206, 207, 208, 211, 214, 215, 217, 223, 226, 227, 228, 229, 231, 232, 234, 235, 238, 240, 241, 244, 245, 247, 249], [1, 3, 4, 5, 7, 8, 9, 12, 13, 18, 19, 23, 24, 27, 28, 29, 32, 40, 41, 42, 43, 44, 45, 49, 51, 52, 54, 55, 56, 58, 61, 64, 66, 70, 71, 74, 76, 77, 79, 80, 81, 84, 85, 90, 92, 93, 94, 96, 100, 101, 104, 106, 112, 113, 115, 116, 118, 119, 120, 121, 122, 126, 127, 133, 134, 137, 142, 144, 147, 149, 150, 153, 155, 159, 161, 167, 168, 169, 172, 174, 175, 176, 177, 178, 179, 180, 182, 186, 187, 188, 190, 191, 193, 199, 200, 201, 202, 204, 206, 207, 209, 211, 215, 216, 218, 219, 220, 221, 223, 224, 227, 228, 229, 231, 232, 233, 235, 237, 238, 239, 241, 242, 243], [0, 5, 9, 11, 14, 16, 17, 18, 19, 23, 25, 32, 39, 41, 48, 49, 50, 52, 53, 56, 59, 60, 62, 63, 65, 67, 69, 71, 72, 74, 76, 77, 79, 82, 84, 86, 88, 89, 90, 93, 97, 98, 100, 101, 102, 103, 104, 105, 106, 107, 108, 114, 115, 119, 121, 122, 126, 129, 130, 133, 134, 138, 142, 146, 148, 151, 154, 158, 160, 161, 162, 163, 164, 167, 168, 170, 172, 174, 175, 177, 179, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 193, 194, 196, 201, 203, 205, 206, 207, 209, 210, 211, 216, 217, 218, 219, 220, 225, 226, 227, 233, 237, 239, 240, 242, 243, 246, 247, 249], [1, 2, 5, 6, 10, 15, 21, 26, 29, 30, 31, 32, 33, 37, 40, 41, 48, 49, 55, 56, 61, 66, 67, 68, 70, 71, 72, 75, 76, 79, 80, 81, 84, 85, 89, 90, 92, 93, 94, 95, 99, 101, 102, 104, 107, 110, 114, 115, 116, 118, 120, 121, 124, 127, 129, 130, 133, 136, 138, 139, 142, 144, 145, 146, 150, 151, 152, 153, 154, 157, 160, 162, 165, 167, 172, 174, 175, 179, 180, 181, 183, 184, 185, 188, 190, 194, 196, 198, 199, 200, 201, 204, 205, 208, 209, 210, 211, 213, 214, 215, 217, 218, 221, 224, 227, 228, 229, 234, 235, 236, 239, 242, 243, 244, 246, 247], [2, 3, 5, 8, 9, 11, 12, 14, 18, 21, 25, 28, 31, 34, 39, 42, 43, 44, 46, 48, 51, 52, 53, 58, 62, 64, 65, 67, 69, 74, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 91, 93, 96, 97, 101, 102, 104, 106, 108, 109, 110, 111, 114, 117, 118, 119, 121, 122, 124, 128, 132, 133, 134, 136, 137, 138, 140, 144, 145, 147, 149, 152, 155, 156, 157, 158, 159, 162, 164, 170, 171, 175, 176, 177, 178, 179, 180, 181, 184, 185, 186, 188, 189, 191, 192, 193, 194, 197, 199, 201, 202, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 222, 223, 224, 228, 231, 232, 234, 238, 240, 243, 244, 249], [0, 1, 2, 5, 6, 7, 9, 10, 11, 14, 16, 19, 20, 22, 24, 26, 31, 32, 35, 38, 39, 41, 45, 51, 52, 57, 60, 61, 62, 65, 67, 68, 70, 74, 81, 85, 87, 90, 91, 96, 98, 100, 101, 102, 103, 109, 112, 113, 119, 120, 121, 122, 124, 126, 127, 129, 130, 131, 132, 144, 147, 148, 150, 152, 153, 154, 156, 159, 160, 161, 165, 169, 172, 173, 174, 178, 179, 182, 183, 186, 187, 189, 191, 192, 195, 196, 197, 198, 200, 201, 202, 205, 206, 210, 212, 213, 216, 217, 218, 220, 224, 226, 227, 229, 232, 233, 235, 237, 238, 239, 241, 242, 243, 245, 248, 249], [0, 2, 3, 5, 6, 7, 8, 10, 11, 13, 14, 15, 16, 18, 24, 25, 26, 28, 30, 32, 33, 36, 37, 39, 40, 42, 43, 45, 48, 52, 53, 57, 60, 61, 63, 64, 65, 66, 67, 68, 71, 73, 78, 81, 83, 85, 86, 91, 92, 93, 95, 97, 98, 102, 105, 107, 108, 109, 110, 114, 115, 116, 119, 122, 123, 125, 127, 129, 131, 132, 133, 134, 135, 137, 143, 144, 145, 146, 147, 148, 149, 152, 153, 154, 155, 156, 159, 160, 162, 166, 169, 170, 172, 174, 175, 176, 177, 181, 183, 184, 186, 191, 193, 195, 196, 197, 198, 202, 204, 205, 207, 209, 211, 212, 213, 215, 220, 222, 226, 229, 234, 235, 236, 238, 242, 243, 244, 245, 247, 248, 249], [0, 1, 3, 4, 6, 7, 8, 14, 15, 16, 18, 20, 22, 23, 24, 26, 27, 29, 30, 31, 32, 33, 34, 37, 39, 41, 43, 44, 45, 46, 48, 52, 53, 54, 56, 57, 58, 59, 60, 61, 63, 64, 65, 66, 68, 70, 72, 73, 74, 78, 82, 83, 84, 85, 87, 88, 91, 92, 95, 96, 98, 99, 100, 101, 106, 107, 108, 112, 123, 124, 125, 127, 131, 133, 137, 138, 139, 140, 142, 146, 149, 151, 152, 153, 155, 157, 159, 160, 161, 165, 166, 169, 172, 173, 174, 178, 180, 181, 182, 183, 185, 186, 188, 189, 190, 191, 193, 195, 196, 198, 201, 205, 208, 210, 211, 215, 216, 217, 220, 223, 224, 225, 230, 233, 234, 236, 237, 239, 240, 242, 243, 245, 247, 248], [0, 3, 8, 9, 11, 12, 14, 15, 17, 18, 19, 20, 21, 24, 26, 29, 30, 32, 33, 38, 40, 42, 45, 48, 50, 51, 54, 55, 60, 61, 64, 68, 69, 70, 74, 78, 79, 85, 86, 89, 91, 92, 93, 94, 95, 97, 98, 100, 104, 107, 109, 110, 113, 115, 116, 118, 119, 120, 122, 123, 124, 127, 129, 130, 131, 132, 134, 135, 136, 138, 142, 143, 145, 151, 155, 158, 161, 164, 165, 166, 168, 170, 171, 172, 173, 174, 177, 179, 180, 183, 184, 185, 186, 187, 190, 195, 196, 197, 199, 201, 205, 206, 211, 213, 215, 216, 218, 219, 221, 222, 234, 235, 236, 237, 240, 241, 245, 247, 248, 249], [0, 1, 2, 3, 4, 6, 7, 10, 12, 17, 18, 19, 21, 22, 23, 26, 27, 28, 30, 33, 35, 37, 38, 40, 41, 42, 44, 47, 49, 50, 51, 52, 53, 54, 58, 60, 61, 63, 64, 66, 67, 73, 74, 75, 76, 77, 78, 80, 81, 82, 83, 84, 87, 89, 91, 92, 95, 98, 102, 103, 104, 105, 116, 120, 122, 124, 125, 126, 129, 130, 132, 141, 142, 144, 145, 146, 148, 149, 150, 151, 154, 155, 156, 157, 159, 167, 168, 169, 170, 173, 176, 177, 178, 179, 183, 184, 185, 187, 194, 198, 199, 201, 202, 205, 206, 207, 208, 210, 213, 215, 222, 225, 228, 229, 230, 232, 233, 237, 244, 246], [0, 1, 2, 3, 7, 8, 9, 10, 11, 12, 13, 16, 19, 22, 24, 25, 26, 28, 29, 31, 36, 40, 41, 42, 43, 44, 45, 46, 47, 48, 56, 58, 59, 60, 62, 63, 65, 66, 69, 70, 71, 72, 73, 74, 75, 76, 77, 82, 83, 84, 85, 87, 89, 91, 92, 94, 96, 97, 104, 108, 115, 116, 119, 124, 125, 126, 129, 130, 131, 132, 133, 136, 139, 140, 143, 147, 148, 149, 150, 152, 157, 158, 159, 161, 162, 163, 167, 172, 178, 183, 184, 186, 187, 188, 189, 190, 191, 192, 193, 195, 196, 199, 201, 202, 207, 210, 214, 219, 224, 225, 226, 227, 228, 230, 232, 235, 237, 240, 242, 244, 246, 248, 249], [0, 2, 4, 5, 8, 11, 12, 14, 15, 17, 18, 19, 20, 21, 22, 25, 27, 28, 29, 31, 34, 41, 42, 45, 49, 53, 54, 55, 57, 58, 61, 62, 65, 66, 70, 72, 74, 75, 77, 78, 80, 81, 83, 84, 87, 88, 89, 91, 92, 96, 97, 98, 99, 100, 102, 103, 104, 106, 110, 111, 114, 118, 119, 121, 123, 126, 128, 129, 130, 131, 132, 135, 139, 140, 141, 145, 152, 153, 158, 159, 160, 166, 170, 171, 172, 174, 175, 176, 177, 179, 183, 184, 185, 186, 188, 189, 190, 194, 195, 196, 197, 199, 201, 203, 204, 205, 207, 208, 210, 211, 215, 216, 218, 221, 222, 226, 227, 228, 230, 231, 234, 235, 236, 238, 243, 247, 248], [0, 1, 2, 5, 9, 15, 16, 18, 19, 21, 23, 24, 25, 26, 33, 34, 35, 38, 41, 44, 45, 46, 47, 51, 52, 53, 54, 57, 59, 60, 63, 64, 66, 67, 69, 70, 72, 73, 74, 75, 76, 79, 82, 83, 84, 85, 86, 87, 88, 90, 91, 93, 94, 96, 99, 104, 105, 106, 108, 111, 113, 115, 116, 117, 119, 120, 121, 122, 125, 127, 128, 130, 131, 132, 134, 136, 137, 142, 143, 144, 145, 146, 150, 151, 153, 154, 155, 158, 160, 161, 164, 166, 167, 169, 173, 175, 176, 179, 180, 181, 182, 183, 188, 190, 192, 194, 195, 196, 197, 199, 200, 202, 203, 205, 207, 208, 213, 214, 216, 217, 222, 224, 227, 228, 231, 233, 235, 236, 240, 242, 247], [1, 5, 7, 10, 12, 13, 14, 15, 16, 18, 21, 25, 26, 27, 28, 33, 34, 35, 38, 39, 40, 42, 44, 46, 47, 48, 49, 51, 52, 54, 55, 56, 58, 59, 60, 65, 67, 68, 69, 74, 77, 83, 84, 86, 93, 94, 102, 106, 107, 110, 113, 114, 117, 121, 126, 128, 132, 133, 137, 139, 141, 142, 146, 147, 148, 149, 150, 152, 153, 155, 156, 157, 158, 163, 167, 168, 172, 173, 178, 179, 180, 181, 183, 184, 185, 186, 187, 188, 189, 190, 194, 196, 201, 202, 204, 208, 209, 211, 214, 215, 216, 217, 221, 222, 224, 227, 228, 230, 233, 235, 236, 237, 241, 245, 246, 248, 249], [4, 5, 10, 12, 15, 16, 17, 18, 19, 20, 21, 24, 29, 31, 33, 34, 35, 38, 39, 42, 43, 44, 48, 50, 52, 54, 57, 62, 64, 72, 76, 77, 81, 82, 83, 87, 91, 92, 95, 96, 97, 99, 100, 101, 104, 107, 108, 113, 114, 115, 121, 122, 123, 125, 128, 129, 131, 132, 134, 136, 137, 139, 140, 142, 143, 145, 146, 149, 150, 151, 152, 153, 155, 158, 160, 169, 170, 171, 173, 174, 175, 176, 177, 178, 179, 182, 185, 187, 188, 189, 191, 193, 195, 198, 200, 201, 203, 204, 206, 208, 209, 211, 213, 215, 219, 221, 223, 226, 228, 229, 231, 232, 234, 236, 238, 241, 242, 244, 245, 246, 248], [0, 2, 4, 5, 7, 10, 11, 12, 15, 19, 21, 22, 23, 24, 28, 29, 30, 36, 39, 40, 42, 43, 45, 46, 47, 51, 53, 55, 58, 60, 61, 62, 63, 65, 66, 67, 68, 69, 74, 77, 79, 80, 81, 82, 84, 85, 87, 88, 89, 91, 95, 96, 98, 102, 103, 104, 110, 113, 114, 116, 118, 119, 121, 124, 127, 129, 140, 142, 143, 145, 146, 148, 150, 154, 155, 156, 158, 160, 161, 162, 163, 165, 166, 167, 168, 170, 173, 174, 176, 177, 180, 181, 182, 183, 185, 187, 188, 190, 191, 193, 194, 196, 203, 206, 207, 208, 210, 211, 214, 217, 218, 219, 222, 223, 226, 227, 229, 231, 233, 237, 243, 247, 248, 249], [1, 4, 9, 11, 13, 14, 17, 19, 21, 22, 28, 29, 31, 32, 37, 40, 42, 44, 45, 46, 51, 52, 53, 54, 56, 57, 64, 66, 70, 72, 74, 75, 76, 80, 81, 82, 84, 88, 92, 93, 96, 97, 98, 99, 105, 107, 112, 113, 114, 115, 116, 119, 121, 125, 126, 127, 129, 130, 131, 134, 135, 138, 141, 143, 145, 146, 148, 149, 150, 151, 153, 154, 155, 157, 158, 161, 162, 163, 166, 169, 176, 177, 178, 180, 181, 183, 185, 192, 193, 194, 195, 199, 201, 202, 203, 204, 205, 207, 210, 211, 212, 213, 218, 222, 223, 227, 228, 229, 231, 233, 236, 238, 239, 240, 241, 242, 243, 244, 248], [3, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 20, 21, 23, 24, 27, 28, 32, 35, 37, 38, 40, 44, 46, 48, 50, 51, 52, 53, 54, 56, 57, 59, 60, 61, 62, 63, 66, 67, 68, 69, 71, 72, 74, 76, 78, 81, 82, 84, 87, 89, 90, 91, 92, 93, 97, 99, 100, 101, 103, 104, 105, 106, 109, 110, 111, 120, 121, 123, 129, 130, 131, 140, 141, 143, 147, 148, 149, 152, 153, 154, 157, 158, 159, 161, 170, 171, 173, 176, 177, 181, 182, 183, 184, 185, 186, 187, 190, 191, 192, 196, 198, 204, 205, 208, 210, 211, 212, 213, 214, 217, 218, 219, 225, 227, 230, 232, 233, 235, 236, 237, 238, 240, 243, 246, 247], [2, 3, 4, 7, 8, 10, 13, 14, 17, 18, 19, 20, 21, 23, 25, 26, 28, 30, 33, 36, 43, 45, 48, 52, 54, 55, 57, 60, 62, 63, 64, 66, 69, 70, 71, 72, 75, 76, 77, 78, 79, 80, 83, 86, 90, 95, 96, 101, 103, 104, 107, 110, 111, 114, 120, 123, 127, 128, 131, 132, 139, 140, 141, 142, 145, 149, 150, 155, 157, 160, 161, 163, 165, 166, 168, 169, 170, 174, 176, 182, 186, 187, 189, 190, 192, 193, 194, 195, 196, 200, 201, 202, 203, 204, 205, 207, 209, 213, 214, 223, 224, 225, 228, 232, 233, 236, 240, 241, 244, 245, 248], [0, 1, 3, 4, 5, 7, 9, 10, 11, 12, 13, 16, 17, 18, 20, 22, 24, 25, 26, 27, 28, 33, 35, 36, 37, 39, 47, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 63, 67, 69, 70, 72, 74, 75, 76, 77, 78, 82, 84, 85, 86, 89, 91, 93, 95, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 118, 119, 121, 124, 128, 131, 134, 135, 137, 143, 144, 146, 147, 148, 149, 150, 152, 153, 156, 158, 160, 161, 164, 165, 166, 167, 168, 169, 170, 173, 174, 178, 180, 181, 183, 184, 185, 187, 189, 194, 195, 200, 202, 205, 209, 212, 213, 215, 216, 218, 220, 221, 222, 223, 225, 226, 228, 233, 236, 237, 241, 243, 244, 246, 249], [4, 5, 6, 8, 9, 10, 11, 13, 16, 18, 19, 21, 24, 27, 36, 38, 41, 42, 43, 45, 47, 49, 56, 57, 61, 62, 64, 66, 67, 68, 69, 70, 72, 76, 77, 80, 82, 84, 85, 86, 89, 94, 96, 97, 98, 99, 100, 101, 103, 106, 108, 110, 111, 115, 117, 119, 120, 122, 123, 124, 125, 127, 130, 131, 132, 133, 135, 137, 139, 140, 141, 143, 144, 146, 147, 149, 151, 153, 155, 156, 157, 158, 159, 160, 164, 167, 168, 169, 170, 172, 176, 178, 179, 180, 181, 183, 184, 185, 186, 187, 188, 191, 192, 194, 195, 197, 200, 203, 204, 205, 209, 210, 213, 215, 216, 218, 220, 222, 226, 228, 229, 232, 233, 237, 240, 243, 246, 249], [0, 4, 6, 9, 10, 11, 13, 15, 17, 18, 21, 22, 23, 25, 27, 28, 31, 33, 35, 38, 41, 43, 44, 49, 51, 52, 53, 55, 57, 60, 61, 62, 63, 64, 69, 70, 72, 73, 76, 77, 78, 81, 82, 85, 86, 87, 89, 90, 91, 92, 96, 97, 98, 100, 102, 103, 104, 105, 106, 107, 109, 110, 111, 114, 115, 118, 119, 122, 127, 128, 129, 130, 132, 133, 135, 138, 139, 141, 142, 145, 146, 148, 150, 154, 155, 158, 159, 160, 163, 164, 169, 173, 174, 176, 177, 178, 179, 181, 183, 184, 185, 187, 188, 190, 193, 196, 202, 204, 205, 206, 208, 212, 214, 215, 216, 217, 219, 221, 223, 225, 229, 230, 232, 233, 235, 237, 238, 240, 242, 244, 247], [0, 1, 5, 6, 7, 9, 12, 13, 15, 20, 21, 24, 25, 26, 29, 30, 31, 37, 40, 41, 42, 44, 46, 47, 48, 49, 51, 53, 54, 62, 65, 66, 68, 69, 75, 78, 82, 84, 85, 86, 87, 88, 90, 92, 93, 97, 98, 104, 105, 106, 108, 109, 112, 113, 115, 119, 120, 121, 122, 124, 125, 126, 127, 128, 129, 132, 134, 136, 137, 138, 139, 143, 145, 147, 150, 151, 152, 154, 155, 159, 160, 161, 169, 170, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 184, 185, 187, 189, 190, 191, 194, 195, 197, 200, 201, 204, 205, 206, 208, 210, 213, 214, 217, 221, 225, 226, 227, 228, 232, 238, 239, 240, 242, 243, 244, 246], [0, 1, 2, 4, 6, 12, 13, 16, 17, 19, 22, 25, 26, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 45, 46, 53, 54, 56, 58, 62, 63, 66, 67, 70, 72, 73, 75, 77, 78, 79, 80, 83, 84, 86, 87, 89, 90, 91, 93, 94, 97, 98, 105, 106, 107, 111, 112, 117, 118, 119, 121, 122, 123, 124, 125, 127, 128, 132, 138, 141, 142, 143, 148, 149, 150, 153, 155, 156, 159, 160, 161, 163, 165, 167, 175, 176, 178, 179, 182, 184, 185, 187, 191, 196, 197, 201, 202, 204, 205, 206, 208, 211, 212, 213, 215, 216, 218, 219, 220, 222, 224, 227, 229, 230, 232, 233, 234, 235, 238, 239, 240, 242, 243, 246, 247, 249], [3, 4, 5, 6, 7, 10, 11, 14, 15, 17, 19, 21, 22, 23, 24, 26, 28, 29, 33, 34, 35, 36, 38, 42, 43, 45, 47, 48, 49, 50, 53, 55, 56, 63, 64, 66, 67, 69, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81, 83, 84, 87, 88, 89, 92, 93, 94, 95, 98, 102, 105, 106, 107, 109, 111, 113, 115, 116, 117, 118, 123, 127, 135, 137, 138, 144, 147, 148, 153, 157, 159, 160, 162, 163, 164, 165, 166, 167, 170, 171, 172, 174, 177, 180, 181, 182, 184, 186, 187, 190, 198, 199, 201, 202, 203, 205, 206, 211, 213, 216, 217, 218, 219, 222, 223, 224, 225, 226, 227, 228, 229, 233, 235, 238, 239, 240, 246, 248], [0, 1, 2, 3, 6, 7, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 33, 36, 37, 38, 40, 43, 44, 45, 46, 51, 52, 56, 58, 59, 63, 65, 67, 68, 69, 70, 73, 74, 75, 79, 83, 84, 85, 86, 89, 90, 91, 99, 101, 103, 105, 106, 107, 110, 111, 116, 118, 119, 120, 121, 122, 123, 128, 129, 131, 134, 136, 137, 143, 144, 147, 148, 149, 150, 151, 154, 156, 158, 160, 161, 163, 167, 168, 170, 174, 175, 179, 182, 183, 184, 185, 187, 188, 190, 191, 192, 193, 196, 197, 199, 202, 205, 210, 211, 215, 217, 222, 223, 225, 230, 232, 233, 235, 240, 244, 246, 247, 249], [3, 4, 6, 7, 11, 12, 13, 14, 15, 16, 18, 20, 21, 28, 29, 33, 34, 36, 39, 41, 42, 44, 45, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 70, 71, 75, 76, 78, 81, 87, 88, 90, 92, 93, 95, 96, 98, 107, 108, 110, 111, 112, 113, 116, 118, 119, 121, 123, 124, 129, 130, 135, 137, 138, 141, 143, 147, 148, 150, 151, 153, 158, 160, 162, 164, 166, 167, 169, 170, 177, 178, 180, 181, 183, 186, 187, 188, 189, 192, 196, 197, 198, 199, 200, 201, 203, 204, 206, 207, 208, 211, 213, 214, 215, 218, 220, 221, 223, 225, 226, 228, 231, 234, 238, 241, 243, 244, 246, 248], [4, 6, 8, 10, 13, 16, 19, 21, 24, 26, 29, 31, 33, 34, 38, 40, 41, 42, 43, 44, 45, 46, 47, 54, 55, 57, 58, 60, 61, 63, 64, 65, 76, 77, 78, 79, 80, 81, 82, 84, 85, 88, 90, 94, 96, 97, 100, 102, 104, 105, 109, 111, 116, 118, 119, 120, 121, 122, 125, 126, 129, 130, 131, 133, 137, 138, 139, 143, 144, 146, 147, 149, 150, 151, 152, 154, 155, 161, 162, 163, 169, 174, 176, 178, 181, 182, 184, 187, 188, 189, 190, 192, 195, 198, 199, 201, 202, 203, 206, 207, 209, 210, 213, 217, 218, 220, 221, 222, 229, 231, 233, 236, 237, 239, 243, 246], [0, 1, 2, 3, 7, 9, 17, 19, 20, 24, 28, 30, 31, 34, 38, 39, 40, 41, 42, 44, 45, 46, 47, 51, 53, 54, 57, 58, 65, 66, 69, 70, 76, 79, 83, 90, 91, 92, 98, 99, 100, 102, 103, 107, 108, 109, 112, 113, 114, 117, 119, 120, 121, 123, 124, 126, 129, 131, 134, 136, 138, 139, 142, 144, 151, 152, 154, 155, 156, 157, 163, 164, 166, 167, 168, 169, 173, 175, 176, 178, 180, 182, 186, 187, 188, 189, 190, 192, 195, 196, 197, 198, 199, 200, 201, 203, 206, 209, 211, 214, 215, 217, 218, 219, 220, 221, 225, 227, 228, 229, 230, 232, 233, 235, 238, 240, 241, 242, 243, 246, 249], [0, 3, 6, 8, 11, 14, 16, 17, 19, 20, 22, 24, 29, 32, 45, 46, 48, 49, 50, 51, 52, 61, 62, 63, 67, 69, 70, 72, 75, 77, 79, 84, 87, 88, 90, 92, 93, 96, 97, 99, 101, 102, 104, 105, 106, 109, 112, 117, 118, 119, 121, 122, 124, 125, 128, 130, 132, 135, 138, 139, 142, 148, 150, 151, 152, 153, 154, 155, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 170, 172, 177, 178, 181, 182, 183, 185, 186, 187, 189, 194, 195, 196, 197, 200, 201, 202, 207, 208, 209, 210, 211, 213, 214, 216, 220, 221, 222, 223, 224, 225, 228, 231, 232, 236, 237, 238, 239, 240, 241, 242, 243, 244, 249], [2, 5, 7, 8, 10, 17, 23, 24, 25, 26, 28, 38, 41, 42, 44, 45, 48, 49, 51, 52, 53, 61, 62, 63, 64, 66, 67, 71, 72, 73, 75, 76, 78, 79, 84, 85, 86, 87, 89, 90, 91, 92, 95, 96, 99, 100, 103, 104, 107, 110, 113, 115, 116, 117, 118, 121, 122, 124, 125, 126, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 147, 149, 152, 155, 158, 159, 161, 164, 165, 166, 167, 168, 169, 170, 173, 176, 178, 180, 183, 189, 190, 191, 193, 194, 196, 198, 200, 201, 205, 209, 211, 212, 213, 214, 216, 217, 219, 221, 223, 226, 227, 228, 230, 231, 232, 234, 236, 239, 240, 241, 242, 243, 249], [2, 5, 6, 7, 8, 11, 13, 14, 16, 17, 19, 20, 21, 23, 24, 27, 28, 29, 30, 31, 32, 33, 36, 37, 39, 42, 43, 44, 45, 51, 59, 60, 62, 68, 70, 71, 76, 77, 79, 81, 83, 86, 87, 88, 90, 91, 95, 96, 97, 103, 107, 109, 110, 111, 114, 116, 119, 120, 121, 122, 123, 124, 127, 129, 131, 135, 136, 138, 141, 144, 147, 149, 151, 152, 154, 155, 156, 160, 161, 162, 165, 166, 168, 169, 172, 175, 176, 177, 179, 182, 186, 187, 190, 191, 192, 193, 195, 197, 198, 199, 200, 211, 212, 214, 215, 216, 218, 220, 222, 224, 227, 228, 229, 230, 231, 232, 236, 237, 238, 239, 245, 247, 248], [0, 3, 4, 6, 7, 8, 9, 17, 18, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 35, 38, 39, 42, 44, 46, 53, 56, 57, 59, 60, 62, 64, 66, 67, 68, 70, 72, 73, 74, 75, 76, 77, 79, 82, 85, 86, 88, 92, 93, 95, 97, 100, 101, 102, 103, 105, 106, 107, 110, 111, 114, 115, 117, 124, 129, 130, 131, 132, 135, 136, 137, 139, 144, 145, 148, 149, 151, 153, 154, 155, 156, 157, 158, 160, 165, 166, 168, 170, 171, 172, 175, 176, 178, 180, 182, 183, 187, 188, 195, 196, 197, 198, 199, 200, 202, 204, 205, 208, 209, 210, 211, 212, 213, 214, 218, 220, 223, 226, 227, 228, 232, 234, 237, 240, 243, 244, 246, 249], [0, 1, 2, 3, 4, 5, 7, 8, 15, 17, 18, 19, 20, 25, 27, 28, 32, 36, 38, 41, 42, 43, 47, 49, 51, 54, 56, 58, 60, 63, 65, 69, 70, 72, 74, 75, 78, 81, 82, 83, 85, 87, 88, 94, 98, 99, 101, 103, 105, 106, 110, 112, 113, 116, 118, 119, 122, 123, 124, 125, 127, 128, 130, 132, 136, 138, 139, 140, 141, 145, 147, 149, 151, 152, 155, 158, 160, 162, 164, 166, 168, 169, 173, 176, 178, 179, 180, 181, 182, 183, 185, 187, 188, 189, 190, 191, 192, 197, 200, 202, 204, 205, 208, 212, 213, 216, 217, 219, 222, 225, 227, 228, 229, 230, 231, 234, 235, 237, 239, 240, 241, 242, 244, 248, 249], [0, 3, 4, 6, 7, 8, 10, 11, 12, 15, 18, 20, 21, 25, 31, 33, 35, 36, 42, 43, 44, 46, 48, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 67, 69, 70, 75, 77, 78, 79, 80, 83, 84, 85, 88, 89, 91, 92, 95, 97, 99, 101, 105, 106, 108, 110, 111, 112, 113, 117, 120, 122, 123, 124, 126, 127, 128, 129, 130, 131, 133, 134, 136, 138, 139, 140, 141, 144, 145, 149, 150, 151, 152, 157, 159, 160, 161, 163, 164, 166, 170, 171, 174, 176, 177, 179, 181, 183, 184, 190, 192, 196, 202, 203, 204, 205, 206, 207, 211, 214, 216, 217, 220, 222, 224, 228, 229, 230, 231, 232, 234, 238, 239, 241, 244, 245, 247, 249], [3, 4, 7, 9, 10, 12, 14, 15, 16, 18, 19, 23, 26, 27, 28, 29, 30, 32, 34, 37, 39, 40, 41, 42, 43, 45, 47, 49, 50, 54, 57, 58, 60, 62, 63, 64, 65, 66, 68, 70, 75, 76, 78, 85, 88, 89, 90, 91, 92, 93, 94, 96, 99, 101, 102, 105, 106, 109, 114, 115, 121, 124, 127, 128, 130, 131, 132, 133, 135, 137, 138, 139, 141, 143, 147, 148, 149, 150, 151, 155, 157, 158, 159, 163, 164, 165, 168, 171, 173, 176, 181, 182, 184, 185, 186, 187, 188, 190, 193, 195, 196, 197, 198, 200, 201, 204, 208, 209, 210, 211, 214, 216, 221, 222, 224, 231, 236, 238, 242, 244, 247, 248], [4, 5, 8, 10, 12, 19, 24, 27, 30, 32, 34, 35, 38, 40, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 55, 56, 58, 59, 61, 65, 70, 71, 72, 73, 77, 79, 81, 82, 84, 88, 90, 91, 92, 93, 94, 96, 97, 99, 102, 104, 105, 107, 109, 110, 112, 113, 115, 116, 120, 121, 125, 127, 129, 130, 131, 132, 134, 135, 136, 140, 141, 143, 144, 146, 151, 152, 155, 156, 157, 158, 160, 161, 163, 165, 166, 167, 168, 170, 171, 172, 173, 175, 176, 177, 178, 179, 180, 184, 186, 190, 195, 198, 199, 200, 201, 203, 204, 205, 208, 209, 210, 212, 216, 218, 220, 221, 224, 225, 229, 235, 236, 237, 238, 239, 241, 243, 245, 246, 247, 248], [0, 2, 3, 4, 8, 9, 11, 13, 14, 16, 17, 19, 21, 22, 23, 24, 30, 31, 32, 35, 38, 39, 42, 43, 45, 47, 50, 51, 54, 57, 59, 60, 61, 62, 64, 66, 68, 69, 72, 77, 80, 81, 82, 89, 90, 92, 96, 97, 99, 100, 102, 103, 104, 105, 106, 109, 112, 114, 115, 116, 117, 124, 127, 128, 129, 130, 132, 139, 140, 142, 143, 151, 152, 153, 154, 159, 162, 164, 166, 168, 171, 173, 174, 176, 177, 178, 179, 182, 185, 188, 190, 193, 197, 198, 200, 202, 203, 204, 205, 206, 208, 209, 210, 211, 214, 216, 218, 220, 223, 226, 228, 231, 232, 234, 245, 246, 248, 249], [2, 4, 6, 7, 8, 9, 13, 14, 15, 16, 17, 21, 25, 26, 29, 30, 33, 34, 35, 39, 43, 44, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 60, 63, 65, 66, 69, 77, 78, 80, 82, 84, 86, 87, 91, 92, 94, 95, 98, 99, 102, 105, 107, 108, 109, 110, 111, 113, 115, 117, 122, 125, 127, 128, 131, 133, 140, 142, 143, 144, 145, 148, 150, 152, 154, 155, 156, 157, 160, 161, 162, 164, 165, 167, 172, 174, 175, 176, 178, 179, 183, 186, 189, 190, 198, 200, 204, 205, 207, 208, 209, 210, 212, 215, 220, 222, 223, 224, 226, 231, 233, 237, 241, 242, 244, 248], [2, 4, 7, 8, 9, 10, 11, 12, 13, 17, 20, 21, 22, 24, 25, 26, 27, 28, 30, 33, 34, 35, 37, 44, 45, 53, 55, 56, 57, 63, 65, 66, 68, 69, 70, 73, 74, 76, 78, 81, 83, 85, 86, 89, 93, 94, 97, 100, 104, 105, 106, 107, 109, 110, 111, 113, 114, 119, 120, 122, 124, 129, 136, 138, 144, 145, 146, 148, 149, 150, 151, 158, 159, 160, 162, 167, 168, 169, 170, 171, 172, 174, 180, 181, 183, 184, 187, 188, 189, 190, 191, 193, 194, 198, 199, 200, 201, 202, 205, 211, 212, 214, 218, 219, 229, 230, 232, 240, 241, 243, 245, 249], [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13, 17, 18, 22, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 43, 44, 45, 46, 47, 48, 50, 52, 56, 57, 60, 63, 64, 65, 66, 70, 74, 80, 81, 83, 84, 86, 87, 88, 89, 90, 91, 95, 96, 100, 101, 102, 104, 106, 108, 116, 117, 118, 119, 120, 122, 124, 125, 131, 132, 133, 134, 136, 137, 145, 146, 148, 150, 151, 152, 155, 157, 159, 160, 162, 163, 164, 167, 174, 177, 180, 184, 185, 188, 190, 193, 194, 195, 196, 197, 200, 201, 202, 206, 207, 208, 213, 214, 215, 219, 220, 221, 222, 223, 226, 227, 228, 231, 232, 234, 235, 241, 245, 246], [2, 3, 4, 6, 8, 10, 13, 14, 16, 22, 23, 24, 25, 26, 27, 29, 30, 32, 39, 41, 42, 43, 48, 51, 57, 58, 59, 60, 61, 63, 67, 69, 70, 74, 76, 79, 80, 81, 82, 84, 87, 88, 89, 91, 92, 93, 94, 95, 97, 98, 101, 104, 105, 107, 113, 114, 115, 117, 120, 121, 122, 123, 124, 126, 131, 132, 134, 135, 136, 143, 144, 146, 147, 148, 150, 151, 152, 154, 155, 156, 160, 161, 162, 163, 164, 168, 169, 170, 171, 173, 177, 178, 179, 184, 185, 186, 188, 189, 190, 192, 193, 194, 197, 200, 202, 204, 206, 213, 214, 215, 216, 223, 225, 230, 231, 232, 234, 235, 237, 238, 239, 241, 244, 248, 249], [2, 3, 5, 8, 9, 12, 16, 18, 20, 22, 24, 25, 26, 27, 29, 30, 32, 36, 37, 39, 40, 46, 47, 48, 49, 52, 54, 55, 56, 57, 58, 62, 63, 67, 69, 71, 73, 74, 78, 79, 84, 87, 88, 91, 92, 94, 99, 100, 102, 103, 104, 105, 106, 108, 110, 111, 115, 116, 119, 122, 123, 125, 126, 127, 128, 130, 133, 134, 135, 136, 139, 141, 144, 145, 146, 147, 148, 149, 150, 152, 156, 157, 159, 160, 161, 164, 166, 167, 170, 171, 172, 174, 177, 178, 180, 181, 184, 186, 187, 191, 195, 200, 204, 207, 209, 214, 216, 217, 219, 221, 224, 225, 226, 227, 229, 230, 231, 232, 233, 235, 236, 237, 238, 239, 240, 241, 245, 249], [0, 2, 3, 4, 5, 8, 9, 14, 15, 18, 19, 20, 21, 25, 27, 28, 29, 30, 32, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 47, 48, 55, 57, 58, 59, 60, 62, 69, 72, 76, 79, 84, 85, 86, 87, 93, 94, 95, 98, 101, 102, 103, 105, 106, 107, 109, 114, 117, 120, 121, 122, 124, 125, 130, 131, 132, 135, 140, 141, 143, 145, 149, 150, 153, 155, 156, 160, 161, 165, 167, 168, 169, 171, 172, 173, 174, 176, 179, 180, 181, 184, 190, 192, 193, 195, 196, 198, 199, 200, 203, 207, 209, 211, 212, 214, 217, 222, 223, 228, 229, 230, 231, 232, 234, 235, 236, 237, 238, 239, 242, 243, 245, 246, 247], [0, 1, 2, 3, 5, 6, 7, 8, 9, 11, 15, 17, 18, 21, 22, 23, 24, 25, 27, 30, 33, 34, 36, 37, 38, 39, 41, 45, 46, 51, 52, 53, 55, 59, 60, 64, 65, 66, 68, 69, 71, 72, 79, 80, 85, 86, 87, 88, 91, 92, 93, 94, 96, 97, 101, 103, 105, 107, 114, 116, 117, 118, 119, 120, 122, 123, 126, 127, 131, 132, 135, 136, 138, 139, 142, 145, 146, 148, 150, 151, 153, 159, 161, 164, 165, 168, 171, 175, 178, 179, 182, 184, 187, 188, 189, 190, 193, 195, 197, 198, 199, 201, 202, 203, 205, 206, 208, 210, 212, 215, 216, 218, 221, 225, 228, 230, 231, 232, 233, 236, 238, 239, 240, 242, 243, 244, 246, 247, 248, 249], [0, 5, 6, 8, 12, 13, 15, 16, 22, 23, 26, 29, 30, 35, 38, 40, 41, 42, 44, 47, 50, 51, 52, 53, 55, 57, 58, 59, 60, 61, 65, 66, 67, 69, 71, 72, 76, 81, 83, 84, 85, 86, 91, 94, 95, 98, 99, 102, 103, 104, 105, 106, 110, 111, 112, 115, 117, 118, 119, 120, 121, 124, 126, 127, 129, 132, 134, 138, 139, 141, 143, 148, 149, 150, 153, 154, 156, 157, 158, 161, 162, 163, 165, 172, 174, 176, 178, 179, 181, 182, 184, 185, 188, 193, 194, 195, 196, 197, 200, 202, 207, 210, 211, 213, 214, 215, 216, 219, 220, 222, 224, 225, 227, 228, 229, 230, 232, 236, 237, 238, 239, 242, 243, 244], [0, 1, 5, 7, 8, 10, 12, 16, 17, 19, 20, 23, 25, 27, 28, 29, 31, 35, 36, 38, 39, 41, 46, 47, 50, 51, 52, 55, 57, 59, 60, 61, 67, 68, 70, 71, 74, 76, 77, 79, 81, 83, 84, 90, 91, 92, 94, 97, 98, 99, 102, 106, 109, 110, 112, 113, 127, 129, 130, 132, 134, 135, 136, 138, 139, 141, 142, 144, 145, 150, 153, 154, 158, 159, 160, 161, 162, 164, 168, 169, 171, 172, 173, 176, 180, 183, 184, 185, 187, 189, 190, 191, 194, 197, 199, 201, 202, 203, 205, 207, 208, 209, 211, 212, 216, 219, 225, 226, 232, 237, 241, 242], [0, 1, 2, 5, 8, 9, 10, 13, 14, 17, 19, 20, 21, 22, 31, 34, 38, 41, 46, 48, 50, 53, 55, 57, 58, 61, 63, 64, 65, 67, 68, 74, 75, 76, 77, 82, 86, 87, 91, 93, 94, 96, 97, 98, 102, 104, 107, 112, 116, 122, 123, 125, 127, 129, 131, 133, 134, 136, 137, 139, 141, 142, 143, 146, 147, 148, 150, 152, 153, 158, 159, 163, 165, 169, 170, 171, 172, 173, 174, 178, 181, 182, 183, 185, 186, 187, 189, 190, 193, 195, 198, 199, 202, 205, 207, 210, 213, 214, 217, 218, 219, 222, 223, 227, 228, 230, 231, 232, 233, 236, 240, 241, 245, 246, 248, 249], [1, 2, 3, 5, 8, 9, 10, 12, 16, 20, 22, 24, 27, 30, 31, 34, 35, 36, 38, 39, 40, 41, 45, 46, 47, 48, 52, 53, 55, 59, 60, 62, 63, 64, 68, 70, 72, 73, 75, 76, 79, 80, 84, 86, 87, 89, 92, 94, 96, 97, 98, 100, 102, 104, 105, 106, 107, 109, 111, 113, 114, 116, 117, 118, 119, 120, 121, 123, 125, 128, 130, 133, 134, 136, 140, 145, 148, 149, 153, 157, 162, 163, 165, 166, 168, 174, 178, 180, 183, 184, 186, 189, 191, 193, 197, 207, 208, 216, 217, 220, 221, 222, 224, 229, 230, 231, 233, 234, 236, 238, 239, 242, 243, 244, 247], [0, 3, 5, 6, 10, 12, 13, 14, 15, 17, 18, 19, 21, 22, 23, 26, 28, 30, 32, 36, 39, 41, 42, 43, 46, 47, 48, 51, 54, 55, 57, 60, 61, 65, 67, 68, 69, 71, 72, 73, 74, 76, 79, 84, 85, 94, 95, 98, 99, 101, 102, 103, 104, 106, 109, 111, 112, 113, 114, 115, 117, 120, 121, 123, 124, 125, 126, 127, 129, 132, 134, 137, 139, 140, 143, 145, 148, 150, 152, 154, 157, 158, 159, 161, 163, 165, 166, 167, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 183, 184, 185, 186, 188, 189, 190, 194, 195, 196, 197, 198, 199, 202, 204, 205, 206, 207, 211, 214, 215, 216, 217, 218, 221, 222, 223, 224, 226, 227, 229, 232, 234, 236, 239, 240, 241, 248], [0, 3, 6, 7, 12, 13, 14, 19, 20, 21, 24, 29, 30, 32, 33, 34, 35, 37, 38, 40, 41, 44, 46, 47, 51, 52, 53, 58, 59, 60, 62, 64, 65, 68, 70, 72, 75, 83, 85, 86, 88, 90, 97, 98, 105, 108, 111, 112, 119, 120, 121, 122, 124, 125, 131, 133, 135, 139, 147, 149, 150, 151, 152, 154, 155, 157, 159, 160, 162, 164, 166, 168, 169, 171, 172, 174, 176, 181, 182, 183, 185, 187, 189, 193, 194, 195, 197, 198, 201, 203, 205, 209, 213, 217, 218, 222, 225, 226, 227, 230, 232, 233, 235, 238, 239, 240, 241, 242, 245, 246, 249], [1, 3, 4, 9, 10, 15, 16, 18, 19, 24, 26, 29, 31, 32, 37, 40, 41, 42, 44, 45, 46, 48, 51, 55, 57, 59, 61, 62, 63, 65, 67, 71, 72, 74, 75, 77, 78, 79, 81, 83, 85, 87, 88, 90, 91, 92, 97, 100, 103, 104, 106, 107, 108, 110, 111, 113, 114, 115, 119, 120, 126, 128, 129, 130, 134, 136, 137, 140, 141, 142, 144, 145, 146, 148, 150, 152, 154, 161, 165, 166, 171, 173, 174, 175, 177, 179, 186, 187, 193, 194, 195, 198, 199, 201, 202, 206, 207, 210, 212, 214, 217, 218, 219, 220, 221, 222, 227, 229, 233, 234, 240, 242, 243, 245, 248, 249], [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 24, 25, 28, 29, 31, 34, 36, 37, 39, 41, 42, 43, 45, 46, 48, 49, 50, 52, 55, 60, 63, 64, 65, 66, 67, 68, 70, 71, 75, 77, 79, 83, 84, 85, 87, 90, 96, 97, 98, 100, 102, 103, 105, 106, 107, 109, 112, 114, 115, 117, 120, 121, 122, 127, 128, 129, 130, 132, 134, 137, 139, 140, 141, 143, 144, 146, 148, 150, 153, 160, 161, 162, 164, 167, 169, 170, 172, 174, 175, 176, 177, 178, 181, 182, 183, 184, 186, 187, 190, 194, 196, 197, 199, 202, 206, 207, 208, 210, 212, 213, 215, 217, 218, 219, 220, 221, 222, 227, 230, 231, 233, 234, 237, 245, 247], [0, 1, 2, 3, 4, 5, 6, 8, 9, 11, 13, 15, 17, 20, 21, 23, 29, 34, 35, 37, 38, 39, 40, 41, 44, 45, 47, 52, 53, 54, 56, 57, 61, 63, 65, 66, 67, 70, 71, 73, 77, 86, 88, 89, 90, 91, 92, 93, 95, 96, 97, 101, 105, 106, 109, 113, 117, 119, 121, 122, 123, 124, 125, 126, 128, 129, 130, 132, 136, 137, 138, 140, 141, 142, 146, 148, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 166, 167, 168, 169, 172, 181, 182, 184, 187, 188, 189, 190, 191, 193, 194, 195, 198, 199, 201, 202, 204, 205, 206, 208, 209, 211, 213, 214, 216, 218, 219, 220, 222, 230, 232, 235, 236, 237, 238, 240, 241, 242, 244, 245, 246, 247, 248, 249], [0, 1, 4, 5, 6, 7, 8, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 28, 29, 31, 34, 37, 38, 41, 42, 43, 45, 48, 52, 53, 55, 57, 61, 63, 68, 69, 72, 73, 74, 76, 77, 84, 87, 90, 92, 93, 95, 96, 99, 100, 102, 106, 108, 109, 111, 112, 113, 115, 116, 118, 119, 120, 121, 123, 126, 129, 131, 137, 138, 139, 142, 144, 145, 147, 148, 150, 151, 153, 157, 161, 164, 166, 167, 169, 170, 171, 173, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 188, 189, 190, 193, 194, 195, 199, 200, 201, 204, 205, 206, 208, 209, 210, 212, 214, 215, 217, 218, 219, 220, 221, 223, 224, 226, 229, 232, 233, 236, 240, 242, 244, 245, 246], [0, 2, 6, 8, 9, 15, 17, 18, 21, 22, 24, 25, 29, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 48, 49, 50, 51, 53, 54, 56, 57, 59, 60, 61, 62, 66, 67, 72, 74, 77, 78, 80, 81, 82, 83, 84, 86, 87, 88, 89, 90, 92, 95, 97, 98, 99, 101, 102, 103, 106, 108, 111, 112, 113, 114, 118, 120, 126, 127, 129, 130, 131, 133, 134, 135, 136, 137, 140, 141, 142, 143, 144, 152, 153, 155, 161, 162, 163, 164, 167, 168, 172, 173, 174, 177, 179, 180, 181, 183, 184, 185, 189, 190, 191, 192, 196, 197, 198, 202, 203, 204, 205, 208, 211, 214, 215, 217, 225, 228, 229, 230, 232, 235, 236, 241, 242, 244, 246, 247, 248, 249], [0, 2, 6, 7, 12, 15, 17, 18, 19, 21, 24, 26, 27, 28, 29, 30, 31, 34, 35, 39, 40, 42, 45, 46, 47, 48, 50, 54, 55, 57, 59, 60, 61, 64, 65, 67, 68, 69, 70, 75, 76, 77, 79, 82, 83, 84, 85, 86, 93, 96, 98, 99, 101, 102, 103, 106, 107, 113, 115, 118, 120, 123, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 142, 143, 145, 148, 149, 152, 153, 154, 155, 156, 157, 159, 161, 162, 164, 166, 168, 171, 173, 174, 176, 178, 179, 180, 182, 185, 186, 187, 188, 198, 199, 204, 205, 206, 207, 208, 209, 211, 212, 213, 216, 217, 221, 222, 227, 229, 230, 234, 236, 239, 240, 241, 244, 247], [0, 1, 4, 5, 6, 7, 8, 14, 15, 17, 19, 20, 23, 24, 25, 27, 28, 29, 31, 33, 35, 39, 40, 41, 43, 44, 45, 46, 47, 48, 50, 55, 57, 60, 61, 62, 64, 66, 67, 69, 70, 71, 73, 76, 80, 82, 84, 85, 88, 90, 92, 93, 95, 97, 98, 100, 101, 103, 104, 105, 107, 108, 109, 111, 114, 115, 117, 122, 127, 129, 130, 132, 133, 135, 136, 137, 138, 139, 140, 142, 143, 145, 146, 152, 153, 155, 163, 164, 165, 166, 178, 179, 180, 182, 183, 188, 189, 190, 191, 193, 194, 196, 198, 200, 201, 202, 203, 205, 211, 215, 221, 224, 228, 229, 232, 234, 235, 236, 238, 241, 242, 243, 244, 245, 246, 247, 248], [0, 2, 5, 7, 8, 9, 10, 11, 14, 15, 17, 18, 20, 22, 23, 25, 27, 31, 34, 36, 37, 39, 40, 44, 45, 46, 47, 49, 52, 55, 59, 66, 67, 72, 77, 78, 79, 81, 82, 85, 89, 90, 95, 97, 98, 100, 103, 106, 107, 108, 109, 110, 112, 114, 116, 117, 119, 125, 127, 129, 130, 131, 132, 136, 139, 142, 145, 147, 148, 150, 151, 156, 159, 160, 162, 164, 169, 170, 172, 175, 176, 180, 181, 183, 185, 187, 188, 190, 193, 194, 201, 204, 206, 210, 211, 213, 214, 216, 217, 220, 223, 225, 228, 233, 234, 235, 238, 239, 240, 241, 242, 243, 244, 245, 247, 249], [0, 6, 8, 10, 11, 13, 15, 16, 17, 20, 22, 24, 29, 31, 33, 34, 36, 42, 44, 49, 53, 57, 59, 61, 64, 65, 68, 69, 72, 74, 76, 77, 78, 79, 80, 81, 82, 92, 96, 97, 98, 99, 100, 101, 102, 103, 106, 107, 108, 110, 112, 113, 115, 117, 118, 122, 124, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 143, 144, 146, 147, 149, 151, 152, 154, 155, 160, 162, 164, 166, 168, 169, 170, 172, 177, 178, 180, 182, 188, 190, 192, 193, 195, 200, 201, 202, 203, 204, 211, 213, 216, 217, 221, 223, 224, 228, 232, 233, 234, 236, 237, 243, 245, 246, 247, 248, 249], [4, 5, 6, 7, 17, 18, 20, 23, 24, 25, 27, 29, 30, 32, 33, 36, 37, 40, 44, 46, 49, 50, 52, 55, 56, 57, 59, 60, 61, 66, 72, 76, 79, 80, 81, 83, 85, 94, 95, 98, 99, 100, 102, 105, 106, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 127, 128, 129, 131, 132, 133, 134, 136, 137, 138, 140, 141, 142, 145, 146, 147, 148, 149, 150, 151, 152, 153, 156, 158, 160, 162, 163, 166, 168, 175, 181, 182, 183, 184, 189, 190, 194, 195, 197, 199, 205, 206, 208, 210, 213, 214, 215, 218, 221, 223, 225, 226, 227, 228, 230, 234, 236, 240, 247, 249], [1, 3, 5, 6, 7, 8, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 27, 29, 33, 36, 38, 39, 45, 46, 47, 48, 49, 50, 52, 53, 55, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 74, 76, 78, 79, 82, 83, 84, 86, 87, 88, 89, 95, 98, 99, 102, 104, 106, 108, 109, 111, 112, 113, 115, 116, 117, 118, 120, 125, 130, 131, 132, 136, 137, 138, 140, 141, 142, 143, 145, 147, 148, 151, 154, 157, 159, 162, 163, 166, 167, 168, 170, 171, 172, 177, 178, 179, 182, 187, 189, 193, 194, 196, 198, 201, 202, 203, 205, 206, 207, 209, 212, 213, 216, 218, 221, 223, 224, 225, 227, 230, 233, 234, 239, 240, 242, 246, 247, 248], [3, 4, 5, 9, 13, 17, 18, 19, 21, 23, 24, 28, 29, 30, 31, 33, 35, 40, 43, 44, 46, 47, 48, 49, 51, 55, 56, 57, 58, 59, 60, 61, 63, 64, 66, 69, 70, 71, 73, 74, 75, 77, 78, 85, 88, 89, 91, 92, 94, 97, 99, 100, 102, 103, 104, 105, 107, 108, 110, 111, 112, 113, 115, 117, 123, 125, 128, 129, 132, 133, 135, 136, 140, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 163, 164, 165, 166, 168, 170, 172, 173, 175, 177, 180, 183, 184, 185, 187, 188, 189, 191, 192, 197, 199, 206, 208, 209, 211, 212, 214, 215, 217, 218, 220, 222, 225, 227, 228, 229, 230, 231, 233, 234, 236, 239, 240, 246, 247, 248], [1, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 23, 24, 28, 29, 31, 39, 42, 43, 44, 46, 49, 54, 55, 56, 59, 60, 62, 63, 64, 67, 71, 74, 76, 77, 78, 79, 80, 81, 82, 84, 87, 88, 89, 92, 94, 98, 99, 100, 101, 103, 104, 105, 108, 109, 110, 112, 115, 117, 121, 122, 124, 125, 127, 131, 132, 133, 135, 137, 138, 139, 140, 145, 146, 157, 158, 161, 162, 163, 164, 166, 168, 170, 172, 174, 177, 178, 179, 182, 183, 185, 187, 190, 191, 196, 197, 198, 199, 201, 202, 203, 206, 207, 208, 209, 211, 212, 214, 215, 216, 219, 223, 224, 225, 226, 227, 229, 230, 231, 232, 233, 236, 237, 239, 240, 242, 245, 247, 248, 249], [0, 1, 3, 5, 7, 8, 9, 11, 14, 16, 17, 18, 19, 24, 26, 27, 28, 29, 30, 31, 32, 36, 39, 40, 43, 44, 49, 50, 51, 52, 53, 56, 57, 58, 59, 61, 63, 64, 67, 68, 71, 72, 73, 78, 83, 84, 85, 88, 92, 94, 96, 100, 101, 102, 103, 104, 107, 108, 111, 117, 118, 119, 120, 123, 124, 125, 129, 134, 135, 140, 141, 142, 144, 145, 146, 147, 148, 149, 151, 153, 155, 156, 157, 159, 163, 164, 165, 167, 170, 171, 173, 175, 176, 177, 180, 181, 182, 183, 184, 185, 195, 197, 198, 199, 200, 201, 205, 208, 210, 211, 212, 214, 215, 216, 218, 221, 222, 225, 230, 233, 236, 240, 241, 242, 249], [0, 1, 2, 4, 5, 6, 7, 9, 11, 13, 15, 17, 20, 21, 22, 23, 28, 29, 33, 35, 37, 39, 41, 44, 45, 46, 50, 51, 52, 53, 54, 56, 59, 62, 65, 67, 69, 70, 72, 73, 74, 77, 78, 80, 89, 90, 94, 95, 97, 98, 99, 100, 101, 102, 103, 104, 110, 115, 116, 119, 124, 125, 130, 133, 134, 138, 140, 142, 146, 149, 150, 151, 152, 153, 158, 161, 162, 163, 165, 166, 168, 172, 176, 179, 180, 181, 182, 186, 187, 190, 195, 196, 198, 199, 203, 205, 207, 208, 209, 212, 213, 216, 217, 218, 220, 221, 223, 224, 226, 229, 230, 231, 234, 236, 238, 239, 242, 243, 245, 246, 247, 248], [3, 4, 8, 9, 10, 11, 16, 19, 22, 26, 31, 33, 34, 36, 37, 38, 42, 43, 45, 48, 50, 51, 54, 57, 60, 62, 65, 68, 69, 72, 74, 76, 79, 80, 82, 83, 86, 89, 91, 92, 93, 95, 98, 100, 101, 102, 103, 106, 108, 110, 114, 115, 117, 118, 119, 120, 121, 122, 125, 130, 132, 134, 135, 136, 137, 140, 142, 145, 146, 152, 154, 156, 157, 159, 160, 162, 163, 164, 165, 171, 172, 173, 174, 177, 178, 180, 181, 182, 183, 184, 186, 187, 188, 190, 192, 195, 197, 198, 199, 201, 202, 204, 206, 207, 208, 209, 210, 212, 213, 214, 215, 216, 217, 218, 219, 221, 224, 227, 232, 233, 234, 236, 239, 241, 242, 246, 248, 249], [1, 2, 7, 11, 12, 14, 16, 18, 21, 22, 26, 27, 29, 30, 35, 36, 40, 42, 44, 45, 46, 51, 52, 54, 57, 59, 60, 61, 62, 63, 65, 68, 70, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 83, 84, 85, 87, 90, 91, 92, 94, 97, 99, 102, 103, 104, 105, 106, 107, 108, 109, 111, 112, 114, 118, 119, 120, 121, 123, 130, 131, 132, 137, 138, 139, 140, 143, 144, 145, 147, 148, 149, 152, 153, 156, 158, 164, 167, 168, 169, 175, 177, 179, 181, 182, 184, 188, 189, 190, 194, 195, 196, 198, 199, 201, 203, 204, 205, 206, 208, 211, 212, 213, 214, 216, 217, 218, 220, 222, 223, 224, 226, 228, 229, 231, 232, 233, 236, 238, 240, 242, 246, 247, 248, 249], [5, 14, 16, 17, 21, 23, 24, 26, 27, 30, 32, 36, 37, 38, 41, 48, 50, 51, 53, 57, 58, 62, 64, 65, 67, 70, 71, 72, 75, 78, 82, 87, 92, 93, 94, 95, 97, 98, 99, 100, 101, 102, 104, 110, 117, 118, 119, 124, 126, 127, 128, 132, 140, 142, 143, 145, 149, 150, 159, 160, 162, 163, 165, 166, 167, 168, 169, 171, 172, 175, 179, 180, 182, 185, 186, 187, 189, 190, 196, 200, 201, 202, 206, 207, 209, 210, 212, 213, 214, 215, 216, 219, 222, 225, 226, 228, 229, 231, 233, 237, 239, 240, 241, 243, 247, 249], [1, 2, 4, 5, 6, 7, 13, 15, 16, 17, 18, 20, 21, 24, 26, 28, 31, 32, 35, 37, 38, 42, 46, 47, 49, 50, 54, 55, 60, 61, 62, 66, 68, 71, 72, 82, 85, 86, 92, 93, 96, 97, 98, 100, 101, 104, 105, 106, 107, 111, 114, 115, 116, 119, 120, 123, 124, 126, 128, 129, 130, 132, 137, 138, 139, 140, 142, 143, 145, 146, 147, 153, 154, 158, 160, 161, 165, 167, 168, 169, 172, 173, 174, 175, 176, 178, 182, 183, 185, 186, 190, 191, 194, 196, 200, 203, 204, 210, 214, 218, 220, 221, 222, 226, 227, 233, 234, 235, 236, 237, 239, 242, 245, 248], [0, 1, 2, 3, 4, 6, 9, 11, 14, 17, 18, 19, 23, 24, 26, 27, 28, 31, 33, 36, 37, 38, 39, 40, 46, 48, 49, 51, 55, 57, 58, 59, 61, 62, 63, 64, 66, 67, 71, 72, 75, 76, 77, 78, 81, 85, 92, 94, 98, 99, 100, 101, 102, 104, 106, 107, 108, 111, 112, 115, 116, 117, 121, 122, 124, 125, 126, 129, 134, 135, 136, 137, 143, 147, 149, 150, 151, 152, 153, 156, 159, 160, 161, 163, 164, 166, 167, 168, 170, 173, 175, 179, 181, 182, 183, 185, 186, 187, 189, 190, 192, 195, 197, 200, 203, 204, 205, 207, 208, 209, 210, 211, 212, 213, 215, 216, 217, 219, 221, 222, 225, 227, 228, 229, 232, 233, 234, 235, 238, 239, 240, 242, 245, 246, 247], [1, 5, 7, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22, 24, 25, 28, 31, 34, 35, 36, 37, 39, 40, 42, 46, 49, 52, 53, 54, 55, 58, 60, 62, 66, 69, 70, 72, 73, 75, 76, 80, 81, 83, 84, 85, 87, 89, 92, 93, 94, 96, 97, 98, 100, 101, 104, 105, 106, 107, 108, 111, 113, 115, 119, 120, 122, 123, 124, 125, 132, 135, 138, 139, 141, 142, 144, 146, 147, 148, 149, 150, 158, 159, 161, 163, 164, 165, 166, 167, 168, 170, 171, 173, 175, 176, 178, 180, 183, 185, 187, 188, 189, 191, 192, 193, 195, 196, 201, 202, 205, 206, 207, 208, 209, 211, 213, 215, 216, 217, 220, 224, 225, 226, 230, 231, 234, 236, 239, 240, 243, 244, 245, 246, 248], [4, 7, 8, 11, 13, 14, 18, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 39, 41, 42, 44, 50, 51, 56, 58, 62, 63, 64, 65, 70, 72, 74, 75, 79, 81, 82, 86, 87, 90, 93, 99, 100, 103, 105, 108, 109, 110, 112, 113, 114, 117, 120, 124, 126, 128, 129, 130, 131, 133, 134, 135, 138, 139, 140, 142, 143, 144, 145, 148, 150, 151, 153, 159, 162, 163, 164, 165, 167, 169, 170, 174, 178, 181, 183, 184, 185, 186, 188, 193, 194, 195, 201, 202, 203, 204, 205, 210, 211, 217, 218, 219, 220, 222, 223, 224, 226, 229, 234, 235, 237, 244, 245, 246, 247, 249], [1, 2, 3, 6, 7, 11, 12, 15, 18, 19, 21, 23, 27, 29, 31, 32, 33, 34, 35, 36, 39, 43, 45, 47, 48, 50, 51, 56, 58, 69, 70, 73, 74, 78, 79, 81, 83, 85, 94, 95, 96, 98, 99, 100, 102, 105, 107, 109, 110, 111, 112, 115, 116, 122, 123, 125, 126, 127, 129, 134, 135, 136, 138, 139, 144, 145, 146, 147, 148, 149, 151, 152, 153, 156, 158, 161, 163, 164, 165, 167, 168, 169, 173, 180, 182, 185, 187, 188, 193, 194, 197, 199, 205, 212, 213, 221, 222, 223, 224, 225, 226, 227, 229, 230, 231, 234, 241, 243, 244, 247, 249], [0, 1, 2, 5, 8, 9, 13, 16, 18, 20, 22, 24, 26, 27, 28, 31, 32, 33, 34, 36, 37, 38, 41, 42, 43, 45, 46, 48, 50, 51, 52, 53, 55, 57, 61, 62, 64, 71, 72, 73, 74, 77, 80, 81, 82, 83, 84, 87, 89, 90, 91, 92, 95, 96, 97, 98, 99, 100, 101, 103, 105, 106, 108, 109, 112, 114, 118, 119, 122, 124, 125, 129, 130, 133, 135, 137, 139, 140, 141, 143, 145, 147, 150, 151, 153, 158, 160, 161, 162, 163, 166, 167, 169, 172, 175, 177, 178, 180, 181, 185, 188, 200, 201, 202, 207, 208, 210, 213, 214, 215, 219, 221, 223, 226, 229, 234, 237, 238, 242, 244, 246, 248, 249], [0, 1, 3, 5, 6, 8, 9, 11, 12, 13, 16, 23, 26, 28, 32, 34, 37, 40, 41, 42, 43, 48, 51, 52, 53, 54, 57, 59, 61, 62, 64, 68, 71, 72, 74, 75, 82, 84, 85, 88, 91, 93, 95, 98, 99, 101, 102, 103, 104, 107, 109, 113, 114, 116, 117, 118, 126, 132, 134, 135, 136, 138, 139, 142, 143, 144, 151, 153, 154, 155, 156, 157, 158, 162, 165, 166, 168, 169, 171, 172, 174, 175, 177, 179, 181, 182, 185, 188, 192, 193, 194, 195, 196, 198, 199, 200, 201, 202, 204, 206, 207, 209, 211, 217, 220, 221, 222, 223, 224, 225, 227, 234, 235, 236, 237, 239, 243, 244, 245, 246, 247], [0, 2, 3, 9, 11, 12, 17, 20, 22, 24, 25, 27, 29, 33, 38, 40, 44, 49, 53, 54, 56, 60, 61, 65, 66, 67, 69, 70, 71, 72, 74, 79, 81, 82, 83, 86, 87, 89, 90, 92, 94, 95, 96, 99, 101, 102, 104, 105, 107, 109, 110, 114, 119, 120, 122, 123, 124, 125, 126, 127, 129, 131, 132, 134, 137, 139, 140, 141, 142, 144, 147, 151, 152, 153, 156, 158, 160, 163, 164, 168, 172, 173, 174, 177, 182, 183, 185, 186, 187, 188, 189, 192, 194, 196, 198, 202, 203, 205, 206, 207, 208, 210, 212, 213, 214, 215, 219, 225, 226, 227, 228, 229, 232, 233, 234, 236, 238, 239, 240, 244, 245, 246, 247, 248], [1, 4, 6, 8, 9, 10, 15, 16, 19, 20, 28, 34, 35, 37, 38, 40, 42, 43, 44, 45, 46, 48, 49, 50, 52, 56, 57, 59, 60, 61, 63, 65, 66, 68, 69, 70, 72, 73, 75, 77, 78, 82, 83, 84, 85, 88, 90, 91, 92, 94, 97, 98, 99, 100, 101, 102, 103, 104, 105, 109, 110, 112, 115, 116, 117, 119, 120, 121, 124, 126, 129, 130, 132, 134, 135, 136, 138, 139, 140, 141, 143, 147, 151, 153, 155, 156, 157, 158, 163, 165, 166, 167, 170, 171, 172, 174, 177, 178, 181, 182, 183, 184, 186, 187, 188, 196, 197, 198, 202, 203, 206, 207, 208, 210, 211, 212, 215, 216, 217, 218, 220, 222, 223, 224, 225, 228, 229, 230, 231, 233, 234, 237, 239, 241, 242, 244, 245, 249], [2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 17, 19, 20, 21, 24, 27, 32, 34, 35, 37, 39, 43, 47, 48, 49, 50, 51, 53, 54, 56, 58, 59, 60, 61, 64, 66, 67, 69, 70, 73, 75, 80, 83, 85, 86, 88, 89, 91, 94, 96, 97, 98, 100, 101, 103, 104, 105, 107, 108, 109, 112, 113, 115, 121, 123, 124, 125, 130, 131, 133, 134, 136, 141, 145, 146, 147, 149, 151, 153, 156, 157, 159, 160, 161, 162, 163, 165, 166, 167, 168, 169, 170, 172, 173, 175, 180, 182, 185, 187, 189, 190, 191, 193, 196, 197, 199, 200, 201, 202, 210, 213, 217, 218, 221, 222, 226, 227, 228, 233, 234, 235, 236, 239, 242, 245, 247, 249], [1, 2, 5, 8, 12, 14, 15, 17, 18, 19, 23, 26, 27, 29, 32, 33, 35, 36, 39, 42, 43, 45, 47, 49, 51, 52, 57, 58, 59, 60, 62, 64, 68, 69, 70, 72, 73, 75, 77, 82, 83, 85, 87, 88, 89, 91, 94, 95, 96, 98, 99, 101, 102, 103, 105, 106, 112, 113, 114, 115, 118, 119, 120, 122, 123, 124, 125, 126, 128, 131, 133, 135, 136, 139, 140, 143, 144, 145, 148, 149, 151, 153, 155, 159, 161, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 175, 177, 178, 181, 182, 184, 186, 188, 189, 190, 191, 193, 194, 195, 196, 200, 208, 211, 214, 217, 218, 219, 220, 221, 222, 227, 229, 234, 240, 242, 247, 248], [1, 2, 3, 4, 5, 6, 13, 15, 16, 21, 25, 26, 27, 30, 31, 32, 33, 36, 41, 43, 44, 45, 49, 51, 54, 55, 60, 62, 64, 67, 68, 72, 75, 77, 78, 80, 84, 85, 89, 90, 93, 97, 100, 101, 102, 104, 105, 109, 111, 112, 113, 118, 122, 123, 126, 132, 133, 135, 136, 139, 140, 146, 147, 150, 152, 153, 154, 155, 157, 158, 161, 162, 163, 165, 166, 169, 170, 171, 172, 177, 178, 180, 181, 183, 185, 186, 187, 189, 194, 195, 196, 198, 201, 202, 206, 208, 210, 213, 217, 219, 224, 230, 231, 233, 234, 238, 239, 241, 242, 243, 245, 246, 247, 249], [3, 4, 5, 7, 8, 9, 12, 13, 16, 19, 21, 27, 30, 31, 32, 33, 41, 42, 44, 47, 48, 49, 52, 53, 54, 56, 57, 58, 62, 63, 66, 67, 68, 73, 78, 79, 80, 82, 83, 84, 86, 87, 88, 89, 90, 91, 95, 96, 99, 103, 105, 107, 108, 109, 111, 113, 117, 118, 119, 121, 122, 125, 126, 127, 128, 129, 132, 133, 139, 141, 143, 144, 149, 150, 151, 154, 158, 160, 162, 166, 167, 168, 169, 170, 171, 172, 173, 177, 178, 180, 182, 183, 184, 186, 187, 188, 189, 190, 191, 192, 195, 196, 197, 201, 202, 203, 204, 206, 208, 211, 212, 213, 214, 217, 218, 219, 220, 222, 223, 224, 227, 228, 229, 230, 231, 232, 233, 238, 241, 243, 245, 247, 248, 249], [1, 2, 4, 5, 6, 8, 9, 10, 13, 15, 21, 22, 24, 25, 28, 31, 32, 34, 35, 36, 37, 39, 40, 42, 43, 45, 52, 54, 56, 57, 58, 60, 66, 67, 69, 71, 72, 73, 74, 76, 77, 78, 79, 81, 82, 84, 85, 86, 87, 88, 93, 94, 96, 98, 99, 100, 104, 105, 110, 112, 113, 114, 116, 117, 118, 119, 122, 124, 125, 128, 129, 130, 132, 133, 134, 136, 139, 141, 142, 145, 146, 148, 150, 151, 152, 153, 154, 155, 157, 158, 162, 163, 164, 167, 168, 169, 171, 173, 174, 175, 176, 178, 179, 180, 182, 184, 185, 186, 188, 189, 190, 193, 195, 196, 199, 200, 203, 204, 207, 209, 210, 211, 212, 213, 215, 217, 219, 223, 225, 235, 237, 238, 240, 241, 242, 243, 244, 246, 247], [1, 3, 4, 5, 7, 8, 11, 12, 14, 15, 17, 20, 22, 27, 28, 30, 32, 42, 43, 44, 45, 48, 50, 54, 56, 57, 58, 62, 64, 65, 71, 72, 74, 76, 77, 81, 82, 86, 94, 96, 97, 100, 102, 104, 105, 107, 110, 111, 112, 115, 118, 119, 122, 123, 127, 128, 129, 131, 132, 133, 134, 137, 140, 141, 142, 143, 145, 147, 150, 153, 154, 157, 159, 163, 164, 165, 168, 169, 176, 178, 179, 180, 181, 182, 184, 185, 186, 188, 189, 190, 193, 194, 197, 198, 199, 200, 201, 204, 205, 206, 207, 208, 210, 211, 212, 214, 215, 216, 218, 220, 221, 222, 225, 226, 228, 233, 235, 236, 237, 241, 242, 243, 244], [3, 4, 7, 10, 13, 14, 20, 21, 22, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 39, 41, 42, 43, 44, 48, 49, 51, 54, 56, 59, 60, 62, 65, 66, 68, 69, 71, 73, 74, 75, 76, 82, 84, 85, 86, 89, 92, 93, 94, 95, 96, 97, 99, 100, 106, 109, 110, 111, 112, 115, 116, 119, 120, 121, 123, 124, 129, 130, 134, 136, 137, 138, 146, 151, 152, 153, 154, 156, 161, 162, 163, 164, 169, 172, 173, 175, 176, 177, 178, 179, 186, 187, 190, 191, 192, 193, 194, 195, 197, 198, 200, 201, 204, 205, 208, 209, 210, 214, 216, 218, 221, 222, 223, 226, 229, 231, 233, 234, 235, 237, 238, 240, 244, 246, 248, 249], [0, 5, 6, 10, 11, 14, 15, 16, 19, 21, 25, 27, 29, 31, 33, 35, 37, 38, 39, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 62, 63, 64, 68, 69, 71, 72, 76, 77, 78, 80, 82, 83, 84, 86, 87, 91, 92, 95, 98, 100, 101, 104, 105, 106, 107, 108, 114, 115, 117, 118, 119, 120, 122, 123, 125, 129, 130, 131, 132, 133, 134, 135, 137, 139, 144, 148, 149, 151, 152, 153, 154, 157, 159, 162, 163, 164, 165, 167, 168, 169, 170, 172, 173, 174, 183, 188, 191, 201, 209, 210, 211, 212, 213, 215, 216, 217, 221, 224, 225, 226, 229, 231, 234, 236, 241, 242, 243, 248, 249], [2, 5, 6, 7, 8, 10, 12, 14, 17, 19, 20, 21, 22, 23, 26, 28, 30, 35, 37, 41, 42, 45, 46, 48, 49, 53, 54, 55, 56, 60, 61, 63, 68, 69, 73, 74, 75, 78, 81, 82, 83, 85, 86, 88, 90, 91, 93, 95, 96, 99, 100, 104, 105, 106, 108, 109, 110, 111, 113, 115, 117, 118, 119, 123, 127, 129, 132, 133, 138, 139, 143, 144, 145, 146, 152, 153, 154, 155, 156, 157, 161, 166, 167, 170, 171, 172, 174, 176, 177, 179, 180, 182, 183, 184, 185, 186, 190, 191, 193, 194, 198, 199, 204, 205, 206, 208, 209, 210, 213, 215, 216, 219, 222, 224, 225, 226, 228, 229, 230, 231, 233, 234, 237, 240, 241, 242, 243, 246], [0, 3, 5, 6, 8, 11, 12, 15, 16, 20, 22, 25, 27, 28, 31, 32, 33, 34, 35, 40, 42, 43, 44, 45, 46, 48, 49, 50, 51, 60, 61, 69, 70, 72, 74, 77, 78, 80, 81, 83, 88, 90, 92, 98, 99, 101, 106, 107, 109, 110, 112, 113, 115, 116, 117, 118, 120, 123, 125, 126, 128, 129, 131, 132, 134, 139, 142, 143, 144, 148, 149, 150, 151, 157, 159, 161, 162, 165, 166, 167, 169, 171, 174, 175, 182, 185, 187, 189, 192, 193, 194, 195, 198, 200, 201, 203, 206, 208, 209, 210, 212, 214, 215, 216, 217, 223, 226, 227, 231, 232, 236, 241, 243, 244, 245, 247], [1, 6, 12, 19, 27, 29, 30, 31, 33, 38, 39, 40, 41, 42, 44, 46, 48, 52, 61, 62, 65, 74, 76, 78, 79, 81, 82, 85, 88, 89, 97, 98, 99, 104, 105, 107, 108, 110, 112, 114, 115, 116, 117, 118, 119, 121, 123, 124, 125, 126, 127, 129, 130, 131, 133, 137, 138, 139, 140, 144, 147, 149, 151, 152, 153, 155, 157, 159, 160, 161, 163, 164, 166, 168, 171, 172, 173, 176, 177, 178, 180, 181, 182, 184, 187, 191, 197, 198, 201, 202, 203, 207, 208, 209, 210, 211, 213, 216, 218, 222, 226, 227, 229, 232, 236, 238, 241, 244, 245, 247, 249], [0, 1, 2, 3, 4, 5, 6, 9, 10, 12, 13, 16, 17, 18, 19, 20, 21, 22, 24, 27, 29, 33, 36, 37, 38, 41, 42, 43, 45, 47, 51, 52, 54, 55, 60, 61, 63, 64, 66, 67, 72, 73, 74, 75, 78, 86, 88, 89, 90, 93, 95, 97, 98, 99, 100, 101, 103, 104, 105, 108, 111, 114, 117, 119, 120, 121, 124, 125, 128, 129, 131, 132, 133, 134, 139, 140, 146, 147, 150, 151, 153, 154, 155, 156, 157, 158, 159, 160, 162, 163, 165, 168, 169, 170, 173, 174, 176, 177, 178, 179, 183, 185, 187, 190, 191, 192, 194, 195, 199, 200, 201, 206, 214, 215, 220, 221, 223, 224, 225, 226, 227, 230, 233, 235, 237, 243, 244, 246, 249], [0, 1, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 16, 20, 22, 27, 28, 31, 32, 33, 34, 36, 37, 40, 42, 43, 47, 48, 50, 51, 54, 56, 57, 58, 59, 61, 62, 63, 65, 66, 68, 71, 72, 74, 75, 76, 79, 80, 81, 85, 87, 91, 93, 94, 98, 99, 105, 107, 108, 109, 110, 112, 114, 120, 122, 123, 124, 125, 126, 127, 128, 130, 133, 136, 137, 140, 143, 144, 148, 152, 154, 155, 157, 159, 161, 164, 165, 168, 169, 170, 171, 172, 178, 180, 182, 183, 184, 185, 186, 188, 190, 195, 197, 199, 200, 201, 202, 207, 208, 209, 210, 211, 213, 217, 219, 222, 223, 224, 227, 230, 231, 232, 234, 236, 237, 238, 240, 242, 245, 248], [1, 2, 7, 8, 10, 11, 15, 18, 19, 20, 21, 22, 23, 24, 25, 27, 29, 30, 31, 37, 38, 39, 40, 42, 43, 49, 51, 54, 55, 56, 59, 61, 62, 63, 66, 67, 68, 69, 71, 72, 73, 74, 75, 78, 80, 82, 83, 85, 87, 91, 92, 93, 94, 95, 96, 106, 108, 109, 113, 114, 115, 117, 118, 123, 124, 125, 126, 128, 129, 131, 139, 141, 143, 145, 146, 149, 150, 154, 155, 158, 159, 160, 162, 163, 164, 165, 166, 169, 178, 179, 180, 181, 185, 186, 189, 193, 195, 198, 199, 200, 201, 202, 204, 207, 208, 209, 210, 211, 213, 219, 220, 221, 222, 224, 225, 226, 229, 230, 231, 232, 237, 239, 240, 241, 242], [0, 1, 2, 3, 8, 10, 11, 14, 15, 17, 22, 23, 24, 25, 27, 30, 31, 32, 34, 37, 38, 39, 40, 44, 46, 47, 48, 49, 51, 52, 53, 56, 57, 58, 59, 63, 64, 68, 71, 72, 75, 80, 81, 82, 83, 85, 87, 88, 89, 90, 91, 93, 94, 96, 97, 103, 104, 105, 106, 114, 115, 116, 118, 119, 122, 123, 124, 125, 126, 128, 130, 132, 135, 136, 140, 142, 144, 146, 147, 150, 153, 155, 162, 166, 169, 170, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 191, 192, 194, 197, 198, 199, 200, 203, 204, 208, 210, 211, 213, 215, 216, 217, 218, 219, 220, 222, 228, 231, 232, 234, 236, 237, 243, 244, 246, 247, 248], [0, 6, 18, 19, 21, 22, 23, 24, 25, 27, 31, 32, 34, 35, 36, 37, 48, 51, 52, 53, 54, 55, 58, 60, 61, 67, 68, 70, 72, 77, 79, 80, 81, 82, 83, 84, 85, 86, 89, 90, 91, 92, 93, 94, 95, 97, 101, 102, 104, 105, 108, 109, 113, 116, 117, 120, 127, 128, 129, 130, 132, 133, 135, 136, 137, 139, 140, 141, 144, 145, 149, 152, 153, 158, 159, 162, 163, 164, 165, 167, 168, 171, 173, 174, 175, 176, 179, 182, 184, 187, 188, 192, 194, 195, 196, 197, 198, 199, 200, 203, 206, 208, 210, 213, 214, 217, 218, 219, 221, 222, 229, 232, 234, 235, 236, 237, 238, 239, 241, 243, 244, 245, 246, 247], [0, 1, 2, 4, 6, 7, 8, 10, 11, 14, 15, 16, 17, 18, 20, 21, 22, 25, 27, 28, 29, 30, 31, 32, 35, 36, 39, 43, 46, 48, 49, 50, 53, 54, 55, 58, 62, 63, 66, 69, 71, 73, 75, 79, 80, 81, 82, 86, 87, 88, 89, 90, 95, 96, 99, 102, 103, 104, 114, 115, 118, 123, 124, 125, 127, 134, 136, 138, 139, 140, 146, 149, 151, 152, 153, 154, 157, 159, 160, 163, 168, 170, 171, 172, 174, 176, 178, 179, 180, 182, 183, 184, 185, 186, 189, 192, 193, 194, 195, 196, 199, 200, 201, 202, 203, 204, 205, 206, 207, 212, 214, 216, 217, 218, 219, 222, 223, 225, 226, 227, 228, 229, 230, 232, 234, 235, 237, 241, 242, 243, 244, 248], [0, 2, 3, 5, 7, 14, 15, 18, 20, 27, 29, 31, 35, 38, 40, 41, 47, 48, 51, 55, 57, 58, 59, 65, 67, 69, 74, 78, 79, 80, 81, 82, 84, 86, 91, 92, 93, 95, 97, 98, 100, 103, 104, 105, 106, 108, 110, 114, 116, 120, 122, 124, 126, 127, 129, 130, 131, 134, 138, 140, 141, 143, 144, 145, 146, 147, 148, 150, 151, 153, 155, 159, 160, 161, 162, 163, 164, 166, 169, 171, 172, 173, 176, 179, 180, 182, 183, 186, 189, 190, 192, 194, 197, 198, 199, 200, 202, 203, 205, 206, 207, 215, 216, 218, 219, 222, 225, 226, 227, 229, 233, 235, 236, 241, 248], [0, 1, 2, 7, 8, 9, 10, 11, 12, 16, 19, 20, 21, 23, 24, 26, 27, 28, 29, 30, 33, 35, 38, 39, 45, 50, 51, 59, 63, 65, 66, 68, 71, 72, 77, 79, 80, 82, 88, 90, 92, 93, 94, 97, 98, 99, 100, 101, 103, 106, 107, 108, 110, 112, 116, 117, 119, 120, 122, 125, 128, 132, 134, 136, 138, 142, 144, 146, 147, 148, 149, 150, 151, 154, 155, 156, 157, 158, 160, 162, 167, 169, 171, 172, 174, 177, 178, 180, 181, 182, 184, 186, 187, 189, 190, 191, 192, 194, 195, 199, 201, 202, 203, 205, 207, 208, 210, 213, 215, 216, 219, 220, 221, 222, 223, 226, 228, 230, 232, 235, 236, 238, 239, 240, 242, 246, 249], [0, 3, 9, 11, 12, 13, 18, 19, 20, 21, 25, 26, 27, 29, 30, 31, 34, 37, 39, 41, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 65, 66, 68, 70, 71, 72, 76, 78, 79, 81, 83, 85, 86, 91, 93, 94, 95, 98, 99, 103, 106, 108, 109, 110, 112, 113, 114, 115, 116, 120, 121, 122, 123, 126, 129, 130, 131, 132, 134, 135, 136, 139, 140, 142, 143, 144, 148, 150, 152, 153, 154, 156, 157, 159, 160, 162, 164, 166, 167, 169, 170, 171, 177, 181, 182, 184, 190, 191, 192, 196, 197, 198, 203, 208, 209, 212, 214, 217, 218, 219, 220, 222, 223, 225, 226, 228, 229, 232, 233, 236, 239, 242, 243], [3, 8, 10, 12, 13, 14, 15, 17, 19, 22, 24, 26, 27, 30, 32, 33, 34, 35, 36, 39, 42, 43, 44, 45, 47, 49, 50, 51, 52, 53, 54, 56, 57, 59, 60, 62, 64, 67, 68, 75, 78, 80, 81, 82, 83, 86, 88, 89, 93, 95, 96, 97, 98, 100, 101, 104, 105, 108, 109, 110, 111, 112, 113, 116, 117, 120, 122, 123, 124, 127, 128, 129, 130, 133, 134, 137, 139, 140, 143, 145, 147, 148, 150, 151, 153, 154, 162, 163, 164, 165, 166, 167, 168, 175, 177, 179, 180, 182, 183, 187, 189, 190, 193, 194, 196, 197, 199, 201, 202, 203, 204, 208, 210, 211, 212, 214, 215, 216, 224, 225, 226, 228, 230, 234, 239, 240, 243, 245, 246, 249], [2, 3, 5, 7, 8, 12, 13, 14, 16, 20, 24, 25, 28, 32, 33, 34, 37, 38, 39, 45, 46, 47, 49, 50, 51, 56, 57, 60, 64, 66, 67, 69, 70, 73, 74, 76, 78, 79, 80, 82, 84, 88, 89, 90, 91, 95, 96, 98, 99, 100, 102, 104, 105, 107, 110, 111, 112, 113, 118, 119, 121, 124, 125, 126, 135, 136, 139, 140, 142, 143, 144, 145, 146, 148, 149, 151, 152, 153, 154, 155, 156, 158, 161, 173, 175, 176, 177, 180, 182, 187, 192, 193, 196, 197, 200, 201, 202, 205, 206, 207, 208, 209, 212, 213, 214, 215, 217, 219, 220, 223, 230, 231, 232, 235, 236, 237, 238, 240, 241, 244, 246, 247, 248, 249], [2, 6, 7, 9, 10, 11, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 28, 29, 32, 35, 36, 37, 38, 39, 42, 46, 47, 48, 53, 54, 56, 61, 62, 64, 65, 67, 68, 69, 72, 73, 75, 76, 77, 78, 81, 82, 86, 89, 91, 92, 93, 94, 98, 99, 103, 108, 109, 111, 112, 113, 114, 118, 120, 121, 122, 123, 127, 130, 131, 132, 134, 135, 136, 139, 140, 141, 142, 147, 152, 153, 155, 156, 158, 163, 164, 165, 167, 172, 173, 174, 176, 177, 179, 180, 182, 184, 186, 187, 189, 190, 193, 197, 200, 202, 204, 206, 210, 211, 212, 217, 219, 221, 222, 223, 226, 230, 231, 232, 233, 235, 242, 243, 247], [2, 3, 7, 11, 12, 14, 18, 21, 22, 29, 37, 41, 43, 44, 47, 48, 50, 53, 56, 61, 62, 63, 64, 66, 68, 70, 72, 73, 76, 78, 79, 83, 84, 86, 87, 91, 94, 96, 97, 99, 104, 105, 109, 111, 113, 114, 115, 116, 117, 119, 125, 129, 131, 134, 135, 137, 141, 142, 144, 145, 146, 149, 151, 152, 153, 154, 159, 160, 161, 163, 164, 165, 168, 169, 172, 173, 174, 179, 182, 184, 186, 189, 190, 192, 193, 194, 195, 197, 198, 200, 201, 202, 203, 204, 206, 208, 209, 211, 216, 217, 218, 221, 222, 223, 224, 225, 226, 228, 230, 232, 234, 236, 238, 242, 245, 247], [2, 6, 9, 11, 12, 18, 21, 22, 27, 30, 32, 34, 35, 37, 38, 39, 44, 45, 46, 47, 49, 50, 51, 57, 58, 59, 60, 62, 63, 64, 66, 68, 69, 70, 71, 73, 74, 78, 79, 82, 83, 84, 86, 88, 89, 90, 93, 95, 96, 97, 98, 106, 107, 108, 109, 110, 113, 115, 118, 119, 120, 121, 122, 125, 129, 130, 131, 132, 134, 135, 136, 137, 140, 141, 143, 144, 147, 149, 150, 152, 158, 161, 162, 163, 164, 165, 166, 168, 169, 171, 174, 176, 177, 179, 183, 184, 185, 186, 187, 188, 189, 190, 191, 194, 196, 199, 200, 203, 204, 207, 213, 214, 216, 217, 222, 224, 225, 226, 228, 229, 231, 232, 233, 234, 235, 236, 237, 238, 240, 241, 245, 246, 249], [0, 4, 6, 8, 9, 11, 13, 14, 15, 17, 18, 19, 20, 22, 23, 24, 27, 28, 32, 33, 34, 36, 37, 38, 40, 41, 42, 45, 48, 51, 52, 54, 55, 56, 63, 64, 66, 67, 68, 69, 71, 74, 75, 78, 79, 80, 82, 84, 85, 88, 90, 91, 92, 96, 97, 99, 101, 104, 105, 106, 107, 109, 112, 113, 118, 123, 129, 130, 133, 134, 135, 136, 137, 138, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 163, 164, 168, 172, 173, 175, 177, 182, 185, 186, 188, 189, 192, 193, 195, 196, 198, 207, 209, 211, 212, 214, 215, 220, 222, 224, 225, 226, 231, 235, 236, 238, 249], [2, 3, 4, 5, 8, 10, 12, 13, 15, 17, 18, 20, 22, 25, 29, 31, 36, 37, 39, 40, 42, 43, 44, 45, 49, 50, 55, 60, 62, 63, 65, 66, 67, 68, 69, 70, 73, 75, 76, 77, 78, 79, 80, 82, 84, 85, 91, 95, 98, 99, 102, 103, 104, 105, 106, 107, 108, 109, 112, 114, 117, 118, 121, 123, 126, 127, 130, 132, 137, 139, 140, 141, 142, 145, 153, 155, 156, 157, 158, 167, 168, 170, 171, 173, 176, 178, 179, 180, 182, 183, 184, 185, 186, 187, 188, 190, 192, 194, 196, 198, 199, 200, 201, 202, 203, 208, 210, 211, 213, 214, 216, 219, 220, 223, 224, 225, 227, 229, 233, 235, 239, 240, 249], [2, 3, 4, 5, 8, 11, 14, 15, 17, 18, 19, 23, 27, 28, 29, 31, 33, 34, 40, 42, 46, 47, 49, 50, 51, 52, 54, 55, 56, 57, 59, 62, 64, 65, 67, 70, 71, 74, 75, 76, 80, 81, 86, 87, 89, 91, 92, 94, 95, 96, 97, 98, 100, 101, 103, 104, 106, 107, 112, 113, 114, 116, 121, 123, 124, 126, 127, 129, 134, 136, 137, 139, 143, 145, 147, 150, 152, 159, 160, 165, 167, 168, 170, 171, 174, 179, 183, 184, 185, 186, 188, 191, 193, 194, 195, 196, 197, 198, 199, 201, 202, 204, 206, 207, 210, 211, 213, 215, 219, 220, 224, 226, 227, 229, 230, 232, 233, 236, 237, 239, 241, 243, 244, 247, 248, 249], [7, 8, 9, 11, 13, 14, 15, 18, 19, 23, 24, 25, 30, 39, 44, 45, 48, 49, 50, 54, 55, 57, 61, 62, 64, 66, 70, 72, 74, 75, 78, 79, 82, 83, 84, 89, 90, 91, 93, 95, 96, 98, 99, 102, 103, 104, 105, 110, 111, 112, 117, 118, 120, 122, 123, 128, 129, 130, 132, 133, 134, 135, 139, 140, 141, 143, 146, 147, 150, 151, 155, 157, 158, 159, 160, 162, 164, 165, 166, 167, 171, 173, 174, 175, 177, 179, 180, 182, 185, 186, 189, 190, 193, 194, 195, 196, 197, 198, 199, 200, 206, 212, 213, 216, 223, 224, 225, 226, 228, 230, 231, 232, 233, 234, 235, 236, 237, 238, 240, 244, 246], [0, 1, 2, 3, 4, 8, 10, 11, 12, 13, 15, 17, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 38, 40, 42, 45, 49, 52, 54, 55, 56, 58, 59, 61, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 76, 77, 80, 81, 82, 86, 87, 91, 93, 98, 100, 102, 105, 108, 112, 114, 116, 118, 119, 120, 121, 122, 124, 125, 126, 129, 133, 138, 140, 141, 143, 144, 147, 151, 153, 154, 155, 157, 158, 159, 161, 163, 164, 165, 167, 168, 169, 171, 172, 173, 178, 179, 180, 183, 184, 187, 188, 189, 191, 193, 197, 201, 209, 210, 211, 216, 218, 219, 222, 224, 225, 226, 227, 231, 233, 234, 235, 237, 239, 244, 245, 246, 247, 248], [0, 2, 3, 5, 6, 8, 9, 12, 13, 17, 22, 23, 25, 26, 28, 29, 34, 36, 37, 38, 41, 42, 44, 48, 49, 50, 51, 52, 53, 57, 59, 60, 62, 64, 65, 66, 68, 69, 71, 73, 76, 79, 80, 82, 83, 84, 90, 91, 93, 98, 100, 102, 106, 108, 109, 113, 114, 118, 119, 121, 123, 125, 126, 127, 128, 134, 135, 136, 137, 139, 141, 142, 146, 151, 153, 154, 155, 158, 159, 160, 163, 166, 167, 168, 174, 175, 179, 181, 185, 186, 187, 189, 190, 194, 197, 198, 199, 205, 210, 211, 212, 214, 219, 220, 225, 226, 227, 230, 232, 237, 238, 239, 245, 246, 247], [0, 2, 6, 7, 13, 14, 15, 16, 17, 19, 20, 21, 24, 25, 26, 28, 31, 32, 34, 35, 36, 37, 38, 39, 40, 45, 46, 48, 49, 50, 52, 53, 54, 60, 63, 65, 66, 68, 70, 71, 72, 73, 76, 78, 80, 84, 86, 87, 93, 94, 95, 100, 102, 104, 106, 107, 108, 111, 112, 116, 118, 122, 123, 124, 126, 127, 128, 129, 131, 134, 135, 136, 137, 140, 142, 143, 144, 150, 151, 153, 157, 160, 161, 164, 166, 171, 175, 179, 182, 183, 185, 188, 189, 192, 195, 196, 198, 199, 200, 202, 204, 205, 208, 210, 216, 218, 219, 222, 225, 226, 229, 231, 234, 236, 239, 241, 242, 244, 245, 247], [0, 1, 3, 4, 5, 6, 8, 16, 17, 18, 20, 21, 22, 24, 27, 29, 34, 35, 38, 39, 41, 42, 43, 44, 51, 52, 53, 57, 59, 60, 61, 62, 63, 64, 65, 66, 68, 71, 76, 77, 78, 83, 88, 90, 91, 92, 94, 95, 101, 103, 104, 105, 108, 110, 112, 113, 115, 118, 119, 131, 133, 135, 138, 139, 140, 141, 143, 144, 146, 147, 149, 150, 153, 159, 165, 168, 169, 175, 178, 179, 182, 183, 188, 191, 193, 195, 196, 201, 205, 206, 208, 209, 212, 213, 215, 217, 218, 223, 224, 227, 228, 231, 232, 234, 236, 238, 240, 241, 246, 247], [1, 2, 6, 9, 17, 18, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 53, 55, 58, 59, 60, 61, 62, 66, 67, 68, 69, 70, 76, 77, 78, 79, 80, 82, 83, 84, 89, 91, 93, 96, 99, 104, 105, 106, 107, 108, 109, 110, 113, 114, 115, 116, 117, 118, 120, 121, 123, 125, 127, 128, 129, 130, 132, 137, 138, 140, 141, 142, 146, 147, 149, 150, 151, 152, 153, 154, 155, 156, 160, 161, 166, 167, 170, 171, 172, 173, 174, 177, 178, 181, 182, 184, 189, 192, 193, 195, 197, 201, 203, 204, 208, 209, 210, 211, 213, 216, 217, 219, 220, 221, 223, 224, 225, 226, 227, 228, 230, 231, 233, 235, 237, 238, 240, 242, 244, 246, 248], [0, 3, 6, 7, 9, 10, 13, 17, 19, 23, 25, 26, 27, 28, 29, 35, 36, 37, 38, 42, 43, 44, 46, 47, 49, 51, 53, 54, 55, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 76, 84, 87, 88, 95, 96, 98, 102, 103, 105, 108, 109, 110, 111, 112, 113, 116, 117, 118, 120, 122, 125, 126, 132, 134, 136, 137, 138, 142, 146, 147, 149, 150, 154, 155, 156, 160, 161, 163, 168, 170, 171, 172, 173, 174, 177, 179, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 194, 196, 197, 199, 200, 203, 205, 207, 208, 210, 212, 213, 214, 215, 217, 218, 219, 221, 223, 224, 225, 226, 229, 230, 231, 234, 235, 238, 240, 244, 245, 248, 249], [0, 1, 3, 4, 7, 8, 10, 11, 12, 14, 15, 19, 20, 21, 22, 25, 26, 27, 28, 32, 33, 35, 37, 39, 40, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 55, 58, 61, 63, 65, 68, 70, 71, 72, 73, 74, 75, 76, 78, 81, 82, 87, 89, 90, 91, 92, 93, 97, 98, 99, 100, 101, 102, 104, 106, 109, 110, 112, 113, 114, 118, 120, 121, 123, 125, 128, 129, 130, 132, 135, 137, 139, 143, 145, 146, 149, 151, 153, 154, 157, 160, 161, 162, 164, 166, 168, 169, 171, 176, 178, 179, 180, 181, 182, 183, 184, 186, 188, 189, 190, 193, 194, 196, 198, 199, 202, 203, 208, 209, 210, 212, 215, 219, 220, 224, 225, 226, 228, 229, 230, 232, 235, 236, 237, 238, 240, 241, 244, 245], [0, 3, 5, 8, 10, 15, 16, 17, 21, 23, 25, 28, 29, 30, 33, 37, 38, 40, 42, 43, 47, 48, 51, 54, 55, 56, 58, 60, 61, 65, 69, 71, 72, 75, 76, 80, 81, 82, 85, 88, 91, 93, 95, 98, 99, 101, 103, 104, 105, 106, 114, 116, 118, 120, 121, 122, 124, 127, 128, 129, 131, 134, 135, 136, 141, 143, 144, 147, 150, 151, 152, 154, 155, 156, 157, 159, 160, 162, 163, 165, 167, 168, 169, 173, 175, 179, 180, 181, 183, 186, 187, 189, 190, 194, 196, 198, 199, 204, 206, 207, 209, 210, 211, 212, 214, 215, 216, 217, 222, 226, 228, 229, 231, 234, 238, 239, 243, 247, 248], [2, 3, 5, 6, 9, 10, 13, 16, 17, 18, 19, 20, 23, 24, 25, 28, 30, 32, 33, 34, 36, 39, 40, 41, 42, 45, 47, 48, 53, 54, 55, 58, 59, 60, 62, 63, 64, 65, 66, 69, 73, 74, 75, 76, 77, 78, 79, 80, 82, 84, 86, 89, 92, 93, 95, 98, 100, 102, 105, 106, 108, 111, 113, 115, 119, 125, 127, 131, 134, 136, 138, 141, 142, 144, 145, 146, 147, 148, 149, 151, 152, 155, 157, 161, 162, 163, 164, 165, 166, 169, 173, 174, 175, 176, 177, 181, 182, 185, 186, 187, 191, 195, 196, 198, 199, 200, 205, 206, 207, 208, 210, 211, 214, 220, 221, 222, 225, 228, 229, 230, 231, 232, 233, 238, 239, 240, 244, 245, 246], [3, 6, 7, 8, 10, 13, 14, 16, 17, 20, 22, 24, 28, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 41, 44, 47, 49, 52, 54, 56, 58, 60, 62, 67, 71, 72, 74, 75, 77, 78, 79, 80, 82, 84, 85, 89, 90, 93, 94, 102, 103, 106, 107, 108, 109, 115, 119, 121, 122, 123, 125, 127, 130, 131, 132, 133, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 151, 152, 153, 156, 162, 167, 169, 170, 171, 172, 173, 175, 178, 182, 186, 188, 195, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 215, 216, 218, 220, 221, 222, 223, 224, 227, 230, 231, 235, 236, 238, 241, 244, 245, 246, 247], [0, 2, 5, 7, 9, 10, 12, 13, 15, 16, 18, 20, 21, 22, 25, 26, 27, 28, 34, 37, 38, 39, 47, 49, 51, 52, 54, 57, 59, 60, 64, 65, 70, 72, 76, 77, 79, 83, 86, 88, 89, 90, 95, 97, 99, 101, 107, 108, 109, 113, 114, 115, 119, 120, 121, 123, 129, 130, 133, 135, 136, 138, 141, 142, 145, 147, 150, 152, 154, 155, 156, 159, 162, 164, 165, 166, 167, 168, 171, 172, 175, 176, 178, 181, 187, 189, 191, 193, 194, 195, 196, 199, 202, 203, 206, 207, 210, 211, 216, 217, 219, 220, 221, 223, 224, 227, 228, 231, 233, 234, 236, 238, 240, 242, 246, 248], [1, 2, 4, 8, 9, 11, 12, 13, 14, 15, 16, 18, 20, 21, 24, 25, 27, 31, 34, 37, 39, 44, 45, 46, 47, 48, 49, 51, 52, 55, 60, 65, 67, 70, 71, 72, 73, 76, 78, 84, 85, 86, 87, 88, 90, 95, 98, 99, 100, 103, 104, 105, 106, 107, 109, 114, 115, 117, 118, 119, 121, 122, 124, 128, 129, 130, 131, 135, 136, 138, 140, 141, 142, 145, 146, 149, 150, 152, 153, 155, 157, 158, 160, 162, 163, 164, 168, 170, 175, 176, 177, 181, 182, 183, 184, 185, 187, 188, 190, 191, 195, 197, 198, 199, 200, 201, 205, 206, 207, 208, 209, 210, 213, 215, 218, 225, 228, 229, 230, 234, 235, 236, 239, 240, 241, 242, 244, 246, 249], [3, 5, 6, 8, 10, 11, 12, 16, 19, 22, 25, 30, 31, 32, 33, 34, 35, 36, 39, 41, 45, 46, 47, 48, 50, 52, 53, 54, 57, 58, 61, 62, 63, 64, 67, 72, 73, 75, 77, 78, 79, 82, 83, 84, 85, 88, 89, 90, 91, 94, 96, 97, 100, 101, 102, 104, 106, 110, 111, 112, 113, 117, 120, 121, 122, 124, 128, 129, 134, 136, 137, 140, 141, 144, 146, 150, 151, 154, 157, 158, 159, 160, 164, 167, 168, 170, 172, 173, 176, 177, 178, 180, 184, 191, 200, 203, 205, 207, 208, 209, 210, 212, 213, 214, 217, 219, 222, 225, 226, 232, 233, 234, 237, 239, 246, 247], [0, 1, 2, 6, 7, 8, 9, 10, 12, 13, 14, 16, 19, 20, 24, 25, 26, 28, 31, 32, 35, 41, 42, 43, 44, 45, 46, 48, 50, 55, 56, 57, 60, 62, 63, 65, 66, 67, 71, 74, 75, 76, 77, 78, 79, 80, 89, 90, 92, 93, 95, 97, 102, 103, 105, 107, 108, 109, 111, 114, 115, 119, 126, 127, 128, 130, 131, 132, 133, 134, 135, 136, 138, 139, 140, 142, 143, 144, 145, 149, 150, 151, 153, 160, 164, 167, 169, 170, 173, 174, 176, 177, 178, 179, 181, 183, 191, 196, 198, 200, 202, 203, 205, 207, 208, 210, 214, 218, 220, 221, 222, 224, 227, 229, 230, 231, 232, 234, 235, 237, 238, 239, 240, 243, 245, 247, 248], [0, 1, 2, 7, 11, 13, 16, 17, 21, 22, 26, 27, 28, 29, 31, 33, 35, 36, 37, 39, 43, 45, 46, 50, 51, 55, 58, 62, 63, 66, 68, 71, 72, 75, 78, 80, 82, 83, 84, 88, 90, 91, 92, 95, 96, 97, 98, 100, 101, 102, 103, 105, 106, 108, 113, 114, 115, 117, 118, 119, 120, 122, 124, 125, 126, 129, 130, 132, 133, 134, 135, 136, 138, 143, 144, 145, 146, 148, 150, 151, 152, 153, 155, 157, 163, 170, 173, 177, 178, 181, 182, 184, 186, 187, 190, 194, 199, 202, 203, 205, 206, 207, 209, 210, 212, 219, 220, 221, 222, 225, 226, 228, 229, 230, 232, 233, 234, 235, 237, 241, 245, 247], [1, 5, 6, 9, 12, 13, 17, 20, 23, 26, 27, 31, 34, 36, 38, 40, 41, 42, 43, 50, 52, 55, 57, 59, 61, 63, 64, 66, 67, 68, 69, 70, 73, 74, 80, 81, 82, 84, 87, 88, 89, 91, 92, 94, 96, 97, 99, 100, 101, 103, 106, 107, 108, 109, 113, 114, 117, 119, 120, 121, 122, 123, 124, 125, 126, 128, 129, 131, 132, 133, 138, 140, 141, 144, 145, 148, 150, 152, 155, 156, 157, 159, 160, 161, 162, 164, 165, 173, 174, 177, 179, 181, 182, 183, 186, 187, 188, 190, 191, 194, 196, 198, 200, 202, 203, 212, 213, 214, 217, 218, 219, 222, 223, 228, 231, 232, 234, 235, 236, 237, 240, 241, 242, 243, 248, 249], [0, 2, 4, 7, 8, 10, 11, 15, 17, 18, 21, 22, 23, 25, 27, 29, 31, 32, 36, 37, 38, 40, 41, 42, 46, 47, 48, 50, 51, 52, 55, 56, 57, 61, 62, 64, 65, 66, 67, 69, 72, 73, 74, 75, 76, 78, 79, 82, 83, 84, 86, 87, 88, 89, 90, 91, 96, 99, 100, 101, 102, 104, 107, 110, 111, 112, 113, 114, 115, 118, 119, 120, 123, 128, 129, 131, 132, 133, 135, 136, 137, 139, 140, 143, 146, 147, 150, 153, 154, 156, 160, 161, 162, 164, 165, 166, 167, 170, 171, 172, 174, 177, 178, 180, 184, 185, 187, 188, 189, 192, 193, 194, 197, 202, 205, 207, 210, 212, 213, 215, 216, 217, 219, 221, 223, 224, 225, 241, 242, 244, 246, 248, 249], [3, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 23, 24, 25, 27, 29, 32, 35, 37, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 59, 61, 62, 69, 70, 71, 72, 74, 75, 79, 80, 81, 85, 87, 88, 93, 95, 96, 98, 99, 103, 104, 109, 110, 111, 113, 114, 115, 116, 119, 120, 123, 126, 128, 130, 131, 134, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 149, 151, 155, 156, 157, 159, 161, 162, 163, 165, 166, 167, 168, 170, 171, 173, 174, 179, 180, 182, 185, 186, 187, 188, 192, 193, 196, 199, 202, 204, 207, 209, 210, 212, 213, 215, 216, 217, 220, 221, 223, 231, 232, 236, 237, 238, 242, 245, 246, 247], [0, 3, 4, 5, 6, 8, 11, 12, 14, 15, 17, 20, 21, 22, 23, 24, 27, 28, 31, 32, 34, 35, 41, 42, 43, 44, 45, 47, 48, 49, 50, 55, 58, 60, 61, 62, 63, 65, 67, 69, 70, 71, 72, 75, 77, 79, 81, 88, 89, 91, 92, 93, 94, 95, 97, 98, 105, 108, 109, 110, 111, 112, 113, 114, 117, 119, 120, 121, 122, 124, 128, 130, 132, 134, 135, 136, 137, 139, 140, 142, 143, 144, 147, 149, 150, 151, 154, 160, 161, 163, 165, 167, 170, 171, 172, 173, 174, 175, 177, 178, 182, 183, 185, 187, 188, 189, 191, 194, 196, 199, 200, 201, 205, 207, 208, 209, 215, 216, 219, 221, 222, 225, 226, 228, 234, 235, 237, 238, 241, 244, 248], [1, 2, 3, 4, 5, 11, 13, 15, 17, 18, 19, 20, 21, 27, 31, 34, 35, 36, 39, 41, 42, 43, 45, 46, 47, 49, 55, 56, 57, 58, 59, 60, 62, 67, 69, 73, 76, 78, 80, 82, 85, 90, 91, 93, 94, 99, 100, 102, 104, 108, 110, 111, 112, 113, 114, 115, 116, 119, 121, 122, 124, 125, 126, 128, 131, 133, 135, 136, 143, 149, 152, 154, 157, 159, 160, 162, 164, 166, 174, 175, 177, 179, 181, 185, 186, 187, 189, 192, 193, 195, 197, 200, 202, 204, 205, 206, 207, 209, 213, 215, 217, 223, 227, 230, 231, 232, 233, 235, 243, 244, 245, 247, 249], [0, 1, 2, 3, 5, 8, 9, 11, 18, 20, 22, 24, 25, 26, 31, 33, 35, 36, 37, 38, 39, 43, 45, 46, 48, 50, 53, 64, 67, 68, 69, 70, 71, 72, 73, 79, 80, 82, 83, 87, 88, 90, 91, 92, 93, 96, 97, 101, 102, 103, 105, 107, 110, 111, 115, 117, 125, 133, 134, 136, 137, 138, 140, 141, 142, 143, 144, 145, 146, 147, 150, 152, 157, 160, 161, 162, 163, 164, 169, 173, 174, 181, 183, 184, 186, 192, 193, 194, 195, 197, 204, 206, 208, 210, 211, 212, 214, 215, 220, 222, 227, 228, 231, 232, 234, 235, 236, 239, 240, 244, 247, 249], [2, 3, 4, 5, 6, 13, 14, 15, 18, 21, 24, 25, 26, 32, 33, 35, 37, 39, 41, 43, 47, 48, 49, 51, 52, 58, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 76, 77, 79, 80, 82, 84, 88, 91, 92, 95, 96, 97, 98, 100, 105, 106, 107, 109, 110, 111, 112, 113, 114, 118, 119, 121, 122, 125, 126, 127, 128, 130, 133, 135, 141, 148, 150, 151, 154, 155, 162, 163, 164, 166, 168, 172, 176, 178, 180, 183, 184, 185, 187, 188, 190, 192, 194, 198, 200, 203, 204, 205, 206, 208, 211, 213, 217, 219, 225, 226, 227, 235, 237, 242, 243, 245]] [[0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,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