{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Το πρόβλημα της μέγιστης υποακολουθίας" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Τελευταία ενημέρωση: 2/10/2024" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "def brute_force(a_list):\n", " \"\"\"\n", " Find max subarray from a_list using brute force.\n", " \"\"\"\n", "\n", " # initialize returns\n", " max_sum, start, end = a_list[0], 0, 0\n", "\n", " # brute force\n", " for i in range(len(a_list)):\n", " for j in range(i, len(a_list)):\n", " total = 0\n", " for x in range(i, j + 1):\n", " total += a_list[x]\n", " # replace start and end positions if a larger sum is found\n", " if max_sum < total:\n", " max_sum, start, end = total, i, j\n", "\n", " return max_sum, start, end" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "max_sum=3623, start=389, end=718\n", "max_sum=1826, start=707, end=987\n", "max_sum=1084, start=118, end=280\n", "max_sum=1905, start=718, end=994\n", "max_sum=1996, start=63, end=305\n", "max_sum=2379, start=321, end=891\n", "max_sum=3150, start=22, end=806\n", "max_sum=2932, start=415, end=960\n", "5.23 s ± 65.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n" ] } ], "source": [ "%%timeit\n", "import random\n", "\n", "a_list = [random.randint(-100, 100) for _ in range(1000)]\n", "max_sum, start, end = brute_force(a_list)\n", "print(f\"{max_sum=}, {start=}, {end=}\")" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "def prefix_sums(a_list):\n", " \"\"\"\n", " Find max subarray from a_list using prefix sums.\n", " \"\"\"\n", " # initialize returns\n", " max_sum, start, end = a_list[0], 0, 0\n", "\n", " # prefix table generation\n", " prefix_table = list()\n", " for index, num in enumerate(a_list):\n", " prefix_table.append(num if index == 0 else num + prefix_table[index - 1])\n", "\n", " # use prefix table\n", " for i in range(len(a_list)):\n", " for j in range(i, len(a_list)):\n", " total = prefix_table[j] if i == 0 else prefix_table[j] - prefix_table[i - 1]\n", " # replace starting and ending positions if a larger sum is found\n", " if max_sum < total:\n", " max_sum, start, end = total, i, j\n", "\n", " return max_sum, start, end" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "max_sum=3446, start=415, end=964\n", "max_sum=2905, start=673, end=943\n", "max_sum=3566, start=119, end=568\n", "max_sum=1206, start=252, end=412\n", "max_sum=2941, start=23, end=414\n", "max_sum=1544, start=282, end=445\n", "max_sum=2676, start=4, end=501\n", "max_sum=2936, start=76, end=640\n", "max_sum=1973, start=91, end=522\n", "max_sum=3105, start=37, end=522\n", "max_sum=2506, start=283, end=762\n", "max_sum=3677, start=10, end=964\n", "max_sum=2374, start=573, end=994\n", "max_sum=5604, start=41, end=948\n", "max_sum=2250, start=561, end=998\n", "max_sum=3347, start=166, end=963\n", "max_sum=1944, start=35, end=422\n", "max_sum=3762, start=12, end=589\n", "max_sum=3074, start=36, end=645\n", "max_sum=2048, start=41, end=617\n", "max_sum=3202, start=79, end=949\n", "max_sum=1149, start=26, end=77\n", "max_sum=2207, start=278, end=438\n", "max_sum=1587, start=741, end=969\n", "max_sum=3600, start=112, end=626\n", "max_sum=1752, start=318, end=988\n", "max_sum=1772, start=721, end=907\n", "max_sum=1995, start=272, end=554\n", "max_sum=1597, start=735, end=978\n", "max_sum=1809, start=28, end=223\n", "max_sum=3462, start=6, end=999\n", "max_sum=1958, start=81, end=347\n", "max_sum=4071, start=36, end=865\n", "max_sum=2720, start=153, end=469\n", "max_sum=1099, start=396, end=647\n", "max_sum=1832, start=183, end=318\n", "max_sum=2810, start=207, end=821\n", "max_sum=948, start=846, end=999\n", "max_sum=3954, start=30, end=987\n", "max_sum=1834, start=52, end=311\n", "max_sum=2677, start=236, end=966\n", "max_sum=5766, start=5, end=955\n", "max_sum=1852, start=245, end=376\n", "max_sum=4198, start=632, end=981\n", "max_sum=2057, start=572, end=826\n", "max_sum=2188, start=600, end=925\n", "max_sum=1789, start=255, end=831\n", "max_sum=1117, start=25, end=129\n", "max_sum=4007, start=322, end=635\n", "max_sum=1664, start=787, end=974\n", "max_sum=3202, start=179, end=944\n", "max_sum=1466, start=16, end=497\n", "max_sum=1373, start=437, end=856\n", "max_sum=2815, start=25, end=551\n", "max_sum=1848, start=3, end=263\n", "max_sum=1054, start=377, end=525\n", "max_sum=2036, start=301, end=510\n", "max_sum=2670, start=40, end=221\n", "max_sum=1359, start=562, end=797\n", "max_sum=1459, start=447, end=554\n", "max_sum=2516, start=400, end=572\n", "max_sum=1752, start=267, end=718\n", "max_sum=4160, start=43, end=707\n", "max_sum=561, start=415, end=495\n", "max_sum=2009, start=87, end=526\n", "max_sum=3805, start=141, end=978\n", "max_sum=3057, start=182, end=990\n", "max_sum=2348, start=22, end=225\n", "max_sum=3746, start=317, end=999\n", "max_sum=1514, start=24, end=187\n", "max_sum=2120, start=67, end=402\n", "max_sum=2784, start=87, end=653\n", "max_sum=2766, start=638, end=953\n", "max_sum=1781, start=314, end=983\n", "max_sum=3129, start=101, end=676\n", "max_sum=3045, start=1, end=539\n", "max_sum=1612, start=679, end=878\n", "max_sum=1970, start=493, end=628\n", "max_sum=1206, start=93, end=230\n", "max_sum=967, start=850, end=973\n", "max_sum=3217, start=86, end=605\n", "34.3 ms ± 236 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n" ] } ], "source": [ "%%timeit\n", "import random\n", "\n", "a_list = [random.randint(-100, 100) for _ in range(1000)]\n", "max_sum, start, end = prefix_sums(a_list)\n", "print(f\"{max_sum=}, {start=}, {end=}\")" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "def kadane(a_list):\n", " \"\"\"\n", " Find max subarray from a_list using kadane's algorithm (max suffix sums).\n", " \"\"\"\n", " # initialize returns\n", " max_sum, start, end = a_list[0], 0, 0\n", "\n", " # generate kadane table\n", " kadane_table = list()\n", " for index, num in enumerate(a_list):\n", " total = num if index == 0 else num + kadane_table[index - 1]\n", " kadane_table.append(0 if total < 0 else total)\n", "\n", " # find max and ending position\n", " for index, total in enumerate(kadane_table):\n", " if max_sum < total:\n", " max_sum, end = total, index\n", "\n", " # find starting position\n", " for i in range(end, 0, -1):\n", " if kadane_table[i] == 0:\n", " start = i + 1\n", " break\n", "\n", " return max_sum, start, end\n" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "max_sum=2076, start=429, end=790\n", "max_sum=978, start=380, end=430\n", "max_sum=1464, start=69, end=214\n", "max_sum=1738, start=0, end=209\n", "max_sum=2002, start=115, end=575\n", "max_sum=2208, start=569, end=977\n", "max_sum=2925, start=9, end=841\n", "max_sum=1884, start=548, end=963\n", "max_sum=2129, start=406, end=998\n", "max_sum=1210, start=577, end=691\n", "max_sum=1989, start=6, end=942\n", "max_sum=1048, start=2, end=123\n", "max_sum=1842, start=760, end=938\n", "max_sum=1759, start=690, end=804\n", "max_sum=1924, start=642, end=873\n", "max_sum=2773, start=347, end=767\n", "max_sum=3059, start=27, end=949\n", "max_sum=1119, start=672, end=755\n", "max_sum=2586, start=314, end=994\n", "max_sum=2701, start=307, end=998\n", "max_sum=1741, start=677, end=990\n", "max_sum=2605, start=146, end=792\n", "max_sum=1061, start=748, end=792\n", "max_sum=1559, start=462, end=775\n", "max_sum=2797, start=147, end=999\n", "max_sum=2737, start=190, end=915\n", "max_sum=2156, start=529, end=951\n", "max_sum=3621, start=250, end=999\n", "max_sum=3132, start=2, end=668\n", "max_sum=2498, start=352, end=593\n", "max_sum=1864, start=40, end=574\n", "max_sum=1193, start=744, end=997\n", "max_sum=2837, start=6, end=960\n", "max_sum=2066, start=175, end=975\n", "max_sum=1953, start=348, end=521\n", "max_sum=1682, start=0, end=249\n", "max_sum=1674, start=109, end=300\n", "max_sum=3701, start=89, end=987\n", "max_sum=1516, start=663, end=847\n", "max_sum=1316, start=684, end=894\n", "max_sum=2312, start=78, end=970\n", "max_sum=4363, start=390, end=999\n", "max_sum=2682, start=494, end=925\n", "max_sum=1788, start=125, end=337\n", "max_sum=772, start=755, end=878\n", "max_sum=1646, start=307, end=413\n", "max_sum=2977, start=334, end=828\n", "max_sum=1751, start=732, end=896\n", "max_sum=3309, start=126, end=869\n", "max_sum=1635, start=682, end=975\n", "max_sum=1240, start=277, end=428\n", "max_sum=1450, start=38, end=521\n", "max_sum=885, start=32, end=143\n", "max_sum=3517, start=409, end=891\n", "max_sum=1593, start=785, end=999\n", "max_sum=3510, start=203, end=956\n", "max_sum=1081, start=295, end=382\n", "max_sum=2577, start=178, end=503\n", "max_sum=3493, start=113, end=368\n", "max_sum=2692, start=632, end=975\n", "max_sum=1505, start=629, end=919\n", "max_sum=1351, start=303, end=510\n", "max_sum=1746, start=17, end=156\n", "max_sum=1832, start=748, end=931\n", "max_sum=2485, start=418, end=999\n", "max_sum=1649, start=626, end=930\n", "max_sum=2044, start=243, end=452\n", "max_sum=1591, start=817, end=999\n", "max_sum=2353, start=9, end=799\n", "max_sum=3170, start=84, end=968\n", "max_sum=2779, start=73, end=738\n", "max_sum=5266, start=198, end=956\n", "max_sum=2507, start=455, end=756\n", "max_sum=2408, start=86, end=509\n", "max_sum=984, start=462, end=627\n", "max_sum=2162, start=373, end=884\n", "max_sum=5022, start=108, end=986\n", "max_sum=3282, start=125, end=995\n", "max_sum=1915, start=160, end=417\n", "max_sum=4620, start=184, end=913\n", "max_sum=1058, start=437, end=492\n", "max_sum=3253, start=402, end=995\n", "max_sum=2998, start=112, end=979\n", "max_sum=2106, start=11, end=650\n", "max_sum=1578, start=436, end=592\n", "max_sum=2235, start=416, end=954\n", "max_sum=2321, start=192, end=562\n", "max_sum=2545, start=697, end=994\n", "max_sum=1898, start=4, end=336\n", "max_sum=3417, start=10, end=793\n", "max_sum=2860, start=422, end=843\n", "max_sum=1689, start=442, end=833\n", "max_sum=1155, start=563, end=712\n", "max_sum=2554, start=12, end=327\n", "max_sum=3795, start=480, end=802\n", "max_sum=2319, start=728, end=993\n", "max_sum=2724, start=347, end=919\n", "max_sum=2107, start=777, end=984\n", "max_sum=1442, start=792, end=984\n", "max_sum=1684, start=0, end=160\n", "max_sum=2689, start=43, end=998\n", "max_sum=1439, start=31, end=211\n", "max_sum=3445, start=132, end=990\n", "max_sum=2162, start=284, end=840\n", "max_sum=1273, start=96, end=292\n", "max_sum=4872, start=90, end=968\n", "max_sum=2685, start=485, end=813\n", "max_sum=3622, start=27, end=627\n", "max_sum=1498, start=936, end=997\n", "max_sum=3223, start=461, end=820\n", "max_sum=3654, start=139, end=940\n", "max_sum=3492, start=203, end=795\n", "max_sum=2013, start=439, end=963\n", "max_sum=1421, start=464, end=576\n", "max_sum=1323, start=351, end=414\n", "max_sum=3335, start=770, end=983\n", "max_sum=2295, start=0, end=708\n", "max_sum=3483, start=37, end=983\n", "max_sum=1946, start=526, end=742\n", "max_sum=2011, start=15, end=426\n", "max_sum=1935, start=238, end=483\n", "max_sum=2120, start=0, end=907\n", "max_sum=1758, start=514, end=925\n", "max_sum=1322, start=681, end=826\n", "max_sum=1228, start=776, end=926\n", "max_sum=1484, start=745, end=869\n", "max_sum=2361, start=61, end=869\n", "max_sum=2958, start=110, end=854\n", "max_sum=2536, start=8, end=566\n", "max_sum=2129, start=151, end=999\n", "max_sum=1433, start=162, end=317\n", "max_sum=5526, start=74, end=964\n", "max_sum=1208, start=269, end=398\n", "max_sum=2157, start=11, end=324\n", "max_sum=3094, start=72, end=705\n", "max_sum=3057, start=10, end=999\n", "max_sum=2016, start=512, end=799\n", "max_sum=2609, start=478, end=784\n", "max_sum=2003, start=334, end=685\n", "max_sum=2330, start=770, end=984\n", "max_sum=1960, start=553, end=804\n", "max_sum=1966, start=302, end=704\n", "max_sum=1590, start=153, end=384\n", "max_sum=2084, start=567, end=935\n", "max_sum=1199, start=644, end=802\n", "max_sum=2381, start=256, end=501\n", "max_sum=3020, start=53, end=836\n", "max_sum=2689, start=164, end=677\n", "max_sum=5646, start=47, end=842\n", "max_sum=2571, start=360, end=913\n", "max_sum=808, start=799, end=856\n", "max_sum=2473, start=237, end=949\n", "max_sum=2000, start=121, end=400\n", "max_sum=4150, start=296, end=961\n", "max_sum=986, start=0, end=80\n", "max_sum=3104, start=647, end=923\n", "max_sum=2239, start=348, end=989\n", "max_sum=1105, start=419, end=504\n", "max_sum=5420, start=0, end=982\n", "max_sum=1396, start=537, end=706\n", "max_sum=2650, start=324, end=843\n", "max_sum=3212, start=258, end=514\n", "max_sum=3219, start=77, end=902\n", "max_sum=2531, start=20, end=467\n", "max_sum=2355, start=182, end=484\n", "max_sum=1819, start=14, end=150\n", "max_sum=1027, start=563, end=663\n", "max_sum=1614, start=702, end=961\n", "max_sum=3881, start=26, end=738\n", "max_sum=2134, start=542, end=998\n", "max_sum=1143, start=779, end=964\n", "max_sum=3431, start=73, end=999\n", "max_sum=4364, start=618, end=996\n", "max_sum=3059, start=74, end=997\n", "max_sum=2499, start=323, end=956\n", "max_sum=2919, start=90, end=984\n", "max_sum=1987, start=2, end=308\n", "max_sum=2784, start=383, end=855\n", "max_sum=3259, start=91, end=636\n", "max_sum=1274, start=697, end=785\n", "max_sum=4134, start=87, end=699\n", "max_sum=1290, start=160, end=391\n", "max_sum=3412, start=29, end=682\n", "max_sum=2161, start=456, end=864\n", "max_sum=2192, start=450, end=909\n", "max_sum=3224, start=216, end=929\n", "max_sum=1198, start=250, end=444\n", "max_sum=1494, start=0, end=133\n", "max_sum=2614, start=20, end=886\n", "max_sum=2708, start=13, end=393\n", "max_sum=2195, start=440, end=839\n", "max_sum=791, start=355, end=394\n", "max_sum=3184, start=133, end=996\n", "max_sum=1498, start=288, end=450\n", "max_sum=2610, start=581, end=987\n", "max_sum=2891, start=135, end=769\n", "max_sum=2143, start=151, end=972\n", "max_sum=1614, start=508, end=650\n", "max_sum=3078, start=88, end=952\n", "max_sum=1612, start=14, end=959\n", "max_sum=1750, start=736, end=949\n", "max_sum=1973, start=366, end=712\n", "max_sum=1454, start=456, end=786\n", "max_sum=2710, start=3, end=941\n", "max_sum=1920, start=126, end=997\n", "max_sum=1911, start=409, end=673\n", "max_sum=1692, start=625, end=840\n", "max_sum=3289, start=151, end=623\n", "max_sum=5510, start=0, end=946\n", "max_sum=2078, start=510, end=679\n", "max_sum=2053, start=12, end=268\n", "max_sum=1137, start=615, end=787\n", "max_sum=2984, start=0, end=727\n", "max_sum=1174, start=121, end=216\n", "max_sum=1620, start=738, end=931\n", "max_sum=2332, start=303, end=641\n", "max_sum=2209, start=192, end=746\n", "max_sum=1583, start=740, end=826\n", "max_sum=1608, start=532, end=746\n", "max_sum=3311, start=2, end=963\n", "max_sum=2127, start=259, end=456\n", "max_sum=1061, start=202, end=280\n", "max_sum=1191, start=0, end=62\n", "max_sum=1882, start=134, end=479\n", "max_sum=797, start=171, end=310\n", "max_sum=3212, start=497, end=991\n", "max_sum=1747, start=675, end=954\n", "max_sum=5385, start=24, end=913\n", "max_sum=3787, start=15, end=848\n", "max_sum=2641, start=528, end=854\n", "max_sum=2727, start=426, end=952\n", "max_sum=1346, start=79, end=233\n", "max_sum=2290, start=269, end=620\n", "max_sum=5367, start=371, end=975\n", "max_sum=2629, start=189, end=463\n", "max_sum=1675, start=423, end=685\n", "max_sum=1795, start=221, end=382\n", "max_sum=1818, start=288, end=684\n", "max_sum=1407, start=55, end=444\n", "max_sum=1661, start=202, end=423\n", "max_sum=1828, start=258, end=517\n", "max_sum=1657, start=806, end=988\n", "max_sum=1874, start=409, end=882\n", "max_sum=2677, start=253, end=997\n", "max_sum=2644, start=196, end=752\n", "max_sum=2516, start=3, end=234\n", "max_sum=2588, start=6, end=914\n", "max_sum=1404, start=627, end=821\n", "max_sum=2155, start=571, end=921\n", "max_sum=2153, start=695, end=998\n", "max_sum=1310, start=469, end=678\n", "max_sum=2171, start=344, end=826\n", "max_sum=3062, start=6, end=734\n", "max_sum=2328, start=85, end=618\n", "max_sum=3050, start=133, end=612\n", "max_sum=2739, start=34, end=756\n", "max_sum=1262, start=213, end=404\n", "max_sum=3176, start=528, end=998\n", "max_sum=1685, start=186, end=366\n", "max_sum=2144, start=82, end=472\n", "max_sum=775, start=602, end=724\n", "max_sum=2281, start=60, end=474\n", "max_sum=2966, start=59, end=981\n", "max_sum=1337, start=98, end=292\n", "max_sum=3352, start=496, end=844\n", "max_sum=2452, start=373, end=993\n", "max_sum=1497, start=476, end=997\n", "max_sum=1426, start=0, end=508\n", "max_sum=1383, start=40, end=317\n", "max_sum=1961, start=3, end=229\n", "max_sum=1407, start=20, end=224\n", "max_sum=2796, start=380, end=980\n", "max_sum=1429, start=846, end=996\n", "max_sum=1897, start=782, end=992\n", "max_sum=2749, start=472, end=981\n", "max_sum=708, start=266, end=367\n", "max_sum=1462, start=153, end=301\n", "max_sum=2916, start=363, end=864\n", "max_sum=2240, start=221, end=639\n", "max_sum=2051, start=120, end=863\n", "max_sum=2569, start=167, end=337\n", "max_sum=1782, start=123, end=908\n", "max_sum=2541, start=276, end=649\n", "max_sum=2874, start=289, end=993\n", "max_sum=1825, start=715, end=862\n", "max_sum=2604, start=518, end=877\n", "max_sum=2222, start=810, end=994\n", "max_sum=2186, start=22, end=708\n", "max_sum=945, start=855, end=944\n", "max_sum=1848, start=800, end=957\n", "max_sum=2238, start=574, end=870\n", "max_sum=4504, start=19, end=996\n", "max_sum=2046, start=702, end=900\n", "max_sum=1201, start=551, end=622\n", "max_sum=2868, start=46, end=687\n", "max_sum=1964, start=475, end=812\n", "max_sum=1251, start=705, end=865\n", "max_sum=3499, start=196, end=937\n", "max_sum=3402, start=160, end=519\n", "max_sum=1567, start=76, end=261\n", "max_sum=4749, start=82, end=995\n", "max_sum=3489, start=107, end=820\n", "max_sum=1707, start=850, end=987\n", "max_sum=2183, start=174, end=409\n", "max_sum=2049, start=247, end=480\n", "max_sum=2463, start=516, end=769\n", "max_sum=1674, start=401, end=763\n", "max_sum=3040, start=0, end=945\n", "max_sum=1768, start=331, end=998\n", "max_sum=2769, start=154, end=798\n", "max_sum=1480, start=501, end=999\n", "max_sum=3351, start=106, end=541\n", "max_sum=4205, start=18, end=260\n", "max_sum=1329, start=203, end=322\n", "max_sum=2800, start=476, end=875\n", "max_sum=1258, start=501, end=663\n", "max_sum=4362, start=84, end=998\n", "max_sum=1911, start=139, end=291\n", "max_sum=1803, start=589, end=911\n", "max_sum=2899, start=182, end=385\n", "max_sum=3494, start=44, end=630\n", "max_sum=2231, start=581, end=845\n", "max_sum=942, start=383, end=570\n", "max_sum=1798, start=0, end=132\n", "max_sum=2162, start=222, end=578\n", "max_sum=2066, start=357, end=581\n", "max_sum=1920, start=789, end=980\n", "max_sum=2285, start=4, end=787\n", "max_sum=1947, start=239, end=704\n", "max_sum=1074, start=514, end=754\n", "max_sum=2036, start=454, end=863\n", "max_sum=2308, start=81, end=889\n", "max_sum=2467, start=12, end=438\n", "max_sum=2160, start=5, end=657\n", "max_sum=1306, start=531, end=988\n", "max_sum=1148, start=431, end=806\n", "max_sum=1096, start=269, end=377\n", "max_sum=1651, start=348, end=612\n", "max_sum=5206, start=10, end=988\n", "max_sum=1151, start=77, end=218\n", "max_sum=1702, start=2, end=314\n", "max_sum=1490, start=457, end=617\n", "max_sum=1990, start=111, end=476\n", "max_sum=2421, start=269, end=649\n", "max_sum=1659, start=4, end=289\n", "max_sum=1849, start=802, end=953\n", "max_sum=2434, start=0, end=905\n", "max_sum=2757, start=618, end=854\n", "max_sum=1391, start=785, end=915\n", "max_sum=1976, start=365, end=712\n", "max_sum=3410, start=352, end=788\n", "max_sum=2633, start=563, end=951\n", "max_sum=2141, start=0, end=226\n", "max_sum=2812, start=182, end=499\n", "max_sum=3012, start=142, end=987\n", "max_sum=2231, start=215, end=945\n", "max_sum=2178, start=16, end=245\n", "max_sum=1254, start=277, end=574\n", "max_sum=1408, start=449, end=804\n", "max_sum=3655, start=131, end=893\n", "max_sum=956, start=33, end=91\n", "max_sum=1821, start=77, end=378\n", "max_sum=1482, start=530, end=725\n", "max_sum=3712, start=75, end=792\n", "max_sum=1427, start=184, end=483\n", "max_sum=1533, start=488, end=776\n", "max_sum=3427, start=365, end=953\n", "max_sum=1806, start=318, end=459\n", "max_sum=1721, start=194, end=539\n", "max_sum=2613, start=63, end=252\n", "max_sum=1618, start=59, end=717\n", "max_sum=2616, start=398, end=995\n", "max_sum=2300, start=279, end=636\n", "max_sum=2518, start=132, end=405\n", "max_sum=2584, start=324, end=693\n", "max_sum=2045, start=149, end=290\n", "max_sum=1987, start=708, end=991\n", "max_sum=2579, start=251, end=796\n", "max_sum=2398, start=22, end=607\n", "max_sum=1316, start=737, end=896\n", "max_sum=2546, start=83, end=301\n", "max_sum=2454, start=0, end=552\n", "max_sum=1159, start=219, end=327\n", "max_sum=2262, start=507, end=618\n", "max_sum=3772, start=320, end=787\n", "max_sum=1765, start=0, end=999\n", "max_sum=1789, start=487, end=711\n", "max_sum=2245, start=179, end=629\n", "max_sum=1989, start=466, end=644\n", "max_sum=1543, start=433, end=554\n", "max_sum=3903, start=0, end=629\n", "max_sum=1160, start=661, end=759\n", "max_sum=1752, start=406, end=813\n", "max_sum=2317, start=33, end=453\n", "max_sum=3447, start=146, end=853\n", "max_sum=1586, start=0, end=233\n", "max_sum=939, start=816, end=857\n", "max_sum=4396, start=25, end=661\n", "max_sum=2571, start=287, end=600\n", "max_sum=1640, start=542, end=960\n", "max_sum=1418, start=472, end=833\n", "max_sum=1712, start=3, end=437\n", "max_sum=2381, start=528, end=996\n", "max_sum=1829, start=12, end=537\n", "max_sum=4376, start=74, end=976\n", "max_sum=2061, start=61, end=161\n", "max_sum=1929, start=759, end=917\n", "max_sum=2001, start=231, end=431\n", "max_sum=3759, start=109, end=802\n", "max_sum=1889, start=107, end=306\n", "max_sum=3195, start=0, end=787\n", "max_sum=779, start=726, end=757\n", "max_sum=3431, start=331, end=999\n", "max_sum=1538, start=225, end=779\n", "max_sum=2703, start=56, end=992\n", "max_sum=1330, start=884, end=940\n", "max_sum=1563, start=561, end=989\n", "max_sum=1071, start=635, end=758\n", "max_sum=931, start=660, end=739\n", "max_sum=1612, start=323, end=768\n", "max_sum=1280, start=690, end=961\n", "max_sum=1033, start=323, end=380\n", "max_sum=1282, start=368, end=891\n", "max_sum=2779, start=291, end=980\n", "max_sum=2896, start=156, end=668\n", "max_sum=2273, start=120, end=518\n", "max_sum=1290, start=302, end=457\n", "max_sum=1614, start=105, end=460\n", "max_sum=2317, start=124, end=907\n", "max_sum=2368, start=99, end=481\n", "max_sum=2886, start=383, end=695\n", "max_sum=1765, start=44, end=703\n", "max_sum=1867, start=280, end=404\n", "max_sum=844, start=923, end=956\n", "max_sum=2798, start=254, end=888\n", "max_sum=1879, start=5, end=129\n", "max_sum=1152, start=69, end=712\n", "max_sum=2688, start=4, end=665\n", "max_sum=1198, start=611, end=691\n", "max_sum=2489, start=394, end=783\n", "max_sum=1537, start=456, end=960\n", "max_sum=5164, start=15, end=897\n", "max_sum=5742, start=13, end=913\n", "max_sum=1806, start=663, end=828\n", "max_sum=2118, start=19, end=985\n", "max_sum=2671, start=512, end=956\n", "max_sum=1879, start=45, end=835\n", "max_sum=2116, start=32, end=470\n", "max_sum=1993, start=226, end=657\n", "max_sum=2461, start=142, end=459\n", "max_sum=2074, start=138, end=276\n", "max_sum=2426, start=73, end=944\n", "max_sum=1860, start=114, end=258\n", "max_sum=2510, start=10, end=542\n", "max_sum=3235, start=373, end=999\n", "max_sum=1438, start=630, end=988\n", "max_sum=3667, start=101, end=847\n", "max_sum=4035, start=13, end=915\n", "max_sum=2174, start=365, end=635\n", "max_sum=1456, start=210, end=357\n", "max_sum=2005, start=499, end=998\n", "max_sum=1034, start=889, end=907\n", "max_sum=4430, start=0, end=502\n", "max_sum=2380, start=517, end=867\n", "max_sum=1820, start=114, end=489\n", "max_sum=3082, start=379, end=685\n", "max_sum=1988, start=698, end=783\n", "max_sum=1503, start=307, end=514\n", "max_sum=1852, start=39, end=479\n", "max_sum=1594, start=850, end=943\n", "max_sum=2582, start=542, end=984\n", "max_sum=2303, start=141, end=424\n", "max_sum=1272, start=491, end=756\n", "max_sum=2371, start=136, end=323\n", "max_sum=2223, start=28, end=536\n", "max_sum=1981, start=732, end=888\n", "max_sum=2874, start=239, end=856\n", "max_sum=2982, start=80, end=883\n", "max_sum=2929, start=348, end=827\n", "max_sum=1154, start=454, end=698\n", "max_sum=2090, start=236, end=744\n", "max_sum=1091, start=46, end=142\n", "max_sum=1689, start=498, end=682\n", "max_sum=2186, start=17, end=774\n", "max_sum=1736, start=8, end=999\n", "max_sum=1965, start=509, end=956\n", "max_sum=1339, start=648, end=930\n", "max_sum=1036, start=127, end=195\n", "max_sum=3433, start=140, end=624\n", "max_sum=2290, start=100, end=958\n", "max_sum=1944, start=4, end=158\n", "max_sum=3956, start=273, end=995\n", "max_sum=1923, start=45, end=960\n", "max_sum=1922, start=29, end=518\n", "max_sum=2784, start=35, end=556\n", "max_sum=1122, start=541, end=605\n", "max_sum=3192, start=161, end=995\n", "max_sum=1834, start=728, end=896\n", "max_sum=2370, start=638, end=991\n", "max_sum=1382, start=785, end=958\n", "max_sum=2025, start=266, end=841\n", "max_sum=1609, start=53, end=684\n", "max_sum=1062, start=579, end=656\n", "max_sum=2320, start=291, end=801\n", "max_sum=2981, start=106, end=601\n", "max_sum=1477, start=241, end=658\n", "max_sum=2151, start=234, end=579\n", "max_sum=1361, start=33, end=233\n", "max_sum=1402, start=374, end=480\n", "max_sum=3249, start=330, end=945\n", "max_sum=2035, start=248, end=956\n", "max_sum=3816, start=106, end=869\n", "max_sum=2302, start=35, end=929\n", "max_sum=1870, start=277, end=585\n", "max_sum=3926, start=7, end=486\n", "max_sum=2483, start=688, end=833\n", "max_sum=2385, start=682, end=988\n", "max_sum=1359, start=344, end=427\n", "max_sum=4645, start=69, end=471\n", "max_sum=2123, start=33, end=988\n", "max_sum=3704, start=165, end=991\n", "max_sum=2880, start=127, end=872\n", "max_sum=3621, start=59, end=865\n", "max_sum=3745, start=397, end=671\n", "max_sum=2322, start=40, end=999\n", "max_sum=3379, start=140, end=999\n", "max_sum=3804, start=371, end=961\n", "max_sum=3076, start=374, end=898\n", "max_sum=1658, start=549, end=838\n", "max_sum=2176, start=0, end=310\n", "max_sum=2135, start=20, end=252\n", "max_sum=4146, start=140, end=948\n", "max_sum=1518, start=636, end=979\n", "max_sum=4342, start=136, end=896\n", "max_sum=3298, start=54, end=814\n", "max_sum=1314, start=348, end=828\n", "max_sum=3960, start=422, end=831\n", "max_sum=1105, start=46, end=87\n", "max_sum=2060, start=382, end=656\n", "max_sum=872, start=12, end=220\n", "max_sum=938, start=71, end=207\n", "max_sum=4711, start=180, end=963\n", "max_sum=1881, start=647, end=925\n", "max_sum=1843, start=101, end=697\n", "max_sum=1848, start=442, end=776\n", "max_sum=1656, start=345, end=450\n", "max_sum=1479, start=0, end=847\n", "max_sum=1096, start=40, end=197\n", "max_sum=2488, start=120, end=632\n", "max_sum=2759, start=411, end=919\n", "max_sum=2235, start=127, end=999\n", "max_sum=3420, start=83, end=760\n", "max_sum=4238, start=572, end=997\n", "max_sum=1659, start=350, end=696\n", "max_sum=2439, start=269, end=674\n", "max_sum=1676, start=583, end=754\n", "max_sum=930, start=255, end=398\n", "max_sum=2178, start=41, end=553\n", "max_sum=2729, start=17, end=942\n", "max_sum=1205, start=469, end=579\n", "max_sum=1709, start=12, end=284\n", "max_sum=1641, start=108, end=677\n", "max_sum=1806, start=838, end=999\n", "max_sum=2300, start=761, end=992\n", "max_sum=2451, start=295, end=998\n", "max_sum=2282, start=816, end=999\n", "max_sum=2668, start=242, end=526\n", "max_sum=1590, start=93, end=460\n", "max_sum=1547, start=181, end=360\n", "max_sum=4683, start=5, end=998\n", "max_sum=1225, start=464, end=514\n", "max_sum=4712, start=0, end=999\n", "max_sum=3060, start=36, end=930\n", "max_sum=2737, start=40, end=986\n", "max_sum=2609, start=283, end=878\n", "max_sum=1854, start=537, end=712\n", "max_sum=2647, start=329, end=773\n", "max_sum=1848, start=107, end=334\n", "max_sum=2482, start=275, end=866\n", "max_sum=1179, start=758, end=910\n", "max_sum=1563, start=372, end=758\n", "max_sum=1498, start=441, end=956\n", "max_sum=1118, start=17, end=222\n", "max_sum=1715, start=719, end=980\n", "max_sum=1591, start=592, end=708\n", "max_sum=3273, start=16, end=860\n", "max_sum=2598, start=13, end=333\n", "max_sum=1173, start=34, end=111\n", "max_sum=1444, start=14, end=428\n", "max_sum=3162, start=589, end=931\n", "max_sum=2229, start=298, end=739\n", "max_sum=1101, start=488, end=664\n", "max_sum=2280, start=18, end=973\n", "max_sum=3611, start=2, end=955\n", "max_sum=1973, start=186, end=940\n", "max_sum=2930, start=7, end=268\n", "max_sum=1942, start=456, end=932\n", "max_sum=3858, start=40, end=641\n", "max_sum=1871, start=440, end=819\n", "max_sum=4520, start=2, end=997\n", "max_sum=1230, start=301, end=414\n", "max_sum=3053, start=95, end=703\n", "max_sum=842, start=677, end=747\n", "max_sum=4524, start=24, end=782\n", "max_sum=1109, start=628, end=702\n", "max_sum=1509, start=207, end=367\n", "max_sum=1845, start=171, end=549\n", "max_sum=2719, start=5, end=308\n", "max_sum=848, start=49, end=140\n", "max_sum=2177, start=115, end=631\n", "max_sum=1805, start=109, end=397\n", "max_sum=2926, start=0, end=904\n", "max_sum=1011, start=701, end=737\n", "max_sum=2510, start=12, end=911\n", "max_sum=1806, start=95, end=404\n", "max_sum=1199, start=799, end=959\n", "max_sum=2346, start=510, end=996\n", "max_sum=2801, start=185, end=620\n", "max_sum=1471, start=39, end=370\n", "max_sum=966, start=507, end=561\n", "max_sum=2698, start=18, end=300\n", "max_sum=1380, start=17, end=202\n", "max_sum=1717, start=108, end=833\n", "max_sum=1532, start=89, end=402\n", "max_sum=1282, start=563, end=664\n", "max_sum=2193, start=56, end=658\n", "max_sum=1747, start=63, end=711\n", "max_sum=2432, start=640, end=991\n", "max_sum=3325, start=308, end=661\n", "max_sum=2154, start=231, end=617\n", "max_sum=2838, start=19, end=914\n", "max_sum=2172, start=254, end=522\n", "max_sum=1485, start=705, end=792\n", "max_sum=2818, start=50, end=716\n", "max_sum=1848, start=130, end=336\n", "max_sum=1673, start=260, end=461\n", "max_sum=1193, start=366, end=434\n", "max_sum=2315, start=156, end=863\n", "max_sum=3374, start=120, end=957\n", "max_sum=1486, start=101, end=445\n", "max_sum=2366, start=451, end=958\n", "max_sum=2459, start=296, end=670\n", "max_sum=1678, start=47, end=771\n", "max_sum=1900, start=775, end=919\n", "max_sum=965, start=494, end=537\n", "max_sum=2780, start=533, end=844\n", "max_sum=3814, start=178, end=941\n", "max_sum=2173, start=174, end=370\n", "max_sum=1155, start=564, end=632\n", "max_sum=1545, start=709, end=997\n", "max_sum=847, start=245, end=360\n", "max_sum=1416, start=253, end=353\n", "max_sum=2517, start=11, end=839\n", "max_sum=1247, start=269, end=402\n", "max_sum=1379, start=158, end=375\n", "max_sum=2705, start=36, end=984\n", "max_sum=1200, start=620, end=723\n", "max_sum=2135, start=295, end=972\n", "max_sum=3221, start=201, end=997\n", "max_sum=2671, start=289, end=961\n", "max_sum=1835, start=114, end=681\n", "max_sum=834, start=876, end=991\n", "max_sum=2196, start=123, end=461\n", "max_sum=1842, start=151, end=965\n", "max_sum=5163, start=38, end=896\n", "max_sum=2160, start=648, end=998\n", "max_sum=1907, start=790, end=996\n", "max_sum=1506, start=489, end=981\n", "max_sum=1438, start=91, end=239\n", "max_sum=1732, start=12, end=94\n", "max_sum=1754, start=306, end=808\n", "max_sum=3413, start=0, end=996\n", "max_sum=4165, start=172, end=957\n", "max_sum=1314, start=259, end=582\n", "max_sum=4823, start=64, end=891\n", "max_sum=988, start=241, end=393\n", "max_sum=4018, start=0, end=948\n", "max_sum=2960, start=348, end=688\n", "max_sum=3249, start=246, end=852\n", "max_sum=1271, start=122, end=163\n", "max_sum=1440, start=543, end=754\n", "max_sum=3657, start=287, end=688\n", "max_sum=2945, start=291, end=594\n", "max_sum=2594, start=476, end=919\n", "max_sum=1817, start=473, end=937\n", "max_sum=3945, start=17, end=857\n", "max_sum=1234, start=315, end=492\n", "max_sum=1312, start=483, end=812\n", "max_sum=1292, start=247, end=533\n", "max_sum=1267, start=110, end=282\n", "max_sum=3370, start=0, end=704\n", "max_sum=1033, start=470, end=501\n", "max_sum=2321, start=273, end=591\n", "max_sum=3749, start=44, end=905\n", "max_sum=3018, start=587, end=954\n", "max_sum=1753, start=55, end=495\n", "max_sum=2030, start=117, end=425\n", "max_sum=2736, start=381, end=914\n", "max_sum=2135, start=295, end=781\n", "max_sum=2204, start=681, end=933\n", "max_sum=1529, start=73, end=569\n", "max_sum=3732, start=34, end=976\n", "max_sum=2126, start=48, end=662\n", "max_sum=2872, start=45, end=841\n", "max_sum=2175, start=516, end=819\n", "max_sum=1073, start=619, end=734\n", "max_sum=2008, start=236, end=723\n", "max_sum=1693, start=52, end=475\n", "max_sum=2669, start=65, end=464\n", "max_sum=2450, start=182, end=570\n", "max_sum=2673, start=134, end=781\n", "max_sum=3068, start=394, end=999\n", "max_sum=3515, start=32, end=904\n", "max_sum=3397, start=37, end=722\n", "max_sum=1850, start=465, end=731\n", "max_sum=4307, start=53, end=747\n", "max_sum=4702, start=104, end=999\n", "max_sum=1267, start=188, end=230\n", "max_sum=1710, start=489, end=982\n", "max_sum=2176, start=401, end=640\n", "max_sum=2364, start=124, end=470\n", "max_sum=1378, start=366, end=935\n", "max_sum=2228, start=422, end=769\n", "max_sum=5342, start=437, end=999\n", "max_sum=4081, start=132, end=676\n", "max_sum=3490, start=205, end=682\n", "max_sum=3577, start=183, end=984\n", "max_sum=2990, start=6, end=992\n", "max_sum=3266, start=225, end=979\n", "max_sum=1188, start=134, end=338\n", "max_sum=5433, start=4, end=999\n", "max_sum=1702, start=388, end=609\n", "max_sum=1199, start=538, end=618\n", "max_sum=3424, start=52, end=990\n", "max_sum=3220, start=417, end=573\n", "max_sum=1640, start=815, end=948\n", "max_sum=4182, start=26, end=940\n", "max_sum=2266, start=393, end=683\n", "max_sum=736, start=880, end=960\n", "max_sum=1823, start=410, end=877\n", "max_sum=2226, start=43, end=283\n", "max_sum=2487, start=336, end=632\n", "max_sum=1752, start=573, end=800\n", "max_sum=1772, start=182, end=364\n", "max_sum=1931, start=515, end=806\n", "max_sum=2210, start=3, end=856\n", "max_sum=1225, start=52, end=426\n", "max_sum=1150, start=353, end=750\n", "max_sum=1389, start=330, end=547\n", "max_sum=1129, start=393, end=479\n", "max_sum=2133, start=164, end=594\n", "max_sum=985, start=171, end=272\n", "max_sum=1372, start=219, end=468\n", "max_sum=2536, start=190, end=344\n", "max_sum=1545, start=594, end=805\n", "max_sum=2517, start=224, end=627\n", "max_sum=3116, start=56, end=618\n", "max_sum=2612, start=226, end=847\n", "max_sum=2381, start=791, end=993\n", "max_sum=2413, start=497, end=914\n", "max_sum=1513, start=24, end=258\n", "max_sum=2248, start=335, end=735\n", "max_sum=2454, start=46, end=286\n", "max_sum=912, start=0, end=82\n", "max_sum=4564, start=232, end=702\n", "max_sum=1453, start=204, end=326\n", "max_sum=3890, start=0, end=281\n", "max_sum=2499, start=55, end=782\n", "max_sum=1100, start=84, end=400\n", "max_sum=1906, start=315, end=735\n", "max_sum=1027, start=820, end=925\n", "max_sum=1157, start=898, end=985\n", "max_sum=995, start=619, end=719\n", "max_sum=3132, start=4, end=984\n", "max_sum=1844, start=415, end=761\n", "max_sum=1533, start=687, end=982\n", "max_sum=2400, start=45, end=877\n", "max_sum=2119, start=22, end=351\n", "max_sum=2505, start=225, end=773\n", "max_sum=2512, start=376, end=649\n", "max_sum=4209, start=229, end=945\n", "max_sum=1684, start=79, end=387\n", "max_sum=1787, start=740, end=929\n", "max_sum=1855, start=178, end=996\n", "max_sum=1169, start=11, end=308\n", "max_sum=2605, start=241, end=952\n", "max_sum=2651, start=519, end=928\n", "max_sum=2509, start=161, end=741\n", "max_sum=5448, start=0, end=999\n", "max_sum=1278, start=340, end=438\n", "max_sum=1036, start=361, end=541\n", "max_sum=1782, start=50, end=218\n", "max_sum=1541, start=572, end=732\n", "max_sum=1508, start=115, end=447\n", "max_sum=4072, start=53, end=976\n", "max_sum=3387, start=40, end=527\n", "max_sum=1085, start=222, end=385\n", "max_sum=2776, start=0, end=982\n", "max_sum=1264, start=724, end=966\n", "max_sum=1338, start=403, end=508\n", "max_sum=2048, start=110, end=602\n", "max_sum=1624, start=382, end=825\n", "max_sum=3981, start=9, end=517\n", "max_sum=3436, start=225, end=989\n", "max_sum=2655, start=395, end=939\n", "max_sum=1660, start=433, end=898\n", "max_sum=3700, start=16, end=980\n", "max_sum=1796, start=28, end=814\n", "max_sum=1300, start=21, end=168\n", "max_sum=2441, start=45, end=390\n", "max_sum=2328, start=134, end=999\n", "max_sum=2347, start=94, end=240\n", "max_sum=1232, start=244, end=357\n", "max_sum=1516, start=68, end=279\n", "max_sum=3086, start=187, end=946\n", "max_sum=2467, start=498, end=992\n", "max_sum=1730, start=377, end=500\n", "max_sum=2265, start=624, end=990\n", "max_sum=3047, start=27, end=998\n", "max_sum=912, start=957, end=999\n", "max_sum=1625, start=95, end=478\n", "max_sum=2310, start=4, end=804\n", "max_sum=1812, start=122, end=997\n", "max_sum=2279, start=53, end=375\n", "max_sum=3324, start=180, end=582\n", "max_sum=1327, start=409, end=529\n", "max_sum=1536, start=775, end=911\n", "max_sum=1385, start=305, end=653\n", "max_sum=2121, start=360, end=653\n", "max_sum=908, start=198, end=269\n", "max_sum=2270, start=354, end=999\n", "max_sum=3292, start=30, end=730\n", "max_sum=3002, start=323, end=656\n", "max_sum=2326, start=49, end=472\n", "max_sum=1055, start=801, end=874\n", "max_sum=2951, start=350, end=678\n", "max_sum=2406, start=66, end=526\n", "max_sum=1858, start=39, end=249\n", "max_sum=1780, start=295, end=673\n", "max_sum=867, start=14, end=66\n", "max_sum=1148, start=866, end=936\n", "max_sum=1853, start=701, end=882\n", "max_sum=2261, start=41, end=859\n", "max_sum=3424, start=2, end=759\n", "max_sum=1379, start=727, end=995\n", "max_sum=2034, start=405, end=981\n", "max_sum=1898, start=6, end=159\n", "max_sum=2843, start=302, end=501\n", "max_sum=1992, start=2, end=241\n", "max_sum=2138, start=341, end=927\n", "max_sum=2611, start=128, end=956\n", "max_sum=2701, start=149, end=751\n", "max_sum=1498, start=137, end=303\n", "max_sum=1586, start=530, end=961\n", "max_sum=2902, start=384, end=960\n", "max_sum=1562, start=746, end=886\n", "max_sum=1031, start=26, end=93\n", "max_sum=1626, start=412, end=736\n", "max_sum=1540, start=21, end=199\n", "max_sum=1857, start=108, end=717\n", "max_sum=2419, start=363, end=802\n", "max_sum=1618, start=309, end=827\n", "max_sum=2313, start=3, end=299\n", "max_sum=1455, start=583, end=916\n", "max_sum=3980, start=12, end=624\n", "max_sum=1154, start=3, end=147\n", "max_sum=2497, start=0, end=701\n", "max_sum=1848, start=94, end=645\n", "max_sum=1702, start=149, end=552\n", "max_sum=2715, start=13, end=871\n", "max_sum=5216, start=318, end=982\n", "max_sum=5874, start=29, end=956\n", "max_sum=2156, start=631, end=814\n", "max_sum=3351, start=651, end=895\n", "max_sum=2372, start=500, end=994\n", "max_sum=2679, start=188, end=977\n", "max_sum=2438, start=177, end=448\n", "max_sum=2546, start=241, end=950\n", "max_sum=1707, start=317, end=616\n", "max_sum=3662, start=138, end=773\n", "max_sum=3350, start=134, end=999\n", "max_sum=1098, start=26, end=119\n", "max_sum=865, start=284, end=330\n", "max_sum=3941, start=148, end=898\n", "max_sum=3966, start=4, end=919\n", "max_sum=2170, start=27, end=977\n", "max_sum=1509, start=302, end=633\n", "max_sum=1144, start=877, end=997\n", "max_sum=2029, start=631, end=905\n", "max_sum=1710, start=120, end=513\n", "max_sum=2343, start=394, end=734\n", "max_sum=2176, start=620, end=868\n", "max_sum=967, start=3, end=217\n", "max_sum=1599, start=532, end=866\n", "max_sum=2023, start=688, end=805\n", "max_sum=5480, start=181, end=926\n", "max_sum=1612, start=708, end=969\n", "max_sum=2698, start=621, end=990\n", "max_sum=3304, start=205, end=718\n", "max_sum=1648, start=350, end=551\n", "max_sum=1626, start=786, end=893\n", "max_sum=3491, start=53, end=593\n", "max_sum=1790, start=494, end=698\n", "max_sum=2394, start=533, end=867\n", "max_sum=3095, start=17, end=997\n", "max_sum=2111, start=738, end=990\n", "max_sum=1199, start=652, end=846\n", "max_sum=2732, start=17, end=492\n", "max_sum=2682, start=65, end=836\n", "max_sum=1884, start=23, end=689\n", "max_sum=1719, start=822, end=999\n", "max_sum=2363, start=191, end=364\n", "max_sum=2179, start=265, end=878\n", "max_sum=1461, start=739, end=908\n", "max_sum=3132, start=39, end=857\n", "max_sum=1144, start=359, end=506\n", "max_sum=2961, start=259, end=996\n", "max_sum=1716, start=522, end=758\n", "max_sum=1437, start=78, end=229\n", "max_sum=1632, start=658, end=838\n", "max_sum=1196, start=918, end=999\n", "max_sum=6608, start=8, end=924\n", "max_sum=1811, start=208, end=992\n", "max_sum=1977, start=190, end=754\n", "max_sum=1372, start=45, end=683\n", "max_sum=1289, start=505, end=762\n", "max_sum=1180, start=430, end=512\n", "max_sum=2438, start=490, end=992\n", "max_sum=1876, start=480, end=644\n", "max_sum=2180, start=137, end=602\n", "max_sum=2765, start=50, end=536\n", "max_sum=2839, start=174, end=577\n", "max_sum=3212, start=3, end=511\n", "max_sum=3363, start=104, end=619\n", "max_sum=2774, start=565, end=992\n", "max_sum=1489, start=349, end=791\n", "max_sum=1073, start=630, end=972\n", "max_sum=1294, start=813, end=987\n", "max_sum=3596, start=10, end=540\n", "max_sum=6196, start=0, end=986\n", "max_sum=2963, start=310, end=990\n", "max_sum=2043, start=23, end=953\n", "max_sum=3060, start=3, end=914\n", "max_sum=1659, start=0, end=126\n", "max_sum=1094, start=581, end=621\n", "max_sum=3597, start=315, end=663\n", "max_sum=2317, start=640, end=980\n", "max_sum=2303, start=225, end=932\n", "max_sum=1187, start=722, end=953\n", "max_sum=2775, start=599, end=990\n", "max_sum=1653, start=818, end=994\n", "max_sum=3081, start=173, end=999\n", "max_sum=3070, start=321, end=567\n", "max_sum=3040, start=208, end=713\n", "max_sum=2839, start=26, end=723\n", "max_sum=2841, start=49, end=615\n", "max_sum=1270, start=481, end=837\n", "max_sum=2056, start=413, end=989\n", "max_sum=3519, start=135, end=990\n", "max_sum=3280, start=39, end=542\n", "max_sum=2261, start=729, end=986\n", "max_sum=3268, start=194, end=706\n", "max_sum=1114, start=8, end=215\n", "max_sum=834, start=851, end=961\n", "max_sum=2629, start=370, end=576\n", "max_sum=1911, start=7, end=291\n", "max_sum=1809, start=541, end=689\n", "max_sum=2638, start=377, end=965\n", "max_sum=2439, start=602, end=940\n", "max_sum=1989, start=33, end=506\n", "max_sum=1316, start=434, end=561\n", "max_sum=1933, start=181, end=565\n", "max_sum=3831, start=61, end=795\n", "max_sum=1361, start=370, end=550\n", "max_sum=1578, start=346, end=564\n", "max_sum=1610, start=668, end=814\n", "max_sum=2687, start=234, end=505\n", "max_sum=2410, start=9, end=352\n", "max_sum=1668, start=85, end=185\n", "max_sum=2074, start=506, end=990\n", "max_sum=4985, start=27, end=768\n", "max_sum=3254, start=10, end=899\n", "max_sum=3142, start=308, end=871\n", "max_sum=3577, start=19, end=666\n", "max_sum=2494, start=0, end=427\n", "max_sum=1873, start=142, end=606\n", "max_sum=2994, start=198, end=992\n", "max_sum=3020, start=64, end=751\n", "max_sum=1933, start=20, end=721\n", "max_sum=1290, start=368, end=499\n", "max_sum=1657, start=569, end=946\n", "max_sum=3108, start=68, end=889\n", "max_sum=2914, start=0, end=382\n", "max_sum=1561, start=481, end=698\n", "max_sum=4398, start=58, end=955\n", "max_sum=3020, start=16, end=978\n", "max_sum=1178, start=788, end=931\n", "max_sum=2414, start=311, end=597\n", "max_sum=2631, start=351, end=578\n", "max_sum=1735, start=66, end=314\n", "max_sum=3265, start=17, end=923\n", "max_sum=1844, start=29, end=140\n", "max_sum=2978, start=71, end=746\n", "max_sum=4819, start=48, end=839\n", "max_sum=1697, start=280, end=381\n", "max_sum=2852, start=450, end=996\n", "max_sum=1366, start=601, end=939\n", "max_sum=2375, start=13, end=994\n", "max_sum=2071, start=810, end=992\n", "max_sum=2148, start=106, end=457\n", "max_sum=4888, start=28, end=881\n", "max_sum=2105, start=179, end=425\n", "max_sum=1858, start=171, end=981\n", "max_sum=1437, start=244, end=471\n", "max_sum=3194, start=527, end=999\n", "max_sum=2173, start=652, end=937\n", "max_sum=4218, start=0, end=880\n", "max_sum=2797, start=70, end=844\n", "max_sum=2056, start=354, end=562\n", "max_sum=2723, start=126, end=814\n", "max_sum=2511, start=204, end=805\n", "max_sum=853, start=850, end=988\n", "max_sum=1193, start=225, end=402\n", "max_sum=2310, start=2, end=224\n", "max_sum=2491, start=157, end=920\n", "max_sum=4018, start=8, end=907\n", "max_sum=2305, start=409, end=919\n", "max_sum=2465, start=353, end=603\n", "max_sum=1582, start=181, end=432\n", "max_sum=1658, start=366, end=945\n", "max_sum=2374, start=705, end=990\n", "max_sum=1533, start=348, end=470\n", "max_sum=1488, start=311, end=586\n", "max_sum=1220, start=248, end=388\n", "max_sum=1164, start=810, end=928\n", "max_sum=2702, start=328, end=953\n", "max_sum=2945, start=70, end=516\n", "max_sum=2414, start=102, end=555\n", "max_sum=1795, start=443, end=909\n", "max_sum=3240, start=479, end=941\n", "max_sum=2403, start=773, end=982\n", "max_sum=3019, start=274, end=929\n", "max_sum=1448, start=271, end=364\n", "max_sum=3534, start=486, end=953\n", "max_sum=2402, start=625, end=916\n", "max_sum=1614, start=167, end=609\n", "max_sum=2297, start=358, end=985\n", "max_sum=1394, start=170, end=238\n", "max_sum=1502, start=0, end=90\n", "max_sum=790, start=615, end=880\n", "max_sum=1276, start=550, end=689\n", "max_sum=1779, start=220, end=552\n", "max_sum=1824, start=14, end=833\n", "max_sum=1660, start=866, end=997\n", "max_sum=3586, start=16, end=865\n", "max_sum=3551, start=15, end=899\n", "max_sum=3194, start=15, end=918\n", "max_sum=1711, start=214, end=507\n", "max_sum=3005, start=13, end=623\n", "max_sum=3829, start=4, end=790\n", "max_sum=2973, start=384, end=999\n", "max_sum=3627, start=164, end=657\n", "max_sum=2431, start=159, end=786\n", "max_sum=1246, start=510, end=610\n", "max_sum=3041, start=5, end=694\n", "max_sum=1409, start=134, end=789\n", "max_sum=1446, start=226, end=411\n", "max_sum=2319, start=349, end=590\n", "max_sum=3200, start=208, end=921\n", "max_sum=2402, start=445, end=950\n", "max_sum=1629, start=884, end=999\n", "max_sum=1692, start=653, end=889\n", "max_sum=3098, start=91, end=698\n", "max_sum=2547, start=508, end=929\n", "max_sum=3030, start=101, end=977\n", "max_sum=1449, start=434, end=830\n", "max_sum=1136, start=684, end=737\n", "max_sum=3483, start=10, end=965\n", "max_sum=2103, start=594, end=896\n", "max_sum=1148, start=623, end=844\n", "max_sum=1072, start=175, end=283\n", "max_sum=1257, start=0, end=97\n", "max_sum=1231, start=652, end=914\n", "max_sum=2311, start=52, end=516\n", "max_sum=2444, start=629, end=999\n", "max_sum=2819, start=80, end=824\n", "max_sum=3435, start=367, end=980\n", "max_sum=1679, start=822, end=975\n", "max_sum=3774, start=54, end=786\n", "max_sum=2319, start=116, end=991\n", "max_sum=2902, start=339, end=800\n", "max_sum=3072, start=596, end=985\n", "max_sum=1688, start=23, end=241\n", "max_sum=2273, start=318, end=785\n", "max_sum=1948, start=108, end=546\n", "max_sum=1352, start=700, end=993\n", "max_sum=2600, start=17, end=929\n", "max_sum=1930, start=511, end=708\n", "max_sum=1542, start=13, end=909\n", "max_sum=2805, start=18, end=697\n", "max_sum=1251, start=739, end=881\n", "max_sum=2706, start=425, end=566\n", "max_sum=3410, start=69, end=818\n", "max_sum=2142, start=747, end=937\n", "max_sum=1402, start=563, end=749\n", "max_sum=2338, start=279, end=457\n", "max_sum=3911, start=160, end=827\n", "max_sum=3160, start=7, end=666\n", "max_sum=2197, start=573, end=963\n", "max_sum=1881, start=30, end=264\n", "max_sum=2084, start=43, end=406\n", "max_sum=1658, start=248, end=513\n", "max_sum=2233, start=303, end=924\n", "max_sum=2032, start=66, end=598\n", "max_sum=2020, start=0, end=454\n", "max_sum=1761, start=22, end=287\n", "max_sum=1138, start=307, end=409\n", "max_sum=2373, start=64, end=718\n", "max_sum=800, start=157, end=173\n", "max_sum=1746, start=475, end=804\n", "max_sum=1783, start=330, end=963\n", "max_sum=1202, start=632, end=791\n", "max_sum=2252, start=69, end=219\n", "max_sum=2472, start=739, end=945\n", "max_sum=2682, start=11, end=841\n", "max_sum=4269, start=397, end=938\n", "max_sum=1861, start=88, end=333\n", "max_sum=2139, start=241, end=452\n", "max_sum=1688, start=813, end=991\n", "max_sum=1500, start=648, end=732\n", "max_sum=2888, start=41, end=978\n", "max_sum=3707, start=17, end=850\n", "max_sum=3090, start=230, end=985\n", "max_sum=3371, start=438, end=999\n", "max_sum=2557, start=240, end=756\n", "max_sum=1049, start=434, end=504\n", "max_sum=2461, start=51, end=201\n", "max_sum=1437, start=6, end=59\n", "max_sum=878, start=408, end=612\n", "max_sum=3007, start=141, end=861\n", "max_sum=3479, start=225, end=907\n", "max_sum=2164, start=30, end=764\n", "max_sum=2614, start=224, end=992\n", "max_sum=1276, start=856, end=996\n", "max_sum=4045, start=142, end=847\n", "max_sum=2923, start=149, end=998\n", "max_sum=1479, start=473, end=803\n", "max_sum=2500, start=556, end=939\n", "max_sum=1918, start=451, end=727\n", "max_sum=2741, start=200, end=999\n", "max_sum=2912, start=579, end=852\n", "max_sum=1778, start=48, end=520\n", "max_sum=1662, start=797, end=995\n", "max_sum=2270, start=226, end=772\n", "max_sum=3883, start=108, end=651\n", "max_sum=3236, start=91, end=989\n", "max_sum=1751, start=469, end=846\n", "max_sum=1596, start=612, end=922\n", "max_sum=3390, start=187, end=999\n", "max_sum=2325, start=689, end=933\n", "max_sum=1305, start=197, end=275\n", "max_sum=3267, start=8, end=989\n", "max_sum=2199, start=0, end=222\n", "max_sum=2203, start=392, end=614\n", "max_sum=1279, start=625, end=878\n", "max_sum=1223, start=562, end=624\n", "max_sum=2529, start=175, end=827\n", "max_sum=1500, start=417, end=979\n", "max_sum=2876, start=22, end=891\n", "max_sum=1094, start=122, end=164\n", "max_sum=1520, start=620, end=718\n", "max_sum=2117, start=178, end=299\n", "max_sum=3723, start=83, end=842\n", "max_sum=1697, start=177, end=515\n", "max_sum=1761, start=98, end=823\n", "max_sum=1131, start=128, end=197\n", "max_sum=1405, start=691, end=879\n", "max_sum=1754, start=755, end=918\n", "max_sum=1930, start=162, end=713\n", "max_sum=3309, start=112, end=401\n", "max_sum=2915, start=352, end=784\n", "max_sum=3086, start=32, end=510\n", "max_sum=1509, start=815, end=998\n", "max_sum=2167, start=173, end=457\n", "max_sum=1724, start=712, end=973\n", "max_sum=3321, start=0, end=552\n", "max_sum=2645, start=560, end=748\n", "max_sum=2794, start=104, end=244\n", "max_sum=4949, start=194, end=849\n", "max_sum=1171, start=355, end=585\n", "max_sum=4597, start=336, end=823\n", "max_sum=1644, start=447, end=995\n", "max_sum=1272, start=514, end=632\n", "max_sum=3172, start=336, end=851\n", "max_sum=898, start=838, end=881\n", "max_sum=2007, start=359, end=882\n", "max_sum=2287, start=0, end=465\n", "max_sum=2040, start=613, end=889\n", "max_sum=2446, start=741, end=994\n", "max_sum=5746, start=166, end=992\n", "max_sum=2622, start=423, end=937\n", "max_sum=2893, start=386, end=982\n", "max_sum=2770, start=276, end=863\n", "max_sum=1318, start=139, end=185\n", "max_sum=1809, start=21, end=192\n", "max_sum=1917, start=727, end=998\n", "max_sum=1650, start=0, end=613\n", "max_sum=2167, start=361, end=578\n", "max_sum=971, start=102, end=402\n", "max_sum=2364, start=576, end=716\n", "max_sum=2851, start=68, end=473\n", "max_sum=1747, start=6, end=495\n", "max_sum=3102, start=61, end=629\n", "max_sum=1832, start=3, end=265\n", "max_sum=3189, start=355, end=998\n", "max_sum=2671, start=103, end=505\n", "max_sum=3153, start=19, end=776\n", "max_sum=3022, start=472, end=995\n", "max_sum=3054, start=243, end=997\n", "max_sum=2100, start=366, end=589\n", "max_sum=1835, start=128, end=431\n", "max_sum=1513, start=182, end=281\n", "max_sum=4942, start=41, end=969\n", "max_sum=1253, start=538, end=999\n", "max_sum=1660, start=108, end=337\n", "max_sum=2010, start=20, end=481\n", "max_sum=2376, start=358, end=928\n", "max_sum=1110, start=626, end=828\n", "max_sum=3251, start=213, end=998\n", "max_sum=2764, start=207, end=552\n", "max_sum=1569, start=600, end=751\n", "max_sum=3336, start=79, end=753\n", "max_sum=2538, start=562, end=953\n", "max_sum=1285, start=160, end=259\n", "max_sum=1691, start=64, end=319\n", "max_sum=1450, start=587, end=690\n", "max_sum=1086, start=102, end=300\n", "max_sum=1278, start=279, end=484\n", "max_sum=1930, start=142, end=892\n", "max_sum=870, start=394, end=461\n", "max_sum=2045, start=520, end=974\n", "max_sum=2879, start=516, end=969\n", "max_sum=1962, start=731, end=985\n", "max_sum=2389, start=3, end=837\n", "max_sum=1517, start=646, end=849\n", "max_sum=1728, start=817, end=927\n", "max_sum=2546, start=386, end=991\n", "max_sum=1822, start=704, end=999\n", "max_sum=2547, start=45, end=852\n", "max_sum=2452, start=449, end=769\n", "max_sum=4068, start=50, end=990\n", "max_sum=2149, start=620, end=957\n", "max_sum=2573, start=5, end=422\n", "max_sum=4535, start=76, end=907\n", "max_sum=1268, start=315, end=483\n", "max_sum=1489, start=0, end=261\n", "max_sum=1363, start=169, end=269\n", "max_sum=2117, start=8, end=486\n", "max_sum=2057, start=308, end=961\n", "max_sum=2392, start=146, end=522\n", "max_sum=2049, start=269, end=807\n", "max_sum=1911, start=388, end=517\n", "max_sum=2057, start=18, end=556\n", "max_sum=1681, start=33, end=293\n", "max_sum=1723, start=140, end=473\n", "max_sum=2113, start=192, end=523\n", "max_sum=3786, start=72, end=658\n", "max_sum=1548, start=173, end=345\n", "max_sum=2283, start=384, end=572\n", "max_sum=2622, start=2, end=323\n", "max_sum=1414, start=2, end=110\n", "max_sum=3431, start=446, end=992\n", "max_sum=1571, start=7, end=321\n", "max_sum=2728, start=82, end=329\n", "max_sum=1980, start=405, end=857\n", "max_sum=1139, start=826, end=935\n", "max_sum=3206, start=231, end=583\n", "max_sum=2129, start=502, end=971\n", "max_sum=1052, start=187, end=385\n", "max_sum=2214, start=793, end=993\n", "max_sum=1354, start=265, end=528\n", "max_sum=1657, start=467, end=725\n", "max_sum=2223, start=394, end=868\n", "max_sum=1545, start=29, end=128\n", "max_sum=4618, start=11, end=917\n", "max_sum=1636, start=159, end=520\n", "max_sum=1713, start=718, end=957\n", "max_sum=1883, start=321, end=700\n", "max_sum=2222, start=695, end=979\n", "max_sum=3163, start=302, end=736\n", "max_sum=3585, start=36, end=586\n", "max_sum=1564, start=601, end=818\n", "max_sum=1701, start=533, end=954\n", "max_sum=2941, start=66, end=793\n", "max_sum=1616, start=8, end=389\n", "max_sum=986, start=932, end=984\n", "max_sum=1499, start=851, end=999\n", "max_sum=2489, start=94, end=425\n", "max_sum=2397, start=501, end=847\n", "max_sum=2551, start=122, end=562\n", "max_sum=2738, start=66, end=521\n", "max_sum=1877, start=662, end=811\n", "max_sum=2740, start=536, end=777\n", "max_sum=4116, start=156, end=978\n", "max_sum=2402, start=140, end=671\n", "max_sum=2688, start=0, end=411\n", "max_sum=1652, start=129, end=406\n", "max_sum=1957, start=374, end=866\n", "max_sum=782, start=829, end=880\n", "max_sum=1609, start=97, end=998\n", "max_sum=2379, start=594, end=844\n", "max_sum=1448, start=107, end=180\n", "max_sum=2966, start=84, end=943\n", "max_sum=2327, start=264, end=604\n", "max_sum=3038, start=52, end=569\n", "max_sum=2607, start=142, end=992\n", "max_sum=1261, start=553, end=599\n", "max_sum=2249, start=529, end=781\n", "max_sum=1541, start=243, end=407\n", "max_sum=4278, start=10, end=827\n", "max_sum=2033, start=46, end=967\n", "max_sum=3530, start=340, end=822\n", "max_sum=1034, start=567, end=623\n", "max_sum=1360, start=2, end=103\n", "max_sum=1709, start=138, end=284\n", "max_sum=2041, start=637, end=939\n", "max_sum=3237, start=218, end=552\n", "max_sum=1540, start=514, end=765\n", "max_sum=1590, start=11, end=192\n", "max_sum=3444, start=410, end=967\n", "max_sum=1063, start=56, end=90\n", "max_sum=2498, start=5, end=482\n", "max_sum=1836, start=799, end=999\n", "max_sum=2169, start=517, end=879\n", "max_sum=1894, start=8, end=227\n", "max_sum=2652, start=71, end=522\n", "max_sum=1917, start=107, end=547\n", "max_sum=3254, start=281, end=748\n", "max_sum=2235, start=240, end=547\n", "max_sum=1758, start=483, end=993\n", "max_sum=2742, start=370, end=950\n", "max_sum=2685, start=66, end=322\n", "max_sum=1289, start=73, end=744\n", "max_sum=2715, start=9, end=448\n", "max_sum=3765, start=74, end=734\n", "max_sum=1533, start=520, end=766\n", "max_sum=1716, start=68, end=436\n", "max_sum=2006, start=144, end=978\n", "max_sum=2875, start=48, end=759\n", "max_sum=2478, start=165, end=772\n", "max_sum=3228, start=432, end=888\n", "max_sum=2627, start=768, end=987\n", "max_sum=1191, start=733, end=882\n", "max_sum=2118, start=525, end=910\n", "max_sum=2229, start=149, end=906\n", "max_sum=4122, start=78, end=704\n", "max_sum=2643, start=76, end=939\n", "max_sum=1274, start=36, end=220\n", "max_sum=1924, start=67, end=297\n", "max_sum=1989, start=765, end=981\n", "max_sum=2724, start=3, end=249\n", "max_sum=2358, start=265, end=997\n", "max_sum=3667, start=12, end=999\n", "max_sum=3985, start=28, end=931\n", "max_sum=3673, start=4, end=340\n", "max_sum=3148, start=352, end=957\n", "max_sum=2254, start=19, end=667\n", "max_sum=968, start=702, end=774\n", "max_sum=812, start=160, end=271\n", "max_sum=1318, start=864, end=969\n", "max_sum=1270, start=188, end=414\n", "max_sum=1952, start=59, end=684\n", "max_sum=1511, start=780, end=889\n", "max_sum=2237, start=359, end=599\n", "max_sum=3054, start=124, end=866\n", "max_sum=1742, start=18, end=393\n", "max_sum=2865, start=143, end=451\n", "max_sum=3042, start=281, end=584\n", "max_sum=3134, start=45, end=525\n", "max_sum=1545, start=242, end=390\n", "max_sum=2332, start=632, end=915\n", "max_sum=1639, start=251, end=650\n", "max_sum=1282, start=621, end=806\n", "max_sum=733, start=400, end=571\n", "max_sum=3453, start=133, end=377\n", "max_sum=4737, start=141, end=927\n", "max_sum=1630, start=41, end=147\n", "max_sum=1023, start=530, end=624\n", "max_sum=2763, start=0, end=805\n", "max_sum=2551, start=108, end=714\n", "max_sum=1649, start=85, end=844\n", "max_sum=1412, start=18, end=432\n", "max_sum=2642, start=2, end=636\n", "max_sum=1616, start=65, end=547\n", "max_sum=3192, start=133, end=788\n", "max_sum=1118, start=192, end=383\n", "max_sum=3793, start=37, end=982\n", "max_sum=2013, start=476, end=800\n", "max_sum=2532, start=58, end=374\n", "max_sum=1425, start=805, end=884\n", "max_sum=2111, start=734, end=999\n", "max_sum=2467, start=737, end=983\n", "max_sum=2764, start=146, end=713\n", "max_sum=2072, start=0, end=611\n", "max_sum=4431, start=52, end=932\n", "max_sum=1400, start=311, end=441\n", "max_sum=1268, start=735, end=957\n", "max_sum=1565, start=316, end=720\n", "max_sum=1626, start=41, end=280\n", "max_sum=3846, start=0, end=949\n", "max_sum=3059, start=665, end=993\n", "max_sum=2351, start=42, end=661\n", "max_sum=4765, start=129, end=994\n", "max_sum=2216, start=253, end=660\n", "max_sum=2114, start=210, end=602\n", "max_sum=1512, start=130, end=424\n", "max_sum=1750, start=440, end=578\n", "max_sum=2084, start=2, end=505\n", "max_sum=1046, start=431, end=564\n", "max_sum=4800, start=26, end=990\n", "max_sum=1276, start=157, end=554\n", "max_sum=3076, start=258, end=720\n", "max_sum=2869, start=180, end=964\n", "max_sum=2492, start=37, end=648\n", "max_sum=1314, start=760, end=918\n", "max_sum=1868, start=632, end=878\n", "max_sum=1531, start=4, end=165\n", "max_sum=2716, start=44, end=860\n", "max_sum=2919, start=92, end=778\n", "max_sum=2081, start=577, end=785\n", "max_sum=4429, start=25, end=999\n", "max_sum=2095, start=465, end=797\n", "max_sum=1632, start=567, end=990\n", "max_sum=3024, start=440, end=973\n", "max_sum=2641, start=2, end=997\n", "max_sum=2640, start=138, end=518\n", "max_sum=1327, start=2, end=174\n", "max_sum=1998, start=165, end=533\n", "max_sum=2587, start=65, end=987\n", "max_sum=4310, start=242, end=796\n", "max_sum=2431, start=11, end=456\n", "max_sum=3797, start=179, end=982\n", "max_sum=1329, start=64, end=215\n", "max_sum=3038, start=2, end=598\n", "max_sum=2831, start=637, end=961\n", "max_sum=1687, start=681, end=880\n", "max_sum=4109, start=281, end=923\n", "max_sum=1242, start=791, end=868\n", "max_sum=1172, start=160, end=325\n", "max_sum=1424, start=26, end=101\n", "max_sum=3014, start=131, end=973\n", "max_sum=1772, start=246, end=602\n", "max_sum=1324, start=213, end=360\n", "max_sum=1552, start=64, end=175\n", "max_sum=1425, start=230, end=582\n", "max_sum=2638, start=499, end=994\n", "max_sum=3288, start=297, end=997\n", "max_sum=3640, start=299, end=810\n", "max_sum=1707, start=878, end=998\n", "max_sum=4119, start=222, end=650\n", "max_sum=1022, start=755, end=802\n", "max_sum=2007, start=258, end=459\n", "max_sum=998, start=781, end=838\n", "max_sum=1521, start=155, end=254\n", "max_sum=2353, start=721, end=924\n", "max_sum=1264, start=452, end=818\n", "max_sum=2017, start=103, end=694\n", "max_sum=1171, start=222, end=402\n", "max_sum=1244, start=101, end=265\n", "max_sum=2244, start=779, end=993\n", "max_sum=1024, start=855, end=925\n", "max_sum=1389, start=537, end=843\n", "max_sum=2696, start=152, end=325\n", "max_sum=2721, start=217, end=445\n", "max_sum=1219, start=683, end=823\n", "max_sum=3346, start=348, end=819\n", "max_sum=1538, start=832, end=961\n", "max_sum=1387, start=350, end=667\n", "max_sum=3114, start=58, end=561\n", "max_sum=2961, start=35, end=808\n", "max_sum=2094, start=566, end=798\n", "max_sum=2662, start=640, end=989\n", "max_sum=3751, start=7, end=655\n", "max_sum=1307, start=638, end=892\n", "max_sum=2585, start=130, end=443\n", "max_sum=2706, start=80, end=981\n", "max_sum=1999, start=5, end=437\n", "max_sum=1389, start=107, end=582\n", "max_sum=1867, start=158, end=876\n", "max_sum=1236, start=513, end=811\n", "max_sum=1250, start=16, end=151\n", "max_sum=2206, start=427, end=668\n", "max_sum=2020, start=222, end=989\n", "max_sum=1796, start=4, end=490\n", "max_sum=2257, start=554, end=964\n", "max_sum=2631, start=11, end=377\n", "max_sum=2213, start=519, end=793\n", "max_sum=2732, start=5, end=569\n", "max_sum=3132, start=0, end=552\n", "max_sum=3229, start=198, end=552\n", "max_sum=1178, start=597, end=834\n", "max_sum=1429, start=279, end=352\n", "max_sum=1500, start=699, end=990\n", "max_sum=2061, start=293, end=678\n", "max_sum=3432, start=207, end=728\n", "max_sum=1706, start=0, end=707\n", "max_sum=3549, start=228, end=790\n", "max_sum=3596, start=34, end=609\n", "max_sum=2620, start=19, end=327\n", "max_sum=3523, start=143, end=998\n", "max_sum=959, start=926, end=954\n", "max_sum=2356, start=278, end=673\n", "max_sum=2144, start=324, end=473\n", "max_sum=1710, start=616, end=725\n", "max_sum=1985, start=147, end=613\n", "max_sum=1525, start=29, end=255\n", "max_sum=2470, start=90, end=624\n", "max_sum=1624, start=35, end=239\n", "max_sum=2349, start=83, end=591\n", "max_sum=1300, start=662, end=745\n", "max_sum=4184, start=35, end=803\n", "max_sum=1006, start=29, end=173\n", "max_sum=939, start=782, end=854\n", "max_sum=2272, start=636, end=957\n", "max_sum=1981, start=456, end=741\n", "max_sum=2862, start=222, end=659\n", "max_sum=2559, start=484, end=913\n", "max_sum=1808, start=0, end=305\n", "max_sum=2333, start=0, end=998\n", "max_sum=1208, start=601, end=736\n", "max_sum=1714, start=0, end=518\n", "max_sum=1638, start=608, end=886\n", "max_sum=3031, start=527, end=975\n", "max_sum=2541, start=564, end=838\n", "max_sum=2921, start=320, end=811\n", "max_sum=3823, start=106, end=911\n", "max_sum=2541, start=17, end=633\n", "max_sum=2851, start=11, end=996\n", "max_sum=1094, start=20, end=63\n", "max_sum=2997, start=275, end=989\n", "max_sum=3266, start=103, end=954\n", "max_sum=1666, start=864, end=979\n", "max_sum=1951, start=208, end=414\n", "max_sum=1788, start=518, end=711\n", "max_sum=2361, start=73, end=996\n", "max_sum=4836, start=0, end=996\n", "max_sum=1283, start=42, end=195\n", "max_sum=2042, start=288, end=610\n", "max_sum=2393, start=545, end=907\n", "max_sum=1390, start=358, end=568\n", "max_sum=1712, start=35, end=251\n", "max_sum=1998, start=809, end=916\n", "max_sum=2083, start=634, end=911\n", "max_sum=2946, start=509, end=884\n", "max_sum=1244, start=888, end=941\n", "max_sum=877, start=568, end=653\n", "max_sum=1783, start=746, end=872\n", "max_sum=3171, start=327, end=821\n", "max_sum=2500, start=562, end=948\n", "max_sum=3634, start=359, end=870\n", "max_sum=1251, start=538, end=628\n", "max_sum=3755, start=39, end=799\n", "max_sum=1140, start=275, end=476\n", "max_sum=2824, start=232, end=972\n", "max_sum=1483, start=737, end=924\n", "max_sum=1741, start=201, end=408\n", "max_sum=2909, start=36, end=998\n", "max_sum=1751, start=720, end=910\n", "max_sum=1973, start=59, end=348\n", "max_sum=1617, start=452, end=977\n", "max_sum=1217, start=893, end=937\n", "max_sum=4765, start=192, end=999\n", "max_sum=2561, start=558, end=992\n", "max_sum=1823, start=59, end=995\n", "max_sum=2573, start=104, end=526\n", "max_sum=2090, start=333, end=658\n", "max_sum=1062, start=582, end=701\n", "max_sum=2563, start=406, end=800\n", "max_sum=2290, start=0, end=299\n", "max_sum=2472, start=153, end=365\n", "max_sum=1369, start=783, end=850\n", "max_sum=2505, start=9, end=979\n", "max_sum=4693, start=11, end=991\n", "max_sum=1039, start=650, end=775\n", "max_sum=2254, start=383, end=822\n", "max_sum=1640, start=113, end=185\n", "max_sum=2381, start=340, end=705\n", "max_sum=2666, start=12, end=972\n", "max_sum=1206, start=923, end=998\n", "max_sum=1871, start=677, end=978\n", "max_sum=1850, start=559, end=729\n", "max_sum=1834, start=354, end=894\n", "max_sum=2024, start=113, end=998\n", "max_sum=2488, start=182, end=771\n", "max_sum=1489, start=817, end=994\n", "max_sum=3171, start=66, end=702\n", "max_sum=1959, start=398, end=530\n", "max_sum=1768, start=39, end=341\n", "max_sum=1374, start=129, end=214\n", "max_sum=3014, start=9, end=862\n", "max_sum=839, start=481, end=513\n", "max_sum=3187, start=48, end=645\n", "max_sum=2722, start=163, end=474\n", "max_sum=2020, start=217, end=694\n", "max_sum=3944, start=87, end=993\n", "max_sum=1635, start=535, end=774\n", "max_sum=2057, start=107, end=339\n", "max_sum=2018, start=517, end=626\n", "max_sum=1306, start=238, end=310\n", "max_sum=2119, start=563, end=800\n", "max_sum=1409, start=77, end=927\n", "max_sum=1783, start=343, end=932\n", "max_sum=2370, start=544, end=902\n", "max_sum=2126, start=511, end=888\n", "max_sum=1366, start=220, end=458\n", "max_sum=1268, start=625, end=926\n", "max_sum=1309, start=92, end=371\n", "max_sum=2535, start=3, end=636\n", "max_sum=2953, start=304, end=740\n", "max_sum=1952, start=562, end=919\n", "max_sum=2155, start=536, end=679\n", "max_sum=1656, start=283, end=598\n", "max_sum=1330, start=481, end=562\n", "max_sum=2061, start=157, end=927\n", "max_sum=1361, start=570, end=923\n", "max_sum=2456, start=256, end=731\n", "max_sum=913, start=737, end=914\n", "max_sum=3594, start=353, end=998\n", "max_sum=1090, start=82, end=127\n", "max_sum=2616, start=99, end=857\n", "max_sum=4956, start=278, end=970\n", "max_sum=1369, start=949, end=999\n", "max_sum=2462, start=0, end=465\n", "max_sum=1802, start=0, end=999\n", "max_sum=2749, start=82, end=641\n", "max_sum=3964, start=6, end=589\n", "max_sum=1980, start=125, end=526\n", "max_sum=1930, start=569, end=979\n", "max_sum=1256, start=825, end=992\n", "max_sum=1296, start=696, end=971\n", "max_sum=4602, start=45, end=995\n", "max_sum=2435, start=69, end=995\n", "max_sum=4237, start=0, end=954\n", "max_sum=1880, start=322, end=536\n", "max_sum=1148, start=863, end=955\n", "max_sum=941, start=818, end=880\n", "max_sum=3333, start=132, end=998\n", "max_sum=2477, start=90, end=399\n", "max_sum=1272, start=814, end=934\n", "max_sum=2522, start=503, end=996\n", "max_sum=2963, start=317, end=993\n", "max_sum=3031, start=0, end=946\n", "max_sum=923, start=837, end=934\n", "max_sum=4183, start=105, end=500\n", "max_sum=1980, start=92, end=262\n", "max_sum=3406, start=4, end=564\n", "max_sum=1389, start=602, end=903\n", "max_sum=2954, start=245, end=863\n", "max_sum=3013, start=422, end=999\n", "max_sum=1960, start=237, end=766\n", "max_sum=1344, start=121, end=583\n", "max_sum=1176, start=238, end=323\n", "max_sum=3796, start=85, end=715\n", "max_sum=1454, start=574, end=976\n", "max_sum=2131, start=327, end=965\n", "max_sum=1810, start=99, end=673\n", "max_sum=1835, start=0, end=224\n", "max_sum=1339, start=161, end=347\n", "max_sum=4207, start=283, end=905\n", "max_sum=1260, start=846, end=918\n", "max_sum=1360, start=342, end=534\n", "max_sum=1687, start=26, end=99\n", "max_sum=2005, start=568, end=748\n", "max_sum=2640, start=57, end=390\n", "max_sum=2473, start=330, end=523\n", "max_sum=2516, start=127, end=469\n", "max_sum=3294, start=37, end=965\n", "max_sum=1170, start=291, end=483\n", "max_sum=2681, start=75, end=980\n", "max_sum=2215, start=333, end=905\n", "max_sum=1175, start=116, end=182\n", "max_sum=2338, start=25, end=375\n", "max_sum=1990, start=4, end=865\n", "max_sum=1229, start=413, end=659\n", "max_sum=2444, start=470, end=999\n", "max_sum=3267, start=54, end=906\n", "max_sum=2267, start=231, end=456\n", "max_sum=3315, start=116, end=960\n", "max_sum=1903, start=244, end=808\n", "max_sum=1451, start=670, end=998\n", "max_sum=1122, start=532, end=738\n", "max_sum=3070, start=23, end=888\n", "max_sum=1160, start=73, end=258\n", "max_sum=1217, start=17, end=586\n", "max_sum=3055, start=273, end=853\n", "max_sum=1148, start=7, end=163\n", "max_sum=4238, start=43, end=944\n", "max_sum=2346, start=276, end=801\n", "max_sum=1243, start=713, end=847\n", "max_sum=1894, start=436, end=994\n", "max_sum=2182, start=170, end=998\n", "max_sum=3155, start=2, end=828\n", "max_sum=1404, start=382, end=621\n", "max_sum=1266, start=130, end=692\n", "max_sum=1794, start=77, end=401\n", "max_sum=2754, start=11, end=850\n", "max_sum=884, start=394, end=480\n", "max_sum=1273, start=812, end=867\n", "max_sum=3437, start=93, end=980\n", "max_sum=2778, start=529, end=999\n", "max_sum=2858, start=30, end=548\n", "max_sum=1604, start=513, end=841\n", "max_sum=4043, start=52, end=755\n", "max_sum=1671, start=105, end=931\n", "max_sum=4150, start=20, end=670\n", "max_sum=1494, start=335, end=525\n", "max_sum=1800, start=72, end=199\n", "max_sum=2082, start=96, end=292\n", "max_sum=1737, start=522, end=816\n", "max_sum=2202, start=154, end=746\n", "max_sum=1711, start=168, end=741\n", "max_sum=2076, start=251, end=783\n", "max_sum=1283, start=488, end=919\n", "max_sum=1973, start=708, end=843\n", "max_sum=2688, start=390, end=972\n", "max_sum=1456, start=140, end=914\n", "max_sum=1570, start=620, end=859\n", "max_sum=3194, start=52, end=974\n", "max_sum=1109, start=135, end=217\n", "max_sum=2430, start=110, end=633\n", "max_sum=1153, start=0, end=612\n", "max_sum=4624, start=9, end=678\n", "max_sum=957, start=485, end=567\n", "max_sum=3902, start=48, end=813\n", "max_sum=1654, start=202, end=712\n", "max_sum=1277, start=822, end=921\n", "max_sum=2902, start=120, end=983\n", "max_sum=1426, start=14, end=338\n", "max_sum=3376, start=32, end=818\n", "max_sum=3171, start=517, end=934\n", "max_sum=1606, start=676, end=863\n", "max_sum=2306, start=613, end=965\n", "max_sum=2324, start=516, end=847\n", "max_sum=1819, start=578, end=720\n", "max_sum=2339, start=125, end=675\n", "max_sum=1352, start=393, end=709\n", "max_sum=3171, start=151, end=690\n", "max_sum=2708, start=752, end=991\n", "max_sum=1633, start=316, end=459\n", "max_sum=2336, start=36, end=568\n", "max_sum=1492, start=245, end=558\n", "max_sum=2337, start=781, end=981\n", "max_sum=2202, start=451, end=759\n", "max_sum=2378, start=433, end=679\n", "max_sum=2688, start=8, end=734\n", "max_sum=2650, start=0, end=965\n", "max_sum=1826, start=63, end=580\n", "max_sum=1170, start=43, end=159\n", "max_sum=2364, start=162, end=585\n", "max_sum=1750, start=48, end=207\n", "max_sum=1102, start=61, end=155\n", "max_sum=2589, start=54, end=672\n", "max_sum=3099, start=106, end=469\n", "max_sum=4992, start=196, end=830\n", "max_sum=1454, start=464, end=993\n", "max_sum=2158, start=551, end=996\n", "max_sum=4500, start=72, end=963\n", "max_sum=1803, start=327, end=586\n", "max_sum=1570, start=5, end=123\n", "max_sum=1138, start=160, end=234\n", "max_sum=3037, start=89, end=825\n", "max_sum=2356, start=77, end=664\n", "max_sum=1047, start=764, end=819\n", "max_sum=3855, start=148, end=920\n", "max_sum=4343, start=484, end=844\n", "max_sum=1397, start=388, end=673\n", "max_sum=1253, start=857, end=964\n", "max_sum=3391, start=192, end=995\n", "max_sum=4089, start=64, end=999\n", "max_sum=2040, start=103, end=622\n", "max_sum=1772, start=546, end=764\n", "max_sum=1834, start=98, end=971\n", "max_sum=1122, start=741, end=994\n", "max_sum=2921, start=260, end=793\n", "max_sum=3617, start=542, end=977\n", "max_sum=3788, start=0, end=985\n", "max_sum=2065, start=36, end=414\n", "max_sum=2272, start=628, end=916\n", "max_sum=3262, start=263, end=785\n", "max_sum=1616, start=324, end=908\n", "max_sum=2716, start=8, end=267\n", "max_sum=1819, start=0, end=165\n", "max_sum=2038, start=346, end=507\n", "max_sum=2008, start=131, end=341\n", "max_sum=2161, start=208, end=958\n", "max_sum=2299, start=407, end=860\n", "max_sum=1782, start=150, end=648\n", "max_sum=1354, start=857, end=990\n", "max_sum=2959, start=14, end=685\n", "max_sum=1401, start=432, end=979\n", "max_sum=2087, start=297, end=788\n", "max_sum=2417, start=240, end=474\n", "max_sum=2494, start=405, end=938\n", "max_sum=1853, start=180, end=600\n", "max_sum=1941, start=161, end=540\n", "max_sum=2680, start=381, end=999\n", "max_sum=4128, start=30, end=908\n", "max_sum=1909, start=313, end=743\n", "max_sum=1589, start=109, end=941\n", "max_sum=3514, start=15, end=411\n", "max_sum=1829, start=659, end=964\n", "max_sum=2652, start=507, end=896\n", "max_sum=2725, start=81, end=742\n", "max_sum=1564, start=282, end=479\n", "max_sum=1722, start=358, end=890\n", "max_sum=2255, start=382, end=627\n", "max_sum=2913, start=167, end=604\n", "max_sum=2413, start=73, end=715\n", "max_sum=3871, start=21, end=854\n", "max_sum=910, start=72, end=530\n", "max_sum=5308, start=61, end=957\n", "max_sum=2509, start=760, end=995\n", "max_sum=2381, start=731, end=972\n", "max_sum=1347, start=713, end=793\n", "max_sum=2300, start=10, end=558\n", "max_sum=3474, start=416, end=999\n", "max_sum=2746, start=67, end=916\n", "max_sum=1361, start=585, end=867\n", "max_sum=2389, start=258, end=878\n", "max_sum=3943, start=73, end=986\n", "max_sum=2041, start=8, end=998\n", "max_sum=3234, start=5, end=866\n", "max_sum=4467, start=0, end=886\n", "max_sum=1994, start=88, end=323\n", "max_sum=2023, start=0, end=896\n", "max_sum=932, start=575, end=719\n", "max_sum=1217, start=94, end=254\n", "max_sum=1859, start=605, end=888\n", "max_sum=1678, start=146, end=452\n", "max_sum=2634, start=0, end=974\n", "max_sum=2310, start=562, end=903\n", "max_sum=1561, start=15, end=182\n", "max_sum=1320, start=359, end=622\n", "max_sum=1924, start=18, end=990\n", "max_sum=1404, start=661, end=768\n", "max_sum=1446, start=501, end=669\n", "max_sum=1103, start=52, end=153\n", "max_sum=1509, start=547, end=962\n", "max_sum=1888, start=595, end=853\n", "max_sum=2982, start=375, end=769\n", "max_sum=1695, start=290, end=405\n", "max_sum=1432, start=164, end=615\n", "max_sum=1085, start=245, end=423\n", "max_sum=2791, start=78, end=474\n", "max_sum=1838, start=66, end=236\n", "max_sum=1716, start=5, end=293\n", "max_sum=1450, start=0, end=189\n", "max_sum=1591, start=39, end=465\n", "max_sum=2322, start=658, end=982\n", "max_sum=1584, start=657, end=825\n", "max_sum=1402, start=305, end=627\n", "max_sum=1699, start=568, end=865\n", "max_sum=2303, start=98, end=593\n", "max_sum=1203, start=906, end=999\n", "max_sum=3082, start=276, end=981\n", "max_sum=1284, start=0, end=959\n", "max_sum=3012, start=111, end=999\n", "max_sum=2611, start=87, end=992\n", "max_sum=2739, start=14, end=999\n", "max_sum=1683, start=124, end=516\n", "max_sum=1734, start=670, end=978\n", "max_sum=1347, start=10, end=130\n", "max_sum=1074, start=195, end=280\n", "max_sum=2169, start=376, end=654\n", "max_sum=3707, start=0, end=999\n", "max_sum=1927, start=257, end=712\n", "max_sum=3699, start=136, end=690\n", "max_sum=2353, start=442, end=771\n", "max_sum=2806, start=225, end=669\n", "max_sum=2127, start=803, end=979\n", "max_sum=6091, start=14, end=996\n", "max_sum=2263, start=221, end=558\n", "max_sum=2115, start=240, end=926\n", "max_sum=2438, start=588, end=819\n", "max_sum=1964, start=816, end=961\n", "max_sum=1148, start=319, end=686\n", "max_sum=2278, start=153, end=369\n", "max_sum=2532, start=58, end=558\n", "max_sum=2717, start=133, end=970\n", "max_sum=2778, start=172, end=925\n", "max_sum=3160, start=408, end=994\n", "max_sum=3261, start=34, end=551\n", "max_sum=2533, start=28, end=545\n", "max_sum=2330, start=272, end=875\n", "max_sum=1535, start=98, end=390\n", "max_sum=3179, start=13, end=532\n", "max_sum=1498, start=620, end=719\n", "max_sum=1967, start=67, end=277\n", "max_sum=3294, start=10, end=919\n", "max_sum=2069, start=328, end=596\n", "max_sum=2227, start=165, end=793\n", "max_sum=3272, start=8, end=962\n", "max_sum=1255, start=815, end=947\n", "max_sum=1735, start=352, end=890\n", "max_sum=1734, start=111, end=482\n", "max_sum=1308, start=63, end=401\n", "max_sum=3515, start=256, end=925\n", "max_sum=1782, start=524, end=647\n", "max_sum=2178, start=7, end=254\n", "max_sum=2130, start=205, end=785\n", "max_sum=1892, start=360, end=555\n", "max_sum=1657, start=382, end=886\n", "max_sum=2471, start=79, end=303\n", "max_sum=3338, start=78, end=632\n", "max_sum=2325, start=16, end=333\n", "max_sum=3818, start=2, end=725\n", "max_sum=1825, start=0, end=717\n", "max_sum=1730, start=2, end=368\n", "max_sum=5030, start=44, end=988\n", "max_sum=5275, start=116, end=950\n", "max_sum=3173, start=125, end=439\n", "max_sum=4456, start=78, end=999\n", "max_sum=2269, start=504, end=682\n", "max_sum=2427, start=234, end=997\n", "max_sum=2837, start=104, end=541\n", "max_sum=1589, start=48, end=211\n", "max_sum=2597, start=446, end=957\n", "max_sum=1469, start=228, end=359\n", "max_sum=1306, start=36, end=93\n", "max_sum=1125, start=168, end=449\n", "max_sum=1973, start=371, end=824\n", "max_sum=4066, start=165, end=780\n", "max_sum=2185, start=450, end=918\n", "max_sum=2590, start=259, end=679\n", "max_sum=1211, start=706, end=890\n", "max_sum=3087, start=119, end=514\n", "max_sum=1324, start=589, end=831\n", "max_sum=818, start=636, end=665\n", "max_sum=1578, start=602, end=948\n", "max_sum=1858, start=129, end=429\n", "max_sum=2398, start=636, end=827\n", "max_sum=2090, start=604, end=962\n", "max_sum=2545, start=0, end=911\n", "max_sum=1556, start=130, end=202\n", "max_sum=3909, start=265, end=996\n", "max_sum=2620, start=382, end=911\n", "max_sum=1431, start=910, end=996\n", "max_sum=1677, start=65, end=670\n", "max_sum=4303, start=402, end=828\n", "max_sum=2194, start=69, end=514\n", "max_sum=1396, start=798, end=892\n", "max_sum=1569, start=284, end=714\n", "max_sum=4571, start=87, end=919\n", "max_sum=2109, start=525, end=887\n", "max_sum=3098, start=54, end=998\n", "max_sum=1620, start=0, end=136\n", "max_sum=3471, start=115, end=753\n", "max_sum=1960, start=296, end=710\n", "max_sum=1885, start=269, end=838\n", "max_sum=4979, start=3, end=937\n", "max_sum=1364, start=755, end=978\n", "max_sum=1508, start=655, end=992\n", "max_sum=1466, start=55, end=118\n", "max_sum=1792, start=308, end=623\n", "max_sum=938, start=923, end=996\n", "max_sum=1602, start=786, end=996\n", "max_sum=1168, start=477, end=603\n", "max_sum=1422, start=40, end=435\n", "max_sum=1741, start=507, end=687\n", "max_sum=1160, start=548, end=672\n", "max_sum=5727, start=0, end=759\n", "max_sum=1429, start=331, end=409\n", "max_sum=1774, start=161, end=706\n", "max_sum=1378, start=91, end=241\n", "max_sum=1394, start=384, end=776\n", "max_sum=3290, start=577, end=985\n", "max_sum=1940, start=62, end=461\n", "max_sum=1865, start=352, end=818\n", "max_sum=1254, start=819, end=913\n", "max_sum=1478, start=61, end=209\n", "max_sum=846, start=75, end=238\n", "max_sum=1659, start=60, end=172\n", "max_sum=4964, start=304, end=942\n", "max_sum=1363, start=74, end=943\n", "max_sum=2579, start=98, end=945\n", "max_sum=1760, start=468, end=639\n", "max_sum=2737, start=12, end=742\n", "max_sum=2012, start=25, end=386\n", "max_sum=1640, start=238, end=413\n", "max_sum=1803, start=32, end=713\n", "max_sum=1374, start=172, end=510\n", "max_sum=2281, start=723, end=996\n", "max_sum=1296, start=731, end=891\n", "max_sum=2902, start=118, end=351\n", "max_sum=1602, start=629, end=977\n", "max_sum=1831, start=419, end=864\n", "max_sum=2533, start=23, end=443\n", "max_sum=2027, start=156, end=494\n", "max_sum=1298, start=416, end=972\n", "max_sum=3517, start=311, end=956\n", "max_sum=2836, start=153, end=830\n", "max_sum=2860, start=685, end=971\n", "max_sum=1674, start=255, end=899\n", "max_sum=1861, start=539, end=959\n", "max_sum=2586, start=0, end=765\n", "max_sum=2971, start=589, end=941\n", "max_sum=3054, start=241, end=790\n", "max_sum=2797, start=24, end=479\n", "max_sum=1182, start=77, end=339\n", "max_sum=1587, start=819, end=960\n", "max_sum=1897, start=513, end=834\n", "max_sum=3663, start=135, end=602\n", "max_sum=2470, start=7, end=474\n", "max_sum=1437, start=853, end=999\n", "max_sum=1839, start=80, end=914\n", "max_sum=2816, start=183, end=912\n", "max_sum=3443, start=79, end=995\n", "max_sum=1002, start=930, end=992\n", "max_sum=1397, start=839, end=961\n", "max_sum=2766, start=313, end=905\n", "max_sum=1566, start=22, end=613\n", "max_sum=1521, start=95, end=624\n", "max_sum=1317, start=782, end=997\n", "max_sum=1419, start=190, end=330\n", "max_sum=1789, start=37, end=226\n", "max_sum=2029, start=267, end=599\n", "max_sum=1765, start=403, end=668\n", "max_sum=1641, start=72, end=231\n", "max_sum=1509, start=279, end=384\n", "max_sum=2128, start=159, end=646\n", "max_sum=1795, start=257, end=375\n", "max_sum=1934, start=492, end=969\n", "max_sum=1161, start=73, end=118\n", "max_sum=1798, start=405, end=829\n", "max_sum=2921, start=0, end=994\n", "max_sum=2223, start=184, end=945\n", "max_sum=4046, start=161, end=735\n", "max_sum=1406, start=245, end=387\n", "max_sum=2205, start=610, end=749\n", "max_sum=2165, start=0, end=688\n", "max_sum=3963, start=277, end=999\n", "max_sum=2429, start=3, end=684\n", "max_sum=2777, start=26, end=338\n", "max_sum=2825, start=158, end=858\n", "max_sum=3051, start=514, end=955\n", "max_sum=1065, start=759, end=866\n", "max_sum=2620, start=121, end=795\n", "max_sum=2008, start=658, end=917\n", "max_sum=1400, start=145, end=327\n", "max_sum=2071, start=22, end=219\n", "max_sum=2053, start=18, end=442\n", "max_sum=2441, start=331, end=930\n", "max_sum=2201, start=563, end=977\n", "max_sum=1769, start=588, end=686\n", "max_sum=3419, start=222, end=863\n", "max_sum=2457, start=431, end=918\n", "max_sum=1856, start=578, end=934\n", "max_sum=853, start=530, end=577\n", "max_sum=2735, start=247, end=893\n", "max_sum=1568, start=893, end=999\n", "max_sum=1405, start=33, end=185\n", "max_sum=3511, start=229, end=805\n", "max_sum=1194, start=412, end=573\n", "max_sum=1177, start=290, end=425\n", "max_sum=3013, start=227, end=986\n", "max_sum=1077, start=69, end=341\n", "max_sum=1054, start=704, end=814\n", "max_sum=2078, start=48, end=440\n", "max_sum=1058, start=116, end=227\n", "max_sum=3330, start=113, end=984\n", "max_sum=2234, start=88, end=845\n", "max_sum=1527, start=660, end=990\n", "max_sum=1710, start=664, end=808\n", "max_sum=1670, start=34, end=299\n", "max_sum=1720, start=0, end=422\n", "max_sum=2103, start=209, end=592\n", "max_sum=1844, start=842, end=972\n", "max_sum=3375, start=67, end=923\n", "max_sum=1417, start=23, end=236\n", "max_sum=2188, start=181, end=865\n", "max_sum=2232, start=615, end=972\n", "max_sum=1711, start=276, end=348\n", "max_sum=2510, start=393, end=787\n", "max_sum=1848, start=271, end=681\n", "max_sum=1377, start=444, end=668\n", "max_sum=1159, start=581, end=785\n", "max_sum=1771, start=362, end=623\n", "max_sum=1707, start=196, end=332\n", "max_sum=2673, start=11, end=884\n", "max_sum=2080, start=67, end=839\n", "max_sum=1793, start=738, end=937\n", "max_sum=2603, start=74, end=883\n", "max_sum=1871, start=153, end=938\n", "max_sum=2397, start=117, end=848\n", "max_sum=1528, start=392, end=631\n", "max_sum=2234, start=0, end=541\n", "max_sum=2113, start=388, end=802\n", "max_sum=2726, start=172, end=494\n", "max_sum=1446, start=46, end=387\n", "max_sum=1971, start=751, end=978\n", "max_sum=1699, start=243, end=443\n", "max_sum=1537, start=182, end=555\n", "max_sum=1766, start=692, end=919\n", "max_sum=1316, start=793, end=994\n", "max_sum=2370, start=285, end=549\n", "max_sum=1369, start=930, end=996\n", "max_sum=2151, start=597, end=970\n", "max_sum=999, start=346, end=530\n", "max_sum=2454, start=470, end=844\n", "max_sum=3198, start=287, end=933\n", "max_sum=1879, start=0, end=255\n", "max_sum=1028, start=872, end=999\n", "max_sum=1243, start=871, end=925\n", "max_sum=2841, start=300, end=908\n", "max_sum=2423, start=522, end=956\n", "max_sum=1131, start=125, end=187\n", "max_sum=3868, start=159, end=734\n", "max_sum=1596, start=17, end=222\n", "max_sum=1184, start=476, end=604\n", "max_sum=1426, start=16, end=269\n", "max_sum=2953, start=0, end=530\n", "max_sum=4094, start=22, end=686\n", "max_sum=2522, start=220, end=501\n", "max_sum=3131, start=13, end=999\n", "max_sum=3717, start=33, end=839\n", "max_sum=3273, start=303, end=807\n", "max_sum=3972, start=468, end=835\n", "max_sum=3017, start=16, end=760\n", "max_sum=1995, start=134, end=219\n", "max_sum=1944, start=7, end=96\n", "max_sum=1336, start=9, end=178\n", "max_sum=2510, start=477, end=965\n", "max_sum=965, start=325, end=496\n", "max_sum=3073, start=93, end=931\n", "max_sum=2525, start=285, end=429\n", "max_sum=1628, start=133, end=495\n", "max_sum=1519, start=369, end=773\n", "max_sum=2886, start=584, end=942\n", "max_sum=1854, start=26, end=501\n", "max_sum=3057, start=127, end=774\n", "max_sum=1735, start=113, end=371\n", "max_sum=2112, start=831, end=999\n", "max_sum=1163, start=588, end=647\n", "max_sum=1845, start=12, end=613\n", "max_sum=1751, start=438, end=671\n", "max_sum=1294, start=0, end=215\n", "max_sum=1677, start=258, end=461\n", "max_sum=2220, start=195, end=839\n", "max_sum=2097, start=152, end=919\n", "max_sum=2680, start=445, end=996\n", "max_sum=1589, start=816, end=957\n", "max_sum=1696, start=649, end=815\n", "max_sum=1337, start=11, end=104\n", "max_sum=3040, start=12, end=497\n", "max_sum=2296, start=168, end=837\n", "max_sum=3129, start=386, end=920\n", "max_sum=1554, start=701, end=901\n", "max_sum=4985, start=64, end=931\n", "max_sum=1436, start=431, end=650\n", "max_sum=1309, start=498, end=741\n", "max_sum=1358, start=202, end=339\n", "max_sum=2748, start=376, end=898\n", "max_sum=2061, start=63, end=947\n", "max_sum=1739, start=237, end=395\n", "max_sum=1100, start=466, end=793\n", "max_sum=3601, start=523, end=997\n", "max_sum=2485, start=8, end=192\n", "max_sum=2957, start=0, end=381\n", "max_sum=2636, start=432, end=893\n", "max_sum=889, start=595, end=731\n", "max_sum=4298, start=124, end=818\n", "max_sum=1785, start=73, end=477\n", "max_sum=1651, start=570, end=958\n", "max_sum=1048, start=679, end=827\n", "max_sum=1660, start=170, end=998\n", "max_sum=1760, start=720, end=961\n", "max_sum=2745, start=782, end=989\n", "max_sum=3071, start=43, end=680\n", "max_sum=4714, start=0, end=821\n", "max_sum=1715, start=0, end=134\n", "max_sum=2129, start=240, end=984\n", "max_sum=1032, start=422, end=555\n", "max_sum=1373, start=558, end=734\n", "max_sum=2346, start=430, end=667\n", "max_sum=1960, start=285, end=636\n", "max_sum=1391, start=586, end=733\n", "max_sum=3152, start=0, end=547\n", "max_sum=1885, start=289, end=803\n", "max_sum=1354, start=168, end=374\n", "max_sum=1277, start=580, end=760\n", "max_sum=4135, start=143, end=996\n", "max_sum=2557, start=386, end=886\n", "max_sum=2652, start=0, end=994\n", "max_sum=2637, start=2, end=523\n", "max_sum=3958, start=57, end=456\n", "max_sum=2857, start=2, end=913\n", "max_sum=2338, start=19, end=734\n", "max_sum=1548, start=823, end=999\n", "max_sum=1942, start=25, end=347\n", "max_sum=1850, start=339, end=823\n", "max_sum=2384, start=77, end=645\n", "max_sum=1221, start=188, end=387\n", "max_sum=3586, start=488, end=982\n", "max_sum=3199, start=21, end=728\n", "max_sum=2960, start=119, end=837\n", "max_sum=3798, start=27, end=713\n", "max_sum=3528, start=172, end=754\n", "max_sum=1457, start=516, end=656\n", "max_sum=2628, start=0, end=673\n", "max_sum=2854, start=228, end=974\n", "max_sum=3175, start=218, end=546\n", "max_sum=1993, start=411, end=700\n", "max_sum=3331, start=102, end=919\n", "max_sum=1274, start=208, end=350\n", "max_sum=1464, start=171, end=587\n", "max_sum=2235, start=159, end=623\n", "max_sum=1581, start=571, end=679\n", "max_sum=1537, start=341, end=626\n", "max_sum=1168, start=563, end=703\n", "max_sum=2807, start=643, end=937\n", "max_sum=2388, start=454, end=899\n", "max_sum=2089, start=637, end=780\n", "max_sum=1698, start=463, end=673\n", "max_sum=1496, start=214, end=510\n", "max_sum=4432, start=7, end=989\n", "max_sum=2118, start=533, end=718\n", "max_sum=1497, start=101, end=464\n", "max_sum=1434, start=580, end=813\n", "max_sum=2237, start=771, end=998\n", "max_sum=2292, start=467, end=997\n", "max_sum=1122, start=823, end=962\n", "max_sum=1574, start=223, end=466\n", "max_sum=3096, start=2, end=745\n", "max_sum=1203, start=537, end=717\n", "max_sum=2126, start=633, end=999\n", "max_sum=1494, start=473, end=735\n", "max_sum=2699, start=490, end=915\n", "max_sum=1680, start=487, end=615\n", "max_sum=1097, start=685, end=759\n", "max_sum=1280, start=488, end=722\n", "max_sum=1626, start=3, end=464\n", "max_sum=2214, start=25, end=385\n", "max_sum=2226, start=84, end=992\n", "max_sum=2792, start=225, end=627\n", "max_sum=1231, start=846, end=952\n", "max_sum=1650, start=41, end=240\n", "max_sum=1886, start=5, end=256\n", "max_sum=974, start=139, end=244\n", "max_sum=2442, start=257, end=422\n", "max_sum=1678, start=214, end=540\n", "max_sum=3098, start=136, end=992\n", "max_sum=1760, start=349, end=516\n", "max_sum=1185, start=601, end=689\n", "max_sum=1106, start=121, end=278\n", "max_sum=2883, start=99, end=837\n", "max_sum=2667, start=122, end=597\n", "max_sum=1682, start=7, end=623\n", "max_sum=2456, start=556, end=975\n", "max_sum=1580, start=456, end=968\n", "max_sum=1694, start=725, end=890\n", "max_sum=3941, start=110, end=979\n", "max_sum=4377, start=3, end=838\n", "max_sum=4375, start=155, end=889\n", "max_sum=1679, start=733, end=975\n", "max_sum=1465, start=203, end=307\n", "max_sum=2051, start=598, end=996\n", "max_sum=1656, start=448, end=618\n", "max_sum=4439, start=50, end=944\n", "max_sum=3303, start=192, end=845\n", "max_sum=3848, start=25, end=965\n", "max_sum=1253, start=205, end=385\n", "max_sum=2292, start=596, end=969\n", "max_sum=4299, start=270, end=999\n", "max_sum=1518, start=509, end=758\n", "max_sum=3153, start=384, end=996\n", "max_sum=4012, start=102, end=641\n", "max_sum=2047, start=162, end=349\n", "max_sum=1732, start=5, end=835\n", "max_sum=1069, start=821, end=991\n", "max_sum=2170, start=37, end=192\n", "max_sum=1011, start=484, end=576\n", "max_sum=1303, start=217, end=434\n", "max_sum=4151, start=51, end=557\n", "max_sum=2316, start=403, end=974\n", "max_sum=1207, start=287, end=424\n", "max_sum=1508, start=61, end=172\n", "max_sum=972, start=846, end=991\n", "max_sum=1886, start=166, end=783\n", "max_sum=3097, start=574, end=933\n", "max_sum=2083, start=435, end=999\n", "max_sum=2354, start=402, end=822\n", "max_sum=3527, start=24, end=954\n", "max_sum=1091, start=531, end=606\n", "max_sum=1454, start=510, end=860\n", "max_sum=2872, start=225, end=628\n", "max_sum=2637, start=244, end=848\n", "max_sum=3209, start=257, end=951\n", "max_sum=3867, start=194, end=877\n", "max_sum=2289, start=190, end=538\n", "max_sum=2146, start=618, end=866\n", "max_sum=1981, start=363, end=757\n", "max_sum=1425, start=574, end=819\n", "max_sum=2956, start=9, end=633\n", "max_sum=2069, start=416, end=738\n", "max_sum=2367, start=568, end=855\n", "max_sum=2807, start=580, end=980\n", "max_sum=1520, start=802, end=902\n", "max_sum=951, start=924, end=982\n", "max_sum=2370, start=610, end=942\n", "max_sum=2858, start=474, end=892\n", "max_sum=913, start=734, end=772\n", "max_sum=2797, start=389, end=820\n", "max_sum=2297, start=12, end=904\n", "max_sum=3039, start=10, end=837\n", "max_sum=2415, start=0, end=707\n", "max_sum=2240, start=52, end=801\n", "max_sum=1561, start=3, end=141\n", "max_sum=2219, start=627, end=829\n", "max_sum=1620, start=62, end=405\n", "max_sum=1797, start=747, end=994\n", "max_sum=1696, start=335, end=616\n", "max_sum=2631, start=397, end=746\n", "max_sum=2402, start=321, end=999\n", "max_sum=1280, start=131, end=338\n", "max_sum=2703, start=41, end=725\n", "max_sum=3411, start=116, end=960\n", "max_sum=1872, start=198, end=357\n", "max_sum=1732, start=450, end=622\n", "max_sum=1752, start=574, end=750\n", "max_sum=1019, start=617, end=791\n", "max_sum=2321, start=4, end=745\n", "max_sum=1580, start=99, end=431\n", "max_sum=1258, start=645, end=767\n", "max_sum=1975, start=341, end=847\n", "max_sum=3817, start=556, end=918\n", "max_sum=4134, start=237, end=986\n", "max_sum=2247, start=471, end=621\n", "max_sum=2155, start=44, end=310\n", "max_sum=3493, start=399, end=970\n", "max_sum=4236, start=35, end=836\n", "max_sum=1098, start=89, end=308\n", "max_sum=3120, start=540, end=761\n", "max_sum=2091, start=719, end=985\n", "max_sum=3255, start=24, end=880\n", "max_sum=2366, start=129, end=953\n", "max_sum=1496, start=403, end=589\n", "max_sum=2080, start=46, end=478\n", "max_sum=1388, start=11, end=344\n", "max_sum=999, start=203, end=287\n", "max_sum=1496, start=62, end=285\n", "max_sum=3283, start=678, end=935\n", "max_sum=2286, start=56, end=657\n", "max_sum=1345, start=655, end=713\n", "max_sum=1681, start=71, end=207\n", "max_sum=2741, start=7, end=456\n", "max_sum=1408, start=127, end=255\n", "max_sum=1790, start=771, end=914\n", "max_sum=4552, start=173, end=982\n", "max_sum=4264, start=568, end=998\n", "max_sum=3155, start=260, end=489\n", "max_sum=3147, start=215, end=991\n", "max_sum=3584, start=321, end=931\n", "max_sum=2647, start=201, end=759\n", "max_sum=2587, start=399, end=923\n", "max_sum=2125, start=385, end=788\n", "max_sum=1596, start=773, end=997\n", "max_sum=2954, start=399, end=765\n", "max_sum=2130, start=495, end=956\n", "max_sum=1369, start=4, end=75\n", "max_sum=2752, start=44, end=588\n", "max_sum=1602, start=638, end=839\n", "max_sum=1620, start=293, end=420\n", "max_sum=1676, start=80, end=445\n", "max_sum=2084, start=501, end=999\n", "max_sum=1201, start=403, end=521\n", "max_sum=1181, start=871, end=993\n", "max_sum=1204, start=530, end=592\n", "max_sum=1077, start=877, end=999\n", "max_sum=1972, start=25, end=769\n", "max_sum=4498, start=98, end=990\n", "max_sum=1097, start=777, end=860\n", "max_sum=1467, start=953, end=998\n", "max_sum=2420, start=141, end=782\n", "max_sum=1953, start=158, end=997\n", "max_sum=1618, start=135, end=264\n", "max_sum=1127, start=498, end=672\n", "max_sum=3813, start=132, end=458\n", "max_sum=2035, start=679, end=829\n", "max_sum=2646, start=504, end=979\n", "max_sum=3390, start=139, end=679\n", "max_sum=1712, start=350, end=508\n", "max_sum=1530, start=694, end=922\n", "max_sum=1494, start=43, end=679\n", "max_sum=1688, start=194, end=449\n", "max_sum=1904, start=549, end=903\n", "max_sum=2393, start=111, end=414\n", "max_sum=1495, start=491, end=636\n", "max_sum=2297, start=304, end=720\n", "max_sum=4787, start=30, end=977\n", "max_sum=3831, start=203, end=954\n", "max_sum=2823, start=297, end=789\n", "max_sum=2151, start=35, end=446\n", "max_sum=1841, start=33, end=193\n", "max_sum=1708, start=142, end=993\n", "max_sum=1672, start=0, end=199\n", "max_sum=1650, start=112, end=498\n", "max_sum=941, start=129, end=284\n", "max_sum=1335, start=617, end=979\n", "max_sum=2630, start=51, end=436\n", "max_sum=2328, start=18, end=291\n", "max_sum=1955, start=322, end=790\n", "max_sum=2789, start=3, end=930\n", "max_sum=1492, start=162, end=468\n", "max_sum=1052, start=786, end=898\n", "max_sum=2671, start=718, end=970\n", "max_sum=1726, start=517, end=695\n", "max_sum=3359, start=126, end=856\n", "max_sum=2305, start=153, end=925\n", "max_sum=1263, start=380, end=447\n", "max_sum=2904, start=9, end=659\n", "max_sum=1316, start=7, end=413\n", "max_sum=1456, start=123, end=460\n", "max_sum=2309, start=632, end=998\n", "max_sum=4709, start=249, end=842\n", "max_sum=1317, start=275, end=768\n", "max_sum=3670, start=36, end=991\n", "max_sum=3657, start=42, end=685\n", "max_sum=3236, start=176, end=848\n", "max_sum=1466, start=67, end=551\n", "max_sum=1643, start=828, end=973\n", "max_sum=931, start=418, end=473\n", "max_sum=4183, start=201, end=967\n", "max_sum=1363, start=516, end=643\n", "max_sum=3163, start=9, end=701\n", "max_sum=1560, start=533, end=657\n", "max_sum=1684, start=554, end=755\n", "max_sum=1988, start=7, end=875\n", "max_sum=2253, start=186, end=419\n", "max_sum=1331, start=171, end=540\n", "max_sum=1981, start=3, end=402\n", "max_sum=1371, start=802, end=957\n", "max_sum=1456, start=575, end=816\n", "max_sum=2380, start=670, end=995\n", "max_sum=1608, start=321, end=489\n", "max_sum=2871, start=73, end=487\n", "max_sum=1841, start=268, end=949\n", "max_sum=1433, start=655, end=889\n", "max_sum=3005, start=102, end=981\n", "max_sum=3595, start=43, end=971\n", "max_sum=1917, start=551, end=820\n", "max_sum=5657, start=154, end=989\n", "max_sum=4259, start=75, end=777\n", "max_sum=1765, start=305, end=495\n", "max_sum=3473, start=85, end=487\n", "max_sum=1965, start=330, end=889\n", "max_sum=1994, start=0, end=225\n", "max_sum=1591, start=92, end=239\n", "max_sum=1367, start=621, end=894\n", "max_sum=1317, start=8, end=76\n", "max_sum=2654, start=32, end=417\n", "max_sum=1685, start=0, end=307\n", "max_sum=1987, start=307, end=858\n", "max_sum=1058, start=250, end=485\n", "max_sum=1760, start=53, end=180\n", "max_sum=2185, start=251, end=671\n", "max_sum=2304, start=171, end=771\n", "max_sum=2038, start=14, end=976\n", "max_sum=1586, start=357, end=995\n", "max_sum=4675, start=7, end=498\n", "max_sum=1766, start=775, end=965\n", "max_sum=2124, start=568, end=934\n", "max_sum=1862, start=357, end=641\n", "max_sum=2569, start=203, end=999\n", "max_sum=2367, start=605, end=999\n", "max_sum=1066, start=652, end=796\n", "max_sum=1644, start=0, end=101\n", "max_sum=2193, start=216, end=495\n", "max_sum=2254, start=116, end=962\n", "max_sum=1299, start=118, end=204\n", "max_sum=2722, start=85, end=788\n", "max_sum=2869, start=9, end=985\n", "max_sum=1410, start=97, end=216\n", "max_sum=2934, start=183, end=682\n", "max_sum=966, start=43, end=111\n", "max_sum=2200, start=651, end=797\n", "max_sum=1597, start=46, end=889\n", "max_sum=977, start=313, end=345\n", "max_sum=1428, start=297, end=431\n", "max_sum=1856, start=333, end=418\n", "max_sum=4077, start=26, end=999\n", "max_sum=3541, start=4, end=963\n", "max_sum=1845, start=259, end=935\n", "max_sum=1640, start=43, end=437\n", "max_sum=1830, start=199, end=519\n", "max_sum=1492, start=527, end=693\n", "max_sum=1900, start=678, end=987\n", "max_sum=2392, start=52, end=840\n", "max_sum=3921, start=670, end=991\n", "max_sum=2008, start=452, end=670\n", "max_sum=988, start=551, end=673\n", "max_sum=1969, start=293, end=951\n", "max_sum=4390, start=15, end=917\n", "max_sum=994, start=59, end=139\n", "max_sum=3493, start=25, end=997\n", "max_sum=785, start=742, end=878\n", "max_sum=1462, start=64, end=328\n", "max_sum=2896, start=0, end=997\n", "max_sum=1690, start=11, end=197\n", "max_sum=1420, start=837, end=998\n", "max_sum=2263, start=136, end=936\n", "max_sum=1350, start=642, end=999\n", "max_sum=2199, start=87, end=426\n", "max_sum=1596, start=752, end=973\n", "max_sum=2321, start=0, end=232\n", "max_sum=3562, start=84, end=708\n", "max_sum=2529, start=204, end=840\n", "max_sum=1895, start=0, end=381\n", "max_sum=930, start=338, end=426\n", "max_sum=2444, start=144, end=668\n", "max_sum=1246, start=854, end=957\n", "max_sum=2839, start=42, end=772\n", "max_sum=1301, start=82, end=389\n", "max_sum=4689, start=8, end=732\n", "max_sum=5487, start=3, end=920\n", "max_sum=1751, start=601, end=847\n", "max_sum=3089, start=24, end=819\n", "max_sum=1858, start=247, end=947\n", "max_sum=1802, start=683, end=999\n", "max_sum=1115, start=500, end=842\n", "max_sum=2763, start=28, end=265\n", "max_sum=1107, start=110, end=376\n", "max_sum=1910, start=94, end=296\n", "max_sum=1187, start=4, end=246\n", "max_sum=1300, start=412, end=696\n", "max_sum=2811, start=95, end=828\n", "max_sum=2241, start=37, end=284\n", "max_sum=1822, start=268, end=647\n", "max_sum=1822, start=56, end=532\n", "max_sum=1447, start=629, end=996\n", "max_sum=2398, start=35, end=278\n", "max_sum=3437, start=155, end=954\n", "max_sum=1372, start=670, end=787\n", "max_sum=1916, start=531, end=885\n", "max_sum=4988, start=10, end=870\n", "max_sum=1415, start=789, end=965\n", "max_sum=4366, start=302, end=731\n", "max_sum=1742, start=235, end=350\n", "max_sum=3269, start=481, end=995\n", "max_sum=1628, start=6, end=648\n", "max_sum=1975, start=120, end=745\n", "max_sum=1363, start=555, end=711\n", "max_sum=3464, start=30, end=912\n", "max_sum=2070, start=331, end=908\n", "max_sum=1572, start=511, end=635\n", "max_sum=2374, start=0, end=361\n", "max_sum=2879, start=0, end=675\n", "max_sum=3054, start=239, end=936\n", "max_sum=3744, start=324, end=986\n", "max_sum=2605, start=276, end=824\n", "max_sum=1183, start=2, end=71\n", "max_sum=2661, start=168, end=790\n", "max_sum=2503, start=89, end=844\n", "max_sum=1982, start=190, end=946\n", "max_sum=2963, start=333, end=990\n", "max_sum=1755, start=17, end=940\n", "max_sum=2140, start=729, end=952\n", "max_sum=2984, start=52, end=982\n", "max_sum=2153, start=177, end=741\n", "max_sum=1592, start=470, end=999\n", "max_sum=2540, start=607, end=965\n", "max_sum=750, start=613, end=656\n", "max_sum=5824, start=13, end=993\n", "max_sum=1249, start=119, end=243\n", "max_sum=1014, start=301, end=427\n", "max_sum=2344, start=445, end=764\n", "max_sum=2737, start=198, end=993\n", "max_sum=1256, start=13, end=308\n", "max_sum=1021, start=901, end=933\n", "max_sum=2980, start=181, end=531\n", "max_sum=1005, start=628, end=693\n", "max_sum=1994, start=605, end=975\n", "max_sum=3529, start=49, end=879\n", "max_sum=2872, start=365, end=980\n", "max_sum=2832, start=16, end=612\n", "max_sum=3692, start=127, end=671\n", "max_sum=746, start=848, end=872\n", "max_sum=1907, start=100, end=641\n", "max_sum=2696, start=152, end=456\n", "max_sum=1464, start=137, end=247\n", "max_sum=4708, start=115, end=999\n", "max_sum=3130, start=64, end=547\n", "max_sum=1348, start=238, end=531\n", "max_sum=1632, start=87, end=486\n", "max_sum=853, start=213, end=283\n", "max_sum=2562, start=488, end=741\n", "max_sum=4579, start=27, end=978\n", "max_sum=2750, start=19, end=474\n", "max_sum=1209, start=820, end=966\n", "max_sum=2918, start=90, end=777\n", "max_sum=2810, start=105, end=999\n", "max_sum=1371, start=481, end=608\n", "max_sum=1237, start=63, end=198\n", "max_sum=1689, start=277, end=488\n", "max_sum=1855, start=3, end=954\n", "max_sum=2453, start=148, end=466\n", "max_sum=1681, start=16, end=179\n", "max_sum=3262, start=166, end=711\n", "max_sum=2377, start=191, end=467\n", "max_sum=998, start=505, end=558\n", "max_sum=2632, start=391, end=926\n", "max_sum=3320, start=424, end=999\n", "max_sum=2741, start=56, end=917\n", "max_sum=2195, start=171, end=811\n", "max_sum=1225, start=36, end=217\n", "max_sum=2175, start=452, end=799\n", "max_sum=1168, start=705, end=985\n", "max_sum=3199, start=0, end=859\n", "max_sum=1321, start=235, end=388\n", "max_sum=1863, start=8, end=249\n", "max_sum=2492, start=45, end=997\n", "max_sum=3194, start=393, end=735\n", "max_sum=1337, start=412, end=499\n", "max_sum=3733, start=150, end=455\n", "max_sum=4604, start=3, end=696\n", "max_sum=3758, start=76, end=876\n", "max_sum=1464, start=0, end=572\n", "max_sum=1702, start=9, end=521\n", "max_sum=3201, start=21, end=470\n", "max_sum=2989, start=277, end=943\n", "max_sum=1637, start=525, end=980\n", "max_sum=3074, start=462, end=711\n", "max_sum=1100, start=55, end=333\n", "max_sum=3117, start=182, end=819\n", "max_sum=2159, start=841, end=973\n", "max_sum=1829, start=494, end=682\n", "max_sum=1372, start=727, end=957\n", "max_sum=1371, start=27, end=403\n", "max_sum=1399, start=126, end=295\n", "max_sum=1734, start=432, end=661\n", "max_sum=3148, start=157, end=999\n", "max_sum=1537, start=595, end=819\n", "max_sum=1935, start=62, end=554\n", "max_sum=1958, start=469, end=991\n", "max_sum=5134, start=12, end=972\n", "max_sum=5939, start=6, end=998\n", "max_sum=3955, start=245, end=999\n", "max_sum=2144, start=311, end=560\n", "max_sum=1414, start=151, end=294\n", "max_sum=2467, start=318, end=703\n", "max_sum=1026, start=106, end=293\n", "max_sum=1053, start=20, end=62\n", "max_sum=912, start=331, end=401\n", "max_sum=2233, start=165, end=542\n", "max_sum=2651, start=26, end=958\n", "max_sum=1231, start=16, end=128\n", "max_sum=3398, start=0, end=695\n", "max_sum=1517, start=328, end=490\n", "max_sum=2835, start=40, end=440\n", "max_sum=1914, start=799, end=994\n", "max_sum=1451, start=768, end=876\n", "max_sum=1269, start=404, end=511\n", "max_sum=2215, start=657, end=927\n", "max_sum=1204, start=725, end=872\n", "max_sum=3085, start=229, end=949\n", "max_sum=1952, start=802, end=998\n", "max_sum=2544, start=157, end=463\n", "max_sum=1401, start=888, end=999\n", "max_sum=3079, start=107, end=639\n", "max_sum=1659, start=357, end=651\n", "max_sum=4037, start=119, end=752\n", "max_sum=2641, start=2, end=972\n", "max_sum=1588, start=104, end=418\n", "max_sum=2514, start=185, end=350\n", "max_sum=1904, start=599, end=995\n", "max_sum=1263, start=120, end=386\n", "max_sum=2917, start=270, end=439\n", "max_sum=1561, start=33, end=283\n", "max_sum=2308, start=693, end=999\n", "max_sum=2975, start=674, end=986\n", "max_sum=785, start=235, end=268\n", "max_sum=1514, start=621, end=867\n", "max_sum=2852, start=50, end=557\n", "max_sum=1153, start=455, end=664\n", "max_sum=2055, start=116, end=253\n", "max_sum=1785, start=777, end=990\n", "max_sum=1587, start=282, end=483\n", "max_sum=1018, start=895, end=980\n", "max_sum=1403, start=537, end=743\n", "max_sum=3260, start=24, end=502\n", "max_sum=1244, start=487, end=673\n", "max_sum=1308, start=320, end=576\n", "max_sum=2500, start=472, end=790\n", "max_sum=1567, start=255, end=422\n", "max_sum=878, start=594, end=648\n", "max_sum=1160, start=67, end=259\n", "max_sum=4569, start=6, end=976\n", "max_sum=2677, start=19, end=984\n", "max_sum=2407, start=384, end=831\n", "max_sum=3236, start=64, end=509\n", "max_sum=1553, start=416, end=553\n", "max_sum=1547, start=288, end=667\n", "max_sum=6119, start=233, end=998\n", "max_sum=2491, start=24, end=317\n", "max_sum=2436, start=142, end=917\n", "max_sum=1507, start=165, end=635\n", "max_sum=2265, start=212, end=866\n", "max_sum=1484, start=371, end=610\n", "max_sum=3327, start=215, end=720\n", "max_sum=1820, start=53, end=224\n", "max_sum=2903, start=152, end=799\n", "max_sum=1840, start=114, end=218\n", "max_sum=1847, start=197, end=999\n", "max_sum=3628, start=157, end=998\n", "max_sum=1452, start=205, end=360\n", "max_sum=1152, start=867, end=998\n", "max_sum=1589, start=526, end=999\n", "max_sum=3028, start=395, end=833\n", "max_sum=2260, start=267, end=849\n", "max_sum=3998, start=5, end=969\n", "max_sum=1340, start=161, end=418\n", "max_sum=2519, start=594, end=998\n", "max_sum=899, start=579, end=652\n", "max_sum=2196, start=111, end=704\n", "max_sum=2448, start=473, end=778\n", "max_sum=1006, start=226, end=334\n", "max_sum=1537, start=408, end=472\n", "max_sum=2298, start=6, end=955\n", "max_sum=2266, start=716, end=868\n", "max_sum=1061, start=89, end=218\n", "max_sum=2387, start=35, end=575\n", "max_sum=2285, start=424, end=742\n", "max_sum=2068, start=14, end=191\n", "max_sum=4143, start=85, end=975\n", "max_sum=2121, start=605, end=995\n", "max_sum=3012, start=2, end=953\n", "max_sum=3301, start=238, end=760\n", "max_sum=4403, start=74, end=651\n", "max_sum=4426, start=326, end=989\n", "max_sum=1811, start=411, end=661\n", "max_sum=3544, start=208, end=921\n", "max_sum=1871, start=23, end=988\n", "max_sum=2161, start=23, end=674\n", "max_sum=2281, start=129, end=233\n", "max_sum=1675, start=733, end=829\n", "max_sum=2107, start=395, end=948\n", "max_sum=1915, start=105, end=479\n", "max_sum=2732, start=109, end=943\n", "max_sum=2078, start=216, end=743\n", "max_sum=3642, start=194, end=468\n", "max_sum=3395, start=17, end=536\n", "max_sum=2794, start=274, end=862\n", "max_sum=2789, start=70, end=590\n", "max_sum=2324, start=423, end=907\n", "max_sum=1854, start=77, end=910\n", "max_sum=3472, start=325, end=913\n", "max_sum=1328, start=276, end=931\n", "max_sum=925, start=890, end=996\n", "max_sum=1811, start=188, end=840\n", "max_sum=2301, start=132, end=566\n", "max_sum=1197, start=327, end=523\n", "max_sum=1910, start=318, end=849\n", "max_sum=1549, start=125, end=377\n", "max_sum=1166, start=254, end=471\n", "max_sum=882, start=834, end=922\n", "max_sum=1406, start=0, end=332\n", "max_sum=1100, start=595, end=755\n", "max_sum=1247, start=8, end=96\n", "max_sum=2226, start=393, end=644\n", "max_sum=1884, start=624, end=709\n", "max_sum=2445, start=216, end=802\n", "max_sum=1968, start=438, end=959\n", "max_sum=2456, start=626, end=791\n", "max_sum=1698, start=516, end=986\n", "max_sum=1214, start=295, end=335\n", "max_sum=3423, start=714, end=999\n", "max_sum=2751, start=38, end=548\n", "max_sum=2093, start=293, end=815\n", "max_sum=1456, start=682, end=891\n", "max_sum=2441, start=27, end=221\n", "max_sum=2186, start=6, end=236\n", "max_sum=1752, start=817, end=999\n", "max_sum=1681, start=11, end=68\n", "max_sum=2375, start=358, end=668\n", "max_sum=4635, start=169, end=971\n", "max_sum=2666, start=9, end=350\n", "max_sum=2407, start=202, end=500\n", "max_sum=1514, start=867, end=982\n", "max_sum=1124, start=852, end=955\n", "max_sum=1697, start=454, end=601\n", "max_sum=1368, start=354, end=504\n", "max_sum=2644, start=131, end=923\n", "max_sum=1746, start=786, end=998\n", "max_sum=1807, start=29, end=171\n", "max_sum=1997, start=426, end=863\n", "max_sum=973, start=205, end=467\n", "max_sum=1607, start=127, end=387\n", "max_sum=1890, start=63, end=420\n", "max_sum=1085, start=528, end=559\n", "max_sum=1374, start=127, end=391\n", "max_sum=2614, start=84, end=711\n", "max_sum=4277, start=3, end=897\n", "max_sum=2053, start=787, end=953\n", "max_sum=5215, start=52, end=591\n", "max_sum=3397, start=47, end=789\n", "max_sum=2369, start=107, end=928\n", "max_sum=2874, start=304, end=715\n", "max_sum=1371, start=0, end=94\n", "max_sum=4517, start=0, end=926\n", "max_sum=2177, start=504, end=993\n", "max_sum=1164, start=500, end=766\n", "max_sum=2324, start=8, end=331\n", "max_sum=1816, start=419, end=621\n", "max_sum=2040, start=252, end=409\n", "max_sum=2548, start=58, end=746\n", "max_sum=2426, start=251, end=981\n", "max_sum=3123, start=192, end=846\n", "max_sum=2203, start=244, end=458\n", "max_sum=1395, start=421, end=655\n", "max_sum=1084, start=537, end=739\n", "max_sum=2475, start=8, end=470\n", "max_sum=3495, start=241, end=961\n", "max_sum=2330, start=474, end=894\n", "max_sum=3323, start=145, end=825\n", "max_sum=2012, start=13, end=227\n", "max_sum=1393, start=630, end=694\n", "max_sum=2792, start=478, end=781\n", "max_sum=1798, start=400, end=771\n", "max_sum=1611, start=443, end=863\n", "max_sum=1834, start=651, end=928\n", "max_sum=1729, start=202, end=511\n", "max_sum=1196, start=649, end=716\n", "max_sum=2244, start=256, end=507\n", "max_sum=1891, start=375, end=682\n", "max_sum=1380, start=67, end=328\n", "max_sum=2774, start=251, end=673\n", "max_sum=1178, start=672, end=949\n", "max_sum=1525, start=259, end=457\n", "max_sum=2766, start=291, end=923\n", "max_sum=4171, start=275, end=992\n", "max_sum=2438, start=85, end=604\n", "max_sum=1493, start=23, end=102\n", "max_sum=1287, start=2, end=196\n", "max_sum=837, start=73, end=125\n", "max_sum=2662, start=0, end=763\n", "max_sum=3012, start=114, end=373\n", "max_sum=958, start=42, end=196\n", "max_sum=2612, start=0, end=555\n", "max_sum=3124, start=179, end=725\n", "max_sum=1483, start=60, end=332\n", "max_sum=1332, start=265, end=509\n", "max_sum=926, start=81, end=305\n", "max_sum=1526, start=717, end=999\n", "max_sum=1260, start=774, end=989\n", "max_sum=1466, start=679, end=917\n", "max_sum=4308, start=103, end=996\n", "max_sum=1253, start=867, end=936\n", "max_sum=2052, start=412, end=995\n", "max_sum=2419, start=495, end=999\n", "max_sum=1978, start=823, end=989\n", "max_sum=3575, start=101, end=883\n", "max_sum=3253, start=55, end=794\n", "max_sum=2150, start=534, end=999\n", "max_sum=2201, start=129, end=396\n", "max_sum=1924, start=366, end=879\n", "max_sum=1836, start=497, end=906\n", "max_sum=2602, start=199, end=962\n", "max_sum=1048, start=5, end=73\n", "max_sum=1277, start=52, end=276\n", "max_sum=3119, start=227, end=834\n", "max_sum=2505, start=11, end=901\n", "max_sum=976, start=666, end=748\n", "max_sum=1293, start=272, end=410\n", "max_sum=1242, start=672, end=790\n", "max_sum=2371, start=689, end=844\n", "max_sum=3616, start=109, end=860\n", "max_sum=2224, start=27, end=443\n", "max_sum=1876, start=0, end=87\n", "max_sum=1092, start=133, end=278\n", "max_sum=1618, start=96, end=182\n", "max_sum=3203, start=89, end=829\n", "max_sum=2608, start=421, end=865\n", "max_sum=3149, start=352, end=963\n", "max_sum=1016, start=96, end=175\n", "max_sum=1196, start=28, end=72\n", "max_sum=5395, start=293, end=994\n", "max_sum=2009, start=36, end=482\n", "max_sum=1903, start=5, end=728\n", "max_sum=4477, start=82, end=720\n", "max_sum=2708, start=394, end=931\n", "max_sum=2464, start=425, end=619\n", "max_sum=2190, start=3, end=271\n", "max_sum=1157, start=148, end=245\n", "max_sum=1615, start=517, end=942\n", "max_sum=1854, start=694, end=805\n", "max_sum=1230, start=379, end=662\n", "max_sum=3283, start=35, end=998\n", "max_sum=4341, start=14, end=788\n", "max_sum=4589, start=306, end=987\n", "max_sum=2794, start=251, end=866\n", "max_sum=4361, start=8, end=993\n", "max_sum=2990, start=297, end=796\n", "max_sum=1514, start=576, end=644\n", "max_sum=1374, start=707, end=938\n", "max_sum=1202, start=93, end=189\n", "max_sum=1831, start=37, end=505\n", "max_sum=1878, start=548, end=877\n", "max_sum=2716, start=103, end=588\n", "max_sum=2637, start=0, end=489\n", "max_sum=2892, start=53, end=723\n", "max_sum=1646, start=109, end=912\n", "max_sum=2142, start=509, end=864\n", "max_sum=1099, start=53, end=128\n", "max_sum=1675, start=43, end=245\n", "max_sum=2243, start=46, end=993\n", "max_sum=750, start=878, end=918\n", "max_sum=1201, start=94, end=256\n", "max_sum=2066, start=161, end=308\n", "max_sum=2010, start=113, end=992\n", "max_sum=1231, start=423, end=755\n", "max_sum=2602, start=490, end=750\n", "max_sum=2159, start=243, end=897\n", "max_sum=2617, start=298, end=996\n", "max_sum=2498, start=371, end=753\n", "max_sum=2197, start=431, end=992\n", "max_sum=2172, start=228, end=540\n", "max_sum=2090, start=396, end=878\n", "max_sum=3119, start=80, end=640\n", "max_sum=2664, start=120, end=999\n", "max_sum=4072, start=14, end=859\n", "max_sum=3700, start=38, end=932\n", "max_sum=1741, start=117, end=418\n", "max_sum=2960, start=583, end=983\n", "max_sum=1480, start=636, end=832\n", "max_sum=2542, start=6, end=581\n", "max_sum=2415, start=5, end=663\n", "max_sum=3140, start=61, end=965\n", "max_sum=1288, start=583, end=722\n", "max_sum=1699, start=581, end=884\n", "max_sum=1604, start=32, end=266\n", "max_sum=1206, start=223, end=436\n", "max_sum=1658, start=118, end=300\n", "max_sum=4013, start=161, end=919\n", "max_sum=1627, start=588, end=775\n", "max_sum=2797, start=40, end=998\n", "max_sum=2235, start=685, end=941\n", "max_sum=3160, start=499, end=993\n", "max_sum=1957, start=24, end=768\n", "max_sum=1330, start=211, end=611\n", "max_sum=1467, start=404, end=614\n", "max_sum=1832, start=221, end=656\n", "max_sum=2397, start=7, end=829\n", "max_sum=1522, start=30, end=452\n", "max_sum=1818, start=16, end=942\n", "max_sum=2094, start=388, end=661\n", "max_sum=1744, start=150, end=708\n", "max_sum=1446, start=5, end=70\n", "max_sum=2113, start=442, end=711\n", "max_sum=1531, start=34, end=410\n", "max_sum=2616, start=43, end=877\n", "max_sum=3231, start=17, end=542\n", "max_sum=1248, start=137, end=340\n", "max_sum=1295, start=31, end=256\n", "max_sum=2136, start=467, end=983\n", "max_sum=1928, start=611, end=967\n", "max_sum=3303, start=312, end=638\n", "max_sum=2014, start=508, end=782\n", "max_sum=998, start=170, end=317\n", "max_sum=6110, start=197, end=994\n", "max_sum=1673, start=556, end=997\n", "max_sum=689, start=170, end=204\n", "max_sum=1585, start=17, end=493\n", "max_sum=1638, start=687, end=889\n", "max_sum=1334, start=490, end=639\n", "max_sum=2733, start=342, end=850\n", "max_sum=4062, start=140, end=981\n", "max_sum=2399, start=293, end=829\n", "max_sum=1725, start=428, end=611\n", "max_sum=3654, start=85, end=999\n", "max_sum=2333, start=126, end=493\n", "max_sum=5487, start=47, end=943\n", "max_sum=2322, start=79, end=435\n", "max_sum=1446, start=645, end=688\n", "max_sum=1748, start=801, end=982\n", "max_sum=1128, start=843, end=998\n", "max_sum=4390, start=261, end=817\n", "max_sum=1130, start=79, end=150\n", "max_sum=2106, start=676, end=887\n", "max_sum=2517, start=577, end=973\n", "max_sum=993, start=261, end=313\n", "max_sum=1778, start=634, end=952\n", "max_sum=1662, start=680, end=983\n", "max_sum=1686, start=795, end=964\n", "max_sum=2669, start=208, end=997\n", "max_sum=1915, start=446, end=643\n", "max_sum=978, start=504, end=580\n", "max_sum=1145, start=332, end=382\n", "max_sum=3878, start=138, end=409\n", "max_sum=2558, start=116, end=691\n", "max_sum=1373, start=18, end=124\n", "max_sum=1394, start=548, end=840\n", "max_sum=2863, start=204, end=998\n", "max_sum=2309, start=55, end=430\n", "max_sum=1718, start=586, end=984\n", "max_sum=3647, start=121, end=531\n", "max_sum=2381, start=198, end=545\n", "max_sum=2935, start=3, end=868\n", "max_sum=1620, start=451, end=574\n", "max_sum=3325, start=556, end=975\n", "max_sum=2108, start=623, end=916\n", "max_sum=2954, start=91, end=914\n", "max_sum=2303, start=169, end=985\n", "max_sum=1240, start=311, end=397\n", "max_sum=1481, start=251, end=624\n", "max_sum=2451, start=438, end=730\n", "max_sum=1139, start=564, end=798\n", "max_sum=1688, start=346, end=947\n", "max_sum=2922, start=23, end=996\n", "max_sum=1966, start=187, end=889\n", "max_sum=1361, start=7, end=102\n", "max_sum=2522, start=120, end=428\n", "max_sum=1606, start=594, end=999\n", "max_sum=3152, start=503, end=839\n", "max_sum=2492, start=174, end=486\n", "max_sum=3074, start=11, end=987\n", "max_sum=3510, start=331, end=903\n", "max_sum=2683, start=30, end=348\n", "max_sum=3292, start=212, end=998\n", "max_sum=2647, start=5, end=997\n", "max_sum=3089, start=9, end=867\n", "max_sum=1713, start=213, end=647\n", "max_sum=2486, start=27, end=879\n", "max_sum=3065, start=86, end=789\n", "max_sum=3074, start=67, end=947\n", "max_sum=4096, start=128, end=983\n", "max_sum=946, start=203, end=471\n", "max_sum=1138, start=48, end=188\n", "max_sum=1277, start=42, end=154\n", "max_sum=1132, start=480, end=808\n", "max_sum=1988, start=636, end=774\n", "max_sum=3178, start=454, end=743\n", "max_sum=1383, start=627, end=978\n", "max_sum=2347, start=171, end=449\n", "max_sum=2716, start=591, end=834\n", "max_sum=1585, start=0, end=191\n", "max_sum=968, start=2, end=65\n", "max_sum=1984, start=32, end=667\n", "max_sum=773, start=379, end=453\n", "max_sum=2609, start=134, end=880\n", "max_sum=4556, start=106, end=993\n", "max_sum=1227, start=207, end=497\n", "max_sum=2060, start=2, end=136\n", "max_sum=1098, start=259, end=634\n", "max_sum=1788, start=165, end=488\n", "max_sum=1395, start=659, end=785\n", "max_sum=1275, start=566, end=839\n", "max_sum=3414, start=300, end=883\n", "max_sum=1991, start=36, end=416\n", "max_sum=1346, start=595, end=901\n", "max_sum=2948, start=319, end=699\n", "max_sum=2226, start=229, end=937\n", "max_sum=3649, start=111, end=986\n", "max_sum=4080, start=4, end=613\n", "max_sum=3572, start=281, end=991\n", "max_sum=2246, start=39, end=934\n", "max_sum=3439, start=342, end=831\n", "max_sum=1600, start=8, end=238\n", "max_sum=3132, start=223, end=623\n", "max_sum=1638, start=245, end=364\n", "max_sum=2614, start=591, end=936\n", "max_sum=3940, start=309, end=992\n", "max_sum=3069, start=64, end=975\n", "max_sum=1805, start=234, end=355\n", "max_sum=2004, start=324, end=613\n", "max_sum=4058, start=335, end=991\n", "max_sum=2495, start=13, end=957\n", "max_sum=3290, start=460, end=999\n", "max_sum=2351, start=145, end=710\n", "max_sum=1885, start=353, end=751\n", "max_sum=2713, start=4, end=515\n", "max_sum=2990, start=20, end=827\n", "max_sum=2437, start=94, end=999\n", "max_sum=993, start=155, end=238\n", "max_sum=2284, start=289, end=418\n", "max_sum=2592, start=59, end=654\n", "max_sum=998, start=547, end=595\n", "max_sum=1860, start=543, end=879\n", "max_sum=2894, start=429, end=993\n", "max_sum=2396, start=34, end=470\n", "max_sum=1476, start=738, end=963\n", "max_sum=4171, start=70, end=998\n", "max_sum=953, start=748, end=853\n", "max_sum=1363, start=404, end=745\n", "max_sum=1701, start=260, end=642\n", "max_sum=3011, start=770, end=998\n", "max_sum=2015, start=25, end=260\n", "max_sum=3753, start=169, end=789\n", "max_sum=2872, start=234, end=791\n", "max_sum=3637, start=139, end=865\n", "max_sum=3412, start=323, end=878\n", "max_sum=1519, start=450, end=589\n", "max_sum=1868, start=13, end=594\n", "max_sum=1616, start=34, end=176\n", "max_sum=1964, start=497, end=999\n", "max_sum=1973, start=19, end=277\n", "max_sum=1592, start=19, end=103\n", "max_sum=3084, start=64, end=372\n", "max_sum=1617, start=22, end=121\n", "max_sum=906, start=265, end=353\n", "max_sum=1321, start=479, end=638\n", "max_sum=1537, start=14, end=307\n", "max_sum=2757, start=36, end=454\n", "max_sum=1770, start=509, end=660\n", "max_sum=1752, start=100, end=987\n", "max_sum=1478, start=629, end=998\n", "max_sum=2148, start=336, end=551\n", "max_sum=1388, start=340, end=603\n", "max_sum=2466, start=307, end=868\n", "max_sum=1942, start=535, end=981\n", "max_sum=3173, start=157, end=662\n", "max_sum=2193, start=0, end=303\n", "max_sum=1934, start=124, end=658\n", "max_sum=1157, start=303, end=469\n", "max_sum=1366, start=711, end=840\n", "max_sum=5722, start=42, end=989\n", "max_sum=2036, start=38, end=235\n", "max_sum=3500, start=105, end=691\n", "max_sum=3683, start=656, end=983\n", "max_sum=1329, start=813, end=881\n", "max_sum=1371, start=870, end=970\n", "max_sum=1860, start=0, end=387\n", "max_sum=3874, start=29, end=729\n", "max_sum=2459, start=471, end=939\n", "max_sum=2653, start=165, end=724\n", "max_sum=2597, start=26, end=784\n", "max_sum=914, start=952, end=989\n", "max_sum=826, start=699, end=934\n", "max_sum=2467, start=681, end=884\n", "max_sum=3695, start=64, end=718\n", "max_sum=1715, start=119, end=341\n", "max_sum=3021, start=0, end=705\n", "max_sum=5299, start=6, end=889\n", "max_sum=3259, start=42, end=993\n", "max_sum=3329, start=442, end=980\n", "max_sum=2980, start=7, end=986\n", "max_sum=2880, start=147, end=528\n", "max_sum=4224, start=15, end=998\n", "max_sum=2516, start=9, end=280\n", "max_sum=1094, start=545, end=684\n", "max_sum=3491, start=0, end=981\n", "max_sum=1455, start=567, end=803\n", "max_sum=2198, start=0, end=335\n", "max_sum=2377, start=253, end=918\n", "max_sum=1714, start=115, end=247\n", "max_sum=5319, start=51, end=860\n", "max_sum=2210, start=348, end=904\n", "max_sum=1268, start=588, end=858\n", "max_sum=1475, start=0, end=402\n", "max_sum=2170, start=102, end=593\n", "max_sum=1752, start=741, end=887\n", "max_sum=4297, start=194, end=999\n", "max_sum=1254, start=685, end=844\n", "max_sum=3139, start=342, end=925\n", "max_sum=1465, start=279, end=619\n", "max_sum=2933, start=541, end=971\n", "max_sum=4430, start=109, end=942\n", "max_sum=2105, start=249, end=472\n", "max_sum=1523, start=570, end=686\n", "max_sum=3438, start=235, end=813\n", "max_sum=1584, start=158, end=830\n", "max_sum=3198, start=96, end=556\n", "max_sum=2331, start=426, end=767\n", "max_sum=2162, start=54, end=413\n", "max_sum=1211, start=465, end=589\n", "max_sum=1971, start=0, end=618\n", "max_sum=1987, start=813, end=974\n", "max_sum=4050, start=22, end=524\n", "max_sum=3764, start=21, end=997\n", "max_sum=2023, start=127, end=985\n", "max_sum=2215, start=619, end=996\n", "max_sum=1530, start=669, end=971\n", "max_sum=824, start=304, end=504\n", "max_sum=2931, start=473, end=981\n", "max_sum=1201, start=575, end=804\n", "max_sum=2298, start=754, end=977\n", "max_sum=3209, start=190, end=828\n", "max_sum=5100, start=173, end=983\n", "max_sum=1860, start=41, end=290\n", "max_sum=1459, start=492, end=876\n", "max_sum=3634, start=286, end=798\n", "max_sum=2528, start=483, end=953\n", "max_sum=2945, start=462, end=985\n", "max_sum=1477, start=35, end=507\n", "max_sum=1487, start=698, end=828\n", "max_sum=2205, start=124, end=664\n", "max_sum=1127, start=813, end=878\n", "max_sum=1563, start=678, end=782\n", "max_sum=1895, start=38, end=186\n", "max_sum=731, start=75, end=105\n", "max_sum=4507, start=40, end=818\n", "max_sum=1389, start=489, end=547\n", "max_sum=1929, start=568, end=985\n", "max_sum=1265, start=9, end=69\n", "max_sum=2558, start=170, end=693\n", "max_sum=1193, start=679, end=983\n", "max_sum=2248, start=72, end=654\n", "max_sum=3350, start=3, end=984\n", "max_sum=2068, start=91, end=264\n", "max_sum=1838, start=491, end=973\n", "max_sum=2828, start=320, end=971\n", "max_sum=1225, start=520, end=736\n", "max_sum=2692, start=159, end=966\n", "max_sum=1401, start=452, end=557\n", "max_sum=3988, start=97, end=735\n", "max_sum=2253, start=48, end=242\n", "max_sum=2031, start=620, end=784\n", "max_sum=3834, start=89, end=992\n", "max_sum=2210, start=8, end=652\n", "max_sum=3256, start=413, end=999\n", "max_sum=1650, start=629, end=905\n", "max_sum=2844, start=119, end=975\n", "max_sum=1093, start=383, end=442\n", "max_sum=2801, start=3, end=491\n", "max_sum=2119, start=5, end=173\n", "max_sum=1701, start=281, end=679\n", "max_sum=3949, start=0, end=867\n", "max_sum=3617, start=14, end=493\n", "max_sum=3799, start=25, end=953\n", "max_sum=3324, start=62, end=800\n", "max_sum=1792, start=422, end=975\n", "max_sum=2503, start=123, end=936\n", "max_sum=2640, start=54, end=423\n", "max_sum=2529, start=345, end=990\n", "max_sum=3485, start=345, end=795\n", "max_sum=2809, start=0, end=683\n", "max_sum=1794, start=106, end=228\n", "max_sum=2354, start=0, end=638\n", "max_sum=2306, start=552, end=961\n", "max_sum=1486, start=579, end=685\n", "max_sum=2382, start=625, end=906\n", "max_sum=2012, start=327, end=607\n", "max_sum=2101, start=506, end=803\n", "max_sum=1390, start=786, end=849\n", "max_sum=1467, start=658, end=768\n", "max_sum=2075, start=168, end=478\n", "max_sum=1355, start=71, end=190\n", "max_sum=1353, start=404, end=758\n", "max_sum=800, start=279, end=304\n", "max_sum=1385, start=923, end=974\n", "max_sum=5065, start=251, end=914\n", "max_sum=2853, start=179, end=999\n", "max_sum=1287, start=183, end=336\n", "max_sum=3596, start=302, end=986\n", "max_sum=1391, start=86, end=649\n", "max_sum=1235, start=874, end=998\n", "max_sum=1024, start=307, end=490\n", "max_sum=2994, start=53, end=674\n", "max_sum=1564, start=902, end=993\n", "max_sum=1661, start=3, end=209\n", "max_sum=1014, start=334, end=409\n", "max_sum=2810, start=0, end=889\n", "max_sum=3453, start=335, end=753\n", "max_sum=1295, start=0, end=117\n", "max_sum=1388, start=755, end=997\n", "max_sum=3019, start=33, end=603\n", "max_sum=5208, start=130, end=983\n", "max_sum=2173, start=110, end=417\n", "max_sum=2523, start=95, end=812\n", "max_sum=927, start=850, end=930\n", "max_sum=4220, start=62, end=719\n", "max_sum=3653, start=26, end=709\n", "max_sum=1270, start=344, end=503\n", "max_sum=1165, start=803, end=966\n", "max_sum=1758, start=107, end=432\n", "max_sum=4703, start=60, end=900\n", "max_sum=1639, start=629, end=844\n", "max_sum=2135, start=573, end=754\n", "max_sum=1965, start=4, end=536\n", "max_sum=3758, start=40, end=973\n", "max_sum=2817, start=550, end=977\n", "max_sum=1362, start=886, end=977\n", "max_sum=1551, start=10, end=115\n", "max_sum=1939, start=73, end=518\n", "max_sum=2162, start=103, end=594\n", "max_sum=1012, start=294, end=351\n", "max_sum=2137, start=211, end=516\n", "max_sum=2436, start=119, end=547\n", "max_sum=3243, start=79, end=743\n", "max_sum=2714, start=154, end=974\n", "max_sum=2686, start=382, end=999\n", "max_sum=1219, start=78, end=170\n", "max_sum=3135, start=461, end=966\n", "max_sum=1508, start=6, end=201\n", "max_sum=2832, start=542, end=931\n", "max_sum=2040, start=38, end=311\n", "max_sum=3469, start=38, end=808\n", "max_sum=2059, start=8, end=325\n", "max_sum=3434, start=333, end=812\n", "max_sum=2500, start=315, end=555\n", "max_sum=1825, start=522, end=893\n", "max_sum=1220, start=635, end=832\n", "max_sum=1720, start=89, end=852\n", "max_sum=3127, start=4, end=999\n", "max_sum=1801, start=385, end=535\n", "max_sum=2553, start=141, end=410\n", "max_sum=2193, start=673, end=810\n", "max_sum=2902, start=160, end=662\n", "max_sum=2545, start=200, end=763\n", "max_sum=4110, start=134, end=989\n", "max_sum=1668, start=427, end=689\n", "max_sum=2415, start=63, end=979\n", "max_sum=3268, start=0, end=719\n", "max_sum=1587, start=160, end=276\n", "max_sum=2006, start=238, end=632\n", "max_sum=1566, start=407, end=517\n", "max_sum=2255, start=17, end=332\n", "max_sum=1938, start=273, end=567\n", "max_sum=3520, start=30, end=914\n", "max_sum=2402, start=9, end=999\n", "max_sum=1202, start=269, end=389\n", "max_sum=1229, start=0, end=173\n", "max_sum=2351, start=617, end=999\n", "max_sum=2978, start=76, end=879\n", "max_sum=3715, start=73, end=996\n", "max_sum=1477, start=286, end=610\n", "max_sum=2188, start=4, end=802\n", "max_sum=853, start=911, end=958\n", "max_sum=725, start=70, end=98\n", "max_sum=3142, start=351, end=771\n", "max_sum=1166, start=938, end=999\n", "max_sum=2060, start=813, end=999\n", "max_sum=1703, start=538, end=967\n", "max_sum=2248, start=119, end=601\n", "max_sum=3064, start=98, end=729\n", "max_sum=1289, start=30, end=173\n", "max_sum=1096, start=384, end=550\n", "max_sum=1049, start=14, end=106\n", "max_sum=2243, start=52, end=304\n", "max_sum=888, start=408, end=454\n", "max_sum=1665, start=664, end=993\n", "max_sum=1406, start=928, end=998\n", "max_sum=2603, start=52, end=906\n", "max_sum=2012, start=556, end=906\n", "max_sum=1642, start=4, end=99\n", "max_sum=1889, start=168, end=741\n", "max_sum=5835, start=38, end=924\n", "max_sum=1999, start=32, end=488\n", "max_sum=1745, start=361, end=687\n", "max_sum=1421, start=283, end=578\n", "max_sum=1245, start=791, end=893\n", "max_sum=2908, start=516, end=985\n", "max_sum=4202, start=143, end=966\n", "max_sum=2267, start=12, end=282\n", "max_sum=3629, start=80, end=907\n", "max_sum=3728, start=0, end=844\n", "max_sum=3443, start=640, end=984\n", "max_sum=2792, start=107, end=362\n", "max_sum=2367, start=548, end=762\n", "max_sum=2551, start=80, end=878\n", "max_sum=2562, start=200, end=894\n", "max_sum=2635, start=89, end=529\n", "max_sum=1073, start=73, end=450\n", "max_sum=2500, start=461, end=862\n", "max_sum=2238, start=10, end=677\n", "max_sum=3047, start=265, end=539\n", "max_sum=2011, start=717, end=926\n", "max_sum=4958, start=0, end=974\n", "max_sum=1847, start=338, end=893\n", "max_sum=2857, start=35, end=658\n", "max_sum=1258, start=792, end=845\n", "max_sum=3218, start=10, end=701\n", "max_sum=2190, start=46, end=967\n", "max_sum=2063, start=58, end=361\n", "max_sum=1796, start=229, end=548\n", "max_sum=2305, start=733, end=964\n", "max_sum=2263, start=7, end=423\n", "max_sum=4384, start=14, end=979\n", "max_sum=964, start=915, end=999\n", "max_sum=1880, start=189, end=333\n", "max_sum=2033, start=607, end=813\n", "max_sum=2999, start=44, end=991\n", "max_sum=1715, start=152, end=307\n", "max_sum=2904, start=633, end=903\n", "max_sum=1459, start=601, end=987\n", "max_sum=1789, start=312, end=986\n", "max_sum=2609, start=23, end=206\n", "max_sum=1455, start=195, end=366\n", "max_sum=1363, start=18, end=124\n", "max_sum=1655, start=471, end=778\n", "max_sum=1969, start=121, end=369\n", "max_sum=1702, start=359, end=998\n", "max_sum=2425, start=57, end=481\n", "max_sum=2887, start=383, end=982\n", "max_sum=4478, start=100, end=826\n", "max_sum=2673, start=105, end=447\n", "max_sum=4309, start=132, end=987\n", "max_sum=1326, start=192, end=431\n", "max_sum=2480, start=194, end=994\n", "max_sum=3413, start=164, end=987\n", "max_sum=3027, start=11, end=984\n", "max_sum=1777, start=854, end=998\n", "max_sum=2189, start=222, end=728\n", "max_sum=3255, start=146, end=552\n", "max_sum=2968, start=160, end=991\n", "max_sum=1477, start=418, end=737\n", "max_sum=2874, start=140, end=990\n", "max_sum=3592, start=26, end=912\n", "max_sum=2664, start=69, end=285\n", "max_sum=2057, start=620, end=751\n", "max_sum=2937, start=107, end=997\n", "max_sum=1354, start=31, end=296\n", "max_sum=1947, start=416, end=807\n", "max_sum=1694, start=592, end=709\n", "max_sum=4081, start=37, end=869\n", "max_sum=1058, start=488, end=720\n", "max_sum=1410, start=12, end=348\n", "max_sum=1482, start=27, end=113\n", "max_sum=1427, start=498, end=873\n", "max_sum=1421, start=710, end=998\n", "max_sum=1408, start=918, end=997\n", "max_sum=1590, start=200, end=720\n", "max_sum=2239, start=45, end=551\n", "max_sum=1580, start=471, end=592\n", "max_sum=1802, start=671, end=898\n", "max_sum=1716, start=488, end=659\n", "max_sum=2977, start=576, end=998\n", "max_sum=2757, start=388, end=976\n", "max_sum=1472, start=789, end=994\n", "max_sum=1320, start=333, end=489\n", "max_sum=3705, start=113, end=824\n", "max_sum=1633, start=525, end=805\n", "max_sum=2093, start=260, end=466\n", "max_sum=3229, start=543, end=938\n", "max_sum=2670, start=76, end=877\n", "max_sum=2510, start=484, end=966\n", "max_sum=2135, start=754, end=963\n", "max_sum=1381, start=536, end=864\n", "max_sum=2425, start=39, end=996\n", "max_sum=1673, start=7, end=103\n", "max_sum=904, start=19, end=162\n", "max_sum=807, start=443, end=498\n", "max_sum=1146, start=448, end=557\n", "max_sum=1539, start=901, end=980\n", "max_sum=1233, start=496, end=609\n", "max_sum=2395, start=465, end=765\n", "max_sum=1911, start=419, end=998\n", "max_sum=1784, start=531, end=653\n", "max_sum=1563, start=0, end=232\n", "max_sum=2048, start=227, end=680\n", "max_sum=2098, start=658, end=931\n", "max_sum=2156, start=11, end=253\n", "max_sum=1864, start=387, end=694\n", "max_sum=3583, start=3, end=587\n", "max_sum=1402, start=514, end=574\n", "max_sum=2393, start=430, end=714\n", "max_sum=4239, start=6, end=970\n", "max_sum=1920, start=125, end=626\n", "max_sum=1897, start=545, end=869\n", "max_sum=1279, start=233, end=901\n", "max_sum=2950, start=309, end=941\n", "max_sum=1573, start=484, end=742\n", "max_sum=1358, start=0, end=580\n", "max_sum=2936, start=0, end=906\n", "max_sum=1785, start=0, end=432\n", "max_sum=1780, start=725, end=824\n", "max_sum=839, start=539, end=669\n", "max_sum=1218, start=175, end=223\n", "max_sum=2315, start=865, end=996\n", "max_sum=1362, start=590, end=630\n", "max_sum=1725, start=358, end=578\n", "max_sum=3199, start=146, end=929\n", "max_sum=2185, start=169, end=475\n", "max_sum=1675, start=416, end=977\n", "max_sum=1489, start=349, end=438\n", "max_sum=1309, start=2, end=240\n", "max_sum=1645, start=371, end=999\n", "max_sum=777, start=194, end=232\n", "max_sum=1515, start=93, end=288\n", "max_sum=2140, start=4, end=703\n", "max_sum=2892, start=316, end=996\n", "max_sum=2372, start=322, end=542\n", "max_sum=943, start=153, end=458\n", "max_sum=2043, start=292, end=532\n", "max_sum=3067, start=165, end=717\n", "max_sum=1171, start=6, end=99\n", "max_sum=3321, start=298, end=893\n", "max_sum=3852, start=511, end=988\n", "max_sum=1483, start=678, end=847\n", "max_sum=1586, start=458, end=560\n", "max_sum=2315, start=242, end=630\n", "max_sum=2795, start=171, end=830\n", "max_sum=1899, start=687, end=999\n", "max_sum=2547, start=513, end=927\n", "max_sum=1616, start=0, end=208\n", "max_sum=2450, start=169, end=989\n", "max_sum=2737, start=0, end=997\n", "max_sum=1567, start=735, end=952\n", "max_sum=2422, start=77, end=388\n", "max_sum=1304, start=564, end=716\n", "max_sum=846, start=17, end=85\n", "max_sum=1401, start=461, end=764\n", "max_sum=1731, start=218, end=999\n", "max_sum=1227, start=331, end=422\n", "max_sum=1456, start=293, end=396\n", "max_sum=1879, start=89, end=472\n", "max_sum=2103, start=71, end=403\n", "max_sum=2926, start=142, end=914\n", "max_sum=1700, start=272, end=744\n", "max_sum=1814, start=5, end=274\n", "max_sum=1247, start=724, end=907\n", "max_sum=2478, start=413, end=876\n", "max_sum=1553, start=169, end=364\n", "max_sum=3066, start=32, end=941\n", "max_sum=3928, start=479, end=752\n", "max_sum=3504, start=39, end=765\n", "max_sum=6452, start=17, end=912\n", "max_sum=3137, start=210, end=908\n", "max_sum=1240, start=0, end=177\n", "max_sum=2415, start=481, end=983\n", "max_sum=1681, start=21, end=355\n", "max_sum=1414, start=374, end=741\n", "max_sum=2564, start=574, end=986\n", "max_sum=2399, start=471, end=696\n", "max_sum=1126, start=125, end=347\n", "max_sum=2977, start=0, end=565\n", "max_sum=3329, start=240, end=611\n", "max_sum=1506, start=24, end=226\n", "max_sum=3254, start=98, end=549\n", "max_sum=1545, start=10, end=125\n", "max_sum=1838, start=49, end=455\n", "max_sum=1127, start=297, end=371\n", "max_sum=3050, start=219, end=753\n", "max_sum=2173, start=347, end=711\n", "max_sum=2288, start=392, end=824\n", "max_sum=3585, start=56, end=793\n", "max_sum=2562, start=92, end=415\n", "max_sum=2276, start=321, end=617\n", "max_sum=2485, start=14, end=566\n", "max_sum=1461, start=459, end=997\n", "max_sum=849, start=765, end=989\n", "max_sum=1730, start=525, end=680\n", "max_sum=2599, start=361, end=925\n", "max_sum=1867, start=211, end=354\n", "max_sum=2221, start=111, end=992\n", "max_sum=1764, start=505, end=791\n", "max_sum=1247, start=200, end=391\n", "max_sum=1659, start=720, end=986\n", "max_sum=1205, start=173, end=478\n", "max_sum=2262, start=267, end=645\n", "max_sum=1497, start=773, end=924\n", "max_sum=1181, start=781, end=870\n", "max_sum=3907, start=206, end=970\n", "max_sum=2279, start=134, end=849\n", "max_sum=1014, start=68, end=240\n", "max_sum=2674, start=377, end=998\n", "max_sum=1152, start=567, end=715\n", "max_sum=1009, start=29, end=187\n", "max_sum=4387, start=307, end=919\n", "max_sum=2664, start=11, end=460\n", "max_sum=1464, start=513, end=804\n", "max_sum=2013, start=749, end=947\n", "max_sum=1576, start=702, end=821\n", "max_sum=1631, start=763, end=999\n", "max_sum=2158, start=25, end=670\n", "max_sum=1967, start=93, end=258\n", "max_sum=3487, start=290, end=783\n", "max_sum=2157, start=0, end=652\n", "max_sum=1146, start=491, end=609\n", "max_sum=3398, start=128, end=997\n", "max_sum=3231, start=242, end=792\n", "max_sum=2464, start=6, end=978\n", "max_sum=1551, start=160, end=442\n", "max_sum=1903, start=191, end=779\n", "max_sum=1439, start=74, end=149\n", "max_sum=1979, start=8, end=536\n", "max_sum=920, start=25, end=97\n", "max_sum=1102, start=8, end=118\n", "max_sum=4733, start=226, end=812\n", "max_sum=2417, start=719, end=987\n", "max_sum=1156, start=885, end=956\n", "max_sum=1602, start=356, end=648\n", "max_sum=1612, start=42, end=338\n", "max_sum=1369, start=332, end=591\n", "max_sum=2762, start=82, end=996\n", "max_sum=1104, start=10, end=122\n", "max_sum=1928, start=67, end=953\n", "max_sum=1347, start=219, end=488\n", "max_sum=1853, start=341, end=517\n", "max_sum=3754, start=480, end=874\n", "max_sum=3153, start=86, end=972\n", "max_sum=3056, start=642, end=949\n", "max_sum=3256, start=6, end=999\n", "max_sum=2997, start=32, end=982\n", "max_sum=2307, start=556, end=996\n", "max_sum=4257, start=153, end=890\n", "max_sum=3178, start=0, end=970\n", "max_sum=2744, start=264, end=914\n", "max_sum=1979, start=726, end=943\n", "max_sum=1579, start=51, end=153\n", "max_sum=1121, start=512, end=575\n", "max_sum=2502, start=516, end=840\n", "max_sum=1639, start=590, end=787\n", "max_sum=4841, start=144, end=921\n", "max_sum=1183, start=667, end=800\n", "max_sum=1765, start=445, end=824\n", "max_sum=4725, start=52, end=993\n", "max_sum=1465, start=8, end=379\n", "max_sum=2412, start=0, end=253\n", "max_sum=1478, start=325, end=450\n", "max_sum=3300, start=116, end=595\n", "max_sum=2032, start=214, end=535\n", "max_sum=1508, start=816, end=996\n", "max_sum=2585, start=90, end=586\n", "max_sum=1093, start=306, end=421\n", "max_sum=4432, start=92, end=961\n", "max_sum=1374, start=155, end=284\n", "max_sum=4088, start=246, end=791\n", "max_sum=1081, start=804, end=892\n", "max_sum=2773, start=125, end=689\n", "max_sum=1173, start=427, end=512\n", "max_sum=1740, start=41, end=317\n", "max_sum=2949, start=263, end=950\n", "max_sum=651, start=373, end=425\n", "max_sum=942, start=894, end=966\n", "max_sum=1511, start=107, end=401\n", "max_sum=1738, start=537, end=670\n", "max_sum=1749, start=526, end=829\n", "max_sum=1839, start=55, end=185\n", "max_sum=1606, start=637, end=974\n", "max_sum=1762, start=9, end=847\n", "max_sum=1286, start=807, end=986\n", "max_sum=2044, start=309, end=501\n", "max_sum=2083, start=165, end=952\n", "max_sum=1985, start=629, end=960\n", "max_sum=1365, start=707, end=800\n", "max_sum=1456, start=652, end=887\n", "max_sum=2062, start=492, end=999\n", "max_sum=3886, start=360, end=869\n", "max_sum=2058, start=696, end=916\n", "max_sum=2173, start=463, end=598\n", "max_sum=1409, start=677, end=793\n", "max_sum=2218, start=365, end=891\n", "max_sum=950, start=810, end=919\n", "max_sum=1177, start=784, end=960\n", "max_sum=2030, start=507, end=937\n", "max_sum=893, start=267, end=343\n", "max_sum=1614, start=703, end=996\n", "max_sum=1764, start=100, end=213\n", "max_sum=2061, start=127, end=434\n", "max_sum=1624, start=400, end=642\n", "max_sum=2534, start=788, end=988\n", "max_sum=798, start=753, end=854\n", "max_sum=3278, start=5, end=881\n", "max_sum=1497, start=308, end=522\n", "max_sum=2228, start=254, end=462\n", "max_sum=1468, start=270, end=538\n", "max_sum=1822, start=0, end=373\n", "max_sum=1717, start=620, end=888\n", "max_sum=3193, start=12, end=522\n", "max_sum=1420, start=661, end=851\n", "max_sum=3269, start=151, end=846\n", "max_sum=3780, start=35, end=966\n", "max_sum=2293, start=480, end=999\n", "max_sum=1351, start=3, end=153\n", "max_sum=4029, start=251, end=915\n", "max_sum=2598, start=52, end=467\n", "max_sum=1184, start=671, end=729\n", "max_sum=2612, start=2, end=483\n", "max_sum=2366, start=395, end=552\n", "max_sum=4003, start=72, end=963\n", "max_sum=1877, start=245, end=998\n", "max_sum=1731, start=591, end=862\n", "max_sum=4000, start=238, end=545\n", "max_sum=1848, start=665, end=993\n", "max_sum=2500, start=497, end=917\n", "max_sum=2520, start=61, end=523\n", "max_sum=1662, start=719, end=980\n", "max_sum=3139, start=0, end=436\n", "max_sum=1311, start=70, end=159\n", "max_sum=4282, start=0, end=910\n", "max_sum=1686, start=87, end=309\n", "max_sum=2616, start=0, end=947\n", "max_sum=1026, start=146, end=192\n", "max_sum=4341, start=286, end=796\n", "max_sum=2273, start=92, end=656\n", "max_sum=3833, start=58, end=998\n", "max_sum=1700, start=92, end=666\n", "max_sum=1927, start=11, end=258\n", "max_sum=1015, start=896, end=978\n", "max_sum=3159, start=55, end=591\n", "max_sum=1280, start=682, end=825\n", "max_sum=1797, start=128, end=358\n", "max_sum=5108, start=4, end=853\n", "max_sum=1134, start=141, end=282\n", "max_sum=3999, start=287, end=976\n", "max_sum=2266, start=65, end=693\n", "max_sum=2875, start=524, end=855\n", "max_sum=1508, start=678, end=789\n", "max_sum=2759, start=257, end=698\n", "max_sum=2095, start=459, end=783\n", "max_sum=1982, start=532, end=992\n", "max_sum=2919, start=651, end=953\n", "max_sum=2479, start=2, end=898\n", "max_sum=5836, start=83, end=875\n", "max_sum=1296, start=35, end=520\n", "max_sum=2652, start=22, end=479\n", "max_sum=1318, start=429, end=475\n", "max_sum=4108, start=78, end=819\n", "max_sum=1735, start=192, end=357\n", "max_sum=2563, start=659, end=928\n", "max_sum=1072, start=308, end=431\n", "max_sum=1178, start=507, end=672\n", "max_sum=6852, start=0, end=784\n", "max_sum=1970, start=0, end=424\n", "max_sum=1785, start=6, end=200\n", "max_sum=3224, start=381, end=734\n", "max_sum=2015, start=136, end=502\n", "max_sum=2751, start=9, end=849\n", "max_sum=3748, start=316, end=777\n", "max_sum=1000, start=442, end=550\n", "max_sum=3443, start=253, end=831\n", "max_sum=1833, start=121, end=853\n", "max_sum=2267, start=31, end=677\n", "max_sum=2789, start=472, end=933\n", "max_sum=1089, start=519, end=635\n", "max_sum=1472, start=262, end=811\n", "max_sum=2642, start=74, end=756\n", "max_sum=1376, start=72, end=239\n", "max_sum=2271, start=353, end=938\n", "max_sum=1649, start=154, end=759\n", "max_sum=1734, start=426, end=984\n", "max_sum=2808, start=68, end=712\n", "max_sum=2239, start=34, end=772\n", "max_sum=1995, start=18, end=620\n", "max_sum=1559, start=406, end=633\n", "max_sum=1504, start=721, end=931\n", "max_sum=2122, start=626, end=892\n", "max_sum=1106, start=602, end=933\n", "max_sum=1225, start=592, end=910\n", "max_sum=2030, start=218, end=794\n", "max_sum=3384, start=35, end=520\n", "max_sum=1160, start=397, end=513\n", "max_sum=1320, start=0, end=92\n", "max_sum=2198, start=304, end=997\n", "max_sum=2142, start=166, end=815\n", "max_sum=1803, start=4, end=295\n", "max_sum=2677, start=150, end=544\n", "max_sum=2661, start=215, end=997\n", "max_sum=3069, start=50, end=954\n", "max_sum=1867, start=158, end=944\n", "max_sum=1902, start=74, end=346\n", "max_sum=1332, start=549, end=925\n", "max_sum=2429, start=70, end=719\n", "max_sum=2188, start=645, end=855\n", "max_sum=1527, start=503, end=793\n", "max_sum=1519, start=312, end=559\n", "max_sum=4829, start=156, end=923\n", "max_sum=1309, start=251, end=480\n", "max_sum=1638, start=625, end=719\n", "max_sum=2650, start=228, end=445\n", "max_sum=1747, start=35, end=319\n", "max_sum=1157, start=461, end=947\n", "max_sum=1654, start=0, end=402\n", "max_sum=3124, start=79, end=972\n", "max_sum=1926, start=223, end=608\n", "max_sum=3393, start=330, end=912\n", "max_sum=2992, start=0, end=487\n", "max_sum=2488, start=17, end=290\n", "max_sum=1613, start=23, end=192\n", "max_sum=2485, start=389, end=619\n", "max_sum=1227, start=92, end=271\n", "max_sum=1748, start=112, end=861\n", "max_sum=2604, start=421, end=820\n", "max_sum=3024, start=190, end=797\n", "max_sum=1769, start=727, end=877\n", "max_sum=2349, start=85, end=999\n", "max_sum=1439, start=789, end=870\n", "max_sum=3312, start=0, end=471\n", "max_sum=1392, start=728, end=955\n", "max_sum=2173, start=336, end=640\n", "max_sum=3183, start=7, end=993\n", "max_sum=3254, start=0, end=489\n", "max_sum=2311, start=42, end=846\n", "max_sum=1486, start=298, end=569\n", "max_sum=1324, start=86, end=349\n", "max_sum=1546, start=601, end=767\n", "max_sum=5103, start=130, end=968\n", "max_sum=4786, start=23, end=986\n", "max_sum=2765, start=194, end=701\n", "max_sum=3851, start=201, end=667\n", "max_sum=1872, start=120, end=429\n", "max_sum=2551, start=244, end=811\n", "max_sum=5583, start=211, end=993\n", "max_sum=2672, start=145, end=614\n", "max_sum=1728, start=654, end=848\n", "max_sum=1362, start=371, end=994\n", "max_sum=2591, start=558, end=891\n", "max_sum=1267, start=317, end=434\n", "max_sum=2021, start=301, end=997\n", "max_sum=1650, start=605, end=984\n", "max_sum=996, start=324, end=360\n", "max_sum=1132, start=864, end=967\n", "max_sum=1514, start=30, end=290\n", "max_sum=1626, start=634, end=796\n", "max_sum=1311, start=37, end=714\n", "max_sum=3164, start=215, end=998\n", "max_sum=1226, start=175, end=345\n", "max_sum=2937, start=396, end=747\n", "max_sum=1623, start=0, end=166\n", "max_sum=1862, start=0, end=850\n", "max_sum=2861, start=311, end=979\n", "max_sum=3507, start=44, end=770\n", "max_sum=1876, start=517, end=989\n", "max_sum=2852, start=447, end=997\n", "max_sum=1793, start=384, end=648\n", "max_sum=1388, start=342, end=694\n", "max_sum=2074, start=630, end=997\n", "max_sum=1938, start=12, end=706\n", "max_sum=2259, start=165, end=620\n", "max_sum=3416, start=192, end=995\n", "max_sum=1886, start=385, end=562\n", "max_sum=2451, start=658, end=932\n", "max_sum=2374, start=169, end=970\n", "max_sum=2446, start=4, end=605\n", "max_sum=899, start=678, end=822\n", "max_sum=2625, start=79, end=651\n", "max_sum=5401, start=40, end=958\n", "max_sum=4321, start=30, end=917\n", "max_sum=3235, start=373, end=968\n", "max_sum=937, start=352, end=404\n", "max_sum=1237, start=289, end=338\n", "max_sum=1838, start=187, end=646\n", "max_sum=1732, start=196, end=389\n", "max_sum=2063, start=372, end=551\n", "max_sum=2510, start=117, end=734\n", "max_sum=1307, start=0, end=68\n", "max_sum=3317, start=227, end=835\n", "max_sum=4580, start=10, end=849\n", "max_sum=1785, start=54, end=254\n", "max_sum=1587, start=291, end=543\n", "max_sum=4667, start=51, end=570\n", "max_sum=4327, start=14, end=795\n", "max_sum=2010, start=39, end=265\n", "max_sum=1729, start=322, end=511\n", "max_sum=3316, start=255, end=998\n", "max_sum=4117, start=18, end=783\n", "max_sum=1161, start=706, end=779\n", "max_sum=2166, start=494, end=792\n", "max_sum=3101, start=38, end=640\n", "max_sum=2789, start=205, end=965\n", "max_sum=1321, start=398, end=471\n", "max_sum=2319, start=594, end=901\n", "max_sum=894, start=393, end=450\n", "max_sum=2396, start=122, end=975\n", "max_sum=3301, start=228, end=954\n", "max_sum=1816, start=501, end=984\n", "max_sum=1897, start=2, end=234\n", "max_sum=1372, start=816, end=943\n", "max_sum=5549, start=179, end=993\n", "max_sum=2316, start=604, end=849\n", "max_sum=2577, start=3, end=421\n", "max_sum=1100, start=298, end=381\n", "max_sum=1916, start=137, end=277\n", "max_sum=1935, start=19, end=909\n", "max_sum=2884, start=395, end=947\n", "max_sum=2127, start=763, end=948\n", "max_sum=3377, start=170, end=999\n", "max_sum=1384, start=595, end=742\n", "max_sum=4579, start=19, end=892\n", "max_sum=2026, start=498, end=946\n", "max_sum=2493, start=13, end=950\n", "max_sum=2902, start=40, end=964\n", "max_sum=3073, start=22, end=952\n", "max_sum=1602, start=846, end=960\n", "max_sum=3500, start=33, end=740\n", "max_sum=2133, start=0, end=287\n", "max_sum=1769, start=614, end=718\n", "max_sum=5073, start=6, end=998\n", "max_sum=1848, start=659, end=915\n", "max_sum=1483, start=739, end=926\n", "max_sum=1216, start=709, end=990\n", "max_sum=1220, start=671, end=954\n", "max_sum=2599, start=359, end=656\n", "max_sum=1430, start=286, end=819\n", "max_sum=1459, start=681, end=791\n", "max_sum=1803, start=451, end=997\n", "max_sum=972, start=229, end=638\n", "max_sum=1131, start=12, end=392\n", "max_sum=2264, start=15, end=256\n", "max_sum=1895, start=576, end=947\n", "max_sum=3492, start=474, end=925\n", "max_sum=1486, start=435, end=712\n", "max_sum=3673, start=67, end=999\n", "max_sum=1489, start=763, end=996\n", "max_sum=2216, start=96, end=931\n", "max_sum=4883, start=33, end=784\n", "max_sum=764, start=302, end=348\n", "max_sum=1995, start=498, end=658\n", "max_sum=1102, start=499, end=573\n", "max_sum=1377, start=429, end=672\n", "max_sum=2817, start=143, end=892\n", "max_sum=1090, start=889, end=974\n", "max_sum=3482, start=3, end=999\n", "max_sum=2353, start=267, end=468\n", "max_sum=1896, start=201, end=445\n", "max_sum=2027, start=623, end=976\n", "max_sum=3725, start=0, end=563\n", "max_sum=3434, start=75, end=596\n", "max_sum=1343, start=595, end=718\n", "max_sum=4205, start=113, end=677\n", "max_sum=1721, start=123, end=378\n", "max_sum=3162, start=158, end=999\n", "max_sum=1813, start=727, end=946\n", "max_sum=2974, start=125, end=598\n", "max_sum=1232, start=5, end=59\n", "max_sum=1466, start=40, end=569\n", "max_sum=2722, start=0, end=537\n", "max_sum=2284, start=89, end=457\n", "max_sum=3170, start=18, end=676\n", "max_sum=1365, start=0, end=319\n", "max_sum=1881, start=3, end=292\n", "max_sum=3505, start=19, end=877\n", "max_sum=1673, start=88, end=616\n", "max_sum=1083, start=45, end=253\n", "max_sum=1074, start=873, end=983\n", "max_sum=2944, start=2, end=951\n", "max_sum=2150, start=136, end=706\n", "max_sum=1386, start=805, end=993\n", "max_sum=2561, start=295, end=653\n", "max_sum=2163, start=322, end=775\n", "max_sum=1189, start=938, end=997\n", "max_sum=1784, start=364, end=695\n", "max_sum=2267, start=775, end=997\n", "max_sum=3832, start=20, end=679\n", "max_sum=1227, start=699, end=987\n", "max_sum=1291, start=246, end=420\n", "max_sum=3504, start=51, end=846\n", "max_sum=2495, start=171, end=845\n", "max_sum=2958, start=629, end=999\n", "max_sum=5027, start=97, end=995\n", "max_sum=1851, start=187, end=475\n", "max_sum=1783, start=31, end=319\n", "max_sum=1472, start=257, end=582\n", "max_sum=2005, start=73, end=268\n", "max_sum=1558, start=808, end=993\n", "max_sum=2211, start=16, end=455\n", "max_sum=2354, start=19, end=859\n", "max_sum=3731, start=225, end=905\n", "max_sum=2078, start=613, end=903\n", "max_sum=3711, start=282, end=935\n", "max_sum=1885, start=51, end=358\n", "max_sum=2616, start=418, end=997\n", "max_sum=1916, start=796, end=999\n", "max_sum=1041, start=118, end=230\n", "max_sum=1796, start=173, end=746\n", "max_sum=4528, start=7, end=964\n", "max_sum=2378, start=211, end=586\n", "max_sum=1358, start=65, end=556\n", "max_sum=951, start=679, end=733\n", "max_sum=1643, start=741, end=909\n", "max_sum=1786, start=181, end=977\n", "max_sum=1187, start=406, end=524\n", "max_sum=3201, start=77, end=593\n", "max_sum=2364, start=258, end=619\n", "max_sum=2437, start=0, end=712\n", "max_sum=1104, start=390, end=629\n", "max_sum=2217, start=56, end=334\n", "max_sum=762, start=299, end=391\n", "max_sum=3690, start=4, end=987\n", "max_sum=1857, start=280, end=748\n", "max_sum=1429, start=39, end=180\n", "max_sum=1902, start=108, end=939\n", "max_sum=4137, start=334, end=966\n", "max_sum=2827, start=360, end=887\n", "max_sum=2600, start=6, end=446\n", "max_sum=3377, start=291, end=801\n", "max_sum=1276, start=854, end=948\n", "max_sum=2283, start=567, end=931\n", "max_sum=1463, start=14, end=174\n", "max_sum=2052, start=411, end=995\n", "max_sum=1264, start=193, end=393\n", "max_sum=2554, start=305, end=636\n", "max_sum=2571, start=192, end=687\n", "max_sum=1303, start=5, end=152\n", "max_sum=1883, start=366, end=787\n", "max_sum=2016, start=156, end=836\n", "max_sum=2134, start=99, end=876\n", "max_sum=1364, start=856, end=993\n", "max_sum=1734, start=715, end=966\n", "max_sum=1861, start=620, end=999\n", "max_sum=1414, start=699, end=870\n", "max_sum=1519, start=653, end=968\n", "max_sum=2340, start=334, end=818\n", "max_sum=2320, start=389, end=922\n", "max_sum=3011, start=0, end=901\n", "max_sum=1649, start=329, end=584\n", "max_sum=1437, start=46, end=326\n", "max_sum=1582, start=18, end=147\n", "max_sum=2314, start=578, end=771\n", "max_sum=1120, start=298, end=389\n", "max_sum=1233, start=398, end=551\n", "max_sum=1376, start=87, end=146\n", "max_sum=2508, start=392, end=679\n", "max_sum=3639, start=335, end=762\n", "max_sum=2798, start=539, end=917\n", "max_sum=871, start=147, end=439\n", "max_sum=1945, start=421, end=994\n", "max_sum=2192, start=244, end=508\n", "max_sum=1573, start=5, end=107\n", "max_sum=2655, start=454, end=999\n", "max_sum=2122, start=12, end=787\n", "max_sum=2984, start=51, end=454\n", "max_sum=3265, start=77, end=987\n", "max_sum=1737, start=236, end=519\n", "max_sum=2280, start=104, end=993\n", "max_sum=2598, start=343, end=882\n", "max_sum=2808, start=449, end=996\n", "max_sum=3662, start=2, end=965\n", "max_sum=1839, start=193, end=350\n", "max_sum=1251, start=70, end=151\n", "max_sum=2686, start=347, end=982\n", "max_sum=1496, start=233, end=755\n", "max_sum=3761, start=0, end=999\n", "max_sum=1976, start=15, end=473\n", "max_sum=3724, start=127, end=794\n", "max_sum=2515, start=27, end=346\n", "max_sum=2759, start=0, end=595\n", "max_sum=2367, start=175, end=997\n", "max_sum=4126, start=7, end=516\n", "max_sum=1074, start=375, end=433\n", "max_sum=1661, start=32, end=232\n", "max_sum=2062, start=57, end=693\n", "max_sum=1097, start=30, end=150\n", "max_sum=4234, start=92, end=907\n", "max_sum=1284, start=204, end=488\n", "max_sum=2091, start=35, end=627\n", "max_sum=2200, start=579, end=988\n", "max_sum=1059, start=280, end=574\n", "max_sum=3563, start=148, end=915\n", "max_sum=2629, start=251, end=672\n", "max_sum=3650, start=347, end=928\n", "max_sum=1068, start=162, end=271\n", "max_sum=1856, start=0, end=872\n", "max_sum=1857, start=630, end=972\n", "max_sum=1223, start=482, end=624\n", "max_sum=2364, start=755, end=969\n", "max_sum=2333, start=538, end=742\n", "max_sum=4024, start=89, end=987\n", "max_sum=2812, start=535, end=909\n", "max_sum=2082, start=698, end=853\n", "max_sum=1955, start=775, end=999\n", "max_sum=1328, start=380, end=516\n", "max_sum=3689, start=17, end=913\n", "max_sum=2305, start=281, end=856\n", "max_sum=2508, start=305, end=767\n", "max_sum=1327, start=763, end=906\n", "max_sum=2484, start=178, end=972\n", "max_sum=3976, start=231, end=999\n", "max_sum=2134, start=62, end=784\n", "max_sum=2910, start=308, end=990\n", "max_sum=2824, start=357, end=911\n", "max_sum=2796, start=483, end=996\n", "max_sum=1394, start=648, end=747\n", "max_sum=3521, start=63, end=753\n", "max_sum=3888, start=104, end=998\n", "max_sum=1952, start=472, end=729\n", "max_sum=1860, start=186, end=784\n", "max_sum=1142, start=778, end=941\n", "max_sum=1881, start=555, end=864\n", "max_sum=1433, start=24, end=231\n", "max_sum=2914, start=45, end=999\n", "max_sum=1427, start=346, end=459\n", "max_sum=1361, start=0, end=78\n", "max_sum=2353, start=174, end=970\n", "max_sum=2728, start=419, end=987\n", "max_sum=2363, start=102, end=240\n", "max_sum=2721, start=208, end=948\n", "max_sum=3318, start=323, end=837\n", "max_sum=1763, start=87, end=658\n", "max_sum=1764, start=820, end=922\n", "max_sum=1962, start=239, end=422\n", "max_sum=2366, start=376, end=903\n", "max_sum=3487, start=84, end=767\n", "max_sum=2072, start=328, end=754\n", "max_sum=1846, start=540, end=922\n", "max_sum=1362, start=172, end=256\n", "max_sum=1260, start=626, end=927\n", "max_sum=1639, start=31, end=405\n", "max_sum=2173, start=655, end=825\n", "max_sum=897, start=624, end=684\n", "max_sum=2354, start=17, end=751\n", "max_sum=1133, start=730, end=991\n", "max_sum=1728, start=704, end=993\n", "max_sum=3305, start=8, end=972\n", "max_sum=2514, start=147, end=948\n", "max_sum=3117, start=451, end=996\n", "max_sum=2316, start=393, end=964\n", "max_sum=920, start=682, end=823\n", "max_sum=1306, start=291, end=375\n", "max_sum=1932, start=151, end=707\n", "max_sum=2677, start=249, end=747\n", "max_sum=2897, start=160, end=379\n", "max_sum=1383, start=780, end=824\n", "max_sum=2699, start=49, end=885\n", "max_sum=3536, start=48, end=986\n", "max_sum=1784, start=243, end=446\n", "max_sum=1364, start=466, end=920\n", "max_sum=845, start=445, end=551\n", "max_sum=1941, start=365, end=561\n", "max_sum=3125, start=503, end=978\n", "max_sum=1327, start=555, end=682\n", "max_sum=1839, start=408, end=681\n", "max_sum=5540, start=153, end=741\n", "max_sum=2451, start=555, end=999\n", "max_sum=4140, start=68, end=617\n", "max_sum=1855, start=744, end=897\n", "max_sum=1650, start=39, end=414\n", "max_sum=3338, start=0, end=999\n", "max_sum=3140, start=0, end=855\n", "max_sum=2489, start=485, end=775\n", "max_sum=1713, start=578, end=898\n", "max_sum=1742, start=205, end=464\n", "max_sum=1451, start=141, end=397\n", "max_sum=2863, start=249, end=555\n", "max_sum=4137, start=59, end=724\n", "max_sum=1446, start=318, end=691\n", "max_sum=3180, start=2, end=940\n", "max_sum=2348, start=4, end=364\n", "max_sum=1284, start=682, end=890\n", "max_sum=829, start=294, end=347\n", "max_sum=2689, start=215, end=826\n", "max_sum=990, start=175, end=260\n", "max_sum=1069, start=728, end=805\n", "max_sum=3790, start=37, end=844\n", "max_sum=2074, start=64, end=276\n", "max_sum=2520, start=569, end=913\n", "max_sum=1411, start=294, end=416\n", "max_sum=2671, start=791, end=989\n", "max_sum=2153, start=603, end=999\n", "max_sum=993, start=14, end=104\n", "max_sum=1569, start=588, end=674\n", "max_sum=1455, start=8, end=380\n", "max_sum=5365, start=175, end=916\n", "max_sum=3448, start=401, end=699\n", "max_sum=1737, start=425, end=711\n", "max_sum=1570, start=335, end=553\n", "max_sum=2310, start=182, end=957\n", "max_sum=2163, start=121, end=491\n", "max_sum=1648, start=821, end=999\n", "max_sum=2918, start=366, end=872\n", "max_sum=1569, start=47, end=361\n", "max_sum=2758, start=163, end=830\n", "max_sum=2121, start=708, end=887\n", "max_sum=1689, start=16, end=188\n", "max_sum=2664, start=671, end=999\n", "max_sum=1136, start=78, end=168\n", "max_sum=3227, start=381, end=830\n", "max_sum=1529, start=130, end=504\n", "max_sum=2893, start=425, end=995\n", "max_sum=2830, start=281, end=879\n", "max_sum=2188, start=189, end=685\n", "max_sum=2234, start=160, end=775\n", "max_sum=4207, start=3, end=970\n", "max_sum=3917, start=6, end=883\n", "max_sum=2218, start=36, end=190\n", "max_sum=1578, start=627, end=677\n", "max_sum=2499, start=272, end=982\n", "max_sum=3782, start=77, end=840\n", "max_sum=1750, start=40, end=282\n", "max_sum=2581, start=344, end=877\n", "max_sum=1000, start=898, end=998\n", "max_sum=3457, start=141, end=881\n", "max_sum=2460, start=67, end=513\n", "max_sum=2802, start=8, end=809\n", "max_sum=1359, start=375, end=950\n", "max_sum=2387, start=418, end=957\n", "max_sum=3024, start=191, end=914\n", "max_sum=1820, start=735, end=859\n", "max_sum=5567, start=235, end=986\n", "max_sum=1110, start=758, end=991\n", "max_sum=4772, start=24, end=972\n", "max_sum=1729, start=185, end=954\n", "max_sum=2929, start=215, end=958\n", "max_sum=3425, start=2, end=993\n", "max_sum=1396, start=347, end=419\n", "max_sum=1763, start=33, end=263\n", "max_sum=3382, start=337, end=984\n", "max_sum=2818, start=16, end=903\n", "max_sum=1519, start=61, end=349\n", "max_sum=2056, start=453, end=627\n", "max_sum=1979, start=427, end=789\n", "max_sum=3252, start=31, end=999\n", "max_sum=3801, start=670, end=886\n", "max_sum=2449, start=301, end=954\n", "max_sum=1435, start=775, end=991\n", "max_sum=1601, start=530, end=902\n", "max_sum=1701, start=500, end=734\n", "max_sum=1713, start=825, end=999\n", "max_sum=3475, start=109, end=556\n", "max_sum=1610, start=330, end=420\n", "max_sum=2555, start=554, end=745\n", "max_sum=2172, start=691, end=931\n", "max_sum=2166, start=89, end=560\n", "max_sum=1633, start=348, end=432\n", "max_sum=4122, start=3, end=842\n", "max_sum=2007, start=3, end=370\n", "max_sum=1888, start=320, end=925\n", "max_sum=1009, start=191, end=400\n", "max_sum=2792, start=278, end=517\n", "max_sum=1705, start=644, end=989\n", "max_sum=1365, start=162, end=479\n", "max_sum=1520, start=89, end=161\n", "max_sum=1892, start=552, end=959\n", "max_sum=2860, start=20, end=507\n", "max_sum=5381, start=320, end=964\n", "max_sum=1692, start=576, end=878\n", "max_sum=2397, start=0, end=822\n", "max_sum=3473, start=69, end=927\n", "max_sum=2553, start=45, end=969\n", "max_sum=3306, start=2, end=289\n", "max_sum=1662, start=482, end=634\n", "max_sum=1938, start=727, end=930\n", "max_sum=1442, start=844, end=978\n", "max_sum=2661, start=657, end=922\n", "max_sum=2954, start=101, end=547\n", "max_sum=1887, start=184, end=914\n", "max_sum=1612, start=60, end=773\n", "max_sum=3325, start=153, end=986\n", "max_sum=1618, start=167, end=335\n", "max_sum=1432, start=95, end=270\n", "max_sum=2055, start=548, end=894\n", "max_sum=1747, start=398, end=494\n", "max_sum=3758, start=278, end=995\n", "max_sum=2005, start=498, end=808\n", "max_sum=3308, start=134, end=883\n", "max_sum=885, start=967, end=990\n", "max_sum=1520, start=13, end=174\n", "max_sum=1025, start=748, end=892\n", "max_sum=2506, start=86, end=318\n", "max_sum=2250, start=137, end=687\n", "max_sum=1798, start=197, end=788\n", "max_sum=3270, start=338, end=736\n", "max_sum=2688, start=66, end=695\n", "max_sum=1574, start=80, end=216\n", "max_sum=1774, start=489, end=987\n", "max_sum=1808, start=66, end=286\n", "max_sum=942, start=555, end=616\n", "max_sum=3904, start=10, end=966\n", "max_sum=1081, start=588, end=770\n", "max_sum=3815, start=0, end=572\n", "max_sum=1760, start=753, end=865\n", "max_sum=1714, start=7, end=231\n", "max_sum=831, start=877, end=924\n", "max_sum=1647, start=539, end=984\n", "max_sum=1204, start=321, end=468\n", "max_sum=1587, start=631, end=840\n", "max_sum=1393, start=481, end=805\n", "max_sum=1333, start=10, end=169\n", "max_sum=3752, start=54, end=685\n", "max_sum=4246, start=70, end=862\n", "max_sum=2391, start=325, end=890\n", "max_sum=3141, start=358, end=808\n", "max_sum=2069, start=368, end=600\n", "max_sum=964, start=753, end=817\n", "max_sum=3365, start=224, end=818\n", "max_sum=3875, start=135, end=687\n", "max_sum=3430, start=424, end=928\n", "max_sum=2605, start=399, end=955\n", "max_sum=1969, start=214, end=464\n", "max_sum=1285, start=576, end=763\n", "max_sum=3478, start=8, end=797\n", "max_sum=2605, start=344, end=756\n", "max_sum=1806, start=765, end=998\n", "max_sum=1936, start=140, end=895\n", "max_sum=3327, start=671, end=970\n", "max_sum=1461, start=307, end=463\n", "max_sum=4663, start=267, end=820\n", "max_sum=2692, start=269, end=957\n", "max_sum=3301, start=7, end=983\n", "max_sum=1967, start=0, end=275\n", "max_sum=776, start=34, end=85\n", "max_sum=1669, start=112, end=774\n", "max_sum=1882, start=4, end=100\n", "max_sum=3488, start=2, end=568\n", "max_sum=2273, start=731, end=940\n", "max_sum=2440, start=250, end=826\n", "max_sum=2269, start=303, end=638\n", "max_sum=2609, start=68, end=526\n", "max_sum=2434, start=12, end=980\n", "max_sum=1625, start=43, end=467\n", "max_sum=964, start=951, end=996\n", "max_sum=2564, start=445, end=991\n", "max_sum=1173, start=767, end=854\n", "max_sum=1953, start=364, end=925\n", "max_sum=4005, start=0, end=945\n", "max_sum=877, start=68, end=255\n", "max_sum=1708, start=741, end=996\n", "max_sum=2692, start=90, end=361\n", "max_sum=1916, start=0, end=245\n", "max_sum=1449, start=38, end=116\n", "max_sum=1894, start=100, end=991\n", "max_sum=1618, start=528, end=739\n", "max_sum=1634, start=686, end=987\n", "max_sum=2733, start=3, end=472\n", "max_sum=2503, start=155, end=937\n", "max_sum=2282, start=0, end=991\n", "max_sum=4141, start=142, end=982\n", "max_sum=1992, start=749, end=946\n", "max_sum=1472, start=748, end=860\n", "max_sum=1309, start=632, end=968\n", "max_sum=1502, start=287, end=536\n", "max_sum=3528, start=159, end=850\n", "max_sum=2156, start=505, end=847\n", "max_sum=4041, start=7, end=892\n", "max_sum=1801, start=341, end=496\n", "max_sum=2063, start=696, end=917\n", "max_sum=1761, start=102, end=278\n", "max_sum=1761, start=3, end=248\n", "max_sum=4067, start=0, end=986\n", "max_sum=3305, start=430, end=982\n", "max_sum=1542, start=548, end=676\n", "max_sum=2349, start=125, end=790\n", "max_sum=1448, start=221, end=808\n", "max_sum=2548, start=279, end=851\n", "max_sum=1760, start=728, end=908\n", "max_sum=1287, start=385, end=982\n", "max_sum=2757, start=25, end=756\n", "max_sum=1669, start=303, end=560\n", "max_sum=2377, start=55, end=671\n", "max_sum=2372, start=461, end=745\n", "max_sum=3136, start=171, end=970\n", "max_sum=2091, start=22, end=597\n", "max_sum=2967, start=244, end=528\n", "max_sum=970, start=666, end=740\n", "max_sum=1409, start=471, end=701\n", "max_sum=2959, start=25, end=707\n", "max_sum=4218, start=235, end=896\n", "max_sum=2027, start=457, end=907\n", "max_sum=1478, start=704, end=941\n", "max_sum=2210, start=364, end=972\n", "max_sum=3555, start=452, end=850\n", "max_sum=1565, start=389, end=511\n", "max_sum=4326, start=75, end=970\n", "max_sum=1879, start=32, end=873\n", "max_sum=4347, start=249, end=936\n", "max_sum=2581, start=355, end=911\n", "max_sum=2021, start=593, end=995\n", "max_sum=4266, start=3, end=472\n", "max_sum=1962, start=635, end=999\n", "max_sum=1287, start=189, end=454\n", "max_sum=1473, start=794, end=890\n", "max_sum=997, start=398, end=435\n", "max_sum=1775, start=294, end=709\n", "max_sum=2163, start=125, end=355\n", "max_sum=3951, start=41, end=453\n", "max_sum=1096, start=14, end=141\n", "max_sum=2535, start=35, end=985\n", "max_sum=1416, start=817, end=986\n", "max_sum=1447, start=704, end=981\n", "max_sum=2183, start=495, end=889\n", "max_sum=4348, start=295, end=849\n", "max_sum=1054, start=581, end=891\n", "max_sum=2843, start=25, end=444\n", "max_sum=2173, start=167, end=569\n", "max_sum=2092, start=121, end=743\n", "max_sum=3389, start=13, end=566\n", "max_sum=1907, start=437, end=529\n", "max_sum=4386, start=302, end=948\n", "max_sum=1427, start=402, end=648\n", "max_sum=1858, start=79, end=296\n", "max_sum=867, start=243, end=331\n", "max_sum=2432, start=414, end=858\n", "max_sum=1422, start=353, end=496\n", "max_sum=2814, start=143, end=713\n", "max_sum=3053, start=4, end=871\n", "max_sum=1651, start=291, end=425\n", "max_sum=1297, start=410, end=805\n", "max_sum=2867, start=0, end=787\n", "max_sum=1709, start=48, end=135\n", "max_sum=1129, start=456, end=942\n", "max_sum=1348, start=669, end=721\n", "max_sum=1291, start=129, end=326\n", "max_sum=1559, start=191, end=346\n", "max_sum=1779, start=266, end=998\n", "max_sum=3348, start=77, end=977\n", "max_sum=4200, start=38, end=971\n", "max_sum=3310, start=0, end=477\n", "max_sum=1889, start=0, end=604\n", "max_sum=3521, start=0, end=853\n", "max_sum=1342, start=133, end=456\n", "max_sum=3004, start=589, end=970\n", "max_sum=1328, start=324, end=576\n", "max_sum=3671, start=413, end=979\n", "max_sum=3371, start=359, end=981\n", "max_sum=2388, start=387, end=998\n", "max_sum=2325, start=31, end=520\n", "max_sum=2490, start=39, end=516\n", "max_sum=2707, start=2, end=345\n", "max_sum=1449, start=83, end=229\n", "max_sum=1519, start=42, end=323\n", "max_sum=1330, start=148, end=340\n", "max_sum=2142, start=246, end=646\n", "max_sum=1775, start=42, end=274\n", "max_sum=3745, start=76, end=808\n", "max_sum=2955, start=271, end=490\n", "max_sum=2980, start=73, end=788\n", "max_sum=1239, start=307, end=581\n", "max_sum=2811, start=0, end=880\n", "max_sum=3190, start=203, end=984\n", "max_sum=2380, start=33, end=294\n", "max_sum=1472, start=178, end=473\n", "max_sum=2267, start=92, end=981\n", "max_sum=1698, start=19, end=275\n", "max_sum=1007, start=653, end=780\n", "max_sum=1646, start=185, end=509\n", "max_sum=2419, start=44, end=520\n", "max_sum=1494, start=374, end=704\n", "max_sum=1516, start=12, end=113\n", "max_sum=1460, start=659, end=976\n", "max_sum=2226, start=154, end=966\n", "max_sum=3575, start=132, end=662\n", "max_sum=1192, start=101, end=190\n", "max_sum=1690, start=268, end=607\n", "max_sum=1120, start=2, end=249\n", "max_sum=1952, start=12, end=155\n", "max_sum=3097, start=34, end=997\n", "max_sum=1591, start=529, end=869\n", "max_sum=2194, start=93, end=432\n", "max_sum=2057, start=438, end=862\n", "max_sum=1776, start=370, end=859\n", "max_sum=2422, start=35, end=692\n", "max_sum=2894, start=608, end=966\n", "max_sum=1837, start=171, end=441\n", "max_sum=2040, start=188, end=433\n", "max_sum=3848, start=149, end=947\n", "max_sum=4336, start=541, end=999\n", "max_sum=2565, start=12, end=597\n", "max_sum=1967, start=642, end=924\n", "max_sum=1994, start=618, end=831\n", "max_sum=1430, start=281, end=413\n", "max_sum=2827, start=351, end=841\n", "max_sum=2531, start=64, end=938\n", "max_sum=3826, start=49, end=877\n", "max_sum=1566, start=447, end=784\n", "max_sum=2368, start=29, end=500\n", "max_sum=2934, start=243, end=711\n", "max_sum=1972, start=143, end=798\n", "max_sum=1678, start=58, end=255\n", "max_sum=2171, start=316, end=734\n", "max_sum=2133, start=410, end=717\n", "max_sum=3648, start=0, end=857\n", "max_sum=2992, start=274, end=770\n", "max_sum=1788, start=54, end=329\n", "max_sum=1975, start=90, end=364\n", "max_sum=1169, start=703, end=986\n", "max_sum=1705, start=243, end=368\n", "max_sum=2231, start=578, end=992\n", "max_sum=2036, start=18, end=634\n", "max_sum=2000, start=319, end=445\n", "max_sum=2715, start=21, end=468\n", "max_sum=3154, start=283, end=708\n", "max_sum=2473, start=4, end=408\n", "max_sum=3998, start=73, end=793\n", "max_sum=1729, start=377, end=832\n", "max_sum=2817, start=515, end=794\n", "max_sum=1365, start=233, end=351\n", "max_sum=3637, start=99, end=489\n", "max_sum=1917, start=125, end=687\n", "max_sum=2029, start=362, end=829\n", "max_sum=1820, start=619, end=840\n", "max_sum=2687, start=385, end=714\n", "max_sum=1274, start=97, end=482\n", "max_sum=1555, start=693, end=858\n", "max_sum=2370, start=351, end=966\n", "max_sum=5374, start=0, end=685\n", "max_sum=2126, start=493, end=856\n", "max_sum=2570, start=35, end=993\n", "max_sum=3246, start=368, end=977\n", "max_sum=2316, start=166, end=522\n", "max_sum=1576, start=696, end=774\n", "max_sum=3514, start=17, end=997\n", "max_sum=1319, start=948, end=994\n", "max_sum=2059, start=440, end=593\n", "max_sum=2394, start=11, end=815\n", "max_sum=1518, start=116, end=409\n", "max_sum=4545, start=2, end=859\n", "max_sum=1334, start=866, end=990\n", "max_sum=2239, start=645, end=911\n", "max_sum=2483, start=0, end=334\n", "max_sum=956, start=447, end=709\n", "max_sum=3175, start=163, end=676\n", "max_sum=1368, start=880, end=997\n", "max_sum=1140, start=697, end=779\n", "max_sum=3819, start=2, end=893\n", "max_sum=1317, start=830, end=960\n", "max_sum=2356, start=577, end=989\n", "max_sum=2063, start=512, end=980\n", "max_sum=933, start=177, end=283\n", "max_sum=2358, start=58, end=211\n", "max_sum=1585, start=484, end=829\n", "max_sum=2253, start=25, end=861\n", "max_sum=1628, start=142, end=298\n", "max_sum=2207, start=693, end=996\n", "max_sum=2850, start=73, end=458\n", "max_sum=1172, start=691, end=725\n", "max_sum=2216, start=100, end=572\n", "max_sum=4178, start=342, end=793\n", "max_sum=1181, start=195, end=686\n", "max_sum=2762, start=56, end=563\n", "max_sum=1878, start=234, end=955\n", "max_sum=4189, start=31, end=919\n", "max_sum=1479, start=794, end=996\n", "max_sum=2514, start=286, end=832\n", "max_sum=1044, start=693, end=739\n", "max_sum=2203, start=715, end=992\n", "max_sum=2039, start=498, end=750\n", "max_sum=1326, start=749, end=846\n", "max_sum=1859, start=33, end=508\n", "max_sum=1783, start=85, end=255\n", "max_sum=2657, start=4, end=905\n", "max_sum=1181, start=843, end=994\n", "max_sum=2682, start=253, end=974\n", "max_sum=1361, start=460, end=579\n", "max_sum=3333, start=0, end=999\n", "max_sum=1348, start=46, end=265\n", "max_sum=1419, start=445, end=560\n", "max_sum=2192, start=59, end=639\n", "max_sum=2994, start=97, end=626\n", "max_sum=1894, start=20, end=474\n", "max_sum=1667, start=429, end=852\n", "max_sum=2295, start=268, end=871\n", "max_sum=1520, start=18, end=165\n", "max_sum=1598, start=468, end=984\n", "max_sum=1797, start=6, end=159\n", "max_sum=1991, start=616, end=958\n", "max_sum=3182, start=14, end=999\n", "max_sum=1705, start=860, end=998\n", "max_sum=2778, start=24, end=487\n", "max_sum=1218, start=0, end=122\n", "max_sum=1058, start=861, end=980\n", "max_sum=2255, start=614, end=847\n", "max_sum=1532, start=8, end=771\n", "max_sum=2277, start=738, end=999\n", "max_sum=2212, start=144, end=300\n", "max_sum=1775, start=30, end=127\n", "max_sum=2167, start=148, end=412\n", "max_sum=2208, start=44, end=449\n", "max_sum=1771, start=0, end=197\n", "max_sum=5073, start=0, end=982\n", "max_sum=2045, start=627, end=874\n", "max_sum=2112, start=144, end=361\n", "max_sum=1105, start=414, end=558\n", "max_sum=2412, start=18, end=715\n", "max_sum=1713, start=464, end=985\n", "max_sum=3089, start=8, end=829\n", "max_sum=2045, start=841, end=958\n", "max_sum=1902, start=9, end=178\n", "max_sum=1497, start=12, end=113\n", "max_sum=1179, start=475, end=649\n", "max_sum=1637, start=225, end=391\n", "max_sum=1114, start=376, end=452\n", "max_sum=3174, start=35, end=804\n", "max_sum=2052, start=44, end=280\n", "max_sum=2946, start=0, end=979\n", "max_sum=3221, start=88, end=554\n", "max_sum=1067, start=340, end=653\n", "max_sum=1243, start=285, end=475\n", "max_sum=6043, start=0, end=930\n", "max_sum=3041, start=163, end=867\n", "max_sum=2176, start=447, end=973\n", "max_sum=2075, start=265, end=741\n", "max_sum=674, start=502, end=677\n", "max_sum=3150, start=49, end=769\n", "max_sum=1895, start=710, end=954\n", "max_sum=3157, start=4, end=967\n", "max_sum=2370, start=276, end=998\n", "max_sum=3204, start=186, end=963\n", "max_sum=3895, start=12, end=931\n", "max_sum=1449, start=276, end=595\n", "max_sum=2307, start=59, end=377\n", "max_sum=1687, start=125, end=568\n", "max_sum=1306, start=324, end=663\n", "max_sum=1671, start=0, end=233\n", "max_sum=946, start=340, end=435\n", "max_sum=3519, start=45, end=592\n", "max_sum=2102, start=819, end=992\n", "max_sum=1446, start=59, end=278\n", "max_sum=1179, start=778, end=951\n", "max_sum=2539, start=35, end=790\n", "max_sum=2725, start=59, end=965\n", "max_sum=1762, start=331, end=528\n", "max_sum=2332, start=164, end=811\n", "max_sum=3489, start=11, end=382\n", "max_sum=2175, start=12, end=471\n", "max_sum=3548, start=12, end=873\n", "max_sum=1615, start=276, end=912\n", "max_sum=2745, start=365, end=972\n", "max_sum=2879, start=0, end=559\n", "max_sum=3442, start=270, end=872\n", "max_sum=2253, start=3, end=826\n", "max_sum=1172, start=148, end=289\n", "max_sum=3327, start=695, end=938\n", "max_sum=2534, start=67, end=639\n", "max_sum=1861, start=323, end=589\n", "max_sum=2568, start=362, end=969\n", "max_sum=3371, start=39, end=406\n", "max_sum=3451, start=241, end=806\n", "max_sum=1676, start=354, end=466\n", "max_sum=1985, start=659, end=820\n", "max_sum=2220, start=72, end=715\n", "max_sum=927, start=697, end=758\n", "max_sum=2931, start=296, end=945\n", "max_sum=1791, start=657, end=909\n", "max_sum=1863, start=529, end=913\n", "max_sum=2321, start=104, end=648\n", "max_sum=1802, start=260, end=771\n", "max_sum=1990, start=545, end=851\n", "max_sum=1714, start=557, end=907\n", "max_sum=2258, start=67, end=750\n", "max_sum=2099, start=676, end=879\n", "max_sum=1763, start=813, end=982\n", "max_sum=1953, start=245, end=797\n", "max_sum=3139, start=0, end=724\n", "max_sum=2026, start=233, end=814\n", "max_sum=3597, start=630, end=968\n", "max_sum=3461, start=128, end=430\n", "max_sum=2551, start=42, end=794\n", "max_sum=1135, start=809, end=847\n", "max_sum=1940, start=139, end=842\n", "max_sum=1102, start=566, end=706\n", "max_sum=2483, start=0, end=379\n", "max_sum=952, start=636, end=699\n", "max_sum=1018, start=459, end=512\n", "max_sum=1053, start=542, end=613\n", "max_sum=2556, start=282, end=727\n", "max_sum=2471, start=578, end=847\n", "max_sum=2433, start=289, end=986\n", "max_sum=1154, start=177, end=379\n", "max_sum=1696, start=402, end=730\n", "max_sum=3090, start=18, end=783\n", "max_sum=3597, start=113, end=996\n", "max_sum=2032, start=40, end=544\n", "max_sum=1421, start=758, end=950\n", "max_sum=3497, start=5, end=974\n", "max_sum=1126, start=819, end=996\n", "max_sum=1071, start=0, end=121\n", "max_sum=1241, start=943, end=988\n", "max_sum=2324, start=71, end=459\n", "max_sum=1414, start=307, end=518\n", "max_sum=2810, start=552, end=937\n", "max_sum=1903, start=177, end=511\n", "max_sum=1287, start=743, end=961\n", "max_sum=1899, start=38, end=200\n", "max_sum=1198, start=551, end=633\n", "max_sum=3990, start=204, end=941\n", "max_sum=1830, start=218, end=305\n", "max_sum=3461, start=96, end=939\n", "max_sum=2361, start=89, end=590\n", "max_sum=1473, start=4, end=140\n", "max_sum=2138, start=306, end=934\n", "max_sum=2449, start=455, end=772\n", "max_sum=2399, start=49, end=998\n", "max_sum=1767, start=47, end=677\n", "max_sum=2052, start=475, end=989\n", "max_sum=1666, start=627, end=921\n", "max_sum=915, start=78, end=260\n", "max_sum=2410, start=146, end=631\n", "max_sum=3950, start=5, end=854\n", "max_sum=2325, start=7, end=957\n", "max_sum=3578, start=0, end=982\n", "max_sum=2264, start=4, end=457\n", "max_sum=1922, start=203, end=400\n", "max_sum=2192, start=401, end=820\n", "max_sum=2436, start=70, end=799\n", "max_sum=1383, start=597, end=890\n", "max_sum=2034, start=44, end=474\n", "max_sum=1583, start=235, end=727\n", "max_sum=1574, start=157, end=713\n", "max_sum=2090, start=594, end=901\n", "max_sum=1393, start=342, end=390\n", "max_sum=2026, start=742, end=884\n", "max_sum=1660, start=763, end=974\n", "max_sum=2658, start=138, end=647\n", "max_sum=1226, start=314, end=366\n", "max_sum=1649, start=409, end=819\n", "max_sum=2264, start=80, end=253\n", "max_sum=2574, start=67, end=358\n", "max_sum=1151, start=895, end=999\n", "max_sum=1407, start=530, end=719\n", "max_sum=1649, start=8, end=278\n", "max_sum=1331, start=67, end=472\n", "max_sum=1864, start=259, end=530\n", "max_sum=2421, start=259, end=970\n", "max_sum=1173, start=10, end=99\n", "max_sum=1105, start=822, end=986\n", "max_sum=3056, start=186, end=561\n", "max_sum=1270, start=866, end=988\n", "max_sum=1467, start=59, end=169\n", "max_sum=1015, start=151, end=250\n", "max_sum=2047, start=583, end=996\n", "max_sum=3594, start=443, end=813\n", "max_sum=2401, start=712, end=905\n", "max_sum=1844, start=0, end=596\n", "max_sum=2811, start=279, end=699\n", "max_sum=2201, start=703, end=922\n", "max_sum=2307, start=89, end=674\n", "max_sum=2340, start=14, end=875\n", "max_sum=3713, start=169, end=952\n", "max_sum=1464, start=436, end=607\n", "max_sum=2445, start=80, end=595\n", "max_sum=2381, start=279, end=864\n", "max_sum=3698, start=154, end=758\n", "max_sum=2111, start=97, end=479\n", "max_sum=2958, start=203, end=998\n", "max_sum=2356, start=57, end=339\n", "max_sum=1842, start=410, end=612\n", "max_sum=1471, start=774, end=998\n", "max_sum=1767, start=207, end=416\n", "max_sum=2052, start=170, end=444\n", "max_sum=2652, start=52, end=999\n", "max_sum=3128, start=310, end=957\n", "max_sum=1061, start=566, end=664\n", "max_sum=1342, start=14, end=279\n", "max_sum=1880, start=399, end=938\n", "max_sum=1429, start=173, end=499\n", "max_sum=3878, start=79, end=896\n", "max_sum=2111, start=657, end=938\n", "max_sum=2781, start=14, end=981\n", "max_sum=1560, start=161, end=510\n", "max_sum=2809, start=0, end=568\n", "max_sum=1201, start=258, end=601\n", "max_sum=3405, start=13, end=999\n", "max_sum=2814, start=53, end=496\n", "max_sum=3695, start=5, end=924\n", "max_sum=2553, start=168, end=728\n", "max_sum=2175, start=52, end=236\n", "max_sum=3171, start=194, end=407\n", "max_sum=4933, start=272, end=928\n", "max_sum=2482, start=309, end=651\n", "max_sum=2129, start=368, end=580\n", "max_sum=2390, start=650, end=933\n", "max_sum=2063, start=296, end=490\n", "max_sum=2121, start=485, end=664\n", "max_sum=2251, start=226, end=523\n", "max_sum=2757, start=488, end=927\n", "max_sum=1426, start=212, end=812\n", "max_sum=1451, start=911, end=987\n", "max_sum=2756, start=316, end=945\n", "max_sum=2526, start=14, end=591\n", "max_sum=2578, start=326, end=548\n", "max_sum=2632, start=152, end=836\n", "max_sum=1499, start=417, end=831\n", "max_sum=2396, start=342, end=609\n", "max_sum=2609, start=9, end=997\n", "max_sum=2091, start=503, end=951\n", "max_sum=1323, start=275, end=551\n", "max_sum=1406, start=777, end=866\n", "max_sum=1592, start=149, end=301\n", "max_sum=5324, start=6, end=946\n", "max_sum=2025, start=378, end=597\n", "max_sum=2406, start=0, end=932\n", "max_sum=2157, start=10, end=579\n", "max_sum=2253, start=87, end=476\n", "max_sum=1562, start=113, end=923\n", "max_sum=2392, start=91, end=994\n", "max_sum=1649, start=561, end=984\n", "max_sum=1897, start=11, end=350\n", "max_sum=1903, start=407, end=736\n", "max_sum=2303, start=137, end=555\n", "max_sum=1744, start=199, end=626\n", "max_sum=1937, start=62, end=798\n", "max_sum=4742, start=364, end=999\n", "max_sum=2926, start=19, end=459\n", "max_sum=1228, start=734, end=993\n", "max_sum=1860, start=107, end=402\n", "max_sum=1741, start=367, end=882\n", "max_sum=4088, start=191, end=664\n", "max_sum=4727, start=6, end=990\n", "max_sum=2688, start=142, end=469\n", "max_sum=1155, start=608, end=796\n", "max_sum=2827, start=545, end=902\n", "max_sum=1714, start=472, end=921\n", "max_sum=2916, start=155, end=801\n", "max_sum=1915, start=0, end=180\n", "max_sum=2630, start=187, end=992\n", "max_sum=2655, start=318, end=653\n", "max_sum=1866, start=325, end=619\n", "max_sum=2636, start=52, end=796\n", "max_sum=3113, start=532, end=920\n", "max_sum=1611, start=4, end=154\n", "max_sum=1730, start=209, end=423\n", "max_sum=2390, start=590, end=970\n", "max_sum=2178, start=325, end=539\n", "max_sum=3783, start=220, end=904\n", "max_sum=3599, start=40, end=999\n", "max_sum=3071, start=409, end=940\n", "max_sum=2492, start=22, end=976\n", "max_sum=1876, start=604, end=982\n", "max_sum=1650, start=684, end=869\n", "max_sum=2315, start=420, end=796\n", "max_sum=2405, start=504, end=769\n", "max_sum=1750, start=22, end=270\n", "max_sum=1776, start=7, end=154\n", "max_sum=1584, start=144, end=388\n", "max_sum=1856, start=15, end=999\n", "max_sum=2539, start=86, end=454\n", "max_sum=1991, start=275, end=832\n", "max_sum=2625, start=6, end=961\n", "max_sum=1453, start=211, end=427\n", "max_sum=2472, start=6, end=865\n", "max_sum=2095, start=470, end=791\n", "max_sum=1328, start=899, end=999\n", "max_sum=1660, start=239, end=391\n", "max_sum=1513, start=330, end=604\n", "max_sum=2396, start=413, end=739\n", "max_sum=1497, start=752, end=895\n", "max_sum=2731, start=348, end=610\n", "max_sum=2320, start=112, end=485\n", "max_sum=1474, start=193, end=605\n", "max_sum=1143, start=561, end=798\n", "max_sum=1147, start=0, end=59\n", "max_sum=2084, start=753, end=826\n", "max_sum=4221, start=4, end=847\n", "max_sum=1812, start=228, end=292\n", "max_sum=1092, start=655, end=687\n", "max_sum=3357, start=199, end=927\n", "max_sum=1594, start=390, end=831\n", "max_sum=1964, start=776, end=979\n", "max_sum=805, start=561, end=582\n", "max_sum=2171, start=0, end=790\n", "max_sum=2638, start=313, end=999\n", "max_sum=1881, start=307, end=692\n", "max_sum=1787, start=307, end=452\n", "max_sum=4034, start=316, end=941\n", "max_sum=2248, start=18, end=561\n", "max_sum=2244, start=200, end=581\n", "max_sum=1325, start=844, end=979\n", "max_sum=3223, start=572, end=959\n", "max_sum=1954, start=303, end=808\n", "max_sum=1803, start=230, end=361\n", "max_sum=1739, start=518, end=645\n", "max_sum=1899, start=556, end=850\n", "max_sum=2187, start=7, end=502\n", "max_sum=1488, start=0, end=670\n", "max_sum=1832, start=73, end=165\n", "max_sum=1989, start=331, end=976\n", "max_sum=2237, start=20, end=465\n", "max_sum=1286, start=422, end=562\n", "max_sum=2041, start=157, end=345\n", "max_sum=1605, start=846, end=956\n", "max_sum=4262, start=0, end=920\n", "max_sum=1336, start=348, end=566\n", "max_sum=1901, start=8, end=636\n", "max_sum=1640, start=380, end=784\n", "max_sum=4417, start=23, end=899\n", "max_sum=1306, start=630, end=699\n", "max_sum=1931, start=306, end=853\n", "max_sum=1387, start=407, end=517\n", "max_sum=1110, start=259, end=301\n", "max_sum=1761, start=123, end=252\n", "max_sum=3653, start=87, end=797\n", "max_sum=1902, start=840, end=989\n", "max_sum=3454, start=54, end=565\n", "max_sum=1922, start=65, end=436\n", "max_sum=3325, start=10, end=655\n", "max_sum=2562, start=437, end=999\n", "max_sum=2510, start=446, end=934\n", "max_sum=3092, start=42, end=999\n", "max_sum=1509, start=426, end=547\n", "max_sum=2113, start=54, end=433\n", "max_sum=1866, start=718, end=880\n", "max_sum=1464, start=447, end=592\n", "max_sum=4709, start=4, end=903\n", "max_sum=1929, start=228, end=668\n", "max_sum=3117, start=298, end=958\n", "max_sum=1595, start=3, end=406\n", "max_sum=1514, start=416, end=519\n", "max_sum=1953, start=0, end=294\n", "max_sum=1728, start=315, end=535\n", "max_sum=2295, start=0, end=297\n", "max_sum=1546, start=295, end=535\n", "max_sum=2220, start=113, end=957\n", "max_sum=997, start=664, end=813\n", "max_sum=1868, start=3, end=636\n", "max_sum=2402, start=94, end=676\n", "max_sum=2765, start=76, end=556\n", "max_sum=2267, start=343, end=699\n", "max_sum=3848, start=51, end=379\n", "max_sum=1663, start=871, end=966\n", "max_sum=1633, start=187, end=676\n", "max_sum=3218, start=13, end=615\n", "max_sum=1717, start=314, end=634\n", "max_sum=1729, start=254, end=611\n", "max_sum=1025, start=777, end=824\n", "max_sum=1025, start=339, end=549\n", "max_sum=1318, start=510, end=944\n", "max_sum=1546, start=751, end=967\n", "max_sum=2584, start=485, end=954\n", "max_sum=1280, start=696, end=985\n", "max_sum=3093, start=402, end=949\n", "max_sum=2094, start=642, end=953\n", "max_sum=2000, start=239, end=823\n", "max_sum=1884, start=320, end=738\n", "max_sum=2175, start=27, end=561\n", "max_sum=2125, start=629, end=889\n", "max_sum=2921, start=71, end=854\n", "max_sum=997, start=344, end=571\n", "max_sum=1096, start=658, end=902\n", "max_sum=2706, start=5, end=595\n", "max_sum=2518, start=358, end=996\n", "max_sum=2370, start=698, end=993\n", "max_sum=2218, start=438, end=543\n", "max_sum=2051, start=115, end=720\n", "max_sum=1234, start=11, end=74\n", "max_sum=3112, start=108, end=821\n", "max_sum=2698, start=0, end=980\n", "max_sum=1904, start=238, end=396\n", "max_sum=1351, start=846, end=992\n", "max_sum=3466, start=0, end=991\n", "max_sum=1686, start=405, end=657\n", "max_sum=1571, start=390, end=689\n", "max_sum=4132, start=110, end=639\n", "max_sum=3032, start=512, end=766\n", "max_sum=2632, start=18, end=600\n", "max_sum=1302, start=304, end=385\n", "max_sum=1790, start=118, end=294\n", "max_sum=3526, start=82, end=918\n", "max_sum=1700, start=517, end=836\n", "max_sum=2182, start=472, end=741\n", "max_sum=1176, start=585, end=752\n", "max_sum=1595, start=663, end=851\n", "max_sum=914, start=9, end=169\n", "max_sum=1124, start=23, end=174\n", "max_sum=3445, start=356, end=951\n", "max_sum=2400, start=47, end=382\n", "max_sum=2140, start=266, end=877\n", "max_sum=3287, start=171, end=865\n", "max_sum=1426, start=53, end=342\n", "max_sum=2223, start=475, end=963\n", "max_sum=2307, start=486, end=967\n", "max_sum=1504, start=676, end=871\n", "max_sum=3131, start=634, end=999\n", "max_sum=1178, start=240, end=840\n", "max_sum=1958, start=714, end=967\n", "max_sum=3327, start=7, end=961\n", "max_sum=1586, start=159, end=334\n", "max_sum=3165, start=88, end=815\n", "max_sum=2512, start=0, end=769\n", "max_sum=2635, start=175, end=905\n", "max_sum=3561, start=20, end=953\n", "max_sum=1362, start=454, end=569\n", "max_sum=3056, start=45, end=735\n", "max_sum=1143, start=366, end=545\n", "max_sum=1539, start=464, end=544\n", "max_sum=2148, start=371, end=795\n", "max_sum=5933, start=11, end=756\n", "max_sum=2071, start=786, end=987\n", "max_sum=1541, start=557, end=999\n", "max_sum=3916, start=47, end=995\n", "max_sum=1584, start=54, end=622\n", "max_sum=2584, start=255, end=743\n", "max_sum=1537, start=0, end=147\n", "max_sum=1395, start=467, end=753\n", "max_sum=2105, start=9, end=360\n", "max_sum=2180, start=24, end=195\n", "max_sum=2493, start=0, end=538\n", "max_sum=3367, start=0, end=888\n", "max_sum=1392, start=6, end=179\n", "max_sum=1672, start=19, end=206\n", "max_sum=2404, start=41, end=750\n", "max_sum=2712, start=79, end=942\n", "max_sum=965, start=121, end=346\n", "max_sum=1720, start=116, end=978\n", "max_sum=2712, start=96, end=883\n", "max_sum=1588, start=0, end=186\n", "max_sum=914, start=702, end=883\n", "max_sum=2364, start=330, end=758\n", "max_sum=3928, start=142, end=787\n", "max_sum=1305, start=144, end=333\n", "max_sum=2652, start=419, end=946\n", "max_sum=2192, start=327, end=619\n", "max_sum=3351, start=0, end=597\n", "max_sum=2269, start=752, end=977\n", "max_sum=1559, start=31, end=253\n", "max_sum=1686, start=517, end=930\n", "max_sum=1556, start=2, end=322\n", "max_sum=1983, start=671, end=998\n", "max_sum=1152, start=31, end=250\n", "max_sum=2339, start=181, end=397\n", "max_sum=1313, start=7, end=89\n", "max_sum=2612, start=48, end=355\n", "max_sum=3463, start=7, end=975\n", "max_sum=1858, start=398, end=680\n", "max_sum=1287, start=518, end=639\n", "max_sum=1248, start=530, end=753\n", "max_sum=1391, start=672, end=785\n", "max_sum=2400, start=45, end=479\n", "max_sum=2791, start=8, end=551\n", "max_sum=1243, start=104, end=391\n", "max_sum=3920, start=124, end=999\n", "max_sum=1085, start=532, end=604\n", "max_sum=2187, start=165, end=435\n", "max_sum=991, start=170, end=604\n", "max_sum=1678, start=765, end=944\n", "max_sum=3009, start=92, end=541\n", "max_sum=902, start=832, end=906\n", "max_sum=1529, start=405, end=778\n", "max_sum=1449, start=650, end=940\n", "max_sum=4124, start=19, end=536\n", "max_sum=1563, start=15, end=81\n", "max_sum=2528, start=462, end=659\n", "max_sum=2800, start=19, end=713\n", "max_sum=3714, start=36, end=999\n", "max_sum=3055, start=381, end=739\n", "max_sum=3428, start=84, end=940\n", "max_sum=2921, start=542, end=958\n", "max_sum=3494, start=229, end=998\n", "max_sum=4936, start=325, end=826\n", "max_sum=2365, start=509, end=672\n", "max_sum=2560, start=528, end=978\n", "max_sum=2111, start=329, end=962\n", "max_sum=1588, start=0, end=205\n", "max_sum=1587, start=197, end=338\n", "max_sum=3209, start=0, end=587\n", "max_sum=1380, start=844, end=939\n", "max_sum=1880, start=584, end=838\n", "max_sum=2027, start=740, end=997\n", "max_sum=2773, start=0, end=512\n", "max_sum=2262, start=205, end=482\n", "max_sum=2746, start=339, end=869\n", "max_sum=2248, start=57, end=657\n", "max_sum=1427, start=841, end=975\n", "max_sum=1718, start=155, end=856\n", "max_sum=2946, start=339, end=847\n", "max_sum=2459, start=638, end=906\n", "max_sum=1522, start=245, end=413\n", "max_sum=1282, start=713, end=999\n", "max_sum=1830, start=162, end=559\n", "max_sum=2764, start=141, end=951\n", "max_sum=1966, start=466, end=671\n", "max_sum=2545, start=106, end=613\n", "max_sum=1392, start=29, end=371\n", "max_sum=5575, start=153, end=818\n", "max_sum=872, start=216, end=254\n", "max_sum=1894, start=214, end=641\n", "max_sum=2607, start=309, end=999\n", "max_sum=1381, start=35, end=106\n", "max_sum=2600, start=73, end=999\n", "max_sum=1530, start=17, end=354\n", "max_sum=1981, start=287, end=476\n", "max_sum=1896, start=66, end=641\n", "max_sum=1671, start=707, end=845\n", "max_sum=1670, start=29, end=175\n", "max_sum=4324, start=160, end=974\n", "max_sum=1443, start=500, end=578\n", "max_sum=2436, start=346, end=970\n", "max_sum=1745, start=161, end=545\n", "max_sum=1899, start=549, end=680\n", "max_sum=2634, start=29, end=339\n", "max_sum=3014, start=144, end=994\n", "max_sum=2613, start=390, end=998\n", "max_sum=2242, start=195, end=760\n", "max_sum=1243, start=646, end=673\n", "max_sum=2485, start=256, end=977\n", "max_sum=4030, start=159, end=920\n", "max_sum=3027, start=326, end=996\n", "max_sum=3336, start=221, end=542\n", "max_sum=3404, start=28, end=450\n", "max_sum=2090, start=122, end=561\n", "max_sum=2760, start=219, end=568\n", "max_sum=2003, start=332, end=549\n", "max_sum=1897, start=85, end=316\n", "max_sum=1976, start=577, end=936\n", "max_sum=1559, start=815, end=961\n", "max_sum=2117, start=363, end=545\n", "max_sum=3241, start=0, end=773\n", "max_sum=2392, start=305, end=734\n", "max_sum=5247, start=58, end=945\n", "max_sum=1642, start=427, end=619\n", "max_sum=2115, start=54, end=993\n", "max_sum=3022, start=79, end=973\n", "max_sum=2329, start=580, end=950\n", "max_sum=1603, start=717, end=828\n", "max_sum=2750, start=305, end=743\n", "max_sum=2070, start=0, end=167\n", "max_sum=2314, start=9, end=935\n", "max_sum=2352, start=47, end=773\n", "max_sum=2950, start=243, end=901\n", "max_sum=2350, start=28, end=966\n", "max_sum=2534, start=6, end=417\n", "max_sum=2273, start=66, end=340\n", "max_sum=2420, start=31, end=301\n", "max_sum=1819, start=183, end=478\n", "max_sum=1723, start=470, end=805\n", "max_sum=2692, start=576, end=964\n", "max_sum=2334, start=118, end=398\n", "max_sum=2089, start=78, end=607\n", "max_sum=1968, start=173, end=792\n", "max_sum=2020, start=68, end=341\n", "max_sum=2775, start=18, end=895\n", "max_sum=1557, start=885, end=996\n", "max_sum=2849, start=481, end=903\n", "max_sum=1300, start=159, end=229\n", "max_sum=2586, start=258, end=982\n", "max_sum=2672, start=623, end=968\n", "max_sum=3598, start=127, end=764\n", "max_sum=1551, start=386, end=854\n", "max_sum=2791, start=36, end=850\n", "max_sum=3227, start=158, end=397\n", "max_sum=1691, start=282, end=373\n", "max_sum=1657, start=528, end=838\n", "max_sum=2915, start=230, end=912\n", "max_sum=2276, start=182, end=662\n", "max_sum=1668, start=426, end=731\n", "max_sum=1952, start=296, end=951\n", "max_sum=2030, start=695, end=947\n", "max_sum=1949, start=20, end=135\n", "max_sum=2577, start=438, end=764\n", "max_sum=1880, start=565, end=842\n", "max_sum=3455, start=0, end=708\n", "max_sum=741, start=898, end=934\n", "max_sum=1373, start=348, end=895\n", "max_sum=1137, start=395, end=571\n", "max_sum=2569, start=187, end=932\n", "max_sum=3280, start=170, end=778\n", "max_sum=2195, start=309, end=714\n", "max_sum=4488, start=116, end=946\n", "max_sum=1337, start=13, end=396\n", "max_sum=2078, start=27, end=959\n", "max_sum=1877, start=403, end=640\n", "max_sum=2475, start=172, end=861\n", "max_sum=1090, start=130, end=432\n", "max_sum=3080, start=46, end=687\n", "max_sum=3984, start=9, end=836\n", "max_sum=1472, start=103, end=913\n", "max_sum=1422, start=574, end=914\n", "max_sum=2592, start=8, end=269\n", "max_sum=2229, start=525, end=623\n", "max_sum=3446, start=42, end=779\n", "max_sum=1457, start=25, end=64\n", "max_sum=3318, start=232, end=847\n", "max_sum=1269, start=762, end=845\n", "max_sum=1879, start=635, end=983\n", "max_sum=1854, start=42, end=251\n", "max_sum=2053, start=822, end=999\n", "max_sum=1655, start=616, end=913\n", "max_sum=2323, start=58, end=998\n", "max_sum=2528, start=61, end=776\n", "max_sum=1731, start=500, end=722\n", "max_sum=2689, start=573, end=989\n", "max_sum=1731, start=152, end=772\n", "max_sum=1061, start=461, end=509\n", "max_sum=2132, start=280, end=760\n", "max_sum=2200, start=834, end=957\n", "max_sum=1997, start=786, end=958\n", "max_sum=1382, start=741, end=859\n", "max_sum=1675, start=839, end=995\n", "max_sum=1674, start=821, end=966\n", "max_sum=3039, start=251, end=927\n", "max_sum=1668, start=444, end=869\n", "max_sum=2907, start=39, end=371\n", "max_sum=3913, start=176, end=818\n", "max_sum=2433, start=240, end=617\n", "max_sum=1385, start=31, end=537\n", "max_sum=1299, start=142, end=458\n", "max_sum=2722, start=131, end=953\n", "max_sum=3544, start=12, end=872\n", "max_sum=3922, start=10, end=633\n", "max_sum=2187, start=533, end=990\n", "max_sum=2059, start=759, end=984\n", "max_sum=2176, start=15, end=698\n", "max_sum=1484, start=546, end=932\n", "max_sum=2264, start=549, end=885\n", "max_sum=3512, start=5, end=899\n", "max_sum=1043, start=658, end=719\n", "max_sum=2166, start=0, end=645\n", "max_sum=1232, start=494, end=778\n", "max_sum=1978, start=165, end=991\n", "max_sum=1631, start=283, end=507\n", "max_sum=1669, start=251, end=693\n", "max_sum=1842, start=307, end=956\n", "max_sum=1382, start=636, end=947\n", "max_sum=1238, start=507, end=732\n", "max_sum=1300, start=304, end=442\n", "max_sum=2528, start=404, end=996\n", "max_sum=2891, start=524, end=997\n", "max_sum=1590, start=244, end=828\n", "max_sum=3467, start=3, end=918\n", "max_sum=4440, start=0, end=997\n", "max_sum=1472, start=99, end=594\n", "max_sum=1932, start=571, end=685\n", "max_sum=3146, start=423, end=990\n", "max_sum=1590, start=498, end=985\n", "max_sum=4013, start=70, end=588\n", "max_sum=2776, start=165, end=823\n", "max_sum=1489, start=749, end=916\n", "max_sum=2048, start=410, end=759\n", "max_sum=2976, start=65, end=657\n", "max_sum=2027, start=352, end=806\n", "max_sum=3199, start=335, end=999\n", "max_sum=1443, start=195, end=386\n", "max_sum=1172, start=302, end=366\n", "max_sum=1310, start=405, end=507\n", "max_sum=3601, start=39, end=979\n", "max_sum=3332, start=335, end=980\n", "max_sum=3425, start=448, end=979\n", "max_sum=1873, start=620, end=835\n", "max_sum=1544, start=617, end=884\n", "max_sum=4740, start=241, end=916\n", "max_sum=2942, start=6, end=739\n", "max_sum=2151, start=412, end=702\n", "max_sum=934, start=130, end=294\n", "max_sum=3278, start=464, end=735\n", "max_sum=1298, start=669, end=998\n", "max_sum=2175, start=791, end=999\n", "max_sum=2827, start=39, end=760\n", "max_sum=1504, start=548, end=741\n", "max_sum=1903, start=434, end=980\n", "max_sum=1720, start=23, end=300\n", "max_sum=3083, start=227, end=946\n", "max_sum=2941, start=75, end=678\n", "max_sum=1865, start=570, end=959\n", "max_sum=2846, start=236, end=453\n", "max_sum=1931, start=220, end=447\n", "max_sum=2934, start=223, end=594\n", "max_sum=3293, start=150, end=589\n", "max_sum=1085, start=525, end=643\n", "max_sum=2359, start=320, end=627\n", "max_sum=1086, start=901, end=987\n", "max_sum=1546, start=0, end=232\n", "max_sum=3492, start=0, end=755\n", "max_sum=2631, start=157, end=915\n", "max_sum=2555, start=37, end=415\n", "max_sum=2262, start=48, end=407\n", "max_sum=3653, start=4, end=968\n", "max_sum=2424, start=482, end=956\n", "max_sum=1926, start=16, end=206\n", "max_sum=2121, start=798, end=942\n", "max_sum=2188, start=10, end=422\n", "max_sum=1394, start=19, end=337\n", "max_sum=3746, start=38, end=641\n", "max_sum=2644, start=594, end=913\n", "max_sum=1770, start=57, end=347\n", "max_sum=2643, start=79, end=272\n", "max_sum=987, start=193, end=399\n", "max_sum=1638, start=290, end=647\n", "max_sum=1207, start=260, end=384\n", "max_sum=2387, start=239, end=508\n", "max_sum=1438, start=751, end=994\n", "max_sum=2237, start=247, end=642\n", "max_sum=3864, start=214, end=995\n", "max_sum=2864, start=157, end=476\n", "max_sum=3138, start=9, end=982\n", "max_sum=4621, start=48, end=962\n", "max_sum=2615, start=452, end=968\n", "max_sum=1471, start=108, end=384\n", "max_sum=1747, start=110, end=790\n", "max_sum=3010, start=171, end=891\n", "max_sum=1307, start=35, end=189\n", "max_sum=1688, start=421, end=822\n", "max_sum=3551, start=0, end=694\n", "max_sum=2366, start=578, end=798\n", "max_sum=4798, start=120, end=997\n", "max_sum=1731, start=256, end=378\n", "max_sum=1438, start=675, end=852\n", "max_sum=2952, start=2, end=556\n", "max_sum=1945, start=741, end=995\n", "max_sum=2170, start=415, end=850\n", "max_sum=2187, start=381, end=810\n", "max_sum=2269, start=388, end=851\n", "max_sum=1263, start=146, end=289\n", "max_sum=2451, start=302, end=984\n", "max_sum=1614, start=784, end=944\n", "max_sum=1458, start=606, end=718\n", "max_sum=5309, start=0, end=907\n", "max_sum=1148, start=671, end=741\n", "max_sum=1429, start=480, end=627\n", "max_sum=2810, start=160, end=984\n", "max_sum=2164, start=564, end=842\n", "max_sum=2508, start=188, end=530\n", "max_sum=1779, start=199, end=612\n", "max_sum=2191, start=618, end=996\n", "max_sum=1383, start=616, end=692\n", "max_sum=1619, start=465, end=608\n", "max_sum=1301, start=601, end=672\n", "max_sum=1541, start=669, end=789\n", "max_sum=2584, start=297, end=745\n", "max_sum=1327, start=174, end=300\n", "max_sum=1762, start=4, end=313\n", "max_sum=1612, start=0, end=201\n", "max_sum=2709, start=645, end=995\n", "max_sum=2408, start=423, end=952\n", "max_sum=1470, start=598, end=775\n", "max_sum=1409, start=21, end=280\n", "max_sum=1697, start=601, end=998\n", "max_sum=1359, start=37, end=229\n", "max_sum=1344, start=463, end=619\n", "max_sum=1798, start=166, end=553\n", "max_sum=2797, start=239, end=982\n", "max_sum=1974, start=3, end=163\n", "max_sum=2057, start=58, end=324\n", "max_sum=2575, start=3, end=593\n", "max_sum=1125, start=869, end=981\n", "max_sum=1259, start=289, end=429\n", "max_sum=2479, start=139, end=921\n", "max_sum=2590, start=32, end=951\n", "max_sum=1164, start=804, end=946\n", "max_sum=2814, start=585, end=998\n", "max_sum=2657, start=31, end=810\n", "max_sum=3222, start=665, end=938\n", "max_sum=1458, start=862, end=988\n", "max_sum=2875, start=5, end=562\n", "max_sum=1285, start=45, end=597\n", "max_sum=1211, start=55, end=215\n", "max_sum=1418, start=377, end=599\n", "max_sum=3546, start=162, end=873\n", "max_sum=679, start=698, end=726\n", "max_sum=2175, start=0, end=514\n", "max_sum=1281, start=119, end=269\n", "max_sum=2616, start=707, end=905\n", "max_sum=2243, start=67, end=904\n", "max_sum=1449, start=453, end=545\n", "max_sum=1512, start=36, end=446\n", "max_sum=1617, start=839, end=988\n", "max_sum=3664, start=15, end=993\n", "max_sum=1739, start=145, end=474\n", "max_sum=1449, start=29, end=402\n", "max_sum=2084, start=282, end=670\n", "max_sum=4658, start=340, end=998\n", "max_sum=1414, start=118, end=512\n", "max_sum=3837, start=42, end=376\n", "max_sum=1767, start=16, end=900\n", "max_sum=2815, start=495, end=993\n", "max_sum=5077, start=3, end=918\n", "max_sum=3377, start=95, end=945\n", "max_sum=1923, start=86, end=201\n", "max_sum=3810, start=62, end=810\n", "max_sum=1454, start=135, end=436\n", "max_sum=1523, start=84, end=329\n", "max_sum=1807, start=865, end=977\n", "max_sum=1565, start=506, end=813\n", "max_sum=2091, start=662, end=967\n", "max_sum=1940, start=358, end=791\n", "max_sum=1406, start=51, end=182\n", "max_sum=1398, start=143, end=268\n", "max_sum=1735, start=814, end=977\n", "max_sum=2658, start=173, end=605\n", "max_sum=1147, start=886, end=945\n", "max_sum=1893, start=459, end=864\n", "max_sum=1841, start=551, end=693\n", "max_sum=2063, start=884, end=971\n", "max_sum=4573, start=14, end=812\n", "max_sum=1936, start=171, end=350\n", "max_sum=1535, start=294, end=533\n", "max_sum=3810, start=72, end=988\n", "max_sum=1461, start=897, end=994\n", "max_sum=2631, start=315, end=538\n", "max_sum=2329, start=572, end=994\n", "max_sum=2935, start=85, end=948\n", "max_sum=3188, start=411, end=956\n", "max_sum=1411, start=36, end=215\n", "max_sum=1937, start=520, end=815\n", "max_sum=1192, start=448, end=525\n", "max_sum=2177, start=520, end=880\n", "max_sum=2489, start=380, end=604\n", "max_sum=2095, start=67, end=275\n", "max_sum=4170, start=27, end=782\n", "max_sum=1816, start=247, end=646\n", "max_sum=2056, start=671, end=805\n", "max_sum=2042, start=572, end=969\n", "max_sum=2042, start=252, end=950\n", "max_sum=711, start=507, end=711\n", "max_sum=2046, start=122, end=791\n", "max_sum=1420, start=231, end=456\n", "max_sum=1127, start=704, end=973\n", "max_sum=829, start=527, end=579\n", "max_sum=1380, start=388, end=563\n", "max_sum=1153, start=405, end=477\n", "max_sum=1721, start=578, end=856\n", "max_sum=3514, start=148, end=569\n", "max_sum=1645, start=411, end=935\n", "max_sum=1776, start=68, end=999\n", "max_sum=2537, start=29, end=387\n", "max_sum=2374, start=269, end=998\n", "max_sum=4801, start=226, end=954\n", "max_sum=1164, start=3, end=98\n", "max_sum=2029, start=431, end=698\n", "max_sum=2526, start=372, end=967\n", "max_sum=2089, start=575, end=782\n", "max_sum=1505, start=0, end=273\n", "max_sum=1992, start=823, end=991\n", "max_sum=1843, start=641, end=976\n", "max_sum=3338, start=3, end=495\n", "max_sum=1758, start=621, end=907\n", "max_sum=1887, start=509, end=714\n", "max_sum=2418, start=223, end=997\n", "max_sum=3239, start=13, end=529\n", "max_sum=3138, start=0, end=442\n", "max_sum=2296, start=708, end=999\n", "max_sum=2764, start=52, end=334\n", "max_sum=1729, start=316, end=704\n", "max_sum=3541, start=257, end=998\n", "max_sum=2432, start=371, end=895\n", "max_sum=2177, start=22, end=527\n", "max_sum=2641, start=0, end=835\n", "max_sum=2119, start=400, end=830\n", "max_sum=1587, start=601, end=761\n", "max_sum=878, start=416, end=569\n", "max_sum=2688, start=43, end=945\n", "max_sum=1324, start=93, end=425\n", "max_sum=2796, start=311, end=947\n", "max_sum=2103, start=26, end=175\n", "max_sum=2707, start=72, end=406\n", "max_sum=1458, start=300, end=580\n", "max_sum=1708, start=464, end=999\n", "max_sum=2488, start=565, end=875\n", "max_sum=1713, start=22, end=106\n", "max_sum=4035, start=14, end=801\n", "max_sum=1987, start=325, end=631\n", "max_sum=4115, start=125, end=905\n", "max_sum=3048, start=95, end=938\n", "max_sum=1891, start=587, end=854\n", "max_sum=1301, start=786, end=927\n", "max_sum=4767, start=9, end=569\n", "max_sum=1756, start=178, end=660\n", "max_sum=3303, start=238, end=534\n", "max_sum=1267, start=58, end=220\n", "max_sum=2034, start=349, end=631\n", "max_sum=2160, start=435, end=834\n", "max_sum=2035, start=735, end=984\n", "max_sum=1836, start=325, end=984\n", "max_sum=2137, start=19, end=791\n", "max_sum=3430, start=19, end=972\n", "max_sum=3421, start=268, end=998\n", "max_sum=2720, start=155, end=708\n", "max_sum=2237, start=648, end=958\n", "max_sum=1255, start=621, end=847\n", "max_sum=1513, start=681, end=976\n", "max_sum=1931, start=44, end=325\n", "max_sum=2352, start=788, end=999\n", "max_sum=2214, start=225, end=491\n", "max_sum=1796, start=56, end=780\n", "max_sum=2091, start=234, end=721\n", "max_sum=2691, start=263, end=815\n", "max_sum=3389, start=212, end=934\n", "max_sum=1378, start=706, end=802\n", "max_sum=3077, start=198, end=420\n", "max_sum=864, start=90, end=224\n", "max_sum=1068, start=282, end=559\n", "max_sum=1148, start=14, end=71\n", "max_sum=2156, start=535, end=922\n", "max_sum=1325, start=707, end=851\n", "max_sum=3404, start=61, end=997\n", "max_sum=1591, start=590, end=764\n", "max_sum=1686, start=92, end=295\n", "max_sum=2401, start=48, end=413\n", "max_sum=2017, start=480, end=841\n", "max_sum=2144, start=286, end=904\n", "max_sum=999, start=141, end=271\n", "max_sum=1662, start=669, end=873\n", "max_sum=1575, start=17, end=322\n", "max_sum=1669, start=64, end=215\n", "max_sum=2534, start=164, end=991\n", "max_sum=1340, start=0, end=622\n", "max_sum=1345, start=18, end=151\n", "max_sum=2756, start=70, end=863\n", "max_sum=1284, start=208, end=546\n", "max_sum=1955, start=274, end=863\n", "max_sum=1938, start=718, end=891\n", "max_sum=2742, start=121, end=756\n", "max_sum=1203, start=477, end=923\n", "max_sum=3332, start=241, end=648\n", "max_sum=2482, start=698, end=976\n", "max_sum=2365, start=103, end=451\n", "max_sum=2352, start=431, end=980\n", "max_sum=3836, start=23, end=977\n", "max_sum=1543, start=782, end=983\n", "max_sum=2305, start=80, end=425\n", "max_sum=2188, start=231, end=552\n", "max_sum=1815, start=210, end=730\n", "max_sum=2900, start=45, end=936\n", "max_sum=1308, start=501, end=782\n", "max_sum=2741, start=265, end=833\n", "max_sum=2287, start=189, end=998\n", "max_sum=2287, start=108, end=791\n", "max_sum=3056, start=48, end=324\n", "max_sum=1557, start=608, end=660\n", "max_sum=1644, start=82, end=524\n", "max_sum=2671, start=632, end=958\n", "max_sum=2135, start=226, end=925\n", "max_sum=2096, start=9, end=712\n", "max_sum=1865, start=462, end=684\n", "max_sum=1653, start=787, end=943\n", "max_sum=1875, start=580, end=932\n", "max_sum=1716, start=213, end=423\n", "max_sum=2102, start=626, end=927\n", "max_sum=2709, start=314, end=920\n", "max_sum=1019, start=291, end=533\n", "max_sum=2440, start=48, end=522\n", "max_sum=1818, start=522, end=952\n", "max_sum=4520, start=0, end=832\n", "max_sum=1396, start=793, end=894\n", "max_sum=1471, start=175, end=633\n", "max_sum=1295, start=931, end=994\n", "max_sum=1109, start=254, end=312\n", "max_sum=2526, start=3, end=318\n", "max_sum=5209, start=13, end=996\n", "max_sum=1267, start=45, end=134\n", "max_sum=2038, start=186, end=326\n", "max_sum=1874, start=685, end=956\n", "max_sum=2172, start=620, end=987\n", "max_sum=1553, start=107, end=470\n", "max_sum=3084, start=22, end=654\n", "max_sum=1443, start=0, end=475\n", "max_sum=1129, start=624, end=750\n", "max_sum=1961, start=0, end=259\n", "max_sum=1908, start=634, end=929\n", "max_sum=2021, start=721, end=995\n", "max_sum=1191, start=278, end=447\n", "max_sum=3980, start=2, end=996\n", "max_sum=1685, start=318, end=991\n", "max_sum=4853, start=229, end=923\n", "max_sum=2015, start=20, end=710\n", "max_sum=1987, start=11, end=379\n", "max_sum=4046, start=4, end=986\n", "max_sum=1109, start=170, end=253\n", "max_sum=2127, start=53, end=293\n", "max_sum=3227, start=41, end=996\n", "max_sum=2002, start=347, end=985\n", "max_sum=1911, start=869, end=995\n", "max_sum=2056, start=180, end=790\n", "max_sum=3129, start=19, end=562\n", "max_sum=2011, start=624, end=843\n", "max_sum=2762, start=29, end=728\n", "max_sum=1848, start=584, end=990\n", "max_sum=1291, start=550, end=942\n", "max_sum=1562, start=101, end=204\n", "max_sum=2412, start=198, end=531\n", "max_sum=3279, start=201, end=647\n", "max_sum=1452, start=209, end=997\n", "max_sum=1645, start=690, end=964\n", "max_sum=3702, start=9, end=994\n", "max_sum=1693, start=191, end=411\n", "max_sum=1511, start=458, end=988\n", "max_sum=1574, start=482, end=794\n", "max_sum=1876, start=337, end=691\n", "max_sum=1745, start=24, end=915\n", "max_sum=3304, start=102, end=995\n", "max_sum=1646, start=594, end=888\n", "max_sum=3251, start=37, end=988\n", "max_sum=1815, start=282, end=974\n", "max_sum=2099, start=268, end=508\n", "max_sum=1927, start=485, end=799\n", "max_sum=1421, start=740, end=885\n", "max_sum=1495, start=721, end=907\n", "max_sum=1615, start=86, end=393\n", "max_sum=2340, start=404, end=820\n", "max_sum=1875, start=841, end=996\n", "max_sum=2338, start=477, end=889\n", "max_sum=1209, start=241, end=320\n", "max_sum=857, start=719, end=789\n", "max_sum=3592, start=248, end=965\n", "max_sum=1973, start=439, end=820\n", "max_sum=1619, start=650, end=918\n", "max_sum=1382, start=0, end=145\n", "max_sum=1496, start=11, end=423\n", "max_sum=1534, start=29, end=534\n", "max_sum=3189, start=116, end=987\n", "max_sum=4297, start=3, end=710\n", "max_sum=1555, start=541, end=744\n", "max_sum=1827, start=23, end=256\n", "max_sum=1655, start=11, end=558\n", "max_sum=2316, start=362, end=988\n", "max_sum=3089, start=172, end=990\n", "max_sum=4137, start=214, end=975\n", "max_sum=2104, start=198, end=536\n", "max_sum=1916, start=623, end=754\n", "max_sum=3586, start=177, end=954\n", "max_sum=1011, start=632, end=736\n", "max_sum=3871, start=254, end=995\n", "max_sum=1092, start=103, end=214\n", "max_sum=1627, start=77, end=528\n", "max_sum=1003, start=424, end=483\n", "max_sum=3138, start=47, end=983\n", "max_sum=2978, start=185, end=784\n", "max_sum=1468, start=0, end=253\n", "max_sum=1427, start=219, end=332\n", "max_sum=2376, start=327, end=997\n", "max_sum=2018, start=592, end=900\n", "max_sum=4443, start=18, end=903\n", "max_sum=3504, start=119, end=713\n", "max_sum=2549, start=38, end=803\n", "max_sum=1491, start=221, end=373\n", "max_sum=2098, start=55, end=452\n", "max_sum=3087, start=113, end=990\n", "max_sum=3306, start=367, end=976\n", "max_sum=2589, start=33, end=541\n", "max_sum=5425, start=103, end=968\n", "max_sum=1824, start=836, end=919\n", "max_sum=1802, start=381, end=524\n", "max_sum=2848, start=44, end=955\n", "max_sum=2933, start=25, end=987\n", "max_sum=1707, start=81, end=686\n", "max_sum=2882, start=120, end=426\n", "max_sum=2571, start=84, end=638\n", "max_sum=2566, start=228, end=660\n", "max_sum=3220, start=56, end=819\n", "max_sum=1761, start=366, end=842\n", "max_sum=3006, start=57, end=676\n", "max_sum=2239, start=659, end=872\n", "max_sum=1005, start=0, end=105\n", "max_sum=1527, start=23, end=180\n", "max_sum=1883, start=6, end=361\n", "max_sum=2959, start=4, end=746\n", "max_sum=4439, start=188, end=910\n", "max_sum=1731, start=22, end=106\n", "max_sum=1298, start=540, end=741\n", "max_sum=2888, start=360, end=849\n", "max_sum=3818, start=5, end=655\n", "max_sum=3939, start=65, end=690\n", "max_sum=1749, start=0, end=267\n", "max_sum=1196, start=880, end=999\n", "max_sum=1709, start=56, end=334\n", "max_sum=2384, start=141, end=773\n", "max_sum=2260, start=663, end=918\n", "max_sum=3547, start=111, end=807\n", "max_sum=1935, start=156, end=741\n", "max_sum=2758, start=517, end=955\n", "max_sum=2739, start=597, end=975\n", "max_sum=1731, start=473, end=687\n", "max_sum=1566, start=22, end=224\n", "max_sum=1639, start=342, end=977\n", "max_sum=2492, start=290, end=578\n", "max_sum=2355, start=371, end=667\n", "max_sum=1749, start=9, end=510\n", "max_sum=3084, start=95, end=416\n", "max_sum=2201, start=650, end=841\n", "max_sum=1608, start=252, end=664\n", "max_sum=4230, start=56, end=990\n", "max_sum=2251, start=261, end=710\n", "max_sum=1673, start=777, end=910\n", "max_sum=1328, start=336, end=526\n", "max_sum=1575, start=476, end=593\n", "max_sum=1396, start=905, end=966\n", "max_sum=5097, start=520, end=998\n", "max_sum=2756, start=78, end=668\n", "max_sum=3229, start=66, end=648\n", "max_sum=1423, start=487, end=683\n", "max_sum=2291, start=419, end=570\n", "max_sum=2699, start=2, end=946\n", "max_sum=2957, start=70, end=987\n", "max_sum=2063, start=30, end=864\n", "max_sum=1482, start=595, end=937\n", "max_sum=1246, start=310, end=744\n", "max_sum=2196, start=320, end=594\n", "max_sum=1718, start=370, end=998\n", "max_sum=2474, start=480, end=990\n", "max_sum=1938, start=795, end=995\n", "max_sum=1901, start=691, end=964\n", "max_sum=2242, start=290, end=671\n", "max_sum=1706, start=178, end=445\n", "max_sum=1280, start=523, end=717\n", "max_sum=1740, start=174, end=906\n", "max_sum=2971, start=122, end=947\n", "max_sum=1232, start=0, end=197\n", "max_sum=3252, start=590, end=986\n", "max_sum=2452, start=157, end=523\n", "max_sum=1970, start=106, end=582\n", "max_sum=1187, start=227, end=374\n", "max_sum=2214, start=568, end=770\n", "max_sum=1468, start=429, end=560\n", "max_sum=2326, start=8, end=533\n", "max_sum=4605, start=13, end=980\n", "max_sum=3066, start=565, end=995\n", "max_sum=3265, start=63, end=873\n", "max_sum=2643, start=200, end=996\n", "max_sum=1849, start=420, end=895\n", "max_sum=1167, start=377, end=560\n", "max_sum=2480, start=0, end=129\n", "max_sum=1929, start=19, end=537\n", "max_sum=1843, start=80, end=486\n", "max_sum=2146, start=799, end=927\n", "max_sum=2345, start=69, end=921\n", "max_sum=1653, start=243, end=754\n", "max_sum=1108, start=609, end=855\n", "max_sum=4566, start=2, end=977\n", "max_sum=1721, start=320, end=558\n", "max_sum=1568, start=799, end=941\n", "max_sum=1716, start=827, end=965\n", "max_sum=3627, start=49, end=907\n", "max_sum=1667, start=278, end=765\n", "max_sum=3051, start=5, end=940\n", "max_sum=1032, start=621, end=850\n", "max_sum=1839, start=362, end=991\n", "max_sum=2055, start=410, end=999\n", "max_sum=1871, start=308, end=942\n", "max_sum=2171, start=2, end=283\n", "max_sum=1515, start=693, end=975\n", "max_sum=1624, start=79, end=306\n", "max_sum=4086, start=7, end=982\n", "max_sum=2334, start=60, end=228\n", "max_sum=3033, start=289, end=946\n", "max_sum=2428, start=158, end=892\n", "max_sum=1366, start=399, end=664\n", "max_sum=1637, start=0, end=86\n", "max_sum=1691, start=98, end=255\n", "max_sum=1290, start=84, end=341\n", "max_sum=2207, start=2, end=434\n", "max_sum=1725, start=898, end=998\n", "max_sum=2724, start=0, end=999\n", "max_sum=2486, start=571, end=774\n", "max_sum=2051, start=103, end=326\n", "max_sum=1813, start=28, end=295\n", "max_sum=3119, start=141, end=852\n", "max_sum=1660, start=659, end=766\n", "max_sum=4233, start=2, end=988\n", "max_sum=3591, start=21, end=869\n", "max_sum=2006, start=308, end=999\n", "max_sum=3350, start=126, end=774\n", "max_sum=2226, start=273, end=878\n", "max_sum=1349, start=0, end=66\n", "max_sum=2722, start=491, end=775\n", "max_sum=1408, start=39, end=544\n", "max_sum=2497, start=99, end=577\n", "max_sum=3608, start=25, end=629\n", "max_sum=3488, start=514, end=989\n", "max_sum=2309, start=598, end=963\n", "max_sum=1712, start=379, end=553\n", "max_sum=1640, start=127, end=352\n", "max_sum=1019, start=492, end=593\n", "max_sum=2642, start=125, end=638\n", "max_sum=2465, start=204, end=849\n", "max_sum=3164, start=126, end=808\n", "max_sum=4321, start=121, end=996\n", "max_sum=1607, start=527, end=863\n", "max_sum=2695, start=0, end=413\n", "max_sum=2734, start=679, end=999\n", "max_sum=3010, start=38, end=994\n", "max_sum=1457, start=346, end=627\n", "max_sum=1829, start=156, end=326\n", "max_sum=2401, start=0, end=344\n", "max_sum=1414, start=216, end=340\n", "max_sum=1829, start=251, end=673\n", "max_sum=2081, start=763, end=951\n", "max_sum=2413, start=16, end=404\n", "max_sum=2559, start=244, end=677\n", "max_sum=2501, start=426, end=833\n", "max_sum=1909, start=427, end=921\n", "max_sum=1377, start=281, end=442\n", "max_sum=1534, start=112, end=361\n", "max_sum=1052, start=865, end=969\n", "max_sum=2743, start=216, end=883\n", "max_sum=7006, start=0, end=908\n", "max_sum=2618, start=158, end=711\n", "max_sum=4510, start=464, end=999\n", "max_sum=2982, start=316, end=577\n", "max_sum=1606, start=368, end=653\n", "max_sum=2054, start=272, end=675\n", "max_sum=1673, start=745, end=919\n", "max_sum=2494, start=666, end=989\n", "max_sum=3773, start=54, end=626\n", "max_sum=2271, start=150, end=544\n", "max_sum=1101, start=926, end=999\n", "max_sum=2370, start=55, end=594\n", "max_sum=2796, start=379, end=900\n", "max_sum=2625, start=393, end=995\n", "max_sum=1347, start=577, end=812\n", "max_sum=2353, start=63, end=584\n", "max_sum=1859, start=199, end=305\n", "max_sum=2596, start=57, end=298\n", "max_sum=3395, start=226, end=905\n", "max_sum=1671, start=670, end=937\n", "max_sum=1579, start=721, end=946\n", "max_sum=1732, start=11, end=305\n", "max_sum=3955, start=32, end=692\n", "max_sum=1964, start=102, end=782\n", "max_sum=1391, start=201, end=497\n", "max_sum=3445, start=316, end=978\n", "max_sum=1694, start=444, end=704\n", "max_sum=2466, start=276, end=975\n", "max_sum=1751, start=594, end=993\n", "max_sum=2686, start=477, end=982\n", "max_sum=1497, start=543, end=871\n", "max_sum=2123, start=24, end=411\n", "max_sum=1677, start=595, end=773\n", "max_sum=1557, start=558, end=828\n", "max_sum=2221, start=26, end=530\n", "max_sum=3921, start=21, end=975\n", "max_sum=1765, start=193, end=437\n", "max_sum=3149, start=0, end=969\n", "max_sum=4102, start=2, end=875\n", "max_sum=2045, start=249, end=820\n", "max_sum=2347, start=270, end=508\n", "max_sum=1408, start=716, end=997\n", "max_sum=2357, start=531, end=933\n", "max_sum=1971, start=14, end=171\n", "max_sum=1389, start=604, end=786\n", "max_sum=2161, start=0, end=795\n", "max_sum=3043, start=644, end=929\n", "max_sum=1541, start=482, end=881\n", "max_sum=2336, start=48, end=627\n", "max_sum=2230, start=564, end=975\n", "max_sum=981, start=709, end=999\n", "max_sum=1386, start=344, end=559\n", "max_sum=1678, start=606, end=970\n", "max_sum=1684, start=332, end=494\n", "max_sum=4064, start=4, end=965\n", "max_sum=1843, start=637, end=796\n", "max_sum=1353, start=470, end=834\n", "max_sum=1290, start=474, end=652\n", "max_sum=1974, start=593, end=855\n", "max_sum=3410, start=42, end=865\n", "max_sum=856, start=840, end=946\n", "max_sum=4265, start=274, end=987\n", "max_sum=3003, start=425, end=719\n", "max_sum=1764, start=776, end=953\n", "max_sum=2184, start=403, end=927\n", "max_sum=1483, start=43, end=99\n", "max_sum=3767, start=145, end=850\n", "max_sum=1937, start=0, end=532\n", "max_sum=1979, start=692, end=984\n", "max_sum=3096, start=310, end=731\n", "max_sum=2613, start=2, end=988\n", "max_sum=1612, start=290, end=901\n", "max_sum=1938, start=545, end=902\n", "max_sum=3914, start=29, end=962\n", "max_sum=2171, start=4, end=685\n", "max_sum=1594, start=858, end=988\n", "max_sum=2117, start=23, end=783\n", "max_sum=2108, start=414, end=675\n", "max_sum=3064, start=151, end=999\n", "max_sum=5240, start=111, end=984\n", "max_sum=1810, start=452, end=895\n", "max_sum=3750, start=187, end=969\n", "max_sum=3287, start=323, end=588\n", "max_sum=1339, start=222, end=367\n", "max_sum=1444, start=731, end=973\n", "max_sum=2142, start=245, end=572\n", "max_sum=2033, start=161, end=533\n", "max_sum=3567, start=47, end=795\n", "max_sum=1735, start=156, end=476\n", "max_sum=1801, start=337, end=869\n", "max_sum=2647, start=5, end=925\n", "max_sum=2888, start=498, end=979\n", "max_sum=2366, start=627, end=999\n", "max_sum=3016, start=450, end=983\n", "max_sum=2220, start=3, end=280\n", "max_sum=3909, start=9, end=790\n", "max_sum=3660, start=0, end=959\n", "max_sum=4774, start=114, end=991\n", "max_sum=1550, start=329, end=608\n", "max_sum=2180, start=4, end=292\n", "max_sum=2356, start=546, end=962\n", "max_sum=1835, start=620, end=966\n", "max_sum=1647, start=317, end=708\n", "max_sum=2676, start=153, end=780\n", "max_sum=3926, start=50, end=865\n", "max_sum=2322, start=0, end=552\n", "max_sum=1353, start=4, end=103\n", "max_sum=3070, start=229, end=974\n", "max_sum=1446, start=348, end=423\n", "max_sum=3988, start=188, end=996\n", "max_sum=1156, start=645, end=939\n", "max_sum=4590, start=5, end=783\n", "max_sum=1520, start=327, end=564\n", "max_sum=1149, start=167, end=268\n", "max_sum=2237, start=36, end=601\n", "max_sum=2650, start=470, end=963\n", "max_sum=1661, start=224, end=545\n", "max_sum=1757, start=249, end=370\n", "max_sum=3183, start=19, end=708\n", "max_sum=3658, start=195, end=929\n", "max_sum=1170, start=253, end=512\n", "max_sum=1786, start=167, end=432\n", "max_sum=1491, start=597, end=882\n", "max_sum=2329, start=5, end=568\n", "max_sum=2345, start=201, end=444\n", "max_sum=1753, start=693, end=788\n", "max_sum=5678, start=21, end=871\n", "max_sum=1086, start=232, end=447\n", "max_sum=701, start=274, end=381\n", "max_sum=784, start=446, end=511\n", "max_sum=974, start=267, end=378\n", "max_sum=3206, start=6, end=479\n", "max_sum=2355, start=186, end=735\n", "max_sum=4669, start=8, end=678\n", "max_sum=3398, start=2, end=851\n", "max_sum=2163, start=410, end=839\n", "max_sum=4552, start=189, end=824\n", "max_sum=1209, start=31, end=139\n", "max_sum=1858, start=353, end=497\n", "max_sum=2831, start=10, end=958\n", "max_sum=2396, start=79, end=609\n", "max_sum=1633, start=25, end=378\n", "max_sum=2214, start=657, end=857\n", "max_sum=1416, start=849, end=922\n", "max_sum=2725, start=67, end=972\n", "max_sum=1499, start=0, end=90\n", "max_sum=3436, start=139, end=661\n", "max_sum=2135, start=57, end=606\n", "max_sum=2284, start=807, end=998\n", "max_sum=1625, start=28, end=349\n", "max_sum=2753, start=380, end=827\n", "max_sum=2601, start=527, end=998\n", "max_sum=2333, start=226, end=994\n", "max_sum=1996, start=572, end=913\n", "max_sum=1054, start=157, end=272\n", "max_sum=3152, start=117, end=769\n", "max_sum=1584, start=845, end=967\n", "max_sum=1241, start=11, end=230\n", "max_sum=2806, start=764, end=998\n", "max_sum=2252, start=444, end=933\n", "max_sum=3707, start=0, end=451\n", "max_sum=4471, start=27, end=959\n", "max_sum=2006, start=558, end=907\n", "max_sum=1346, start=568, end=773\n", "max_sum=3047, start=119, end=520\n", "max_sum=2557, start=214, end=708\n", "max_sum=2171, start=86, end=678\n", "max_sum=1582, start=768, end=979\n", "max_sum=1174, start=363, end=559\n", "max_sum=1968, start=823, end=971\n", "max_sum=2198, start=50, end=528\n", "max_sum=3563, start=0, end=978\n", "max_sum=1717, start=413, end=600\n", "max_sum=1833, start=419, end=859\n", "max_sum=1991, start=286, end=982\n", "max_sum=1854, start=11, end=108\n", "max_sum=2049, start=605, end=825\n", "max_sum=1620, start=10, end=982\n", "max_sum=2710, start=18, end=256\n", "max_sum=2033, start=546, end=999\n", "max_sum=2417, start=537, end=989\n", "max_sum=3833, start=151, end=925\n", "max_sum=1111, start=342, end=422\n", "max_sum=2993, start=254, end=852\n", "max_sum=2165, start=45, end=603\n", "max_sum=3885, start=9, end=817\n", "max_sum=1648, start=617, end=837\n", "max_sum=1278, start=253, end=504\n", "max_sum=2070, start=519, end=807\n", "max_sum=2007, start=333, end=672\n", "max_sum=2384, start=8, end=309\n", "max_sum=2901, start=589, end=985\n", "max_sum=1170, start=524, end=626\n", "max_sum=1668, start=30, end=990\n", "max_sum=1519, start=650, end=967\n", "max_sum=2486, start=94, end=747\n", "max_sum=1222, start=752, end=863\n", "max_sum=1621, start=611, end=872\n", "max_sum=1866, start=283, end=539\n", "max_sum=1196, start=691, end=977\n", "max_sum=1143, start=14, end=58\n", "max_sum=1965, start=769, end=962\n", "max_sum=3074, start=547, end=986\n", "max_sum=2234, start=183, end=508\n", "max_sum=4187, start=17, end=999\n", "max_sum=2089, start=5, end=809\n", "max_sum=1243, start=167, end=331\n", "max_sum=2157, start=461, end=761\n", "max_sum=1088, start=96, end=274\n", "max_sum=2568, start=0, end=971\n", "max_sum=1514, start=817, end=943\n", "max_sum=1460, start=299, end=453\n", "max_sum=1683, start=609, end=752\n", "max_sum=2296, start=70, end=637\n", "max_sum=1993, start=398, end=999\n", "max_sum=2381, start=110, end=321\n", "max_sum=3781, start=20, end=964\n", "max_sum=2810, start=170, end=782\n", "max_sum=2750, start=47, end=815\n", "max_sum=1587, start=317, end=810\n", "max_sum=2031, start=205, end=444\n", "max_sum=1298, start=623, end=701\n", "max_sum=3780, start=115, end=902\n", "max_sum=1412, start=569, end=758\n", "max_sum=1839, start=4, end=456\n", "max_sum=3466, start=3, end=825\n", "max_sum=2829, start=141, end=915\n", "max_sum=1553, start=579, end=728\n", "max_sum=3020, start=69, end=886\n", "max_sum=1524, start=164, end=421\n", "max_sum=2108, start=485, end=798\n", "max_sum=1220, start=715, end=959\n", "max_sum=3216, start=153, end=675\n", "max_sum=2177, start=53, end=993\n", "max_sum=2113, start=151, end=961\n", "max_sum=1117, start=867, end=952\n", "max_sum=2693, start=360, end=999\n", "max_sum=955, start=165, end=207\n", "max_sum=1648, start=583, end=759\n", "max_sum=3186, start=50, end=481\n", "max_sum=1797, start=800, end=926\n", "max_sum=4649, start=101, end=999\n", "max_sum=2236, start=55, end=654\n", "max_sum=1046, start=68, end=198\n", "max_sum=1985, start=101, end=586\n", "max_sum=1881, start=469, end=911\n", "max_sum=1710, start=331, end=563\n", "max_sum=1215, start=45, end=195\n", "max_sum=5372, start=24, end=999\n", "max_sum=2280, start=547, end=789\n", "max_sum=2652, start=26, end=371\n", "max_sum=1627, start=126, end=987\n", "max_sum=2416, start=379, end=748\n", "max_sum=1494, start=911, end=999\n", "max_sum=2229, start=802, end=938\n", "max_sum=1094, start=617, end=753\n", "max_sum=1816, start=225, end=463\n", "max_sum=2348, start=419, end=898\n", "max_sum=2644, start=245, end=830\n", "max_sum=2438, start=319, end=984\n", "max_sum=1140, start=487, end=600\n", "max_sum=1833, start=81, end=358\n", "max_sum=2890, start=42, end=423\n", "max_sum=4190, start=118, end=900\n", "max_sum=1548, start=652, end=912\n", "max_sum=1871, start=3, end=993\n", "max_sum=3207, start=3, end=922\n", "max_sum=2546, start=263, end=997\n", "max_sum=5931, start=409, end=967\n", "max_sum=1325, start=878, end=969\n", "max_sum=2118, start=0, end=641\n", "max_sum=2468, start=4, end=692\n", "max_sum=2961, start=160, end=723\n", "max_sum=1264, start=219, end=507\n", "max_sum=1045, start=301, end=429\n", "max_sum=1767, start=521, end=951\n", "max_sum=2090, start=45, end=981\n", "max_sum=1170, start=881, end=999\n", "max_sum=2117, start=476, end=980\n", "max_sum=3140, start=17, end=670\n", "max_sum=1742, start=287, end=776\n", "max_sum=2064, start=116, end=282\n", "max_sum=3540, start=126, end=860\n", "max_sum=1146, start=406, end=561\n", "max_sum=1973, start=370, end=960\n", "max_sum=3083, start=0, end=980\n", "max_sum=2579, start=103, end=800\n", "max_sum=2166, start=60, end=333\n", "max_sum=1535, start=306, end=898\n", "max_sum=2175, start=164, end=506\n", "max_sum=1229, start=508, end=597\n", "max_sum=2629, start=174, end=823\n", "max_sum=2752, start=13, end=998\n", "max_sum=2316, start=144, end=978\n", "max_sum=1442, start=5, end=245\n", "max_sum=1565, start=441, end=605\n", "max_sum=1235, start=498, end=637\n", "max_sum=1697, start=691, end=924\n", "max_sum=2069, start=313, end=509\n", "max_sum=3268, start=0, end=594\n", "max_sum=1724, start=353, end=909\n", "max_sum=2584, start=614, end=972\n", "max_sum=1155, start=167, end=391\n", "max_sum=2690, start=21, end=471\n", "max_sum=1536, start=125, end=389\n", "max_sum=798, start=0, end=130\n", "max_sum=1703, start=406, end=536\n", "max_sum=1687, start=0, end=848\n", "max_sum=1553, start=492, end=594\n", "max_sum=1213, start=61, end=332\n", "max_sum=3225, start=351, end=707\n", "max_sum=3310, start=13, end=489\n", "max_sum=1555, start=568, end=670\n", "max_sum=2888, start=235, end=768\n", "max_sum=1326, start=140, end=374\n", "max_sum=2282, start=460, end=787\n", "max_sum=2283, start=109, end=475\n", "max_sum=3036, start=434, end=709\n", "max_sum=1640, start=261, end=670\n", "max_sum=1624, start=210, end=572\n", "max_sum=2132, start=575, end=941\n", "max_sum=3647, start=15, end=999\n", "max_sum=1607, start=212, end=588\n", "max_sum=1680, start=452, end=899\n", "max_sum=1262, start=258, end=349\n", "max_sum=1252, start=66, end=150\n", "max_sum=4600, start=82, end=626\n", "max_sum=3324, start=4, end=986\n", "max_sum=2242, start=11, end=564\n", "max_sum=1071, start=668, end=785\n", "max_sum=1199, start=899, end=953\n", "max_sum=1113, start=375, end=483\n", "max_sum=1521, start=134, end=386\n", "max_sum=2497, start=63, end=609\n", "max_sum=1626, start=587, end=848\n", "max_sum=2618, start=234, end=802\n", "max_sum=4160, start=22, end=989\n", "max_sum=4204, start=246, end=786\n", "max_sum=2977, start=380, end=999\n", "max_sum=2588, start=291, end=620\n", "max_sum=2578, start=113, end=838\n", "max_sum=2303, start=13, end=421\n", "max_sum=4865, start=86, end=944\n", "max_sum=1843, start=129, end=262\n", "max_sum=1504, start=835, end=993\n", "max_sum=2918, start=24, end=846\n", "max_sum=2787, start=23, end=568\n", "max_sum=1890, start=783, end=898\n", "max_sum=2755, start=277, end=980\n", "max_sum=2816, start=203, end=971\n", "max_sum=1624, start=844, end=971\n", "max_sum=1345, start=160, end=273\n", "max_sum=1360, start=350, end=535\n", "max_sum=2483, start=76, end=367\n", "max_sum=1566, start=539, end=882\n", "max_sum=3152, start=201, end=888\n", "max_sum=1222, start=51, end=126\n", "max_sum=2895, start=471, end=993\n", "max_sum=2087, start=265, end=553\n", "max_sum=3285, start=72, end=971\n", "max_sum=3462, start=535, end=984\n", "max_sum=3640, start=16, end=746\n", "max_sum=3198, start=180, end=724\n", "max_sum=3834, start=123, end=801\n", "max_sum=3101, start=236, end=969\n", "max_sum=3235, start=60, end=858\n", "max_sum=2046, start=173, end=817\n", "max_sum=1247, start=609, end=873\n", "max_sum=1807, start=418, end=590\n", "max_sum=3953, start=415, end=943\n", "max_sum=1068, start=192, end=361\n", "max_sum=1527, start=636, end=861\n", "max_sum=1742, start=354, end=846\n", "max_sum=2614, start=250, end=948\n", "max_sum=1402, start=475, end=601\n", "max_sum=1610, start=321, end=568\n", "max_sum=2136, start=553, end=685\n", "max_sum=2749, start=741, end=959\n", "max_sum=4429, start=86, end=913\n", "max_sum=1594, start=48, end=439\n", "max_sum=1110, start=348, end=434\n", "max_sum=1224, start=447, end=603\n", "max_sum=1287, start=364, end=648\n", "max_sum=3216, start=170, end=785\n", "max_sum=1255, start=402, end=831\n", "max_sum=3634, start=20, end=393\n", "max_sum=3070, start=61, end=607\n", "max_sum=3130, start=230, end=483\n", "max_sum=4312, start=43, end=989\n", "max_sum=2559, start=38, end=939\n", "max_sum=3045, start=295, end=748\n", "max_sum=3902, start=76, end=997\n", "max_sum=1001, start=796, end=923\n", "max_sum=2647, start=74, end=396\n", "max_sum=2556, start=303, end=999\n", "max_sum=1193, start=13, end=108\n", "max_sum=1212, start=333, end=587\n", "max_sum=1893, start=16, end=253\n", "max_sum=4527, start=23, end=977\n", "max_sum=1244, start=391, end=516\n", "max_sum=2086, start=634, end=899\n", "max_sum=1424, start=552, end=808\n", "max_sum=2393, start=0, end=412\n", "max_sum=3156, start=337, end=993\n", "max_sum=2393, start=10, end=756\n", "max_sum=1626, start=542, end=905\n", "max_sum=2833, start=140, end=957\n", "max_sum=2240, start=822, end=986\n", "max_sum=1803, start=225, end=649\n", "max_sum=2311, start=460, end=859\n", "max_sum=1504, start=44, end=114\n", "max_sum=1344, start=345, end=686\n", "max_sum=1236, start=854, end=998\n", "max_sum=1763, start=552, end=831\n", "max_sum=1320, start=895, end=965\n", "max_sum=1819, start=642, end=980\n", "max_sum=2964, start=372, end=917\n", "max_sum=1189, start=745, end=808\n", "max_sum=3027, start=342, end=966\n", "max_sum=2718, start=367, end=853\n", "max_sum=1238, start=156, end=565\n", "max_sum=1798, start=506, end=877\n", "max_sum=3856, start=209, end=765\n", "max_sum=2133, start=69, end=999\n", "max_sum=2417, start=39, end=214\n", "max_sum=1712, start=330, end=772\n", "max_sum=835, start=630, end=654\n", "max_sum=2768, start=88, end=687\n", "max_sum=5049, start=72, end=869\n", "max_sum=3591, start=197, end=675\n", "max_sum=1485, start=314, end=485\n", "max_sum=1921, start=746, end=999\n", "max_sum=3725, start=388, end=999\n", "max_sum=1432, start=714, end=987\n", "max_sum=1580, start=538, end=919\n", "max_sum=3702, start=113, end=993\n", "max_sum=5021, start=198, end=970\n", "max_sum=1080, start=0, end=187\n", "max_sum=1386, start=542, end=658\n", "max_sum=2525, start=190, end=552\n", "max_sum=2710, start=19, end=969\n", "max_sum=2088, start=306, end=559\n", "max_sum=1264, start=495, end=607\n", "max_sum=1612, start=58, end=449\n", "max_sum=2320, start=418, end=650\n", "max_sum=2843, start=160, end=988\n", "max_sum=3959, start=80, end=366\n", "max_sum=1687, start=0, end=127\n", "max_sum=1297, start=272, end=415\n", "max_sum=1994, start=411, end=630\n", "max_sum=2394, start=56, end=555\n", "max_sum=1513, start=540, end=726\n", "max_sum=2180, start=746, end=999\n", "max_sum=1745, start=47, end=475\n", "max_sum=1654, start=458, end=696\n", "max_sum=2010, start=484, end=768\n", "max_sum=1680, start=327, end=561\n", "max_sum=1938, start=777, end=993\n", "max_sum=2218, start=62, end=800\n", "max_sum=1540, start=270, end=587\n", "max_sum=1571, start=349, end=512\n", "max_sum=2258, start=125, end=779\n", "max_sum=1477, start=108, end=539\n", "max_sum=1525, start=402, end=532\n", "max_sum=2630, start=571, end=990\n", "max_sum=2357, start=0, end=855\n", "max_sum=1173, start=215, end=364\n", "max_sum=3514, start=96, end=992\n", "max_sum=1732, start=41, end=965\n", "max_sum=1748, start=616, end=765\n", "max_sum=2859, start=288, end=606\n", "max_sum=1698, start=613, end=833\n", "max_sum=1119, start=102, end=235\n", "max_sum=2511, start=0, end=773\n", "max_sum=1813, start=365, end=532\n", "max_sum=2839, start=684, end=998\n", "max_sum=1605, start=514, end=685\n", "max_sum=1368, start=74, end=254\n", "max_sum=1078, start=870, end=912\n", "max_sum=3215, start=20, end=813\n", "max_sum=1276, start=716, end=961\n", "max_sum=2695, start=593, end=996\n", "max_sum=3247, start=152, end=998\n", "max_sum=1450, start=889, end=984\n", "max_sum=1751, start=28, end=211\n", "max_sum=5854, start=67, end=964\n", "max_sum=2375, start=112, end=704\n", "max_sum=1451, start=526, end=783\n", "max_sum=1392, start=866, end=953\n", "max_sum=2066, start=165, end=846\n", "max_sum=1876, start=285, end=641\n", "max_sum=1779, start=165, end=306\n", "max_sum=3639, start=40, end=793\n", "max_sum=2340, start=454, end=930\n", "max_sum=2130, start=621, end=899\n", "max_sum=3820, start=150, end=996\n", "max_sum=2017, start=470, end=739\n", "max_sum=3259, start=347, end=834\n", "max_sum=1443, start=186, end=286\n", "max_sum=2059, start=25, end=898\n", "max_sum=3414, start=217, end=525\n", "max_sum=1357, start=666, end=925\n", "max_sum=1953, start=507, end=762\n", "max_sum=2439, start=609, end=957\n", "max_sum=2916, start=32, end=408\n", "max_sum=2767, start=459, end=850\n", "max_sum=1628, start=661, end=943\n", "max_sum=2804, start=67, end=361\n", "max_sum=1387, start=201, end=778\n", "max_sum=2316, start=55, end=741\n", "max_sum=1865, start=613, end=773\n", "max_sum=1485, start=204, end=309\n", "max_sum=2083, start=315, end=981\n", "max_sum=1241, start=218, end=769\n", "max_sum=1419, start=553, end=732\n", "max_sum=1947, start=102, end=474\n", "max_sum=2588, start=518, end=982\n", "max_sum=1636, start=125, end=411\n", "max_sum=927, start=528, end=636\n", "max_sum=1806, start=611, end=999\n", "max_sum=2556, start=89, end=902\n", "max_sum=3032, start=9, end=932\n", "max_sum=1416, start=520, end=811\n", "max_sum=4060, start=44, end=917\n", "max_sum=1844, start=4, end=297\n", "max_sum=2201, start=622, end=845\n", "max_sum=2224, start=152, end=556\n", "max_sum=2771, start=650, end=933\n", "max_sum=3016, start=0, end=424\n", "max_sum=2253, start=718, end=988\n", "max_sum=1751, start=251, end=999\n", "max_sum=2010, start=139, end=407\n", "max_sum=979, start=726, end=897\n", "max_sum=1704, start=403, end=513\n", "max_sum=1337, start=388, end=512\n", "max_sum=2320, start=27, end=358\n", "max_sum=2085, start=25, end=228\n", "max_sum=1741, start=137, end=718\n", "max_sum=889, start=116, end=154\n", "max_sum=1147, start=779, end=900\n", "max_sum=1988, start=389, end=969\n", "max_sum=2257, start=0, end=769\n", "max_sum=1906, start=200, end=608\n", "max_sum=1165, start=421, end=655\n", "max_sum=979, start=209, end=332\n", "max_sum=1369, start=859, end=955\n", "max_sum=1794, start=18, end=345\n", "max_sum=2929, start=61, end=334\n", "max_sum=2966, start=55, end=985\n", "max_sum=2326, start=400, end=993\n", "max_sum=2216, start=315, end=631\n", "max_sum=981, start=756, end=982\n", "max_sum=954, start=393, end=503\n", "max_sum=2559, start=202, end=890\n", "max_sum=1709, start=862, end=998\n", "max_sum=2040, start=751, end=987\n", "max_sum=2400, start=126, end=503\n", "max_sum=2641, start=582, end=975\n", "max_sum=4837, start=0, end=885\n", "max_sum=1654, start=445, end=951\n", "max_sum=2666, start=54, end=508\n", "max_sum=2515, start=867, end=983\n", "max_sum=2365, start=452, end=969\n", "max_sum=1535, start=564, end=957\n", "max_sum=1283, start=4, end=201\n", "max_sum=1419, start=563, end=960\n", "max_sum=2027, start=123, end=968\n", "max_sum=1148, start=403, end=575\n", "max_sum=2656, start=0, end=821\n", "max_sum=1745, start=183, end=308\n", "max_sum=2578, start=236, end=948\n", "max_sum=3307, start=185, end=929\n", "max_sum=1615, start=4, end=256\n", "max_sum=2147, start=405, end=754\n", "max_sum=4821, start=32, end=992\n", "max_sum=2104, start=14, end=838\n", "max_sum=2701, start=422, end=766\n", "max_sum=1423, start=742, end=905\n", "max_sum=1569, start=731, end=948\n", "max_sum=2033, start=13, end=362\n", "max_sum=1565, start=49, end=217\n", "max_sum=1512, start=753, end=945\n", "max_sum=2564, start=368, end=670\n", "max_sum=1888, start=410, end=992\n", "max_sum=1486, start=117, end=830\n", "max_sum=942, start=868, end=944\n", "max_sum=1000, start=795, end=938\n", "max_sum=2824, start=665, end=851\n", "max_sum=4179, start=65, end=946\n", "max_sum=2630, start=75, end=599\n", "max_sum=1505, start=615, end=998\n", "max_sum=1338, start=514, end=598\n", "max_sum=2730, start=457, end=769\n", "max_sum=2619, start=484, end=979\n", "max_sum=1494, start=195, end=343\n", "max_sum=3122, start=617, end=999\n", "max_sum=1717, start=231, end=446\n", "max_sum=1699, start=103, end=221\n", "max_sum=1309, start=457, end=578\n", "max_sum=1069, start=522, end=652\n", "max_sum=1803, start=0, end=203\n", "max_sum=2686, start=309, end=792\n", "max_sum=1646, start=75, end=418\n", "max_sum=1639, start=521, end=697\n", "max_sum=1956, start=463, end=773\n", "max_sum=998, start=19, end=77\n", "max_sum=1120, start=3, end=166\n", "max_sum=1890, start=623, end=993\n", "max_sum=1456, start=866, end=999\n", "max_sum=2638, start=462, end=844\n", "max_sum=2986, start=527, end=985\n", "max_sum=2499, start=192, end=484\n", "max_sum=1053, start=169, end=328\n", "max_sum=1604, start=13, end=607\n", "max_sum=1738, start=847, end=999\n", "max_sum=1685, start=703, end=997\n", "max_sum=3784, start=0, end=701\n", "max_sum=1387, start=10, end=305\n", "max_sum=4030, start=0, end=676\n", "max_sum=3212, start=164, end=948\n", "max_sum=1335, start=97, end=280\n", "max_sum=2673, start=2, end=793\n", "max_sum=1182, start=228, end=659\n", "max_sum=2166, start=792, end=952\n", "max_sum=2361, start=387, end=643\n", "max_sum=889, start=561, end=712\n", "max_sum=1882, start=270, end=398\n", "max_sum=2517, start=34, end=779\n", "max_sum=959, start=378, end=494\n", "max_sum=2526, start=530, end=991\n", "max_sum=1196, start=135, end=233\n", "max_sum=1911, start=34, end=365\n", "max_sum=2275, start=416, end=993\n", "max_sum=1851, start=767, end=988\n", "max_sum=1613, start=421, end=670\n", "max_sum=1749, start=69, end=374\n", "max_sum=1607, start=224, end=800\n", "max_sum=5804, start=97, end=835\n", "max_sum=1325, start=817, end=953\n", "max_sum=1860, start=441, end=661\n", "max_sum=974, start=523, end=998\n", "max_sum=1540, start=371, end=594\n", "max_sum=1595, start=407, end=878\n", "max_sum=1632, start=598, end=825\n", "max_sum=1810, start=671, end=788\n", "max_sum=1999, start=407, end=658\n", "max_sum=1946, start=157, end=645\n", "max_sum=1314, start=553, end=654\n", "max_sum=2957, start=295, end=984\n", "max_sum=1833, start=508, end=814\n", "max_sum=1199, start=440, end=531\n", "max_sum=1893, start=440, end=890\n", "max_sum=1907, start=5, end=433\n", "max_sum=2235, start=289, end=948\n", "max_sum=2582, start=4, end=440\n", "max_sum=1745, start=161, end=558\n", "max_sum=1344, start=58, end=577\n", "max_sum=2289, start=174, end=498\n", "max_sum=5092, start=3, end=952\n", "max_sum=3429, start=417, end=986\n", "max_sum=3758, start=20, end=986\n", "max_sum=3520, start=58, end=386\n", "max_sum=2008, start=262, end=695\n", "max_sum=1223, start=464, end=718\n", "max_sum=1239, start=499, end=648\n", "max_sum=4057, start=83, end=891\n", "max_sum=1324, start=708, end=999\n", "max_sum=2955, start=8, end=672\n", "max_sum=2742, start=0, end=978\n", "max_sum=2787, start=45, end=311\n", "max_sum=3218, start=97, end=750\n", "max_sum=2543, start=21, end=283\n", "max_sum=2625, start=7, end=966\n", "max_sum=1355, start=603, end=940\n", "max_sum=2936, start=77, end=706\n", "max_sum=3580, start=158, end=756\n", "max_sum=1352, start=5, end=217\n", "max_sum=4377, start=17, end=634\n", "max_sum=2072, start=510, end=926\n", "max_sum=2374, start=238, end=549\n", "max_sum=2391, start=16, end=744\n", "max_sum=2637, start=476, end=847\n", "max_sum=1958, start=457, end=794\n", "max_sum=2248, start=277, end=479\n", "max_sum=2464, start=100, end=569\n", "max_sum=5566, start=187, end=931\n", "max_sum=1809, start=821, end=964\n", "max_sum=2089, start=889, end=989\n", "max_sum=1449, start=870, end=968\n", "max_sum=2274, start=145, end=872\n", "max_sum=1449, start=166, end=254\n", "max_sum=2908, start=4, end=918\n", "max_sum=3473, start=54, end=591\n", "max_sum=2440, start=680, end=971\n", "max_sum=4621, start=146, end=697\n", "max_sum=1443, start=114, end=298\n", "max_sum=2917, start=0, end=999\n", "max_sum=4532, start=374, end=997\n", "max_sum=1302, start=145, end=359\n", "max_sum=3003, start=213, end=523\n", "max_sum=3806, start=146, end=855\n", "max_sum=1675, start=187, end=576\n", "max_sum=1559, start=533, end=678\n", "max_sum=2446, start=280, end=865\n", "max_sum=2117, start=507, end=999\n", "max_sum=2304, start=64, end=384\n", "max_sum=1422, start=5, end=413\n", "max_sum=1795, start=18, end=759\n", "max_sum=1296, start=226, end=518\n", "max_sum=2492, start=174, end=547\n", "max_sum=4002, start=75, end=998\n", "max_sum=1712, start=118, end=578\n", "max_sum=3155, start=8, end=445\n", "max_sum=3014, start=7, end=650\n", "max_sum=1856, start=31, end=149\n", "max_sum=2759, start=186, end=941\n", "max_sum=2612, start=676, end=965\n", "max_sum=2947, start=250, end=680\n", "max_sum=1259, start=36, end=255\n", "max_sum=3022, start=0, end=460\n", "max_sum=1609, start=701, end=831\n", "max_sum=1489, start=0, end=354\n", "max_sum=2211, start=267, end=855\n", "max_sum=2049, start=81, end=397\n", "max_sum=1630, start=467, end=766\n", "max_sum=1830, start=48, end=390\n", "max_sum=1347, start=366, end=495\n", "max_sum=2872, start=66, end=379\n", "max_sum=1464, start=37, end=127\n", "max_sum=1109, start=269, end=317\n", "max_sum=1306, start=31, end=190\n", "max_sum=2070, start=51, end=331\n", "max_sum=3131, start=15, end=585\n", "max_sum=1495, start=511, end=864\n", "max_sum=1307, start=141, end=250\n", "max_sum=1660, start=0, end=135\n", "max_sum=2616, start=804, end=999\n", "max_sum=2718, start=2, end=450\n", "max_sum=2922, start=550, end=934\n", "max_sum=1739, start=90, end=386\n", "max_sum=2343, start=471, end=957\n", "max_sum=5131, start=328, end=996\n", "max_sum=2198, start=394, end=852\n", "max_sum=1796, start=806, end=975\n", "max_sum=1956, start=190, end=877\n", "max_sum=3038, start=4, end=962\n", "max_sum=2856, start=276, end=996\n", "max_sum=2257, start=334, end=997\n", "max_sum=2263, start=28, end=429\n", "max_sum=1947, start=315, end=481\n", "max_sum=1076, start=3, end=66\n", "max_sum=994, start=552, end=642\n", "max_sum=1231, start=595, end=788\n", "max_sum=1429, start=638, end=780\n", "max_sum=1984, start=744, end=983\n", "max_sum=2186, start=264, end=562\n", "max_sum=2224, start=50, end=702\n", "max_sum=2031, start=4, end=399\n", "max_sum=2044, start=445, end=965\n", "max_sum=2978, start=10, end=284\n", "max_sum=2725, start=214, end=803\n", "max_sum=2247, start=623, end=885\n", "max_sum=943, start=410, end=607\n", "max_sum=3105, start=37, end=574\n", "max_sum=4066, start=50, end=988\n", "max_sum=1814, start=224, end=473\n", "max_sum=2245, start=150, end=630\n", "max_sum=1823, start=690, end=995\n", "max_sum=1651, start=430, end=546\n", "max_sum=4415, start=6, end=999\n", "max_sum=3347, start=32, end=985\n", "max_sum=3017, start=302, end=986\n", "max_sum=3059, start=13, end=447\n", "max_sum=1814, start=555, end=638\n", "max_sum=2170, start=31, end=706\n", "max_sum=1899, start=97, end=511\n", "max_sum=1646, start=628, end=999\n", "max_sum=3087, start=567, end=981\n", "max_sum=1025, start=949, end=999\n", "max_sum=2465, start=111, end=612\n", "max_sum=1919, start=7, end=587\n", "max_sum=2514, start=387, end=855\n", "max_sum=2549, start=4, end=992\n", "max_sum=2781, start=215, end=867\n", "max_sum=2898, start=496, end=819\n", "max_sum=2998, start=35, end=445\n", "max_sum=2070, start=239, end=528\n", "max_sum=1950, start=428, end=846\n", "max_sum=4232, start=16, end=913\n", "max_sum=2935, start=357, end=996\n", "max_sum=1751, start=5, end=834\n", "max_sum=644, start=80, end=141\n", "max_sum=1993, start=606, end=713\n", "max_sum=2372, start=622, end=999\n", "max_sum=1733, start=235, end=810\n", "max_sum=1510, start=503, end=609\n", "max_sum=1982, start=484, end=851\n", "max_sum=2084, start=644, end=986\n", "max_sum=2090, start=754, end=832\n", "max_sum=1904, start=784, end=969\n", "max_sum=2211, start=124, end=633\n", "max_sum=2883, start=64, end=767\n", "max_sum=1609, start=346, end=959\n", "max_sum=2406, start=50, end=238\n", "max_sum=1066, start=422, end=564\n", "max_sum=995, start=377, end=493\n", "max_sum=2849, start=9, end=797\n", "max_sum=1412, start=107, end=311\n", "max_sum=1770, start=304, end=745\n", "max_sum=1348, start=14, end=117\n", "max_sum=1805, start=302, end=651\n", "max_sum=2220, start=15, end=724\n", "max_sum=1730, start=317, end=869\n", "max_sum=1162, start=707, end=837\n", "max_sum=3143, start=57, end=546\n", "max_sum=1827, start=238, end=876\n", "max_sum=1056, start=453, end=632\n", "max_sum=2224, start=496, end=698\n", "max_sum=1806, start=323, end=945\n", "max_sum=5717, start=115, end=756\n", "max_sum=3429, start=214, end=867\n", "max_sum=2862, start=105, end=849\n", "max_sum=4295, start=25, end=694\n", "max_sum=2878, start=93, end=608\n", "max_sum=2250, start=275, end=544\n", "max_sum=1253, start=92, end=448\n", "max_sum=1768, start=311, end=472\n", "max_sum=1465, start=68, end=155\n", "max_sum=1434, start=754, end=980\n", "max_sum=3190, start=12, end=965\n", "max_sum=3850, start=354, end=955\n", "max_sum=2510, start=8, end=436\n", "max_sum=4403, start=128, end=773\n", "max_sum=2424, start=166, end=564\n", "max_sum=1411, start=736, end=989\n", "max_sum=2045, start=278, end=560\n", "max_sum=1389, start=922, end=991\n", "max_sum=1703, start=5, end=298\n", "max_sum=1806, start=3, end=779\n", "max_sum=2027, start=532, end=984\n", "max_sum=1975, start=0, end=698\n", "max_sum=2738, start=16, end=653\n", "max_sum=3497, start=427, end=951\n", "max_sum=3094, start=2, end=884\n", "max_sum=2598, start=46, end=658\n", "max_sum=1324, start=348, end=751\n", "max_sum=1563, start=456, end=652\n", "max_sum=2519, start=149, end=845\n", "max_sum=1950, start=246, end=896\n", "max_sum=1073, start=782, end=922\n", "max_sum=1794, start=499, end=978\n", "max_sum=2160, start=308, end=495\n", "max_sum=1481, start=581, end=725\n", "max_sum=1572, start=91, end=388\n", "max_sum=2594, start=9, end=419\n", "max_sum=2309, start=545, end=902\n", "max_sum=1407, start=461, end=592\n", "max_sum=2828, start=485, end=893\n", "max_sum=913, start=55, end=131\n", "max_sum=1298, start=299, end=454\n", "max_sum=3245, start=53, end=779\n", "max_sum=1294, start=2, end=263\n", "max_sum=1474, start=39, end=618\n", "max_sum=1795, start=671, end=968\n", "max_sum=1038, start=554, end=665\n", "max_sum=1679, start=639, end=944\n", "max_sum=3067, start=417, end=804\n", "max_sum=1484, start=18, end=273\n", "max_sum=3653, start=66, end=876\n", "max_sum=970, start=477, end=621\n", "max_sum=3717, start=88, end=886\n", "max_sum=2992, start=646, end=994\n", "max_sum=3965, start=89, end=711\n", "max_sum=1755, start=799, end=877\n", "max_sum=1488, start=581, end=751\n", "max_sum=1273, start=541, end=658\n", "max_sum=3597, start=358, end=786\n", "max_sum=2817, start=23, end=458\n", "max_sum=2544, start=116, end=996\n", "max_sum=1830, start=374, end=765\n", "max_sum=1918, start=679, end=910\n", "max_sum=2535, start=263, end=545\n", "max_sum=2449, start=4, end=866\n", "max_sum=1355, start=160, end=411\n", "max_sum=2207, start=670, end=865\n", "max_sum=2343, start=574, end=715\n", "max_sum=1960, start=143, end=962\n", "max_sum=1195, start=792, end=984\n", "max_sum=3289, start=75, end=898\n", "max_sum=2016, start=106, end=395\n", "max_sum=3125, start=8, end=599\n", "max_sum=1726, start=326, end=553\n", "max_sum=2194, start=137, end=393\n", "max_sum=4934, start=56, end=997\n", "max_sum=1895, start=386, end=960\n", "max_sum=1862, start=488, end=633\n", "max_sum=4848, start=299, end=749\n", "max_sum=1149, start=557, end=790\n", "max_sum=2426, start=341, end=798\n", "max_sum=2572, start=23, end=556\n", "max_sum=1370, start=668, end=764\n", "max_sum=1666, start=593, end=814\n", "max_sum=2135, start=49, end=363\n", "max_sum=1342, start=23, end=165\n", "max_sum=3880, start=385, end=815\n", "max_sum=2118, start=186, end=531\n", "max_sum=2296, start=68, end=889\n", "max_sum=3633, start=123, end=696\n", "max_sum=1769, start=548, end=905\n", "max_sum=1079, start=571, end=677\n", "max_sum=1518, start=559, end=937\n", "max_sum=1093, start=303, end=393\n", "max_sum=2696, start=142, end=729\n", "max_sum=3952, start=169, end=965\n", "max_sum=1989, start=61, end=521\n", "max_sum=1610, start=114, end=411\n", "max_sum=2138, start=599, end=981\n", "max_sum=3426, start=208, end=996\n", "max_sum=1240, start=510, end=771\n", "max_sum=2254, start=27, end=465\n", "max_sum=1539, start=619, end=999\n", "max_sum=1620, start=339, end=554\n", "max_sum=2928, start=426, end=758\n", "max_sum=1799, start=0, end=246\n", "max_sum=1986, start=376, end=867\n", "max_sum=2410, start=589, end=822\n", "max_sum=1855, start=513, end=894\n", "max_sum=1719, start=559, end=937\n", "max_sum=3707, start=79, end=966\n", "max_sum=2204, start=20, end=259\n", "max_sum=1232, start=18, end=108\n", "max_sum=2960, start=107, end=998\n", "max_sum=3574, start=27, end=986\n", "max_sum=1231, start=481, end=575\n", "max_sum=2372, start=113, end=492\n", "max_sum=1336, start=61, end=517\n", "max_sum=900, start=283, end=329\n", "max_sum=2038, start=579, end=972\n", "max_sum=3637, start=65, end=955\n", "max_sum=898, start=708, end=805\n", "max_sum=1952, start=73, end=925\n", "max_sum=1893, start=78, end=267\n", "max_sum=1892, start=401, end=986\n", "max_sum=1244, start=278, end=352\n", "max_sum=1527, start=152, end=307\n", "max_sum=2646, start=383, end=996\n", "max_sum=1115, start=460, end=558\n", "max_sum=1919, start=122, end=730\n", "max_sum=2862, start=121, end=857\n", "max_sum=1122, start=735, end=981\n", "max_sum=1777, start=546, end=902\n", "max_sum=2019, start=25, end=853\n", "max_sum=1538, start=783, end=998\n", "max_sum=986, start=59, end=348\n", "max_sum=1079, start=180, end=413\n", "max_sum=1030, start=45, end=191\n", "max_sum=1390, start=552, end=646\n", "max_sum=2610, start=74, end=872\n", "max_sum=4701, start=4, end=999\n", "max_sum=1623, start=543, end=671\n", "max_sum=2801, start=178, end=998\n", "max_sum=1345, start=312, end=696\n", "max_sum=4627, start=48, end=964\n", "max_sum=3572, start=271, end=749\n", "max_sum=3186, start=141, end=975\n", "max_sum=3093, start=27, end=558\n", "max_sum=2320, start=9, end=823\n", "max_sum=2147, start=114, end=869\n", "max_sum=1970, start=27, end=536\n", "max_sum=2669, start=532, end=982\n", "max_sum=4549, start=333, end=917\n", "max_sum=2074, start=26, end=899\n", "max_sum=1522, start=925, end=996\n", "max_sum=1417, start=49, end=263\n", "max_sum=1122, start=14, end=143\n", "max_sum=1343, start=242, end=396\n", "max_sum=1453, start=438, end=773\n", "max_sum=1814, start=49, end=194\n", "max_sum=1855, start=718, end=931\n", "max_sum=2055, start=674, end=962\n", "max_sum=1819, start=652, end=872\n", "max_sum=1098, start=779, end=939\n", "max_sum=3300, start=51, end=859\n", "max_sum=1163, start=321, end=619\n", "max_sum=796, start=61, end=242\n", "max_sum=2664, start=326, end=994\n", "max_sum=2838, start=495, end=976\n", "max_sum=2852, start=210, end=507\n", "max_sum=1189, start=404, end=903\n", "max_sum=2705, start=378, end=858\n", "max_sum=2123, start=373, end=771\n", "max_sum=2208, start=22, end=618\n", "max_sum=4323, start=60, end=600\n", "max_sum=1856, start=215, end=543\n", "max_sum=1428, start=465, end=573\n", "max_sum=1867, start=76, end=651\n", "max_sum=1320, start=106, end=448\n", "max_sum=1098, start=6, end=201\n", "max_sum=2028, start=489, end=945\n", "max_sum=3352, start=0, end=350\n", "max_sum=2043, start=550, end=730\n", "max_sum=4454, start=30, end=999\n", "max_sum=2241, start=27, end=675\n", "max_sum=4174, start=39, end=856\n", "max_sum=2053, start=645, end=834\n", "max_sum=2539, start=5, end=999\n", "max_sum=1272, start=112, end=212\n", "max_sum=2012, start=730, end=976\n", "max_sum=2595, start=111, end=689\n", "max_sum=3082, start=2, end=726\n", "max_sum=2785, start=0, end=977\n", "max_sum=1053, start=70, end=260\n", "max_sum=992, start=37, end=243\n", "max_sum=1415, start=870, end=968\n", "max_sum=3416, start=55, end=969\n", "max_sum=4883, start=375, end=833\n", "max_sum=2418, start=223, end=557\n", "max_sum=2675, start=82, end=638\n", "max_sum=1209, start=757, end=808\n", "max_sum=2011, start=90, end=257\n", "max_sum=1009, start=960, end=989\n", "max_sum=2946, start=472, end=989\n", "max_sum=2277, start=63, end=366\n", "max_sum=3139, start=198, end=820\n", "max_sum=1772, start=245, end=356\n", "max_sum=2237, start=654, end=833\n", "max_sum=1284, start=863, end=939\n", "max_sum=1628, start=893, end=988\n", "max_sum=2241, start=372, end=702\n", "max_sum=1247, start=245, end=362\n", "max_sum=1706, start=155, end=471\n", "max_sum=1985, start=648, end=981\n", "max_sum=1201, start=349, end=424\n", "max_sum=4234, start=118, end=608\n", "max_sum=1089, start=791, end=973\n", "max_sum=4702, start=31, end=859\n", "max_sum=1735, start=26, end=715\n", "max_sum=1161, start=789, end=890\n", "max_sum=2951, start=427, end=757\n", "max_sum=4288, start=3, end=817\n", "max_sum=5840, start=138, end=835\n", "max_sum=1938, start=36, end=473\n", "max_sum=1022, start=607, end=831\n", "max_sum=3007, start=16, end=927\n", "max_sum=1714, start=546, end=904\n", "max_sum=3430, start=3, end=960\n", "max_sum=2316, start=70, end=943\n", "max_sum=1368, start=277, end=375\n", "max_sum=1082, start=185, end=239\n", "max_sum=1496, start=7, end=318\n", "max_sum=2554, start=229, end=458\n", "max_sum=2047, start=132, end=688\n", "max_sum=3208, start=8, end=636\n", "max_sum=1008, start=20, end=331\n", "max_sum=2079, start=529, end=837\n", "max_sum=1699, start=196, end=937\n", "max_sum=2295, start=557, end=894\n", "max_sum=1148, start=17, end=286\n", "max_sum=3655, start=47, end=905\n", "max_sum=2786, start=300, end=999\n", "max_sum=978, start=430, end=465\n", "max_sum=2571, start=68, end=890\n", "max_sum=1590, start=453, end=636\n", "max_sum=1908, start=105, end=583\n", "max_sum=1301, start=451, end=958\n", "max_sum=2045, start=247, end=656\n", "max_sum=924, start=406, end=484\n", "max_sum=930, start=312, end=413\n", "max_sum=2805, start=54, end=681\n", "max_sum=2948, start=521, end=862\n", "max_sum=2016, start=503, end=598\n", "max_sum=1211, start=144, end=286\n", "max_sum=1729, start=403, end=711\n", "max_sum=1447, start=27, end=257\n", "max_sum=1632, start=86, end=552\n", "max_sum=1619, start=297, end=788\n", "max_sum=2019, start=375, end=514\n", "max_sum=2417, start=637, end=999\n", "max_sum=1351, start=309, end=434\n", "max_sum=1465, start=281, end=410\n", "max_sum=2221, start=341, end=467\n", "max_sum=2556, start=63, end=529\n", "max_sum=1548, start=81, end=313\n", "max_sum=1358, start=266, end=403\n", "max_sum=1975, start=291, end=621\n", "max_sum=2683, start=263, end=767\n", "max_sum=1935, start=0, end=260\n", "max_sum=3112, start=524, end=995\n", "max_sum=3311, start=11, end=651\n", "max_sum=1975, start=3, end=162\n", "max_sum=2875, start=8, end=581\n", "max_sum=1971, start=738, end=938\n", "max_sum=1237, start=768, end=942\n", "max_sum=1208, start=846, end=907\n", "max_sum=1015, start=414, end=522\n", "max_sum=2172, start=196, end=636\n", "max_sum=2005, start=38, end=643\n", "max_sum=2719, start=106, end=633\n", "max_sum=2855, start=42, end=607\n", "max_sum=3982, start=22, end=961\n", "max_sum=2566, start=229, end=420\n", "max_sum=5297, start=0, end=849\n", "max_sum=2130, start=24, end=449\n", "max_sum=3616, start=96, end=508\n", "max_sum=1677, start=738, end=980\n", "max_sum=4104, start=17, end=795\n", "max_sum=1130, start=693, end=792\n", "max_sum=2926, start=454, end=730\n", "max_sum=1406, start=338, end=434\n", "max_sum=2530, start=370, end=930\n", "max_sum=1880, start=24, end=343\n", "max_sum=1325, start=509, end=821\n", "max_sum=1304, start=30, end=176\n", "max_sum=954, start=770, end=884\n", "max_sum=2970, start=7, end=913\n", "max_sum=2072, start=106, end=471\n", "max_sum=1561, start=638, end=830\n", "max_sum=2489, start=227, end=870\n", "max_sum=1615, start=434, end=692\n", "max_sum=2011, start=303, end=472\n", "max_sum=1698, start=0, end=144\n", "max_sum=1621, start=0, end=338\n", "max_sum=948, start=0, end=126\n", "max_sum=2062, start=59, end=650\n", "max_sum=2006, start=268, end=446\n", "max_sum=3132, start=0, end=485\n", "max_sum=1721, start=282, end=755\n", "max_sum=1230, start=751, end=844\n", "max_sum=1371, start=399, end=601\n", "max_sum=2565, start=475, end=981\n", "max_sum=4618, start=2, end=976\n", "max_sum=3355, start=233, end=722\n", "max_sum=2007, start=134, end=261\n", "max_sum=2270, start=447, end=752\n", "max_sum=4769, start=33, end=668\n", "max_sum=3509, start=67, end=997\n", "max_sum=1019, start=354, end=489\n", "max_sum=2672, start=64, end=677\n", "max_sum=966, start=241, end=298\n", "max_sum=966, start=73, end=118\n", "max_sum=2047, start=789, end=985\n", "max_sum=2928, start=89, end=615\n", "max_sum=2116, start=142, end=589\n", "max_sum=1964, start=514, end=970\n", "max_sum=1592, start=311, end=566\n", "max_sum=1158, start=400, end=727\n", "max_sum=3040, start=509, end=946\n", "max_sum=1522, start=299, end=414\n", "max_sum=5548, start=26, end=921\n", "max_sum=2950, start=71, end=936\n", "max_sum=4215, start=233, end=973\n", "max_sum=3748, start=31, end=996\n", "max_sum=1591, start=802, end=985\n", "max_sum=2901, start=634, end=981\n", "max_sum=1512, start=351, end=986\n", "max_sum=1527, start=64, end=142\n", "max_sum=2574, start=596, end=999\n", "max_sum=1976, start=120, end=978\n", "max_sum=4642, start=81, end=973\n", "max_sum=4616, start=231, end=925\n", "max_sum=3783, start=5, end=712\n", "max_sum=1487, start=714, end=999\n", "max_sum=2002, start=527, end=984\n", "max_sum=1954, start=71, end=738\n", "max_sum=2205, start=220, end=439\n", "max_sum=2602, start=704, end=939\n", "max_sum=1764, start=721, end=870\n", "max_sum=2021, start=62, end=346\n", "max_sum=2355, start=769, end=949\n", "max_sum=2748, start=534, end=927\n", "max_sum=1741, start=739, end=946\n", "max_sum=2865, start=303, end=663\n", "max_sum=3288, start=335, end=925\n", "max_sum=1093, start=4, end=112\n", "max_sum=1903, start=78, end=256\n", "max_sum=2598, start=81, end=992\n", "max_sum=850, start=813, end=881\n", "max_sum=2818, start=129, end=820\n", "max_sum=2110, start=10, end=306\n", "max_sum=1863, start=4, end=347\n", "max_sum=1354, start=46, end=206\n", "max_sum=1857, start=225, end=768\n", "max_sum=4837, start=106, end=866\n", "max_sum=1493, start=853, end=953\n", "max_sum=3672, start=22, end=665\n", "max_sum=1380, start=810, end=894\n", "max_sum=2641, start=90, end=264\n", "max_sum=2768, start=111, end=484\n", "max_sum=2606, start=269, end=701\n", "max_sum=1090, start=360, end=472\n", "max_sum=2545, start=0, end=990\n", "max_sum=1482, start=412, end=700\n", "max_sum=1304, start=574, end=733\n", "max_sum=3739, start=81, end=519\n", "max_sum=2002, start=481, end=887\n", "max_sum=4373, start=13, end=955\n", "max_sum=4478, start=221, end=688\n", "max_sum=1088, start=512, end=582\n", "max_sum=1301, start=99, end=212\n", "max_sum=1628, start=52, end=299\n", "max_sum=2762, start=483, end=948\n", "max_sum=2518, start=397, end=988\n", "max_sum=3616, start=238, end=954\n", "max_sum=961, start=38, end=104\n", "max_sum=1663, start=731, end=997\n", "max_sum=2163, start=549, end=929\n", "max_sum=2398, start=119, end=613\n", "max_sum=3559, start=184, end=977\n", "max_sum=3249, start=363, end=978\n", "max_sum=3200, start=158, end=667\n", "max_sum=3073, start=60, end=816\n", "max_sum=3447, start=446, end=954\n", "max_sum=1468, start=739, end=992\n", "max_sum=1202, start=7, end=138\n", "max_sum=1413, start=162, end=459\n", "max_sum=1835, start=59, end=443\n", "max_sum=2561, start=151, end=616\n", "max_sum=4901, start=54, end=929\n", "max_sum=3641, start=0, end=786\n", "max_sum=3318, start=331, end=922\n", "max_sum=2078, start=656, end=885\n", "max_sum=2499, start=242, end=417\n", "max_sum=1809, start=39, end=324\n", "max_sum=2414, start=31, end=495\n", "max_sum=3261, start=21, end=651\n", "max_sum=2121, start=865, end=995\n", "max_sum=1627, start=747, end=977\n", "max_sum=2137, start=80, end=626\n", "max_sum=1399, start=197, end=374\n", "max_sum=1902, start=4, end=130\n", "max_sum=2395, start=0, end=163\n", "max_sum=4407, start=39, end=667\n", "max_sum=1582, start=0, end=181\n", "max_sum=3298, start=171, end=860\n", "max_sum=1020, start=456, end=587\n", "max_sum=1601, start=480, end=617\n", "max_sum=1536, start=907, end=999\n", "max_sum=1852, start=156, end=360\n", "max_sum=4338, start=17, end=984\n", "max_sum=1178, start=636, end=813\n", "max_sum=973, start=319, end=385\n", "max_sum=1812, start=237, end=557\n", "max_sum=2501, start=572, end=913\n", "max_sum=2328, start=400, end=917\n", "max_sum=3634, start=572, end=993\n", "max_sum=3133, start=5, end=999\n", "max_sum=2399, start=52, end=963\n", "max_sum=1894, start=0, end=191\n", "max_sum=2068, start=614, end=998\n", "max_sum=2822, start=84, end=375\n", "max_sum=1104, start=565, end=707\n", "max_sum=1374, start=452, end=585\n", "max_sum=1423, start=188, end=505\n", "max_sum=1517, start=6, end=129\n", "max_sum=2473, start=712, end=987\n", "max_sum=3003, start=11, end=771\n", "max_sum=1839, start=66, end=245\n", "max_sum=2743, start=578, end=985\n", "max_sum=1700, start=0, end=186\n", "max_sum=729, start=868, end=941\n", "max_sum=1887, start=97, end=293\n", "max_sum=1905, start=395, end=913\n", "max_sum=2748, start=97, end=358\n", "max_sum=4039, start=403, end=980\n", "max_sum=3567, start=224, end=932\n", "max_sum=844, start=453, end=550\n", "max_sum=1866, start=499, end=940\n", "max_sum=1552, start=490, end=961\n", "max_sum=2807, start=0, end=926\n", "max_sum=2047, start=188, end=570\n", "max_sum=4699, start=15, end=861\n", "max_sum=1026, start=967, end=998\n", "max_sum=2052, start=392, end=769\n", "max_sum=1391, start=45, end=526\n", "max_sum=3069, start=336, end=970\n", "max_sum=1929, start=22, end=301\n", "max_sum=1992, start=752, end=858\n", "max_sum=1813, start=71, end=249\n", "max_sum=2388, start=14, end=508\n", "max_sum=1638, start=53, end=259\n", "max_sum=1052, start=526, end=816\n", "max_sum=2116, start=736, end=972\n", "max_sum=2089, start=756, end=970\n", "max_sum=1506, start=7, end=224\n", "max_sum=1890, start=176, end=402\n", "max_sum=1796, start=4, end=420\n", "max_sum=3157, start=69, end=500\n", "max_sum=2516, start=243, end=823\n", "max_sum=2328, start=45, end=448\n", "max_sum=2905, start=8, end=525\n", "max_sum=1403, start=346, end=854\n", "max_sum=2363, start=228, end=856\n", "max_sum=4216, start=0, end=551\n", "max_sum=1459, start=452, end=697\n", "max_sum=2901, start=285, end=808\n", "max_sum=2781, start=88, end=679\n", "max_sum=2748, start=256, end=916\n", "max_sum=940, start=503, end=615\n", "max_sum=1522, start=507, end=967\n", "max_sum=3902, start=43, end=996\n", "max_sum=1376, start=4, end=85\n", "max_sum=1329, start=102, end=190\n", "max_sum=2561, start=0, end=956\n", "max_sum=1734, start=440, end=567\n", "max_sum=2941, start=76, end=988\n", "max_sum=3999, start=490, end=998\n", "max_sum=1246, start=25, end=108\n", "max_sum=1587, start=107, end=324\n", "max_sum=1476, start=86, end=451\n", "max_sum=3407, start=519, end=902\n", "max_sum=4723, start=305, end=997\n", "max_sum=1681, start=416, end=658\n", "max_sum=2446, start=422, end=787\n", "max_sum=2638, start=328, end=971\n", "max_sum=2226, start=240, end=805\n", "max_sum=1521, start=102, end=273\n", "max_sum=2015, start=59, end=224\n", "max_sum=1899, start=292, end=528\n", "max_sum=1942, start=7, end=399\n", "max_sum=2282, start=160, end=814\n", "max_sum=1595, start=5, end=453\n", "max_sum=2292, start=375, end=822\n", "max_sum=1748, start=83, end=500\n", "max_sum=3602, start=301, end=708\n", "max_sum=3596, start=314, end=934\n", "max_sum=3541, start=126, end=999\n", "max_sum=1726, start=422, end=731\n", "max_sum=2161, start=608, end=820\n", "max_sum=1350, start=6, end=146\n", "max_sum=2989, start=14, end=663\n", "max_sum=2445, start=521, end=819\n", "max_sum=1878, start=53, end=646\n", "max_sum=1019, start=483, end=841\n", "max_sum=1607, start=308, end=425\n", "max_sum=2141, start=71, end=359\n", "max_sum=2455, start=285, end=786\n", "max_sum=1914, start=736, end=998\n", "max_sum=2008, start=214, end=661\n", "max_sum=1374, start=764, end=889\n", "max_sum=1563, start=756, end=977\n", "max_sum=2161, start=18, end=671\n", "max_sum=1199, start=199, end=402\n", "max_sum=3943, start=161, end=932\n", "max_sum=2137, start=615, end=799\n", "max_sum=1511, start=589, end=853\n", "max_sum=1947, start=334, end=654\n", "max_sum=2163, start=319, end=524\n", "max_sum=3238, start=175, end=889\n", "max_sum=960, start=54, end=135\n", "max_sum=2169, start=248, end=689\n", "max_sum=2522, start=564, end=905\n", "max_sum=1923, start=326, end=854\n", "max_sum=1996, start=662, end=847\n", "max_sum=1566, start=184, end=279\n", "max_sum=2379, start=189, end=567\n", "max_sum=1369, start=541, end=982\n", "max_sum=2696, start=788, end=938\n", "max_sum=2110, start=164, end=999\n", "max_sum=4094, start=116, end=722\n", "max_sum=1309, start=742, end=930\n", "max_sum=1595, start=716, end=895\n", "max_sum=3624, start=28, end=941\n", "max_sum=1901, start=20, end=398\n", "max_sum=1151, start=321, end=505\n", "max_sum=1640, start=451, end=654\n", "max_sum=1815, start=15, end=958\n", "max_sum=1514, start=757, end=978\n", "max_sum=2515, start=62, end=882\n", "max_sum=1110, start=19, end=554\n", "max_sum=1272, start=212, end=373\n", "max_sum=2291, start=613, end=992\n", "max_sum=1775, start=374, end=516\n", "max_sum=3631, start=400, end=899\n", "max_sum=2176, start=307, end=999\n", "max_sum=4671, start=0, end=801\n", "max_sum=1588, start=9, end=249\n", "max_sum=3160, start=4, end=898\n", "max_sum=1996, start=516, end=783\n", "max_sum=1656, start=244, end=751\n", "max_sum=1596, start=177, end=372\n", "max_sum=2549, start=487, end=995\n", "max_sum=2947, start=282, end=818\n", "max_sum=1571, start=596, end=748\n", "max_sum=4302, start=150, end=990\n", "max_sum=1727, start=118, end=488\n", "max_sum=2746, start=51, end=884\n", "max_sum=1494, start=78, end=295\n", "max_sum=1597, start=5, end=197\n", "max_sum=1431, start=73, end=263\n", "max_sum=1092, start=724, end=751\n", "max_sum=2005, start=11, end=168\n", "max_sum=1882, start=0, end=329\n", "max_sum=2292, start=226, end=873\n", "max_sum=939, start=13, end=94\n", "max_sum=1315, start=512, end=602\n", "max_sum=4377, start=17, end=936\n", "max_sum=2434, start=284, end=609\n", "max_sum=1644, start=126, end=407\n", "max_sum=2700, start=92, end=913\n", "max_sum=1609, start=316, end=869\n", "max_sum=1487, start=771, end=878\n", "max_sum=3116, start=4, end=548\n", "max_sum=1536, start=200, end=630\n", "max_sum=1686, start=0, end=122\n", "max_sum=1155, start=0, end=93\n", "max_sum=2224, start=691, end=817\n", "max_sum=3126, start=237, end=994\n", "max_sum=1802, start=329, end=668\n", "max_sum=4750, start=123, end=665\n", "max_sum=2572, start=302, end=750\n", "max_sum=1296, start=439, end=731\n", "max_sum=2448, start=578, end=854\n", "max_sum=1772, start=61, end=372\n", "max_sum=3768, start=168, end=987\n", "max_sum=1851, start=454, end=766\n", "max_sum=1641, start=724, end=890\n", "max_sum=2816, start=0, end=693\n", "max_sum=1025, start=495, end=597\n", "max_sum=1726, start=297, end=783\n", "max_sum=1980, start=204, end=406\n", "max_sum=1482, start=12, end=422\n", "max_sum=1493, start=31, end=385\n", "max_sum=3255, start=252, end=972\n", "max_sum=4363, start=68, end=878\n", "max_sum=2819, start=3, end=598\n", "max_sum=2246, start=0, end=260\n", "max_sum=1980, start=106, end=344\n", "max_sum=3114, start=67, end=861\n", "max_sum=2321, start=357, end=670\n", "max_sum=2207, start=301, end=792\n", "max_sum=2412, start=26, end=500\n", "max_sum=3595, start=281, end=880\n", "max_sum=4361, start=382, end=865\n", "max_sum=960, start=756, end=806\n", "max_sum=1458, start=5, end=153\n", "max_sum=2313, start=223, end=960\n", "max_sum=2836, start=78, end=506\n", "max_sum=2790, start=431, end=897\n", "max_sum=1445, start=15, end=223\n", "max_sum=3362, start=194, end=943\n", "max_sum=2740, start=771, end=993\n", "max_sum=2609, start=269, end=889\n", "max_sum=1542, start=856, end=974\n", "max_sum=1193, start=551, end=749\n", "max_sum=2060, start=155, end=990\n", "max_sum=1736, start=661, end=829\n", "max_sum=3986, start=59, end=876\n", "max_sum=2815, start=0, end=877\n", "max_sum=1432, start=481, end=692\n", "max_sum=2134, start=40, end=584\n", "max_sum=1440, start=25, end=339\n", "max_sum=1643, start=120, end=333\n", "max_sum=1783, start=295, end=958\n", "max_sum=1867, start=620, end=913\n", "max_sum=1929, start=13, end=225\n", "max_sum=4044, start=66, end=855\n", "max_sum=2996, start=17, end=886\n", "max_sum=4396, start=202, end=846\n", "max_sum=2537, start=133, end=721\n", "max_sum=5105, start=5, end=622\n", "max_sum=2423, start=24, end=984\n", "max_sum=3822, start=105, end=506\n", "max_sum=2083, start=502, end=844\n", "max_sum=1180, start=481, end=666\n", "max_sum=903, start=130, end=184\n", "max_sum=1383, start=742, end=819\n", "max_sum=2674, start=288, end=996\n", "max_sum=1505, start=833, end=888\n", "max_sum=2154, start=29, end=590\n", "max_sum=2235, start=565, end=863\n", "max_sum=1429, start=437, end=702\n", "max_sum=2619, start=241, end=526\n", "max_sum=1786, start=363, end=875\n", "max_sum=760, start=49, end=134\n", "max_sum=1116, start=268, end=407\n", "max_sum=2822, start=0, end=766\n", "max_sum=2065, start=707, end=843\n", "max_sum=2611, start=62, end=280\n", "max_sum=3462, start=102, end=695\n", "max_sum=984, start=43, end=143\n", "max_sum=3530, start=116, end=765\n", "max_sum=2211, start=92, end=937\n", "max_sum=1097, start=195, end=269\n", "max_sum=3018, start=66, end=996\n", "max_sum=2347, start=159, end=426\n", "max_sum=1753, start=531, end=725\n", "max_sum=1606, start=572, end=925\n", "max_sum=1368, start=338, end=492\n", "max_sum=1511, start=597, end=714\n", "max_sum=2407, start=159, end=906\n", "max_sum=3205, start=32, end=999\n", "max_sum=1184, start=669, end=929\n", "max_sum=2291, start=175, end=522\n", "max_sum=1375, start=911, end=996\n", "max_sum=1388, start=366, end=643\n", "max_sum=2129, start=718, end=995\n", "max_sum=1636, start=149, end=267\n", "max_sum=3395, start=26, end=953\n", "max_sum=1855, start=558, end=879\n", "max_sum=1425, start=593, end=716\n", "max_sum=2666, start=221, end=708\n", "max_sum=2103, start=330, end=906\n", "max_sum=2239, start=739, end=964\n", "max_sum=2853, start=120, end=825\n", "max_sum=3762, start=422, end=919\n", "max_sum=3200, start=117, end=718\n", "max_sum=1246, start=786, end=877\n", "max_sum=3438, start=257, end=999\n", "max_sum=1360, start=395, end=539\n", "max_sum=1770, start=306, end=531\n", "max_sum=2009, start=144, end=260\n", "max_sum=2361, start=27, end=240\n", "max_sum=1889, start=187, end=480\n", "max_sum=3909, start=91, end=903\n", "max_sum=2161, start=135, end=472\n", "max_sum=2588, start=140, end=628\n", "max_sum=6594, start=19, end=856\n", "max_sum=1069, start=826, end=976\n", "max_sum=5120, start=9, end=934\n", "max_sum=1261, start=284, end=383\n", "max_sum=2287, start=39, end=443\n", "max_sum=2434, start=215, end=950\n", "max_sum=3391, start=263, end=991\n", "max_sum=1452, start=502, end=846\n", "max_sum=1442, start=569, end=856\n", "max_sum=2349, start=21, end=320\n", "max_sum=4251, start=12, end=765\n", "max_sum=3283, start=507, end=961\n", "max_sum=2979, start=280, end=591\n", "max_sum=2735, start=25, end=558\n", "max_sum=2579, start=688, end=823\n", "max_sum=1522, start=454, end=705\n", "max_sum=1830, start=620, end=924\n", "max_sum=3728, start=3, end=989\n", "max_sum=2722, start=129, end=999\n", "max_sum=3077, start=230, end=961\n", "max_sum=2815, start=464, end=894\n", "max_sum=1043, start=513, end=835\n", "max_sum=2579, start=124, end=349\n", "max_sum=3494, start=134, end=934\n", "max_sum=1964, start=228, end=540\n", "max_sum=2252, start=38, end=473\n", "max_sum=2386, start=107, end=707\n", "max_sum=2835, start=11, end=838\n", "max_sum=2183, start=192, end=753\n", "max_sum=2436, start=124, end=697\n", "max_sum=2136, start=253, end=425\n", "max_sum=2155, start=712, end=830\n", "max_sum=2254, start=67, end=226\n", "max_sum=1911, start=72, end=965\n", "max_sum=1874, start=47, end=558\n", "max_sum=3072, start=313, end=921\n", "max_sum=2394, start=155, end=992\n", "max_sum=1815, start=619, end=984\n", "max_sum=1578, start=46, end=406\n", "max_sum=1714, start=314, end=426\n", "max_sum=4594, start=0, end=980\n", "max_sum=2502, start=14, end=181\n", "max_sum=1138, start=451, end=547\n", "max_sum=976, start=574, end=683\n", "max_sum=2117, start=32, end=454\n", "max_sum=1871, start=31, end=293\n", "max_sum=1428, start=161, end=554\n", "max_sum=2251, start=384, end=617\n", "max_sum=1401, start=95, end=332\n", "max_sum=1514, start=254, end=288\n", "max_sum=1513, start=367, end=469\n", "max_sum=920, start=914, end=994\n", "max_sum=1734, start=4, end=322\n", "max_sum=3396, start=113, end=665\n", "max_sum=3525, start=449, end=896\n", "max_sum=3282, start=29, end=880\n", "max_sum=1562, start=3, end=640\n", "max_sum=1497, start=0, end=186\n", "max_sum=3328, start=48, end=999\n", "max_sum=1991, start=14, end=420\n", "max_sum=3448, start=98, end=367\n", "max_sum=2128, start=531, end=976\n", "max_sum=4037, start=262, end=945\n", "max_sum=1337, start=340, end=436\n", "max_sum=4968, start=155, end=957\n", "max_sum=4496, start=48, end=983\n", "max_sum=2543, start=28, end=671\n", "max_sum=2246, start=132, end=916\n", "max_sum=964, start=71, end=119\n", "max_sum=2161, start=6, end=541\n", "max_sum=875, start=624, end=851\n", "max_sum=1791, start=11, end=418\n", "max_sum=1181, start=32, end=90\n", "max_sum=2506, start=167, end=727\n", "max_sum=922, start=58, end=221\n", "max_sum=3155, start=13, end=798\n", "max_sum=3115, start=352, end=942\n", "max_sum=1194, start=636, end=954\n", "max_sum=2069, start=49, end=572\n", "max_sum=2682, start=29, end=752\n", "max_sum=2922, start=212, end=719\n", "max_sum=1906, start=230, end=660\n", "max_sum=4503, start=113, end=953\n", "max_sum=2083, start=249, end=716\n", "max_sum=1233, start=847, end=906\n", "max_sum=2663, start=0, end=976\n", "max_sum=1699, start=206, end=526\n", "max_sum=2570, start=10, end=836\n", "max_sum=2707, start=184, end=481\n", "max_sum=1238, start=231, end=360\n", "max_sum=2220, start=13, end=580\n", "max_sum=2746, start=624, end=907\n", "max_sum=1482, start=550, end=656\n", "max_sum=1630, start=143, end=444\n", "max_sum=2093, start=767, end=924\n", "max_sum=3032, start=29, end=446\n", "max_sum=1805, start=803, end=872\n", "max_sum=2658, start=736, end=970\n", "max_sum=3886, start=0, end=694\n", "max_sum=1639, start=374, end=538\n", "max_sum=1830, start=18, end=605\n", "max_sum=747, start=36, end=91\n", "max_sum=1535, start=786, end=895\n", "max_sum=931, start=621, end=741\n", "max_sum=2916, start=219, end=722\n", "max_sum=1616, start=103, end=804\n", "max_sum=1201, start=479, end=563\n", "max_sum=1199, start=342, end=499\n", "max_sum=1160, start=696, end=814\n", "max_sum=1909, start=440, end=839\n", "max_sum=2362, start=708, end=996\n", "max_sum=2190, start=16, end=383\n", "max_sum=1256, start=476, end=697\n", "max_sum=4096, start=183, end=975\n", "max_sum=1243, start=472, end=934\n", "max_sum=1590, start=76, end=196\n", "max_sum=3649, start=506, end=999\n", "max_sum=2413, start=426, end=723\n", "max_sum=4100, start=83, end=980\n", "max_sum=4746, start=355, end=940\n", "max_sum=1634, start=4, end=867\n", "max_sum=1422, start=87, end=993\n", "max_sum=1798, start=39, end=210\n", "max_sum=1484, start=9, end=294\n", "max_sum=2011, start=667, end=893\n", "max_sum=1751, start=497, end=920\n", "max_sum=3639, start=139, end=970\n", "max_sum=4885, start=148, end=766\n", "max_sum=2139, start=92, end=363\n", "max_sum=2428, start=68, end=759\n", "max_sum=1329, start=109, end=438\n", "max_sum=4219, start=149, end=998\n", "max_sum=837, start=374, end=677\n", "max_sum=2728, start=0, end=985\n", "max_sum=2483, start=390, end=972\n", "max_sum=4177, start=19, end=891\n", "max_sum=1551, start=590, end=816\n", "max_sum=2157, start=42, end=924\n", "max_sum=2767, start=433, end=984\n", "max_sum=1998, start=362, end=999\n", "max_sum=1739, start=723, end=975\n", "max_sum=2782, start=229, end=993\n", "max_sum=1588, start=617, end=688\n", "max_sum=2170, start=452, end=685\n", "max_sum=5104, start=44, end=936\n", "max_sum=931, start=0, end=363\n", "max_sum=1139, start=182, end=644\n", "max_sum=1244, start=799, end=905\n", "max_sum=1483, start=301, end=397\n", "max_sum=764, start=499, end=584\n", "max_sum=1988, start=202, end=484\n", "max_sum=2149, start=438, end=787\n", "max_sum=2106, start=292, end=985\n", "max_sum=1467, start=477, end=979\n", "max_sum=3707, start=60, end=936\n", "max_sum=1621, start=627, end=837\n", "max_sum=3113, start=356, end=826\n", "max_sum=1599, start=185, end=269\n", "max_sum=3222, start=4, end=856\n", "max_sum=1861, start=624, end=889\n", "max_sum=2026, start=197, end=350\n", "max_sum=1467, start=389, end=749\n", "max_sum=1054, start=412, end=478\n", "max_sum=2782, start=161, end=706\n", "max_sum=2118, start=646, end=964\n", "max_sum=3184, start=21, end=671\n", "max_sum=3998, start=306, end=953\n", "max_sum=2893, start=21, end=936\n", "max_sum=3157, start=172, end=673\n", "max_sum=1798, start=0, end=505\n", "max_sum=2849, start=36, end=868\n", "max_sum=1297, start=451, end=677\n", "max_sum=1753, start=318, end=524\n", "max_sum=1261, start=804, end=886\n", "max_sum=1358, start=12, end=181\n", "max_sum=1511, start=0, end=68\n", "max_sum=2373, start=453, end=997\n", "max_sum=2869, start=144, end=416\n", "max_sum=2542, start=436, end=862\n", "max_sum=2320, start=216, end=990\n", "max_sum=3089, start=735, end=927\n", "max_sum=3509, start=19, end=719\n", "max_sum=5492, start=138, end=999\n", "max_sum=3395, start=54, end=902\n", "max_sum=1031, start=632, end=690\n", "max_sum=2825, start=31, end=645\n", "max_sum=2282, start=674, end=976\n", "max_sum=1142, start=176, end=391\n", "max_sum=1624, start=525, end=771\n", "max_sum=1304, start=885, end=978\n", "max_sum=1884, start=798, end=974\n", "max_sum=1569, start=120, end=196\n", "max_sum=2351, start=718, end=994\n", "max_sum=1457, start=731, end=999\n", "max_sum=1415, start=579, end=905\n", "max_sum=2361, start=47, end=992\n", "max_sum=4626, start=22, end=961\n", "max_sum=1080, start=751, end=811\n", "max_sum=2853, start=151, end=952\n", "max_sum=2290, start=86, end=340\n", "max_sum=1213, start=59, end=185\n", "max_sum=3809, start=24, end=567\n", "max_sum=2538, start=0, end=797\n", "max_sum=3170, start=298, end=999\n", "max_sum=3973, start=0, end=984\n", "max_sum=1196, start=268, end=455\n", "max_sum=2626, start=247, end=871\n", "max_sum=1692, start=616, end=771\n", "max_sum=2984, start=49, end=733\n", "max_sum=1561, start=412, end=747\n", "max_sum=1782, start=863, end=981\n", "max_sum=2589, start=5, end=325\n", "max_sum=1022, start=374, end=550\n", "max_sum=3310, start=361, end=887\n", "max_sum=2611, start=772, end=999\n", "max_sum=915, start=30, end=202\n", "max_sum=4214, start=32, end=909\n", "max_sum=2724, start=253, end=545\n", "max_sum=2865, start=5, end=879\n", "max_sum=2791, start=53, end=720\n", "max_sum=1671, start=549, end=641\n", "max_sum=2397, start=217, end=490\n", "max_sum=3482, start=106, end=625\n", "max_sum=4644, start=0, end=915\n", "max_sum=1173, start=670, end=774\n", "max_sum=1101, start=779, end=840\n", "max_sum=1801, start=568, end=715\n", "max_sum=3314, start=13, end=941\n", "max_sum=2715, start=71, end=617\n", "max_sum=1192, start=407, end=612\n", "max_sum=2271, start=139, end=972\n", "max_sum=2044, start=206, end=940\n", "max_sum=1561, start=270, end=941\n", "max_sum=1858, start=562, end=844\n", "max_sum=1186, start=865, end=958\n", "max_sum=1486, start=298, end=745\n", "max_sum=2102, start=782, end=999\n", "max_sum=1301, start=854, end=976\n", "max_sum=1667, start=66, end=156\n", "max_sum=2251, start=326, end=586\n", "max_sum=1282, start=342, end=503\n", "max_sum=2776, start=148, end=412\n", "max_sum=1128, start=447, end=518\n", "max_sum=2169, start=194, end=904\n", "max_sum=1735, start=398, end=668\n", "max_sum=1363, start=364, end=681\n", "max_sum=1537, start=172, end=711\n", "max_sum=2154, start=90, end=634\n", "max_sum=4983, start=0, end=994\n", "max_sum=2341, start=35, end=498\n", "max_sum=1225, start=829, end=999\n", "max_sum=1720, start=158, end=612\n", "max_sum=1725, start=779, end=966\n", "max_sum=2830, start=77, end=742\n", "max_sum=2989, start=117, end=418\n", "max_sum=2153, start=357, end=986\n", "max_sum=2634, start=16, end=434\n", "max_sum=2697, start=0, end=691\n", "max_sum=1838, start=85, end=389\n", "max_sum=1875, start=5, end=958\n", "max_sum=1462, start=48, end=157\n", "max_sum=1599, start=21, end=202\n", "max_sum=1763, start=153, end=657\n", "max_sum=1469, start=713, end=884\n", "max_sum=2596, start=277, end=713\n", "max_sum=1562, start=344, end=449\n", "max_sum=1922, start=365, end=686\n", "max_sum=2306, start=490, end=988\n", "max_sum=3915, start=629, end=970\n", "max_sum=2879, start=231, end=999\n", "max_sum=3591, start=11, end=532\n", "max_sum=1197, start=128, end=284\n", "max_sum=2282, start=546, end=933\n", "max_sum=1442, start=426, end=975\n", "max_sum=1875, start=186, end=544\n", "max_sum=1718, start=370, end=863\n", "max_sum=2857, start=54, end=426\n", "max_sum=1622, start=831, end=922\n", "max_sum=1810, start=263, end=636\n", "max_sum=1433, start=49, end=166\n", "max_sum=1954, start=0, end=494\n", "max_sum=1258, start=0, end=102\n", "max_sum=1449, start=533, end=771\n", "max_sum=1257, start=477, end=592\n", "max_sum=1388, start=935, end=997\n", "max_sum=1619, start=754, end=999\n", "max_sum=1034, start=581, end=706\n", "max_sum=2295, start=61, end=437\n", "max_sum=2357, start=192, end=809\n", "max_sum=1919, start=186, end=522\n", "max_sum=2788, start=14, end=724\n", "max_sum=4760, start=196, end=990\n", "max_sum=2016, start=228, end=691\n", "max_sum=1092, start=345, end=470\n", "max_sum=1629, start=387, end=574\n", "max_sum=4614, start=119, end=786\n", "max_sum=2087, start=10, end=520\n", "max_sum=3415, start=39, end=699\n", "max_sum=2062, start=814, end=931\n", "max_sum=4060, start=112, end=804\n", "max_sum=1892, start=818, end=999\n", "max_sum=6089, start=169, end=940\n", "max_sum=2977, start=2, end=753\n", "max_sum=868, start=238, end=303\n", "max_sum=2804, start=604, end=971\n", "max_sum=2830, start=137, end=950\n", "max_sum=5542, start=26, end=908\n", "max_sum=2314, start=240, end=939\n", "max_sum=3526, start=151, end=880\n", "max_sum=870, start=370, end=426\n", "max_sum=2111, start=38, end=265\n", "max_sum=2856, start=22, end=602\n", "max_sum=2028, start=731, end=907\n", "max_sum=2207, start=100, end=875\n", "max_sum=1694, start=680, end=887\n", "max_sum=5336, start=14, end=891\n", "max_sum=1106, start=696, end=796\n", "max_sum=2969, start=16, end=962\n", "max_sum=4420, start=123, end=974\n", "max_sum=1497, start=0, end=100\n", "max_sum=1626, start=7, end=96\n", "max_sum=1756, start=617, end=980\n", "max_sum=2825, start=544, end=973\n", "max_sum=2006, start=0, end=901\n", "max_sum=3715, start=180, end=997\n", "max_sum=710, start=326, end=504\n", "max_sum=1675, start=73, end=344\n", "max_sum=2862, start=128, end=891\n", "max_sum=1123, start=391, end=627\n", "max_sum=2523, start=11, end=539\n", "max_sum=3477, start=72, end=465\n", "max_sum=1838, start=504, end=608\n", "max_sum=1312, start=0, end=95\n", "max_sum=2124, start=448, end=993\n", "max_sum=2846, start=241, end=549\n", "max_sum=2399, start=83, end=681\n", "max_sum=1627, start=0, end=284\n", "max_sum=1878, start=40, end=466\n", "max_sum=1212, start=404, end=584\n", "max_sum=2310, start=6, end=395\n", "max_sum=1187, start=161, end=323\n", "max_sum=2706, start=56, end=715\n", "max_sum=1572, start=703, end=902\n", "max_sum=2058, start=159, end=277\n", "max_sum=1431, start=658, end=910\n", "max_sum=1559, start=276, end=805\n", "max_sum=1025, start=79, end=190\n", "max_sum=1386, start=783, end=981\n", "max_sum=2307, start=478, end=885\n", "max_sum=2206, start=27, end=838\n", "max_sum=963, start=109, end=183\n", "max_sum=3713, start=6, end=847\n", "max_sum=1523, start=60, end=530\n", "max_sum=4109, start=37, end=925\n", "max_sum=3865, start=309, end=999\n", "max_sum=1225, start=377, end=480\n", "max_sum=6516, start=25, end=993\n", "max_sum=1415, start=0, end=213\n", "max_sum=1374, start=767, end=998\n", "max_sum=872, start=946, end=972\n", "max_sum=2431, start=338, end=749\n", "max_sum=1286, start=269, end=664\n", "max_sum=3318, start=330, end=809\n", "max_sum=2056, start=147, end=614\n", "max_sum=2263, start=0, end=873\n", "max_sum=1194, start=258, end=314\n", "max_sum=1885, start=4, end=96\n", "max_sum=3162, start=753, end=997\n", "max_sum=1428, start=82, end=387\n", "max_sum=1706, start=424, end=702\n", "max_sum=1722, start=181, end=364\n", "max_sum=3695, start=85, end=997\n", "max_sum=1876, start=159, end=988\n", "max_sum=2273, start=63, end=841\n", "max_sum=2948, start=222, end=488\n", "max_sum=1154, start=9, end=165\n", "max_sum=2562, start=16, end=605\n", "max_sum=2057, start=502, end=958\n", "max_sum=2011, start=56, end=318\n", "max_sum=3002, start=645, end=916\n", "max_sum=1853, start=775, end=992\n", "max_sum=2472, start=80, end=760\n", "max_sum=1648, start=0, end=335\n", "max_sum=1833, start=165, end=576\n", "max_sum=1233, start=485, end=659\n", "max_sum=3451, start=381, end=883\n", "max_sum=1859, start=302, end=544\n", "max_sum=2505, start=77, end=412\n", "max_sum=3713, start=283, end=976\n", "max_sum=2215, start=305, end=967\n", "max_sum=2599, start=553, end=946\n", "max_sum=1115, start=516, end=602\n", "max_sum=2767, start=275, end=973\n", "max_sum=1408, start=744, end=998\n", "max_sum=4073, start=133, end=677\n", "max_sum=4887, start=21, end=897\n", "max_sum=2222, start=159, end=440\n", "max_sum=1017, start=549, end=661\n", "max_sum=3463, start=561, end=991\n", "max_sum=932, start=18, end=132\n", "max_sum=1403, start=439, end=963\n", "max_sum=1193, start=366, end=513\n", "max_sum=3552, start=58, end=921\n", "max_sum=1138, start=523, end=782\n", "max_sum=2213, start=72, end=187\n", "max_sum=1465, start=406, end=523\n", "max_sum=2383, start=450, end=967\n", "max_sum=2466, start=442, end=641\n", "max_sum=1479, start=5, end=221\n", "max_sum=1928, start=817, end=999\n", "max_sum=2242, start=318, end=798\n", "max_sum=2713, start=6, end=934\n", "max_sum=2129, start=364, end=776\n", "max_sum=1732, start=686, end=965\n", "max_sum=2739, start=202, end=806\n", "max_sum=1582, start=696, end=940\n", "max_sum=4048, start=415, end=900\n", "max_sum=3325, start=24, end=302\n", "max_sum=2270, start=190, end=801\n", "max_sum=2064, start=102, end=426\n", "max_sum=2902, start=241, end=763\n", "max_sum=2481, start=579, end=989\n", "max_sum=2651, start=563, end=927\n", "max_sum=2245, start=54, end=272\n", "max_sum=1530, start=253, end=458\n", "max_sum=2272, start=341, end=958\n", "max_sum=1075, start=611, end=667\n", "max_sum=1013, start=52, end=110\n", "max_sum=2613, start=370, end=785\n", "max_sum=2130, start=3, end=281\n", "max_sum=1955, start=242, end=394\n", "max_sum=1592, start=133, end=590\n", "max_sum=2684, start=311, end=838\n", "max_sum=1791, start=14, end=832\n", "max_sum=2691, start=27, end=740\n", "max_sum=1323, start=120, end=282\n", "max_sum=3511, start=3, end=448\n", "max_sum=1195, start=184, end=427\n", "max_sum=2871, start=243, end=838\n", "max_sum=1560, start=674, end=873\n", "max_sum=1232, start=186, end=283\n", "max_sum=2632, start=791, end=978\n", "max_sum=3301, start=597, end=997\n", "max_sum=1510, start=537, end=732\n", "max_sum=1805, start=635, end=992\n", "max_sum=2730, start=418, end=614\n", "max_sum=1973, start=154, end=481\n", "max_sum=2700, start=440, end=911\n", "max_sum=1159, start=429, end=755\n", "max_sum=4472, start=100, end=927\n", "max_sum=1467, start=822, end=918\n", "max_sum=1670, start=127, end=668\n", "max_sum=964, start=136, end=224\n", "max_sum=3068, start=136, end=929\n", "max_sum=1704, start=15, end=407\n", "max_sum=2441, start=93, end=999\n", "max_sum=2124, start=757, end=975\n", "max_sum=1684, start=363, end=433\n", "max_sum=1792, start=347, end=883\n", "max_sum=1515, start=354, end=620\n", "max_sum=2051, start=659, end=996\n", "max_sum=2313, start=0, end=996\n", "max_sum=3368, start=191, end=516\n", "max_sum=2746, start=95, end=984\n", "max_sum=3875, start=0, end=668\n", "max_sum=1172, start=555, end=650\n", "max_sum=2095, start=179, end=865\n", "max_sum=2276, start=60, end=652\n", "max_sum=3139, start=66, end=606\n", "max_sum=1483, start=0, end=99\n", "max_sum=2999, start=93, end=802\n", "max_sum=2280, start=10, end=868\n", "max_sum=1322, start=813, end=897\n", "max_sum=2208, start=506, end=927\n", "max_sum=3012, start=65, end=986\n", "max_sum=2024, start=111, end=376\n", "max_sum=2072, start=617, end=988\n", "max_sum=3020, start=530, end=884\n", "max_sum=1134, start=715, end=996\n", "max_sum=2335, start=27, end=188\n", "max_sum=3520, start=599, end=990\n", "max_sum=4166, start=24, end=994\n", "max_sum=2908, start=23, end=935\n", "max_sum=2054, start=120, end=689\n", "max_sum=1291, start=171, end=523\n", "max_sum=2739, start=0, end=909\n", "max_sum=2941, start=0, end=776\n", "max_sum=3097, start=187, end=856\n", "max_sum=2488, start=609, end=788\n", "max_sum=1314, start=433, end=641\n", "max_sum=2024, start=356, end=799\n", "max_sum=1859, start=63, end=658\n", "max_sum=1017, start=394, end=730\n", "max_sum=2308, start=149, end=630\n", "max_sum=1283, start=922, end=998\n", "max_sum=2109, start=137, end=928\n", "max_sum=1886, start=303, end=651\n", "max_sum=2336, start=133, end=803\n", "max_sum=2017, start=604, end=996\n", "max_sum=1606, start=442, end=714\n", "max_sum=1737, start=818, end=980\n", "max_sum=2087, start=673, end=925\n", "max_sum=2047, start=589, end=836\n", "max_sum=1255, start=125, end=233\n", "max_sum=3131, start=23, end=962\n", "max_sum=2570, start=179, end=532\n", "max_sum=1546, start=536, end=795\n", "max_sum=1511, start=625, end=959\n", "max_sum=3742, start=367, end=918\n", "max_sum=1861, start=292, end=735\n", "max_sum=1208, start=668, end=720\n", "max_sum=1852, start=256, end=651\n", "max_sum=1315, start=552, end=775\n", "max_sum=3172, start=253, end=999\n", "max_sum=3209, start=80, end=801\n", "max_sum=1388, start=216, end=650\n", "max_sum=2501, start=39, end=594\n", "max_sum=2736, start=526, end=905\n", "max_sum=1539, start=47, end=118\n", "max_sum=1482, start=47, end=174\n", "max_sum=1930, start=433, end=615\n", "max_sum=2834, start=0, end=984\n", "max_sum=3245, start=97, end=954\n", "max_sum=3112, start=0, end=847\n", "max_sum=1677, start=530, end=699\n", "max_sum=1758, start=38, end=177\n", "max_sum=1777, start=776, end=999\n", "max_sum=1815, start=146, end=343\n", "max_sum=1193, start=87, end=137\n", "max_sum=1788, start=718, end=996\n", "max_sum=1051, start=35, end=68\n", "max_sum=1926, start=644, end=949\n", "max_sum=955, start=367, end=553\n", "max_sum=4817, start=11, end=925\n", "max_sum=3334, start=43, end=986\n", "max_sum=1381, start=612, end=997\n", "max_sum=3738, start=32, end=844\n", "max_sum=1833, start=67, end=185\n", "max_sum=1778, start=11, end=827\n", "max_sum=1940, start=283, end=955\n", "max_sum=3228, start=454, end=996\n", "max_sum=1272, start=283, end=547\n", "max_sum=3820, start=635, end=992\n", "max_sum=2372, start=356, end=728\n", "max_sum=2384, start=347, end=995\n", "max_sum=4676, start=75, end=810\n", "max_sum=2439, start=508, end=998\n", "max_sum=2193, start=443, end=864\n", "max_sum=2219, start=30, end=231\n", "max_sum=1464, start=722, end=940\n", "max_sum=1507, start=778, end=977\n", "max_sum=3483, start=397, end=978\n", "max_sum=1721, start=88, end=589\n", "max_sum=1563, start=794, end=904\n", "max_sum=2089, start=544, end=860\n", "max_sum=4310, start=5, end=948\n", "max_sum=3823, start=3, end=369\n", "max_sum=1546, start=585, end=930\n", "max_sum=2677, start=378, end=771\n", "max_sum=2831, start=120, end=953\n", "max_sum=1587, start=859, end=988\n", "max_sum=1336, start=180, end=446\n", "max_sum=2273, start=12, end=810\n", "max_sum=1276, start=391, end=445\n", "max_sum=2116, start=597, end=978\n", "max_sum=1012, start=453, end=553\n", "max_sum=4809, start=79, end=842\n", "max_sum=1467, start=25, end=314\n", "max_sum=1723, start=161, end=572\n", "max_sum=3444, start=68, end=981\n", "max_sum=1024, start=715, end=892\n", "max_sum=2503, start=399, end=614\n", "max_sum=2355, start=477, end=852\n", "max_sum=3581, start=436, end=872\n", "max_sum=1763, start=638, end=852\n", "max_sum=2693, start=83, end=714\n", "max_sum=1705, start=3, end=115\n", "max_sum=1688, start=12, end=686\n", "max_sum=5461, start=102, end=894\n", "max_sum=1585, start=134, end=621\n", "max_sum=2927, start=33, end=886\n", "max_sum=2496, start=155, end=424\n", "max_sum=1823, start=26, end=485\n", "max_sum=1392, start=827, end=939\n", "max_sum=2051, start=839, end=979\n", "max_sum=1283, start=339, end=474\n", "max_sum=2026, start=513, end=595\n", "max_sum=1591, start=607, end=936\n", "max_sum=1962, start=0, end=535\n", "max_sum=2806, start=23, end=997\n", "max_sum=1068, start=493, end=653\n", "max_sum=1255, start=38, end=135\n", "max_sum=1767, start=748, end=999\n", "max_sum=2122, start=7, end=311\n", "max_sum=2512, start=0, end=404\n", "max_sum=2125, start=488, end=762\n", "max_sum=1778, start=184, end=367\n", "max_sum=4831, start=470, end=921\n", "max_sum=1849, start=419, end=833\n", "max_sum=1529, start=737, end=975\n", "max_sum=3299, start=705, end=966\n", "max_sum=3685, start=179, end=995\n", "max_sum=1525, start=26, end=270\n", "max_sum=1328, start=418, end=657\n", "max_sum=2736, start=104, end=908\n", "max_sum=2536, start=379, end=773\n", "max_sum=2461, start=0, end=547\n", "max_sum=3370, start=134, end=884\n", "max_sum=3593, start=423, end=950\n", "max_sum=1940, start=88, end=360\n", "max_sum=2635, start=158, end=871\n", "max_sum=3103, start=0, end=733\n", "max_sum=4743, start=4, end=996\n", "max_sum=2711, start=513, end=750\n", "max_sum=1725, start=159, end=610\n", "max_sum=3866, start=2, end=953\n", "max_sum=1541, start=276, end=640\n", "max_sum=5146, start=126, end=997\n", "max_sum=1672, start=719, end=980\n", "max_sum=2230, start=522, end=648\n", "max_sum=1188, start=705, end=850\n", "max_sum=3811, start=187, end=921\n", "max_sum=1598, start=2, end=999\n", "max_sum=3032, start=35, end=999\n", "max_sum=3127, start=2, end=954\n", "max_sum=4378, start=9, end=925\n", "max_sum=1578, start=394, end=712\n", "max_sum=2235, start=767, end=998\n", "max_sum=2328, start=624, end=964\n", "max_sum=1179, start=768, end=974\n", "max_sum=2378, start=391, end=999\n", "max_sum=2901, start=246, end=793\n", "max_sum=1402, start=0, end=616\n", "max_sum=1343, start=104, end=709\n", "max_sum=1984, start=118, end=973\n", "max_sum=2773, start=84, end=665\n", "max_sum=4082, start=24, end=826\n", "max_sum=1234, start=784, end=899\n", "max_sum=3541, start=66, end=848\n", "max_sum=2185, start=353, end=553\n", "max_sum=1681, start=850, end=967\n", "max_sum=1884, start=24, end=299\n", "max_sum=1646, start=543, end=671\n", "max_sum=2926, start=238, end=534\n", "max_sum=2262, start=515, end=990\n", "max_sum=4957, start=149, end=998\n", "max_sum=3237, start=555, end=821\n", "max_sum=1385, start=588, end=983\n", "max_sum=1843, start=124, end=210\n", "max_sum=1849, start=675, end=894\n", "max_sum=2568, start=276, end=716\n", "max_sum=3276, start=2, end=564\n", "max_sum=1690, start=697, end=928\n", "max_sum=3265, start=72, end=417\n", "max_sum=835, start=600, end=616\n", "max_sum=1452, start=873, end=989\n", "max_sum=2032, start=35, end=369\n", "max_sum=2111, start=209, end=830\n", "max_sum=1615, start=280, end=874\n", "max_sum=810, start=185, end=235\n", "max_sum=1108, start=589, end=692\n", "max_sum=1125, start=749, end=821\n", "max_sum=946, start=47, end=198\n", "max_sum=2952, start=14, end=982\n", "max_sum=1476, start=599, end=886\n", "max_sum=2489, start=50, end=719\n", "max_sum=2651, start=279, end=542\n", "max_sum=1809, start=626, end=813\n", "max_sum=1092, start=275, end=457\n", "max_sum=1546, start=196, end=338\n", "max_sum=1170, start=886, end=999\n", "max_sum=1907, start=421, end=795\n", "max_sum=2122, start=126, end=659\n", "max_sum=2319, start=114, end=450\n", "max_sum=1873, start=42, end=559\n", "max_sum=3385, start=227, end=979\n", "max_sum=2179, start=590, end=896\n", "max_sum=3020, start=143, end=562\n", "max_sum=2904, start=391, end=772\n", "max_sum=1279, start=227, end=474\n", "max_sum=1388, start=412, end=562\n", "max_sum=3467, start=70, end=753\n", "max_sum=1022, start=561, end=671\n", "max_sum=2423, start=223, end=569\n", "max_sum=2375, start=388, end=706\n", "max_sum=3621, start=401, end=825\n", "max_sum=1666, start=200, end=852\n", "max_sum=2161, start=122, end=465\n", "max_sum=2051, start=376, end=837\n", "max_sum=1549, start=764, end=942\n", "max_sum=3441, start=17, end=999\n", "max_sum=1821, start=0, end=654\n", "max_sum=1733, start=804, end=998\n", "max_sum=1811, start=623, end=857\n", "max_sum=1533, start=2, end=86\n", "max_sum=1653, start=6, end=760\n", "max_sum=2016, start=58, end=410\n", "max_sum=3026, start=161, end=703\n", "max_sum=2555, start=189, end=721\n", "max_sum=3489, start=125, end=817\n", "max_sum=3094, start=23, end=708\n", "max_sum=3515, start=177, end=995\n", "max_sum=1763, start=120, end=340\n", "max_sum=2179, start=9, end=495\n", "max_sum=1548, start=806, end=924\n", "max_sum=1966, start=131, end=420\n", "max_sum=1725, start=30, end=654\n", "max_sum=2772, start=125, end=938\n", "max_sum=1805, start=722, end=998\n", "max_sum=1698, start=811, end=969\n", "max_sum=4052, start=0, end=918\n", "max_sum=1968, start=689, end=816\n", "max_sum=1803, start=720, end=979\n", "max_sum=1835, start=730, end=893\n", "max_sum=4084, start=0, end=962\n", "max_sum=1533, start=250, end=995\n", "max_sum=1253, start=123, end=222\n", "max_sum=1553, start=338, end=610\n", "max_sum=2537, start=25, end=988\n", "max_sum=1629, start=645, end=815\n", "max_sum=4341, start=29, end=900\n", "max_sum=2199, start=297, end=992\n", "max_sum=1225, start=37, end=560\n", "max_sum=1737, start=431, end=535\n", "max_sum=2780, start=340, end=880\n", "max_sum=3888, start=147, end=999\n", "max_sum=3304, start=144, end=909\n", "max_sum=1750, start=448, end=692\n", "max_sum=1270, start=637, end=827\n", "max_sum=3390, start=112, end=386\n", "max_sum=1832, start=277, end=486\n", "max_sum=2336, start=69, end=905\n", "max_sum=2283, start=191, end=412\n", "max_sum=2105, start=56, end=486\n", "max_sum=1340, start=586, end=980\n", "max_sum=2003, start=700, end=922\n", "max_sum=2180, start=611, end=969\n", "max_sum=3395, start=122, end=612\n", "max_sum=4158, start=50, end=826\n", "max_sum=2326, start=0, end=173\n", "max_sum=1655, start=709, end=841\n", "max_sum=1309, start=128, end=344\n", "max_sum=2137, start=746, end=980\n", "max_sum=3731, start=213, end=660\n", "max_sum=2562, start=80, end=978\n", "max_sum=1973, start=278, end=481\n", "max_sum=3495, start=111, end=992\n", "max_sum=1670, start=101, end=242\n", "max_sum=1551, start=812, end=977\n", "max_sum=2669, start=194, end=896\n", "max_sum=2652, start=162, end=559\n", "max_sum=1173, start=748, end=982\n", "max_sum=1204, start=477, end=803\n", "max_sum=1348, start=668, end=866\n", "max_sum=3931, start=50, end=911\n", "max_sum=1549, start=136, end=640\n", "max_sum=2493, start=175, end=453\n", "max_sum=1805, start=54, end=220\n", "max_sum=1518, start=308, end=448\n", "max_sum=1502, start=256, end=558\n", "max_sum=2974, start=16, end=715\n", "max_sum=779, start=556, end=589\n", "max_sum=2792, start=7, end=721\n", "max_sum=1455, start=592, end=897\n", "max_sum=1821, start=752, end=977\n", "max_sum=3275, start=332, end=854\n", "max_sum=1211, start=438, end=517\n", "max_sum=3042, start=122, end=424\n", "max_sum=1135, start=556, end=698\n", "max_sum=2044, start=257, end=615\n", "max_sum=1507, start=350, end=484\n", "max_sum=2974, start=122, end=711\n", "max_sum=1489, start=583, end=733\n", "max_sum=1628, start=118, end=446\n", "max_sum=1680, start=693, end=971\n", "max_sum=1191, start=117, end=263\n", "max_sum=1911, start=529, end=846\n", "max_sum=2435, start=445, end=799\n", "max_sum=3288, start=148, end=997\n", "max_sum=2146, start=318, end=608\n", "max_sum=5110, start=111, end=905\n", "max_sum=3526, start=15, end=998\n", "max_sum=1977, start=9, end=411\n", "max_sum=1334, start=21, end=165\n", "max_sum=927, start=306, end=427\n", "max_sum=2793, start=114, end=485\n", "max_sum=1079, start=752, end=868\n", "max_sum=2258, start=11, end=326\n", "max_sum=2566, start=127, end=764\n", "max_sum=2108, start=297, end=998\n", "max_sum=2191, start=243, end=971\n", "max_sum=1282, start=672, end=799\n", "max_sum=3486, start=138, end=664\n", "max_sum=1030, start=274, end=409\n", "max_sum=1738, start=0, end=146\n", "max_sum=1454, start=112, end=797\n", "max_sum=2210, start=125, end=674\n", "max_sum=2596, start=69, end=291\n", "max_sum=1820, start=693, end=837\n", "max_sum=2303, start=183, end=893\n", "max_sum=1990, start=3, end=286\n", "max_sum=1121, start=853, end=988\n", "max_sum=2162, start=602, end=988\n", "max_sum=2514, start=768, end=998\n", "max_sum=3666, start=16, end=977\n", "max_sum=1677, start=518, end=715\n", "max_sum=1215, start=518, end=569\n", "max_sum=4730, start=80, end=876\n", "max_sum=2559, start=757, end=976\n", "max_sum=1374, start=785, end=947\n", "max_sum=2782, start=75, end=680\n", "max_sum=2476, start=0, end=310\n", "max_sum=1431, start=0, end=534\n", "max_sum=1521, start=174, end=543\n", "max_sum=3824, start=421, end=930\n", "max_sum=1803, start=837, end=998\n", "max_sum=3064, start=365, end=896\n", "max_sum=3107, start=264, end=788\n", "max_sum=3328, start=17, end=732\n", "max_sum=1519, start=53, end=379\n", "max_sum=5024, start=31, end=951\n", "max_sum=1707, start=220, end=999\n", "max_sum=2598, start=18, end=451\n", "max_sum=2526, start=401, end=998\n", "max_sum=1854, start=133, end=399\n", "max_sum=2959, start=25, end=793\n", "max_sum=1362, start=358, end=555\n", "max_sum=4188, start=79, end=900\n", "max_sum=2303, start=411, end=998\n", "max_sum=2344, start=389, end=721\n", "max_sum=1633, start=295, end=408\n", "max_sum=1029, start=364, end=515\n", "max_sum=1848, start=747, end=951\n", "max_sum=4317, start=26, end=837\n", "max_sum=1103, start=859, end=906\n", "max_sum=2937, start=68, end=984\n", "max_sum=1382, start=943, end=999\n", "max_sum=3568, start=32, end=718\n", "max_sum=1061, start=732, end=973\n", "max_sum=1234, start=131, end=253\n", "max_sum=3462, start=277, end=954\n", "max_sum=2082, start=579, end=870\n", "max_sum=1201, start=368, end=710\n", "max_sum=809, start=510, end=590\n", "479 µs ± 8.49 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n" ] } ], "source": [ "%%timeit\n", "import random\n", "\n", "a_list = [random.randint(-100, 100) for _ in range(1000)]\n", "max_sum, start, end = kadane(a_list)\n", "print(f\"{max_sum=}, {start=}, {end=}\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "py310", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.13" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }