/* Stats per level from Vanilla and TBC data. This is already very close to WotLK values, so this is only changed for accuracy.*/
REPLACE INTO `player_class_stats` (`Class`, `Level`, `Strength`, `Agility`, `Stamina`, `Intellect`, `Spirit`) VALUES
(1, 1, 23, 20, 22, 20, 21),
(1, 2, 24, 21, 23, 20, 21),
(1, 3, 25, 21, 24, 20, 22),
(1, 4, 26, 22, 25, 20, 22),
(1, 5, 28, 23, 26, 20, 22),
(1, 6, 29, 24, 27, 21, 22),
(1, 7, 30, 24, 28, 21, 23),
(1, 8, 31, 25, 29, 21, 23),
(1, 9, 32, 26, 30, 21, 23),
(1, 10, 33, 26, 31, 21, 24),
(1, 11, 35, 27, 33, 21, 24),
(1, 12, 36, 28, 34, 21, 24),
(1, 13, 37, 29, 35, 21, 25),
(1, 14, 39, 30, 36, 22, 25),
(1, 15, 40, 30, 37, 22, 25),
(1, 16, 41, 31, 38, 22, 26),
(1, 17, 42, 32, 40, 22, 26),
(1, 18, 44, 33, 41, 22, 26),
(1, 19, 46, 34, 42, 22, 26),
(1, 20, 47, 35, 43, 22, 27),
(1, 21, 48, 35, 45, 23, 27),
(1, 22, 49, 36, 46, 23, 28),
(1, 23, 51, 37, 47, 23, 28),
(1, 24, 52, 38, 49, 23, 29),
(1, 25, 54, 39, 50, 23, 29),
(1, 26, 55, 40, 51, 23, 29),
(1, 27, 57, 41, 53, 23, 30),
(1, 28, 58, 42, 54, 24, 30),
(1, 29, 60, 43, 56, 24, 31),
(1, 30, 62, 44, 57, 24, 31),
(1, 31, 63, 45, 58, 24, 31),
(1, 32, 65, 46, 60, 24, 32),
(1, 33, 66, 47, 61, 24, 32),
(1, 34, 68, 48, 63, 25, 33),
(1, 35, 70, 49, 64, 25, 33),
(1, 36, 72, 50, 66, 25, 34),
(1, 37, 73, 51, 68, 25, 34),
(1, 38, 75, 52, 69, 25, 34),
(1, 39, 77, 53, 71, 26, 35),
(1, 40, 79, 54, 72, 26, 35),
(1, 41, 80, 56, 74, 26, 36),
(1, 42, 82, 57, 76, 26, 36),
(1, 43, 84, 58, 77, 26, 37),
(1, 44, 86, 59, 79, 26, 37),
(1, 45, 88, 60, 81, 27, 38),
(1, 46, 90, 61, 83, 27, 38),
(1, 47, 92, 63, 84, 27, 39),
(1, 48, 94, 64, 86, 27, 39),
(1, 49, 96, 65, 88, 28, 40),
(1, 50, 98, 66, 90, 28, 40),
(1, 51, 100, 68, 92, 28, 42),
(1, 52, 102, 69, 94, 28, 42),
(1, 53, 104, 70, 96, 28, 43),
(1, 54, 106, 72, 98, 29, 44),
(1, 55, 109, 73, 100, 29, 44),
(1, 56, 111, 74, 102, 29, 45),
(1, 57, 113, 76, 104, 29, 45),
(1, 58, 115, 77, 106, 30, 46),
(1, 59, 118, 79, 108, 30, 46),
(1, 60, 120, 80, 110, 30, 47),
(2, 1, 22, 20, 22, 20, 22),
(2, 2, 23, 21, 23, 21, 23),
(2, 3, 24, 21, 24, 21, 23),
(2, 4, 25, 22, 25, 22, 24),
(2, 5, 26, 22, 26, 22, 25),
(2, 6, 27, 23, 27, 23, 25),
(2, 7, 28, 23, 28, 24, 26),
(2, 8, 29, 24, 28, 24, 26),
(2, 9, 30, 24, 29, 25, 27),
(2, 10, 31, 25, 30, 25, 28),
(2, 11, 32, 25, 31, 26, 29),
(2, 12, 33, 26, 32, 27, 29),
(2, 13, 34, 27, 33, 27, 30),
(2, 14, 35, 27, 34, 28, 31),
(2, 15, 36, 28, 36, 29, 31),
(2, 16, 38, 28, 37, 29, 32),
(2, 17, 39, 29, 38, 30, 33),
(2, 18, 40, 30, 39, 31, 34),
(2, 19, 41, 30, 40, 31, 34),
(2, 20, 42, 31, 41, 32, 35),
(2, 21, 43, 32, 42, 33, 36),
(2, 22, 45, 32, 43, 34, 37),
(2, 23, 46, 33, 44, 34, 38),
(2, 24, 47, 34, 46, 35, 38),
(2, 25, 48, 34, 47, 36, 39),
(2, 26, 50, 35, 48, 37, 40),
(2, 27, 51, 36, 49, 37, 42),
(2, 28, 52, 36, 50, 38, 43),
(2, 29, 54, 37, 52, 39, 44),
(2, 30, 55, 38, 53, 40, 44),
(2, 31, 56, 39, 54, 41, 45),
(2, 32, 58, 39, 56, 42, 46),
(2, 33, 59, 40, 57, 42, 47),
(2, 34, 61, 41, 58, 43, 48),
(2, 35, 62, 42, 60, 44, 49),
(2, 36, 64, 43, 61, 45, 50),
(2, 37, 65, 43, 62, 46, 51),
(2, 38, 67, 44, 64, 47, 52),
(2, 39, 68, 45, 65, 48, 53),
(2, 40, 70, 46, 67, 49, 54),
(2, 41, 71, 47, 68, 50, 55),
(2, 42, 73, 47, 70, 51, 56),
(2, 43, 74, 48, 71, 52, 57),
(2, 44, 76, 49, 73, 52, 58),
(2, 45, 78, 50, 74, 53, 59),
(2, 46, 79, 51, 76, 54, 60),
(2, 47, 81, 52, 77, 56, 61),
(2, 48, 83, 53, 79, 57, 63),
(2, 49, 84, 54, 81, 58, 65),
(2, 50, 86, 55, 82, 59, 66),
(2, 51, 88, 56, 84, 60, 67),
(2, 52, 90, 57, 86, 61, 68),
(2, 53, 92, 58, 87, 62, 69),
(2, 54, 93, 59, 89, 63, 70),
(2, 55, 95, 60, 91, 64, 72),
(2, 56, 97, 61, 93, 65, 73),
(2, 57, 99, 62, 94, 66, 74),
(2, 58, 101, 63, 96, 68, 75),
(2, 59, 103, 64, 98, 69, 77),
(2, 60, 105, 65, 100, 70, 78),
(4, 1, 21, 23, 21, 20, 20),
(4, 2, 22, 24, 22, 20, 21),
(4, 3, 22, 25, 22, 20, 22),
(4, 4, 23, 27, 23, 21, 22),
(4, 5, 24, 28, 24, 21, 22),
(4, 6, 24, 29, 24, 21, 23),
(4, 7, 25, 31, 25, 21, 23),
(4, 8, 26, 32, 25, 21, 23),
(4, 9, 27, 33, 26, 21, 24),
(4, 10, 27, 35, 27, 22, 24),
(4, 11, 28, 36, 28, 22, 25),
(4, 12, 29, 37, 28, 22, 25),
(4, 13, 30, 39, 29, 22, 25),
(4, 14, 30, 40, 30, 22, 26),
(4, 15, 31, 42, 30, 23, 26),
(4, 16, 32, 43, 31, 23, 27),
(4, 17, 33, 44, 32, 23, 27),
(4, 18, 34, 46, 33, 23, 27),
(4, 19, 35, 48, 33, 23, 28),
(4, 20, 35, 49, 34, 24, 28),
(4, 21, 36, 51, 35, 24, 29),
(4, 22, 37, 52, 36, 24, 29),
(4, 23, 38, 54, 37, 24, 30),
(4, 24, 39, 55, 37, 25, 30),
(4, 25, 40, 57, 38, 25, 31),
(4, 26, 41, 59, 39, 25, 31),
(4, 27, 42, 60, 40, 25, 31),
(4, 28, 43, 62, 41, 25, 32),
(4, 29, 43, 64, 42, 26, 32),
(4, 30, 44, 66, 42, 26, 33),
(4, 31, 45, 67, 43, 26, 33),
(4, 32, 46, 69, 44, 26, 34),
(4, 33, 47, 71, 45, 27, 34),
(4, 34, 48, 73, 46, 27, 35),
(4, 35, 49, 75, 47, 27, 35),
(4, 36, 51, 77, 48, 28, 36),
(4, 37, 52, 78, 49, 28, 37),
(4, 38, 53, 80, 50, 28, 37),
(4, 39, 54, 82, 51, 28, 38),
(4, 40, 55, 84, 52, 29, 38),
(4, 41, 56, 86, 53, 29, 39),
(4, 42, 57, 88, 54, 29, 39),
(4, 43, 58, 90, 55, 29, 40),
(4, 44, 59, 93, 56, 30, 40),
(4, 45, 61, 95, 57, 30, 42),
(4, 46, 62, 97, 58, 30, 43),
(4, 47, 63, 99, 59, 31, 43),
(4, 48, 64, 101, 60, 31, 44),
(4, 49, 65, 103, 62, 31, 45),
(4, 50, 67, 106, 63, 32, 45),
(4, 51, 68, 108, 64, 32, 46),
(4, 52, 69, 110, 65, 32, 46),
(4, 53, 70, 113, 66, 33, 47),
(4, 54, 72, 115, 67, 33, 48),
(4, 55, 73, 117, 69, 33, 48),
(4, 56, 74, 120, 70, 34, 49),
(4, 57, 76, 122, 71, 34, 50),
(4, 58, 77, 125, 72, 34, 51),
(4, 59, 79, 127, 74, 35, 51),
(4, 60, 80, 130, 75, 35, 52),
(5, 1, 20, 20, 20, 22, 24),
(5, 2, 20, 20, 20, 23, 25),
(5, 3, 20, 20, 21, 24, 26),
(5, 4, 21, 21, 21, 25, 28),
(5, 5, 21, 21, 21, 27, 29),
(5, 6, 21, 21, 22, 28, 30),
(5, 7, 21, 21, 22, 29, 31),
(5, 8, 21, 22, 22, 30, 32),
(5, 9, 21, 22, 23, 31, 34),
(5, 10, 22, 22, 23, 33, 35),
(5, 11, 22, 22, 24, 34, 36),
(5, 12, 22, 23, 24, 35, 38),
(5, 13, 22, 23, 24, 36, 39),
(5, 14, 22, 23, 25, 38, 40),
(5, 15, 23, 23, 25, 39, 43),
(5, 16, 23, 24, 26, 40, 44),
(5, 17, 23, 24, 26, 42, 45),
(5, 18, 23, 24, 26, 43, 47),
(5, 19, 23, 25, 27, 44, 48),
(5, 20, 24, 25, 27, 46, 50),
(5, 21, 24, 25, 28, 47, 51),
(5, 22, 24, 25, 28, 49, 53),
(5, 23, 24, 26, 29, 50, 54),
(5, 24, 25, 26, 29, 52, 56),
(5, 25, 25, 26, 30, 53, 57),
(5, 26, 25, 27, 30, 55, 59),
(5, 27, 25, 27, 30, 56, 61),
(5, 28, 25, 27, 31, 58, 63),
(5, 29, 26, 28, 31, 59, 65),
(5, 30, 26, 28, 32, 61, 67),
(5, 31, 26, 28, 32, 63, 68),
(5, 32, 26, 29, 33, 64, 70),
(5, 33, 27, 29, 33, 66, 72),
(5, 34, 27, 29, 34, 68, 73),
(5, 35, 27, 30, 34, 69, 75),
(5, 36, 28, 30, 35, 71, 77),
(5, 37, 28, 30, 36, 73, 79),
(5, 38, 28, 31, 36, 75, 81),
(5, 39, 28, 31, 37, 76, 84),
(5, 40, 29, 31, 37, 78, 85),
(5, 41, 29, 32, 38, 80, 87),
(5, 42, 29, 32, 38, 82, 89),
(5, 43, 29, 33, 39, 84, 91),
(5, 44, 30, 33, 39, 86, 93),
(5, 45, 30, 33, 40, 88, 95),
(5, 46, 30, 34, 41, 90, 97),
(5, 47, 31, 34, 41, 92, 99),
(5, 48, 31, 35, 42, 94, 102),
(5, 49, 31, 35, 43, 96, 105),
(5, 50, 32, 35, 43, 98, 107),
(5, 51, 32, 36, 44, 100, 109),
(5, 52, 32, 36, 44, 102, 111),
(5, 53, 33, 37, 45, 104, 113),
(5, 54, 33, 37, 46, 106, 116),
(5, 55, 33, 38, 46, 109, 118),
(5, 56, 34, 38, 47, 111, 120),
(5, 57, 34, 39, 48, 113, 123),
(5, 58, 34, 39, 49, 115, 126),
(5, 59, 35, 40, 49, 118, 129),
(5, 60, 35, 40, 50, 120, 131),
(8, 1, 20, 20, 20, 23, 22),
(8, 2, 20, 20, 20, 24, 24),
(8, 3, 20, 20, 21, 25, 25),
(8, 4, 20, 21, 21, 27, 26),
(8, 5, 20, 21, 21, 28, 28),
(8, 6, 21, 21, 21, 29, 29),
(8, 7, 21, 21, 22, 30, 30),
(8, 8, 21, 21, 22, 31, 31),
(8, 9, 21, 21, 22, 33, 32),
(8, 10, 21, 22, 23, 34, 34),
(8, 11, 21, 22, 23, 35, 35),
(8, 12, 21, 22, 23, 37, 36),
(8, 13, 21, 22, 24, 38, 37),
(8, 14, 22, 22, 24, 39, 39),
(8, 15, 22, 23, 24, 41, 40),
(8, 16, 22, 23, 25, 42, 42),
(8, 17, 22, 23, 25, 43, 44),
(8, 18, 22, 23, 25, 45, 45),
(8, 19, 22, 23, 26, 46, 46),
(8, 20, 22, 24, 26, 48, 48),
(8, 21, 23, 24, 26, 49, 49),
(8, 22, 23, 24, 27, 51, 51),
(8, 23, 23, 24, 27, 52, 52),
(8, 24, 23, 25, 28, 54, 54),
(8, 25, 23, 25, 28, 55, 55),
(8, 26, 23, 25, 28, 57, 57),
(8, 27, 23, 25, 29, 59, 58),
(8, 28, 24, 25, 29, 60, 60),
(8, 29, 24, 26, 30, 62, 61),
(8, 30, 24, 26, 30, 64, 64),
(8, 31, 24, 26, 30, 65, 66),
(8, 32, 24, 26, 31, 67, 67),
(8, 33, 24, 27, 31, 69, 69),
(8, 34, 25, 27, 32, 70, 71),
(8, 35, 25, 27, 32, 72, 72),
(8, 36, 25, 28, 33, 74, 74),
(8, 37, 25, 28, 33, 76, 76),
(8, 38, 25, 28, 33, 78, 78),
(8, 39, 26, 28, 34, 80, 79),
(8, 40, 26, 29, 34, 81, 81),
(8, 41, 26, 29, 35, 83, 84),
(8, 42, 26, 29, 35, 85, 86),
(8, 43, 26, 29, 36, 87, 88),
(8, 44, 26, 30, 36, 89, 90),
(8, 45, 27, 30, 37, 91, 92),
(8, 46, 27, 30, 37, 93, 94),
(8, 47, 27, 31, 38, 95, 96),
(8, 48, 27, 31, 38, 98, 98),
(8, 49, 28, 31, 39, 100, 100),
(8, 50, 28, 32, 39, 102, 102),
(8, 51, 28, 32, 40, 104, 105),
(8, 52, 28, 32, 40, 106, 107),
(8, 53, 28, 33, 41, 108, 109),
(8, 54, 29, 33, 42, 111, 111),
(8, 55, 29, 33, 42, 113, 114),
(8, 56, 29, 34, 43, 115, 116),
(8, 57, 29, 34, 43, 118, 118),
(8, 58, 30, 34, 44, 120, 120),
(8, 59, 30, 35, 44, 123, 123),
(8, 60, 30, 35, 45, 125, 126),
(9, 1, 20, 20, 21, 22, 22),
(9, 2, 20, 20, 22, 23, 24),
(9, 3, 21, 21, 22, 24, 25),
(9, 4, 21, 21, 23, 25, 26),
(9, 5, 21, 21, 23, 26, 27),
(9, 6, 21, 22, 24, 27, 28),
(9, 7, 22, 22, 24, 28, 30),
(9, 8, 22, 22, 25, 29, 31),
(9, 9, 22, 23, 25, 30, 32),
(9, 10, 23, 23, 26, 31, 33),
(9, 11, 23, 24, 26, 33, 34),
(9, 12, 23, 24, 27, 34, 35),
(9, 13, 24, 24, 27, 35, 37),
(9, 14, 24, 25, 28, 36, 38),
(9, 15, 24, 25, 29, 37, 39),
(9, 16, 25, 26, 29, 38, 40),
(9, 17, 25, 26, 30, 40, 43),
(9, 18, 25, 26, 30, 41, 44),
(9, 19, 26, 27, 31, 42, 45),
(9, 20, 26, 27, 32, 43, 47),
(9, 21, 26, 28, 32, 45, 48),
(9, 22, 27, 28, 33, 46, 49),
(9, 23, 27, 29, 34, 47, 51),
(9, 24, 28, 29, 34, 49, 52),
(9, 25, 28, 30, 35, 50, 54),
(9, 26, 28, 30, 36, 51, 55),
(9, 27, 29, 30, 36, 53, 56),
(9, 28, 29, 31, 37, 54, 58),
(9, 29, 30, 31, 38, 56, 59),
(9, 30, 30, 32, 38, 57, 61),
(9, 31, 30, 32, 39, 58, 64),
(9, 32, 31, 33, 40, 60, 65),
(9, 33, 31, 33, 41, 61, 67),
(9, 34, 32, 34, 41, 63, 68),
(9, 35, 32, 34, 42, 64, 70),
(9, 36, 33, 35, 43, 66, 72),
(9, 37, 33, 36, 44, 68, 73),
(9, 38, 33, 36, 45, 69, 75),
(9, 39, 34, 37, 45, 71, 77),
(9, 40, 34, 37, 46, 72, 78),
(9, 41, 35, 38, 47, 74, 80),
(9, 42, 35, 38, 48, 76, 82),
(9, 43, 36, 39, 48, 77, 86),
(9, 44, 36, 39, 50, 79, 86),
(9, 45, 37, 40, 50, 81, 88),
(9, 46, 37, 41, 51, 83, 90),
(9, 47, 38, 41, 52, 84, 92),
(9, 48, 38, 42, 53, 86, 94),
(9, 49, 39, 43, 54, 88, 96),
(9, 50, 39, 43, 55, 90, 98),
(9, 51, 40, 44, 56, 92, 100),
(9, 52, 40, 44, 57, 94, 102),
(9, 53, 41, 45, 58, 96, 105),
(9, 54, 42, 46, 59, 98, 107),
(9, 55, 42, 46, 60, 100, 109),
(9, 56, 43, 47, 61, 102, 111),
(9, 57, 43, 48, 62, 104, 113),
(9, 58, 44, 49, 63, 106, 116),
(9, 59, 44, 49, 64, 108, 118),
(9, 60, 45, 50, 65, 110, 120),
(1, 61, 125, 83, 115, 30, 46),
(1, 62, 127, 85, 117, 31, 46),
(1, 63, 129, 86, 119, 31, 47),
(1, 64, 132, 88, 121, 31, 47),
(1, 65, 134, 89, 123, 32, 48),
(1, 66, 136, 90, 125, 32, 49),
(1, 67, 138, 92, 127, 32, 49),
(1, 68, 140, 93, 129, 32, 50),
(1, 69, 143, 95, 131, 33, 50),
(1, 70, 145, 96, 133, 33, 51),
(2, 61, 109, 67, 104, 73, 78),
(2, 62, 111, 69, 106, 74, 79),
(2, 63, 113, 70, 107, 75, 80),
(2, 64, 115, 71, 109, 76, 81),
(2, 65, 116, 72, 111, 77, 83),
(2, 66, 118, 73, 113, 78, 84),
(2, 67, 120, 74, 115, 79, 85),
(2, 68, 122, 75, 116, 81, 86),
(2, 69, 124, 76, 118, 82, 88),
(2, 70, 126, 77, 120, 83, 89),
(4, 61, 83, 136, 78, 35, 51),
(4, 62, 84, 138, 79, 36, 52),
(4, 63, 85, 141, 80, 36, 53),
(4, 64, 87, 143, 81, 37, 54),
(4, 65, 88, 146, 83, 37, 54),
(4, 66, 89, 148, 84, 37, 55),
(4, 67, 91, 151, 85, 38, 56),
(4, 68, 92, 153, 86, 38, 57),
(4, 69, 94, 156, 88, 39, 57),
(4, 70, 95, 158, 89, 39, 58),
(5, 61, 35, 41, 51, 125, 130),
(5, 62, 36, 41, 52, 127, 132),
(5, 63, 36, 41, 53, 129, 135),
(5, 64, 37, 42, 54, 132, 137),
(5, 65, 37, 42, 54, 134, 139),
(5, 66, 37, 43, 55, 136, 142),
(5, 67, 38, 43, 56, 138, 144),
(5, 68, 38, 44, 57, 140, 146),
(5, 69, 39, 44, 57, 143, 149),
(5, 70, 39, 45, 58, 145, 151),
(8, 61, 30, 35, 46, 130, 125),
(8, 62, 31, 36, 46, 132, 127),
(8, 63, 31, 36, 47, 135, 129),
(8, 64, 31, 37, 47, 137, 132),
(8, 65, 32, 37, 48, 139, 134),
(8, 66, 32, 37, 49, 142, 136),
(8, 67, 32, 38, 49, 144, 138),
(8, 68, 32, 38, 50, 146, 140),
(8, 69, 33, 39, 50, 149, 143),
(8, 70, 33, 39, 51, 151, 145),
(9, 61, 46, 51, 67, 115, 113),
(9, 62, 46, 52, 68, 117, 115),
(9, 63, 47, 53, 69, 119, 117),
(9, 64, 47, 54, 70, 121, 119),
(9, 65, 48, 54, 71, 123, 121),
(9, 66, 49, 55, 72, 125, 123),
(9, 67, 49, 56, 73, 127, 125),
(9, 68, 50, 57, 74, 129, 127),
(9, 69, 50, 57, 75, 131, 129),
(9, 70, 51, 58, 76, 133, 131);

