(278, 278, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(279, 279, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(280, 280, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(281, 281, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(282, 282, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(283, 283, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(284, 284, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(285, 285, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(286, 286, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(287, 287, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(288, 288, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(289, 289, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(290, 290, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(291, 291, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(292, 292, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(293, 293, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(294, 294, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(295, 295, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(296, 296, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(297, 297, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(298, 298, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(299, 299, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(300, 300, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(301, 301, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(302, 302, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(303, 303, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(304, 304, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(305, 305, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(306, 306, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(307, 307, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(308, 308, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(309, 309, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(310, 310, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(311, 311, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(312, 312, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(313, 313, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(314, 314, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(315, 315, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(316, 316, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(317, 317, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(318, 318, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(319, 319, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(320, 320, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(321, 321, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(322, 322, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(323, 323, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(324, 324, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(325, 325, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(326, 326, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(327, 327, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(328, 328, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(329, 329, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(330, 330, '5, 5, 5, 5, 20, 2, 9, 50, 5, 9, 30, 9, 40, 9, 1, 3, 5, 4, 9, 10, 4, 6, 7, 3, 5, 7, 3, 1, 10, 1, 2, 6, 2, 9, 6, 5, 2, 4, 2, 2, 10, 3, 1, 4, 7, 8, 9, 7, 9, 6, 1, 9, 3, 8, 2, 10, 6, 4, 10, 4, 9, 4, 1, 8, 5, 8, 10, 4, 7, 3, 10, 3, 1, 7, 7, 3, 7, 1, 6, 8, 8, 10, 8, 8, 1, 3, 2, 6, 6, 2, 5, 6, 10, 3, 10, 7, 4, 2, 5, 5, 1, 8, 4, 6, 5, 5, 7, 5, 5, 5, 5, 5, 5, 8', '200, 200, 200, 50, 10, 10, 50, 50, 100, 10, 200, 300, 200, 50, 100, 500, 50, 100, 200, 200, 400, 100, 200, 10, 10, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(331, 331, '5, 5, 5, 30, 6, 6, 20, 5, 1, 40, 50, 7, 2, 4, 9, 1, 5, 7, 1, 2, 3, 7, 3, 7, 6, 9, 3, 1, 3, 4, 10, 3, 1, 5, 9, 3, 7, 8, 7, 1, 5, 9, 8, 2, 2, 1, 6, 1, 8, 5, 7, 2, 4, 6, 5, 10, 5, 7, 9, 3, 8, 4, 9, 8, 5, 5, 9, 8, 2, 3, 1, 4, 2, 5, 8, 8, 3, 9, 4, 9, 8, 3, 9, 6, 10, 4, 7, 8, 4, 2, 5, 5, 7, 10, 10, 1, 6, 2, 2, 4, 6, 4, 6, 10, 5, 10, 10, 6, 5, 10, 10, 5, 5, 5', '200, 200, 300, 200, 400, 50, 100, 200, 100, 500, 10, 200, 100, 50, 200, 10, 100, 200, 10, 100, 200, 50, 200, 10, 200, 10, 200, 200, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200'),
(332, 332, '5, 8, 5, 6, 50, 7, 5, 4, 20, 1, 9, 5, 5, 9, 10, 10, 10, 9, 6, 1, 3, 1, 5, 5, 2, 30, 7, 40, 10, 8, 8, 1, 3, 5, 5, 4, 1, 8, 1, 3, 7, 7, 6, 9, 2, 6, 3, 4, 9, 6, 2, 3, 6, 7, 9, 3, 4, 3, 5, 1, 10, 3, 10, 7, 6, 3, 10, 5, 7, 3, 9, 5, 1, 8, 6, 2, 1, 9, 10, 10, 4, 4, 4, 2, 10, 5, 6, 2, 7, 7, 9, 6, 5, 1, 9, 5, 8, 7, 5, 4, 2, 4, 8, 8, 2, 5, 8, 2, 5, 2, 5, 8, 4, 5', '500, 50, 100, 50, 400, 200, 200, 300, 100, 200, 200, 50, 10, 10, 10, 10, 10, 200, 200, 200, 50, 50, 200, 100, 200, 200, 100, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(333, 333, '5, 5, 5, 5, 5, 50, 5, 9, 6, 4, 30, 1, 4, 5, 4, 10, 8, 2, 3, 2, 8, 2, 2, 6, 40, 10, 20, 8, 2, 4, 8, 2, 3, 4, 3, 1, 7, 2, 9, 5, 9, 4, 3, 9, 8, 6, 4, 6, 2, 9, 3, 9, 7, 10, 10, 9, 8, 2, 3, 9, 1, 10, 9, 9, 3, 1, 8, 3, 1, 2, 3, 4, 10, 4, 6, 1, 1, 6, 10, 10, 3, 6, 6, 7, 6, 6, 8, 8, 5, 4, 1, 8, 5, 1, 10, 1, 5, 5, 5, 10, 7, 7, 5, 7, 5, 7, 5, 5, 5, 7, 5, 7, 7, 5', '200, 200, 50, 500, 300, 100, 400, 100, 10, 100, 10, 100, 100, 50, 50, 10, 50, 10, 10, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(334, 334, '10, 10, 1, 9, 9, 7, 4, 30, 8, 3, 3, 20, 7, 8, 5, 10, 3, 7, 3, 8, 5, 50, 8, 2, 5, 40, 5, 9, 7, 8, 6, 1, 7, 6, 4, 9, 5, 3, 4, 1, 8, 1, 8, 1, 9, 1, 2, 1, 8, 8, 8, 3, 4, 5, 2, 4, 3, 5, 3, 1, 5, 3, 1, 1, 7, 9, 6, 5, 7, 7, 7, 2, 2, 9, 9, 9, 7, 4, 9, 5, 3, 6, 10, 5, 2, 4, 5, 6, 6, 4, 4, 6, 5, 6, 2, 6, 5, 5, 10, 5, 5, 2, 4, 10, 5, 5, 6, 5, 2, 10, 2, 10, 10, 10', '200, 200, 300, 50, 400, 50, 200, 500, 50, 200, 200, 10, 10, 100, 100, 10, 200, 100, 10, 50, 200, 10, 50, 200, 200, 200, 100, 200, 200, 200, 100, 200, 200, 200, 200, 200, 200, 200'),
(335, 335, '5, 5, 20, 7, 50, 8, 4, 4, 10, 30, 1, 1, 6, 40, 8, 7, 7, 9, 7, 7, 2, 4, 6, 5, 6, 7, 9, 2, 2, 6, 2, 1, 5, 10, 4, 1, 5, 10, 1, 2, 8, 3, 4, 3, 3, 6, 5, 10, 10, 1, 10, 10, 2, 4, 4, 7, 5, 7, 3, 6, 5, 7, 3, 3, 1, 2, 2, 4, 9, 3, 7, 10, 2, 6, 8, 6, 10, 3, 10, 5, 4, 6, 9, 8, 9, 9, 2, 3, 3, 8, 5, 1, 9, 8, 9, 4, 9, 8, 8, 1, 1, 6, 9, 5, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 50, 500, 400, 10, 300, 50, 50, 200, 10, 10, 200, 100, 50, 200, 100, 50, 200, 10, 100, 10, 100, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(336, 336, '5, 5, 5, 5, 9, 2, 8, 3, 40, 9, 1, 50, 1, 10, 2, 7, 9, 1, 3, 9, 10, 1, 4, 10, 2, 1, 6, 2, 9, 3, 5, 9, 6, 3, 2, 3, 7, 3, 9, 8, 6, 8, 3, 7, 6, 5, 6, 10, 6, 3, 1, 6, 9, 8, 2, 7, 3, 8, 8, 6, 30, 10, 1, 10, 4, 7, 8, 1, 9, 1, 7, 10, 8, 20, 9, 4, 7, 6, 6, 7, 10, 2, 1, 3, 7, 10, 8, 8, 5, 2, 10, 4, 7, 2, 5, 4, 2, 5, 5, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 200, 200, 10, 500, 400, 100, 200, 100, 200, 100, 200, 300, 200, 100, 50, 200, 200, 50, 50, 10, 100, 200, 50, 200, 10, 200, 200, 200, 50, 200, 10, 200, 10, 200, 200, 200'),
(337, 337, '1, 1, 1, 10, 6, 10, 2, 3, 50, 20, 40, 7, 2, 7, 2, 6, 30, 5, 7, 7, 3, 2, 4, 9, 2, 3, 7, 9, 6, 7, 9, 2, 4, 2, 9, 5, 8, 9, 10, 5, 10, 1, 5, 10, 4, 3, 9, 4, 6, 9, 5, 9, 5, 3, 6, 4, 6, 1, 5, 8, 4, 2, 7, 8, 1, 3, 3, 7, 7, 4, 7, 10, 9, 4, 4, 3, 9, 5, 3, 10, 2, 2, 3, 5, 10, 8, 10, 6, 8, 5, 4, 8, 5, 5, 8, 5, 6, 5, 1, 8, 6, 10, 8, 5, 5, 6, 5, 1, 8, 5, 5, 1, 1, 5', '200, 300, 400, 200, 10, 100, 200, 10, 500, 10, 200, 100, 200, 50, 10, 200, 10, 50, 200, 200, 50, 200, 50, 50, 200, 100, 100, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(338, 338, '5, 5, 5, 40, 10, 7, 5, 20, 4, 8, 30, 10, 1, 8, 7, 5, 1, 4, 6, 7, 4, 50, 3, 7, 8, 3, 8, 6, 10, 6, 4, 3, 8, 3, 5, 9, 4, 8, 1, 1, 7, 6, 10, 9, 5, 1, 1, 10, 9, 1, 3, 8, 1, 10, 3, 3, 9, 4, 4, 2, 9, 4, 4, 8, 9, 6, 7, 10, 6, 5, 9, 10, 4, 2, 1, 5, 5, 5, 6, 8, 9, 2, 5, 6, 5, 8, 1, 3, 10, 2, 6, 7, 10, 5, 6, 9, 5, 7, 7, 2, 5, 9, 2, 7, 2, 3, 2, 3, 2, 5, 5, 2, 5, 5', '200, 200, 200, 50, 400, 200, 200, 50, 500, 50, 100, 100, 100, 50, 100, 200, 100, 300, 50, 200, 200, 10, 200, 10, 10, 10, 200, 200, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200'),
(339, 339, '5, 5, 5, 8, 4, 50, 40, 20, 4, 30, 6, 4, 2, 10, 6, 9, 1, 8, 1, 2, 6, 10, 8, 3, 5, 2, 9, 2, 8, 10, 3, 3, 2, 3, 6, 3, 5, 5, 2, 5, 3, 1, 3, 5, 5, 6, 8, 5, 8, 5, 9, 3, 9, 6, 6, 9, 10, 3, 2, 5, 9, 2, 1, 9, 5, 6, 5, 1, 5, 9, 1, 10, 10, 10, 5, 2, 4, 4, 9, 2, 3, 7, 6, 5, 8, 6, 9, 8, 10, 4, 8, 1, 7, 10, 8, 1, 7, 4, 5, 10, 1, 4, 7, 1, 7, 7, 7, 7, 7, 7, 5, 4, 4, 5', '200, 200, 400, 300, 100, 500, 200, 50, 100, 50, 10, 200, 200, 50, 50, 10, 100, 100, 10, 200, 100, 10, 50, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(340, 340, '5, 5, 5, 7, 40, 1, 50, 2, 6, 30, 1, 3, 6, 20, 2, 1, 3, 1, 8, 6, 3, 6, 6, 4, 9, 8, 10, 6, 10, 8, 10, 1, 6, 8, 9, 2, 1, 9, 3, 9, 2, 4, 7, 4, 9, 9, 3, 7, 4, 4, 1, 2, 2, 5, 7, 7, 10, 4, 3, 1, 1, 5, 4, 7, 6, 9, 2, 4, 5, 1, 2, 10, 8, 3, 4, 2, 4, 8, 9, 6, 6, 10, 8, 7, 8, 7, 3, 10, 2, 9, 8, 3, 9, 3, 10, 8, 7, 10, 10, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 300, 100, 100, 500, 100, 200, 100, 200, 50, 10, 50, 50, 10, 200, 50, 200, 400, 50, 100, 200, 200, 200, 10, 200, 200, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(341, 341, '5, 5, 4, 20, 50, 7, 8, 5, 2, 4, 4, 40, 6, 3, 5, 30, 2, 3, 1, 7, 5, 1, 3, 3, 3, 4, 8, 5, 7, 10, 9, 9, 1, 9, 5, 6, 6, 9, 10, 2, 9, 7, 5, 3, 1, 1, 10, 2, 10, 2, 1, 4, 2, 3, 2, 9, 7, 9, 2, 6, 7, 9, 2, 2, 5, 7, 3, 4, 5, 9, 3, 10, 3, 5, 8, 7, 8, 1, 1, 6, 8, 10, 9, 10, 10, 5, 1, 10, 4, 4, 4, 5, 4, 8, 6, 6, 10, 1, 6, 5, 6, 7, 6, 5, 8, 5, 7, 8, 5, 5, 5, 8, 5, 8', '200, 200, 200, 400, 200, 50, 200, 500, 50, 300, 50, 10, 100, 200, 10, 100, 200, 100, 10, 100, 10, 100, 200, 200, 50, 10, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(342, 342, '5, 5, 5, 5, 50, 1, 10, 8, 6, 9, 3, 2, 9, 10, 6, 5, 9, 7, 8, 3, 20, 40, 1, 8, 10, 5, 9, 7, 7, 7, 30, 3, 10, 6, 6, 3, 5, 9, 6, 10, 1, 1, 3, 4, 6, 5, 5, 8, 2, 6, 3, 10, 10, 3, 9, 4, 10, 2, 4, 9, 9, 5, 4, 9, 5, 3, 10, 7, 1, 2, 6, 7, 2, 1, 3, 7, 7, 2, 4, 3, 2, 8, 6, 9, 6, 4, 1, 7, 1, 4, 10, 7, 4, 1, 2, 1, 2, 2, 5, 4, 4, 8, 8, 5, 5, 5, 8, 8, 5, 8, 5, 5, 5, 5', '200, 200, 300, 400, 500, 100, 50, 200, 50, 100, 10, 100, 200, 10, 200, 50, 200, 10, 100, 200, 200, 200, 200, 50, 50, 100, 200, 200, 10, 200, 10, 200, 200, 200, 200, 200, 200, 200'),
(343, 343, '5, 5, 5, 7, 20, 50, 9, 8, 2, 7, 2, 5, 10, 8, 8, 10, 6, 5, 5, 7, 30, 8, 2, 2, 40, 8, 8, 7, 2, 7, 5, 10, 7, 8, 6, 7, 10, 2, 3, 7, 1, 8, 3, 3, 9, 4, 6, 4, 1, 9, 6, 6, 10, 1, 3, 8, 1, 8, 9, 1, 1, 1, 4, 9, 9, 5, 9, 2, 6, 6, 4, 6, 10, 5, 10, 2, 2, 7, 9, 3, 3, 9, 6, 7, 2, 9, 1, 1, 5, 5, 3, 4, 6, 3, 3, 4, 4, 5, 10, 5, 3, 10, 10, 4, 4, 5, 5, 5, 5, 5, 1, 4, 5, 5', '400, 50, 50, 100, 50, 10, 100, 50, 200, 300, 10, 100, 200, 50, 10, 500, 100, 100, 200, 200, 200, 200, 10, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(344, 344, '5, 7, 30, 7, 40, 5, 7, 7, 3, 10, 50, 6, 7, 3, 9, 5, 8, 4, 8, 3, 3, 5, 1, 8, 10, 5, 1, 9, 10, 7, 20, 10, 9, 7, 5, 3, 8, 4, 7, 1, 7, 5, 8, 8, 10, 8, 8, 3, 2, 3, 4, 2, 7, 5, 4, 5, 9, 2, 1, 5, 6, 8, 3, 2, 4, 8, 10, 2, 3, 9, 1, 2, 9, 3, 5, 6, 5, 2, 2, 9, 6, 6, 1, 5, 5, 1, 9, 2, 4, 5, 4, 2, 6, 9, 6, 1, 9, 1, 10, 10, 5, 4, 4, 1, 6, 4, 5, 10, 5, 10, 6, 5, 6, 5', '200, 200, 400, 50, 50, 500, 200, 100, 50, 50, 300, 50, 100, 10, 10, 100, 200, 100, 10, 200, 100, 200, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(345, 345, '5, 9, 6, 6, 7, 50, 5, 9, 5, 3, 10, 7, 20, 10, 2, 1, 4, 10, 1, 1, 6, 3, 40, 4, 3, 6, 7, 30, 10, 9, 4, 7, 9, 8, 4, 4, 4, 8, 10, 8, 9, 2, 10, 9, 2, 5, 4, 5, 4, 5, 2, 7, 10, 10, 2, 3, 1, 7, 8, 4, 7, 3, 3, 1, 2, 6, 7, 2, 4, 9, 2, 2, 3, 7, 6, 6, 7, 9, 2, 1, 8, 3, 1, 9, 5, 6, 10, 3, 8, 1, 3, 10, 1, 6, 1, 6, 8, 8, 9, 8, 5, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 500, 10, 400, 200, 300, 50, 50, 100, 200, 50, 50, 50, 200, 200, 200, 100, 100, 100, 200, 200, 100, 10, 200, 10, 200, 10, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200'),
(346, 346, '5, 5, 20, 3, 3, 5, 40, 9, 8, 7, 8, 9, 6, 50, 7, 6, 10, 7, 7, 30, 8, 7, 7, 9, 4, 4, 5, 9, 8, 2, 1, 4, 8, 5, 7, 8, 7, 4, 1, 2, 1, 6, 7, 10, 9, 2, 1, 5, 4, 10, 10, 5, 4, 8, 4, 8, 5, 7, 6, 3, 3, 5, 4, 6, 10, 8, 1, 2, 8, 10, 2, 5, 10, 6, 5, 9, 4, 10, 2, 4, 3, 10, 3, 10, 9, 3, 3, 9, 9, 3, 9, 6, 6, 3, 1, 2, 2, 5, 5, 1, 5, 5, 6, 2, 1, 1, 6, 2, 1, 5, 5, 5, 5, 5', '200, 200, 500, 10, 50, 10, 400, 50, 100, 50, 200, 200, 50, 300, 100, 10, 200, 10, 10, 200, 50, 100, 100, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(347, 347, '5, 5, 5, 5, 5, 6, 10, 7, 20, 2, 4, 10, 8, 7, 30, 9, 3, 3, 7, 50, 4, 8, 10, 2, 5, 10, 10, 7, 1, 10, 3, 8, 8, 4, 6, 9, 40, 3, 9, 2, 1, 6, 9, 6, 10, 3, 1, 7, 1, 9, 2, 10, 4, 2, 5, 4, 1, 3, 5, 6, 2, 4, 3, 10, 7, 9, 1, 10, 9, 1, 4, 2, 7, 5, 3, 3, 2, 9, 7, 3, 2, 5, 5, 1, 9, 9, 2, 8, 8, 1, 5, 1, 7, 8, 7, 8, 5, 5, 8, 6, 5, 8, 4, 4, 4, 6, 5, 6, 5, 6, 5, 6, 5, 5', '200, 200, 100, 400, 200, 500, 50, 100, 200, 200, 10, 100, 50, 50, 10, 10, 10, 300, 100, 100, 50, 200, 10, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(348, 348, '5, 5, 8, 4, 50, 7, 3, 6, 10, 6, 9, 30, 5, 5, 2, 1, 6, 10, 2, 4, 8, 6, 20, 8, 6, 9, 8, 4, 6, 1, 3, 7, 4, 9, 40, 4, 1, 5, 9, 9, 2, 8, 2, 7, 9, 1, 8, 8, 6, 6, 1, 9, 10, 5, 4, 3, 1, 9, 5, 6, 8, 2, 7, 5, 6, 4, 7, 9, 7, 5, 2, 4, 2, 4, 1, 1, 9, 5, 4, 5, 3, 2, 5, 5, 5, 7, 7, 2, 7, 3, 8, 1, 5, 2, 7, 10, 8, 3, 3, 3, 10, 1, 5, 10, 5, 3, 3, 10, 10, 10, 5, 5, 5, 10', '200, 200, 200, 200, 10, 500, 400, 10, 200, 200, 200, 50, 100, 300, 50, 50, 200, 100, 100, 200, 100, 200, 10, 10, 10, 100, 50, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(349, 349, '5, 5, 5, 5, 8, 40, 6, 5, 8, 50, 6, 30, 8, 2, 5, 2, 5, 1, 6, 1, 4, 6, 6, 4, 7, 9, 5, 3, 4, 8, 3, 3, 9, 3, 5, 2, 4, 9, 8, 10, 10, 1, 20, 1, 8, 8, 10, 7, 3, 8, 2, 10, 3, 9, 10, 10, 7, 3, 10, 8, 9, 10, 8, 4, 5, 10, 7, 7, 4, 3, 5, 3, 5, 1, 5, 5, 2, 10, 3, 1, 1, 1, 4, 2, 1, 6, 1, 2, 4, 7, 5, 2, 4, 7, 9, 2, 2, 5, 7, 6, 4, 7, 6, 6, 9, 5, 9, 5, 7, 9, 9, 6, 5, 5', '200, 200, 100, 400, 100, 50, 10, 100, 10, 100, 300, 10, 200, 500, 50, 100, 10, 50, 50, 200, 50, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(350, 350, '5, 5, 5, 5, 5, 6, 40, 20, 3, 7, 7, 9, 5, 30, 10, 50, 7, 5, 10, 9, 9, 6, 10, 7, 2, 5, 4, 9, 8, 3, 2, 7, 5, 9, 1, 3, 5, 3, 10, 3, 3, 7, 2, 6, 5, 1, 8, 1, 5, 8, 9, 1, 8, 1, 9, 10, 8, 4, 7, 7, 2, 2, 7, 7, 2, 2, 5, 2, 10, 6, 10, 8, 9, 1, 10, 10, 2, 9, 3, 2, 10, 9, 1, 8, 3, 5, 6, 3, 1, 8, 1, 6, 3, 8, 6, 1, 8, 5, 4, 5, 4, 6, 6, 6, 4, 5, 5, 5, 4, 4, 5, 4, 4, 4', '200, 200, 50, 10, 200, 10, 500, 100, 10, 100, 400, 200, 10, 50, 10, 300, 100, 100, 50, 100, 50, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(351, 351, '5, 5, 5, 1, 30, 7, 6, 4, 50, 2, 5, 4, 2, 40, 7, 5, 3, 3, 4, 10, 8, 20, 1, 7, 5, 3, 6, 10, 8, 4, 4, 7, 2, 4, 8, 3, 10, 8, 7, 8, 6, 5, 4, 10, 6, 7, 5, 1, 7, 5, 2, 2, 5, 4, 9, 2, 3, 10, 3, 1, 10, 4, 5, 10, 1, 1, 9, 5, 3, 2, 2, 7, 10, 10, 1, 7, 7, 6, 9, 9, 2, 6, 8, 8, 9, 10, 1, 6, 4, 6, 6, 3, 3, 9, 1, 8, 2, 8, 6, 9, 5, 5, 9, 3, 9, 8, 5, 1, 9, 5, 5, 5, 5, 5', '100, 500, 100, 100, 10, 200, 50, 10, 200, 400, 200, 50, 200, 10, 10, 10, 300, 200, 50, 50, 50, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(352, 352, '5, 5, 5, 5, 9, 3, 1, 50, 3, 3, 5, 4, 30, 6, 3, 2, 40, 10, 9, 3, 3, 20, 2, 9, 5, 5, 9, 6, 4, 9, 4, 10, 2, 8, 5, 7, 2, 7, 2, 9, 3, 5, 6, 5, 5, 3, 7, 1, 9, 6, 1, 6, 8, 4, 9, 3, 10, 7, 6, 5, 7, 9, 4, 1, 5, 7, 7, 1, 5, 4, 1, 8, 7, 5, 3, 2, 1, 6, 4, 2, 9, 10, 4, 10, 2, 8, 1, 10, 4, 5, 7, 4, 6, 6, 5, 8, 8, 10, 5, 1, 10, 2, 1, 5, 8, 7, 6, 8, 2, 8, 8, 10, 5, 10', '200, 200, 50, 50, 10, 10, 500, 300, 400, 10, 10, 50, 100, 50, 50, 200, 100, 200, 10, 200, 200, 100, 200, 200, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(353, 353, '1, 50, 7, 5, 8, 10, 5, 4, 3, 4, 5, 10, 40, 2, 30, 1, 9, 1, 2, 1, 2, 3, 3, 7, 9, 4, 4, 5, 1, 9, 3, 7, 20, 3, 1, 2, 3, 5, 4, 5, 2, 7, 6, 9, 2, 1, 4, 6, 5, 3, 5, 6, 8, 1, 5, 9, 9, 1, 4, 1, 9, 8, 4, 8, 10, 8, 4, 5, 3, 5, 2, 8, 6, 2, 6, 3, 7, 4, 6, 7, 7, 7, 5, 9, 7, 6, 10, 3, 9, 7, 5, 2, 2, 8, 10, 6, 9, 6, 5, 10, 6, 5, 5, 10, 10, 8, 5, 10, 10, 8, 5, 8, 5, 5', '200, 300, 10, 400, 200, 500, 50, 200, 200, 10, 200, 200, 10, 50, 50, 200, 10, 100, 10, 100, 200, 200, 100, 200, 100, 200, 50, 100, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(354, 354, '5, 5, 8, 8, 5, 1, 9, 6, 6, 20, 6, 10, 4, 6, 30, 7, 9, 9, 10, 10, 6, 9, 4, 7, 8, 9, 40, 5, 9, 50, 9, 2, 9, 9, 8, 9, 4, 4, 2, 8, 8, 3, 1, 7, 5, 4, 8, 1, 8, 7, 6, 2, 8, 7, 1, 4, 2, 1, 1, 4, 7, 1, 5, 2, 3, 10, 3, 1, 2, 6, 2, 8, 2, 1, 1, 3, 10, 3, 5, 2, 4, 7, 6, 10, 3, 5, 7, 5, 6, 10, 4, 3, 6, 7, 7, 5, 2, 3, 3, 10, 10, 4, 10, 5, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 200, 10, 400, 10, 500, 200, 300, 50, 10, 10, 100, 10, 50, 200, 200, 100, 100, 50, 200, 200, 200, 100, 50, 100, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(355, 355, '5, 5, 4, 9, 10, 30, 8, 40, 1, 4, 2, 50, 4, 20, 2, 8, 8, 10, 6, 2, 9, 2, 5, 2, 10, 4, 10, 6, 6, 2, 5, 9, 2, 7, 8, 4, 7, 5, 8, 6, 1, 1, 9, 5, 6, 9, 7, 8, 10, 4, 9, 4, 10, 9, 7, 5, 4, 10, 4, 9, 1, 5, 5, 10, 9, 6, 2, 9, 10, 2, 4, 5, 8, 6, 1, 1, 2, 8, 8, 6, 1, 6, 7, 5, 8, 6, 5, 1, 7, 10, 7, 3, 7, 3, 3, 3, 7, 3, 7, 3, 3, 5, 3, 5, 3, 1, 3, 1, 5, 5, 5, 5, 5, 5', '200, 50, 300, 10, 100, 50, 100, 500, 400, 10, 200, 50, 10, 200, 200, 10, 10, 100, 100, 100, 200, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(356, 356, '5, 40, 3, 20, 5, 1, 4, 1, 1, 8, 5, 1, 5, 4, 30, 6, 9, 2, 8, 50, 1, 4, 4, 1, 10, 1, 4, 2, 4, 5, 5, 9, 5, 3, 3, 1, 8, 7, 10, 10, 2, 3, 6, 10, 6, 2, 8, 8, 9, 2, 4, 5, 4, 6, 1, 2, 1, 5, 4, 10, 4, 5, 5, 9, 2, 5, 3, 8, 3, 6, 3, 5, 10, 2, 2, 6, 2, 5, 10, 10, 7, 10, 10, 9, 8, 6, 7, 6, 9, 9, 8, 7, 6, 7, 9, 3, 3, 7, 7, 5, 6, 3, 7, 7, 7, 9, 9, 5, 8, 5, 8, 5, 5, 5', '200, 100, 400, 200, 300, 10, 100, 100, 100, 200, 10, 100, 200, 50, 10, 200, 50, 50, 500, 200, 50, 50, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(357, 357, '5, 5, 5, 5, 5, 40, 20, 6, 7, 5, 9, 50, 5, 6, 8, 6, 5, 2, 3, 7, 30, 1, 2, 9, 7, 1, 2, 2, 6, 6, 9, 7, 7, 6, 2, 3, 3, 2, 8, 8, 5, 4, 4, 7, 1, 2, 2, 6, 5, 6, 6, 5, 4, 6, 1, 10, 1, 5, 9, 5, 10, 7, 8, 9, 2, 10, 9, 9, 4, 10, 7, 8, 2, 7, 9, 5, 4, 1, 9, 7, 4, 10, 9, 4, 5, 10, 5, 8, 1, 3, 3, 1, 10, 3, 3, 10, 10, 4, 8, 8, 3, 10, 5, 3, 5, 4, 5, 4, 5, 8, 3, 1, 8, 1', '200, 10, 100, 10, 200, 300, 400, 200, 500, 10, 200, 50, 10, 10, 200, 100, 100, 100, 100, 200, 200, 50, 200, 200, 200, 200, 200, 50, 50, 200, 200, 50, 200, 200, 200, 200, 200, 200'),
(358, 358, '5, 5, 5, 5, 5, 5, 3, 7, 1, 30, 5, 7, 3, 6, 5, 4, 6, 50, 6, 1, 9, 4, 10, 1, 3, 10, 10, 9, 5, 2, 5, 6, 10, 2, 2, 1, 10, 40, 1, 20, 7, 8, 7, 9, 1, 5, 7, 7, 2, 1, 6, 10, 6, 7, 4, 2, 8, 10, 2, 4, 8, 1, 6, 10, 5, 3, 4, 3, 8, 7, 7, 7, 5, 3, 2, 1, 1, 9, 8, 5, 2, 10, 6, 8, 3, 8, 9, 4, 4, 3, 8, 3, 6, 5, 5, 4, 3, 8, 10, 6, 8, 4, 9, 9, 2, 4, 9, 9, 2, 5, 9, 5, 5, 5', '200, 200, 500, 200, 10, 200, 50, 100, 100, 100, 300, 400, 200, 10, 50, 200, 200, 200, 100, 10, 10, 10, 200, 100, 200, 50, 200, 50, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200'),
(359, 359, '5, 8, 5, 5, 10, 9, 50, 3, 1, 7, 4, 2, 10, 8, 30, 5, 3, 40, 9, 1, 5, 8, 3, 10, 9, 6, 20, 1, 3, 4, 2, 7, 7, 9, 10, 9, 4, 5, 1, 5, 7, 10, 1, 1, 1, 9, 1, 3, 1, 4, 2, 9, 7, 1, 5, 4, 5, 10, 9, 9, 5, 3, 4, 3, 9, 5, 2, 5, 2, 6, 6, 7, 8, 6, 6, 10, 6, 5, 10, 7, 2, 3, 8, 4, 5, 5, 10, 5, 3, 2, 8, 4, 3, 5, 6, 10, 6, 6, 7, 4, 5, 2, 8, 8, 6, 4, 2, 5, 2, 8, 7, 8, 7, 5', '200, 100, 500, 400, 10, 300, 50, 50, 10, 10, 50, 200, 100, 50, 50, 10, 100, 200, 100, 100, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(360, 360, '5, 5, 5, 5, 5, 7, 5, 5, 1, 3, 1, 6, 50, 40, 1, 8, 7, 2, 10, 3, 8, 8, 9, 8, 1, 5, 9, 8, 3, 4, 20, 7, 1, 6, 4, 3, 1, 2, 9, 5, 30, 4, 4, 4, 9, 6, 3, 1, 1, 9, 7, 2, 8, 1, 8, 3, 1, 7, 5, 8, 9, 2, 5, 2, 4, 7, 3, 2, 7, 3, 6, 6, 8, 5, 3, 3, 10, 6, 4, 10, 10, 7, 9, 7, 6, 10, 2, 7, 9, 6, 2, 9, 2, 5, 8, 4, 6, 2, 10, 9, 6, 5, 10, 5, 4, 4, 10, 5, 5, 5, 10, 10, 5, 5', '200, 10, 400, 500, 300, 200, 10, 200, 10, 10, 50, 100, 100, 200, 200, 100, 200, 50, 100, 50, 50, 50, 200, 10, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(361, 361, '5, 5, 5, 5, 5, 30, 50, 5, 1, 6, 20, 2, 2, 10, 10, 8, 2, 8, 9, 40, 6, 7, 7, 7, 5, 6, 9, 4, 9, 4, 7, 9, 9, 9, 8, 6, 1, 10, 10, 3, 1, 9, 10, 7, 3, 7, 4, 7, 6, 6, 9, 10, 6, 9, 6, 8, 7, 10, 8, 2, 2, 1, 10, 8, 4, 9, 6, 10, 3, 3, 7, 5, 7, 1, 4, 3, 1, 10, 3, 4, 4, 3, 3, 3, 5, 2, 6, 3, 8, 2, 4, 2, 4, 2, 1, 4, 1, 1, 1, 8, 8, 2, 5, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 400, 50, 50, 300, 500, 50, 10, 10, 50, 50, 100, 200, 10, 100, 200, 200, 100, 10, 10, 200, 200, 100, 200, 200, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(362, 362, '5, 5, 5, 50, 2, 9, 7, 7, 40, 2, 3, 30, 9, 4, 6, 4, 9, 1, 20, 5, 10, 4, 10, 5, 3, 2, 7, 4, 2, 7, 4, 6, 7, 3, 6, 9, 3, 3, 10, 1, 6, 4, 10, 2, 10, 4, 1, 3, 1, 5, 8, 2, 7, 7, 6, 10, 4, 9, 10, 5, 1, 3, 5, 10, 7, 9, 8, 9, 3, 8, 6, 7, 10, 9, 6, 6, 7, 9, 1, 4, 10, 2, 8, 3, 6, 4, 9, 2, 8, 2, 3, 1, 6, 5, 8, 2, 8, 8, 5, 1, 5, 5, 8, 5, 5, 5, 5, 1, 8, 1, 5, 5, 5, 5', '200, 500, 50, 100, 10, 50, 10, 200, 300, 200, 50, 10, 10, 400, 50, 10, 200, 200, 100, 100, 50, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(363, 363, '5, 5, 5, 5, 4, 3, 6, 4, 2, 1, 6, 50, 1, 10, 9, 3, 10, 8, 9, 2, 6, 1, 10, 4, 4, 4, 1, 20, 8, 1, 1, 3, 5, 1, 3, 5, 7, 10, 2, 7, 2, 9, 9, 7, 40, 2, 10, 3, 6, 30, 9, 5, 1, 6, 8, 8, 7, 6, 9, 1, 6, 1, 9, 7, 4, 9, 10, 3, 10, 9, 8, 7, 6, 10, 5, 10, 3, 2, 6, 9, 2, 8, 8, 8, 3, 4, 5, 2, 5, 5, 4, 5, 4, 10, 2, 4, 8, 7, 3, 7, 6, 3, 2, 5, 7, 5, 8, 5, 7, 5, 5, 5, 5, 5', '200, 200, 100, 200, 400, 100, 200, 300, 10, 200, 10, 50, 500, 50, 200, 10, 50, 100, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 100, 10, 10, 200, 100, 200, 200, 200'),
(364, 364, '5, 5, 10, 9, 30, 4, 8, 9, 9, 2, 5, 40, 5, 2, 50, 2, 8, 4, 5, 4, 2, 4, 20, 6, 3, 5, 9, 4, 4, 6, 10, 5, 3, 7, 10, 5, 8, 5, 8, 2, 9, 9, 3, 5, 4, 1, 4, 6, 7, 8, 7, 9, 4, 7, 7, 7, 2, 9, 7, 10, 7, 3, 4, 10, 1, 10, 3, 8, 6, 7, 6, 7, 8, 10, 1, 1, 2, 1, 1, 1, 3, 10, 8, 5, 9, 10, 5, 2, 10, 2, 3, 1, 6, 3, 3, 9, 2, 1, 6, 3, 6, 6, 5, 5, 6, 1, 5, 5, 8, 5, 8, 5, 5, 5', '300, 10, 50, 200, 10, 400, 100, 10, 100, 50, 50, 500, 100, 10, 200, 100, 100, 50, 50, 200, 200, 200, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(365, 365, '5, 5, 5, 50, 4, 6, 7, 10, 3, 6, 1, 2, 30, 4, 10, 8, 4, 20, 1, 7, 6, 8, 40, 8, 5, 2, 3, 1, 8, 1, 2, 10, 4, 7, 2, 5, 10, 2, 4, 10, 3, 10, 4, 1, 8, 4, 9, 10, 1, 8, 7, 7, 5, 1, 3, 9, 9, 1, 10, 3, 7, 5, 4, 8, 7, 3, 10, 3, 3, 7, 3, 3, 9, 8, 10, 4, 6, 1, 1, 7, 8, 2, 6, 9, 8, 4, 5, 2, 6, 6, 6, 2, 6, 7, 2, 5, 9, 6, 9, 5, 9, 2, 5, 5, 5, 5, 5, 9, 5, 9, 5, 5, 5, 5', '200, 200, 100, 500, 300, 200, 10, 10, 200, 10, 100, 100, 100, 400, 10, 100, 200, 10, 50, 200, 50, 200, 50, 200, 50, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(366, 366, '5, 5, 5, 50, 4, 40, 10, 8, 4, 9, 10, 7, 4, 6, 4, 7, 6, 20, 6, 10, 7, 8, 30, 4, 9, 6, 9, 4, 8, 2, 5, 9, 8, 9, 1, 1, 9, 7, 1, 8, 9, 9, 4, 4, 5, 2, 5, 9, 9, 10, 5, 2, 6, 5, 6, 10, 1, 10, 6, 5, 6, 5, 1, 4, 8, 5, 6, 3, 6, 7, 7, 1, 5, 3, 4, 8, 3, 1, 8, 8, 7, 8, 1, 7, 1, 2, 1, 10, 7, 5, 3, 3, 10, 7, 10, 2, 10, 2, 2, 2, 3, 5, 5, 3, 5, 2, 3, 5, 2, 5, 3, 3, 5, 5', '200, 200, 50, 10, 300, 10, 10, 10, 400, 500, 50, 200, 200, 10, 100, 100, 100, 200, 200, 200, 200, 50, 200, 50, 50, 200, 100, 200, 200, 200, 200, 100, 200, 200, 200, 200, 200, 200'),
(367, 367, '5, 5, 5, 5, 5, 5, 8, 20, 9, 9, 50, 8, 1, 2, 4, 1, 30, 2, 1, 5, 9, 8, 8, 8, 1, 40, 7, 2, 3, 1, 2, 5, 8, 8, 10, 6, 6, 4, 8, 1, 6, 7, 3, 4, 7, 8, 9, 2, 9, 6, 6, 4, 9, 10, 3, 8, 6, 7, 4, 4, 2, 9, 5, 1, 7, 7, 2, 3, 5, 5, 10, 2, 10, 2, 9, 7, 9, 5, 1, 4, 5, 1, 4, 1, 6, 10, 5, 4, 4, 6, 7, 6, 6, 2, 9, 7, 7, 10, 10, 5, 3, 5, 3, 3, 5, 10, 5, 5, 5, 10, 3, 10, 3, 3', '200, 200, 200, 500, 100, 200, 300, 10, 200, 100, 100, 50, 100, 100, 10, 50, 10, 10, 50, 50, 200, 10, 200, 50, 400, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(368, 368, '3, 5, 5, 50, 10, 7, 5, 10, 8, 30, 5, 2, 40, 20, 5, 3, 7, 5, 1, 8, 1, 9, 1, 3, 7, 4, 5, 10, 10, 2, 9, 2, 8, 6, 10, 8, 8, 2, 4, 10, 7, 5, 4, 6, 10, 10, 3, 4, 4, 8, 9, 7, 2, 9, 7, 8, 9, 4, 4, 10, 8, 1, 5, 2, 3, 8, 5, 6, 9, 10, 6, 6, 4, 6, 2, 9, 2, 2, 4, 9, 2, 3, 8, 5, 6, 6, 6, 5, 1, 5, 4, 3, 3, 3, 9, 7, 6, 7, 9, 7, 5, 1, 5, 1, 1, 1, 5, 7, 1, 5, 5, 5, 3, 5', '200, 200, 10, 400, 300, 10, 50, 100, 10, 500, 50, 200, 100, 200, 100, 10, 200, 50, 100, 200, 200, 50, 50, 10, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(369, 369, '5, 7, 3, 9, 9, 1, 20, 9, 50, 6, 3, 7, 6, 30, 10, 9, 1, 40, 10, 6, 4, 6, 4, 6, 3, 6, 8, 2, 1, 2, 6, 4, 1, 5, 10, 4, 6, 7, 10, 10, 8, 3, 3, 5, 6, 4, 2, 7, 9, 7, 2, 7, 5, 9, 9, 7, 9, 7, 3, 5, 7, 9, 3, 2, 10, 2, 6, 10, 4, 5, 4, 2, 7, 2, 5, 8, 5, 9, 2, 5, 8, 5, 5, 8, 2, 5, 5, 1, 8, 10, 1, 3, 1, 10, 4, 8, 8, 10, 1, 5, 3, 1, 3, 8, 4, 1, 8, 5, 4, 5, 5, 5, 5, 5', '200, 500, 10, 300, 200, 100, 100, 100, 400, 100, 50, 50, 200, 100, 10, 10, 10, 200, 10, 50, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(370, 370, '4, 5, 1, 3, 40, 1, 3, 1, 7, 5, 20, 2, 5, 3, 8, 2, 2, 30, 1, 9, 1, 4, 6, 4, 5, 8, 3, 5, 3, 2, 8, 1, 7, 5, 1, 4, 3, 10, 1, 10, 9, 3, 5, 1, 9, 10, 2, 8, 2, 3, 50, 3, 10, 2, 3, 10, 8, 7, 1, 2, 4, 6, 8, 5, 9, 2, 2, 7, 10, 8, 5, 9, 6, 4, 4, 7, 4, 5, 6, 5, 5, 9, 7, 5, 10, 10, 8, 4, 10, 8, 7, 9, 6, 5, 6, 6, 6, 7, 8, 5, 5, 9, 9, 6, 10, 5, 5, 7, 9, 6, 5, 5, 7, 4', '200, 200, 200, 10, 10, 10, 400, 500, 300, 200, 10, 10, 100, 50, 50, 200, 100, 100, 50, 100, 50, 100, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(371, 371, '5, 5, 4, 5, 30, 20, 50, 2, 10, 7, 9, 2, 10, 8, 40, 1, 8, 7, 10, 1, 5, 2, 5, 10, 9, 3, 3, 5, 5, 7, 1, 5, 7, 1, 7, 6, 1, 7, 1, 8, 3, 2, 7, 8, 8, 9, 7, 10, 10, 4, 7, 6, 4, 8, 8, 9, 7, 6, 1, 2, 9, 9, 8, 8, 4, 8, 9, 3, 9, 2, 10, 4, 9, 9, 6, 1, 5, 3, 2, 1, 4, 3, 2, 4, 10, 3, 2, 6, 2, 3, 10, 6, 6, 4, 6, 10, 1, 5, 3, 5, 6, 5, 3, 4, 6, 5, 4, 5, 5, 5, 5, 5, 5, 5', '200, 200, 300, 200, 100, 400, 50, 200, 50, 10, 10, 10, 200, 10, 200, 50, 500, 200, 10, 100, 50, 50, 100, 200, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(372, 372, '5, 5, 5, 8, 7, 9, 40, 6, 7, 4, 50, 30, 9, 1, 2, 7, 4, 1, 3, 1, 3, 8, 10, 9, 2, 1, 20, 8, 1, 4, 8, 9, 10, 9, 3, 7, 3, 4, 8, 9, 2, 1, 4, 2, 8, 10, 8, 5, 9, 5, 4, 4, 8, 1, 8, 8, 7, 1, 4, 9, 5, 2, 2, 10, 4, 6, 9, 9, 10, 3, 7, 3, 6, 7, 5, 6, 1, 5, 7, 3, 4, 7, 1, 2, 3, 6, 6, 6, 5, 6, 10, 10, 3, 2, 6, 3, 6, 10, 2, 10, 7, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 200, 400, 200, 100, 300, 200, 500, 200, 10, 100, 200, 200, 100, 50, 10, 100, 200, 10, 200, 200, 10, 50, 100, 200, 50, 50, 200, 10, 200, 200, 200, 200, 50, 200, 200, 200'),
(373, 373, '5, 5, 10, 30, 7, 8, 20, 5, 9, 7, 7, 40, 1, 9, 5, 7, 6, 50, 1, 4, 3, 1, 9, 9, 3, 10, 2, 7, 5, 7, 8, 8, 5, 10, 2, 10, 3, 3, 1, 2, 10, 1, 10, 2, 1, 10, 9, 8, 4, 5, 2, 3, 1, 3, 6, 7, 1, 9, 6, 2, 10, 2, 5, 9, 7, 8, 5, 6, 7, 9, 4, 5, 2, 1, 4, 1, 8, 10, 4, 10, 2, 6, 3, 7, 8, 3, 9, 8, 9, 8, 8, 5, 3, 2, 6, 6, 4, 4, 6, 6, 6, 3, 4, 5, 4, 5, 5, 4, 5, 5, 5, 5, 5, 5', '200, 200, 200, 500, 200, 100, 100, 100, 400, 300, 100, 50, 200, 50, 10, 100, 10, 10, 200, 10, 50, 200, 200, 50, 10, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(374, 374, '5, 5, 5, 6, 4, 9, 10, 30, 4, 5, 6, 8, 3, 9, 40, 3, 2, 3, 10, 6, 2, 7, 20, 7, 3, 7, 50, 1, 4, 8, 3, 9, 7, 8, 1, 2, 6, 6, 2, 6, 2, 2, 4, 7, 3, 9, 6, 1, 10, 7, 2, 2, 3, 3, 1, 5, 8, 3, 5, 3, 4, 2, 4, 7, 8, 1, 2, 10, 6, 8, 6, 7, 7, 7, 4, 1, 9, 1, 5, 10, 1, 5, 5, 4, 4, 1, 10, 6, 4, 10, 5, 1, 8, 10, 10, 8, 10, 9, 8, 8, 5, 9, 9, 9, 5, 9, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 500, 50, 400, 10, 50, 300, 200, 100, 10, 10, 200, 200, 200, 10, 200, 200, 200, 50, 50, 10, 200, 200, 50, 100, 200, 200, 100, 100, 200, 200, 100, 200, 200, 200, 200, 200'),
(375, 375, '5, 5, 5, 2, 4, 40, 4, 6, 6, 2, 6, 7, 50, 1, 10, 3, 30, 2, 7, 9, 3, 6, 2, 3, 4, 8, 4, 3, 9, 5, 10, 1, 7, 10, 10, 8, 4, 8, 5, 2, 8, 1, 2, 3, 2, 20, 4, 3, 7, 1, 4, 9, 9, 8, 4, 8, 1, 7, 4, 3, 7, 3, 8, 9, 6, 4, 7, 8, 7, 2, 10, 2, 2, 1, 8, 9, 7, 6, 3, 9, 6, 1, 10, 1, 10, 3, 10, 8, 7, 1, 10, 6, 6, 9, 6, 10, 9, 9, 5, 5, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5', '200, 200, 10, 400, 500, 300, 100, 10, 10, 100, 100, 50, 50, 200, 10, 200, 200, 200, 50, 100, 50, 50, 100, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(376, 376, '5, 10, 5, 30, 1, 40, 6, 1, 20, 8, 3, 50, 4, 10, 8, 7, 7, 2, 9, 2, 2, 4, 8, 1, 1, 7, 6, 8, 10, 2, 6, 8, 7, 6, 6, 4, 3, 1, 6, 6, 7, 7, 6, 8, 1, 10, 7, 1, 5, 7, 5, 6, 4, 4, 3, 10, 2, 2, 4, 4, 6, 7, 8, 1, 5, 9, 7, 2, 4, 9, 2, 2, 10, 4, 4, 3, 10, 2, 8, 5, 1, 5, 9, 10, 5, 9, 3, 8, 3, 9, 5, 9, 5, 5, 10, 8, 5, 5, 5, 9, 3, 3, 5, 3, 5, 9, 3, 10, 1, 9, 5, 5, 5, 5', '200, 200, 200, 200, 500, 400, 50, 100, 50, 200, 10, 100, 200, 300, 100, 200, 50, 100, 10, 10, 200, 200, 200, 200, 50, 200, 200, 100, 10, 50, 200, 200, 200, 10, 200, 200, 200, 200'),
(377, 377, '5, 7, 50, 5, 9, 20, 7, 7, 4, 10, 1, 1, 9, 5, 5, 30, 40, 5, 1, 8, 5, 5, 9, 2, 1, 1, 3, 8, 6, 10, 2, 1, 3, 9, 7, 8, 8, 2, 3, 7, 6, 6, 7, 10, 2, 5, 3, 9, 4, 9, 10, 1, 4, 9, 1, 6, 7, 2, 3, 9, 5, 5, 7, 2, 10, 6, 2, 2, 9, 9, 3, 3, 3, 4, 1, 6, 2, 3, 1, 7, 5, 10, 7, 10, 10, 3, 6, 8, 6, 2, 4, 6, 4, 8, 6, 4, 4, 8, 10, 5, 10, 4, 5, 5, 8, 8, 5, 5, 5, 8, 5, 5, 4, 5', '200, 200, 200, 300, 100, 10, 200, 500, 400, 10, 10, 10, 100, 10, 200, 100, 200, 50, 50, 200, 50, 50, 200, 100, 50, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(378, 378, '5, 30, 2, 7, 10, 7, 9, 10, 9, 2, 3, 10, 1, 8, 9, 2, 5, 7, 40, 4, 1, 9, 10, 3, 1, 5, 50, 6, 5, 5, 8, 8, 8, 20, 8, 4, 1, 7, 3, 5, 1, 3, 3, 7, 1, 4, 10, 4, 6, 9, 3, 6, 5, 9, 3, 10, 5, 5, 10, 3, 7, 1, 5, 10, 9, 3, 7, 1, 3, 8, 10, 1, 2, 9, 5, 10, 9, 6, 5, 8, 7, 1, 5, 5, 8, 8, 7, 9, 6, 2, 6, 6, 6, 8, 7, 5, 6, 6, 4, 2, 4, 4, 4, 5, 5, 4, 2, 2, 2, 5, 5, 5, 4, 2', '300, 100, 10, 500, 50, 100, 50, 200, 100, 400, 200, 200, 200, 100, 50, 200, 100, 50, 10, 200, 10, 50, 200, 10, 200, 200, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(379, 379, '5, 5, 5, 7, 4, 8, 5, 50, 30, 9, 1, 10, 9, 6, 7, 7, 20, 8, 4, 7, 40, 3, 5, 5, 10, 9, 6, 5, 5, 10, 8, 2, 8, 3, 1, 8, 10, 7, 10, 7, 8, 8, 3, 4, 8, 1, 10, 7, 1, 4, 9, 6, 2, 8, 7, 9, 6, 5, 10, 10, 1, 7, 3, 4, 6, 7, 6, 1, 6, 4, 9, 3, 8, 4, 1, 1, 2, 2, 10, 4, 3, 9, 1, 1, 2, 10, 6, 3, 3, 3, 5, 5, 3, 9, 2, 2, 6, 2, 4, 5, 6, 4, 5, 2, 5, 5, 2, 5, 9, 9, 5, 5, 5, 5', '200, 200, 200, 100, 500, 300, 50, 100, 200, 50, 10, 400, 10, 10, 10, 200, 10, 200, 100, 100, 200, 50, 50, 50, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(380, 380, '5, 5, 4, 20, 7, 8, 3, 9, 40, 9, 5, 3, 7, 2, 7, 2, 5, 3, 8, 30, 1, 8, 7, 2, 9, 10, 1, 1, 1, 9, 1, 8, 1, 2, 6, 4, 1, 2, 9, 7, 50, 5, 6, 9, 10, 7, 4, 7, 6, 10, 5, 9, 3, 3, 9, 4, 10, 6, 10, 1, 2, 1, 2, 4, 4, 3, 1, 5, 8, 5, 9, 3, 2, 7, 6, 2, 5, 7, 7, 10, 10, 9, 4, 2, 5, 8, 4, 5, 10, 10, 5, 8, 6, 4, 3, 8, 8, 4, 8, 5, 5, 3, 6, 3, 10, 5, 6, 6, 5, 6, 5, 5, 5, 5', '200, 200, 200, 200, 300, 10, 200, 50, 400, 200, 100, 50, 10, 100, 100, 10, 50, 10, 200, 100, 500, 10, 50, 100, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(381, 381, '6, 50, 8, 3, 30, 4, 9, 1, 9, 9, 10, 9, 40, 5, 5, 7, 3, 20, 2, 8, 1, 7, 2, 2, 5, 7, 4, 2, 6, 1, 9, 2, 5, 4, 2, 7, 10, 3, 7, 3, 7, 3, 2, 7, 2, 5, 8, 6, 8, 5, 9, 4, 5, 5, 6, 5, 3, 9, 10, 1, 6, 1, 2, 10, 9, 5, 9, 3, 2, 1, 7, 3, 4, 4, 10, 5, 3, 4, 10, 4, 10, 7, 9, 7, 10, 4, 6, 3, 4, 5, 6, 5, 8, 5, 1, 5, 1, 8, 5, 5, 10, 1, 8, 5, 8, 5, 5, 8, 6, 1, 8, 6, 6, 10', '200, 200, 200, 200, 400, 300, 10, 200, 200, 100, 100, 100, 500, 50, 200, 100, 50, 10, 50, 50, 100, 200, 50, 10, 200, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(382, 382, '3, 5, 8, 8, 40, 30, 1, 9, 6, 50, 10, 3, 20, 3, 8, 2, 7, 5, 6, 9, 9, 1, 6, 10, 7, 3, 1, 7, 9, 3, 6, 7, 9, 10, 4, 9, 4, 10, 5, 4, 3, 1, 6, 4, 8, 8, 7, 2, 4, 2, 4, 4, 10, 4, 5, 4, 10, 10, 10, 8, 1, 5, 3, 1, 7, 9, 10, 10, 9, 4, 7, 7, 1, 5, 8, 5, 5, 1, 9, 6, 1, 6, 5, 8, 9, 5, 5, 5, 1, 6, 7, 8, 5, 2, 7, 6, 8, 2, 5, 6, 2, 2, 3, 5, 5, 2, 5, 5, 2, 2, 3, 3, 5, 5', '200, 400, 50, 10, 500, 50, 100, 300, 100, 50, 100, 10, 50, 200, 200, 50, 200, 10, 10, 200, 10, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(383, 383, '5, 5, 5, 50, 5, 40, 10, 9, 7, 4, 10, 4, 4, 20, 2, 5, 8, 2, 9, 10, 7, 6, 30, 2, 2, 3, 4, 10, 4, 8, 7, 4, 3, 10, 4, 7, 8, 4, 6, 8, 4, 10, 7, 4, 3, 1, 9, 8, 9, 10, 6, 1, 8, 8, 6, 9, 7, 5, 6, 7, 9, 8, 10, 9, 1, 7, 1, 7, 5, 10, 6, 2, 1, 1, 7, 1, 6, 6, 10, 8, 2, 8, 1, 2, 2, 9, 2, 6, 6, 1, 1, 5, 3, 5, 5, 2, 3, 3, 3, 5, 5, 3, 5, 9, 9, 3, 5, 3, 5, 5, 5, 5, 5, 5', '200, 200, 200, 50, 10, 10, 10, 50, 500, 10, 200, 10, 100, 400, 200, 200, 200, 50, 300, 200, 100, 100, 100, 50, 100, 200, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(384, 384, '5, 5, 5, 5, 5, 9, 4, 3, 5, 7, 5, 10, 2, 30, 20, 40, 10, 7, 10, 7, 4, 2, 7, 9, 3, 8, 7, 2, 4, 7, 50, 10, 4, 9, 8, 5, 1, 7, 4, 8, 1, 9, 1, 5, 3, 7, 3, 7, 10, 10, 3, 4, 9, 5, 6, 3, 6, 3, 8, 6, 6, 4, 9, 2, 6, 5, 9, 10, 8, 8, 3, 1, 3, 9, 9, 4, 2, 9, 4, 3, 6, 8, 1, 7, 10, 4, 10, 1, 1, 6, 10, 5, 8, 1, 1, 6, 6, 8, 8, 5, 1, 6, 5, 2, 5, 5, 2, 5, 2, 2, 5, 2, 5, 5', '200, 200, 500, 50, 10, 300, 10, 200, 10, 100, 50, 400, 50, 100, 10, 100, 10, 50, 100, 50, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(385, 385, '3, 5, 3, 40, 10, 10, 9, 6, 50, 8, 9, 5, 4, 2, 30, 5, 9, 7, 10, 8, 3, 7, 6, 20, 4, 5, 6, 9, 7, 7, 8, 1, 1, 6, 7, 4, 10, 9, 6, 4, 9, 1, 10, 2, 3, 4, 9, 9, 2, 3, 4, 10, 10, 1, 9, 7, 4, 6, 9, 1, 8, 7, 2, 1, 4, 5, 6, 6, 2, 7, 4, 1, 4, 2, 1, 10, 3, 7, 2, 10, 10, 6, 5, 1, 5, 3, 3, 8, 8, 6, 5, 2, 5, 1, 5, 5, 3, 2, 7, 2, 5, 8, 8, 5, 5, 8, 5, 3, 5, 5, 8, 5, 5, 5', '200, 200, 200, 200, 500, 400, 10, 50, 200, 300, 10, 200, 10, 100, 50, 10, 50, 100, 10, 50, 50, 200, 100, 200, 200, 200, 200, 100, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(386, 386, '5, 5, 5, 9, 7, 40, 9, 6, 20, 5, 9, 2, 2, 8, 4, 4, 3, 30, 9, 50, 7, 10, 2, 7, 8, 9, 2, 3, 9, 9, 8, 4, 5, 3, 1, 2, 9, 4, 2, 6, 7, 6, 2, 3, 8, 6, 7, 2, 8, 6, 1, 5, 10, 9, 4, 4, 7, 5, 9, 5, 10, 2, 5, 5, 2, 7, 6, 10, 3, 7, 5, 4, 4, 3, 3, 10, 10, 8, 8, 8, 8, 1, 4, 1, 8, 5, 1, 10, 4, 1, 10, 5, 6, 3, 3, 10, 10, 3, 1, 5, 5, 1, 1, 5, 7, 6, 6, 1, 7, 6, 5, 5, 5, 5', '200, 200, 200, 400, 50, 500, 100, 100, 100, 100, 200, 50, 50, 10, 300, 10, 10, 100, 50, 200, 10, 200, 200, 50, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(387, 387, '5, 5, 5, 5, 2, 30, 5, 3, 2, 1, 1, 10, 50, 6, 2, 2, 5, 7, 20, 4, 8, 9, 40, 4, 5, 4, 1, 10, 10, 10, 1, 10, 10, 2, 7, 7, 7, 10, 10, 7, 10, 8, 1, 5, 4, 5, 10, 5, 2, 7, 6, 8, 2, 5, 3, 1, 4, 6, 6, 7, 3, 7, 2, 4, 7, 7, 5, 6, 2, 2, 5, 1, 6, 5, 9, 6, 3, 3, 6, 5, 3, 4, 8, 8, 6, 6, 8, 8, 8, 5, 9, 9, 1, 4, 8, 8, 3, 5, 4, 1, 3, 1, 4, 3, 9, 9, 5, 5, 9, 9, 3, 9, 9, 5', '200, 200, 10, 50, 500, 300, 400, 10, 100, 10, 200, 100, 100, 10, 10, 50, 100, 50, 100, 200, 200, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(388, 388, '7, 20, 10, 1, 8, 30, 50, 1, 4, 40, 3, 4, 4, 9, 7, 3, 6, 8, 1, 8, 2, 5, 2, 4, 10, 6, 5, 1, 3, 10, 1, 5, 4, 8, 8, 5, 3, 2, 10, 6, 1, 9, 4, 8, 6, 2, 9, 4, 6, 3, 7, 8, 9, 6, 10, 10, 10, 1, 8, 10, 2, 8, 3, 4, 6, 5, 10, 9, 2, 4, 7, 9, 5, 3, 10, 8, 9, 4, 5, 3, 5, 6, 9, 5, 2, 7, 6, 2, 9, 3, 6, 2, 9, 1, 3, 7, 5, 5, 5, 1, 1, 2, 5, 7, 5, 5, 7, 7, 5, 5, 5, 5, 7, 5', '200, 10, 500, 10, 50, 50, 300, 10, 10, 400, 50, 50, 10, 100, 200, 100, 200, 200, 100, 200, 50, 200, 200, 100, 200, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(389, 389, '5, 5, 5, 5, 4, 30, 10, 2, 50, 2, 40, 8, 4, 10, 7, 9, 9, 20, 3, 10, 4, 2, 1, 5, 8, 2, 2, 1, 4, 9, 2, 7, 1, 5, 6, 4, 6, 10, 7, 3, 10, 3, 1, 5, 6, 7, 1, 3, 7, 1, 5, 6, 3, 6, 7, 3, 8, 8, 3, 8, 3, 5, 9, 10, 6, 1, 3, 6, 6, 9, 5, 1, 9, 7, 7, 9, 3, 4, 9, 7, 8, 5, 5, 4, 5, 1, 7, 8, 5, 8, 10, 2, 2, 1, 9, 2, 5, 2, 8, 8, 6, 9, 4, 10, 10, 10, 5, 5, 6, 4, 4, 5, 5, 5', '200, 200, 10, 300, 400, 500, 10, 100, 50, 100, 50, 200, 100, 50, 50, 10, 200, 10, 50, 200, 200, 100, 200, 10, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(390, 390, '5, 4, 6, 2, 50, 3, 30, 4, 1, 7, 10, 20, 3, 3, 6, 8, 4, 6, 3, 4, 2, 5, 1, 4, 2, 7, 10, 2, 1, 10, 3, 8, 40, 4, 10, 5, 9, 4, 6, 2, 9, 6, 1, 3, 7, 9, 1, 2, 2, 1, 10, 2, 1, 9, 5, 10, 3, 5, 4, 4, 7, 4, 9, 8, 9, 5, 2, 9, 1, 1, 5, 9, 3, 6, 9, 5, 10, 5, 3, 10, 8, 5, 3, 8, 7, 9, 5, 6, 10, 6, 1, 10, 8, 2, 5, 7, 6, 5, 5, 8, 5, 6, 5, 5, 7, 8, 8, 8, 7, 7, 7, 5, 5, 5', '200, 50, 400, 10, 50, 300, 500, 100, 100, 50, 200, 100, 50, 10, 10, 200, 50, 200, 100, 100, 10, 200, 200, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(391, 391, '5, 5, 5, 5, 5, 30, 9, 4, 1, 40, 9, 8, 9, 10, 7, 8, 8, 2, 50, 4, 1, 6, 3, 7, 4, 3, 20, 1, 10, 9, 3, 8, 5, 8, 5, 2, 6, 6, 9, 9, 7, 9, 4, 1, 1, 7, 4, 9, 2, 1, 3, 6, 6, 5, 6, 10, 7, 1, 2, 5, 7, 5, 3, 1, 6, 6, 2, 2, 9, 7, 8, 10, 3, 10, 8, 6, 2, 8, 3, 3, 6, 10, 1, 5, 9, 7, 2, 3, 7, 2, 10, 2, 5, 1, 10, 8, 7, 10, 4, 3, 5, 8, 4, 5, 10, 5, 4, 5, 4, 4, 5, 5, 5, 5', '200, 200, 500, 200, 200, 200, 200, 50, 100, 300, 50, 400, 10, 50, 100, 100, 10, 10, 200, 50, 200, 10, 10, 200, 100, 100, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(392, 392, '5, 5, 5, 30, 3, 2, 1, 8, 5, 9, 20, 40, 8, 4, 1, 3, 7, 8, 1, 3, 7, 2, 9, 50, 4, 7, 10, 5, 1, 10, 9, 10, 9, 8, 2, 5, 5, 8, 10, 10, 4, 1, 10, 2, 4, 4, 4, 2, 9, 6, 3, 10, 6, 9, 8, 7, 1, 8, 4, 4, 10, 8, 4, 7, 9, 2, 3, 7, 7, 6, 10, 7, 8, 8, 2, 1, 2, 2, 10, 9, 3, 5, 1, 4, 1, 3, 1, 7, 6, 2, 7, 3, 9, 9, 3, 3, 6, 6, 5, 5, 5, 6, 6, 5, 5, 6, 5, 5, 5, 5, 6, 5, 5, 5', '200, 200, 100, 400, 10, 10, 500, 300, 10, 100, 100, 200, 100, 50, 100, 10, 200, 200, 10, 200, 200, 50, 50, 50, 200, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(393, 393, '5, 1, 20, 9, 8, 7, 4, 7, 8, 1, 4, 40, 50, 9, 9, 9, 30, 8, 8, 6, 5, 8, 7, 9, 10, 6, 1, 10, 6, 7, 10, 2, 3, 5, 7, 4, 5, 9, 9, 8, 4, 8, 3, 5, 1, 1, 9, 10, 3, 4, 8, 7, 9, 4, 7, 9, 4, 2, 2, 3, 5, 5, 3, 3, 3, 10, 6, 8, 7, 2, 10, 6, 6, 10, 10, 1, 10, 5, 2, 10, 7, 5, 6, 5, 1, 6, 6, 6, 1, 2, 5, 4, 2, 3, 5, 4, 5, 8, 4, 2, 1, 2, 5, 5, 3, 7, 1, 5, 2, 5, 5, 3, 5, 5', '200, 400, 100, 500, 300, 50, 200, 200, 200, 10, 200, 100, 200, 200, 50, 10, 50, 200, 10, 50, 100, 200, 200, 200, 50, 10, 200, 10, 100, 200, 100, 200, 200, 200, 200, 200, 200, 200'),
(394, 394, '5, 10, 3, 8, 7, 7, 3, 7, 4, 6, 1, 5, 10, 2, 2, 4, 5, 4, 8, 9, 4, 4, 10, 30, 10, 4, 50, 3, 6, 40, 20, 4, 4, 3, 5, 7, 4, 5, 3, 3, 10, 2, 4, 9, 1, 7, 1, 5, 3, 8, 1, 6, 10, 2, 7, 5, 2, 5, 6, 9, 5, 8, 6, 5, 2, 9, 3, 8, 5, 2, 6, 2, 10, 9, 8, 7, 1, 3, 7, 1, 6, 9, 5, 3, 8, 6, 7, 6, 6, 7, 8, 8, 9, 10, 1, 1, 5, 10, 2, 10, 2, 8, 5, 5, 1, 1, 5, 5, 5, 5, 9, 9, 5, 9', '200, 200, 200, 400, 300, 50, 100, 50, 100, 50, 50, 200, 500, 10, 10, 200, 200, 200, 100, 50, 100, 10, 200, 100, 200, 200, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(395, 395, '5, 5, 5, 5, 5, 5, 5, 9, 6, 4, 1, 5, 50, 9, 3, 10, 8, 1, 5, 2, 3, 9, 4, 7, 40, 5, 8, 2, 10, 10, 1, 20, 4, 9, 8, 30, 9, 7, 4, 2, 7, 7, 5, 4, 9, 4, 2, 9, 2, 3, 7, 5, 10, 4, 4, 6, 9, 2, 3, 4, 8, 7, 7, 3, 1, 6, 2, 9, 5, 6, 9, 6, 10, 2, 3, 10, 7, 7, 3, 8, 1, 8, 4, 7, 3, 1, 6, 8, 6, 2, 6, 1, 1, 8, 2, 5, 10, 5, 1, 1, 3, 8, 5, 6, 3, 8, 10, 5, 10, 10, 5, 5, 5, 6', '200, 200, 300, 400, 10, 500, 50, 50, 10, 10, 50, 200, 200, 200, 100, 50, 50, 10, 100, 100, 200, 200, 200, 100, 200, 200, 100, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(396, 396, '5, 5, 9, 5, 20, 50, 6, 1, 10, 10, 2, 9, 4, 6, 5, 6, 5, 30, 2, 3, 7, 40, 9, 5, 2, 5, 5, 3, 7, 3, 6, 5, 5, 2, 5, 2, 2, 5, 4, 7, 6, 6, 1, 8, 4, 10, 2, 4, 4, 9, 1, 4, 4, 9, 1, 10, 4, 1, 1, 10, 4, 8, 9, 3, 2, 2, 3, 7, 10, 1, 4, 1, 1, 2, 6, 10, 9, 3, 8, 8, 10, 6, 10, 3, 10, 6, 8, 6, 3, 8, 9, 1, 8, 5, 5, 8, 3, 5, 7, 9, 5, 3, 9, 5, 5, 8, 7, 8, 7, 7, 5, 5, 7, 7', '200, 200, 50, 500, 300, 100, 200, 400, 100, 100, 10, 10, 200, 50, 50, 10, 100, 10, 100, 10, 200, 200, 200, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(397, 397, '5, 5, 5, 5, 6, 4, 2, 40, 8, 30, 9, 10, 6, 6, 4, 6, 4, 9, 8, 1, 4, 9, 8, 3, 2, 6, 8, 7, 6, 5, 3, 1, 50, 8, 5, 4, 2, 7, 3, 2, 7, 5, 8, 2, 8, 3, 1, 2, 9, 9, 1, 20, 1, 4, 2, 10, 5, 1, 6, 5, 3, 5, 5, 5, 7, 8, 5, 9, 7, 1, 8, 5, 5, 6, 5, 4, 1, 4, 7, 2, 3, 6, 2, 6, 7, 3, 4, 3, 2, 9, 7, 4, 5, 8, 10, 1, 10, 9, 5, 7, 3, 7, 3, 10, 10, 9, 9, 10, 5, 1, 10, 10, 10, 5', '200, 200, 50, 300, 500, 400, 200, 10, 100, 200, 50, 10, 100, 50, 200, 100, 10, 100, 100, 200, 50, 200, 200, 200, 50, 10, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(398, 398, '4, 5, 4, 8, 2, 9, 40, 30, 1, 10, 8, 5, 6, 20, 10, 1, 50, 3, 2, 8, 7, 4, 9, 10, 9, 6, 5, 2, 5, 10, 1, 5, 3, 1, 1, 6, 1, 4, 7, 9, 5, 10, 6, 10, 5, 8, 1, 4, 7, 8, 3, 9, 5, 7, 8, 1, 2, 3, 7, 2, 6, 9, 9, 2, 7, 9, 10, 9, 6, 10, 7, 10, 8, 9, 5, 6, 7, 5, 10, 8, 8, 3, 7, 2, 2, 3, 5, 7, 2, 4, 5, 2, 3, 6, 1, 8, 4, 1, 4, 3, 3, 5, 5, 6, 5, 6, 5, 5, 5, 3, 4, 5, 5, 4', '200, 200, 200, 300, 50, 500, 400, 100, 100, 100, 10, 50, 10, 200, 10, 10, 100, 200, 100, 200, 50, 10, 200, 50, 200, 200, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(399, 399, '5, 5, 5, 5, 5, 2, 7, 50, 9, 6, 8, 9, 6, 6, 4, 2, 30, 3, 20, 9, 1, 3, 9, 40, 6, 7, 2, 7, 2, 1, 3, 5, 3, 2, 2, 6, 1, 4, 7, 3, 10, 4, 1, 10, 6, 6, 8, 1, 9, 4, 2, 4, 2, 8, 7, 6, 5, 9, 6, 8, 1, 9, 3, 10, 10, 7, 1, 4, 7, 3, 4, 6, 10, 4, 8, 1, 1, 1, 8, 5, 2, 5, 8, 3, 4, 2, 10, 5, 3, 8, 7, 9, 8, 5, 7, 9, 5, 7, 9, 3, 10, 8, 5, 10, 10, 5, 5, 4, 10, 5, 5, 5, 5, 5', '200, 200, 200, 300, 200, 50, 400, 200, 200, 50, 200, 500, 100, 10, 100, 200, 200, 50, 10, 200, 10, 10, 50, 200, 200, 10, 100, 100, 50, 200, 100, 200, 200, 200, 200, 200, 200, 200'),
(400, 400, '5, 5, 5, 5, 8, 9, 40, 20, 9, 7, 50, 3, 9, 5, 8, 2, 9, 9, 10, 7, 8, 4, 2, 10, 7, 5, 7, 5, 9, 2, 4, 7, 2, 30, 6, 3, 9, 3, 7, 6, 8, 1, 7, 4, 1, 1, 10, 8, 6, 7, 9, 3, 7, 1, 4, 5, 10, 8, 4, 4, 2, 10, 6, 10, 1, 4, 10, 2, 8, 4, 4, 8, 7, 9, 4, 9, 6, 10, 2, 8, 3, 10, 2, 10, 6, 1, 8, 2, 6, 1, 3, 2, 6, 5, 6, 1, 6, 5, 5, 5, 5, 1, 5, 5, 3, 5, 5, 5, 1, 3, 3, 3, 5, 5', '200, 200, 200, 10, 400, 100, 50, 50, 500, 200, 100, 300, 100, 50, 50, 100, 50, 10, 10, 10, 200, 200, 200, 200, 100, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(401, 401, '5, 5, 5, 50, 3, 3, 10, 20, 6, 4, 7, 8, 9, 2, 5, 10, 8, 1, 9, 7, 3, 7, 10, 40, 10, 1, 6, 1, 5, 5, 2, 9, 8, 8, 8, 4, 30, 10, 2, 2, 2, 1, 4, 3, 2, 7, 1, 10, 1, 8, 9, 7, 2, 10, 7, 1, 5, 2, 6, 10, 3, 9, 9, 10, 6, 8, 3, 9, 9, 8, 4, 9, 10, 2, 9, 5, 2, 4, 5, 1, 1, 5, 7, 5, 5, 3, 4, 3, 8, 7, 7, 5, 7, 8, 5, 6, 4, 4, 6, 3, 1, 3, 5, 5, 4, 6, 6, 6, 6, 5, 4, 5, 5, 5', '200, 200, 200, 200, 50, 100, 100, 300, 100, 100, 400, 100, 50, 10, 10, 500, 10, 10, 10, 50, 200, 200, 50, 50, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(402, 402, '5, 5, 5, 5, 5, 30, 10, 1, 7, 9, 2, 9, 1, 50, 40, 1, 2, 8, 5, 6, 7, 5, 5, 7, 2, 3, 4, 1, 9, 20, 3, 7, 4, 3, 2, 4, 4, 6, 9, 3, 4, 10, 2, 6, 9, 1, 6, 8, 4, 4, 5, 2, 1, 3, 1, 10, 4, 2, 2, 3, 1, 9, 4, 7, 1, 1, 8, 5, 7, 3, 6, 4, 2, 7, 6, 10, 3, 9, 10, 2, 6, 10, 7, 9, 9, 9, 6, 3, 5, 7, 3, 7, 5, 8, 6, 10, 10, 8, 8, 10, 10, 5, 8, 5, 6, 5, 5, 8, 8, 5, 5, 8, 5, 5', '200, 200, 200, 200, 50, 50, 300, 50, 10, 400, 100, 50, 100, 500, 50, 10, 100, 200, 200, 100, 100, 200, 10, 10, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(403, 403, '5, 5, 50, 10, 9, 7, 5, 1, 20, 5, 1, 4, 30, 4, 5, 40, 6, 4, 1, 3, 8, 8, 1, 9, 2, 3, 5, 2, 2, 9, 2, 1, 10, 3, 1, 1, 5, 8, 4, 6, 6, 4, 7, 9, 1, 2, 6, 8, 7, 8, 2, 3, 4, 3, 9, 8, 5, 1, 7, 4, 4, 7, 3, 7, 6, 10, 8, 10, 1, 3, 6, 3, 4, 5, 8, 6, 6, 3, 7, 4, 5, 7, 9, 8, 5, 9, 9, 7, 10, 6, 10, 5, 10, 9, 2, 8, 2, 2, 7, 2, 6, 9, 5, 10, 5, 3, 5, 5, 5, 5, 10, 10, 5, 5', '500, 100, 100, 300, 200, 200, 10, 200, 100, 10, 50, 100, 200, 200, 10, 400, 200, 10, 200, 10, 100, 200, 200, 50, 50, 200, 200, 50, 200, 200, 200, 200, 50, 200, 200, 200, 200, 200'),
(404, 404, '5, 5, 1, 6, 2, 30, 5, 1, 6, 7, 6, 40, 3, 20, 6, 9, 1, 10, 3, 2, 3, 2, 8, 4, 3, 3, 1, 50, 9, 5, 9, 2, 10, 2, 7, 6, 6, 5, 5, 10, 5, 2, 8, 7, 8, 4, 4, 1, 4, 1, 4, 7, 4, 3, 4, 3, 6, 7, 6, 10, 5, 1, 10, 9, 8, 2, 10, 8, 7, 10, 1, 10, 10, 7, 8, 8, 4, 6, 2, 9, 4, 2, 3, 8, 1, 4, 6, 7, 7, 3, 7, 5, 3, 9, 8, 10, 5, 2, 5, 1, 5, 8, 9, 5, 5, 5, 5, 5, 9, 5, 9, 5, 9, 5', '200, 200, 10, 200, 500, 100, 100, 10, 400, 100, 50, 300, 100, 10, 200, 50, 50, 100, 50, 50, 10, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(405, 405, '5, 5, 5, 5, 5, 7, 10, 1, 8, 30, 9, 50, 8, 1, 5, 5, 9, 9, 10, 7, 8, 3, 1, 9, 5, 1, 9, 7, 1, 2, 2, 40, 4, 3, 1, 20, 5, 6, 3, 9, 9, 7, 6, 3, 9, 3, 6, 8, 1, 7, 1, 8, 8, 3, 2, 7, 7, 9, 7, 1, 9, 7, 10, 7, 8, 1, 6, 4, 2, 8, 2, 4, 5, 3, 6, 5, 5, 3, 8, 10, 6, 4, 3, 8, 3, 2, 5, 5, 10, 6, 6, 5, 2, 2, 10, 5, 10, 6, 2, 4, 10, 10, 2, 6, 10, 4, 5, 4, 4, 5, 5, 4, 4, 5', '200, 500, 200, 10, 300, 10, 50, 100, 200, 50, 400, 100, 100, 50, 200, 10, 50, 10, 50, 100, 10, 100, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(406, 406, '2, 7, 7, 6, 50, 9, 10, 8, 2, 1, 40, 1, 9, 10, 6, 5, 8, 7, 20, 30, 4, 10, 5, 3, 9, 3, 8, 6, 1, 5, 4, 1, 4, 6, 10, 3, 6, 5, 1, 3, 5, 6, 7, 5, 3, 9, 9, 4, 6, 5, 4, 6, 2, 4, 7, 3, 1, 5, 4, 3, 1, 1, 6, 8, 8, 5, 8, 5, 2, 10, 5, 5, 5, 10, 3, 6, 10, 10, 10, 8, 3, 2, 9, 9, 2, 1, 4, 1, 3, 8, 2, 9, 8, 8, 9, 5, 5, 4, 5, 9, 2, 5, 7, 7, 7, 10, 5, 5, 4, 5, 7, 2, 2, 7', '200, 200, 300, 10, 500, 100, 400, 200, 200, 200, 100, 50, 50, 200, 50, 100, 50, 10, 10, 100, 10, 50, 100, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),
(407, 407, '5, 5, 4, 30, 5, 7, 20, 40, 6, 7, 10, 9, 50, 2, 4, 1, 1, 5, 6, 1, 2, 4, 10, 5, 3, 4, 7, 3, 10, 1, 10, 3, 8, 8, 6, 3, 6, 7, 2, 1, 7, 7, 7, 5, 4, 4, 3, 3, 2, 3, 1, 4, 9, 3, 7, 4, 7, 8, 10, 1, 7, 4, 1, 9, 5, 2, 10, 4, 9, 10, 6, 5, 6, 2, 5, 5, 2, 3, 5, 6, 6, 3, 10, 6, 2, 6, 1, 9, 8, 2, 1, 5, 5, 9, 2, 5, 8, 8, 10, 10, 5, 9, 9, 5, 9, 5, 9, 5, 8, 8, 5, 8, 5, 8', '200, 400, 200, 300, 500, 100, 50, 50, 50, 10, 10, 100, 200, 10, 200, 10, 200, 200, 10, 50, 200, 50, 100, 200, 200, 100, 200, 200, 200, 100, 200, 200, 200, 200, 200, 200, 200, 200'),
(408, 408, '5, 5, 5, 5, 5, 2, 7, 9, 1, 6, 5, 6, 8, 5, 40, 2, 3, 9, 4, 3, 2, 6, 6, 6, 9, 5, 10, 4, 8, 2, 50, 5, 9, 10, 3, 4, 9, 7, 20, 4, 2, 7, 6, 3, 7, 3, 7, 4, 6, 3, 2, 30, 4, 8, 9, 1, 4, 4, 1, 4, 3, 9, 2, 5, 2, 7, 6, 2, 2, 3, 10, 8, 8, 10, 6, 7, 6, 3, 1, 8, 4, 8, 7, 3, 9, 1, 10, 1, 7, 8, 7, 9, 5, 1, 10, 1, 8, 5, 5, 10, 10, 10, 1, 1, 9, 5, 10, 8, 5, 5, 5, 5, 5, 5', '200, 200, 50, 50, 400, 100, 300, 500, 50, 200, 100, 50, 100, 100, 50, 10, 100, 10, 200, 10, 10, 200, 200, 10, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200'),

(409, 409, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(410, 410, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(411, 411, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(412, 412, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(413, 413, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(414, 414, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(415, 415, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(416, 416, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(417, 417, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(418, 418, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(419, 419, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(420, 420, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(421, 421, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(422, 422, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(423, 423, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(424, 424, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(425, 425, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(426, 426, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(427, 427, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(428, 428, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(429, 429, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(430, 430, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(431, 431, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(432, 432, '', ''),
(433, 433, '', ''),
(434, 434, '', ''),

(435, 435, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(436, 436, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(437, 437, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(438, 438, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(439, 439, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(440, 440, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(441, 441, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(442, 442, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(443, 443, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(444, 444, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(445, 445, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(446, 446, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(447, 447, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(448, 448, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(449, 449, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(450, 450, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(451, 451, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(452, 452, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(453, 453, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(454, 454, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(455, 455, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(456, 456, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(457, 457, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(458, 458, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(459, 459, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(460, 460, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(461, 461, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(462, 462, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(463, 463, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(464, 464, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(465, 465, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(466, 466, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(467, 467, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(468, 468, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(469, 469, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(470, 470, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(471, 471, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(472, 472, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(473, 473, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(474, 474, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(475, 475, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(476, 476, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(477, 477, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(478, 478, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(479, 479, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(480, 480, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(481, 481, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(482, 482, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(483, 483, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(484, 484, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(485, 485, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(486, 486, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(487, 487, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(488, 488, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(489, 489, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(490, 490, '', ''),
(491, 491, '', ''),
(492, 492, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(493, 493, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(494, 494, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(495, 495, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(496, 496, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(497, 497, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(498, 498, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(499, 499, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(500, 500, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(501, 501, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(502, 502, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(503, 503, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(504, 504, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(505, 505, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(506, 506, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(507, 507, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(508, 508, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(509, 509, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(510, 510, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(511, 511, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(512, 512, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(513, 513, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(514, 514, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(515, 515, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(516, 516, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(517, 517, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(518, 518, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(519, 519, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(520, 520, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(521, 521, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(522, 522, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(523, 523, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(524, 524, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(525, 525, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(526, 526, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(527, 527, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(528, 528, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(529, 529, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(530, 530, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(531, 531, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(532, 532, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(533, 533, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(534, 534, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(535, 535, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(536, 536, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(537, 537, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),

(538, 538, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(539, 539, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(540, 540, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(541, 541, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(542, 542, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(543, 543, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(544, 544, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(545, 545, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(546, 546, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(547, 547, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(548, 548, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(549, 549, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(550, 550, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(551, 551, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(552, 552, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(553, 553, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(554, 554, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(555, 555, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(556, 556, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(557, 557, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(558, 558, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(559, 559, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(560, 560, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(561, 561, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55'),
(562, 562, '2,10,7,20,2,2,7,3,1,5,1,10,4,5,2,4,10,5,7,3,10,4,2,2,4,4,2,2,7,3,5,3,7,2,10,10,3,3,20,20,5,50,7,20,1,10,5,5,10,10,5,100,9,5,2,10,2,4,4,4,5,5,4,4,4,5,20,50,7,5,3,2,2,4,10,3,10,4,10,5,5,3,5,10,4,4,5,4,4,5,10,3,3,5,5,100,4,2,7,10,6,10,2,2,3,5,5,3,4,4,5,5,7,10,7,3,10,10,10,5,7,5,7,2,10,2,4,4,4,4,4,20,7,5,3,5,30,10,3,3,4,4,10,4,4,3,3,5,2,2,30,10,10,5,7,50,3,3,10,3,10,2,5,2,4,2,5,5,3,2,2,4,7,5,5,4,2,2,5,3,4,4,20,20,10,100,4,4,10,10,3,5,5,5,10,10,3,2,5,3,3,2,3,3,10,4,7,20,5,4,10,4,3,2,5,5,2,4,5,5,4,10,10,4,5,3,10,10,10,5,5,4,1,3,7,2,10,5,4,3,5,4,3,5,1,3,3,10,3,3,3,2,5,3,10,10,7,2,5,3,2,10,3,4,2,5,7,5,10,3,7,2,1,20,3,10,2,4,3,3,4,5,4,5,7,10,4,3,10,3,5,4,4,5,7,5,5,3,2,3,7,20,7,20,4,4,4,20,1,2,7,10,2,2,2,2,5,3,30,10,3,5,5,3,3,2,30,10,7,5,2,4,20,20,3,2,7,10,2,10,2,20,4,4,30,10,4,5,10,50,7,5,5,3,7,3,2,4,4,4,5,3,5,3,7,3,4,4,10,3,10,10,5,3,7,3,5,4,5,4,10,2,4,50,3,2,2,50,2,2,4,4,5,2,3,50,10,3,5,4,2,5,5,5,7,2,10,10,3,2,3,5,5,5,1,3,5,20,5,4,2,4,1,2,4,2,4,10,4,10,2,2,4,3,4,4,3,3,5,2,10,4,2,4,10,4,3,10,11,3,7,5,40,50,3,2,10,10,1,5,5,3,20,50,5,3,2,4,5,3,5,10,5,50,7,2,4,4,2,10,8,5,1,5,5,3,7,10,1,2,3,20,4,2,3,4,5,20,1,2,3,2,10,10,5,10,10,20,20,100,2,4,2,5,20,10,10,20,10,3', '100,50,25,50,100,500,900,500,100,200,100,70,100,800,100,400,100,100,30,500,100,300,50,30,600,300,100,500,700,400,350,150,500,50,100,500,100,500,30,20,100,500,80,500,250,100,850,500,100,500,100,50,500,100,100,50,10,200,200,500,40,500,100,500,100,500,100,200,60,500,100,200,120,100,100,100,150,500,100,500,100,500,100,50,800,100,250,100,100,500,10,50,800,500,100,500,240,500,50,50,100,500,70,80,100,50,350,100,100,500,10,50,40,500,100,500,300,100,300,400,300,200,200,300,500,500,100,500,90,500,20,50,55');

-- --------------------------------------------------------

--
-- Структура таблицы `w_jackpots`
--

CREATE TABLE `w_jackpots` (
  `id` int(1) NOT NULL,
  `date_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `balance` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `start_balance` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `pay_sum` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `percent` decimal(15,4) NOT NULL DEFAULT '0.0000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_jackpots`
--

INSERT INTO `w_jackpots` (`id`, `date_time`, `name`, `balance`, `start_balance`, `pay_sum`, `percent`) VALUES
(1, '2018-09-18 00:00:00', 'Jack Pot 1', '500000.00', '100000.00', '1000000.00', '0.10'),
(2, '2018-09-18 00:00:00', 'Jack Pot 2', '600000.00', '200000.00', '2000000.00', '0.10'),
(3, '2018-09-18 00:00:00', 'Jack Pot 3', '700000.00', '300000.00', '3000000.00', '0.10'),
(4, '2018-09-18 00:00:00', 'Jack Pot 4', '800000.00', '400000.00', '4000000.00', '0.10'),
(5, '2018-09-18 00:00:00', 'Jack Pot 5', '900000.00', '500000.00', '5000000.00', '0.10'),
(6, '2018-09-18 00:00:00', 'Jack Pot 6', '1000000.00', '600000.00', '6000000.00', '0.10'),
(7, '2018-09-18 00:00:00', 'Jack Pot 7', '2000000.00', '700000.00', '7000000.00', '0.10'),
(8, '2018-09-18 00:00:00', 'Jack Pot 8', '3000000.00', '800000.00', '8000000.00', '0.10'),
(9, '2018-09-18 00:00:00', 'Jack Pot 9', '4000000.00', '900000.00', '9000000.00', '0.10'),
(10, '2018-09-18 00:00:00', 'Jack Pot 10', '5000000.00', '1000000.00', '10000000.00', '0.10');

-- --------------------------------------------------------

--
-- Структура таблицы `w_jackpots_stat`
--

CREATE TABLE `w_jackpots_stat` (
  `id` int(55) NOT NULL,
  `user_id` int(55) NOT NULL,
  `system` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `jackpot_id` int(55) NOT NULL,
  `type` enum('add','out') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'add',
  `summ` int(55) NOT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_payments`
--

CREATE TABLE `w_payments` (
  `id` int(55) NOT NULL,
  `user_id` int(55) NOT NULL,
  `summ` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `status` int(2) NOT NULL DEFAULT '0',
  `system` varchar(255) NOT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_permissions`
--

CREATE TABLE `w_permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `model` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_permissions`
--

INSERT INTO `w_permissions` (`id`, `name`, `slug`, `description`, `model`, `created_at`, `updated_at`) VALUES
(1, 'Allow access to admin panel', 'access.admin.panel', NULL, NULL, '2018-09-04 13:18:31', '2018-09-04 13:18:31'),
(2, 'Manage Users', 'users.manage', NULL, NULL, '2018-09-04 13:21:55', '2018-09-04 13:21:55'),
(3, 'Manage Balance', 'users.balance.manage', NULL, NULL, '2018-09-04 13:22:19', '2018-09-04 13:22:19'),
(4, 'Delete User', 'users.delete', NULL, NULL, '2018-09-04 13:22:31', '2018-09-04 13:22:31'),
(5, 'View System Activity Log', 'users.activity', NULL, NULL, '2018-09-04 13:23:11', '2018-09-04 13:23:11'),
(6, 'Manage Roles', 'roles.manage', NULL, NULL, '2018-09-04 13:23:34', '2018-09-04 13:23:34'),
(7, 'Manage Permissions', 'permissions.manage', NULL, NULL, '2018-09-04 13:24:04', '2018-09-04 13:24:04'),
(8, 'Manage Games', 'games.manage', NULL, NULL, '2018-09-04 13:24:31', '2018-09-04 13:24:31'),
(9, 'Manage Categories', 'categories.manage', NULL, NULL, '2018-09-04 13:24:49', '2018-09-04 13:24:49'),
(10, 'Manage Jackpots', 'jackpots.manage', NULL, NULL, '2018-09-04 13:25:10', '2018-09-04 13:25:10'),
(11, 'Update General System Settings', 'settings.general', NULL, NULL, '2018-09-04 13:26:22', '2018-09-04 13:26:22'),
(12, 'Update Authentication Settings', 'settings.auth', NULL, NULL, '2018-09-04 13:26:43', '2018-09-04 13:26:43'),
(13, 'Update Notifications Settings', 'settings.notifications', NULL, NULL, '2018-09-04 13:27:05', '2018-09-04 13:27:05');

-- --------------------------------------------------------

--
-- Структура таблицы `w_permission_role`
--

CREATE TABLE `w_permission_role` (
  `id` int(10) UNSIGNED NOT NULL,
  `permission_id` int(10) UNSIGNED NOT NULL,
  `role_id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_permission_role`
--

INSERT INTO `w_permission_role` (`id`, `permission_id`, `role_id`, `created_at`, `updated_at`) VALUES
(1, 1, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(2, 2, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(3, 3, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(4, 4, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(5, 5, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(6, 6, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(7, 7, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(8, 8, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(9, 9, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(10, 10, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(11, 11, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(12, 12, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(13, 13, 5, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(14, 1, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(15, 2, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(16, 3, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(17, 4, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(18, 5, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(19, 8, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(20, 9, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(21, 10, 4, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(22, 1, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(23, 2, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(24, 4, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(25, 5, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(26, 8, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(27, 9, 3, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(28, 1, 2, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(29, 2, 2, '2018-09-04 07:53:42', '2018-09-04 07:53:42'),
(30, 3, 2, '2018-09-04 07:53:42', '2018-09-04 07:53:42');

-- --------------------------------------------------------

--
-- Структура таблицы `w_permission_user`
--

CREATE TABLE `w_permission_user` (
  `id` int(10) UNSIGNED NOT NULL,
  `permission_id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_points`
--

CREATE TABLE `w_points` (
  `id` int(55) NOT NULL,
  `rating` int(5) NOT NULL,
  `name` varchar(55) NOT NULL,
  `sum` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `bonus` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `img` varchar(255) NOT NULL,
  `pay` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `exchange` varchar(55) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_points`
--

INSERT INTO `w_points` (`id`, `rating`, `name`, `sum`, `bonus`, `img`, `pay`, `exchange`, `title`, `description`, `created_at`, `updated_at`) VALUES
(1, 1, 'Newbie', '0.00', '0.00', 'newbie.png', '1.00', '1|1', 'VIP level 1', 'Описание 1, Описание 1, Описание 1', '2018-10-26 10:44:54', '2018-10-28 15:13:58'),
(2, 2, 'Bronze', '2500.00', '100.00', 'bronze.png', '2.00', '1.2|1', 'VIP level 2', 'Описание 2, Описание 2, Описание 2', '2018-10-26 16:00:35', '2018-10-28 13:06:30'),
(3, 3, 'Silver', '7500.00', '200.00', 'silver.png', '3.00', '1.4|1', 'VIP level 3', 'Описание 3, Описание 3, Описание 3', '2018-10-26 16:02:18', '2018-10-26 16:02:18'),
(4, 4, 'Gold', '15000.00', '300.00', 'gold.png', '4.00', '1.6|1', 'VIP level 4', 'Описание 4, Описание 4, Описание 4', '2018-10-26 16:03:34', '2018-10-26 16:03:34'),
(5, 5, 'Platinum', '30000.00', '400.00', 'platinum.png', '5.00', '1.8|1', 'VIP level 5', 'Описание 5, Описание 5, Описание 5', '2018-10-26 16:04:51', '2018-10-26 16:04:51'),
(6, 6, 'Diamond', '100000.00', '500.00', 'diamond.png', '6.00', '2|1', 'VIP level 6', 'Описание 6, Описание 6, Описание 6', '2018-10-26 16:06:08', '2018-10-26 16:06:08');

-- --------------------------------------------------------

CREATE TABLE `w_return` (
  `id` int(55) NOT NULL,
  `min_pay` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `max_pay` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `percent` decimal(15,4) NOT NULL DEFAULT '0.0000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_return`
--

INSERT INTO `w_return` (`id`, `min_pay`, `max_pay`, `percent`) VALUES
(1, 0, '99', 1),
(2, 100, '499', 5),
(3, 500, '999', 10),
(4, 1000, '4999', 20),
(5, 5000, '9999', 30),
(6, 10000, '49999', 40),
(7, 50000, '1000000', 50);

-- --------------------------------------------------------

--
-- Структура таблицы `w_roles`
--

CREATE TABLE `w_roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `level` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_roles`
--

INSERT INTO `w_roles` (`id`, `name`, `slug`, `description`, `level`, `created_at`, `updated_at`) VALUES
(1, 'User', 'user', '', 1, '2018-09-04 08:53:38', '2018-09-04 09:37:47'),
(2, 'Cashier', 'cashier', '', 2, '2018-09-04 08:53:51', '2018-09-04 08:53:51'),
(3, 'Manager', 'manager', '', 3, '2018-09-04 08:54:08', '2018-09-04 08:54:08'),
(4, 'Dealer', 'dealer', '', 4, '2018-09-04 08:54:27', '2018-09-04 08:54:27'),
(5, 'Admin', 'admin', '', 5, '2018-09-04 08:54:40', '2018-09-04 08:54:40');

-- --------------------------------------------------------

--
-- Структура таблицы `w_role_user`
--

CREATE TABLE `w_role_user` (
  `id` int(10) UNSIGNED NOT NULL,
  `role_id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Дамп данных таблицы `w_role_user`
--

INSERT INTO `w_role_user` (`id`, `role_id`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 5, 1, '2018-09-04 14:54:34', '2018-09-04 14:54:34'),
(2, 4, 2, '2018-09-04 14:54:34', '2018-09-04 14:54:34'),
(3, 3, 3, '2018-09-04 14:54:34', '2018-09-04 14:54:34'),
(4, 2, 4, '2018-09-04 14:54:34', '2018-09-04 14:54:34'),
(5, 1, 5, '2018-09-04 14:54:34', '2018-09-04 14:54:34');

-- --------------------------------------------------------

--
-- Структура таблицы `w_sessions`
--

CREATE TABLE `w_sessions` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci,
  `payload` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_social_logins`
--

CREATE TABLE `w_social_logins` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `provider` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `avatar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_stat_game`
--

CREATE TABLE `w_stat_game` (
  `id` int(11) NOT NULL,
  `date_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_id` int(11) NOT NULL,
  `balance` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `bet` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `win` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `game` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_transactions`
--

CREATE TABLE `w_transactions` (
  `id` int(55) NOT NULL,
  `user_id` int(55) NOT NULL,
  `payeer_id` int(55) NOT NULL DEFAULT '0',
  `system` varchar(55) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `type` enum('add','out') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'add',
  `summ` int(55) NOT NULL,
  `status` int(2) NOT NULL DEFAULT '1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- Структура таблицы `w_user_activity`
--

CREATE TABLE `w_user_activity` (
  `id` int(10) UNSIGNED NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
  
--
-- Индексы таблицы `w_bonus_preset`
--
ALTER TABLE `w_bonus_preset`
  ADD PRIMARY KEY (`id`);
  
--
-- Индексы таблицы `w_bots_games`
--
ALTER TABLE `w_bots_games`
  ADD PRIMARY KEY (`id`);
  
--
-- Индексы таблицы `w_pages`
--
ALTER TABLE `w_pages`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_categories`
--
ALTER TABLE `w_categories`
  ADD UNIQUE KEY `id` (`id`);
  
-- Индексы таблицы `w_game_categories`
--
ALTER TABLE `w_game_categories`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_cointpayment_log_trxes`
--
ALTER TABLE `w_cointpayment_log_trxes`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_countries`
--
ALTER TABLE `w_countries`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_gamereel`
--
ALTER TABLE `w_gamereel`
  ADD UNIQUE KEY `id` (`id`);

--
-- Индексы таблицы `w_games`
--
ALTER TABLE `w_games`
  ADD UNIQUE KEY `id` (`id`),
  ADD UNIQUE KEY `name` (`name`);

--
-- Индексы таблицы `w_game_log`
--
ALTER TABLE `w_game_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`) USING BTREE;

--
-- Индексы таблицы `w_game_win`
--
ALTER TABLE `w_game_win`
  ADD UNIQUE KEY `id` (`id`);

--
-- Индексы таблицы `w_jackpots`
--
ALTER TABLE `w_jackpots`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_jackpots_stat`
--
ALTER TABLE `w_jackpots_stat`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_payments`
--
ALTER TABLE `w_payments`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_permissions`
--
ALTER TABLE `w_permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_slug_unique` (`slug`);

--
-- Индексы таблицы `w_permission_role`
--
ALTER TABLE `w_permission_role`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permission_role_permission_id_index` (`permission_id`),
  ADD KEY `permission_role_role_id_index` (`role_id`);

--
-- Индексы таблицы `w_permission_user`
--
ALTER TABLE `w_permission_user`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permission_user_permission_id_index` (`permission_id`),
  ADD KEY `permission_user_user_id_index` (`user_id`);
  
--
-- Индексы таблицы `w_points`
--
ALTER TABLE `w_points`
  ADD PRIMARY KEY (`id`);
  
--
-- Индексы таблицы `w_return`
--
ALTER TABLE `w_return`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_roles`
--
ALTER TABLE `w_roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_slug_unique` (`slug`);

--
-- Индексы таблицы `w_role_user`
--
ALTER TABLE `w_role_user`
  ADD PRIMARY KEY (`id`),
  ADD KEY `role_user_role_id_index` (`role_id`),
  ADD KEY `role_user_user_id_index` (`user_id`);

--
-- Индексы таблицы `w_sessions`
--
ALTER TABLE `w_sessions`
  ADD UNIQUE KEY `sessions_id_unique` (`id`);

--
-- Индексы таблицы `w_social_logins`
--
ALTER TABLE `w_social_logins`
  ADD PRIMARY KEY (`id`),
  ADD KEY `social_logins_user_id_foreign` (`user_id`);

--
-- Индексы таблицы `w_stat_game`
--
ALTER TABLE `w_stat_game`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`) USING BTREE,
  ADD KEY `game_id` (`game`) USING BTREE,
  ADD KEY `date_time` (`date_time`) USING BTREE;

--
-- Индексы таблицы `w_transactions`
--
ALTER TABLE `w_transactions`
  ADD PRIMARY KEY (`id`);

--
-- Индексы таблицы `w_user_activity`
--
ALTER TABLE `w_user_activity`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_activity_user_id_foreign` (`user_id`);

--
-- AUTO_INCREMENT для сохранённых таблиц
--

--
-- AUTO_INCREMENT для таблицы `w_bonus_preset`
--
ALTER TABLE `w_bonus_preset`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_bots_games`
--
ALTER TABLE `w_bots_games`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_categories`
--
ALTER TABLE `w_categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_pages`
--  
ALTER TABLE `w_pages`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;
  
--
-- AUTO_INCREMENT для таблицы `w_game_categories`
--
ALTER TABLE `w_game_categories`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_cointpayment_log_trxes`
--
ALTER TABLE `w_cointpayment_log_trxes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_countries`
--
ALTER TABLE `w_countries`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_game_log`
--
ALTER TABLE `w_game_log`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_jackpots`
--
ALTER TABLE `w_jackpots`
  MODIFY `id` int(1) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_jackpots_stat`
--
ALTER TABLE `w_jackpots_stat`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_payments`
--
ALTER TABLE `w_payments`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_permissions`
--
ALTER TABLE `w_permissions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_permission_role`
--
ALTER TABLE `w_permission_role`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_permission_user`
--
ALTER TABLE `w_permission_user`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  
--
-- AUTO_INCREMENT для таблицы `w_permission_user`
--
ALTER TABLE `w_permission_user`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_roles`
--
ALTER TABLE `w_roles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_role_user`
--
ALTER TABLE `w_role_user`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_social_logins`
--
ALTER TABLE `w_social_logins`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_stat_game`
--
ALTER TABLE `w_stat_game`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_transactions`
--
ALTER TABLE `w_transactions`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;
  
--
-- AUTO_INCREMENT для таблицы `w_return`
--
ALTER TABLE `w_return`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;
  
--
-- AUTO_INCREMENT для таблицы `w_points`
--
ALTER TABLE `w_points`
  MODIFY `id` int(55) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `w_user_activity`
--
ALTER TABLE `w_user_activity`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Ограничения внешнего ключа таблицы `w_permission_role`
--
ALTER TABLE `w_permission_role`
  ADD CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `w_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `w_roles` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `w_permission_user`
--
ALTER TABLE `w_permission_user`
  ADD CONSTRAINT `permission_user_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `w_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `permission_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `w_users` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `w_role_user`
--
ALTER TABLE `w_role_user`
  ADD CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `w_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `w_users` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `w_social_logins`
--
ALTER TABLE `w_social_logins`
  ADD CONSTRAINT `social_logins_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `w_users` (`id`) ON DELETE CASCADE;

--
-- Ограничения внешнего ключа таблицы `w_user_activity`
--
ALTER TABLE `w_user_activity`
  ADD CONSTRAINT `user_activity_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `w_users` (`id`) ON DELETE CASCADE;
COMMIT;

