[7, 8, 17, 29, 41, 56, 61, 70, 81, 95, 107, 110, 111, 115, 145, 148, 181, 240, 255, 259, 260, 280, 281, 307, 323, 326, 359, 365, 366, 372, 400, 402, 405, 460, 463, 469, 491, 493, 520, 527, 538, 545, 570, 575, 584, 589, 607, 610, 614, 622, 649, 651, 655, 666, 667, 668, 678, 697, 704, 714, 724, 729, 739, 742, 750, 765, 769, 774, 775, 777, 802, 805, 818, 820, 824, 829, 836, 842, 847, 848, 851, 852, 862, 863, 864, 877, 902, 912, 914, 920, 937, 954, 959, 967, 969, 971, 973, 991, 999, 1002, 1026, 1029, 1032, 1052, 1084, 1115, 1122, 1123, 1128, 1140, 1150, 1155, 1178, 1195, 1196, 1198, 1203, 1215, 1217, 1223, 1238, 1239, 1243, 1245, 1250, 1261, 1268, 1271, 1277, 1318, 1333, 1337, 1350, 1368, 1382, 1383, 1387, 1406, 1411, 1422, 1444, 1445, 1463, 1470, 1477, 1488, 1492, 1520, 1524, 1528, 1537, 1551, 1555, 1575, 1577, 1578, 1595, 1602, 1618, 1620, 1625, 1627, 1629, 1636, 1639, 1653, 1666, 1667, 1677, 1683, 1688, 1689, 1692, 1696, 1697, 1714, 1719, 1728, 1734, 1765, 1775, 1777, 1784, 1813, 1817, 1823, 1834, 1847, 1851, 1853, 1871, 1888, 1890, 1917, 1922, 1934, 1958, 1981, 1999, 2003, 2006, 2011, 2013, 2023, 2040, 2050, 2057, 2091, 2093, 2107, 2115, 2123, 2173, 2192, 2195, 2197, 2198, 2204, 2210, 2213, 2216, 2217, 2224, 2230, 2260, 2273, 2282, 2291, 2300, 2324, 2327, 2333, 2347, 2348, 2360, 2365, 2367, 2389, 2399, 2410, 2420, 2425, 2430, 2431, 2453, 2454, 2464, 2468, 2486, 2501, 2510, 2525, 2532, 2549, 2554, 2578, 2579, 2587, 2592, 2602, 2620, 2621, 2626, 2632, 2647, 2654, 2662, 2666, 2672, 2680, 2685, 2687, 2712, 2721, 2722, 2726, 2748, 2750, 2752, 2759, 2763, 2765, 2768, 2769, 2784, 2789, 2796, 2797, 2807, 2825, 2826, 2852, 2856, 2896, 2899, 2900, 2904, 2907, 2913, 2933, 2948, 2957, 2972, 2977, 2985, 2988, 3022, 3031, 3036, 3046, 3052, 3056, 3058, 3073, 3089, 3090, 3091, 3101, 3147, 3148, 3149, 3167, 3171, 3172, 3187, 3190, 3196, 3214, 3232, 3241, 3248, 3249, 3260, 3284, 3290, 3296, 3312, 3333, 3343, 3346, 3355, 3359, 3364, 3379, 3393, 3395, 3421, 3444, 3455, 3467, 3477, 3482, 3500, 3505, 3512, 3563, 3574, 3638, 3683, 3690, 3694, 3695, 3699, 3705, 3745, 3763, 3768, 3786, 3790, 3803, 3804, 3814, 3820, 3834, 3843, 3844, 3847, 3852, 3872, 3884, 3894, 3895, 3902, 3904, 3923, 3989, 3993, 3998, 4003, 4007, 4009, 4012, 4014, 4028, 4031, 4050, 4057, 4071, 4075, 4084, 4087, 4102, 4112, 4117, 4133, 4137, 4142, 4146, 4160, 4184, 4194, 4196, 4205, 4213, 4224, 4225, 4246, 4255, 4256, 4272, 4284, 4286, 4290, 4296, 4306, 4341, 4362, 4366, 4370, 4371, 4375, 4380, 4396, 4400, 4413, 4417, 4440, 4456, 4464, 4469, 4471, 4482, 4487, 4511, 4530, 4532, 4567, 4582, 4588, 4605, 4608, 4636, 4654, 4659, 4669, 4683, 4685, 4689, 4691, 4717, 4721, 4732, 4735, 4747, 4769, 4771, 4780, 4790, 4792, 4794, 4807, 4814, 4818, 4819, 4823, 4845, 4851, 4859, 4895, 4902, 4914, 4921, 4924, 4930, 4934, 4939, 4942, 4951, 4952, 4957, 4960, 4962, 4972, 4981, 4990, 4995, 5003, 5004, 5013, 5019, 5038, 5044, 5052, 5083, 5086, 5097, 5103, 5107, 5118, 5122, 5125, 5133, 5137, 5168, 5180, 5186, 5190, 5194, 5216, 5230, 5237, 5241, 5264, 5267, 5268, 5272, 5280, 5281, 5282, 5299, 5301, 5305, 5355, 5357, 5362, 5364, 5384, 5390, 5394, 5401, 5407, 5415, 5420, 5429, 5434, 5438, 5460, 5461, 5464, 5473, 5478, 5486, 5492, 5511, 5528, 5554, 5556, 5562, 5568, 5580, 5591, 5599, 5602, 5609, 5622, 5624, 5656, 5688, 5722, 5727, 5733, 5737, 5745, 5763, 5764, 5790, 5791, 5797, 5808, 5811, 5820, 5824, 5841, 5843, 5864, 5868, 5876, 5905, 5914, 5930, 5957, 5981, 5994, 5997, 6010, 6025, 6027, 6039, 6047, 6060, 6078, 6093, 6103, 6115, 6119, 6127, 6133, 6144, 6195, 6197, 6199, 6210, 6234, 6242, 6246, 6249, 6255, 6256, 6261, 6281, 6284, 6290, 6313, 6315, 6316, 6325, 6346, 6363, 6368, 6380, 6386, 6405, 6407, 6412, 6414, 6416, 6424, 6436, 6444, 6448, 6452, 6474, 6478, 6487, 6493, 6500, 6511, 6515, 6519, 6522, 6523, 6526, 6534, 6546, 6549, 6581, 6583, 6596, 6626, 6629, 6631, 6643, 6647, 6658, 6666, 6671, 6676, 6688, 6699, 6703, 6706, 6743, 6748, 6751, 6770, 6778, 6785, 6796, 6798, 6799, 6800, 6803, 6835, 6844, 6854, 6858, 6866, 6871, 6880, 6885, 6904, 6937, 6953, 6960, 6970, 6972, 7003, 7011, 7022, 7041, 7050, 7058, 7065, 7073, 7079, 7081, 7086, 7087, 7092, 7106, 7108, 7119, 7126, 7128, 7134, 7139, 7147, 7167, 7180, 7192, 7216, 7253, 7258, 7267, 7279, 7291, 7299, 7313, 7324, 7328, 7329, 7342, 7349, 7355, 7374, 7378, 7381, 7382, 7403, 7408, 7416, 7419, 7424, 7426, 7430, 7452, 7469, 7473, 7479, 7480, 7486, 7495, 7498, 7499, 7506, 7507, 7511, 7546, 7569, 7579, 7580, 7589, 7591, 7617, 7642, 7647, 7648, 7649, 7651, 7655, 7682, 7685, 7702, 7713, 7720, 7723, 7732, 7743, 7744, 7755, 7756, 7759, 7761, 7775, 7777, 7778, 7792, 7795, 7820, 7844, 7854, 7865, 7871, 7896, 7915, 7916, 7929, 7937, 7950, 7953, 7956, 7965, 7967, 7974, 7989, 8000, 8002, 8006, 8010, 8021, 8023, 8031, 8053, 8063, 8064, 8070, 8074, 8087, 8091, 8098, 8110, 8113, 8127, 8130, 8131, 8146, 8154, 8155, 8158, 8170, 8193, 8198, 8202, 8210, 8231, 8241, 8250, 8261, 8263, 8272, 8275, 8278, 8295, 8301, 8318, 8320, 8322, 8330, 8342, 8348, 8385, 8405, 8412, 8423, 8427, 8428, 8438, 8457, 8468, 8472, 8486, 8488, 8517, 8525, 8536, 8539, 8541, 8542, 8565, 8585, 8587, 8603, 8605, 8618, 8619, 8648, 8649, 8659, 8673, 8674, 8694, 8699, 8704, 8707, 8710, 8720, 8721, 8736, 8750, 8759, 8763, 8788, 8832, 8842, 8861, 8862, 8863, 8871, 8874, 8892, 8901, 8912, 8920, 8931, 8972, 8977, 8986, 8989, 9008, 9009, 9027, 9036, 9042, 9043, 9059, 9062, 9064, 9089, 9103, 9110, 9123, 9128, 9134, 9141, 9147, 9148, 9158, 9160, 9163, 9173, 9180, 9196, 9203, 9209, 9216, 9224, 9249, 9262, 9290, 9291, 9294, 9306, 9325, 9341, 9354, 9358, 9359, 9368, 9371, 9375, 9376, 9381, 9397, 9399, 9402, 9468, 9486, 9499, 9504, 9514, 9517, 9544, 9567, 9568, 9571, 9572, 9580, 9586, 9597, 9601, 9610, 9658, 9719, 9721, 9734, 9735, 9741, 9759, 9771, 9773, 9776, 9788, 9789, 9799, 9809, 9812, 9831, 9839, 9840, 9851, 9867, 9870, 9892, 9898, 9905, 9912, 9914, 9923, 9934, 9980] 10971 999