REPLACE INTO `player_classlevelstats` (`class`, `level`, `basehp`, `basemana`) VALUES
(1, 1, 20, 0),
(1, 2, 29, 0),
(1, 3, 38, 0),
(1, 4, 47, 0),
(1, 5, 56, 0),
(1, 6, 65, 0),
(1, 7, 74, 0),
(1, 8, 83, 0),
(1, 9, 92, 0),
(1, 10, 101, 0),
(1, 11, 100, 0),
(1, 12, 109, 0),
(1, 13, 118, 0),
(1, 14, 128, 0),
(1, 15, 139, 0),
(1, 16, 151, 0),
(1, 17, 154, 0),
(1, 18, 168, 0),
(1, 19, 183, 0),
(1, 20, 199, 0),
(1, 21, 206, 0),
(1, 22, 224, 0),
(1, 23, 243, 0),
(1, 24, 253, 0),
(1, 25, 274, 0),
(1, 26, 296, 0),
(1, 27, 309, 0),
(1, 28, 333, 0),
(1, 29, 348, 0),
(1, 30, 374, 0),
(1, 31, 401, 0),
(1, 32, 419, 0),
(1, 33, 448, 0),
(1, 34, 468, 0),
(1, 35, 499, 0),
(1, 36, 521, 0),
(1, 37, 545, 0),
(1, 38, 581, 0),
(1, 39, 609, 0),
(1, 40, 649, 0),
(1, 41, 681, 0),
(1, 42, 715, 0),
(1, 43, 761, 0),
(1, 44, 799, 0),
(1, 45, 839, 0),
(1, 46, 881, 0),
(1, 47, 935, 0),
(1, 48, 981, 0),
(1, 49, 1029, 0),
(1, 50, 1079, 0),
(1, 51, 1131, 0),
(1, 52, 1185, 0),
(1, 53, 1241, 0),
(1, 54, 1299, 0),
(1, 55, 1359, 0),
(1, 56, 1421, 0),
(1, 57, 1485, 0),
(1, 58, 1551, 0),
(1, 59, 1619, 0),
(1, 60, 1689, 0),
(2, 1, 28, 59),
(2, 2, 26, 64),
(2, 3, 34, 84),
(2, 4, 42, 90),
(2, 5, 50, 112),
(2, 6, 58, 120),
(2, 7, 66, 129),
(2, 8, 84, 154),
(2, 9, 92, 165),
(2, 10, 100, 192),
(2, 11, 108, 205),
(2, 12, 116, 219),
(2, 13, 124, 249),
(2, 14, 132, 265),
(2, 15, 131, 282),
(2, 16, 141, 315),
(2, 17, 152, 334),
(2, 18, 164, 354),
(2, 19, 177, 390),
(2, 20, 191, 412),
(2, 21, 206, 435),
(2, 22, 222, 459),
(2, 23, 239, 499),
(2, 24, 247, 525),
(2, 25, 266, 552),
(2, 26, 286, 579),
(2, 27, 307, 621),
(2, 28, 329, 648),
(2, 29, 342, 675),
(2, 30, 366, 702),
(2, 31, 391, 729),
(2, 32, 407, 756),
(2, 33, 434, 798),
(2, 34, 462, 825),
(2, 35, 481, 852),
(2, 36, 511, 879),
(2, 37, 542, 906),
(2, 38, 564, 933),
(2, 39, 597, 960),
(2, 40, 621, 987),
(2, 41, 656, 1014),
(2, 42, 682, 1041),
(2, 43, 719, 1068),
(2, 44, 747, 1110),
(2, 45, 786, 1137),
(2, 46, 816, 1164),
(2, 47, 857, 1176),
(2, 48, 889, 1203),
(2, 49, 922, 1230),
(2, 50, 966, 1257),
(2, 51, 1001, 1284),
(2, 52, 1037, 1311),
(2, 53, 1084, 1338),
(2, 54, 1122, 1365),
(2, 55, 1161, 1392),
(2, 56, 1201, 1419),
(2, 57, 1252, 1446),
(2, 58, 1294, 1458),
(2, 59, 1337, 1485),
(2, 60, 1381, 1512),
(3, 1, 26, 63),
(3, 2, 33, 70),
(3, 3, 40, 91),
(3, 4, 57, 98),
(3, 5, 64, 121),
(3, 6, 71, 130),
(3, 7, 78, 155),
(3, 8, 85, 166),
(3, 9, 92, 193),
(3, 10, 109, 206),
(3, 11, 116, 235),
(3, 12, 123, 250),
(3, 13, 130, 266),
(3, 14, 138, 298),
(3, 15, 147, 316),
(3, 16, 157, 350),
(3, 17, 168, 370),
(3, 18, 180, 391),
(3, 19, 193, 428),
(3, 20, 207, 451),
(3, 21, 222, 475),
(3, 22, 238, 515),
(3, 23, 255, 541),
(3, 24, 273, 568),
(3, 25, 292, 611),
(3, 26, 312, 640),
(3, 27, 333, 670),
(3, 28, 355, 715),
(3, 29, 378, 745),
(3, 30, 402, 775),
(3, 31, 417, 805),
(3, 32, 443, 850),
(3, 33, 470, 880),
(3, 34, 498, 910),
(3, 35, 527, 940),
(3, 36, 547, 970),
(3, 37, 578, 1015),
(3, 38, 610, 1045),
(3, 39, 643, 1075),
(3, 40, 667, 1105),
(3, 41, 702, 1135),
(3, 42, 738, 1180),
(3, 43, 775, 1210),
(3, 44, 803, 1240),
(3, 45, 842, 1270),
(3, 46, 872, 1300),
(3, 47, 913, 1330),
(3, 48, 955, 1360),
(3, 49, 988, 1390),
(3, 50, 1032, 1420),
(3, 51, 1067, 1450),
(3, 52, 1113, 1480),
(3, 53, 1150, 1510),
(3, 54, 1198, 1540),
(3, 55, 1237, 1570),
(3, 56, 1287, 1600),
(3, 57, 1328, 1630),
(3, 58, 1370, 1660),
(3, 59, 1423, 1690),
(3, 60, 1467, 1720),
(4, 1, 25, 0),
(4, 2, 32, 0),
(4, 3, 49, 0),
(4, 4, 56, 0),
(4, 5, 63, 0),
(4, 6, 80, 0),
(4, 7, 87, 0),
(4, 8, 104, 0),
(4, 9, 111, 0),
(4, 10, 118, 0),
(4, 11, 125, 0),
(4, 12, 142, 0),
(4, 13, 149, 0),
(4, 14, 156, 0),
(4, 15, 173, 0),
(4, 16, 181, 0),
(4, 17, 190, 0),
(4, 18, 200, 0),
(4, 19, 221, 0),
(4, 20, 233, 0),
(4, 21, 246, 0),
(4, 22, 260, 0),
(4, 23, 275, 0),
(4, 24, 301, 0),
(4, 25, 318, 0),
(4, 26, 336, 0),
(4, 27, 355, 0),
(4, 28, 375, 0),
(4, 29, 396, 0),
(4, 30, 428, 0),
(4, 31, 451, 0),
(4, 32, 475, 0),
(4, 33, 500, 0),
(4, 34, 526, 0),
(4, 35, 553, 0),
(4, 36, 581, 0),
(4, 37, 610, 0),
(4, 38, 640, 0),
(4, 39, 671, 0),
(4, 40, 703, 0),
(4, 41, 736, 0),
(4, 42, 770, 0),
(4, 43, 805, 0),
(4, 44, 841, 0),
(4, 45, 878, 0),
(4, 46, 916, 0),
(4, 47, 955, 0),
(4, 48, 995, 0),
(4, 49, 1026, 0),
(4, 50, 1068, 0),
(4, 51, 1111, 0),
(4, 52, 1155, 0),
(4, 53, 1200, 0),
(4, 54, 1246, 0),
(4, 55, 1283, 0),
(4, 56, 1331, 0),
(4, 57, 1380, 0),
(4, 58, 1430, 0),
(4, 59, 1471, 0),
(4, 60, 1523, 0),
(5, 1, 31, 110),
(5, 2, 37, 165),
(5, 3, 42, 189),
(5, 4, 57, 200),
(5, 5, 72, 197),
(5, 6, 77, 210),
(5, 7, 92, 224),
(5, 8, 107, 239),
(5, 9, 112, 255),
(5, 10, 127, 272),
(5, 11, 132, 275),
(5, 12, 147, 294),
(5, 13, 162, 314),
(5, 14, 167, 320),
(5, 15, 182, 342),
(5, 16, 187, 365),
(5, 17, 202, 389),
(5, 18, 217, 399),
(5, 19, 222, 425),
(5, 20, 237, 437),
(5, 21, 242, 465),
(5, 22, 258, 494),
(5, 23, 265, 509),
(5, 24, 283, 540),
(5, 25, 292, 557),
(5, 26, 312, 590),
(5, 27, 333, 609),
(5, 28, 345, 644),
(5, 29, 368, 665),
(5, 30, 382, 687),
(5, 31, 407, 725),
(5, 32, 423, 749),
(5, 33, 450, 788),
(5, 34, 468, 812),
(5, 35, 497, 836),
(5, 36, 517, 860),
(5, 37, 538, 899),
(5, 38, 570, 923),
(5, 39, 593, 947),
(5, 40, 627, 971),
(5, 41, 652, 1010),
(5, 42, 688, 1034),
(5, 43, 715, 1058),
(5, 44, 753, 1082),
(5, 45, 782, 1106),
(5, 46, 812, 1130),
(5, 47, 853, 1154),
(5, 48, 885, 1178),
(5, 49, 918, 1202),
(5, 50, 962, 1226),
(5, 51, 997, 1250),
(5, 52, 1043, 1274),
(5, 53, 1080, 1298),
(5, 54, 1118, 1322),
(5, 55, 1167, 1331),
(5, 56, 1207, 1355),
(5, 57, 1248, 1379),
(5, 58, 1290, 1403),
(5, 59, 1343, 1412),
(5, 60, 1387, 1436),
(7, 1, 27, 53),
(7, 2, 34, 61),
(7, 3, 41, 68),
(7, 4, 48, 91),
(7, 5, 65, 100),
(7, 6, 72, 110),
(7, 7, 79, 121),
(7, 8, 86, 133),
(7, 9, 93, 161),
(7, 10, 100, 175),
(7, 11, 107, 190),
(7, 12, 114, 206),
(7, 13, 121, 223),
(7, 14, 128, 241),
(7, 15, 135, 260),
(7, 16, 142, 280),
(7, 17, 150, 301),
(7, 18, 159, 323),
(7, 19, 169, 346),
(7, 20, 180, 370),
(7, 21, 192, 395),
(7, 22, 205, 456),
(7, 23, 219, 448),
(7, 24, 234, 476),
(7, 25, 240, 505),
(7, 26, 257, 579),
(7, 27, 275, 566),
(7, 28, 294, 598),
(7, 29, 314, 631),
(7, 30, 335, 718),
(7, 31, 347, 699),
(7, 32, 370, 733),
(7, 33, 394, 767),
(7, 34, 419, 786),
(7, 35, 435, 820),
(7, 36, 462, 854),
(7, 37, 490, 888),
(7, 38, 509, 922),
(7, 39, 539, 941),
(7, 40, 570, 975),
(7, 41, 592, 1009),
(7, 42, 625, 1028),
(7, 43, 649, 1062),
(7, 44, 684, 1096),
(7, 45, 710, 1115),
(7, 46, 747, 1149),
(7, 47, 775, 1183),
(7, 48, 814, 1202),
(7, 49, 844, 1236),
(7, 50, 885, 1255),
(7, 51, 917, 1289),
(7, 52, 960, 1313),
(7, 53, 994, 1342),
(7, 54, 1029, 1376),
(7, 55, 1075, 1395),
(7, 56, 1112, 1414),
(7, 57, 1150, 1448),
(7, 58, 1199, 1467),
(7, 59, 1239, 1501),
(7, 60, 1280, 1520),
(8, 1, 31, 100),
(8, 2, 37, 170),
(8, 3, 42, 181),
(8, 4, 57, 178),
(8, 5, 72, 191),
(8, 6, 87, 205),
(8, 7, 92, 220),
(8, 8, 107, 221),
(8, 9, 122, 238),
(8, 10, 127, 256),
(8, 11, 142, 275),
(8, 12, 157, 280),
(8, 13, 162, 301),
(8, 14, 177, 323),
(8, 15, 192, 331),
(8, 16, 197, 355),
(8, 17, 212, 365),
(8, 18, 227, 391),
(8, 19, 232, 403),
(8, 20, 247, 431),
(8, 21, 262, 445),
(8, 22, 267, 475),
(8, 23, 282, 491),
(8, 24, 288, 523),
(8, 25, 305, 541),
(8, 26, 323, 575),
(8, 27, 332, 595),
(8, 28, 352, 616),
(8, 29, 363, 652),
(8, 30, 385, 673),
(8, 31, 408, 694),
(8, 32, 422, 730),
(8, 33, 447, 751),
(8, 34, 463, 772),
(8, 35, 490, 793),
(8, 36, 508, 814),
(8, 37, 537, 850),
(8, 38, 567, 871),
(8, 39, 588, 892),
(8, 40, 620, 913),
(8, 41, 643, 934),
(8, 42, 677, 955),
(8, 43, 702, 976),
(8, 44, 738, 997),
(8, 45, 765, 1018),
(8, 46, 803, 1039),
(8, 47, 832, 1060),
(8, 48, 872, 1081),
(8, 49, 903, 1102),
(8, 50, 945, 1108),
(8, 51, 978, 1129),
(8, 52, 1022, 1150),
(8, 53, 1057, 1171),
(8, 54, 1093, 1177),
(8, 55, 1140, 1198),
(8, 56, 1178, 1219),
(8, 57, 1227, 1225),
(8, 58, 1267, 1246),
(8, 59, 1318, 1252),
(8, 60, 1360, 1273),
(9, 1, 23, 59),
(9, 2, 28, 98),
(9, 3, 43, 107),
(9, 4, 48, 117),
(9, 5, 63, 128),
(9, 6, 68, 140),
(9, 7, 83, 153),
(9, 8, 88, 167),
(9, 9, 103, 182),
(9, 10, 108, 198),
(9, 11, 123, 200),
(9, 12, 128, 218),
(9, 13, 143, 237),
(9, 14, 148, 257),
(9, 15, 153, 278),
(9, 16, 168, 300),
(9, 17, 173, 308),
(9, 18, 189, 332),
(9, 19, 196, 357),
(9, 20, 204, 383),
(9, 21, 223, 395),
(9, 22, 233, 423),
(9, 23, 244, 452),
(9, 24, 266, 467),
(9, 25, 279, 498),
(9, 26, 293, 530),
(9, 27, 318, 548),
(9, 28, 334, 582),
(9, 29, 351, 602),
(9, 30, 379, 638),
(9, 31, 398, 674),
(9, 32, 418, 695),
(9, 33, 439, 731),
(9, 34, 471, 752),
(9, 35, 494, 788),
(9, 36, 518, 809),
(9, 37, 543, 830),
(9, 38, 569, 866),
(9, 39, 606, 887),
(9, 40, 634, 923),
(9, 41, 663, 944),
(9, 42, 693, 965),
(9, 43, 724, 1001),
(9, 44, 756, 1022),
(9, 45, 799, 1043),
(9, 46, 823, 1064),
(9, 47, 868, 1100),
(9, 48, 904, 1121),
(9, 49, 941, 1142),
(9, 50, 979, 1163),
(9, 51, 1018, 1184),
(9, 52, 1058, 1205),
(9, 53, 1089, 1226),
(9, 54, 1131, 1247),
(9, 55, 1184, 1268),
(9, 56, 1228, 1289),
(9, 57, 1273, 1310),
(9, 58, 1319, 1331),
(9, 59, 1366, 1352),
(9, 60, 1414, 1373),
(11, 1, 34, 50),
(11, 2, 41, 57),
(11, 3, 58, 65),
(11, 4, 65, 74),
(11, 5, 82, 84),
(11, 6, 89, 95),
(11, 7, 96, 107),
(11, 8, 113, 120),
(11, 9, 120, 134),
(11, 10, 137, 149),
(11, 11, 144, 165),
(11, 12, 151, 182),
(11, 13, 168, 200),
(11, 14, 175, 219),
(11, 15, 182, 239),
(11, 16, 199, 260),
(11, 17, 206, 282),
(11, 18, 214, 305),
(11, 19, 233, 329),
(11, 20, 243, 354),
(11, 21, 254, 380),
(11, 22, 266, 392),
(11, 23, 289, 420),
(11, 24, 303, 449),
(11, 25, 318, 479),
(11, 26, 334, 509),
(11, 27, 361, 524),
(11, 28, 379, 554),
(11, 29, 398, 584),
(11, 30, 418, 614),
(11, 31, 439, 629),
(11, 32, 461, 659),
(11, 33, 494, 689),
(11, 34, 518, 704),
(11, 35, 543, 734),
(11, 36, 569, 749),
(11, 37, 596, 779),
(11, 38, 624, 809),
(11, 39, 653, 824),
(11, 40, 683, 854),
(11, 41, 714, 869),
(11, 42, 746, 899),
(11, 43, 779, 914),
(11, 44, 823, 944),
(11, 45, 858, 959),
(11, 46, 894, 989),
(11, 47, 921, 1004),
(11, 48, 959, 1019),
(11, 49, 998, 1049),
(11, 50, 1038, 1064),
(11, 51, 1079, 1079),
(11, 52, 1121, 1109),
(11, 53, 1164, 1124),
(11, 54, 1208, 1139),
(11, 55, 1253, 1154),
(11, 56, 1299, 1169),
(11, 57, 1346, 1199),
(11, 58, 1384, 1214),
(11, 59, 1433, 1229),
(11, 60, 1483, 1244),
(1, 61, 1902, 0),
(1, 62, 2129, 0),
(1, 63, 2357, 0),
(1, 64, 2612, 0),
(1, 65, 2883, 0),
(1, 66, 3169, 0),
(1, 67, 3455, 0),
(1, 68, 3774, 0),
(1, 69, 4109, 0),
(1, 70, 4444, 0),
(2, 61, 1540, 1656),
(2, 62, 1708, 1800),
(2, 63, 1884, 1944),
(2, 64, 2068, 2088),
(2, 65, 2262, 2232),
(2, 66, 2466, 2377),
(2, 67, 2679, 2521),
(2, 68, 2901, 2665),
(2, 69, 3134, 2809),
(2, 70, 3377, 2953),
(3, 61, 1633, 1886),
(3, 62, 1819, 2053),
(3, 63, 2003, 2219),
(3, 64, 2195, 2385),
(3, 65, 2397, 2552),
(3, 66, 2623, 2718),
(3, 67, 2844, 2884),
(3, 68, 3075, 3050),
(3, 69, 3316, 3217),
(3, 70, 3568, 3383),
(4, 61, 1702, 0),
(4, 62, 1879, 0),
(4, 63, 2077, 0),
(4, 64, 2285, 0),
(4, 65, 2489, 0),
(4, 66, 2717, 0),
(4, 67, 2941, 0),
(4, 68, 3190, 0),
(4, 69, 3450, 0),
(4, 70, 3704, 0),
(5, 61, 1557, 1500),
(5, 62, 1738, 1625),
(5, 63, 1916, 1749),
(5, 64, 2101, 1873),
(5, 65, 2295, 1998),
(5, 66, 2495, 2122),
(5, 67, 2719, 2247),
(5, 68, 2936, 2371),
(5, 69, 3160, 2495),
(5, 70, 3391, 2620),
(7, 61, 1428, 1664),
(7, 62, 1583, 1808),
(7, 63, 1760, 1951),
(7, 64, 1932, 2095),
(7, 65, 2114, 2239),
(7, 66, 2304, 2383),
(7, 67, 2504, 2527),
(7, 68, 2713, 2670),
(7, 69, 2931, 2814),
(7, 70, 3159, 2958),
(8, 61, 1526, 1316),
(8, 62, 1702, 1419),
(8, 63, 1875, 1521),
(8, 64, 2070, 1624),
(8, 65, 2261, 1727),
(8, 66, 2461, 1830),
(8, 67, 2686, 1932),
(8, 68, 2906, 2035),
(8, 69, 3136, 2138),
(8, 70, 3393, 2241),
(9, 61, 1580, 1497),
(9, 62, 1755, 1621),
(9, 63, 1939, 1745),
(9, 64, 2133, 1870),
(9, 65, 2323, 1994),
(9, 66, 2535, 2118),
(9, 67, 2758, 2242),
(9, 68, 2991, 2366),
(9, 69, 3235, 2490),
(9, 70, 3490, 2615),
(11, 61, 1657, 1357),
(11, 62, 1840, 1469),
(11, 63, 2020, 1582),
(11, 64, 2222, 1694),
(11, 65, 2433, 1807),
(11, 66, 2640, 1919),
(11, 67, 2872, 2032),
(11, 68, 3114, 2145),
(11, 69, 3351, 2257),
(11, 70, 3614, 2370);
