max_stars_repo_path
stringlengths
4
237
max_stars_repo_name
stringlengths
6
117
max_stars_count
int64
0
95.2k
id
stringlengths
1
7
content
stringlengths
12
593k
input_ids
sequencelengths
7
549k
setup.py
jawahar273/practNLPTools-lite
29
172233
<gh_stars>10-100 #!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" # from distutils.command.install import INSTALL_SCHEMES from setuptools import setup, find_packages with open("README.rst") as readme_file: readme = readme_file.read() with open("CHANGELOG.rst") as history_file: history = history_file.read() setup_requirements = [ "pytest-runner", # TODO(jawahar273): put setup requirements # (distutils extensions, etc.) here ] def parse_requirements(filename): """ load requirements from a pip requirements file refer: `link <https://stackoverflow.com/questions/25192794/no-module-named-pip-req/>`_ """ lineiter = (line.strip() for line in open(filename)) return [line for line in lineiter if line and not line.startswith("#")] # read the `extras_require.json` for getting # extras_require depencencys. extras_require = { "ujson": parse_requirements("requirements_ujson.txt"), "huey": parse_requirements("requirements_huey.txt"), "xxhash": parse_requirements("requirements_xxhash.txt"), } setup( name="pntl", version="0.3.6", description=( "used to interface with Senna and" " stanford-parser.jar for dependency parsing" ), long_description="\n\n" + readme + "\n\n" + history, author="<NAME>", author_email="<EMAIL>", url="https://github.com/jawahar273/practNLPTools-lite", packages=find_packages(include=["pntl.*"]), entry_points={"console_scripts": ["pntl=pntl.cli:user_test"]}, include_package_data=True, install_requires=parse_requirements("requirements.txt"), license="MIT license", zip_safe=False, keywords="practnlptools-lite senna python pntl".split(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Information Analysis", ], test_suite="tests", tests_require=parse_requirements("requirements_dev.txt"), setup_requires=setup_requirements, extras_require=extras_require, )
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 1576, 6230, 2471, 1213, 15945, 13, 13, 29937, 515, 1320, 13239, 29889, 6519, 29889, 6252, 1053, 2672, 1254, 9818, 29918, 29903, 3210, 29923, 2303, 29903, 13, 3166, 731, 21245, 8789, 1053, 6230, 29892, 1284, 29918, 8318, 13, 13, 2541, 1722, 703, 16310, 2303, 29889, 29878, 303, 1159, 408, 1303, 1004, 29918, 1445, 29901, 13, 1678, 1303, 1004, 353, 1303, 1004, 29918, 1445, 29889, 949, 580, 13, 13, 2541, 1722, 703, 3210, 24336, 14480, 29889, 29878, 303, 1159, 408, 4955, 29918, 1445, 29901, 13, 1678, 4955, 353, 4955, 29918, 1445, 29889, 949, 580, 13, 13, 13, 14669, 29918, 12277, 1860, 353, 518, 13, 1678, 376, 2272, 1688, 29899, 27492, 613, 13, 1678, 396, 14402, 29898, 29926, 1450, 801, 279, 29906, 29955, 29941, 1125, 1925, 6230, 11780, 13, 1678, 396, 313, 5721, 13239, 17752, 29892, 2992, 1846, 1244, 13, 29962, 13, 13, 13, 1753, 6088, 29918, 12277, 1860, 29898, 9507, 1125, 13, 1678, 9995, 2254, 11780, 515, 263, 8450, 11780, 934, 13, 4706, 2737, 29901, 421, 2324, 529, 991, 597, 2417, 29889, 510, 29914, 2619, 29914, 29906, 29945, 29896, 29929, 29906, 29955, 29929, 29946, 29914, 1217, 29899, 5453, 29899, 17514, 29899, 13096, 29899, 7971, 3779, 29952, 29918, 13, 1678, 9995, 13, 1678, 1196, 1524, 353, 313, 1220, 29889, 17010, 580, 363, 1196, 297, 1722, 29898, 9507, 876, 13, 1678, 736, 518, 1220, 363, 1196, 297, 1196, 1524, 565, 1196, 322, 451, 1196, 29889, 27382, 2541, 14822, 13531, 13, 13, 13, 29937, 1303, 278, 421, 1062, 3417, 29918, 12277, 29889, 3126, 29952, 363, 2805, 13, 29937, 429, 10678, 29918, 12277, 1401, 3977, 3977, 952, 29889, 13, 1062, 3417, 29918, 12277, 353, 426, 13, 1678, 376, 29884, 3126, 1115, 6088, 29918, 12277, 1860, 703, 12277, 1860, 29918, 29884, 3126, 29889, 3945, 4968, 13, 1678, 376, 29882, 434, 29891, 1115, 6088, 29918, 12277, 1860, 703, 12277, 1860, 29918, 29882, 434, 29891, 29889, 3945, 4968, 13, 1678, 376, 4419, 8568, 1115, 6088, 29918, 12277, 1860, 703, 12277, 1860, 29918, 4419, 8568, 29889, 3945, 4968, 13, 29913, 13, 13, 13, 14669, 29898, 13, 1678, 1024, 543, 29886, 593, 29880, 613, 13, 1678, 1873, 543, 29900, 29889, 29941, 29889, 29953, 613, 13, 1678, 6139, 7607, 13, 4706, 376, 3880, 304, 5067, 411, 5811, 1056, 322, 29908, 376, 11075, 4006, 29899, 16680, 29889, 4758, 363, 10609, 13755, 29908, 13, 1678, 10353, 13, 1678, 1472, 29918, 8216, 543, 29905, 29876, 29905, 29876, 29908, 718, 1303, 1004, 718, 6634, 29876, 29905, 29876, 29908, 718, 4955, 29892, 13, 1678, 4148, 543, 29966, 5813, 28341, 13, 1678, 4148, 29918, 5269, 543, 29966, 26862, 6227, 28341, 13, 1678, 3142, 543, 991, 597, 3292, 29889, 510, 29914, 29926, 1450, 801, 279, 29906, 29955, 29941, 29914, 29886, 1461, 25103, 7982, 8789, 29899, 29880, 568, 613, 13, 1678, 9741, 29922, 2886, 29918, 8318, 29898, 2856, 29922, 3366, 29886, 593, 29880, 5575, 3108, 511, 13, 1678, 6251, 29918, 9748, 3790, 29908, 11058, 29918, 16713, 1115, 6796, 29886, 593, 29880, 29922, 29886, 593, 29880, 29889, 11303, 29901, 1792, 29918, 1688, 3108, 1118, 13, 1678, 3160, 29918, 5113, 29918, 1272, 29922, 5574, 29892, 13, 1678, 2601, 29918, 276, 339, 2658, 29922, 5510, 29918, 12277, 1860, 703, 12277, 1860, 29889, 3945, 4968, 13, 1678, 19405, 543, 26349, 19405, 613, 13, 1678, 14319, 29918, 11177, 29922, 8824, 29892, 13, 1678, 29361, 543, 29886, 1461, 12938, 415, 8789, 29899, 29880, 568, 6940, 1056, 3017, 282, 593, 29880, 1642, 5451, 3285, 13, 1678, 770, 14903, 11759, 13, 4706, 376, 21956, 358, 16034, 4761, 29871, 29946, 448, 350, 1187, 613, 13, 4706, 376, 2928, 2760, 319, 4749, 663, 4761, 10682, 414, 613, 13, 4706, 376, 29931, 293, 1947, 4761, 438, 5425, 28268, 1490, 4761, 341, 1806, 19245, 613, 13, 4706, 376, 29940, 18771, 17088, 4761, 4223, 613, 13, 4706, 376, 9283, 4056, 17088, 4761, 5132, 4761, 29871, 29941, 29889, 29946, 613, 13, 4706, 376, 9283, 4056, 17088, 4761, 5132, 4761, 29871, 29941, 29889, 29945, 613, 13, 4706, 376, 9283, 4056, 17088, 4761, 5132, 4761, 29871, 29941, 29889, 29953, 613, 13, 4706, 376, 7031, 293, 4761, 23753, 928, 29914, 12412, 3241, 4761, 10343, 24352, 613, 13, 1678, 21251, 13, 1678, 1243, 29918, 13495, 543, 21150, 613, 13, 1678, 6987, 29918, 12277, 29922, 5510, 29918, 12277, 1860, 703, 12277, 1860, 29918, 3359, 29889, 3945, 4968, 13, 1678, 6230, 29918, 276, 339, 2658, 29922, 14669, 29918, 12277, 1860, 29892, 13, 1678, 429, 10678, 29918, 12277, 29922, 1062, 3417, 29918, 12277, 29892, 13, 29897, 13, 2 ]
pymongo/timestamp.py
ixc/mongo-python-driver
0
1608899
# Copyright 2010 10gen, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Tools for representing MongoDB internal Timestamps. """ import calendar import datetime from pymongo.tz_util import utc class Timestamp(object): """MongoDB internal timestamps used in the opLog. """ def __init__(self, time, inc): """Create a new :class:`Timestamp`. This class is only for use with the MongoDB opLog. If you need to store a regular timestamp, please use a :class:`~datetime.datetime`. Raises :class:`TypeError` if `time` is not an instance of :class: `int` or :class:`~datetime.datetime`, or `inc` is not an instance of :class:`int`. Raises :class:`ValueError` if `time` or `inc` is not in [0, 2**32). :Parameters: - `time`: time in seconds since epoch UTC, or a naive UTC :class:`~datetime.datetime`, or an aware :class:`~datetime.datetime` - `inc`: the incrementing counter .. versionchanged:: 1.7 `time` can now be a :class:`~datetime.datetime` instance. """ if isinstance(time, datetime.datetime): if time.utcoffset() is not None: time = time - time.utcoffset() time = int(calendar.timegm(time.timetuple())) if not isinstance(time, (int, long)): raise TypeError("time must be an instance of int") if not isinstance(inc, (int, long)): raise TypeError("inc must be an instance of int") if not 0 <= time < 2 ** 32: raise ValueError("time must be contained in [0, 2**32)") if not 0 <= inc < 2 ** 32: raise ValueError("inc must be contained in [0, 2**32)") self.__time = time self.__inc = inc @property def time(self): """Get the time portion of this :class:`Timestamp`. """ return self.__time @property def inc(self): """Get the inc portion of this :class:`Timestamp`. """ return self.__inc def __eq__(self, other): if isinstance(other, Timestamp): return (self.__time == other.time and self.__inc == other.inc) else: return NotImplemented def __ne__(self, other): return not self == other def __repr__(self): return "Timestamp(%s, %s)" % (self.__time, self.__inc) def as_datetime(self): """Return a :class:`~datetime.datetime` instance corresponding to the time portion of this :class:`Timestamp`. .. versionchanged:: 1.8 The returned datetime is now timezone aware. """ return datetime.datetime.fromtimestamp(self.__time, utc)
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29896, 29900, 29871, 29896, 29900, 1885, 29892, 9266, 29889, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 13, 29937, 366, 1122, 451, 671, 445, 934, 5174, 297, 752, 13036, 411, 278, 19245, 29889, 13, 29937, 887, 1122, 4017, 263, 3509, 310, 278, 19245, 472, 13, 29937, 13, 29937, 1732, 597, 1636, 29889, 4288, 29889, 990, 29914, 506, 11259, 29914, 27888, 1430, 1660, 29899, 29906, 29889, 29900, 13, 29937, 13, 29937, 25870, 3734, 491, 22903, 4307, 470, 15502, 304, 297, 5007, 29892, 7047, 13, 29937, 13235, 1090, 278, 19245, 338, 13235, 373, 385, 376, 3289, 8519, 29908, 350, 3289, 3235, 29892, 13, 29937, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29059, 6323, 8707, 29928, 22122, 29903, 8079, 13764, 29979, 476, 22255, 29892, 2845, 4653, 470, 2411, 2957, 29889, 13, 29937, 2823, 278, 19245, 363, 278, 2702, 4086, 14765, 1076, 11239, 322, 13, 29937, 27028, 1090, 278, 19245, 29889, 13, 13, 15945, 29908, 24183, 363, 15783, 29004, 7463, 7870, 342, 15092, 29889, 13, 15945, 29908, 13, 13, 5215, 17684, 13, 5215, 12865, 13, 13, 3166, 282, 962, 7443, 29889, 17559, 29918, 4422, 1053, 3477, 29883, 13, 13, 13, 1990, 7870, 7416, 29898, 3318, 1125, 13, 1678, 9995, 29924, 7443, 4051, 7463, 5335, 342, 15092, 1304, 297, 278, 1015, 3403, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 931, 29892, 5528, 1125, 13, 4706, 9995, 4391, 263, 716, 584, 1990, 18078, 27939, 1412, 13, 13, 4706, 910, 770, 338, 871, 363, 671, 411, 278, 29004, 1015, 3403, 29889, 960, 366, 817, 13, 4706, 304, 3787, 263, 4943, 14334, 29892, 3113, 671, 263, 13, 4706, 584, 1990, 18078, 30022, 12673, 29889, 12673, 1412, 13, 13, 4706, 390, 1759, 267, 584, 1990, 18078, 1542, 2392, 29952, 565, 421, 2230, 29952, 338, 451, 385, 2777, 310, 13, 4706, 584, 1990, 29901, 421, 524, 29952, 470, 584, 1990, 18078, 30022, 12673, 29889, 12673, 1673, 470, 421, 3742, 29952, 338, 451, 13, 4706, 385, 2777, 310, 584, 1990, 18078, 524, 1412, 390, 1759, 267, 584, 1990, 18078, 1917, 2392, 29952, 565, 13, 4706, 421, 2230, 29952, 470, 421, 3742, 29952, 338, 451, 297, 518, 29900, 29892, 29871, 29906, 1068, 29941, 29906, 467, 13, 13, 4706, 584, 11507, 29901, 13, 3986, 448, 421, 2230, 6998, 931, 297, 6923, 1951, 21502, 305, 17998, 29892, 470, 263, 1055, 573, 17998, 13, 9651, 584, 1990, 18078, 30022, 12673, 29889, 12673, 1673, 470, 385, 9543, 13, 9651, 584, 1990, 18078, 30022, 12673, 29889, 12673, 29952, 13, 3986, 448, 421, 3742, 6998, 278, 11924, 292, 6795, 13, 13, 4706, 6317, 1873, 15033, 1057, 29871, 29896, 29889, 29955, 13, 965, 421, 2230, 29952, 508, 1286, 367, 263, 584, 1990, 18078, 30022, 12673, 29889, 12673, 29952, 2777, 29889, 13, 4706, 9995, 13, 4706, 565, 338, 8758, 29898, 2230, 29892, 12865, 29889, 12673, 1125, 13, 9651, 565, 931, 29889, 329, 1111, 600, 842, 580, 338, 451, 6213, 29901, 13, 18884, 931, 353, 931, 448, 931, 29889, 329, 1111, 600, 842, 580, 13, 9651, 931, 353, 938, 29898, 23392, 29889, 9346, 387, 29885, 29898, 2230, 29889, 9346, 24120, 552, 22130, 13, 4706, 565, 451, 338, 8758, 29898, 2230, 29892, 313, 524, 29892, 1472, 22164, 13, 9651, 12020, 20948, 703, 2230, 1818, 367, 385, 2777, 310, 938, 1159, 13, 4706, 565, 451, 338, 8758, 29898, 3742, 29892, 313, 524, 29892, 1472, 22164, 13, 9651, 12020, 20948, 703, 3742, 1818, 367, 385, 2777, 310, 938, 1159, 13, 4706, 565, 451, 29871, 29900, 5277, 931, 529, 29871, 29906, 3579, 29871, 29941, 29906, 29901, 13, 9651, 12020, 7865, 2392, 703, 2230, 1818, 367, 11122, 297, 518, 29900, 29892, 29871, 29906, 1068, 29941, 29906, 25760, 13, 4706, 565, 451, 29871, 29900, 5277, 5528, 529, 29871, 29906, 3579, 29871, 29941, 29906, 29901, 13, 9651, 12020, 7865, 2392, 703, 3742, 1818, 367, 11122, 297, 518, 29900, 29892, 29871, 29906, 1068, 29941, 29906, 25760, 13, 13, 4706, 1583, 17255, 2230, 353, 931, 13, 4706, 1583, 17255, 3742, 353, 5528, 13, 13, 1678, 732, 6799, 13, 1678, 822, 931, 29898, 1311, 1125, 13, 4706, 9995, 2577, 278, 931, 11910, 310, 445, 584, 1990, 18078, 27939, 1412, 13, 4706, 9995, 13, 4706, 736, 1583, 17255, 2230, 13, 13, 1678, 732, 6799, 13, 1678, 822, 5528, 29898, 1311, 1125, 13, 4706, 9995, 2577, 278, 5528, 11910, 310, 445, 584, 1990, 18078, 27939, 1412, 13, 4706, 9995, 13, 4706, 736, 1583, 17255, 3742, 13, 13, 1678, 822, 4770, 1837, 12035, 1311, 29892, 916, 1125, 13, 4706, 565, 338, 8758, 29898, 1228, 29892, 7870, 7416, 1125, 13, 9651, 736, 313, 1311, 17255, 2230, 1275, 916, 29889, 2230, 322, 1583, 17255, 3742, 1275, 916, 29889, 3742, 29897, 13, 4706, 1683, 29901, 13, 9651, 736, 2216, 1888, 2037, 287, 13, 13, 1678, 822, 4770, 484, 12035, 1311, 29892, 916, 1125, 13, 4706, 736, 451, 1583, 1275, 916, 13, 13, 1678, 822, 4770, 276, 558, 12035, 1311, 1125, 13, 4706, 736, 376, 27939, 29414, 29879, 29892, 1273, 29879, 5513, 1273, 313, 1311, 17255, 2230, 29892, 1583, 17255, 3742, 29897, 13, 13, 1678, 822, 408, 29918, 12673, 29898, 1311, 1125, 13, 4706, 9995, 11609, 263, 584, 1990, 18078, 30022, 12673, 29889, 12673, 29952, 2777, 6590, 13, 4706, 304, 278, 931, 11910, 310, 445, 584, 1990, 18078, 27939, 1412, 13, 13, 4706, 6317, 1873, 15033, 1057, 29871, 29896, 29889, 29947, 13, 965, 450, 4133, 12865, 338, 1286, 29431, 9543, 29889, 13, 4706, 9995, 13, 4706, 736, 12865, 29889, 12673, 29889, 3166, 16394, 29898, 1311, 17255, 2230, 29892, 3477, 29883, 29897, 13, 2 ]
raspi_components/light/rgb_light.py
builderdev212/raspi_components
1
42649
<filename>raspi_components/light/rgb_light.py import RPi.GPIO as GPIO from .light_errors import RGBLedError class RGBLed: """ This class is used to control a RGB LED via the GPIO. Please make sure you have 220 Ohm resistors between the 3 gpio pins and the LED. """ def __init__(self, red_pin, green_pin, blue_pin): """ This initiates the pins needed to work with the RGB LED. """ try: self.red_pin = int(red_pin) self.green_pin = int(green_pin) self.blue_pin = int(blue_pin) GPIO.setmode(GPIO.BOARD) GPIO.setup(self.red_pin, GPIO.OUT) GPIO.setup(self.green_pin, GPIO.OUT) GPIO.setup(self.blue_pin, GPIO.OUT) GPIO.output(self.red_pin, GPIO.OUT) GPIO.output(self.green_pin, GPIO.OUT) GPIO.output(self.blue_pin, GPIO.OUT) self.pwm_red = GPIO.PWM(self.red_pin, 2000) self.pwm_green = GPIO.PWM(self.green_pin, 2000) self.pwm_blue = GPIO.PWM(self.blue_pin, 2000) except: raise RGBLedError("Error during the initiation of the RGB_LED class.") def on(self, red_val=0, green_val=0, blue_val=0): """ This will turn on the RGB LED. To change the default color, change red_val, green_val, and blue_val when calling the function. """ try: self.pwm_red.start(red_val) self.pwm_green.start(green_val) self.pwm_blue.start(blue_val) except: raise RGBLedError("Error while turning the RGB LED on.") def set_color(self, red_val, green_val, blue_val): """ This will set the color of the RGB LED. Keep in mind that this uses the RGB color scale. """ try: self.pwm_red.ChangeDutyCycle(red_val) self.pwm_green.ChangeDutyCycle(green_val) self.pwm_blue.ChangeDutyCycle(blue_val) except: raise RGBLedError("Error while changing the color of the RGB LED.") def off(self): """ This will turn the RGB LED off. """ try: self.pwm_red.stop() self.pwm_green.stop() self.pwm_blue.stop() except: raise RGBLedError("Error while turning the RGB LED off.")
[ 1, 529, 9507, 29958, 3417, 1631, 29918, 14036, 29914, 4366, 29914, 23973, 29918, 4366, 29889, 2272, 13, 5215, 390, 12197, 29889, 29954, 2227, 29949, 408, 402, 2227, 29949, 13, 3166, 869, 4366, 29918, 12523, 1053, 390, 7210, 29931, 287, 2392, 13, 13, 1990, 390, 7210, 29931, 287, 29901, 13, 1678, 9995, 13, 1678, 910, 770, 338, 1304, 304, 2761, 263, 390, 7210, 25023, 3025, 278, 402, 2227, 29949, 29889, 13, 1678, 3529, 1207, 1854, 366, 505, 29871, 29906, 29906, 29900, 6439, 29885, 9241, 943, 1546, 278, 29871, 29941, 330, 16168, 282, 1144, 13, 1678, 322, 278, 25023, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2654, 29918, 12687, 29892, 7933, 29918, 12687, 29892, 7254, 29918, 12687, 1125, 13, 4706, 9995, 13, 4706, 910, 14511, 1078, 278, 282, 1144, 4312, 304, 664, 411, 278, 390, 7210, 25023, 29889, 13, 4706, 9995, 13, 4706, 1018, 29901, 13, 9651, 1583, 29889, 1127, 29918, 12687, 353, 938, 29898, 1127, 29918, 12687, 29897, 13, 9651, 1583, 29889, 12692, 29918, 12687, 353, 938, 29898, 12692, 29918, 12687, 29897, 13, 9651, 1583, 29889, 9539, 29918, 12687, 353, 938, 29898, 9539, 29918, 12687, 29897, 13, 13, 9651, 402, 2227, 29949, 29889, 842, 8513, 29898, 29954, 2227, 29949, 29889, 8456, 17011, 29897, 13, 9651, 402, 2227, 29949, 29889, 14669, 29898, 1311, 29889, 1127, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 9651, 402, 2227, 29949, 29889, 14669, 29898, 1311, 29889, 12692, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 9651, 402, 2227, 29949, 29889, 14669, 29898, 1311, 29889, 9539, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 13, 9651, 402, 2227, 29949, 29889, 4905, 29898, 1311, 29889, 1127, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 9651, 402, 2227, 29949, 29889, 4905, 29898, 1311, 29889, 12692, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 9651, 402, 2227, 29949, 29889, 4905, 29898, 1311, 29889, 9539, 29918, 12687, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 1127, 353, 402, 2227, 29949, 29889, 29925, 26735, 29898, 1311, 29889, 1127, 29918, 12687, 29892, 29871, 29906, 29900, 29900, 29900, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 12692, 353, 402, 2227, 29949, 29889, 29925, 26735, 29898, 1311, 29889, 12692, 29918, 12687, 29892, 29871, 29906, 29900, 29900, 29900, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 9539, 353, 402, 2227, 29949, 29889, 29925, 26735, 29898, 1311, 29889, 9539, 29918, 12687, 29892, 29871, 29906, 29900, 29900, 29900, 29897, 13, 4706, 5174, 29901, 13, 9651, 12020, 390, 7210, 29931, 287, 2392, 703, 2392, 2645, 278, 2069, 11685, 310, 278, 390, 7210, 29918, 20566, 770, 23157, 13, 13, 1678, 822, 373, 29898, 1311, 29892, 2654, 29918, 791, 29922, 29900, 29892, 7933, 29918, 791, 29922, 29900, 29892, 7254, 29918, 791, 29922, 29900, 1125, 13, 4706, 9995, 13, 4706, 910, 674, 2507, 373, 278, 390, 7210, 25023, 29889, 1763, 1735, 278, 2322, 2927, 29892, 1735, 2654, 29918, 791, 29892, 13, 4706, 7933, 29918, 791, 29892, 322, 7254, 29918, 791, 746, 5432, 278, 740, 29889, 13, 4706, 9995, 13, 4706, 1018, 29901, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 1127, 29889, 2962, 29898, 1127, 29918, 791, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 12692, 29889, 2962, 29898, 12692, 29918, 791, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 9539, 29889, 2962, 29898, 9539, 29918, 791, 29897, 13, 4706, 5174, 29901, 13, 9651, 12020, 390, 7210, 29931, 287, 2392, 703, 2392, 1550, 14712, 278, 390, 7210, 25023, 373, 23157, 13, 13, 1678, 822, 731, 29918, 2780, 29898, 1311, 29892, 2654, 29918, 791, 29892, 7933, 29918, 791, 29892, 7254, 29918, 791, 1125, 13, 4706, 9995, 13, 4706, 910, 674, 731, 278, 2927, 310, 278, 390, 7210, 25023, 29889, 13, 4706, 19152, 297, 3458, 393, 445, 3913, 278, 390, 7210, 2927, 6287, 29889, 13, 4706, 9995, 13, 4706, 1018, 29901, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 1127, 29889, 7277, 29928, 329, 29891, 29907, 13317, 29898, 1127, 29918, 791, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 12692, 29889, 7277, 29928, 329, 29891, 29907, 13317, 29898, 12692, 29918, 791, 29897, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 9539, 29889, 7277, 29928, 329, 29891, 29907, 13317, 29898, 9539, 29918, 791, 29897, 13, 4706, 5174, 29901, 13, 9651, 12020, 390, 7210, 29931, 287, 2392, 703, 2392, 1550, 6480, 278, 2927, 310, 278, 390, 7210, 25023, 23157, 13, 13, 1678, 822, 1283, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 910, 674, 2507, 278, 390, 7210, 25023, 1283, 29889, 13, 4706, 9995, 13, 4706, 1018, 29901, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 1127, 29889, 9847, 580, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 12692, 29889, 9847, 580, 13, 9651, 1583, 29889, 29886, 29893, 29885, 29918, 9539, 29889, 9847, 580, 13, 4706, 5174, 29901, 13, 9651, 12020, 390, 7210, 29931, 287, 2392, 703, 2392, 1550, 14712, 278, 390, 7210, 25023, 1283, 23157, 13, 2 ]
api/db/base.py
p0lygun/astounding-arapaimas
0
156419
<filename>api/db/base.py # Import all the models, so that Base has them before being imported by Alembic from api.db.base_class import Base # noqa: F401 from api.models.user import User # noqa: F401
[ 1, 529, 9507, 29958, 2754, 29914, 2585, 29914, 3188, 29889, 2272, 13, 29937, 16032, 599, 278, 4733, 29892, 577, 393, 7399, 756, 963, 1434, 1641, 19673, 491, 319, 2409, 29890, 293, 13, 3166, 7882, 29889, 2585, 29889, 3188, 29918, 1990, 1053, 7399, 29871, 396, 694, 25621, 29901, 383, 29946, 29900, 29896, 13, 3166, 7882, 29889, 9794, 29889, 1792, 1053, 4911, 29871, 396, 694, 25621, 29901, 383, 29946, 29900, 29896, 13, 2 ]
easy_gold/pann_utils.py
wdy06/kaggle-birdsong-recognition
1
63434
import logging import os import random import time import warnings from collections import OrderedDict from contextlib import contextmanager from pathlib import Path from typing import List, Optional import cv2 import numpy as np import pandas as pd import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.utils.data as data from IPython.display import Audio from sklearn.metrics import average_precision_score, f1_score from sklearn.model_selection import StratifiedKFold import librosa import librosa.display as display import soundfile as sf import utils from catalyst.dl import Callback, CallbackOrder, State class DFTBase(nn.Module): def __init__(self): """Base class for DFT and IDFT matrix""" super(DFTBase, self).__init__() def dft_matrix(self, n): (x, y) = np.meshgrid(np.arange(n), np.arange(n)) omega = np.exp(-2 * np.pi * 1j / n) W = np.power(omega, x * y) return W def idft_matrix(self, n): (x, y) = np.meshgrid(np.arange(n), np.arange(n)) omega = np.exp(2 * np.pi * 1j / n) W = np.power(omega, x * y) return W class STFT(DFTBase): def __init__( self, n_fft=2048, hop_length=None, win_length=None, window="hann", center=True, pad_mode="reflect", freeze_parameters=True, ): """Implementation of STFT with Conv1d. The function has the same output of librosa.core.stft """ super(STFT, self).__init__() assert pad_mode in ["constant", "reflect"] self.n_fft = n_fft self.center = center self.pad_mode = pad_mode # By default, use the entire frame if win_length is None: win_length = n_fft # Set the default hop, if it's not already specified if hop_length is None: hop_length = int(win_length // 4) fft_window = librosa.filters.get_window(window, win_length, fftbins=True) # Pad the window out to n_fft size fft_window = librosa.util.pad_center(fft_window, n_fft) # DFT & IDFT matrix self.W = self.dft_matrix(n_fft) out_channels = n_fft // 2 + 1 self.conv_real = nn.Conv1d( in_channels=1, out_channels=out_channels, kernel_size=n_fft, stride=hop_length, padding=0, dilation=1, groups=1, bias=False, ) self.conv_imag = nn.Conv1d( in_channels=1, out_channels=out_channels, kernel_size=n_fft, stride=hop_length, padding=0, dilation=1, groups=1, bias=False, ) self.conv_real.weight.data = torch.Tensor( np.real(self.W[:, 0:out_channels] * fft_window[:, None]).T )[:, None, :] # (n_fft // 2 + 1, 1, n_fft) self.conv_imag.weight.data = torch.Tensor( np.imag(self.W[:, 0:out_channels] * fft_window[:, None]).T )[:, None, :] # (n_fft // 2 + 1, 1, n_fft) if freeze_parameters: for param in self.parameters(): param.requires_grad = False def forward(self, input): """input: (batch_size, data_length) Returns: real: (batch_size, n_fft // 2 + 1, time_steps) imag: (batch_size, n_fft // 2 + 1, time_steps) """ x = input[:, None, :] # (batch_size, channels_num, data_length) if self.center: x = F.pad(x, pad=(self.n_fft // 2, self.n_fft // 2), mode=self.pad_mode) real = self.conv_real(x) imag = self.conv_imag(x) # (batch_size, n_fft // 2 + 1, time_steps) real = real[:, None, :, :].transpose(2, 3) imag = imag[:, None, :, :].transpose(2, 3) # (batch_size, 1, time_steps, n_fft // 2 + 1) return real, imag class Spectrogram(nn.Module): def __init__( self, n_fft=2048, hop_length=None, win_length=None, window="hann", center=True, pad_mode="reflect", power=2.0, freeze_parameters=True, ): """Calculate spectrogram using pytorch. The STFT is implemented with Conv1d. The function has the same output of librosa.core.stft """ super(Spectrogram, self).__init__() self.power = power self.stft = STFT( n_fft=n_fft, hop_length=hop_length, win_length=win_length, window=window, center=center, pad_mode=pad_mode, freeze_parameters=True, ) def forward(self, input): """input: (batch_size, 1, time_steps, n_fft // 2 + 1) Returns: spectrogram: (batch_size, 1, time_steps, n_fft // 2 + 1) """ (real, imag) = self.stft.forward(input) # (batch_size, n_fft // 2 + 1, time_steps) spectrogram = real ** 2 + imag ** 2 if self.power == 2.0: pass else: spectrogram = spectrogram ** (power / 2.0) return spectrogram class LogmelFilterBank(nn.Module): def __init__( self, sr=32000, n_fft=2048, n_mels=64, fmin=50, fmax=14000, is_log=True, ref=1.0, amin=1e-10, top_db=80.0, freeze_parameters=True, ): """Calculate logmel spectrogram using pytorch. The mel filter bank is the pytorch implementation of as librosa.filters.mel """ super(LogmelFilterBank, self).__init__() self.is_log = is_log self.ref = ref self.amin = amin self.top_db = top_db self.melW = librosa.filters.mel( sr=sr, n_fft=n_fft, n_mels=n_mels, fmin=fmin, fmax=fmax ).T # (n_fft // 2 + 1, mel_bins) self.melW = nn.Parameter(torch.Tensor(self.melW)) if freeze_parameters: for param in self.parameters(): param.requires_grad = False def forward(self, input): """input: (batch_size, channels, time_steps) Output: (batch_size, time_steps, mel_bins) """ # Mel spectrogram mel_spectrogram = torch.matmul(input, self.melW) # Logmel spectrogram if self.is_log: output = self.power_to_db(mel_spectrogram) else: output = mel_spectrogram return output def power_to_db(self, input): """Power to db, this function is the pytorch implementation of librosa.core.power_to_lb """ ref_value = self.ref log_spec = 10.0 * torch.log10(torch.clamp(input, min=self.amin, max=np.inf)) log_spec -= 10.0 * np.log10(np.maximum(self.amin, ref_value)) if self.top_db is not None: if self.top_db < 0: raise ParameterError("top_db must be non-negative") log_spec = torch.clamp( log_spec, min=log_spec.max().item() - self.top_db, max=np.inf ) return log_spec class DropStripes(nn.Module): def __init__(self, dim, drop_width, stripes_num): """Drop stripes. Args: dim: int, dimension along which to drop drop_width: int, maximum width of stripes to drop stripes_num: int, how many stripes to drop """ super(DropStripes, self).__init__() assert dim in [2, 3] # dim 2: time; dim 3: frequency self.dim = dim self.drop_width = drop_width self.stripes_num = stripes_num def forward(self, input): """input: (batch_size, channels, time_steps, freq_bins)""" assert input.ndimension() == 4 if self.training is False: return input else: batch_size = input.shape[0] total_width = input.shape[self.dim] for n in range(batch_size): self.transform_slice(input[n], total_width) return input def transform_slice(self, e, total_width): """e: (channels, time_steps, freq_bins)""" for _ in range(self.stripes_num): distance = torch.randint(low=0, high=self.drop_width, size=(1,))[0] bgn = torch.randint(low=0, high=total_width - distance, size=(1,))[0] if self.dim == 2: e[:, bgn : bgn + distance, :] = 0 elif self.dim == 3: e[:, :, bgn : bgn + distance] = 0 class SpecAugmentation(nn.Module): def __init__( self, time_drop_width, time_stripes_num, freq_drop_width, freq_stripes_num ): """Spec augmetation. [ref] <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>. and <NAME>., 2019. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779. Args: time_drop_width: int time_stripes_num: int freq_drop_width: int freq_stripes_num: int """ super(SpecAugmentation, self).__init__() self.time_dropper = DropStripes( dim=2, drop_width=time_drop_width, stripes_num=time_stripes_num ) self.freq_dropper = DropStripes( dim=3, drop_width=freq_drop_width, stripes_num=freq_stripes_num ) def forward(self, input): x = self.time_dropper(input) x = self.freq_dropper(x) return x def init_layer(layer): nn.init.xavier_uniform_(layer.weight) if hasattr(layer, "bias"): if layer.bias is not None: layer.bias.data.fill_(0.0) def init_bn(bn): bn.bias.data.fill_(0.0) bn.weight.data.fill_(1.0) def do_mixup(x, mixup_lambda): """Mixup x of even indexes (0, 2, 4, ...) with x of odd indexes (1, 3, 5, ...). Args: x: (batch_size * 2, ...) mixup_lambda: (batch_size * 2,) Returns: out: (batch_size, ...) """ out = ( x[0::2].transpose(0, -1) * mixup_lambda[0::2] + x[1::2].transpose(0, -1) * mixup_lambda[1::2] ).transpose(0, -1) return out def interpolate(x: torch.Tensor, ratio: int): """Interpolate data in time domain. This is used to compensate the resolution reduction in downsampling of a CNN. Args: x: (batch_size, time_steps, classes_num) ratio: int, ratio to interpolate Returns: upsampled: (batch_size, time_steps * ratio, classes_num) """ (batch_size, time_steps, classes_num) = x.shape upsampled = x[:, :, None, :].repeat(1, 1, ratio, 1) upsampled = upsampled.reshape(batch_size, time_steps * ratio, classes_num) return upsampled def pad_framewise_output(framewise_output: torch.Tensor, frames_num: int): """Pad framewise_output to the same length as input frames. The pad value is the same as the value of the last frame. Args: framewise_output: (batch_size, frames_num, classes_num) frames_num: int, number of frames to pad Outputs: output: (batch_size, frames_num, classes_num) """ pad = framewise_output[:, -1:, :].repeat( 1, frames_num - framewise_output.shape[1], 1 ) """tensor for padding""" output = torch.cat((framewise_output, pad), dim=1) """(batch_size, frames_num, classes_num)""" return output class ConvBlock(nn.Module): def __init__(self, in_channels: int, out_channels: int): super().__init__() self.conv1 = nn.Conv2d( in_channels=in_channels, out_channels=out_channels, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False, ) self.conv2 = nn.Conv2d( in_channels=out_channels, out_channels=out_channels, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False, ) self.bn1 = nn.BatchNorm2d(out_channels) self.bn2 = nn.BatchNorm2d(out_channels) self.init_weight() def init_weight(self): init_layer(self.conv1) init_layer(self.conv2) init_bn(self.bn1) init_bn(self.bn2) def forward(self, input, pool_size=(2, 2), pool_type="avg"): x = input x = F.relu_(self.bn1(self.conv1(x))) x = F.relu_(self.bn2(self.conv2(x))) if pool_type == "max": x = F.max_pool2d(x, kernel_size=pool_size) elif pool_type == "avg": x = F.avg_pool2d(x, kernel_size=pool_size) elif pool_type == "avg+max": x1 = F.avg_pool2d(x, kernel_size=pool_size) x2 = F.max_pool2d(x, kernel_size=pool_size) x = x1 + x2 else: raise Exception("Incorrect argument!") return x class AttBlock(nn.Module): def __init__( self, in_features: int, out_features: int, activation="linear", temperature=1.0 ): super().__init__() self.activation = activation self.temperature = temperature self.att = nn.Conv1d( in_channels=in_features, out_channels=out_features, kernel_size=1, stride=1, padding=0, bias=True, ) self.cla = nn.Conv1d( in_channels=in_features, out_channels=out_features, kernel_size=1, stride=1, padding=0, bias=True, ) self.bn_att = nn.BatchNorm1d(out_features) self.init_weights() def init_weights(self): init_layer(self.att) init_layer(self.cla) init_bn(self.bn_att) def forward(self, x): # x: (n_samples, n_in, n_time) norm_att = torch.softmax(torch.clamp(self.att(x), -10, 10), dim=-1) cla = self.nonlinear_transform(self.cla(x)) x = torch.sum(norm_att * cla, dim=2) return x, norm_att, cla def nonlinear_transform(self, x): if self.activation == "linear": return x elif self.activation == "sigmoid": return torch.sigmoid(x) class PANNsCNN14Att(nn.Module): def __init__( self, sample_rate: int, window_size: int, hop_size: int, mel_bins: int, fmin: int, fmax: int, classes_num: int, ): super().__init__() window = "hann" center = True pad_mode = "reflect" ref = 1.0 amin = 1e-10 top_db = None self.interpolate_ratio = 32 # Downsampled ratio # Spectrogram extractor self.spectrogram_extractor = Spectrogram( n_fft=window_size, hop_length=hop_size, win_length=window_size, window=window, center=center, pad_mode=pad_mode, freeze_parameters=True, ) # Logmel feature extractor self.logmel_extractor = LogmelFilterBank( sr=sample_rate, n_fft=window_size, n_mels=mel_bins, fmin=fmin, fmax=fmax, ref=ref, amin=amin, top_db=top_db, freeze_parameters=True, ) # Spec augmenter self.spec_augmenter = SpecAugmentation( time_drop_width=64, time_stripes_num=2, freq_drop_width=8, freq_stripes_num=2, ) self.bn0 = nn.BatchNorm2d(mel_bins) self.conv_block1 = ConvBlock(in_channels=1, out_channels=64) self.conv_block2 = ConvBlock(in_channels=64, out_channels=128) self.conv_block3 = ConvBlock(in_channels=128, out_channels=256) self.conv_block4 = ConvBlock(in_channels=256, out_channels=512) self.conv_block5 = ConvBlock(in_channels=512, out_channels=1024) self.conv_block6 = ConvBlock(in_channels=1024, out_channels=2048) self.fc1 = nn.Linear(2048, 2048, bias=True) self.att_block = AttBlock(2048, classes_num, activation="sigmoid") self.init_weight() def init_weight(self): init_bn(self.bn0) init_layer(self.fc1) def cnn_feature_extractor(self, x): x = self.conv_block1(x, pool_size=(2, 2), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) x = self.conv_block2(x, pool_size=(2, 2), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) x = self.conv_block3(x, pool_size=(2, 2), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) x = self.conv_block4(x, pool_size=(2, 2), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) x = self.conv_block5(x, pool_size=(2, 2), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) x = self.conv_block6(x, pool_size=(1, 1), pool_type="avg") x = F.dropout(x, p=0.2, training=self.training) return x def preprocess(self, input, mixup_lambda=None): # t1 = time.time() x = self.spectrogram_extractor(input) # (batch_size, 1, time_steps, freq_bins) x = self.logmel_extractor(x) # (batch_size, 1, time_steps, mel_bins) frames_num = x.shape[2] x = x.transpose(1, 3) x = self.bn0(x) x = x.transpose(1, 3) if self.training: x = self.spec_augmenter(x) # Mixup on spectrogram if self.training and mixup_lambda is not None: x = do_mixup(x, mixup_lambda) return x, frames_num def forward(self, input, mixup_lambda=None): """ Input: (batch_size, data_length)""" x, frames_num = self.preprocess(input, mixup_lambda=mixup_lambda) # Output shape (batch size, channels, time, frequency) x = self.cnn_feature_extractor(x) # Aggregate in frequency axis x = torch.mean(x, dim=3) x1 = F.max_pool1d(x, kernel_size=3, stride=1, padding=1) x2 = F.avg_pool1d(x, kernel_size=3, stride=1, padding=1) x = x1 + x2 x = F.dropout(x, p=0.5, training=self.training) x = x.transpose(1, 2) x = F.relu_(self.fc1(x)) x = x.transpose(1, 2) x = F.dropout(x, p=0.5, training=self.training) (clipwise_output, norm_att, segmentwise_output) = self.att_block(x) segmentwise_output = segmentwise_output.transpose(1, 2) # Get framewise output framewise_output = interpolate(segmentwise_output, self.interpolate_ratio) framewise_output = pad_framewise_output(framewise_output, frames_num) output_dict = { "framewise_output": framewise_output, "clipwise_output": clipwise_output, } return output_dict class PANNsDataset(data.Dataset): # def __init__(self, file_list: List[List[str]], waveform_transforms=None, period=5): def __init__( self, df, datadir, waveform_transforms=None, period=5, sample_rate=32000 ): # self.file_list = file_list # list of list: [file_path, ebird_code] self.df = df self.datadir = datadir self.waveform_transforms = waveform_transforms self.period = period self.sample_rate = sample_rate def __len__(self): return len(self.df) def __getitem__(self, idx: int): sample = self.df.iloc[idx, :] # wav_name = sample["resampled_filename"] wav_name = sample["filename"] # wav_name = wav_name.replace("mp3", "wav") wav_name = wav_name.replace("mp3", "npy") wav_name = wav_name.replace("wav", "npy") ebird_code = sample["ebird_code"] duration = sample["duration"] wav_path = self.datadir / ebird_code / wav_name # y, sr = sf.read(self.datadir / ebird_code / wav_name) effective_length = self.sample_rate * self.period # wav_path, ebird_code = self.file_list[idx] # y, sr = sf.read(wav_path) y = np.load(wav_path) if self.waveform_transforms: y = self.waveform_transforms(y) else: len_y = len(y) effective_length = self.sample_rate * self.period if len_y < effective_length: new_y = np.zeros(effective_length, dtype=y.dtype) start = np.random.randint(effective_length - len_y) new_y[start : start + len_y] = y y = new_y.astype(np.float32) elif len_y > effective_length: start = np.random.randint(len_y - effective_length) y = y[start : start + effective_length].astype(np.float32) else: y = y.astype(np.float32) labels = np.zeros(len(utils.BIRD_CODE), dtype="f") labels[utils.BIRD_CODE[ebird_code]] = 1 return {"waveform": y, "targets": labels} class PANNsLoss(nn.Module): def __init__(self): super().__init__() self.bce = nn.BCELoss() def forward(self, input, target): input_ = input["clipwise_output"] input_ = torch.where(torch.isnan(input_), torch.zeros_like(input_), input_) input_ = torch.where(torch.isinf(input_), torch.zeros_like(input_), input_) target = target.float() return self.bce(input_, target) class F1Callback(Callback): def __init__( self, input_key: str = "targets", output_key: str = "logits", model_output_key: str = "clipwise_output", prefix: str = "f1", ): super().__init__(CallbackOrder.Metric) self.input_key = input_key self.output_key = output_key self.model_output_key = model_output_key self.prefix = prefix def on_loader_start(self, state: State): self.prediction: List[np.ndarray] = [] self.target: List[np.ndarray] = [] def on_batch_end(self, state: State): targ = state.input[self.input_key].detach().cpu().numpy() out = state.output[self.output_key] clipwise_output = out[self.model_output_key].detach().cpu().numpy() self.prediction.append(clipwise_output) self.target.append(targ) y_pred = clipwise_output.argmax(axis=1) y_true = targ.argmax(axis=1) score = f1_score(y_true, y_pred, average="macro") state.batch_metrics[self.prefix] = score def on_loader_end(self, state: State): y_pred = np.concatenate(self.prediction, axis=0).argmax(axis=1) y_true = np.concatenate(self.target, axis=0).argmax(axis=1) score = f1_score(y_true, y_pred, average="macro") state.loader_metrics[self.prefix] = score if state.is_valid_loader: state.epoch_metrics[state.valid_loader + "_epoch_" + self.prefix] = score else: state.epoch_metrics["train_epoch_" + self.prefix] = score class mAPCallback(Callback): def __init__( self, input_key: str = "targets", output_key: str = "logits", model_output_key: str = "clipwise_output", prefix: str = "mAP", ): super().__init__(CallbackOrder.Metric) self.input_key = input_key self.output_key = output_key self.model_output_key = model_output_key self.prefix = prefix def on_loader_start(self, state: State): self.prediction: List[np.ndarray] = [] self.target: List[np.ndarray] = [] def on_batch_end(self, state: State): targ = state.input[self.input_key].detach().cpu().numpy() out = state.output[self.output_key] clipwise_output = out[self.model_output_key].detach().cpu().numpy() self.prediction.append(clipwise_output) self.target.append(targ) score = average_precision_score(targ, clipwise_output, average=None) score = np.nan_to_num(score).mean() state.batch_metrics[self.prefix] = score def on_loader_end(self, state: State): y_pred = np.concatenate(self.prediction, axis=0) y_true = np.concatenate(self.target, axis=0) score = average_precision_score(y_true, y_pred, average=None) score = np.nan_to_num(score).mean() state.loader_metrics[self.prefix] = score if state.is_valid_loader: state.epoch_metrics[state.valid_loader + "_epoch_" + self.prefix] = score else: state.epoch_metrics["train_epoch_" + self.prefix] = score def get_model(config: dict, weights_path=None): model = PANNsCNN14Att(**config) model.att_block = AttBlock(2048, 264, activation="sigmoid") if weights_path: checkpoint = torch.load(weights_path) state_dict = checkpoint["model_state_dict"] new_state_dict = OrderedDict() for k, v in state_dict.items(): name = k if k[:7] == "module.": name = k[7:] # remove `module.` new_state_dict[name] = v model.load_state_dict(new_state_dict) else: model.att_block.init_weights() # device = torch.device("cuda") # model.to(device) # model.eval() return model
[ 1, 1053, 12183, 13, 5215, 2897, 13, 5215, 4036, 13, 5215, 931, 13, 5215, 18116, 13, 3166, 16250, 1053, 8170, 287, 21533, 13, 3166, 3030, 1982, 1053, 3030, 12847, 13, 3166, 2224, 1982, 1053, 10802, 13, 3166, 19229, 1053, 2391, 29892, 28379, 13, 13, 5215, 13850, 29906, 13, 5215, 12655, 408, 7442, 13, 5215, 11701, 408, 10518, 13, 5215, 4842, 305, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 5215, 4842, 305, 29889, 20640, 408, 5994, 13, 5215, 4842, 305, 29889, 13239, 29889, 1272, 408, 848, 13, 3166, 5641, 1656, 29889, 4990, 1053, 21764, 13, 3166, 2071, 19668, 29889, 2527, 10817, 1053, 6588, 29918, 17990, 2459, 29918, 13628, 29892, 285, 29896, 29918, 13628, 13, 3166, 2071, 19668, 29889, 4299, 29918, 21731, 1053, 3767, 271, 2164, 29968, 29943, 1025, 13, 13, 5215, 4303, 1883, 29874, 13, 5215, 4303, 1883, 29874, 29889, 4990, 408, 2479, 13, 5215, 6047, 1445, 408, 18668, 13, 5215, 3667, 29879, 13, 3166, 17246, 858, 29889, 11671, 1053, 8251, 1627, 29892, 8251, 1627, 7514, 29892, 4306, 13, 13, 13, 1990, 360, 7818, 5160, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 9995, 5160, 770, 363, 360, 7818, 322, 3553, 7818, 4636, 15945, 29908, 13, 4706, 2428, 29898, 4037, 29911, 5160, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 1678, 822, 270, 615, 29918, 5344, 29898, 1311, 29892, 302, 1125, 13, 4706, 313, 29916, 29892, 343, 29897, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 29876, 511, 7442, 29889, 279, 927, 29898, 29876, 876, 13, 4706, 2703, 2442, 353, 7442, 29889, 4548, 6278, 29906, 334, 7442, 29889, 1631, 334, 29871, 29896, 29926, 847, 302, 29897, 13, 4706, 399, 353, 7442, 29889, 13519, 29898, 4787, 29892, 921, 334, 343, 29897, 13, 4706, 736, 399, 13, 13, 1678, 822, 1178, 615, 29918, 5344, 29898, 1311, 29892, 302, 1125, 13, 4706, 313, 29916, 29892, 343, 29897, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 29876, 511, 7442, 29889, 279, 927, 29898, 29876, 876, 13, 4706, 2703, 2442, 353, 7442, 29889, 4548, 29898, 29906, 334, 7442, 29889, 1631, 334, 29871, 29896, 29926, 847, 302, 29897, 13, 4706, 399, 353, 7442, 29889, 13519, 29898, 4787, 29892, 921, 334, 343, 29897, 13, 4706, 736, 399, 13, 13, 13, 1990, 6850, 7818, 29898, 4037, 29911, 5160, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 302, 29918, 600, 29873, 29922, 29906, 29900, 29946, 29947, 29892, 13, 4706, 8171, 29918, 2848, 29922, 8516, 29892, 13, 4706, 5401, 29918, 2848, 29922, 8516, 29892, 13, 4706, 3474, 543, 29882, 812, 613, 13, 4706, 4818, 29922, 5574, 29892, 13, 4706, 17132, 29918, 8513, 543, 13191, 613, 13, 4706, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 268, 1125, 13, 4706, 9995, 1888, 14607, 310, 6850, 7818, 411, 1281, 29894, 29896, 29881, 29889, 450, 740, 756, 278, 1021, 1962, 13, 4706, 310, 4303, 1883, 29874, 29889, 3221, 29889, 303, 615, 13, 4706, 9995, 13, 4706, 2428, 29898, 1254, 7818, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 4706, 4974, 17132, 29918, 8513, 297, 6796, 23362, 613, 376, 13191, 3108, 13, 13, 4706, 1583, 29889, 29876, 29918, 600, 29873, 353, 302, 29918, 600, 29873, 13, 4706, 1583, 29889, 5064, 353, 4818, 13, 4706, 1583, 29889, 8305, 29918, 8513, 353, 17132, 29918, 8513, 13, 13, 4706, 396, 2648, 2322, 29892, 671, 278, 4152, 3515, 13, 4706, 565, 5401, 29918, 2848, 338, 6213, 29901, 13, 9651, 5401, 29918, 2848, 353, 302, 29918, 600, 29873, 13, 13, 4706, 396, 3789, 278, 2322, 8171, 29892, 565, 372, 29915, 29879, 451, 2307, 6790, 13, 4706, 565, 8171, 29918, 2848, 338, 6213, 29901, 13, 9651, 8171, 29918, 2848, 353, 938, 29898, 5080, 29918, 2848, 849, 29871, 29946, 29897, 13, 13, 4706, 285, 615, 29918, 7165, 353, 4303, 1883, 29874, 29889, 26705, 29889, 657, 29918, 7165, 29898, 7165, 29892, 5401, 29918, 2848, 29892, 285, 615, 29890, 1144, 29922, 5574, 29897, 13, 13, 4706, 396, 18011, 278, 3474, 714, 304, 302, 29918, 600, 29873, 2159, 13, 4706, 285, 615, 29918, 7165, 353, 4303, 1883, 29874, 29889, 4422, 29889, 8305, 29918, 5064, 29898, 600, 29873, 29918, 7165, 29892, 302, 29918, 600, 29873, 29897, 13, 13, 4706, 396, 360, 7818, 669, 3553, 7818, 4636, 13, 4706, 1583, 29889, 29956, 353, 1583, 29889, 29881, 615, 29918, 5344, 29898, 29876, 29918, 600, 29873, 29897, 13, 13, 4706, 714, 29918, 305, 12629, 353, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 13, 13, 4706, 1583, 29889, 20580, 29918, 6370, 353, 302, 29876, 29889, 1168, 29894, 29896, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 29896, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 305, 12629, 29892, 13, 9651, 8466, 29918, 2311, 29922, 29876, 29918, 600, 29873, 29892, 13, 9651, 380, 2426, 29922, 29882, 459, 29918, 2848, 29892, 13, 9651, 7164, 29922, 29900, 29892, 13, 9651, 270, 8634, 29922, 29896, 29892, 13, 9651, 6471, 29922, 29896, 29892, 13, 9651, 24003, 29922, 8824, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 20580, 29918, 326, 351, 353, 302, 29876, 29889, 1168, 29894, 29896, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 29896, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 305, 12629, 29892, 13, 9651, 8466, 29918, 2311, 29922, 29876, 29918, 600, 29873, 29892, 13, 9651, 380, 2426, 29922, 29882, 459, 29918, 2848, 29892, 13, 9651, 7164, 29922, 29900, 29892, 13, 9651, 270, 8634, 29922, 29896, 29892, 13, 9651, 6471, 29922, 29896, 29892, 13, 9651, 24003, 29922, 8824, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 20580, 29918, 6370, 29889, 7915, 29889, 1272, 353, 4842, 305, 29889, 29911, 6073, 29898, 13, 9651, 7442, 29889, 6370, 29898, 1311, 29889, 29956, 7503, 29892, 29871, 29900, 29901, 449, 29918, 305, 12629, 29962, 334, 285, 615, 29918, 7165, 7503, 29892, 6213, 14664, 29911, 13, 4706, 1723, 7503, 29892, 6213, 29892, 584, 29962, 13, 4706, 396, 313, 29876, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 29871, 29896, 29892, 302, 29918, 600, 29873, 29897, 13, 13, 4706, 1583, 29889, 20580, 29918, 326, 351, 29889, 7915, 29889, 1272, 353, 4842, 305, 29889, 29911, 6073, 29898, 13, 9651, 7442, 29889, 326, 351, 29898, 1311, 29889, 29956, 7503, 29892, 29871, 29900, 29901, 449, 29918, 305, 12629, 29962, 334, 285, 615, 29918, 7165, 7503, 29892, 6213, 14664, 29911, 13, 4706, 1723, 7503, 29892, 6213, 29892, 584, 29962, 13, 4706, 396, 313, 29876, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 29871, 29896, 29892, 302, 29918, 600, 29873, 29897, 13, 13, 4706, 565, 3889, 911, 29918, 16744, 29901, 13, 9651, 363, 1828, 297, 1583, 29889, 16744, 7295, 13, 18884, 1828, 29889, 276, 339, 2658, 29918, 5105, 353, 7700, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 1125, 13, 4706, 9995, 2080, 29901, 313, 16175, 29918, 2311, 29892, 848, 29918, 2848, 29897, 13, 4706, 16969, 29901, 13, 3986, 1855, 29901, 313, 16175, 29918, 2311, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 931, 29918, 24530, 29897, 13, 3986, 6382, 29901, 313, 16175, 29918, 2311, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 931, 29918, 24530, 29897, 13, 4706, 9995, 13, 13, 4706, 921, 353, 1881, 7503, 29892, 6213, 29892, 584, 29962, 29871, 396, 313, 16175, 29918, 2311, 29892, 18196, 29918, 1949, 29892, 848, 29918, 2848, 29897, 13, 13, 4706, 565, 1583, 29889, 5064, 29901, 13, 9651, 921, 353, 383, 29889, 8305, 29898, 29916, 29892, 17132, 7607, 1311, 29889, 29876, 29918, 600, 29873, 849, 29871, 29906, 29892, 1583, 29889, 29876, 29918, 600, 29873, 849, 29871, 29906, 511, 4464, 29922, 1311, 29889, 8305, 29918, 8513, 29897, 13, 13, 4706, 1855, 353, 1583, 29889, 20580, 29918, 6370, 29898, 29916, 29897, 13, 4706, 6382, 353, 1583, 29889, 20580, 29918, 326, 351, 29898, 29916, 29897, 13, 4706, 396, 313, 16175, 29918, 2311, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 931, 29918, 24530, 29897, 13, 13, 4706, 1855, 353, 1855, 7503, 29892, 6213, 29892, 584, 29892, 584, 1822, 3286, 4220, 29898, 29906, 29892, 29871, 29941, 29897, 13, 4706, 6382, 353, 6382, 7503, 29892, 6213, 29892, 584, 29892, 584, 1822, 3286, 4220, 29898, 29906, 29892, 29871, 29941, 29897, 13, 4706, 396, 313, 16175, 29918, 2311, 29892, 29871, 29896, 29892, 931, 29918, 24530, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29897, 13, 13, 4706, 736, 1855, 29892, 6382, 13, 13, 13, 1990, 27738, 307, 1393, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 302, 29918, 600, 29873, 29922, 29906, 29900, 29946, 29947, 29892, 13, 4706, 8171, 29918, 2848, 29922, 8516, 29892, 13, 4706, 5401, 29918, 2848, 29922, 8516, 29892, 13, 4706, 3474, 543, 29882, 812, 613, 13, 4706, 4818, 29922, 5574, 29892, 13, 4706, 17132, 29918, 8513, 543, 13191, 613, 13, 4706, 3081, 29922, 29906, 29889, 29900, 29892, 13, 4706, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 268, 1125, 13, 4706, 9995, 27065, 403, 6683, 307, 1393, 773, 282, 3637, 25350, 29889, 450, 6850, 7818, 338, 8762, 411, 13, 4706, 1281, 29894, 29896, 29881, 29889, 450, 740, 756, 278, 1021, 1962, 310, 4303, 1883, 29874, 29889, 3221, 29889, 303, 615, 13, 4706, 9995, 13, 4706, 2428, 29898, 29903, 1103, 307, 1393, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 13519, 353, 3081, 13, 13, 4706, 1583, 29889, 303, 615, 353, 6850, 7818, 29898, 13, 9651, 302, 29918, 600, 29873, 29922, 29876, 29918, 600, 29873, 29892, 13, 9651, 8171, 29918, 2848, 29922, 29882, 459, 29918, 2848, 29892, 13, 9651, 5401, 29918, 2848, 29922, 5080, 29918, 2848, 29892, 13, 9651, 3474, 29922, 7165, 29892, 13, 9651, 4818, 29922, 5064, 29892, 13, 9651, 17132, 29918, 8513, 29922, 8305, 29918, 8513, 29892, 13, 9651, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 4706, 1723, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 1125, 13, 4706, 9995, 2080, 29901, 313, 16175, 29918, 2311, 29892, 29871, 29896, 29892, 931, 29918, 24530, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29897, 13, 4706, 16969, 29901, 13, 3986, 6683, 307, 1393, 29901, 313, 16175, 29918, 2311, 29892, 29871, 29896, 29892, 931, 29918, 24530, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29897, 13, 4706, 9995, 13, 13, 4706, 313, 6370, 29892, 6382, 29897, 353, 1583, 29889, 303, 615, 29889, 11333, 29898, 2080, 29897, 13, 4706, 396, 313, 16175, 29918, 2311, 29892, 302, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 931, 29918, 24530, 29897, 13, 13, 4706, 6683, 307, 1393, 353, 1855, 3579, 29871, 29906, 718, 6382, 3579, 29871, 29906, 13, 13, 4706, 565, 1583, 29889, 13519, 1275, 29871, 29906, 29889, 29900, 29901, 13, 9651, 1209, 13, 4706, 1683, 29901, 13, 9651, 6683, 307, 1393, 353, 6683, 307, 1393, 3579, 313, 13519, 847, 29871, 29906, 29889, 29900, 29897, 13, 13, 4706, 736, 6683, 307, 1393, 13, 13, 13, 1990, 4522, 12873, 5072, 29933, 804, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 27236, 29922, 29941, 29906, 29900, 29900, 29900, 29892, 13, 4706, 302, 29918, 600, 29873, 29922, 29906, 29900, 29946, 29947, 29892, 13, 4706, 302, 29918, 29885, 1379, 29922, 29953, 29946, 29892, 13, 4706, 285, 1195, 29922, 29945, 29900, 29892, 13, 4706, 285, 3317, 29922, 29896, 29946, 29900, 29900, 29900, 29892, 13, 4706, 338, 29918, 1188, 29922, 5574, 29892, 13, 4706, 2143, 29922, 29896, 29889, 29900, 29892, 13, 4706, 626, 262, 29922, 29896, 29872, 29899, 29896, 29900, 29892, 13, 4706, 2246, 29918, 2585, 29922, 29947, 29900, 29889, 29900, 29892, 13, 4706, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 268, 1125, 13, 4706, 9995, 27065, 403, 1480, 12873, 6683, 307, 1393, 773, 282, 3637, 25350, 29889, 450, 9232, 4175, 9124, 338, 13, 4706, 278, 282, 3637, 25350, 5314, 310, 408, 4303, 1883, 29874, 29889, 26705, 29889, 12873, 13, 4706, 9995, 13, 4706, 2428, 29898, 3403, 12873, 5072, 29933, 804, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 275, 29918, 1188, 353, 338, 29918, 1188, 13, 4706, 1583, 29889, 999, 353, 2143, 13, 4706, 1583, 29889, 9103, 353, 626, 262, 13, 4706, 1583, 29889, 3332, 29918, 2585, 353, 2246, 29918, 2585, 13, 13, 4706, 1583, 29889, 12873, 29956, 353, 4303, 1883, 29874, 29889, 26705, 29889, 12873, 29898, 13, 9651, 27236, 29922, 21935, 29892, 302, 29918, 600, 29873, 29922, 29876, 29918, 600, 29873, 29892, 302, 29918, 29885, 1379, 29922, 29876, 29918, 29885, 1379, 29892, 285, 1195, 29922, 29888, 1195, 29892, 285, 3317, 29922, 29888, 3317, 13, 4706, 13742, 29911, 13, 4706, 396, 313, 29876, 29918, 600, 29873, 849, 29871, 29906, 718, 29871, 29896, 29892, 9232, 29918, 29890, 1144, 29897, 13, 13, 4706, 1583, 29889, 12873, 29956, 353, 302, 29876, 29889, 9329, 29898, 7345, 305, 29889, 29911, 6073, 29898, 1311, 29889, 12873, 29956, 876, 13, 13, 4706, 565, 3889, 911, 29918, 16744, 29901, 13, 9651, 363, 1828, 297, 1583, 29889, 16744, 7295, 13, 18884, 1828, 29889, 276, 339, 2658, 29918, 5105, 353, 7700, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 1125, 13, 4706, 9995, 2080, 29901, 313, 16175, 29918, 2311, 29892, 18196, 29892, 931, 29918, 24530, 29897, 13, 13, 4706, 10604, 29901, 313, 16175, 29918, 2311, 29892, 931, 29918, 24530, 29892, 9232, 29918, 29890, 1144, 29897, 13, 4706, 9995, 13, 13, 4706, 396, 6286, 6683, 307, 1393, 13, 4706, 9232, 29918, 21494, 307, 1393, 353, 4842, 305, 29889, 2922, 16109, 29898, 2080, 29892, 1583, 29889, 12873, 29956, 29897, 13, 13, 4706, 396, 4522, 12873, 6683, 307, 1393, 13, 4706, 565, 1583, 29889, 275, 29918, 1188, 29901, 13, 9651, 1962, 353, 1583, 29889, 13519, 29918, 517, 29918, 2585, 29898, 12873, 29918, 21494, 307, 1393, 29897, 13, 4706, 1683, 29901, 13, 9651, 1962, 353, 9232, 29918, 21494, 307, 1393, 13, 13, 4706, 736, 1962, 13, 13, 1678, 822, 3081, 29918, 517, 29918, 2585, 29898, 1311, 29892, 1881, 1125, 13, 4706, 9995, 21472, 304, 4833, 29892, 445, 740, 338, 278, 282, 3637, 25350, 5314, 310, 13, 4706, 4303, 1883, 29874, 29889, 3221, 29889, 13519, 29918, 517, 29918, 27728, 13, 4706, 9995, 13, 4706, 2143, 29918, 1767, 353, 1583, 29889, 999, 13, 4706, 1480, 29918, 6550, 353, 29871, 29896, 29900, 29889, 29900, 334, 4842, 305, 29889, 1188, 29896, 29900, 29898, 7345, 305, 29889, 695, 1160, 29898, 2080, 29892, 1375, 29922, 1311, 29889, 9103, 29892, 4236, 29922, 9302, 29889, 7192, 876, 13, 4706, 1480, 29918, 6550, 22361, 29871, 29896, 29900, 29889, 29900, 334, 7442, 29889, 1188, 29896, 29900, 29898, 9302, 29889, 27525, 398, 29898, 1311, 29889, 9103, 29892, 2143, 29918, 1767, 876, 13, 13, 4706, 565, 1583, 29889, 3332, 29918, 2585, 338, 451, 6213, 29901, 13, 9651, 565, 1583, 29889, 3332, 29918, 2585, 529, 29871, 29900, 29901, 13, 18884, 12020, 24953, 2392, 703, 3332, 29918, 2585, 1818, 367, 1661, 29899, 22198, 1159, 13, 9651, 1480, 29918, 6550, 353, 4842, 305, 29889, 695, 1160, 29898, 13, 18884, 1480, 29918, 6550, 29892, 1375, 29922, 1188, 29918, 6550, 29889, 3317, 2141, 667, 580, 448, 1583, 29889, 3332, 29918, 2585, 29892, 4236, 29922, 9302, 29889, 7192, 13, 9651, 1723, 13, 13, 4706, 736, 1480, 29918, 6550, 13, 13, 13, 1990, 20724, 855, 374, 5547, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3964, 29892, 5768, 29918, 2103, 29892, 10076, 5547, 29918, 1949, 1125, 13, 4706, 9995, 15063, 10076, 5547, 29889, 13, 4706, 826, 3174, 29901, 13, 3986, 3964, 29901, 938, 29892, 9927, 3412, 607, 304, 5768, 13, 3986, 5768, 29918, 2103, 29901, 938, 29892, 7472, 2920, 310, 10076, 5547, 304, 5768, 13, 3986, 10076, 5547, 29918, 1949, 29901, 938, 29892, 920, 1784, 10076, 5547, 304, 5768, 13, 4706, 9995, 13, 4706, 2428, 29898, 15063, 855, 374, 5547, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 4706, 4974, 3964, 297, 518, 29906, 29892, 29871, 29941, 29962, 29871, 396, 3964, 29871, 29906, 29901, 931, 29936, 3964, 29871, 29941, 29901, 10868, 13, 13, 4706, 1583, 29889, 6229, 353, 3964, 13, 4706, 1583, 29889, 8865, 29918, 2103, 353, 5768, 29918, 2103, 13, 4706, 1583, 29889, 303, 374, 5547, 29918, 1949, 353, 10076, 5547, 29918, 1949, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 1125, 13, 4706, 9995, 2080, 29901, 313, 16175, 29918, 2311, 29892, 18196, 29892, 931, 29918, 24530, 29892, 3005, 29939, 29918, 29890, 1144, 5513, 15945, 13, 13, 4706, 4974, 1881, 29889, 299, 326, 2673, 580, 1275, 29871, 29946, 13, 13, 4706, 565, 1583, 29889, 26495, 338, 7700, 29901, 13, 9651, 736, 1881, 13, 13, 4706, 1683, 29901, 13, 9651, 9853, 29918, 2311, 353, 1881, 29889, 12181, 29961, 29900, 29962, 13, 9651, 3001, 29918, 2103, 353, 1881, 29889, 12181, 29961, 1311, 29889, 6229, 29962, 13, 13, 9651, 363, 302, 297, 3464, 29898, 16175, 29918, 2311, 1125, 13, 18884, 1583, 29889, 9067, 29918, 18337, 29898, 2080, 29961, 29876, 1402, 3001, 29918, 2103, 29897, 13, 13, 9651, 736, 1881, 13, 13, 1678, 822, 4327, 29918, 18337, 29898, 1311, 29892, 321, 29892, 3001, 29918, 2103, 1125, 13, 4706, 9995, 29872, 29901, 313, 305, 12629, 29892, 931, 29918, 24530, 29892, 3005, 29939, 29918, 29890, 1144, 5513, 15945, 13, 13, 4706, 363, 903, 297, 3464, 29898, 1311, 29889, 303, 374, 5547, 29918, 1949, 1125, 13, 9651, 5418, 353, 4842, 305, 29889, 9502, 524, 29898, 677, 29922, 29900, 29892, 1880, 29922, 1311, 29889, 8865, 29918, 2103, 29892, 2159, 7607, 29896, 29892, 876, 29961, 29900, 29962, 13, 9651, 289, 5138, 353, 4842, 305, 29889, 9502, 524, 29898, 677, 29922, 29900, 29892, 1880, 29922, 7827, 29918, 2103, 448, 5418, 29892, 2159, 7607, 29896, 29892, 876, 29961, 29900, 29962, 13, 13, 9651, 565, 1583, 29889, 6229, 1275, 29871, 29906, 29901, 13, 18884, 321, 7503, 29892, 289, 5138, 584, 289, 5138, 718, 5418, 29892, 584, 29962, 353, 29871, 29900, 13, 9651, 25342, 1583, 29889, 6229, 1275, 29871, 29941, 29901, 13, 18884, 321, 7503, 29892, 584, 29892, 289, 5138, 584, 289, 5138, 718, 5418, 29962, 353, 29871, 29900, 13, 13, 13, 1990, 12048, 29909, 688, 358, 362, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 931, 29918, 8865, 29918, 2103, 29892, 931, 29918, 303, 374, 5547, 29918, 1949, 29892, 3005, 29939, 29918, 8865, 29918, 2103, 29892, 3005, 29939, 29918, 303, 374, 5547, 29918, 1949, 13, 268, 1125, 13, 4706, 9995, 10299, 11307, 2527, 362, 29889, 13, 4706, 518, 999, 29962, 529, 5813, 29958, 1696, 529, 5813, 29958, 1696, 529, 5813, 29958, 1696, 529, 5813, 29958, 1696, 529, 5813, 29958, 1696, 529, 5813, 15513, 13, 4706, 322, 529, 5813, 29958, 1696, 29871, 29906, 29900, 29896, 29929, 29889, 12048, 2987, 358, 29901, 319, 2560, 848, 18765, 362, 1158, 13, 4706, 363, 18428, 12032, 19679, 29889, 564, 29990, 440, 758, 2158, 564, 29990, 440, 29901, 29896, 29929, 29900, 29946, 29889, 29900, 29947, 29955, 29955, 29929, 29889, 13, 4706, 826, 3174, 29901, 13, 3986, 931, 29918, 8865, 29918, 2103, 29901, 938, 13, 3986, 931, 29918, 303, 374, 5547, 29918, 1949, 29901, 938, 13, 3986, 3005, 29939, 29918, 8865, 29918, 2103, 29901, 938, 13, 3986, 3005, 29939, 29918, 303, 374, 5547, 29918, 1949, 29901, 938, 13, 4706, 9995, 13, 13, 4706, 2428, 29898, 10299, 29909, 688, 358, 362, 29892, 1583, 467, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 2230, 29918, 26419, 2496, 353, 20724, 855, 374, 5547, 29898, 13, 9651, 3964, 29922, 29906, 29892, 5768, 29918, 2103, 29922, 2230, 29918, 8865, 29918, 2103, 29892, 10076, 5547, 29918, 1949, 29922, 2230, 29918, 303, 374, 5547, 29918, 1949, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 29888, 7971, 29918, 26419, 2496, 353, 20724, 855, 374, 5547, 29898, 13, 9651, 3964, 29922, 29941, 29892, 5768, 29918, 2103, 29922, 29888, 7971, 29918, 8865, 29918, 2103, 29892, 10076, 5547, 29918, 1949, 29922, 29888, 7971, 29918, 303, 374, 5547, 29918, 1949, 13, 4706, 1723, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 1125, 13, 4706, 921, 353, 1583, 29889, 2230, 29918, 26419, 2496, 29898, 2080, 29897, 13, 4706, 921, 353, 1583, 29889, 29888, 7971, 29918, 26419, 2496, 29898, 29916, 29897, 13, 4706, 736, 921, 13, 13, 13, 1753, 2069, 29918, 13148, 29898, 13148, 1125, 13, 1678, 302, 29876, 29889, 2344, 29889, 29916, 18852, 29918, 29590, 23538, 13148, 29889, 7915, 29897, 13, 13, 1678, 565, 756, 5552, 29898, 13148, 29892, 376, 29890, 3173, 29908, 1125, 13, 4706, 565, 7546, 29889, 29890, 3173, 338, 451, 6213, 29901, 13, 9651, 7546, 29889, 29890, 3173, 29889, 1272, 29889, 5589, 23538, 29900, 29889, 29900, 29897, 13, 13, 13, 1753, 2069, 29918, 11197, 29898, 11197, 1125, 13, 1678, 289, 29876, 29889, 29890, 3173, 29889, 1272, 29889, 5589, 23538, 29900, 29889, 29900, 29897, 13, 1678, 289, 29876, 29889, 7915, 29889, 1272, 29889, 5589, 23538, 29896, 29889, 29900, 29897, 13, 13, 13, 1753, 437, 29918, 28084, 786, 29898, 29916, 29892, 6837, 786, 29918, 2892, 1125, 13, 1678, 9995, 29924, 861, 786, 921, 310, 1584, 18111, 313, 29900, 29892, 29871, 29906, 29892, 29871, 29946, 29892, 29757, 411, 921, 310, 7736, 18111, 13, 1678, 313, 29896, 29892, 29871, 29941, 29892, 29871, 29945, 29892, 2023, 467, 13, 1678, 826, 3174, 29901, 13, 418, 921, 29901, 313, 16175, 29918, 2311, 334, 29871, 29906, 29892, 29757, 13, 418, 6837, 786, 29918, 2892, 29901, 313, 16175, 29918, 2311, 334, 29871, 29906, 29892, 29897, 13, 1678, 16969, 29901, 13, 418, 714, 29901, 313, 16175, 29918, 2311, 29892, 29757, 13, 1678, 9995, 13, 1678, 714, 353, 313, 13, 4706, 921, 29961, 29900, 1057, 29906, 1822, 3286, 4220, 29898, 29900, 29892, 448, 29896, 29897, 334, 6837, 786, 29918, 2892, 29961, 29900, 1057, 29906, 29962, 13, 4706, 718, 921, 29961, 29896, 1057, 29906, 1822, 3286, 4220, 29898, 29900, 29892, 448, 29896, 29897, 334, 6837, 786, 29918, 2892, 29961, 29896, 1057, 29906, 29962, 13, 1678, 13742, 3286, 4220, 29898, 29900, 29892, 448, 29896, 29897, 13, 1678, 736, 714, 13, 13, 13, 1753, 20064, 403, 29898, 29916, 29901, 4842, 305, 29889, 29911, 6073, 29892, 11959, 29901, 938, 1125, 13, 1678, 9995, 4074, 3733, 403, 848, 297, 931, 5354, 29889, 910, 338, 1304, 304, 22874, 403, 278, 13, 1678, 10104, 20376, 297, 1623, 13445, 10335, 310, 263, 29696, 29889, 13, 13, 1678, 826, 3174, 29901, 13, 418, 921, 29901, 313, 16175, 29918, 2311, 29892, 931, 29918, 24530, 29892, 4413, 29918, 1949, 29897, 13, 418, 11959, 29901, 938, 29892, 11959, 304, 20064, 403, 13, 1678, 16969, 29901, 13, 418, 24081, 981, 29881, 29901, 313, 16175, 29918, 2311, 29892, 931, 29918, 24530, 334, 11959, 29892, 4413, 29918, 1949, 29897, 13, 1678, 9995, 13, 1678, 313, 16175, 29918, 2311, 29892, 931, 29918, 24530, 29892, 4413, 29918, 1949, 29897, 353, 921, 29889, 12181, 13, 1678, 24081, 981, 29881, 353, 921, 7503, 29892, 584, 29892, 6213, 29892, 584, 1822, 14358, 29898, 29896, 29892, 29871, 29896, 29892, 11959, 29892, 29871, 29896, 29897, 13, 1678, 24081, 981, 29881, 353, 24081, 981, 29881, 29889, 690, 14443, 29898, 16175, 29918, 2311, 29892, 931, 29918, 24530, 334, 11959, 29892, 4413, 29918, 1949, 29897, 13, 1678, 736, 24081, 981, 29881, 13, 13, 13, 1753, 17132, 29918, 2557, 3538, 29918, 4905, 29898, 2557, 3538, 29918, 4905, 29901, 4842, 305, 29889, 29911, 6073, 29892, 16608, 29918, 1949, 29901, 938, 1125, 13, 1678, 9995, 20369, 3515, 3538, 29918, 4905, 304, 278, 1021, 3309, 408, 1881, 16608, 29889, 450, 17132, 995, 13, 1678, 338, 278, 1021, 408, 278, 995, 310, 278, 1833, 3515, 29889, 13, 1678, 826, 3174, 29901, 13, 418, 3515, 3538, 29918, 4905, 29901, 313, 16175, 29918, 2311, 29892, 16608, 29918, 1949, 29892, 4413, 29918, 1949, 29897, 13, 418, 16608, 29918, 1949, 29901, 938, 29892, 1353, 310, 16608, 304, 17132, 13, 1678, 10604, 29879, 29901, 13, 418, 1962, 29901, 313, 16175, 29918, 2311, 29892, 16608, 29918, 1949, 29892, 4413, 29918, 1949, 29897, 13, 1678, 9995, 13, 1678, 17132, 353, 3515, 3538, 29918, 4905, 7503, 29892, 448, 29896, 29901, 29892, 584, 1822, 14358, 29898, 13, 308, 29896, 29892, 16608, 29918, 1949, 448, 3515, 3538, 29918, 4905, 29889, 12181, 29961, 29896, 1402, 29871, 29896, 13, 1678, 1723, 13, 1678, 9995, 20158, 363, 7164, 15945, 29908, 13, 13, 1678, 1962, 353, 4842, 305, 29889, 4117, 3552, 2557, 3538, 29918, 4905, 29892, 17132, 511, 3964, 29922, 29896, 29897, 13, 1678, 9995, 29898, 16175, 29918, 2311, 29892, 16608, 29918, 1949, 29892, 4413, 29918, 1949, 5513, 15945, 13, 13, 1678, 736, 1962, 13, 13, 13, 1990, 1281, 29894, 7445, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 297, 29918, 305, 12629, 29901, 938, 29892, 714, 29918, 305, 12629, 29901, 938, 1125, 13, 4706, 2428, 2141, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 20580, 29896, 353, 302, 29876, 29889, 1168, 29894, 29906, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 262, 29918, 305, 12629, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 305, 12629, 29892, 13, 9651, 8466, 29918, 2311, 7607, 29941, 29892, 29871, 29941, 511, 13, 9651, 380, 2426, 7607, 29896, 29892, 29871, 29896, 511, 13, 9651, 7164, 7607, 29896, 29892, 29871, 29896, 511, 13, 9651, 24003, 29922, 8824, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 20580, 29906, 353, 302, 29876, 29889, 1168, 29894, 29906, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 449, 29918, 305, 12629, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 305, 12629, 29892, 13, 9651, 8466, 29918, 2311, 7607, 29941, 29892, 29871, 29941, 511, 13, 9651, 380, 2426, 7607, 29896, 29892, 29871, 29896, 511, 13, 9651, 7164, 7607, 29896, 29892, 29871, 29896, 511, 13, 9651, 24003, 29922, 8824, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 11197, 29896, 353, 302, 29876, 29889, 23145, 29940, 555, 29906, 29881, 29898, 449, 29918, 305, 12629, 29897, 13, 4706, 1583, 29889, 11197, 29906, 353, 302, 29876, 29889, 23145, 29940, 555, 29906, 29881, 29898, 449, 29918, 305, 12629, 29897, 13, 13, 4706, 1583, 29889, 2344, 29918, 7915, 580, 13, 13, 1678, 822, 2069, 29918, 7915, 29898, 1311, 1125, 13, 4706, 2069, 29918, 13148, 29898, 1311, 29889, 20580, 29896, 29897, 13, 4706, 2069, 29918, 13148, 29898, 1311, 29889, 20580, 29906, 29897, 13, 4706, 2069, 29918, 11197, 29898, 1311, 29889, 11197, 29896, 29897, 13, 4706, 2069, 29918, 11197, 29898, 1311, 29889, 11197, 29906, 29897, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 29908, 1125, 13, 13, 4706, 921, 353, 1881, 13, 4706, 921, 353, 383, 29889, 2674, 29884, 23538, 1311, 29889, 11197, 29896, 29898, 1311, 29889, 20580, 29896, 29898, 29916, 4961, 13, 4706, 921, 353, 383, 29889, 2674, 29884, 23538, 1311, 29889, 11197, 29906, 29898, 1311, 29889, 20580, 29906, 29898, 29916, 4961, 13, 4706, 565, 11565, 29918, 1853, 1275, 376, 3317, 1115, 13, 9651, 921, 353, 383, 29889, 3317, 29918, 10109, 29906, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 10109, 29918, 2311, 29897, 13, 4706, 25342, 11565, 29918, 1853, 1275, 376, 485, 29887, 1115, 13, 9651, 921, 353, 383, 29889, 485, 29887, 29918, 10109, 29906, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 10109, 29918, 2311, 29897, 13, 4706, 25342, 11565, 29918, 1853, 1275, 376, 485, 29887, 29974, 3317, 1115, 13, 9651, 921, 29896, 353, 383, 29889, 485, 29887, 29918, 10109, 29906, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 10109, 29918, 2311, 29897, 13, 9651, 921, 29906, 353, 383, 29889, 3317, 29918, 10109, 29906, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 10109, 29918, 2311, 29897, 13, 9651, 921, 353, 921, 29896, 718, 921, 29906, 13, 4706, 1683, 29901, 13, 9651, 12020, 8960, 703, 797, 15728, 2980, 29991, 1159, 13, 13, 4706, 736, 921, 13, 13, 13, 1990, 6212, 7445, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 297, 29918, 22100, 29901, 938, 29892, 714, 29918, 22100, 29901, 938, 29892, 26229, 543, 10660, 613, 10430, 29922, 29896, 29889, 29900, 13, 268, 1125, 13, 4706, 2428, 2141, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 11236, 362, 353, 26229, 13, 4706, 1583, 29889, 12863, 1535, 353, 10430, 13, 4706, 1583, 29889, 1131, 353, 302, 29876, 29889, 1168, 29894, 29896, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 262, 29918, 22100, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 22100, 29892, 13, 9651, 8466, 29918, 2311, 29922, 29896, 29892, 13, 9651, 380, 2426, 29922, 29896, 29892, 13, 9651, 7164, 29922, 29900, 29892, 13, 9651, 24003, 29922, 5574, 29892, 13, 4706, 1723, 13, 4706, 1583, 29889, 16398, 353, 302, 29876, 29889, 1168, 29894, 29896, 29881, 29898, 13, 9651, 297, 29918, 305, 12629, 29922, 262, 29918, 22100, 29892, 13, 9651, 714, 29918, 305, 12629, 29922, 449, 29918, 22100, 29892, 13, 9651, 8466, 29918, 2311, 29922, 29896, 29892, 13, 9651, 380, 2426, 29922, 29896, 29892, 13, 9651, 7164, 29922, 29900, 29892, 13, 9651, 24003, 29922, 5574, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 11197, 29918, 1131, 353, 302, 29876, 29889, 23145, 29940, 555, 29896, 29881, 29898, 449, 29918, 22100, 29897, 13, 4706, 1583, 29889, 2344, 29918, 705, 5861, 580, 13, 13, 1678, 822, 2069, 29918, 705, 5861, 29898, 1311, 1125, 13, 4706, 2069, 29918, 13148, 29898, 1311, 29889, 1131, 29897, 13, 4706, 2069, 29918, 13148, 29898, 1311, 29889, 16398, 29897, 13, 4706, 2069, 29918, 11197, 29898, 1311, 29889, 11197, 29918, 1131, 29897, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 921, 1125, 13, 4706, 396, 921, 29901, 313, 29876, 29918, 27736, 29892, 302, 29918, 262, 29892, 302, 29918, 2230, 29897, 13, 4706, 6056, 29918, 1131, 353, 4842, 305, 29889, 2695, 3317, 29898, 7345, 305, 29889, 695, 1160, 29898, 1311, 29889, 1131, 29898, 29916, 511, 448, 29896, 29900, 29892, 29871, 29896, 29900, 511, 3964, 10457, 29896, 29897, 13, 4706, 3711, 353, 1583, 29889, 5464, 10660, 29918, 9067, 29898, 1311, 29889, 16398, 29898, 29916, 876, 13, 4706, 921, 353, 4842, 305, 29889, 2083, 29898, 12324, 29918, 1131, 334, 3711, 29892, 3964, 29922, 29906, 29897, 13, 4706, 736, 921, 29892, 6056, 29918, 1131, 29892, 3711, 13, 13, 1678, 822, 1661, 10660, 29918, 9067, 29898, 1311, 29892, 921, 1125, 13, 4706, 565, 1583, 29889, 11236, 362, 1275, 376, 10660, 1115, 13, 9651, 736, 921, 13, 4706, 25342, 1583, 29889, 11236, 362, 1275, 376, 18816, 29885, 3398, 1115, 13, 9651, 736, 4842, 305, 29889, 18816, 29885, 3398, 29898, 29916, 29897, 13, 13, 13, 1990, 349, 2190, 29940, 29879, 29907, 10262, 29896, 29946, 4165, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 4559, 29918, 10492, 29901, 938, 29892, 13, 4706, 3474, 29918, 2311, 29901, 938, 29892, 13, 4706, 8171, 29918, 2311, 29901, 938, 29892, 13, 4706, 9232, 29918, 29890, 1144, 29901, 938, 29892, 13, 4706, 285, 1195, 29901, 938, 29892, 13, 4706, 285, 3317, 29901, 938, 29892, 13, 4706, 4413, 29918, 1949, 29901, 938, 29892, 13, 268, 1125, 13, 4706, 2428, 2141, 1649, 2344, 1649, 580, 13, 13, 4706, 3474, 353, 376, 29882, 812, 29908, 13, 4706, 4818, 353, 5852, 13, 4706, 17132, 29918, 8513, 353, 376, 13191, 29908, 13, 4706, 2143, 353, 29871, 29896, 29889, 29900, 13, 4706, 626, 262, 353, 29871, 29896, 29872, 29899, 29896, 29900, 13, 4706, 2246, 29918, 2585, 353, 6213, 13, 4706, 1583, 29889, 1639, 3733, 403, 29918, 3605, 601, 353, 29871, 29941, 29906, 29871, 396, 9943, 11249, 29881, 11959, 13, 13, 4706, 396, 27738, 307, 1393, 6597, 272, 13, 4706, 1583, 29889, 21494, 307, 1393, 29918, 21111, 272, 353, 27738, 307, 1393, 29898, 13, 9651, 302, 29918, 600, 29873, 29922, 7165, 29918, 2311, 29892, 13, 9651, 8171, 29918, 2848, 29922, 29882, 459, 29918, 2311, 29892, 13, 9651, 5401, 29918, 2848, 29922, 7165, 29918, 2311, 29892, 13, 9651, 3474, 29922, 7165, 29892, 13, 9651, 4818, 29922, 5064, 29892, 13, 9651, 17132, 29918, 8513, 29922, 8305, 29918, 8513, 29892, 13, 9651, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 4706, 1723, 13, 13, 4706, 396, 4522, 12873, 4682, 6597, 272, 13, 4706, 1583, 29889, 1188, 12873, 29918, 21111, 272, 353, 4522, 12873, 5072, 29933, 804, 29898, 13, 9651, 27236, 29922, 11249, 29918, 10492, 29892, 13, 9651, 302, 29918, 600, 29873, 29922, 7165, 29918, 2311, 29892, 13, 9651, 302, 29918, 29885, 1379, 29922, 12873, 29918, 29890, 1144, 29892, 13, 9651, 285, 1195, 29922, 29888, 1195, 29892, 13, 9651, 285, 3317, 29922, 29888, 3317, 29892, 13, 9651, 2143, 29922, 999, 29892, 13, 9651, 626, 262, 29922, 9103, 29892, 13, 9651, 2246, 29918, 2585, 29922, 3332, 29918, 2585, 29892, 13, 9651, 3889, 911, 29918, 16744, 29922, 5574, 29892, 13, 4706, 1723, 13, 13, 4706, 396, 12048, 18765, 261, 13, 4706, 1583, 29889, 6550, 29918, 2987, 358, 261, 353, 12048, 29909, 688, 358, 362, 29898, 13, 9651, 931, 29918, 8865, 29918, 2103, 29922, 29953, 29946, 29892, 13, 9651, 931, 29918, 303, 374, 5547, 29918, 1949, 29922, 29906, 29892, 13, 9651, 3005, 29939, 29918, 8865, 29918, 2103, 29922, 29947, 29892, 13, 9651, 3005, 29939, 29918, 303, 374, 5547, 29918, 1949, 29922, 29906, 29892, 13, 4706, 1723, 13, 13, 4706, 1583, 29889, 11197, 29900, 353, 302, 29876, 29889, 23145, 29940, 555, 29906, 29881, 29898, 12873, 29918, 29890, 1144, 29897, 13, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29896, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29896, 29892, 714, 29918, 305, 12629, 29922, 29953, 29946, 29897, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29906, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29953, 29946, 29892, 714, 29918, 305, 12629, 29922, 29896, 29906, 29947, 29897, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29941, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29896, 29906, 29947, 29892, 714, 29918, 305, 12629, 29922, 29906, 29945, 29953, 29897, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29946, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29906, 29945, 29953, 29892, 714, 29918, 305, 12629, 29922, 29945, 29896, 29906, 29897, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29945, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29945, 29896, 29906, 29892, 714, 29918, 305, 12629, 29922, 29896, 29900, 29906, 29946, 29897, 13, 4706, 1583, 29889, 20580, 29918, 1271, 29953, 353, 1281, 29894, 7445, 29898, 262, 29918, 305, 12629, 29922, 29896, 29900, 29906, 29946, 29892, 714, 29918, 305, 12629, 29922, 29906, 29900, 29946, 29947, 29897, 13, 13, 4706, 1583, 29889, 13801, 29896, 353, 302, 29876, 29889, 12697, 29898, 29906, 29900, 29946, 29947, 29892, 29871, 29906, 29900, 29946, 29947, 29892, 24003, 29922, 5574, 29897, 13, 4706, 1583, 29889, 1131, 29918, 1271, 353, 6212, 7445, 29898, 29906, 29900, 29946, 29947, 29892, 4413, 29918, 1949, 29892, 26229, 543, 18816, 29885, 3398, 1159, 13, 13, 4706, 1583, 29889, 2344, 29918, 7915, 580, 13, 13, 1678, 822, 2069, 29918, 7915, 29898, 1311, 1125, 13, 4706, 2069, 29918, 11197, 29898, 1311, 29889, 11197, 29900, 29897, 13, 4706, 2069, 29918, 13148, 29898, 1311, 29889, 13801, 29896, 29897, 13, 13, 1678, 822, 274, 15755, 29918, 14394, 29918, 21111, 272, 29898, 1311, 29892, 921, 1125, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29896, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29906, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29941, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29946, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29945, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29906, 29892, 29871, 29906, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 1583, 29889, 20580, 29918, 1271, 29953, 29898, 29916, 29892, 11565, 29918, 2311, 7607, 29896, 29892, 29871, 29896, 511, 11565, 29918, 1853, 543, 485, 29887, 1159, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29906, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 736, 921, 13, 13, 1678, 822, 758, 5014, 29898, 1311, 29892, 1881, 29892, 6837, 786, 29918, 2892, 29922, 8516, 1125, 13, 4706, 396, 260, 29896, 353, 931, 29889, 2230, 580, 13, 4706, 921, 353, 1583, 29889, 21494, 307, 1393, 29918, 21111, 272, 29898, 2080, 29897, 29871, 396, 313, 16175, 29918, 2311, 29892, 29871, 29896, 29892, 931, 29918, 24530, 29892, 3005, 29939, 29918, 29890, 1144, 29897, 13, 4706, 921, 353, 1583, 29889, 1188, 12873, 29918, 21111, 272, 29898, 29916, 29897, 29871, 396, 313, 16175, 29918, 2311, 29892, 29871, 29896, 29892, 931, 29918, 24530, 29892, 9232, 29918, 29890, 1144, 29897, 13, 13, 4706, 16608, 29918, 1949, 353, 921, 29889, 12181, 29961, 29906, 29962, 13, 13, 4706, 921, 353, 921, 29889, 3286, 4220, 29898, 29896, 29892, 29871, 29941, 29897, 13, 4706, 921, 353, 1583, 29889, 11197, 29900, 29898, 29916, 29897, 13, 4706, 921, 353, 921, 29889, 3286, 4220, 29898, 29896, 29892, 29871, 29941, 29897, 13, 13, 4706, 565, 1583, 29889, 26495, 29901, 13, 9651, 921, 353, 1583, 29889, 6550, 29918, 2987, 358, 261, 29898, 29916, 29897, 13, 13, 4706, 396, 23478, 786, 373, 6683, 307, 1393, 13, 4706, 565, 1583, 29889, 26495, 322, 6837, 786, 29918, 2892, 338, 451, 6213, 29901, 13, 9651, 921, 353, 437, 29918, 28084, 786, 29898, 29916, 29892, 6837, 786, 29918, 2892, 29897, 13, 4706, 736, 921, 29892, 16608, 29918, 1949, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 29892, 6837, 786, 29918, 2892, 29922, 8516, 1125, 13, 4706, 9995, 13, 4706, 10567, 29901, 313, 16175, 29918, 2311, 29892, 848, 29918, 2848, 5513, 15945, 13, 4706, 921, 29892, 16608, 29918, 1949, 353, 1583, 29889, 1457, 5014, 29898, 2080, 29892, 6837, 786, 29918, 2892, 29922, 28084, 786, 29918, 2892, 29897, 13, 13, 4706, 396, 10604, 8267, 313, 16175, 2159, 29892, 18196, 29892, 931, 29892, 10868, 29897, 13, 4706, 921, 353, 1583, 29889, 29883, 15755, 29918, 14394, 29918, 21111, 272, 29898, 29916, 29897, 13, 13, 4706, 396, 319, 26127, 403, 297, 10868, 9685, 13, 4706, 921, 353, 4842, 305, 29889, 12676, 29898, 29916, 29892, 3964, 29922, 29941, 29897, 13, 13, 4706, 921, 29896, 353, 383, 29889, 3317, 29918, 10109, 29896, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 29941, 29892, 380, 2426, 29922, 29896, 29892, 7164, 29922, 29896, 29897, 13, 4706, 921, 29906, 353, 383, 29889, 485, 29887, 29918, 10109, 29896, 29881, 29898, 29916, 29892, 8466, 29918, 2311, 29922, 29941, 29892, 380, 2426, 29922, 29896, 29892, 7164, 29922, 29896, 29897, 13, 4706, 921, 353, 921, 29896, 718, 921, 29906, 13, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29945, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 4706, 921, 353, 921, 29889, 3286, 4220, 29898, 29896, 29892, 29871, 29906, 29897, 13, 4706, 921, 353, 383, 29889, 2674, 29884, 23538, 1311, 29889, 13801, 29896, 29898, 29916, 876, 13, 4706, 921, 353, 921, 29889, 3286, 4220, 29898, 29896, 29892, 29871, 29906, 29897, 13, 4706, 921, 353, 383, 29889, 8865, 449, 29898, 29916, 29892, 282, 29922, 29900, 29889, 29945, 29892, 6694, 29922, 1311, 29889, 26495, 29897, 13, 13, 4706, 313, 24049, 3538, 29918, 4905, 29892, 6056, 29918, 1131, 29892, 10768, 3538, 29918, 4905, 29897, 353, 1583, 29889, 1131, 29918, 1271, 29898, 29916, 29897, 13, 4706, 10768, 3538, 29918, 4905, 353, 10768, 3538, 29918, 4905, 29889, 3286, 4220, 29898, 29896, 29892, 29871, 29906, 29897, 13, 13, 4706, 396, 3617, 3515, 3538, 1962, 13, 4706, 3515, 3538, 29918, 4905, 353, 20064, 403, 29898, 28192, 3538, 29918, 4905, 29892, 1583, 29889, 1639, 3733, 403, 29918, 3605, 601, 29897, 13, 4706, 3515, 3538, 29918, 4905, 353, 17132, 29918, 2557, 3538, 29918, 4905, 29898, 2557, 3538, 29918, 4905, 29892, 16608, 29918, 1949, 29897, 13, 13, 4706, 1962, 29918, 8977, 353, 426, 13, 9651, 376, 2557, 3538, 29918, 4905, 1115, 3515, 3538, 29918, 4905, 29892, 13, 9651, 376, 24049, 3538, 29918, 4905, 1115, 20102, 3538, 29918, 4905, 29892, 13, 4706, 500, 13, 13, 4706, 736, 1962, 29918, 8977, 13, 13, 13, 1990, 349, 2190, 29940, 29879, 16390, 24541, 29898, 1272, 29889, 16390, 24541, 1125, 13, 1678, 396, 822, 4770, 2344, 12035, 1311, 29892, 934, 29918, 1761, 29901, 2391, 29961, 1293, 29961, 710, 20526, 10742, 689, 29918, 9067, 29879, 29922, 8516, 29892, 3785, 29922, 29945, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 4489, 29892, 1418, 328, 381, 29892, 10742, 689, 29918, 9067, 29879, 29922, 8516, 29892, 3785, 29922, 29945, 29892, 4559, 29918, 10492, 29922, 29941, 29906, 29900, 29900, 29900, 13, 268, 1125, 13, 4706, 396, 1583, 29889, 1445, 29918, 1761, 353, 934, 29918, 1761, 29871, 396, 1051, 310, 1051, 29901, 518, 1445, 29918, 2084, 29892, 18230, 1823, 29918, 401, 29962, 13, 4706, 1583, 29889, 2176, 353, 4489, 13, 4706, 1583, 29889, 4130, 328, 381, 353, 1418, 328, 381, 13, 4706, 1583, 29889, 27766, 689, 29918, 9067, 29879, 353, 10742, 689, 29918, 9067, 29879, 13, 4706, 1583, 29889, 19145, 353, 3785, 13, 4706, 1583, 29889, 11249, 29918, 10492, 353, 4559, 29918, 10492, 13, 13, 1678, 822, 4770, 2435, 12035, 1311, 1125, 13, 4706, 736, 7431, 29898, 1311, 29889, 2176, 29897, 13, 13, 1678, 822, 4770, 657, 667, 12035, 1311, 29892, 22645, 29901, 938, 1125, 13, 4706, 4559, 353, 1583, 29889, 2176, 29889, 309, 542, 29961, 13140, 29892, 584, 29962, 13, 4706, 396, 281, 485, 29918, 978, 353, 4559, 3366, 690, 981, 29881, 29918, 9507, 3108, 13, 4706, 281, 485, 29918, 978, 353, 4559, 3366, 9507, 3108, 13, 4706, 396, 281, 485, 29918, 978, 353, 281, 485, 29918, 978, 29889, 6506, 703, 1526, 29941, 613, 376, 29893, 485, 1159, 13, 4706, 281, 485, 29918, 978, 353, 281, 485, 29918, 978, 29889, 6506, 703, 1526, 29941, 613, 376, 29876, 2272, 1159, 13, 4706, 281, 485, 29918, 978, 353, 281, 485, 29918, 978, 29889, 6506, 703, 29893, 485, 613, 376, 29876, 2272, 1159, 13, 4706, 18230, 1823, 29918, 401, 353, 4559, 3366, 774, 1823, 29918, 401, 3108, 13, 4706, 14385, 353, 4559, 3366, 19708, 3108, 13, 4706, 281, 485, 29918, 2084, 353, 1583, 29889, 4130, 328, 381, 847, 18230, 1823, 29918, 401, 847, 281, 485, 29918, 978, 13, 4706, 396, 343, 29892, 27236, 353, 18668, 29889, 949, 29898, 1311, 29889, 4130, 328, 381, 847, 18230, 1823, 29918, 401, 847, 281, 485, 29918, 978, 29897, 13, 4706, 11828, 29918, 2848, 353, 1583, 29889, 11249, 29918, 10492, 334, 1583, 29889, 19145, 13, 4706, 396, 281, 485, 29918, 2084, 29892, 18230, 1823, 29918, 401, 353, 1583, 29889, 1445, 29918, 1761, 29961, 13140, 29962, 13, 13, 4706, 396, 343, 29892, 27236, 353, 18668, 29889, 949, 29898, 29893, 485, 29918, 2084, 29897, 13, 4706, 343, 353, 7442, 29889, 1359, 29898, 29893, 485, 29918, 2084, 29897, 13, 13, 4706, 565, 1583, 29889, 27766, 689, 29918, 9067, 29879, 29901, 13, 9651, 343, 353, 1583, 29889, 27766, 689, 29918, 9067, 29879, 29898, 29891, 29897, 13, 4706, 1683, 29901, 13, 9651, 7431, 29918, 29891, 353, 7431, 29898, 29891, 29897, 13, 9651, 11828, 29918, 2848, 353, 1583, 29889, 11249, 29918, 10492, 334, 1583, 29889, 19145, 13, 9651, 565, 7431, 29918, 29891, 529, 11828, 29918, 2848, 29901, 13, 18884, 716, 29918, 29891, 353, 7442, 29889, 3298, 359, 29898, 15987, 573, 29918, 2848, 29892, 26688, 29922, 29891, 29889, 29881, 1853, 29897, 13, 18884, 1369, 353, 7442, 29889, 8172, 29889, 9502, 524, 29898, 15987, 573, 29918, 2848, 448, 7431, 29918, 29891, 29897, 13, 18884, 716, 29918, 29891, 29961, 2962, 584, 1369, 718, 7431, 29918, 29891, 29962, 353, 343, 13, 18884, 343, 353, 716, 29918, 29891, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 9651, 25342, 7431, 29918, 29891, 1405, 11828, 29918, 2848, 29901, 13, 18884, 1369, 353, 7442, 29889, 8172, 29889, 9502, 524, 29898, 2435, 29918, 29891, 448, 11828, 29918, 2848, 29897, 13, 18884, 343, 353, 343, 29961, 2962, 584, 1369, 718, 11828, 29918, 2848, 1822, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 9651, 1683, 29901, 13, 18884, 343, 353, 343, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 13, 4706, 11073, 353, 7442, 29889, 3298, 359, 29898, 2435, 29898, 13239, 29889, 29933, 8193, 29928, 29918, 16524, 511, 26688, 543, 29888, 1159, 13, 4706, 11073, 29961, 13239, 29889, 29933, 8193, 29928, 29918, 16524, 29961, 774, 1823, 29918, 401, 5262, 353, 29871, 29896, 13, 13, 4706, 736, 8853, 27766, 689, 1115, 343, 29892, 376, 5182, 29879, 1115, 11073, 29913, 13, 13, 13, 1990, 349, 2190, 29940, 29879, 29931, 2209, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 2428, 2141, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 29890, 346, 353, 302, 29876, 29889, 29933, 4741, 29931, 2209, 580, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 1881, 29892, 3646, 1125, 13, 4706, 1881, 29918, 353, 1881, 3366, 24049, 3538, 29918, 4905, 3108, 13, 4706, 1881, 29918, 353, 4842, 305, 29889, 3062, 29898, 7345, 305, 29889, 275, 13707, 29898, 2080, 29918, 511, 4842, 305, 29889, 3298, 359, 29918, 4561, 29898, 2080, 29918, 511, 1881, 19925, 13, 4706, 1881, 29918, 353, 4842, 305, 29889, 3062, 29898, 7345, 305, 29889, 275, 7192, 29898, 2080, 29918, 511, 4842, 305, 29889, 3298, 359, 29918, 4561, 29898, 2080, 29918, 511, 1881, 19925, 13, 13, 4706, 3646, 353, 3646, 29889, 7411, 580, 13, 13, 4706, 736, 1583, 29889, 29890, 346, 29898, 2080, 3383, 3646, 29897, 13, 13, 13, 1990, 383, 29896, 10717, 29898, 10717, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 1881, 29918, 1989, 29901, 851, 353, 376, 5182, 29879, 613, 13, 4706, 1962, 29918, 1989, 29901, 851, 353, 376, 1188, 1169, 613, 13, 4706, 1904, 29918, 4905, 29918, 1989, 29901, 851, 353, 376, 24049, 3538, 29918, 4905, 613, 13, 4706, 10944, 29901, 851, 353, 376, 29888, 29896, 613, 13, 268, 1125, 13, 4706, 2428, 2141, 1649, 2344, 12035, 10717, 7514, 29889, 10095, 2200, 29897, 13, 13, 4706, 1583, 29889, 2080, 29918, 1989, 353, 1881, 29918, 1989, 13, 4706, 1583, 29889, 4905, 29918, 1989, 353, 1962, 29918, 1989, 13, 4706, 1583, 29889, 4299, 29918, 4905, 29918, 1989, 353, 1904, 29918, 4905, 29918, 1989, 13, 4706, 1583, 29889, 13506, 353, 10944, 13, 13, 1678, 822, 373, 29918, 12657, 29918, 2962, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 1583, 29889, 11965, 2463, 29901, 2391, 29961, 9302, 29889, 299, 2378, 29962, 353, 5159, 13, 4706, 1583, 29889, 5182, 29901, 2391, 29961, 9302, 29889, 299, 2378, 29962, 353, 5159, 13, 13, 1678, 822, 373, 29918, 16175, 29918, 355, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 260, 1191, 353, 2106, 29889, 2080, 29961, 1311, 29889, 2080, 29918, 1989, 1822, 4801, 496, 2141, 21970, 2141, 23749, 580, 13, 4706, 714, 353, 2106, 29889, 4905, 29961, 1311, 29889, 4905, 29918, 1989, 29962, 13, 13, 4706, 20102, 3538, 29918, 4905, 353, 714, 29961, 1311, 29889, 4299, 29918, 4905, 29918, 1989, 1822, 4801, 496, 2141, 21970, 2141, 23749, 580, 13, 13, 4706, 1583, 29889, 11965, 2463, 29889, 4397, 29898, 24049, 3538, 29918, 4905, 29897, 13, 4706, 1583, 29889, 5182, 29889, 4397, 29898, 29873, 1191, 29897, 13, 13, 4706, 343, 29918, 11965, 353, 20102, 3538, 29918, 4905, 29889, 1191, 3317, 29898, 8990, 29922, 29896, 29897, 13, 4706, 343, 29918, 3009, 353, 260, 1191, 29889, 1191, 3317, 29898, 8990, 29922, 29896, 29897, 13, 13, 4706, 8158, 353, 285, 29896, 29918, 13628, 29898, 29891, 29918, 3009, 29892, 343, 29918, 11965, 29892, 6588, 543, 25254, 1159, 13, 4706, 2106, 29889, 16175, 29918, 2527, 10817, 29961, 1311, 29889, 13506, 29962, 353, 8158, 13, 13, 1678, 822, 373, 29918, 12657, 29918, 355, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 343, 29918, 11965, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 1311, 29889, 11965, 2463, 29892, 9685, 29922, 29900, 467, 1191, 3317, 29898, 8990, 29922, 29896, 29897, 13, 4706, 343, 29918, 3009, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 1311, 29889, 5182, 29892, 9685, 29922, 29900, 467, 1191, 3317, 29898, 8990, 29922, 29896, 29897, 13, 4706, 8158, 353, 285, 29896, 29918, 13628, 29898, 29891, 29918, 3009, 29892, 343, 29918, 11965, 29892, 6588, 543, 25254, 1159, 13, 4706, 2106, 29889, 12657, 29918, 2527, 10817, 29961, 1311, 29889, 13506, 29962, 353, 8158, 13, 4706, 565, 2106, 29889, 275, 29918, 3084, 29918, 12657, 29901, 13, 9651, 2106, 29889, 1022, 2878, 29918, 2527, 10817, 29961, 3859, 29889, 3084, 29918, 12657, 718, 11119, 1022, 2878, 27508, 718, 1583, 29889, 13506, 29962, 353, 8158, 13, 4706, 1683, 29901, 13, 9651, 2106, 29889, 1022, 2878, 29918, 2527, 10817, 3366, 14968, 29918, 1022, 2878, 27508, 718, 1583, 29889, 13506, 29962, 353, 8158, 13, 13, 13, 1990, 286, 3301, 10717, 29898, 10717, 1125, 13, 1678, 822, 4770, 2344, 12035, 13, 4706, 1583, 29892, 13, 4706, 1881, 29918, 1989, 29901, 851, 353, 376, 5182, 29879, 613, 13, 4706, 1962, 29918, 1989, 29901, 851, 353, 376, 1188, 1169, 613, 13, 4706, 1904, 29918, 4905, 29918, 1989, 29901, 851, 353, 376, 24049, 3538, 29918, 4905, 613, 13, 4706, 10944, 29901, 851, 353, 376, 29885, 3301, 613, 13, 268, 1125, 13, 4706, 2428, 2141, 1649, 2344, 12035, 10717, 7514, 29889, 10095, 2200, 29897, 13, 4706, 1583, 29889, 2080, 29918, 1989, 353, 1881, 29918, 1989, 13, 4706, 1583, 29889, 4905, 29918, 1989, 353, 1962, 29918, 1989, 13, 4706, 1583, 29889, 4299, 29918, 4905, 29918, 1989, 353, 1904, 29918, 4905, 29918, 1989, 13, 4706, 1583, 29889, 13506, 353, 10944, 13, 13, 1678, 822, 373, 29918, 12657, 29918, 2962, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 1583, 29889, 11965, 2463, 29901, 2391, 29961, 9302, 29889, 299, 2378, 29962, 353, 5159, 13, 4706, 1583, 29889, 5182, 29901, 2391, 29961, 9302, 29889, 299, 2378, 29962, 353, 5159, 13, 13, 1678, 822, 373, 29918, 16175, 29918, 355, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 260, 1191, 353, 2106, 29889, 2080, 29961, 1311, 29889, 2080, 29918, 1989, 1822, 4801, 496, 2141, 21970, 2141, 23749, 580, 13, 4706, 714, 353, 2106, 29889, 4905, 29961, 1311, 29889, 4905, 29918, 1989, 29962, 13, 13, 4706, 20102, 3538, 29918, 4905, 353, 714, 29961, 1311, 29889, 4299, 29918, 4905, 29918, 1989, 1822, 4801, 496, 2141, 21970, 2141, 23749, 580, 13, 13, 4706, 1583, 29889, 11965, 2463, 29889, 4397, 29898, 24049, 3538, 29918, 4905, 29897, 13, 4706, 1583, 29889, 5182, 29889, 4397, 29898, 29873, 1191, 29897, 13, 13, 4706, 8158, 353, 6588, 29918, 17990, 2459, 29918, 13628, 29898, 29873, 1191, 29892, 20102, 3538, 29918, 4905, 29892, 6588, 29922, 8516, 29897, 13, 4706, 8158, 353, 7442, 29889, 13707, 29918, 517, 29918, 1949, 29898, 13628, 467, 12676, 580, 13, 4706, 2106, 29889, 16175, 29918, 2527, 10817, 29961, 1311, 29889, 13506, 29962, 353, 8158, 13, 13, 1678, 822, 373, 29918, 12657, 29918, 355, 29898, 1311, 29892, 2106, 29901, 4306, 1125, 13, 4706, 343, 29918, 11965, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 1311, 29889, 11965, 2463, 29892, 9685, 29922, 29900, 29897, 13, 4706, 343, 29918, 3009, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 1311, 29889, 5182, 29892, 9685, 29922, 29900, 29897, 13, 4706, 8158, 353, 6588, 29918, 17990, 2459, 29918, 13628, 29898, 29891, 29918, 3009, 29892, 343, 29918, 11965, 29892, 6588, 29922, 8516, 29897, 13, 4706, 8158, 353, 7442, 29889, 13707, 29918, 517, 29918, 1949, 29898, 13628, 467, 12676, 580, 13, 4706, 2106, 29889, 12657, 29918, 2527, 10817, 29961, 1311, 29889, 13506, 29962, 353, 8158, 13, 4706, 565, 2106, 29889, 275, 29918, 3084, 29918, 12657, 29901, 13, 9651, 2106, 29889, 1022, 2878, 29918, 2527, 10817, 29961, 3859, 29889, 3084, 29918, 12657, 718, 11119, 1022, 2878, 27508, 718, 1583, 29889, 13506, 29962, 353, 8158, 13, 4706, 1683, 29901, 13, 9651, 2106, 29889, 1022, 2878, 29918, 2527, 10817, 3366, 14968, 29918, 1022, 2878, 27508, 718, 1583, 29889, 13506, 29962, 353, 8158, 13, 13, 13, 1753, 679, 29918, 4299, 29898, 2917, 29901, 9657, 29892, 18177, 29918, 2084, 29922, 8516, 1125, 13, 1678, 1904, 353, 349, 2190, 29940, 29879, 29907, 10262, 29896, 29946, 4165, 29898, 1068, 2917, 29897, 13, 1678, 1904, 29889, 1131, 29918, 1271, 353, 6212, 7445, 29898, 29906, 29900, 29946, 29947, 29892, 29871, 29906, 29953, 29946, 29892, 26229, 543, 18816, 29885, 3398, 1159, 13, 1678, 565, 18177, 29918, 2084, 29901, 13, 4706, 1423, 3149, 353, 4842, 305, 29889, 1359, 29898, 705, 5861, 29918, 2084, 29897, 13, 4706, 2106, 29918, 8977, 353, 1423, 3149, 3366, 4299, 29918, 3859, 29918, 8977, 3108, 13, 4706, 716, 29918, 3859, 29918, 8977, 353, 8170, 287, 21533, 580, 13, 4706, 363, 413, 29892, 325, 297, 2106, 29918, 8977, 29889, 7076, 7295, 13, 9651, 1024, 353, 413, 13, 9651, 565, 413, 7503, 29955, 29962, 1275, 376, 5453, 29889, 1115, 13, 18884, 1024, 353, 413, 29961, 29955, 17531, 29871, 396, 3349, 421, 5453, 17580, 13, 9651, 716, 29918, 3859, 29918, 8977, 29961, 978, 29962, 353, 325, 13, 4706, 1904, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 1482, 29918, 3859, 29918, 8977, 29897, 13, 1678, 1683, 29901, 13, 4706, 1904, 29889, 1131, 29918, 1271, 29889, 2344, 29918, 705, 5861, 580, 13, 1678, 396, 4742, 353, 4842, 305, 29889, 10141, 703, 29883, 6191, 1159, 13, 1678, 396, 1904, 29889, 517, 29898, 10141, 29897, 13, 1678, 396, 1904, 29889, 14513, 580, 13, 1678, 736, 1904, 13, 2 ]
src/pykeen/datasets/nations/__init__.py
cthoyt/pykeen
1
133774
<gh_stars>1-10 # -*- coding: utf-8 -*- """Get triples from the Nations dataset.""" import os from ..base import PathDataset from ..literal_base import NumericPathDataset __all__ = [ 'NATIONS_TRAIN_PATH', 'NATIONS_TEST_PATH', 'NATIONS_VALIDATE_PATH', 'NATIONS_LITERALS_PATH', 'Nations', 'NationsLiteral', ] HERE = os.path.abspath(os.path.dirname(__file__)) NATIONS_TRAIN_PATH = os.path.join(HERE, 'train.txt') NATIONS_TEST_PATH = os.path.join(HERE, 'test.txt') NATIONS_VALIDATE_PATH = os.path.join(HERE, 'valid.txt') NATIONS_LITERALS_PATH = os.path.join(HERE, 'literals.txt') class Nations(PathDataset): """The Nations dataset.""" def __init__(self, **kwargs): super().__init__( training_path=NATIONS_TRAIN_PATH, testing_path=NATIONS_TEST_PATH, validation_path=NATIONS_VALIDATE_PATH, **kwargs, ) class NationsLiteral(NumericPathDataset): """The Nations dataset with literals.""" def __init__(self, **kwargs): super().__init__( training_path=NATIONS_TRAIN_PATH, testing_path=NATIONS_TEST_PATH, validation_path=NATIONS_VALIDATE_PATH, literals_path=NATIONS_LITERALS_PATH, **kwargs, )
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 2577, 3367, 2701, 515, 278, 18269, 8783, 1213, 15945, 13, 13, 5215, 2897, 13, 13, 3166, 6317, 3188, 1053, 10802, 16390, 24541, 13, 3166, 6317, 20889, 284, 29918, 3188, 1053, 405, 25099, 2605, 16390, 24541, 13, 13, 1649, 497, 1649, 353, 518, 13, 1678, 525, 29940, 8098, 29903, 29918, 29911, 4717, 1177, 29918, 10145, 742, 13, 1678, 525, 29940, 8098, 29903, 29918, 18267, 29918, 10145, 742, 13, 1678, 525, 29940, 8098, 29903, 29918, 26707, 3040, 29918, 10145, 742, 13, 1678, 525, 29940, 8098, 29903, 29918, 29931, 1806, 1001, 1964, 29903, 29918, 10145, 742, 13, 1678, 525, 29940, 800, 742, 13, 1678, 525, 29940, 800, 24938, 284, 742, 13, 29962, 13, 13, 5006, 353, 2897, 29889, 2084, 29889, 370, 1028, 493, 29898, 359, 29889, 2084, 29889, 25721, 22168, 1445, 1649, 876, 13, 13, 29940, 8098, 29903, 29918, 29911, 4717, 1177, 29918, 10145, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5006, 29892, 525, 14968, 29889, 3945, 1495, 13, 29940, 8098, 29903, 29918, 18267, 29918, 10145, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5006, 29892, 525, 1688, 29889, 3945, 1495, 13, 29940, 8098, 29903, 29918, 26707, 3040, 29918, 10145, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5006, 29892, 525, 3084, 29889, 3945, 1495, 13, 29940, 8098, 29903, 29918, 29931, 1806, 1001, 1964, 29903, 29918, 10145, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5006, 29892, 525, 20889, 1338, 29889, 3945, 1495, 13, 13, 13, 1990, 18269, 29898, 2605, 16390, 24541, 1125, 13, 1678, 9995, 1576, 18269, 8783, 1213, 15945, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3579, 19290, 1125, 13, 4706, 2428, 2141, 1649, 2344, 12035, 13, 9651, 6694, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 29911, 4717, 1177, 29918, 10145, 29892, 13, 9651, 6724, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 18267, 29918, 10145, 29892, 13, 9651, 8845, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 26707, 3040, 29918, 10145, 29892, 13, 9651, 3579, 19290, 29892, 13, 4706, 1723, 13, 13, 13, 1990, 18269, 24938, 284, 29898, 29940, 25099, 2605, 16390, 24541, 1125, 13, 1678, 9995, 1576, 18269, 8783, 411, 4631, 1338, 1213, 15945, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3579, 19290, 1125, 13, 4706, 2428, 2141, 1649, 2344, 12035, 13, 9651, 6694, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 29911, 4717, 1177, 29918, 10145, 29892, 13, 9651, 6724, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 18267, 29918, 10145, 29892, 13, 9651, 8845, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 26707, 3040, 29918, 10145, 29892, 13, 9651, 4631, 1338, 29918, 2084, 29922, 29940, 8098, 29903, 29918, 29931, 1806, 1001, 1964, 29903, 29918, 10145, 29892, 13, 9651, 3579, 19290, 29892, 13, 4706, 1723, 13, 2 ]
script_makevoc.py
skiteskopes/datasetCulling
1
174687
# -*- coding: utf-8 -*- """ script for setting up pascal-like datasets copyright:kentaroy47 10/2/2018 """ import os import subprocess import argparse parser = argparse.ArgumentParser(description='Train a Fast R-CNN network') parser.add_argument('--dataset', dest='dataset', help='training dataset', type=str) parser.add_argument('--numobj', dest='numobj', help='training dataset', type=str, default='0') parser.add_argument('--sample', dest='sample', help='training dataset', type=str, default='0') parser.add_argument('--filterpix', dest='filterpix', help='filter pixel size', type=str, default=20) parser.add_argument('--topx', dest='topx', help='filter pixel size', type=str, default="64") parser.add_argument('--net', dest='net', help='target network', type=str, default="res101") parser.add_argument('--dsm', dest='dsm', help='filter pixel size', type=bool, default=False) args = parser.parse_args() target = args.topx + "-" +args.dataset filterpix = str(args.filterpix) # make dir in datasets datasetname = "VOCdevkit"+target command="mkdir data/"+datasetname subprocess.call(command, shell=True) command="mkdir data/"+datasetname+"/VOC2007/" subprocess.call(command, shell=True) command="mkdir data/"+datasetname+"/VOC2007/JPEGImages" subprocess.call(command, shell=True) command="mkdir data/"+datasetname+"/VOC2007/Annotations" subprocess.call(command, shell=True) command="mkdir data/"+datasetname+"/VOC2007/ImageSets" subprocess.call(command, shell=True) command="mkdir data/"+datasetname+"/VOC2007/ImageSets/Main" subprocess.call(command, shell=True) # generate xml args.numobj = str(args.numobj) if args.dsm: command="python xml_makelabels_domain.py --dataset "+target+" --numobj "+args.numobj + \ " --sample "+args.sample+" --filterpix "+filterpix+" --net "+args.net+" --dsm "+str(args.dsm) else: command="python xml_makelabels_domain.py --topx "+args.topx+" --dataset "+target+" --numobj "+args.numobj + \ " --sample "+args.sample+" --filterpix "+filterpix+" --net "+args.net print("com:", command) subprocess.call(command, shell=True) # make link command="cp -rf output/"+target+"-train-labels-"+args.net+"/* data/"+datasetname+"/VOC2007/Annotations/" subprocess.call(command, shell=True) command="cp -rf output/"+target+"-test-labels-"+args.net+"/* data/"+datasetname+"/VOC2007/Annotations/" subprocess.call(command, shell=True) command="cp -rf images/"+target+"_train/* data/"+datasetname+"/VOC2007/JPEGImages/" subprocess.call(command, shell=True) command="cp -rf /data2/lost+found/img/"+target+"_val/* data/"+datasetname+"/VOC2007/JPEGImages/" subprocess.call(command, shell=True) # copy text file to Main command="cp trainval/trainval_"+target+".txt data/"+datasetname+"/VOC2007/ImageSets/Main/" subprocess.call(command, shell=True) # make models and copy command="mkdir models/res18/pascal_voc_"+target subprocess.call(command, shell=True) command="cp models/res18/pascal_voc/faster_rcnn_500_40_625.pth models/res18/pascal_voc_"+target subprocess.call(command, shell=True) #command="mkdir models/squeeze/pascal_voc_"+target #subprocess.call(command, shell=True) #command="cp models/squeeze/faster_rcnn_500_40_625.pth models/squeeze/pascal_voc_"+target #subprocess.call(command, shell=True)
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 13, 2154, 363, 4444, 701, 2331, 1052, 29899, 4561, 20035, 13, 8552, 1266, 29901, 29895, 296, 8854, 29891, 29946, 29955, 13, 29896, 29900, 29914, 29906, 29914, 29906, 29900, 29896, 29947, 13, 15945, 29908, 13, 13, 5215, 2897, 13, 5215, 1014, 5014, 13, 5215, 1852, 5510, 13, 13, 16680, 353, 1852, 5510, 29889, 15730, 11726, 29898, 8216, 2433, 5323, 262, 263, 23786, 390, 29899, 29907, 10262, 3564, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 24713, 742, 2731, 2433, 24713, 742, 13, 462, 418, 1371, 2433, 26495, 8783, 742, 1134, 29922, 710, 29897, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1949, 5415, 742, 2731, 2433, 1949, 5415, 742, 13, 462, 418, 1371, 2433, 26495, 8783, 742, 1134, 29922, 710, 29892, 2322, 2433, 29900, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 11249, 742, 2731, 2433, 11249, 742, 13, 462, 418, 1371, 2433, 26495, 8783, 742, 1134, 29922, 710, 29892, 2322, 2433, 29900, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4572, 29886, 861, 742, 2731, 2433, 4572, 29886, 861, 742, 13, 462, 418, 1371, 2433, 4572, 15526, 2159, 742, 1134, 29922, 710, 29892, 2322, 29922, 29906, 29900, 29897, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 3332, 29916, 742, 2731, 2433, 3332, 29916, 742, 13, 462, 418, 1371, 2433, 4572, 15526, 2159, 742, 1134, 29922, 710, 29892, 2322, 543, 29953, 29946, 1159, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1212, 742, 2731, 2433, 1212, 742, 13, 462, 418, 1371, 2433, 5182, 3564, 742, 1134, 29922, 710, 29892, 2322, 543, 690, 29896, 29900, 29896, 1159, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 29881, 3844, 742, 2731, 2433, 29881, 3844, 742, 13, 462, 418, 1371, 2433, 4572, 15526, 2159, 742, 1134, 29922, 11227, 29892, 2322, 29922, 8824, 29897, 13, 5085, 353, 13812, 29889, 5510, 29918, 5085, 580, 13, 5182, 353, 29871, 6389, 29889, 3332, 29916, 718, 11663, 29908, 718, 5085, 29889, 24713, 29871, 13, 4572, 29886, 861, 353, 851, 29898, 5085, 29889, 4572, 29886, 861, 29897, 13, 13, 29937, 1207, 4516, 297, 20035, 13, 24713, 978, 353, 376, 29963, 20166, 3359, 7354, 17969, 5182, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 29967, 4162, 29954, 20163, 29908, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2744, 1333, 800, 29908, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2940, 29903, 1691, 29908, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 11256, 3972, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2940, 29903, 1691, 29914, 6330, 29908, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 13, 29937, 5706, 4903, 13, 5085, 29889, 1949, 5415, 353, 851, 29898, 5085, 29889, 1949, 5415, 29897, 13, 361, 6389, 29889, 29881, 3844, 29901, 13, 1678, 1899, 543, 4691, 4903, 29918, 29885, 557, 295, 1107, 29879, 29918, 7247, 29889, 2272, 1192, 24713, 15691, 5182, 13578, 1192, 1949, 5415, 15691, 5085, 29889, 1949, 5415, 718, 320, 13, 1678, 376, 1192, 11249, 15691, 5085, 29889, 11249, 13578, 1192, 4572, 29886, 861, 15691, 4572, 29886, 861, 13578, 1192, 1212, 15691, 5085, 29889, 1212, 13578, 1192, 29881, 3844, 15691, 710, 29898, 5085, 29889, 29881, 3844, 29897, 13, 2870, 29901, 13, 1678, 1899, 543, 4691, 4903, 29918, 29885, 557, 295, 1107, 29879, 29918, 7247, 29889, 2272, 1192, 3332, 29916, 15691, 5085, 29889, 3332, 29916, 13578, 1192, 24713, 15691, 5182, 13578, 1192, 1949, 5415, 15691, 5085, 29889, 1949, 5415, 718, 320, 13, 1678, 376, 1192, 11249, 15691, 5085, 29889, 11249, 13578, 1192, 4572, 29886, 861, 15691, 4572, 29886, 861, 13578, 1192, 1212, 15691, 5085, 29889, 1212, 13, 2158, 703, 510, 29901, 613, 1899, 29897, 13, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 13, 29937, 1207, 1544, 13, 6519, 543, 6814, 448, 9600, 1962, 12975, 29974, 5182, 13578, 29899, 14968, 29899, 21134, 29899, 17969, 5085, 29889, 1212, 13578, 5515, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2744, 1333, 800, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 6814, 448, 9600, 1962, 12975, 29974, 5182, 13578, 29899, 1688, 29899, 21134, 29899, 17969, 5085, 29889, 1212, 13578, 5515, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2744, 1333, 800, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 6814, 448, 9600, 4558, 12975, 29974, 5182, 13578, 29918, 14968, 5515, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 29967, 4162, 29954, 20163, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 6814, 448, 9600, 847, 1272, 29906, 29914, 18767, 29974, 11940, 29914, 2492, 12975, 29974, 5182, 13578, 29918, 791, 5515, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 29967, 4162, 29954, 20163, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 13, 29937, 3509, 1426, 934, 304, 4241, 13, 6519, 543, 6814, 7945, 791, 29914, 14968, 791, 29918, 17969, 5182, 29974, 1642, 3945, 848, 12975, 29974, 24713, 978, 13578, 29914, 29963, 20166, 29906, 29900, 29900, 29955, 29914, 2940, 29903, 1691, 29914, 6330, 12975, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 13, 29937, 1207, 4733, 322, 3509, 13, 6519, 543, 11256, 3972, 4733, 29914, 690, 29896, 29947, 29914, 18182, 1052, 29918, 29894, 542, 29918, 17969, 5182, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 6519, 543, 6814, 4733, 29914, 690, 29896, 29947, 29914, 18182, 1052, 29918, 29894, 542, 29914, 29888, 1901, 29918, 2214, 15755, 29918, 29945, 29900, 29900, 29918, 29946, 29900, 29918, 29953, 29906, 29945, 29889, 29886, 386, 4733, 29914, 690, 29896, 29947, 29914, 18182, 1052, 29918, 29894, 542, 29918, 17969, 5182, 13, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 29937, 6519, 543, 11256, 3972, 4733, 29914, 29879, 802, 29872, 911, 29914, 18182, 1052, 29918, 29894, 542, 29918, 17969, 5182, 13, 29937, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 13, 29937, 6519, 543, 6814, 4733, 29914, 29879, 802, 29872, 911, 29914, 29888, 1901, 29918, 2214, 15755, 29918, 29945, 29900, 29900, 29918, 29946, 29900, 29918, 29953, 29906, 29945, 29889, 29886, 386, 4733, 29914, 29879, 802, 29872, 911, 29914, 18182, 1052, 29918, 29894, 542, 29918, 17969, 5182, 13, 29937, 1491, 5014, 29889, 4804, 29898, 6519, 29892, 6473, 29922, 5574, 29897, 2 ]
plugins/jsmin.py
magentix/magentix.github.io
0
164740
""" Copyright (c) 2022, Magentix This code is licensed under simplified BSD license (see LICENSE for details) StaPy JsMin Plugin - Version 1.0.0 Requirements: - jsmin """ from pathlib import Path import jsmin import os def file_content_opened(content, args: dict) -> str: if _get_file_extension(args['path']) != 'js': return content return jsmin.jsmin(content.decode()).encode() def file_copy_before(source: str, args: dict) -> str: if _get_file_extension(source) != 'js': return source return _get_min_file(source, jsmin.jsmin(_get_file_content(source))) def _get_min_file(source: str, content: str) -> str: file = open(_get_tmp_file_path(source), 'w', encoding='utf-8') file.write(content) file.close() return _get_tmp_file_path(source) def _get_tmp_file_path(source: str) -> str: name = os.path.normpath(_get_current_directory() + '/../tmp/' + os.path.basename(source) + '.min') _create_directory(name) return name def _create_directory(path) -> None: if _get_file_extension(path): path = os.path.dirname(path) Path(os.path.normpath(path)).mkdir(parents=True, exist_ok=True) def _get_current_directory() -> str: return os.path.dirname(os.path.realpath(__file__)) def _get_file_content(source: str) -> str: file = open(os.path.normpath(source), 'r', encoding="utf-8") content = file.read() file.close() return content def _get_file_extension(file: str) -> str: name, extension = os.path.splitext(file) if not extension: extension = '' return extension.replace('.', '')
[ 1, 9995, 13, 11882, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29906, 29906, 29892, 3561, 296, 861, 13, 4013, 775, 338, 7794, 21144, 1090, 20875, 350, 7230, 19405, 313, 4149, 365, 2965, 1430, 1660, 363, 4902, 29897, 13, 855, 29874, 19737, 435, 29879, 8140, 1858, 3851, 448, 10079, 29871, 29896, 29889, 29900, 29889, 29900, 13, 13, 1123, 1548, 1860, 29901, 13, 29899, 6965, 1195, 13, 15945, 29908, 13, 3166, 2224, 1982, 1053, 10802, 13, 5215, 6965, 1195, 13, 5215, 2897, 13, 13, 13, 1753, 934, 29918, 3051, 29918, 3150, 287, 29898, 3051, 29892, 6389, 29901, 9657, 29897, 1599, 851, 29901, 13, 1678, 565, 903, 657, 29918, 1445, 29918, 17588, 29898, 5085, 1839, 2084, 11287, 2804, 525, 1315, 2396, 13, 4706, 736, 2793, 13, 1678, 736, 6965, 1195, 29889, 1315, 1195, 29898, 3051, 29889, 13808, 16655, 12508, 580, 13, 13, 13, 1753, 934, 29918, 8552, 29918, 11083, 29898, 4993, 29901, 851, 29892, 6389, 29901, 9657, 29897, 1599, 851, 29901, 13, 1678, 565, 903, 657, 29918, 1445, 29918, 17588, 29898, 4993, 29897, 2804, 525, 1315, 2396, 13, 4706, 736, 2752, 13, 1678, 736, 903, 657, 29918, 1195, 29918, 1445, 29898, 4993, 29892, 6965, 1195, 29889, 1315, 1195, 7373, 657, 29918, 1445, 29918, 3051, 29898, 4993, 4961, 13, 13, 13, 1753, 903, 657, 29918, 1195, 29918, 1445, 29898, 4993, 29901, 851, 29892, 2793, 29901, 851, 29897, 1599, 851, 29901, 13, 1678, 934, 353, 1722, 7373, 657, 29918, 7050, 29918, 1445, 29918, 2084, 29898, 4993, 511, 525, 29893, 742, 8025, 2433, 9420, 29899, 29947, 1495, 13, 1678, 934, 29889, 3539, 29898, 3051, 29897, 13, 1678, 934, 29889, 5358, 580, 13, 1678, 736, 903, 657, 29918, 7050, 29918, 1445, 29918, 2084, 29898, 4993, 29897, 13, 13, 13, 1753, 903, 657, 29918, 7050, 29918, 1445, 29918, 2084, 29898, 4993, 29901, 851, 29897, 1599, 851, 29901, 13, 1678, 1024, 353, 2897, 29889, 2084, 29889, 12324, 2084, 7373, 657, 29918, 3784, 29918, 12322, 580, 718, 8207, 6995, 7050, 22208, 718, 2897, 29889, 2084, 29889, 6500, 3871, 29898, 4993, 29897, 718, 15300, 1195, 1495, 13, 1678, 903, 3258, 29918, 12322, 29898, 978, 29897, 13, 1678, 736, 1024, 13, 13, 13, 1753, 903, 3258, 29918, 12322, 29898, 2084, 29897, 1599, 6213, 29901, 13, 1678, 565, 903, 657, 29918, 1445, 29918, 17588, 29898, 2084, 1125, 13, 4706, 2224, 353, 2897, 29889, 2084, 29889, 25721, 29898, 2084, 29897, 13, 1678, 10802, 29898, 359, 29889, 2084, 29889, 12324, 2084, 29898, 2084, 8106, 11256, 3972, 29898, 862, 1237, 29922, 5574, 29892, 1863, 29918, 554, 29922, 5574, 29897, 13, 13, 13, 1753, 903, 657, 29918, 3784, 29918, 12322, 580, 1599, 851, 29901, 13, 1678, 736, 2897, 29889, 2084, 29889, 25721, 29898, 359, 29889, 2084, 29889, 6370, 2084, 22168, 1445, 1649, 876, 13, 13, 13, 1753, 903, 657, 29918, 1445, 29918, 3051, 29898, 4993, 29901, 851, 29897, 1599, 851, 29901, 13, 1678, 934, 353, 1722, 29898, 359, 29889, 2084, 29889, 12324, 2084, 29898, 4993, 511, 525, 29878, 742, 8025, 543, 9420, 29899, 29947, 1159, 13, 1678, 2793, 353, 934, 29889, 949, 580, 13, 1678, 934, 29889, 5358, 580, 13, 1678, 736, 2793, 13, 13, 13, 1753, 903, 657, 29918, 1445, 29918, 17588, 29898, 1445, 29901, 851, 29897, 1599, 851, 29901, 13, 1678, 1024, 29892, 6081, 353, 2897, 29889, 2084, 29889, 23579, 568, 486, 29898, 1445, 29897, 13, 1678, 565, 451, 6081, 29901, 13, 4706, 6081, 353, 6629, 13, 1678, 736, 6081, 29889, 6506, 12839, 742, 27255, 13, 2 ]
dags/utils/voting/fetch_polls.py
makerdao-data/airflow-docker-image
0
187961
from dags.utils.bq_adapters import extract_calls_gas def _fetch_polls(**setup): calls = extract_calls_gas( setup['start_block'] + 1, setup['end_block'], setup['start_time'], setup['end_time'], (setup['polls_address'],), setup['polls_abi'], ) records = [ [ setup['load_id'], call.block_number, call.timestamp.__str__()[:19], call.breadcrumb, call.tx_hash, call.tx_index, call.type, str(call.value), call.from_address, call.to_address, call.function, call.arguments, call.outputs, call.error, call.status, call.gas_used, call.gas_price, ] for call in calls if call.function != '' ] calls_num = len(calls) calls = extract_calls_gas( setup['start_block'] + 1, setup['end_block'], setup['start_time'], setup['end_time'], (setup['new_polls_address'],), setup['new_polls_abi'], ) for call in calls: if call.function == 'voteMany': for i, poll in enumerate(call.arguments[0]['value']): option = call.arguments[1]['value'][i] if i < len(call.arguments[1]['value']) else None arguments = [ dict(name='pollId', type='uint256', value=poll), dict(name='optionId', type='uint256', value=option), ] record = [ setup['load_id'], call.block_number, call.timestamp.__str__()[:19], call.breadcrumb, call.tx_hash, call.tx_index, call.type, str(call.value), call.from_address, call.to_address, 'vote', arguments, [], call.error, call.status, call.gas_used / len(call.arguments[0]['value']), call.gas_price, ] records.append(record) elif call.function == 'withdrawPolls': for poll in call.arguments[0]['value']: arguments = [dict(name='pollId', type='uint256', value=poll)] record = [ setup['load_id'], call.block_number, call.timestamp.__str__()[:19], call.breadcrumb, call.tx_hash, call.tx_index, call.type, str(call.value), call.from_address, call.to_address, 'withdrawPoll', arguments, [], call.error, call.status, call.gas_used, call.gas_price, ] records.append(record) else: record = [ setup['load_id'], call.block_number, call.timestamp.__str__()[:19], call.breadcrumb, call.tx_hash, call.tx_index, call.type, str(call.value), call.from_address, call.to_address, call.function, call.arguments, call.outputs, call.error, call.status, call.gas_used, call.gas_price, ] records.append(record) print(f"POLLS: {len(calls) + calls_num} read, {len(records)} written") return records
[ 1, 515, 270, 810, 29889, 13239, 29889, 29890, 29939, 29918, 328, 481, 2153, 1053, 6597, 29918, 29883, 4293, 29918, 25496, 13, 13, 13, 1753, 903, 9155, 29918, 29886, 3028, 29879, 29898, 1068, 14669, 1125, 13, 13, 1678, 5717, 353, 6597, 29918, 29883, 4293, 29918, 25496, 29898, 13, 4706, 6230, 1839, 2962, 29918, 1271, 2033, 718, 29871, 29896, 29892, 13, 4706, 6230, 1839, 355, 29918, 1271, 7464, 13, 4706, 6230, 1839, 2962, 29918, 2230, 7464, 13, 4706, 6230, 1839, 355, 29918, 2230, 7464, 13, 4706, 313, 14669, 1839, 29886, 3028, 29879, 29918, 7328, 7464, 511, 13, 4706, 6230, 1839, 29886, 3028, 29879, 29918, 19266, 7464, 13, 1678, 1723, 13, 13, 1678, 6475, 353, 518, 13, 4706, 518, 13, 9651, 6230, 1839, 1359, 29918, 333, 7464, 13, 9651, 1246, 29889, 1271, 29918, 4537, 29892, 13, 9651, 1246, 29889, 16394, 17255, 710, 1649, 580, 7503, 29896, 29929, 1402, 13, 9651, 1246, 29889, 29890, 949, 7283, 3774, 29892, 13, 9651, 1246, 29889, 7508, 29918, 8568, 29892, 13, 9651, 1246, 29889, 7508, 29918, 2248, 29892, 13, 9651, 1246, 29889, 1853, 29892, 13, 9651, 851, 29898, 4804, 29889, 1767, 511, 13, 9651, 1246, 29889, 3166, 29918, 7328, 29892, 13, 9651, 1246, 29889, 517, 29918, 7328, 29892, 13, 9651, 1246, 29889, 2220, 29892, 13, 9651, 1246, 29889, 25699, 29892, 13, 9651, 1246, 29889, 4905, 29879, 29892, 13, 9651, 1246, 29889, 2704, 29892, 13, 9651, 1246, 29889, 4882, 29892, 13, 9651, 1246, 29889, 25496, 29918, 3880, 29892, 13, 9651, 1246, 29889, 25496, 29918, 9175, 29892, 13, 4706, 4514, 13, 4706, 363, 1246, 297, 5717, 13, 4706, 565, 1246, 29889, 2220, 2804, 6629, 13, 1678, 4514, 13, 13, 1678, 5717, 29918, 1949, 353, 7431, 29898, 29883, 4293, 29897, 13, 13, 1678, 5717, 353, 6597, 29918, 29883, 4293, 29918, 25496, 29898, 13, 4706, 6230, 1839, 2962, 29918, 1271, 2033, 718, 29871, 29896, 29892, 13, 4706, 6230, 1839, 355, 29918, 1271, 7464, 13, 4706, 6230, 1839, 2962, 29918, 2230, 7464, 13, 4706, 6230, 1839, 355, 29918, 2230, 7464, 13, 4706, 313, 14669, 1839, 1482, 29918, 29886, 3028, 29879, 29918, 7328, 7464, 511, 13, 4706, 6230, 1839, 1482, 29918, 29886, 3028, 29879, 29918, 19266, 7464, 13, 1678, 1723, 13, 13, 1678, 363, 1246, 297, 5717, 29901, 13, 4706, 565, 1246, 29889, 2220, 1275, 525, 15814, 14804, 2396, 13, 9651, 363, 474, 29892, 21180, 297, 26985, 29898, 4804, 29889, 25699, 29961, 29900, 22322, 1767, 2033, 1125, 13, 18884, 2984, 353, 1246, 29889, 25699, 29961, 29896, 22322, 1767, 2033, 29961, 29875, 29962, 565, 474, 529, 7431, 29898, 4804, 29889, 25699, 29961, 29896, 22322, 1767, 11287, 1683, 6213, 13, 18884, 6273, 353, 518, 13, 462, 1678, 9657, 29898, 978, 2433, 29886, 3028, 1204, 742, 1134, 2433, 13470, 29906, 29945, 29953, 742, 995, 29922, 29886, 3028, 511, 13, 462, 1678, 9657, 29898, 978, 2433, 3385, 1204, 742, 1134, 2433, 13470, 29906, 29945, 29953, 742, 995, 29922, 3385, 511, 13, 18884, 4514, 13, 13, 18884, 2407, 353, 518, 13, 462, 1678, 6230, 1839, 1359, 29918, 333, 7464, 13, 462, 1678, 1246, 29889, 1271, 29918, 4537, 29892, 13, 462, 1678, 1246, 29889, 16394, 17255, 710, 1649, 580, 7503, 29896, 29929, 1402, 13, 462, 1678, 1246, 29889, 29890, 949, 7283, 3774, 29892, 13, 462, 1678, 1246, 29889, 7508, 29918, 8568, 29892, 13, 462, 1678, 1246, 29889, 7508, 29918, 2248, 29892, 13, 462, 1678, 1246, 29889, 1853, 29892, 13, 462, 1678, 851, 29898, 4804, 29889, 1767, 511, 13, 462, 1678, 1246, 29889, 3166, 29918, 7328, 29892, 13, 462, 1678, 1246, 29889, 517, 29918, 7328, 29892, 13, 462, 1678, 525, 15814, 742, 13, 462, 1678, 6273, 29892, 13, 462, 1678, 19997, 13, 462, 1678, 1246, 29889, 2704, 29892, 13, 462, 1678, 1246, 29889, 4882, 29892, 13, 462, 1678, 1246, 29889, 25496, 29918, 3880, 847, 7431, 29898, 4804, 29889, 25699, 29961, 29900, 22322, 1767, 2033, 511, 13, 462, 1678, 1246, 29889, 25496, 29918, 9175, 29892, 13, 18884, 4514, 13, 13, 18884, 6475, 29889, 4397, 29898, 11651, 29897, 13, 13, 4706, 25342, 1246, 29889, 2220, 1275, 525, 2541, 4012, 29925, 3028, 29879, 2396, 13, 9651, 363, 21180, 297, 1246, 29889, 25699, 29961, 29900, 22322, 1767, 2033, 29901, 13, 18884, 6273, 353, 518, 8977, 29898, 978, 2433, 29886, 3028, 1204, 742, 1134, 2433, 13470, 29906, 29945, 29953, 742, 995, 29922, 29886, 3028, 4638, 13, 18884, 2407, 353, 518, 13, 462, 1678, 6230, 1839, 1359, 29918, 333, 7464, 13, 462, 1678, 1246, 29889, 1271, 29918, 4537, 29892, 13, 462, 1678, 1246, 29889, 16394, 17255, 710, 1649, 580, 7503, 29896, 29929, 1402, 13, 462, 1678, 1246, 29889, 29890, 949, 7283, 3774, 29892, 13, 462, 1678, 1246, 29889, 7508, 29918, 8568, 29892, 13, 462, 1678, 1246, 29889, 7508, 29918, 2248, 29892, 13, 462, 1678, 1246, 29889, 1853, 29892, 13, 462, 1678, 851, 29898, 4804, 29889, 1767, 511, 13, 462, 1678, 1246, 29889, 3166, 29918, 7328, 29892, 13, 462, 1678, 1246, 29889, 517, 29918, 7328, 29892, 13, 462, 1678, 525, 2541, 4012, 29925, 3028, 742, 13, 462, 1678, 6273, 29892, 13, 462, 1678, 19997, 13, 462, 1678, 1246, 29889, 2704, 29892, 13, 462, 1678, 1246, 29889, 4882, 29892, 13, 462, 1678, 1246, 29889, 25496, 29918, 3880, 29892, 13, 462, 1678, 1246, 29889, 25496, 29918, 9175, 29892, 13, 18884, 4514, 13, 18884, 6475, 29889, 4397, 29898, 11651, 29897, 13, 13, 4706, 1683, 29901, 13, 9651, 2407, 353, 518, 13, 18884, 6230, 1839, 1359, 29918, 333, 7464, 13, 18884, 1246, 29889, 1271, 29918, 4537, 29892, 13, 18884, 1246, 29889, 16394, 17255, 710, 1649, 580, 7503, 29896, 29929, 1402, 13, 18884, 1246, 29889, 29890, 949, 7283, 3774, 29892, 13, 18884, 1246, 29889, 7508, 29918, 8568, 29892, 13, 18884, 1246, 29889, 7508, 29918, 2248, 29892, 13, 18884, 1246, 29889, 1853, 29892, 13, 18884, 851, 29898, 4804, 29889, 1767, 511, 13, 18884, 1246, 29889, 3166, 29918, 7328, 29892, 13, 18884, 1246, 29889, 517, 29918, 7328, 29892, 13, 18884, 1246, 29889, 2220, 29892, 13, 18884, 1246, 29889, 25699, 29892, 13, 18884, 1246, 29889, 4905, 29879, 29892, 13, 18884, 1246, 29889, 2704, 29892, 13, 18884, 1246, 29889, 4882, 29892, 13, 18884, 1246, 29889, 25496, 29918, 3880, 29892, 13, 18884, 1246, 29889, 25496, 29918, 9175, 29892, 13, 9651, 4514, 13, 9651, 6475, 29889, 4397, 29898, 11651, 29897, 13, 13, 1678, 1596, 29898, 29888, 29908, 13152, 2208, 29903, 29901, 426, 2435, 29898, 29883, 4293, 29897, 718, 5717, 29918, 1949, 29913, 1303, 29892, 426, 2435, 29898, 3757, 4339, 2915, 3971, 1159, 13, 13, 1678, 736, 6475, 13, 2 ]
django_socketio_chat/admin.py
leukeleu/django-socketio-chat
6
140003
<filename>django_socketio_chat/admin.py from django.contrib import admin from .models import Chat, UserChatStatus, Message class ChatAdmin(admin.ModelAdmin): pass class UserChatStatusAdmin(admin.ModelAdmin): pass class MessageAdmin(admin.ModelAdmin): pass admin.site.register(Chat, ChatAdmin) admin.site.register(UserChatStatus, UserChatStatusAdmin) admin.site.register(Message, MessageAdmin)
[ 1, 529, 9507, 29958, 14095, 29918, 11514, 601, 29918, 13496, 29914, 6406, 29889, 2272, 13, 3166, 9557, 29889, 21570, 1053, 4113, 13, 13, 3166, 869, 9794, 1053, 678, 271, 29892, 4911, 1451, 271, 5709, 29892, 7777, 13, 13, 13, 1990, 678, 271, 12754, 29898, 6406, 29889, 3195, 12754, 1125, 13, 1678, 1209, 13, 13, 13, 1990, 4911, 1451, 271, 5709, 12754, 29898, 6406, 29889, 3195, 12754, 1125, 13, 1678, 1209, 13, 13, 13, 1990, 7777, 12754, 29898, 6406, 29889, 3195, 12754, 1125, 13, 1678, 1209, 13, 13, 13, 6406, 29889, 2746, 29889, 9573, 29898, 1451, 271, 29892, 678, 271, 12754, 29897, 13, 6406, 29889, 2746, 29889, 9573, 29898, 2659, 1451, 271, 5709, 29892, 4911, 1451, 271, 5709, 12754, 29897, 13, 6406, 29889, 2746, 29889, 9573, 29898, 3728, 29892, 7777, 12754, 29897, 13, 2 ]
qcenginerecords/tests/test_validate.py
eljost/QCEngineRecords
1
119080
<gh_stars>1-10 import pytest import qcenginerecords as qcev import qcelemental as qcel def test_list_programs(): assert "molpro" in qcev.list_programs() assert "entos" in qcev.list_programs() assert "terachem" in qcev.list_programs() # Build out a list of all tests and validate validation_tests = [] for program in qcev.list_programs(): info = qcev.get_info(program) for case in qcev.list_test_cases(program): validation_tests.append(pytest.param(info, case, id="{}-{}".format(program, case))) @pytest.mark.parametrize("info, test_case", validation_tests) def test_validate_test_case(info, test_case): filenames = qcev.get_test_case_filenames(info.program, test_case) # Check all required files are present assert filenames.keys() >= info.required_files, "Missing required files for testing." assert filenames.keys() <= (info.required_files | info.optional_files), "Unknown files found." # Ensure the `input.json` is valid qcel.models.ResultInput.parse_file(filenames["input.json"]) # Ensure the `output.json` is valid # qcel.models.Result.parse_file(filenames["output.json"])
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 11451, 1688, 13, 13, 5215, 3855, 29883, 996, 262, 406, 29883, 4339, 408, 3855, 346, 29894, 13, 5215, 3855, 346, 944, 284, 408, 3855, 2242, 13, 13, 13, 1753, 1243, 29918, 1761, 29918, 8860, 29879, 7295, 13, 1678, 4974, 376, 29885, 324, 771, 29908, 297, 3855, 346, 29894, 29889, 1761, 29918, 8860, 29879, 580, 13, 1678, 4974, 376, 296, 359, 29908, 297, 3855, 346, 29894, 29889, 1761, 29918, 8860, 29879, 580, 13, 1678, 4974, 376, 357, 496, 331, 29908, 297, 3855, 346, 29894, 29889, 1761, 29918, 8860, 29879, 580, 13, 13, 13, 29937, 8878, 714, 263, 1051, 310, 599, 6987, 322, 12725, 13, 18157, 29918, 21150, 353, 5159, 13, 1454, 1824, 297, 3855, 346, 29894, 29889, 1761, 29918, 8860, 29879, 7295, 13, 1678, 5235, 353, 3855, 346, 29894, 29889, 657, 29918, 3888, 29898, 8860, 29897, 13, 13, 1678, 363, 1206, 297, 3855, 346, 29894, 29889, 1761, 29918, 1688, 29918, 11436, 29898, 8860, 1125, 13, 4706, 8845, 29918, 21150, 29889, 4397, 29898, 2272, 1688, 29889, 3207, 29898, 3888, 29892, 1206, 29892, 1178, 10724, 7402, 8875, 1642, 4830, 29898, 8860, 29892, 1206, 4961, 13, 13, 13, 29992, 2272, 1688, 29889, 3502, 29889, 3207, 300, 374, 911, 703, 3888, 29892, 1243, 29918, 4878, 613, 8845, 29918, 21150, 29897, 13, 1753, 1243, 29918, 15480, 29918, 1688, 29918, 4878, 29898, 3888, 29892, 1243, 29918, 4878, 1125, 13, 13, 1678, 977, 264, 1280, 353, 3855, 346, 29894, 29889, 657, 29918, 1688, 29918, 4878, 29918, 1777, 264, 1280, 29898, 3888, 29889, 8860, 29892, 1243, 29918, 4878, 29897, 13, 13, 1678, 396, 5399, 599, 3734, 2066, 526, 2198, 13, 1678, 4974, 977, 264, 1280, 29889, 8149, 580, 6736, 5235, 29889, 12403, 29918, 5325, 29892, 376, 18552, 292, 3734, 2066, 363, 6724, 1213, 13, 1678, 4974, 977, 264, 1280, 29889, 8149, 580, 5277, 313, 3888, 29889, 12403, 29918, 5325, 891, 5235, 29889, 25253, 29918, 5325, 511, 376, 14148, 2066, 1476, 1213, 13, 13, 1678, 396, 22521, 545, 278, 421, 2080, 29889, 3126, 29952, 338, 2854, 13, 1678, 3855, 2242, 29889, 9794, 29889, 3591, 4290, 29889, 5510, 29918, 1445, 29898, 1777, 264, 1280, 3366, 2080, 29889, 3126, 20068, 13, 13, 1678, 396, 22521, 545, 278, 421, 4905, 29889, 3126, 29952, 338, 2854, 13, 1678, 396, 3855, 2242, 29889, 9794, 29889, 3591, 29889, 5510, 29918, 1445, 29898, 1777, 264, 1280, 3366, 4905, 29889, 3126, 20068, 13, 2 ]
ANSIBLE/library/eos_routemap.py
ayosef/pynet_test
0
18305
#!/usr/bin/python # # Copyright (c) 2015, Arista Networks, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # Neither the name of Arista Networks nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ARISTA NETWORKS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # DOCUMENTATION = """ --- module: eos_routemap short_description: Manage EOS routemap resources description: - This module will manage routemap entries on EOS nodes version_added: 1.2.0 category: Route Policy author: Arista EOS+ requirements: - Arista EOS 4.13.7M or later with command API enabled - Python Client for eAPI 0.4.0 or later notes: - All configuration is idempotent unless otherwise specified - Supports eos metaparameters for using the eAPI transport - Supports stateful resource configuration. options: name: description: - The name of the routemap to manage. required: true default: null choices: [] aliases: [] version_added: 1.2.0 action: description: - The action associated with the routemap name. required: true default: 'permit' choices: ['permit','deny'] aliases: [] version_added: 1.2.0 seqno: description: - The sequence number of the rule that this entry corresponds to. required: true default: null choices: [] aliases: [] version_added: 1.2.0 description: description: - The description for this routemap entry. required: false default: null choices: [] aliases: [] version_added: 1.2.0 match: description: - The list of match statements that define the routemap entry. The match statements should be a comma separated list of match statements without the word match at the beginning of the string. See the example below for more information. required: false default: null choices: [] aliases: [] version_added: 1.2.0 set: description: - The list of set statements that define the routemap entry. The set statements should be a comma separated list of set statements without the word set at the beginning of the string. See the example below for more information. required: false default: null choices: [] aliases: [] version_added: 1.2.0 continue: description: - The statement defines the next routemap clause to evaluate. required: false default: null choices: [] aliases: [] version_added: 1.2.0 """ EXAMPLES = """ - eos_routemap: name=rm1 action=permit seqno=10 description='this is a great routemap' match='as 50,interface Ethernet2' set='tag 100,weight 1000' continue=20 """ #<<EOS_COMMON_MODULE_START>> import syslog import collections from ansible.module_utils.basic import * try: import pyeapi PYEAPI_AVAILABLE = True except ImportError: PYEAPI_AVAILABLE = False DEFAULT_SYSLOG_PRIORITY = syslog.LOG_NOTICE DEFAULT_CONNECTION = 'localhost' TRANSPORTS = ['socket', 'http', 'https', 'http_local'] class EosConnection(object): __attributes__ = ['username', 'password', 'host', 'transport', 'port'] def __init__(self, **kwargs): self.connection = kwargs['connection'] self.transport = kwargs.get('transport') self.username = kwargs.get('username') self.password = kwargs.get('password') self.host = kwargs.get('host') self.port = kwargs.get('port') self.config = kwargs.get('config') def connect(self): if self.config is not None: pyeapi.load_config(self.config) config = dict() if self.connection is not None: config = pyeapi.config_for(self.connection) if not config: msg = 'Connection name "{}" not found'.format(self.connection) for key in self.__attributes__: if getattr(self, key) is not None: config[key] = getattr(self, key) if 'transport' not in config: raise ValueError('Connection must define a transport') connection = pyeapi.client.make_connection(**config) node = pyeapi.client.Node(connection, **config) try: node.enable('show version') except (pyeapi.eapilib.ConnectionError, pyeapi.eapilib.CommandError): raise ValueError('unable to connect to {}'.format(node)) return node class EosAnsibleModule(AnsibleModule): meta_args = { 'config': dict(), 'username': dict(), 'password': dict(), 'host': dict(), 'connection': dict(default=DEFAULT_CONNECTION), 'transport': dict(choices=TRANSPORTS), 'port': dict(), 'debug': dict(type='bool', default='false'), 'logging': dict(type='bool', default='true') } stateful_args = { 'state': dict(default='present', choices=['present', 'absent']), } def __init__(self, stateful=True, autorefresh=False, *args, **kwargs): kwargs['argument_spec'].update(self.meta_args) self._stateful = stateful if stateful: kwargs['argument_spec'].update(self.stateful_args) ## Ok, so in Ansible 2.0, ## AnsibleModule.__init__() sets self.params and then ## calls self.log() ## (through self._log_invocation()) ## ## However, self.log() (overridden in EosAnsibleModule) ## references self._logging ## and self._logging (defined in EosAnsibleModule) ## references self.params. ## ## So ... I'm defining self._logging without "or self.params['logging']" ## *before* AnsibleModule.__init__() to avoid a "ref before def". ## ## I verified that this works with Ansible 1.9.4 and 2.0.0.2. ## The only caveat is that the first log message in ## AnsibleModule.__init__() won't be subject to the value of ## self.params['logging']. self._logging = kwargs.get('logging') super(EosAnsibleModule, self).__init__(*args, **kwargs) self.result = dict(changed=False, changes=dict()) self._debug = kwargs.get('debug') or self.boolean(self.params['debug']) self._logging = kwargs.get('logging') or self.params['logging'] self.log('DEBUG flag is %s' % self._debug) self.debug('pyeapi_version', self.check_pyeapi()) self.debug('stateful', self._stateful) self.debug('params', self.params) self._attributes = self.map_argument_spec() self.validate() self._autorefresh = autorefresh self._node = EosConnection(**self.params) self._node.connect() self._node = self.connect() self._instance = None self.desired_state = self.params['state'] if self._stateful else None self.exit_after_flush = kwargs.get('exit_after_flush') @property def instance(self): if self._instance: return self._instance func = self.func('instance') if not func: self.fail('Module does not support "instance"') try: self._instance = func(self) except Exception as exc: self.fail('instance[error]: %s' % exc.message) self.log("called instance: %s" % self._instance) return self._instance @property def attributes(self): return self._attributes @property def node(self): return self._node def check_pyeapi(self): if not PYEAPI_AVAILABLE: self.fail('Unable to import pyeapi, is it installed?') return pyeapi.__version__ def map_argument_spec(self): """map_argument_spec maps only the module argument spec to attrs This method will map the argumentspec minus the meta_args to attrs and return the attrs. This returns a dict object that includes only the original argspec plus the stateful_args (if self._stateful=True) Returns: dict: Returns a dict object that includes the original argument_spec plus stateful_args with values minus meta_args """ keys = set(self.params).difference(self.meta_args) attrs = dict() attrs = dict([(k, self.params[k]) for k in self.params if k in keys]) if 'CHECKMODE' in attrs: del attrs['CHECKMODE'] return attrs def validate(self): for key, value in self.attributes.iteritems(): func = self.func('validate_%s' % key) if func: self.attributes[key] = func(value) def create(self): if not self.check_mode: func = self.func('create') if not func: self.fail('Module must define "create" function') return self.invoke(func, self) def remove(self): if not self.check_mode: func = self.func('remove') if not func: self.fail('Module most define "remove" function') return self.invoke(func, self) def flush(self, exit_after_flush=False): self.exit_after_flush = exit_after_flush if self.desired_state == 'present' or not self._stateful: if self.instance.get('state') == 'absent': changed = self.create() self.result['changed'] = changed or True self.refresh() # After a create command, flush the running-config # so we get the latest for any other attributes self._node._running_config = None changeset = self.attributes.viewitems() - self.instance.viewitems() if self._debug: self.debug('desired_state', self.attributes) self.debug('current_state', self.instance) changes = self.update(changeset) if changes: self.result['changes'] = changes self.result['changed'] = True self._attributes.update(changes) flush = self.func('flush') if flush: self.invoke(flush, self) elif self.desired_state == 'absent' and self._stateful: if self.instance.get('state') == 'present': changed = self.remove() self.result['changed'] = changed or True elif self._stateful: if self.desired_state != self.instance.get('state'): func = self.func(self.desired_state) changed = self.invoke(func, self) self.result['changed'] = changed or True self.refresh() # By calling self.instance here we trigger another show running-config # all which causes delay. Only if debug is enabled do we call this # since it will display the latest state of the object. if self._debug: self.result['instance'] = self.instance if self.exit_after_flush: self.exit() def update(self, changeset): changes = dict() for key, value in changeset: if value is not None: changes[key] = value func = self.func('set_%s' % key) if func and not self.check_mode: try: self.invoke(func, self) except Exception as exc: self.fail(exc.message) return changes def connect(self): if self.params['config']: pyeapi.load_config(self.params['config']) config = dict() if self.params['connection']: config = pyeapi.config_for(self.params['connection']) if not config: msg = 'Connection name "%s" not found' % self.params['connection'] self.fail(msg) if self.params['username']: config['username'] = self.params['username'] if self.params['password']: config['password'] = self.params['password'] if self.params['transport']: config['transport'] = self.params['transport'] if self.params['port']: config['port'] = self.params['port'] if self.params['host']: config['host'] = self.params['host'] if 'transport' not in config: self.fail('Connection must define a transport') connection = pyeapi.client.make_connection(**config) self.log('Creating connection with autorefresh=%s' % self._autorefresh) node = pyeapi.client.Node(connection, autorefresh=self._autorefresh, **config) try: resp = node.enable('show version') self.debug('eos_version', resp[0]['result']['version']) self.debug('eos_model', resp[0]['result']['modelName']) except (pyeapi.eapilib.ConnectionError, pyeapi.eapilib.CommandError): self.fail('unable to connect to %s' % node) else: self.log('Connected to node %s' % node) self.debug('node', str(node)) return node def config(self, commands): self.result['changed'] = True if not self.check_mode: self.node.config(commands) def api(self, module): return self.node.api(module) def func(self, name): return globals().get(name) def invoke(self, func, *args, **kwargs): try: return func(*args, **kwargs) except Exception as exc: self.fail(exc.message) def invoke_function(self, name, *args, **kwargs): func = self.func(name) if func: return self.invoke(func, *args, **kwargs) def fail(self, msg): self.invoke_function('on_fail', self) self.log('ERROR: %s' % msg, syslog.LOG_ERR) self.fail_json(msg=msg) def exit(self): self.invoke_function('on_exit', self) self.log('Module completed successfully') self.exit_json(**self.result) def refresh(self): self._instance = None def debug(self, key, value): if self._debug: if 'debug' not in self.result: self.result['debug'] = dict() self.result['debug'][key] = value def log(self, message, log_args=None, priority=None): if self._logging: syslog.openlog('ansible-eos') priority = priority or DEFAULT_SYSLOG_PRIORITY syslog.syslog(priority, str(message)) @classmethod def add_state(cls, name): cls.stateful_args['state']['choices'].append(name) #<<EOS_COMMON_MODULE_END>> def instance(module): """ Returns an instance of Routemaps based on name, action and sequence number. """ name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) _instance = dict(name=name, action=action, seqno=seqno, state='absent') try: result = module.api('routemaps').get(name)[action][seqno] except: result = None if result: _instance['state'] = 'present' _instance['seqno'] = str(seqno) _instance['set'] = ','.join(result['set']) desc = result['description'] _instance['description'] = desc if desc else '' _instance['match'] = ','.join(result['match']) cont = result['continue'] _instance['continue'] = str(cont) if cont else '' return _instance def create(module): name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) module.log('Invoked create for eos_routemap[%s %s %s]' % (name, action, seqno)) module.api('routemaps').create(name, action, seqno) def remove(module): name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) module.log('Invoked remove for eos_routemap[%s %s %s]' % (name, action, seqno)) module.api('routemaps').delete(name, action, seqno) def set_description(module): """ Configures the description for the routemap """ name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) value = module.attributes['description'] module.log('Invoked set_description with %s for eos_routemap[%s %s %s]' % (value, name, action, seqno)) if value == '': module.node.api('routemaps').set_description(name, action, seqno, disable=True) else: module.node.api('routemaps').set_description(name, action, seqno, value) def set_continue(module): """ Configures the continue value for the routemap """ name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) try: value = int(module.attributes['continue']) except: value = None module.log('Invoked set_continue for eos_routemap[%s %s %s]' % (name, action, seqno)) if value is None: module.node.api('routemaps').set_continue(name, action, seqno, disable=True) else: module.node.api('routemaps').set_continue(name, action, seqno, value) def set_match(module): """ Configures the match statements for the routemap """ name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) statements = module.attributes['match'].split(',') module.log('Invoked set_match for eos_routemap[%s %s %s]' % (name, action, seqno)) module.node.api('routemaps').set_match_statements(name, action, seqno, statements) def set_set(module): """ Configures the set statements for the routemap """ name = module.attributes['name'] action = module.attributes['action'] seqno = int(module.attributes['seqno']) statements = module.attributes['set'].split(',') module.log('Invoked set_set for eos_routemap[%s %s %s]' % (name, action, seqno)) module.node.api('routemaps').set_set_statements(name, action, seqno, statements) def main(): """ The main module routine called when the module is run by Ansible """ argument_spec = dict( name=dict(required=True), action=dict(default='permit', choices=['permit', 'deny']), seqno=dict(required=True), description=dict(), match=dict(), set=dict() ) argument_spec['continue'] = dict() module = EosAnsibleModule(argument_spec=argument_spec, supports_check_mode=True) module.flush(True) main()
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 13, 29937, 13, 29937, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29945, 29892, 826, 2079, 8527, 29879, 29892, 9266, 29889, 13, 29937, 2178, 10462, 21676, 29889, 13, 29937, 13, 29937, 4367, 391, 3224, 322, 671, 297, 2752, 322, 7581, 7190, 29892, 411, 470, 1728, 13, 29937, 21733, 29892, 526, 21905, 4944, 393, 278, 1494, 5855, 526, 13, 29937, 1539, 29901, 13, 29937, 13, 29937, 259, 4367, 391, 3224, 29879, 310, 2752, 775, 1818, 11551, 278, 2038, 3509, 1266, 8369, 29892, 13, 29937, 259, 445, 1051, 310, 5855, 322, 278, 1494, 2313, 433, 4193, 29889, 13, 29937, 13, 29937, 259, 4367, 391, 3224, 29879, 297, 7581, 883, 1818, 18532, 278, 2038, 3509, 1266, 13, 29937, 259, 8369, 29892, 445, 1051, 310, 5855, 322, 278, 1494, 2313, 433, 4193, 297, 278, 13, 29937, 259, 5106, 322, 29914, 272, 916, 17279, 4944, 411, 278, 4978, 29889, 13, 29937, 13, 29937, 259, 2448, 2121, 278, 1024, 310, 826, 2079, 8527, 29879, 3643, 278, 2983, 310, 967, 13, 29937, 259, 17737, 29560, 1122, 367, 1304, 304, 1095, 272, 344, 470, 27391, 9316, 10723, 515, 13, 29937, 259, 445, 7047, 1728, 2702, 7536, 3971, 10751, 29889, 13, 29937, 13, 29937, 3446, 3235, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 6770, 6093, 315, 4590, 29979, 22789, 3912, 379, 5607, 8032, 29903, 5300, 8707, 29911, 3960, 29933, 2692, 24125, 13, 29937, 376, 3289, 8519, 29908, 5300, 13764, 29979, 8528, 15094, 1799, 6323, 306, 3580, 5265, 3352, 399, 1718, 29934, 13566, 29059, 29892, 2672, 6154, 15789, 4214, 29892, 350, 2692, 6058, 13, 29937, 27848, 3352, 7495, 29892, 6093, 306, 3580, 5265, 3352, 399, 1718, 29934, 13566, 29059, 8079, 341, 1001, 3210, 13566, 2882, 6227, 11937, 5300, 383, 1806, 8186, 1799, 15842, 13, 29937, 319, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 319, 1525, 28657, 13875, 8890, 29928, 29889, 2672, 11698, 382, 29963, 3919, 24972, 9818, 319, 3960, 1254, 29909, 405, 2544, 11686, 17557, 13, 29937, 20700, 17705, 6181, 15842, 13764, 29979, 22471, 26282, 29892, 2672, 4571, 26282, 29892, 2672, 29907, 1367, 3919, 1964, 29892, 317, 4162, 8426, 1964, 29892, 8528, 29923, 3580, 29931, 19926, 29892, 6323, 13, 29937, 8707, 1660, 13356, 3919, 25758, 21330, 1529, 1692, 29903, 313, 1177, 6154, 15789, 4214, 29892, 350, 2692, 6058, 27848, 3352, 7495, 29892, 13756, 29907, 11499, 13780, 8079, 13, 29937, 27092, 1254, 1806, 26027, 21947, 29949, 8452, 6323, 26996, 29963, 2965, 2890, 29936, 11247, 1799, 8079, 501, 1660, 29892, 360, 8254, 29892, 6323, 13756, 29943, 1806, 29903, 29936, 6323, 13, 29937, 350, 3308, 8895, 1799, 2672, 4945, 29934, 4897, 29911, 2725, 29897, 29832, 8851, 5348, 12766, 17171, 29928, 5300, 6732, 13764, 29979, 6093, 18929, 8079, 17705, 2882, 6227, 11937, 29892, 13, 29937, 12317, 2544, 4448, 2672, 8707, 29911, 4717, 1783, 29892, 6850, 3960, 1783, 17705, 2882, 6227, 11937, 29892, 6323, 323, 8476, 313, 1177, 6154, 15789, 4214, 405, 11787, 5265, 24647, 4741, 13, 29937, 6323, 438, 29911, 4448, 22119, 1660, 29897, 9033, 3235, 4214, 2672, 13764, 29979, 399, 29909, 29979, 19474, 8079, 6093, 501, 1660, 8079, 3446, 3235, 7791, 7818, 12982, 1525, 29892, 382, 29963, 1430, 13, 29937, 10762, 11033, 18118, 1660, 29928, 8079, 6093, 21521, 1799, 8979, 6227, 11937, 8079, 20134, 3210, 21330, 1529, 1692, 29889, 13, 29937, 13, 28665, 5005, 3919, 8098, 353, 9995, 13, 5634, 13, 5453, 29901, 321, 359, 29918, 14608, 331, 481, 13, 12759, 29918, 8216, 29901, 2315, 482, 382, 3267, 6745, 331, 481, 7788, 13, 8216, 29901, 13, 29871, 448, 910, 3883, 674, 10933, 6745, 331, 481, 9976, 373, 382, 3267, 7573, 13, 3259, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 7320, 29901, 12034, 25219, 13, 8921, 29901, 826, 2079, 382, 3267, 29974, 13, 12277, 1860, 29901, 13, 29871, 448, 826, 2079, 382, 3267, 29871, 29946, 29889, 29896, 29941, 29889, 29955, 29924, 470, 2678, 411, 1899, 3450, 9615, 13, 29871, 448, 5132, 12477, 363, 321, 8787, 29871, 29900, 29889, 29946, 29889, 29900, 470, 2678, 13, 16953, 29901, 13, 29871, 448, 2178, 5285, 338, 1957, 1526, 327, 296, 6521, 6467, 6790, 13, 29871, 448, 18601, 29879, 321, 359, 1539, 481, 11269, 2699, 363, 773, 278, 321, 8787, 8608, 13, 29871, 448, 18601, 29879, 2106, 1319, 6503, 5285, 29889, 13, 6768, 29901, 13, 29871, 1024, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 1024, 310, 278, 6745, 331, 481, 304, 10933, 29889, 13, 1678, 3734, 29901, 1565, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 3158, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 3158, 6942, 411, 278, 6745, 331, 481, 1024, 29889, 13, 1678, 3734, 29901, 1565, 13, 1678, 2322, 29901, 525, 546, 2415, 29915, 13, 1678, 19995, 29901, 6024, 546, 2415, 3788, 1145, 29891, 2033, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 19359, 1217, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 5665, 1353, 310, 278, 5751, 393, 445, 6251, 16161, 304, 29889, 13, 1678, 3734, 29901, 1565, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 6139, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 6139, 363, 445, 6745, 331, 481, 6251, 29889, 13, 1678, 3734, 29901, 2089, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 1993, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 1051, 310, 1993, 9506, 393, 4529, 278, 6745, 331, 481, 6251, 29889, 450, 13, 4706, 1993, 9506, 881, 367, 263, 16694, 13055, 1051, 310, 1993, 9506, 13, 4706, 1728, 278, 1734, 1993, 472, 278, 6763, 310, 278, 1347, 29889, 2823, 278, 1342, 13, 4706, 2400, 363, 901, 2472, 29889, 13, 1678, 3734, 29901, 2089, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 731, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 1051, 310, 731, 9506, 393, 4529, 278, 6745, 331, 481, 6251, 29889, 450, 13, 4706, 731, 9506, 881, 367, 263, 16694, 13055, 1051, 310, 731, 9506, 13, 4706, 1728, 278, 1734, 731, 472, 278, 6763, 310, 278, 1347, 29889, 2823, 278, 1342, 13, 4706, 2400, 363, 901, 2472, 29889, 13, 1678, 3734, 29901, 2089, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 29871, 6773, 29901, 13, 1678, 6139, 29901, 13, 418, 448, 450, 3229, 17645, 278, 2446, 6745, 331, 481, 11845, 304, 14707, 29889, 13, 1678, 3734, 29901, 2089, 13, 1678, 2322, 29901, 1870, 13, 1678, 19995, 29901, 5159, 13, 1678, 14430, 2129, 29901, 5159, 13, 1678, 1873, 29918, 23959, 29901, 29871, 29896, 29889, 29906, 29889, 29900, 13, 15945, 29908, 13, 13, 5746, 19297, 17101, 353, 9995, 13, 13, 29899, 321, 359, 29918, 14608, 331, 481, 29901, 1024, 29922, 1758, 29896, 3158, 29922, 546, 2415, 19359, 1217, 29922, 29896, 29900, 13, 18884, 6139, 2433, 1366, 338, 263, 2107, 6745, 331, 481, 29915, 13, 18884, 1993, 2433, 294, 29871, 29945, 29900, 29892, 13248, 382, 721, 1212, 29906, 29915, 13, 18884, 731, 2433, 4039, 29871, 29896, 29900, 29900, 29892, 7915, 29871, 29896, 29900, 29900, 29900, 29915, 13, 18884, 6773, 29922, 29906, 29900, 13, 15945, 29908, 13, 29937, 9314, 29923, 3267, 29918, 3217, 7428, 1164, 29918, 6720, 14849, 1307, 29918, 25826, 6778, 13, 13, 5215, 10876, 1188, 13, 5215, 16250, 13, 13, 3166, 385, 1687, 29889, 5453, 29918, 13239, 29889, 16121, 1053, 334, 13, 13, 2202, 29901, 13, 1678, 1053, 282, 4099, 2754, 13, 1678, 349, 29979, 29923, 8787, 29918, 26612, 6227, 6181, 353, 5852, 13, 19499, 16032, 2392, 29901, 13, 1678, 349, 29979, 29923, 8787, 29918, 26612, 6227, 6181, 353, 7700, 13, 13, 23397, 29918, 14816, 29903, 14480, 29918, 29829, 1955, 11937, 353, 10876, 1188, 29889, 14480, 29918, 12256, 12107, 13, 23397, 29918, 6007, 8186, 9838, 353, 525, 7640, 29915, 13, 26813, 5550, 8476, 29903, 353, 6024, 11514, 742, 525, 1124, 742, 525, 991, 742, 525, 1124, 29918, 2997, 2033, 13, 13, 1990, 382, 359, 5350, 29898, 3318, 1125, 13, 13, 1678, 4770, 15697, 1649, 353, 6024, 6786, 742, 525, 5630, 742, 525, 3069, 742, 525, 27882, 742, 525, 637, 2033, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3579, 19290, 1125, 13, 4706, 1583, 29889, 9965, 353, 9049, 5085, 1839, 9965, 2033, 13, 4706, 1583, 29889, 27882, 353, 9049, 5085, 29889, 657, 877, 27882, 1495, 13, 13, 4706, 1583, 29889, 6786, 353, 9049, 5085, 29889, 657, 877, 6786, 1495, 13, 4706, 1583, 29889, 5630, 353, 9049, 5085, 29889, 657, 877, 5630, 1495, 13, 13, 4706, 1583, 29889, 3069, 353, 9049, 5085, 29889, 657, 877, 3069, 1495, 13, 4706, 1583, 29889, 637, 353, 9049, 5085, 29889, 657, 877, 637, 1495, 13, 13, 4706, 1583, 29889, 2917, 353, 9049, 5085, 29889, 657, 877, 2917, 1495, 13, 13, 1678, 822, 4511, 29898, 1311, 1125, 13, 4706, 565, 1583, 29889, 2917, 338, 451, 6213, 29901, 13, 9651, 282, 4099, 2754, 29889, 1359, 29918, 2917, 29898, 1311, 29889, 2917, 29897, 13, 13, 4706, 2295, 353, 9657, 580, 13, 13, 4706, 565, 1583, 29889, 9965, 338, 451, 6213, 29901, 13, 9651, 2295, 353, 282, 4099, 2754, 29889, 2917, 29918, 1454, 29898, 1311, 29889, 9965, 29897, 13, 9651, 565, 451, 2295, 29901, 13, 18884, 10191, 353, 525, 5350, 1024, 29850, 5038, 451, 1476, 4286, 4830, 29898, 1311, 29889, 9965, 29897, 13, 13, 4706, 363, 1820, 297, 1583, 17255, 15697, 1649, 29901, 13, 9651, 565, 679, 5552, 29898, 1311, 29892, 1820, 29897, 338, 451, 6213, 29901, 13, 18884, 2295, 29961, 1989, 29962, 353, 679, 5552, 29898, 1311, 29892, 1820, 29897, 13, 13, 4706, 565, 525, 27882, 29915, 451, 297, 2295, 29901, 13, 9651, 12020, 7865, 2392, 877, 5350, 1818, 4529, 263, 8608, 1495, 13, 13, 4706, 3957, 353, 282, 4099, 2754, 29889, 4645, 29889, 5675, 29918, 9965, 29898, 1068, 2917, 29897, 13, 4706, 2943, 353, 282, 4099, 2754, 29889, 4645, 29889, 4247, 29898, 9965, 29892, 3579, 2917, 29897, 13, 13, 4706, 1018, 29901, 13, 9651, 2943, 29889, 12007, 877, 4294, 1873, 1495, 13, 4706, 5174, 313, 2272, 29872, 2754, 29889, 29872, 481, 15943, 29889, 5350, 2392, 29892, 282, 4099, 2754, 29889, 29872, 481, 15943, 29889, 6255, 2392, 1125, 13, 9651, 12020, 7865, 2392, 877, 348, 519, 304, 4511, 304, 6571, 4286, 4830, 29898, 3177, 876, 13, 4706, 736, 2943, 13, 13, 13, 1990, 382, 359, 2744, 1687, 7355, 29898, 2744, 1687, 7355, 1125, 13, 13, 1678, 12700, 29918, 5085, 353, 426, 13, 4706, 525, 2917, 2396, 9657, 3285, 13, 4706, 525, 6786, 2396, 9657, 3285, 13, 4706, 525, 5630, 2396, 9657, 3285, 13, 4706, 525, 3069, 2396, 9657, 3285, 13, 4706, 525, 9965, 2396, 9657, 29898, 4381, 29922, 23397, 29918, 6007, 8186, 9838, 511, 13, 4706, 525, 27882, 2396, 9657, 29898, 1859, 1575, 29922, 26813, 5550, 8476, 29903, 511, 13, 4706, 525, 637, 2396, 9657, 3285, 13, 4706, 525, 8382, 2396, 9657, 29898, 1853, 2433, 11227, 742, 2322, 2433, 4541, 5477, 13, 4706, 525, 21027, 2396, 9657, 29898, 1853, 2433, 11227, 742, 2322, 2433, 3009, 1495, 13, 1678, 500, 13, 13, 1678, 2106, 1319, 29918, 5085, 353, 426, 13, 4706, 525, 3859, 2396, 9657, 29898, 4381, 2433, 6338, 742, 19995, 29922, 1839, 6338, 742, 525, 6897, 296, 2033, 511, 13, 1678, 500, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2106, 1319, 29922, 5574, 29892, 1120, 487, 29888, 3781, 29922, 8824, 29892, 334, 5085, 29892, 3579, 19290, 1125, 13, 13, 4706, 9049, 5085, 1839, 23516, 29918, 6550, 13359, 5504, 29898, 1311, 29889, 7299, 29918, 5085, 29897, 13, 13, 4706, 1583, 3032, 3859, 1319, 353, 2106, 1319, 13, 4706, 565, 2106, 1319, 29901, 13, 9651, 9049, 5085, 1839, 23516, 29918, 6550, 13359, 5504, 29898, 1311, 29889, 3859, 1319, 29918, 5085, 29897, 13, 13, 4706, 444, 3674, 29892, 577, 297, 530, 1687, 29871, 29906, 29889, 29900, 29892, 13, 4706, 444, 530, 1687, 7355, 17255, 2344, 1649, 580, 6166, 1583, 29889, 7529, 322, 769, 13, 4706, 444, 259, 5717, 1583, 29889, 1188, 580, 13, 4706, 444, 259, 313, 20678, 1583, 3032, 1188, 29918, 11569, 10610, 3101, 13, 4706, 444, 13, 4706, 444, 2398, 29892, 1583, 29889, 1188, 580, 313, 957, 2429, 1145, 297, 382, 359, 2744, 1687, 7355, 29897, 13, 4706, 444, 259, 9282, 1583, 3032, 21027, 13, 4706, 444, 322, 1583, 3032, 21027, 313, 12119, 297, 382, 359, 2744, 1687, 7355, 29897, 13, 4706, 444, 259, 9282, 1583, 29889, 7529, 29889, 13, 4706, 444, 13, 4706, 444, 1105, 2023, 306, 29915, 29885, 16184, 1583, 3032, 21027, 1728, 376, 272, 1583, 29889, 7529, 1839, 21027, 2033, 29908, 13, 4706, 444, 259, 334, 11083, 29930, 530, 1687, 7355, 17255, 2344, 1649, 580, 304, 4772, 263, 376, 999, 1434, 822, 1642, 13, 4706, 444, 13, 4706, 444, 306, 26834, 393, 445, 1736, 411, 530, 1687, 29871, 29896, 29889, 29929, 29889, 29946, 322, 29871, 29906, 29889, 29900, 29889, 29900, 29889, 29906, 29889, 13, 4706, 444, 450, 871, 24230, 271, 338, 393, 278, 937, 1480, 2643, 297, 13, 4706, 444, 259, 530, 1687, 7355, 17255, 2344, 1649, 580, 2113, 29915, 29873, 367, 4967, 304, 278, 995, 310, 13, 4706, 444, 259, 1583, 29889, 7529, 1839, 21027, 13359, 13, 4706, 1583, 3032, 21027, 353, 9049, 5085, 29889, 657, 877, 21027, 1495, 13, 4706, 2428, 29898, 29923, 359, 2744, 1687, 7355, 29892, 1583, 467, 1649, 2344, 1649, 10456, 5085, 29892, 3579, 19290, 29897, 13, 13, 4706, 1583, 29889, 2914, 353, 9657, 29898, 15033, 29922, 8824, 29892, 3620, 29922, 8977, 3101, 13, 13, 4706, 1583, 3032, 8382, 353, 9049, 5085, 29889, 657, 877, 8382, 1495, 470, 1583, 29889, 20054, 29898, 1311, 29889, 7529, 1839, 8382, 11287, 13, 4706, 1583, 3032, 21027, 353, 9049, 5085, 29889, 657, 877, 21027, 1495, 470, 1583, 29889, 7529, 1839, 21027, 2033, 13, 13, 4706, 1583, 29889, 1188, 877, 18525, 7353, 338, 1273, 29879, 29915, 1273, 1583, 3032, 8382, 29897, 13, 13, 4706, 1583, 29889, 8382, 877, 2272, 29872, 2754, 29918, 3259, 742, 1583, 29889, 3198, 29918, 2272, 29872, 2754, 3101, 13, 4706, 1583, 29889, 8382, 877, 3859, 1319, 742, 1583, 3032, 3859, 1319, 29897, 13, 4706, 1583, 29889, 8382, 877, 7529, 742, 1583, 29889, 7529, 29897, 13, 13, 4706, 1583, 3032, 15697, 353, 1583, 29889, 1958, 29918, 23516, 29918, 6550, 580, 13, 4706, 1583, 29889, 15480, 580, 13, 4706, 1583, 3032, 28629, 29888, 3781, 353, 1120, 487, 29888, 3781, 13, 4706, 1583, 3032, 3177, 353, 382, 359, 5350, 29898, 1068, 1311, 29889, 7529, 29897, 13, 4706, 1583, 3032, 3177, 29889, 6915, 580, 13, 13, 4706, 1583, 3032, 3177, 353, 1583, 29889, 6915, 580, 13, 4706, 1583, 3032, 8758, 353, 6213, 13, 13, 4706, 1583, 29889, 2783, 2859, 29918, 3859, 353, 1583, 29889, 7529, 1839, 3859, 2033, 565, 1583, 3032, 3859, 1319, 1683, 6213, 13, 4706, 1583, 29889, 13322, 29918, 7045, 29918, 23126, 353, 9049, 5085, 29889, 657, 877, 13322, 29918, 7045, 29918, 23126, 1495, 13, 13, 1678, 732, 6799, 13, 1678, 822, 2777, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 8758, 29901, 13, 9651, 736, 1583, 3032, 8758, 13, 13, 4706, 3653, 353, 1583, 29889, 9891, 877, 8758, 1495, 13, 4706, 565, 451, 3653, 29901, 13, 9651, 1583, 29889, 14057, 877, 7355, 947, 451, 2304, 376, 8758, 29908, 1495, 13, 13, 4706, 1018, 29901, 13, 9651, 1583, 3032, 8758, 353, 3653, 29898, 1311, 29897, 13, 4706, 5174, 8960, 408, 5566, 29901, 13, 9651, 1583, 29889, 14057, 877, 8758, 29961, 2704, 5387, 1273, 29879, 29915, 1273, 5566, 29889, 4906, 29897, 13, 13, 4706, 1583, 29889, 1188, 703, 13998, 2777, 29901, 1273, 29879, 29908, 1273, 1583, 3032, 8758, 29897, 13, 4706, 736, 1583, 3032, 8758, 13, 13, 1678, 732, 6799, 13, 1678, 822, 8393, 29898, 1311, 1125, 13, 4706, 736, 1583, 3032, 15697, 13, 13, 1678, 732, 6799, 13, 1678, 822, 2943, 29898, 1311, 1125, 13, 4706, 736, 1583, 3032, 3177, 13, 13, 1678, 822, 1423, 29918, 2272, 29872, 2754, 29898, 1311, 1125, 13, 4706, 565, 451, 349, 29979, 29923, 8787, 29918, 26612, 6227, 6181, 29901, 13, 9651, 1583, 29889, 14057, 877, 2525, 519, 304, 1053, 282, 4099, 2754, 29892, 338, 372, 5130, 29973, 1495, 13, 4706, 736, 282, 4099, 2754, 17255, 3259, 1649, 13, 13, 1678, 822, 2910, 29918, 23516, 29918, 6550, 29898, 1311, 1125, 13, 4706, 9995, 1958, 29918, 23516, 29918, 6550, 11053, 871, 278, 3883, 2980, 1580, 304, 12421, 29879, 13, 13, 4706, 910, 1158, 674, 2910, 278, 6273, 3135, 26134, 278, 12700, 29918, 5085, 304, 12421, 29879, 13, 4706, 322, 736, 278, 12421, 29879, 29889, 29871, 910, 3639, 263, 9657, 1203, 393, 7805, 871, 13, 4706, 278, 2441, 6389, 3135, 2298, 278, 2106, 1319, 29918, 5085, 313, 361, 1583, 3032, 3859, 1319, 29922, 5574, 29897, 13, 13, 4706, 16969, 29901, 13, 9651, 9657, 29901, 16969, 263, 9657, 1203, 393, 7805, 278, 2441, 13, 18884, 2980, 29918, 6550, 2298, 2106, 1319, 29918, 5085, 411, 1819, 26134, 12700, 29918, 5085, 13, 13, 4706, 9995, 13, 4706, 6611, 353, 731, 29898, 1311, 29889, 7529, 467, 29881, 17678, 29898, 1311, 29889, 7299, 29918, 5085, 29897, 13, 4706, 12421, 29879, 353, 9657, 580, 13, 4706, 12421, 29879, 353, 9657, 4197, 29898, 29895, 29892, 1583, 29889, 7529, 29961, 29895, 2314, 363, 413, 297, 1583, 29889, 7529, 565, 413, 297, 6611, 2314, 13, 4706, 565, 525, 3210, 16658, 20387, 29915, 297, 12421, 29879, 29901, 13, 9651, 628, 12421, 29879, 1839, 3210, 16658, 20387, 2033, 13, 4706, 736, 12421, 29879, 13, 13, 1678, 822, 12725, 29898, 1311, 1125, 13, 4706, 363, 1820, 29892, 995, 297, 1583, 29889, 15697, 29889, 1524, 7076, 7295, 13, 9651, 3653, 353, 1583, 29889, 9891, 877, 15480, 29918, 29995, 29879, 29915, 1273, 1820, 29897, 13, 9651, 565, 3653, 29901, 13, 18884, 1583, 29889, 15697, 29961, 1989, 29962, 353, 3653, 29898, 1767, 29897, 13, 13, 1678, 822, 1653, 29898, 1311, 1125, 13, 4706, 565, 451, 1583, 29889, 3198, 29918, 8513, 29901, 13, 9651, 3653, 353, 1583, 29889, 9891, 877, 3258, 1495, 13, 9651, 565, 451, 3653, 29901, 13, 18884, 1583, 29889, 14057, 877, 7355, 1818, 4529, 376, 3258, 29908, 740, 1495, 13, 9651, 736, 1583, 29889, 9772, 29898, 9891, 29892, 1583, 29897, 13, 13, 1678, 822, 3349, 29898, 1311, 1125, 13, 4706, 565, 451, 1583, 29889, 3198, 29918, 8513, 29901, 13, 9651, 3653, 353, 1583, 29889, 9891, 877, 5992, 1495, 13, 9651, 565, 451, 3653, 29901, 13, 18884, 1583, 29889, 14057, 877, 7355, 1556, 4529, 376, 5992, 29908, 740, 1495, 13, 9651, 736, 1583, 29889, 9772, 29898, 9891, 29892, 1583, 29897, 13, 13, 1678, 822, 28371, 29898, 1311, 29892, 6876, 29918, 7045, 29918, 23126, 29922, 8824, 1125, 13, 4706, 1583, 29889, 13322, 29918, 7045, 29918, 23126, 353, 6876, 29918, 7045, 29918, 23126, 13, 13, 4706, 565, 1583, 29889, 2783, 2859, 29918, 3859, 1275, 525, 6338, 29915, 470, 451, 1583, 3032, 3859, 1319, 29901, 13, 9651, 565, 1583, 29889, 8758, 29889, 657, 877, 3859, 1495, 1275, 525, 6897, 296, 2396, 13, 18884, 3939, 353, 1583, 29889, 3258, 580, 13, 18884, 1583, 29889, 2914, 1839, 15033, 2033, 353, 3939, 470, 5852, 13, 18884, 1583, 29889, 22379, 580, 13, 18884, 396, 2860, 263, 1653, 1899, 29892, 28371, 278, 2734, 29899, 2917, 13, 18884, 396, 577, 591, 679, 278, 9281, 363, 738, 916, 8393, 13, 18884, 1583, 3032, 3177, 3032, 21094, 29918, 2917, 353, 6213, 13, 13, 9651, 3620, 300, 353, 1583, 29889, 15697, 29889, 1493, 7076, 580, 448, 1583, 29889, 8758, 29889, 1493, 7076, 580, 13, 13, 9651, 565, 1583, 3032, 8382, 29901, 13, 18884, 1583, 29889, 8382, 877, 2783, 2859, 29918, 3859, 742, 1583, 29889, 15697, 29897, 13, 18884, 1583, 29889, 8382, 877, 3784, 29918, 3859, 742, 1583, 29889, 8758, 29897, 13, 13, 9651, 3620, 353, 1583, 29889, 5504, 29898, 25990, 300, 29897, 13, 9651, 565, 3620, 29901, 13, 18884, 1583, 29889, 2914, 1839, 25990, 2033, 353, 3620, 13, 18884, 1583, 29889, 2914, 1839, 15033, 2033, 353, 5852, 13, 13, 9651, 1583, 3032, 15697, 29889, 5504, 29898, 25990, 29897, 13, 13, 9651, 28371, 353, 1583, 29889, 9891, 877, 23126, 1495, 13, 9651, 565, 28371, 29901, 13, 18884, 1583, 29889, 9772, 29898, 23126, 29892, 1583, 29897, 13, 13, 4706, 25342, 1583, 29889, 2783, 2859, 29918, 3859, 1275, 525, 6897, 296, 29915, 322, 1583, 3032, 3859, 1319, 29901, 13, 9651, 565, 1583, 29889, 8758, 29889, 657, 877, 3859, 1495, 1275, 525, 6338, 2396, 13, 18884, 3939, 353, 1583, 29889, 5992, 580, 13, 18884, 1583, 29889, 2914, 1839, 15033, 2033, 353, 3939, 470, 5852, 13, 13, 4706, 25342, 1583, 3032, 3859, 1319, 29901, 13, 9651, 565, 1583, 29889, 2783, 2859, 29918, 3859, 2804, 1583, 29889, 8758, 29889, 657, 877, 3859, 29374, 13, 18884, 3653, 353, 1583, 29889, 9891, 29898, 1311, 29889, 2783, 2859, 29918, 3859, 29897, 13, 18884, 3939, 353, 1583, 29889, 9772, 29898, 9891, 29892, 1583, 29897, 13, 18884, 1583, 29889, 2914, 1839, 15033, 2033, 353, 3939, 470, 5852, 13, 13, 4706, 1583, 29889, 22379, 580, 13, 4706, 396, 2648, 5432, 1583, 29889, 8758, 1244, 591, 7135, 1790, 1510, 2734, 29899, 2917, 13, 4706, 396, 599, 607, 9946, 9055, 29889, 29871, 9333, 565, 4744, 338, 9615, 437, 591, 1246, 445, 13, 4706, 396, 1951, 372, 674, 2479, 278, 9281, 2106, 310, 278, 1203, 29889, 13, 4706, 565, 1583, 3032, 8382, 29901, 13, 9651, 1583, 29889, 2914, 1839, 8758, 2033, 353, 1583, 29889, 8758, 13, 13, 4706, 565, 1583, 29889, 13322, 29918, 7045, 29918, 23126, 29901, 13, 9651, 1583, 29889, 13322, 580, 13, 13, 1678, 822, 2767, 29898, 1311, 29892, 3620, 300, 1125, 13, 4706, 3620, 353, 9657, 580, 13, 4706, 363, 1820, 29892, 995, 297, 3620, 300, 29901, 13, 9651, 565, 995, 338, 451, 6213, 29901, 13, 18884, 3620, 29961, 1989, 29962, 353, 995, 13, 18884, 3653, 353, 1583, 29889, 9891, 877, 842, 29918, 29995, 29879, 29915, 1273, 1820, 29897, 13, 18884, 565, 3653, 322, 451, 1583, 29889, 3198, 29918, 8513, 29901, 13, 462, 1678, 1018, 29901, 13, 462, 4706, 1583, 29889, 9772, 29898, 9891, 29892, 1583, 29897, 13, 462, 1678, 5174, 8960, 408, 5566, 29901, 13, 462, 4706, 1583, 29889, 14057, 29898, 735, 29883, 29889, 4906, 29897, 13, 4706, 736, 3620, 13, 13, 1678, 822, 4511, 29898, 1311, 1125, 13, 4706, 565, 1583, 29889, 7529, 1839, 2917, 2033, 29901, 13, 9651, 282, 4099, 2754, 29889, 1359, 29918, 2917, 29898, 1311, 29889, 7529, 1839, 2917, 11287, 13, 13, 4706, 2295, 353, 9657, 580, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 9965, 2033, 29901, 13, 9651, 2295, 353, 282, 4099, 2754, 29889, 2917, 29918, 1454, 29898, 1311, 29889, 7529, 1839, 9965, 11287, 13, 9651, 565, 451, 2295, 29901, 13, 18884, 10191, 353, 525, 5350, 1024, 11860, 29879, 29908, 451, 1476, 29915, 1273, 1583, 29889, 7529, 1839, 9965, 2033, 13, 18884, 1583, 29889, 14057, 29898, 7645, 29897, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 6786, 2033, 29901, 13, 9651, 2295, 1839, 6786, 2033, 353, 1583, 29889, 7529, 1839, 6786, 2033, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 5630, 2033, 29901, 13, 9651, 2295, 1839, 5630, 2033, 353, 1583, 29889, 7529, 1839, 5630, 2033, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 27882, 2033, 29901, 13, 9651, 2295, 1839, 27882, 2033, 353, 1583, 29889, 7529, 1839, 27882, 2033, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 637, 2033, 29901, 13, 9651, 2295, 1839, 637, 2033, 353, 1583, 29889, 7529, 1839, 637, 2033, 13, 13, 4706, 565, 1583, 29889, 7529, 1839, 3069, 2033, 29901, 13, 9651, 2295, 1839, 3069, 2033, 353, 1583, 29889, 7529, 1839, 3069, 2033, 13, 13, 4706, 565, 525, 27882, 29915, 451, 297, 2295, 29901, 13, 9651, 1583, 29889, 14057, 877, 5350, 1818, 4529, 263, 8608, 1495, 13, 13, 4706, 3957, 353, 282, 4099, 2754, 29889, 4645, 29889, 5675, 29918, 9965, 29898, 1068, 2917, 29897, 13, 4706, 1583, 29889, 1188, 877, 9832, 1218, 3957, 411, 1120, 487, 29888, 3781, 16328, 29879, 29915, 1273, 1583, 3032, 28629, 29888, 3781, 29897, 13, 4706, 2943, 353, 282, 4099, 2754, 29889, 4645, 29889, 4247, 29898, 9965, 29892, 1120, 487, 29888, 3781, 29922, 1311, 3032, 28629, 29888, 3781, 29892, 13, 462, 462, 29871, 3579, 2917, 29897, 13, 13, 4706, 1018, 29901, 13, 9651, 4613, 353, 2943, 29889, 12007, 877, 4294, 1873, 1495, 13, 9651, 1583, 29889, 8382, 877, 29872, 359, 29918, 3259, 742, 4613, 29961, 29900, 22322, 2914, 16215, 3259, 11287, 13, 9651, 1583, 29889, 8382, 877, 29872, 359, 29918, 4299, 742, 4613, 29961, 29900, 22322, 2914, 16215, 4299, 1170, 11287, 13, 4706, 5174, 313, 2272, 29872, 2754, 29889, 29872, 481, 15943, 29889, 5350, 2392, 29892, 282, 4099, 2754, 29889, 29872, 481, 15943, 29889, 6255, 2392, 1125, 13, 9651, 1583, 29889, 14057, 877, 348, 519, 304, 4511, 304, 1273, 29879, 29915, 1273, 2943, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 29889, 1188, 877, 20971, 2954, 304, 2943, 1273, 29879, 29915, 1273, 2943, 29897, 13, 9651, 1583, 29889, 8382, 877, 3177, 742, 851, 29898, 3177, 876, 13, 13, 4706, 736, 2943, 13, 13, 1678, 822, 2295, 29898, 1311, 29892, 8260, 1125, 13, 4706, 1583, 29889, 2914, 1839, 15033, 2033, 353, 5852, 13, 4706, 565, 451, 1583, 29889, 3198, 29918, 8513, 29901, 13, 9651, 1583, 29889, 3177, 29889, 2917, 29898, 26381, 29897, 13, 13, 1678, 822, 7882, 29898, 1311, 29892, 3883, 1125, 13, 4706, 736, 1583, 29889, 3177, 29889, 2754, 29898, 5453, 29897, 13, 13, 1678, 822, 3653, 29898, 1311, 29892, 1024, 1125, 13, 4706, 736, 13149, 1338, 2141, 657, 29898, 978, 29897, 13, 13, 1678, 822, 15928, 29898, 1311, 29892, 3653, 29892, 334, 5085, 29892, 3579, 19290, 1125, 13, 4706, 1018, 29901, 13, 9651, 736, 3653, 10456, 5085, 29892, 3579, 19290, 29897, 13, 4706, 5174, 8960, 408, 5566, 29901, 13, 9651, 1583, 29889, 14057, 29898, 735, 29883, 29889, 4906, 29897, 13, 13, 1678, 822, 15928, 29918, 2220, 29898, 1311, 29892, 1024, 29892, 334, 5085, 29892, 3579, 19290, 1125, 13, 4706, 3653, 353, 1583, 29889, 9891, 29898, 978, 29897, 13, 4706, 565, 3653, 29901, 13, 9651, 736, 1583, 29889, 9772, 29898, 9891, 29892, 334, 5085, 29892, 3579, 19290, 29897, 13, 13, 1678, 822, 4418, 29898, 1311, 29892, 10191, 1125, 13, 4706, 1583, 29889, 9772, 29918, 2220, 877, 265, 29918, 14057, 742, 1583, 29897, 13, 4706, 1583, 29889, 1188, 877, 11432, 29901, 1273, 29879, 29915, 1273, 10191, 29892, 10876, 1188, 29889, 14480, 29918, 21662, 29897, 13, 4706, 1583, 29889, 14057, 29918, 3126, 29898, 7645, 29922, 7645, 29897, 13, 13, 1678, 822, 6876, 29898, 1311, 1125, 13, 4706, 1583, 29889, 9772, 29918, 2220, 877, 265, 29918, 13322, 742, 1583, 29897, 13, 4706, 1583, 29889, 1188, 877, 7355, 8676, 8472, 1495, 13, 4706, 1583, 29889, 13322, 29918, 3126, 29898, 1068, 1311, 29889, 2914, 29897, 13, 13, 1678, 822, 11086, 29898, 1311, 1125, 13, 4706, 1583, 3032, 8758, 353, 6213, 13, 13, 1678, 822, 4744, 29898, 1311, 29892, 1820, 29892, 995, 1125, 13, 4706, 565, 1583, 3032, 8382, 29901, 13, 9651, 565, 525, 8382, 29915, 451, 297, 1583, 29889, 2914, 29901, 13, 18884, 1583, 29889, 2914, 1839, 8382, 2033, 353, 9657, 580, 13, 9651, 1583, 29889, 2914, 1839, 8382, 2033, 29961, 1989, 29962, 353, 995, 13, 13, 1678, 822, 1480, 29898, 1311, 29892, 2643, 29892, 1480, 29918, 5085, 29922, 8516, 29892, 20136, 29922, 8516, 1125, 13, 4706, 565, 1583, 3032, 21027, 29901, 13, 9651, 10876, 1188, 29889, 3150, 1188, 877, 550, 1821, 29899, 29872, 359, 1495, 13, 9651, 20136, 353, 20136, 470, 22236, 29918, 14816, 29903, 14480, 29918, 29829, 1955, 11937, 13, 9651, 10876, 1188, 29889, 9675, 1188, 29898, 29886, 21766, 29892, 851, 29898, 4906, 876, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 788, 29918, 3859, 29898, 25932, 29892, 1024, 1125, 13, 4706, 1067, 29879, 29889, 3859, 1319, 29918, 5085, 1839, 3859, 16215, 1859, 1575, 13359, 4397, 29898, 978, 29897, 13, 13, 29937, 9314, 29923, 3267, 29918, 3217, 7428, 1164, 29918, 6720, 14849, 1307, 29918, 11794, 6778, 13, 13, 1753, 2777, 29898, 5453, 1125, 13, 1678, 9995, 16969, 385, 2777, 310, 20829, 331, 2547, 2729, 373, 1024, 29892, 3158, 322, 5665, 13, 1678, 1353, 29889, 13, 1678, 9995, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 903, 8758, 353, 9657, 29898, 978, 29922, 978, 29892, 3158, 29922, 2467, 29892, 19359, 1217, 29922, 11762, 1217, 29892, 2106, 2433, 6897, 296, 1495, 13, 1678, 1018, 29901, 13, 4706, 1121, 353, 3883, 29889, 2754, 877, 14608, 331, 2547, 2824, 657, 29898, 978, 9601, 2467, 3816, 11762, 1217, 29962, 13, 1678, 5174, 29901, 13, 4706, 1121, 353, 6213, 13, 13, 1678, 565, 1121, 29901, 13, 4706, 903, 8758, 1839, 3859, 2033, 353, 525, 6338, 29915, 13, 4706, 903, 8758, 1839, 11762, 1217, 2033, 353, 851, 29898, 11762, 1217, 29897, 13, 4706, 903, 8758, 1839, 842, 2033, 353, 13420, 4286, 7122, 29898, 2914, 1839, 842, 11287, 13, 4706, 5153, 353, 1121, 1839, 8216, 2033, 13, 4706, 903, 8758, 1839, 8216, 2033, 353, 5153, 565, 5153, 1683, 6629, 13, 4706, 903, 8758, 1839, 4352, 2033, 353, 13420, 4286, 7122, 29898, 2914, 1839, 4352, 11287, 13, 4706, 640, 353, 1121, 1839, 19878, 2033, 13, 4706, 903, 8758, 1839, 19878, 2033, 353, 851, 29898, 1285, 29897, 565, 640, 1683, 6629, 13, 1678, 736, 903, 8758, 13, 13, 13, 1753, 1653, 29898, 5453, 1125, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 1653, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 978, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 3883, 29889, 2754, 877, 14608, 331, 2547, 2824, 3258, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29897, 13, 13, 13, 1753, 3349, 29898, 5453, 1125, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 3349, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 978, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 3883, 29889, 2754, 877, 14608, 331, 2547, 2824, 8143, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29897, 13, 13, 13, 1753, 731, 29918, 8216, 29898, 5453, 1125, 13, 1678, 9995, 12782, 1973, 278, 6139, 363, 278, 6745, 331, 481, 13, 1678, 9995, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 995, 353, 3883, 29889, 15697, 1839, 8216, 2033, 13, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 731, 29918, 8216, 411, 1273, 29879, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 1767, 29892, 1024, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 565, 995, 1275, 525, 2396, 13, 4706, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 8216, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 13, 462, 462, 462, 268, 11262, 29922, 5574, 29897, 13, 1678, 1683, 29901, 13, 4706, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 8216, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 995, 29897, 13, 13, 13, 1753, 731, 29918, 19878, 29898, 5453, 1125, 13, 1678, 9995, 12782, 1973, 278, 6773, 995, 363, 278, 6745, 331, 481, 13, 1678, 9995, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 1018, 29901, 13, 4706, 995, 353, 938, 29898, 5453, 29889, 15697, 1839, 19878, 11287, 13, 1678, 5174, 29901, 13, 4706, 995, 353, 6213, 13, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 731, 29918, 19878, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 978, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 565, 995, 338, 6213, 29901, 13, 4706, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 19878, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 13, 462, 462, 462, 29871, 11262, 29922, 5574, 29897, 13, 1678, 1683, 29901, 13, 4706, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 19878, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 995, 29897, 13, 13, 13, 1753, 731, 29918, 4352, 29898, 5453, 1125, 13, 1678, 9995, 12782, 1973, 278, 1993, 9506, 363, 278, 6745, 331, 481, 13, 1678, 9995, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 9506, 353, 3883, 29889, 15697, 1839, 4352, 13359, 5451, 29317, 1495, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 731, 29918, 4352, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 978, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 4352, 29918, 6112, 4110, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 13, 462, 462, 462, 418, 9506, 29897, 13, 13, 13, 1753, 731, 29918, 842, 29898, 5453, 1125, 13, 1678, 9995, 12782, 1973, 278, 731, 9506, 363, 278, 6745, 331, 481, 13, 1678, 9995, 13, 1678, 1024, 353, 3883, 29889, 15697, 1839, 978, 2033, 13, 1678, 3158, 353, 3883, 29889, 15697, 1839, 2467, 2033, 13, 1678, 19359, 1217, 353, 938, 29898, 5453, 29889, 15697, 1839, 11762, 1217, 11287, 13, 1678, 9506, 353, 3883, 29889, 15697, 1839, 842, 13359, 5451, 29317, 1495, 13, 1678, 3883, 29889, 1188, 877, 12165, 12504, 731, 29918, 842, 363, 321, 359, 29918, 14608, 331, 481, 29961, 29995, 29879, 1273, 29879, 1273, 29879, 29962, 29915, 13, 1669, 1273, 313, 978, 29892, 3158, 29892, 19359, 1217, 876, 13, 1678, 3883, 29889, 3177, 29889, 2754, 877, 14608, 331, 2547, 2824, 842, 29918, 842, 29918, 6112, 4110, 29898, 978, 29892, 3158, 29892, 19359, 1217, 29892, 13, 462, 462, 462, 1678, 9506, 29897, 13, 13, 13, 1753, 1667, 7295, 13, 1678, 9995, 450, 1667, 3883, 26529, 2000, 746, 278, 3883, 338, 1065, 491, 530, 1687, 13, 1678, 9995, 13, 13, 1678, 2980, 29918, 6550, 353, 9657, 29898, 13, 4706, 1024, 29922, 8977, 29898, 12403, 29922, 5574, 511, 13, 4706, 3158, 29922, 8977, 29898, 4381, 2433, 546, 2415, 742, 19995, 29922, 1839, 546, 2415, 742, 525, 1145, 29891, 2033, 511, 13, 4706, 19359, 1217, 29922, 8977, 29898, 12403, 29922, 5574, 511, 13, 4706, 6139, 29922, 8977, 3285, 13, 4706, 1993, 29922, 8977, 3285, 13, 4706, 731, 29922, 8977, 580, 13, 1678, 1723, 13, 1678, 2980, 29918, 6550, 1839, 19878, 2033, 353, 9657, 580, 13, 13, 1678, 3883, 353, 382, 359, 2744, 1687, 7355, 29898, 23516, 29918, 6550, 29922, 23516, 29918, 6550, 29892, 13, 462, 795, 11286, 29918, 3198, 29918, 8513, 29922, 5574, 29897, 13, 13, 1678, 3883, 29889, 23126, 29898, 5574, 29897, 13, 13, 3396, 580, 2 ]
emo/templatetags/emoji_dict.py
richardcornish/django-emobar
1
1604260
emoji_dict = { ':smile:': 'smile.png', ':smiley:': 'smiley.png', ':grinning:': 'grinning.png', ':blush:': 'blush.png', ':relaxed:': 'relaxed.png', ':wink:': 'wink.png', ':heart_eyes:': 'heart_eyes.png', ':kissing_heart:': 'kissing_heart.png', ':kissing_closed_eyes:': 'kissing_closed_eyes.png', ':kissing:': 'kissing.png', ':kissing_smiling_eyes:': 'kissing_smiling_eyes.png', ':wink2:': 'wink2.png', ':stuck_out_tongue_closed_eyes:': 'stuck_out_tongue_closed_eyes.png', ':stuck_out_tongue:': 'stuck_out_tongue.png', ':flushed:': 'flushed.png', ':grin:': 'grin.png', ':pensive:': 'pensive.png', ':satisfied:': 'satisfied.png', ':unamused:': 'unamused.png', ':disappointed:': 'disappointed.png', ':persevere:': 'persevere.png', ':cry:': 'cry.png', ':joy:': 'joy.png', ':sob:': 'sob.png', ':sleepy:': 'sleepy.png', ':relieved:': 'relieved.png', ':cold_sweat:': 'cold_sweat.png', ':sweat_smile:': 'sweat_smile.png', ':sweat:': 'sweat.png', ':weary:': 'weary.png', ':tired_face:': 'tired_face.png', ':fearful:': 'fearful.png', ':scream:': 'scream.png', ':angry:': 'angry.png', ':rage:': 'rage.png', ':triumph:': 'triumph.png', ':confounded:': 'confounded.png', ':laughing:': 'laughing.png', ':yum:': 'yum.png', ':mask:': 'mask.png', ':sunglasses:': 'sunglasses.png', ':sleeping:': 'sleeping.png', ':dizzy_face:': 'dizzy_face.png', ':astonished:': 'astonished.png', ':worried:': 'worried.png', ':frowning:': 'frowning.png', ':anguished:': 'anguished.png', ':smiling_imp:': 'smiling_imp.png', ':imp:': 'imp.png', ':open_mouth:': 'open_mouth.png', ':grimacing:': 'grimacing.png', ':neutral_face:': 'neutral_face.png', ':confused:': 'confused.png', ':hushed:': 'hushed.png', ':no_mouth:': 'no_mouth.png', ':innocent:': 'innocent.png', ':smirk:': 'smirk.png', ':expressionless:': 'expressionless.png', ':man_with_gua_pi_mao:': 'man_with_gua_pi_mao.png', ':man_with_turban:': 'man_with_turban.png', ':cop:': 'cop.png', ':construction_worker:': 'construction_worker.png', ':guardsman:': 'guardsman.png', ':baby:': 'baby.png', ':boy:': 'boy.png', ':girl:': 'girl.png', ':man:': 'man.png', ':woman:': 'woman.png', ':older_man:': 'older_man.png', ':older_woman:': 'older_woman.png', ':person_with_blond_hair:': 'person_with_blond_hair.png', ':angel:': 'angel.png', ':princess:': 'princess.png', ':smiley_cat:': 'smiley_cat.png', ':smile_cat:': 'smile_cat.png', ':heart_eyes_cat:': 'heart_eyes_cat.png', ':kissing_cat:': 'kissing_cat.png', ':smirk_cat:': 'smirk_cat.png', ':scream_cat:': 'scream_cat.png', ':crying_cat_face:': 'crying_cat_face.png', ':joy_cat:': 'joy_cat.png', ':pouting_cat:': 'pouting_cat.png', ':japanese_ogre:': 'japanese_ogre.png', ':japanese_goblin:': 'japanese_goblin.png', ':see_no_evil:': 'see_no_evil.png', ':hear_no_evil:': 'hear_no_evil.png', ':speak_no_evil:': 'speak_no_evil.png', ':skull:': 'skull.png', ':alien:': 'alien.png', ':poop:': 'poop.png', ':fire:': 'fire.png', ':sparkles:': 'sparkles.png', ':star2:': 'star2.png', ':dizzy:': 'dizzy.png', ':boom:': 'boom.png', ':anger:': 'anger.png', ':sweat_drops:': 'sweat_drops.png', ':droplet:': 'droplet.png', ':zzz:': 'zzz.png', ':dash:': 'dash.png', ':ear:': 'ear.png', ':eyes:': 'eyes.png', ':nose:': 'nose.png', ':tongue:': 'tongue.png', ':lips:': 'lips.png', ':thumbsup:': 'thumbsup.png', ':thumbsdown:': 'thumbsdown.png', ':ok_hand:': 'ok_hand.png', ':punch:': 'punch.png', ':fist:': 'fist.png', ':v:': 'v.png', ':wave:': 'wave.png', ':hand:': 'hand.png', ':open_hands:': 'open_hands.png', ':point_up_2:': 'point_up_2.png', ':point_down:': 'point_down.png', ':point_right:': 'point_right.png', ':point_left:': 'point_left.png', ':raised_hands:': 'raised_hands.png', ':pray:': 'pray.png', ':point_up:': 'point_up.png', ':clap:': 'clap.png', ':muscle:': 'muscle.png', ':walking:': 'walking.png', ':running:': 'running.png', ':dancer:': 'dancer.png', ':couple:': 'couple.png', ':family:': 'family.png', ':two_men_holding_hands:': 'two_men_holding_hands.png', ':two_women_holding_hands:': 'two_women_holding_hands.png', ':couplekiss:': 'couplekiss.png', ':couple_with_heart:': 'couple_with_heart.png', ':dancers:': 'dancers.png', ':ok_woman:': 'ok_woman.png', ':no_good:': 'no_good.png', ':information_desk_person:': 'information_desk_person.png', ':raised_hand:': 'raised_hand.png', ':massage:': 'massage.png', ':haircut:': 'haircut.png', ':nail_care:': 'nail_care.png', ':bride_with_veil:': 'bride_with_veil.png', ':person_with_pouting_face:': 'person_with_pouting_face.png', ':person_frowning:': 'person_frowning.png', ':bow:': 'bow.png', ':tophat:': 'tophat.png', ':crown:': 'crown.png', ':womans_hat:': 'womans_hat.png', ':shoe:': 'shoe.png', ':mans_shoe:': 'mans_shoe.png', ':sandal:': 'sandal.png', ':high_heel:': 'high_heel.png', ':boot:': 'boot.png', ':shirt:': 'shirt.png', ':necktie:': 'necktie.png', ':womans_clothes:': 'womans_clothes.png', ':dress:': 'dress.png', ':running_shirt_with_sash:': 'running_shirt_with_sash.png', ':jeans:': 'jeans.png', ':kimono:': 'kimono.png', ':bikini:': 'bikini.png', ':briefcase:': 'briefcase.png', ':handbag:': 'handbag.png', ':pouch:': 'pouch.png', ':purse:': 'purse.png', ':eyeglasses:': 'eyeglasses.png', ':ribbon:': 'ribbon.png', ':closed_umbrella:': 'closed_umbrella.png', ':lipstick:': 'lipstick.png', ':yellow_heart:': 'yellow_heart.png', ':blue_heart:': 'blue_heart.png', ':purple_heart:': 'purple_heart.png', ':green_heart:': 'green_heart.png', ':heart:': 'heart.png', ':broken_heart:': 'broken_heart.png', ':heartpulse:': 'heartpulse.png', ':heartbeat:': 'heartbeat.png', ':two_hearts:': 'two_hearts.png', ':sparkling_heart:': 'sparkling_heart.png', ':revolving_hearts:': 'revolving_hearts.png', ':cupid:': 'cupid.png', ':valentine:': 'valentine.png', ':kiss:': 'kiss.png', ':ring:': 'ring.png', ':gem:': 'gem.png', ':bust_in_silhouette:': 'bust_in_silhouette.png', ':busts_in_silhouette:': 'busts_in_silhouette.png', ':speech_balloon:': 'speech_balloon.png', ':feet:': 'feet.png', ':thought_balloon:': 'thought_balloon.png', ':dog:': 'dog.png', ':wolf:': 'wolf.png', ':cat:': 'cat.png', ':mouse:': 'mouse.png', ':hamster:': 'hamster.png', ':rabbit:': 'rabbit.png', ':frog:': 'frog.png', ':tiger:': 'tiger.png', ':koala:': 'koala.png', ':bear:': 'bear.png', ':pig:': 'pig.png', ':pig_nose:': 'pig_nose.png', ':cow:': 'cow.png', ':boar:': 'boar.png', ':monkey_face:': 'monkey_face.png', ':monkey:': 'monkey.png', ':horse:': 'horse.png', ':sheep:': 'sheep.png', ':elephant:': 'elephant.png', ':panda_face:': 'panda_face.png', ':penguin:': 'penguin.png', ':bird:': 'bird.png', ':baby_chick:': 'baby_chick.png', ':hatched_chick:': 'hatched_chick.png', ':hatching_chick:': 'hatching_chick.png', ':chicken:': 'chicken.png', ':snake:': 'snake.png', ':turtle:': 'turtle.png', ':bug:': 'bug.png', ':honeybee:': 'honeybee.png', ':ant:': 'ant.png', ':beetle:': 'beetle.png', ':snail:': 'snail.png', ':octopus:': 'octopus.png', ':shell:': 'shell.png', ':tropical_fish:': 'tropical_fish.png', ':fish:': 'fish.png', ':dolphin:': 'dolphin.png', ':whale:': 'whale.png', ':whale2:': 'whale2.png', ':cow2:': 'cow2.png', ':ram:': 'ram.png', ':rat:': 'rat.png', ':water_buffalo:': 'water_buffalo.png', ':tiger2:': 'tiger2.png', ':rabbit2:': 'rabbit2.png', ':dragon:': 'dragon.png', ':racehorse:': 'racehorse.png', ':goat:': 'goat.png', ':rooster:': 'rooster.png', ':dog2:': 'dog2.png', ':pig2:': 'pig2.png', ':mouse2:': 'mouse2.png', ':ox:': 'ox.png', ':dragon_face:': 'dragon_face.png', ':blowfish:': 'blowfish.png', ':crocodile:': 'crocodile.png', ':camel:': 'camel.png', ':dromedary_camel:': 'dromedary_camel.png', ':leopard:': 'leopard.png', ':cat2:': 'cat2.png', ':poodle:': 'poodle.png', ':paw_prints:': 'paw_prints.png', ':bouquet:': 'bouquet.png', ':cherry_blossom:': 'cherry_blossom.png', ':tulip:': 'tulip.png', ':four_leaf_clover:': 'four_leaf_clover.png', ':rose:': 'rose.png', ':sunflower:': 'sunflower.png', ':hibiscus:': 'hibiscus.png', ':maple_leaf:': 'maple_leaf.png', ':leaves:': 'leaves.png', ':fallen_leaf:': 'fallen_leaf.png', ':herb:': 'herb.png', ':ear_of_rice:': 'ear_of_rice.png', ':mushroom:': 'mushroom.png', ':cactus:': 'cactus.png', ':palm_tree:': 'palm_tree.png', ':evergreen_tree:': 'evergreen_tree.png', ':deciduous_tree:': 'deciduous_tree.png', ':chestnut:': 'chestnut.png', ':seedling:': 'seedling.png', ':blossom:': 'blossom.png', ':globe_with_meridians:': 'globe_with_meridians.png', ':sun_with_face:': 'sun_with_face.png', ':full_moon_with_face:': 'full_moon_with_face.png', ':new_moon_with_face:': 'new_moon_with_face.png', ':new_moon:': 'new_moon.png', ':waxing_crescent_moon:': 'waxing_crescent_moon.png', ':first_quarter_moon:': 'first_quarter_moon.png', ':waxing_gibbous_moon:': 'waxing_gibbous_moon.png', ':full_moon:': 'full_moon.png', ':waning_gibbous_moon:': 'waning_gibbous_moon.png', ':last_quarter_moon:': 'last_quarter_moon.png', ':waning_crescent_moon:': 'waning_crescent_moon.png', ':last_quarter_moon_with_face:': 'last_quarter_moon_with_face.png', ':first_quarter_moon_with_face:': 'first_quarter_moon_with_face.png', ':moon:': 'moon.png', ':earth_africa:': 'earth_africa.png', ':earth_americas:': 'earth_americas.png', ':earth_asia:': 'earth_asia.png', ':volcano:': 'volcano.png', ':milky_way:': 'milky_way.png', ':stars:': 'stars.png', ':star:': 'star.png', ':sunny:': 'sunny.png', ':partly_sunny:': 'partly_sunny.png', ':cloud:': 'cloud.png', ':zap:': 'zap.png', ':umbrella:': 'umbrella.png', ':snowflake:': 'snowflake.png', ':snowman:': 'snowman.png', ':cyclone:': 'cyclone.png', ':foggy:': 'foggy.png', ':rainbow:': 'rainbow.png', ':ocean:': 'ocean.png', ':bamboo:': 'bamboo.png', ':gift_heart:': 'gift_heart.png', ':dolls:': 'dolls.png', ':school_satchel:': 'school_satchel.png', ':mortar_board:': 'mortar_board.png', ':flags:': 'flags.png', ':fireworks:': 'fireworks.png', ':sparkler:': 'sparkler.png', ':wind_chime:': 'wind_chime.png', ':rice_scene:': 'rice_scene.png', ':jack_o_lantern:': 'jack_o_lantern.png', ':ghost:': 'ghost.png', ':santa:': 'santa.png', ':christmas_tree:': 'christmas_tree.png', ':gift:': 'gift.png', ':tanabata_tree:': 'tanabata_tree.png', ':tada:': 'tada.png', ':confetti_ball:': 'confetti_ball.png', ':balloon:': 'balloon.png', ':crossed_flags:': 'crossed_flags.png', ':crystal_ball:': 'crystal_ball.png', ':movie_camera:': 'movie_camera.png', ':camera:': 'camera.png', ':video_camera:': 'video_camera.png', ':vhs:': 'vhs.png', ':cd:': 'cd.png', ':dvd:': 'dvd.png', ':minidisc:': 'minidisc.png', ':floppy_disk:': 'floppy_disk.png', ':computer:': 'computer.png', ':iphone:': 'iphone.png', ':phone:': 'phone.png', ':telephone_receiver:': 'telephone_receiver.png', ':pager:': 'pager.png', ':fax:': 'fax.png', ':satellite:': 'satellite.png', ':tv:': 'tv.png', ':radio:': 'radio.png', ':sound_loud:': 'sound_loud.png', ':sound:': 'sound.png', ':speaker:': 'speaker.png', ':mute:': 'mute.png', ':bell:': 'bell.png', ':no_bell:': 'no_bell.png', ':loudspeaker:': 'loudspeaker.png', ':mega:': 'mega.png', ':hourglass_flowing_sand:': 'hourglass_flowing_sand.png', ':hourglass:': 'hourglass.png', ':alarm_clock:': 'alarm_clock.png', ':watch:': 'watch.png', ':unlock:': 'unlock.png', ':lock:': 'lock.png', ':lock_with_ink_pen:': 'lock_with_ink_pen.png', ':closed_lock_with_key:': 'closed_lock_with_key.png', ':key:': 'key.png', ':mag_right:': 'mag_right.png', ':bulb:': 'bulb.png', ':flashlight:': 'flashlight.png', ':high_brightness:': 'high_brightness.png', ':low_brightness:': 'low_brightness.png', ':electric_plug:': 'electric_plug.png', ':battery:': 'battery.png', ':mag:': 'mag.png', ':bathtub:': 'bathtub.png', ':bath:': 'bath.png', ':shower:': 'shower.png', ':toilet:': 'toilet.png', ':wrench:': 'wrench.png', ':nut_and_bolt:': 'nut_and_bolt.png', ':hammer:': 'hammer.png', ':door:': 'door.png', ':smoking:': 'smoking.png', ':bomb:': 'bomb.png', ':gun:': 'gun.png', ':hocho:': 'hocho.png', ':pill:': 'pill.png', ':syringe:': 'syringe.png', ':moneybag:': 'moneybag.png', ':yen:': 'yen.png', ':dollar:': 'dollar.png', ':pound:': 'pound.png', ':euro:': 'euro.png', ':credit_card:': 'credit_card.png', ':money_with_wings:': 'money_with_wings.png', ':calling:': 'calling.png', ':email:': 'email.png', ':inbox_tray:': 'inbox_tray.png', ':outbox_tray:': 'outbox_tray.png', ':envelope:': 'envelope.png', ':envelope_with_arrow:': 'envelope_with_arrow.png', ':incoming_envelope:': 'incoming_envelope.png', ':postal_horn:': 'postal_horn.png', ':mailbox:': 'mailbox.png', ':mailbox_closed:': 'mailbox_closed.png', ':mailbox_with_mail:': 'mailbox_with_mail.png', ':mailbox_with_no_mail:': 'mailbox_with_no_mail.png', ':postbox:': 'postbox.png', ':box:': 'box.png', ':pencil:': 'pencil.png', ':memo:': 'memo.png', ':page_with_curl:': 'page_with_curl.png', ':bookmark_tabs:': 'bookmark_tabs.png', ':bar_chart:': 'bar_chart.png', ':chart_with_upwards_trend:': 'chart_with_upwards_trend.png', ':chart_with_downwards_trend:': 'chart_with_downwards_trend.png', ':scroll:': 'scroll.png', ':clipboard:': 'clipboard.png', ':date:': 'date.png', ':calendar:': 'calendar.png', ':card_index:': 'card_index.png', ':file_folder:': 'file_folder.png', ':open_file_folder:': 'open_file_folder.png', ':scissors:': 'scissors.png', ':pushpin:': 'pushpin.png', ':paperclip:': 'paperclip.png', ':black_nib:': 'black_nib.png', ':pencil2:': 'pencil2.png', ':straight_ruler:': 'straight_ruler.png', ':triangular_ruler:': 'triangular_ruler.png', ':closed_book:': 'closed_book.png', ':green_book:': 'green_book.png', ':blue_book:': 'blue_book.png', ':orange_book:': 'orange_book.png', ':notebook:': 'notebook.png', ':notebook_with_decorative_cover:': 'notebook_with_decorative_cover.png', ':ledger:': 'ledger.png', ':books:': 'books.png', ':book:': 'book.png', ':bookmark:': 'bookmark.png', ':name_badge:': 'name_badge.png', ':microscope:': 'microscope.png', ':telescope:': 'telescope.png', ':newspaper:': 'newspaper.png', ':art:': 'art.png', ':clapper:': 'clapper.png', ':microphone:': 'microphone.png', ':headphones:': 'headphones.png', ':musical_score:': 'musical_score.png', ':musical_note:': 'musical_note.png', ':notes:': 'notes.png', ':musical_keyboard:': 'musical_keyboard.png', ':violin:': 'violin.png', ':trumpet:': 'trumpet.png', ':saxophone:': 'saxophone.png', ':guitar:': 'guitar.png', ':space_invader:': 'space_invader.png', ':video_game:': 'video_game.png', ':black_joker:': 'black_joker.png', ':flower_playing_cards:': 'flower_playing_cards.png', ':mahjong:': 'mahjong.png', ':game_die:': 'game_die.png', ':dart:': 'dart.png', ':football:': 'football.png', ':basketball:': 'basketball.png', ':soccer:': 'soccer.png', ':soccer:': 'soccer.png', ':baseball:': 'baseball.png', ':tennis:': 'tennis.png', ':8ball:': '8ball.png', ':rugby_football:': 'rugby_football.png', ':bowling:': 'bowling.png', ':golf:': 'golf.png', ':mountain_bicyclist:': 'mountain_bicyclist.png', ':bicyclist:': 'bicyclist.png', ':checkered_flag:': 'checkered_flag.png', ':horse_racing:': 'horse_racing.png', ':trophy:': 'trophy.png', ':ski:': 'ski.png', ':snowboarder:': 'snowboarder.png', ':swimmer:': 'swimmer.png', ':surfer:': 'surfer.png', ':fishing_pole_and_fish:': 'fishing_pole_and_fish.png', ':coffee:': 'coffee.png', ':tea:': 'tea.png', ':sake:': 'sake.png', ':baby_bottle:': 'baby_bottle.png', ':beer:': 'beer.png', ':beers:': 'beers.png', ':cocktail:': 'cocktail.png', ':tropical_drink:': 'tropical_drink.png', ':wine_glass:': 'wine_glass.png', ':fork_and_knife:': 'fork_and_knife.png', ':pizza:': 'pizza.png', ':hamburger:': 'hamburger.png', ':fries:': 'fries.png', ':poultry_leg:': 'poultry_leg.png', ':meat_on_bone:': 'meat_on_bone.png', ':spaghetti:': 'spaghetti.png', ':curry:': 'curry.png', ':fried_shrimp:': 'fried_shrimp.png', ':bento:': 'bento.png', ':sushi:': 'sushi.png', ':fish_cake:': 'fish_cake.png', ':rice_ball:': 'rice_ball.png', ':rice_cracker:': 'rice_cracker.png', ':rice:': 'rice.png', ':ramen:': 'ramen.png', ':stew:': 'stew.png', ':oden:': 'oden.png', ':dango:': 'dango.png', ':egg:': 'egg.png', ':bread:': 'bread.png', ':doughnut:': 'doughnut.png', ':custard:': 'custard.png', ':icecream:': 'icecream.png', ':ice_cream:': 'ice_cream.png', ':shaved_ice:': 'shaved_ice.png', ':birthday:': 'birthday.png', ':cake:': 'cake.png', ':cookie:': 'cookie.png', ':chocolate_bar:': 'chocolate_bar.png', ':candy:': 'candy.png', ':lollipop:': 'lollipop.png', ':honey_pot:': 'honey_pot.png', ':apple:': 'apple.png', ':green_apple:': 'green_apple.png', ':tangerine:': 'tangerine.png', ':lemon:': 'lemon.png', ':cherries:': 'cherries.png', ':grapes:': 'grapes.png', ':watermelon:': 'watermelon.png', ':strawberry:': 'strawberry.png', ':peach:': 'peach.png', ':melon:': 'melon.png', ':banana:': 'banana.png', ':pear:': 'pear.png', ':pineapple:': 'pineapple.png', ':sweet_potato:': 'sweet_potato.png', ':eggplant:': 'eggplant.png', ':tomato:': 'tomato.png', ':corn:': 'corn.png', ':house:': 'house.png', ':house_with_garden:': 'house_with_garden.png', ':school:': 'school.png', ':office:': 'office.png', ':post_office:': 'post_office.png', ':hospital:': 'hospital.png', ':bank:': 'bank.png', ':convenience_store:': 'convenience_store.png', ':love_hotel:': 'love_hotel.png', ':hotel:': 'hotel.png', ':wedding:': 'wedding.png', ':church:': 'church.png', ':department_store:': 'department_store.png', ':european_post_office:': 'european_post_office.png', ':city_sunrise:': 'city_sunrise.png', ':city_sunset:': 'city_sunset.png', ':japanese_castle:': 'japanese_castle.png', ':european_castle:': 'european_castle.png', ':tent:': 'tent.png', ':factory:': 'factory.png', ':tokyo_tower:': 'tokyo_tower.png', ':japan:': 'japan.png', ':mount_fuji:': 'mount_fuji.png', ':sunrise_over_mountains:': 'sunrise_over_mountains.png', ':sunrise:': 'sunrise.png', ':city_at_night:': 'city_at_night.png', ':statue_of_liberty:': 'statue_of_liberty.png', ':bridge_at_night:': 'bridge_at_night.png', ':carousel_horse:': 'carousel_horse.png', ':ferris_wheel:': 'ferris_wheel.png', ':fountain:': 'fountain.png', ':roller_coaster:': 'roller_coaster.png', ':ship:': 'ship.png', ':sailboat:': 'sailboat.png', ':speedboat:': 'speedboat.png', ':rowboat:': 'rowboat.png', ':anchor:': 'anchor.png', ':rocket:': 'rocket.png', ':airplane:': 'airplane.png', ':seat:': 'seat.png', ':helicopter:': 'helicopter.png', ':steam_locomotive:': 'steam_locomotive.png', ':tram:': 'tram.png', ':station:': 'station.png', ':mountain_railway:': 'mountain_railway.png', ':train2:': 'train2.png', ':bullettrain_side2:': 'bullettrain_side2.png', ':bullettrain_side:': 'bullettrain_side.png', ':light_rail:': 'light_rail.png', ':train_front:': 'train_front.png', ':monorail:': 'monorail.png', ':train:': 'train.png', ':trolley:': 'trolley.png', ':trolleybus:': 'trolleybus.png', ':bus:': 'bus.png', ':oncoming_bus:': 'oncoming_bus.png', ':blue_car:': 'blue_car.png', ':oncoming_automobile:': 'oncoming_automobile.png', ':car:': 'car.png', ':taxi:': 'taxi.png', ':oncoming_taxi:': 'oncoming_taxi.png', ':articulated_lorry:': 'articulated_lorry.png', ':truck:': 'truck.png', ':rotating_light:': 'rotating_light.png', ':police_car:': 'police_car.png', ':oncoming_police_car:': 'oncoming_police_car.png', ':fire_engine:': 'fire_engine.png', ':ambulance:': 'ambulance.png', ':minibus:': 'minibus.png', ':bike:': 'bike.png', ':aerial_tramway:': 'aerial_tramway.png', ':suspension_railway:': 'suspension_railway.png', ':mountain_cableway:': 'mountain_cableway.png', ':tractor:': 'tractor.png', ':barber:': 'barber.png', ':busstop:': 'busstop.png', ':ticket:': 'ticket.png', ':vertical_traffic_light:': 'vertical_traffic_light.png', ':traffic_light:': 'traffic_light.png', ':warning:': 'warning.png', ':construction:': 'construction.png', ':beginner:': 'beginner.png', ':fuelpump:': 'fuelpump.png', ':izakaya_lantern:': 'izakaya_lantern.png', ':slot_machine:': 'slot_machine.png', ':hotsprings:': 'hotsprings.png', ':moyai:': 'moyai.png', ':circus_tent:': 'circus_tent.png', ':performing_arts:': 'performing_arts.png', ':round_pushpin:': 'round_pushpin.png', ':triangular_flag_on_post:': 'triangular_flag_on_post.png', ':jp:': 'jp.png', ':kr:': 'kr.png', ':de:': 'de.png', ':cn:': 'cn.png', ':us:': 'us.png', ':fr:': 'fr.png', ':es:': 'es.png', ':it:': 'it.png', ':ru:': 'ru.png', ':gb:': 'gb.png', ':one:': 'one.png', ':two:': 'two.png', ':three:': 'three.png', ':four:': 'four.png', ':five:': 'five.png', ':six:': 'six.png', ':seven:': 'seven.png', ':eight:': 'eight.png', ':nine:': 'nine.png', ':zero:': 'zero.png', ':keycap_ten:': 'keycap_ten.png', ':1234:': '1234.png', ':hash:': 'hash.png', ':symbols:': 'symbols.png', ':arrow_up:': 'arrow_up.png', ':arrow_down:': 'arrow_down.png', ':arrow_left:': 'arrow_left.png', ':arrow_right:': 'arrow_right.png', ':capital_abcd:': 'capital_abcd.png', ':abcd:': 'abcd.png', ':abc:': 'abc.png', ':arrow_upper_right:': 'arrow_upper_right.png', ':arrow_upper_left:': 'arrow_upper_left.png', ':arrow_lower_right:': 'arrow_lower_right.png', ':arrow_lower_left:': 'arrow_lower_left.png', ':left_right_arrow:': 'left_right_arrow.png', ':arrow_up_down:': 'arrow_up_down.png', ':arrows_counterclockwise:': 'arrows_counterclockwise.png', ':arrow_backward:': 'arrow_backward.png', ':arrow_forward:': 'arrow_forward.png', ':arrow_up_small:': 'arrow_up_small.png', ':arrow_down_small:': 'arrow_down_small.png', ':leftwards_arrow_with_hook:': 'leftwards_arrow_with_hook.png', ':arrow_right_hook:': 'arrow_right_hook.png', ':information_source:': 'information_source.png', ':rewind:': 'rewind.png', ':fast_forward:': 'fast_forward.png', ':arrow_double_up:': 'arrow_double_up.png', ':arrow_double_down:': 'arrow_double_down.png', ':arrow_heading_down:': 'arrow_heading_down.png', ':arrowing_heading_up:': 'arrowing_heading_up.png', ':ok:': 'ok.png', ':twisted_rightwards_arrows:': 'twisted_rightwards_arrows.png', ':repeat:': 'repeat.png', ':repeat_one:': 'repeat_one.png', ':new:': 'new.png', ':up:': 'up.png', ':cool:': 'cool.png', ':free:': 'free.png', ':ng:': 'ng.png', ':signal_strength:': 'signal_strength.png', ':cinema:': 'cinema.png', ':koko:': 'koko.png', ':u6307:': 'u6307.png', ':u7a7a:': 'u7a7a.png', ':u6e80:': 'u6e80.png', ':u5408:': 'u5408.png', ':u7981:': 'u7981.png', ':ideograph_advantage:': 'ideograph_advantage.png', ':u5272:': 'u5272.png', ':u55b6:': 'u55b6.png', ':u6709:': 'u6709.png', ':u7121:': 'u7121.png', ':restroom:': 'restroom.png', ':mens:': 'mens.png', ':womens:': 'womens.png', ':baby_symbol:': 'baby_symbol.png', ':wc:': 'wc.png', ':potable_water:': 'potable_water.png', ':put_litter_in_its_place:': 'put_litter_in_its_place.png', ':parking:': 'parking.png', ':wheelchair:': 'wheelchair.png', ':no_smoking:': 'no_smoking.png', ':u6708:': 'u6708.png', ':u7533:': 'u7533.png', ':sa:': 'sa.png', ':m:': 'm.png', ':passport_control:': 'passport_control.png', ':baggage_claim:': 'baggage_claim.png', ':left_luggage:': 'left_luggage.png', ':customs:': 'customs.png', ':accept:': 'accept.png', ':secret:': 'secret.png', ':congratulations:': 'congratulations.png', ':cl:': 'cl.png', ':sos:': 'sos.png', ':id:': 'id.png', ':no_entry_sign:': 'no_entry_sign.png', ':underage:': 'underage.png', ':no_mobile_phones:': 'no_mobile_phones.png', ':do_not_litter:': 'do_not_litter.png', ':non_potable_water:': 'non_potable_water.png', ':no_bicycles:': 'no_bicycles.png', ':no_pedestrians:': 'no_pedestrians.png', ':children_crossing:': 'children_crossing.png', ':no_entry:': 'no_entry.png', ':eight_spoked_asterisk:': 'eight_spoked_asterisk.png', ':four_spoked_asterisk:': 'four_spoked_asterisk.png', ':negative_squared_cross_mark:': 'negative_squared_cross_mark.png', ':white_check_mark:': 'white_check_mark.png', ':eight_pointed_black_star:': 'eight_pointed_black_star.png', ':heart_decoration:': 'heart_decoration.png', ':vs:': 'vs.png', ':vibration_mode:': 'vibration_mode.png', ':mobile_phone_off:': 'mobile_phone_off.png', ':a:': 'a.png', ':b:': 'b.png', ':ab:': 'ab.png', ':o2:': 'o2.png', ':diamond_shape_with_a_dot_inside:': 'diamond_shape_with_a_dot_inside.png', ':curly_loops:': 'curly_loops.png', ':recycle:': 'recycle.png', ':aries:': 'aries.png', ':taurus:': 'taurus.png', ':gemini:': 'gemini.png', ':cancer:': 'cancer.png', ':leo:': 'leo.png', ':virgo:': 'virgo.png', ':libra:': 'libra.png', ':scorpius:': 'scorpius.png', ':sagittarius:': 'sagittarius.png', ':capricorn:': 'capricorn.png', ':aquarius:': 'aquarius.png', ':pisces:': 'pisces.png', ':ophiuchus:': 'ophiuchus.png', ':six_pointed_star:': 'six_pointed_star.png', ':atm:': 'atm.png', ':chart:': 'chart.png', ':heavy_dollar_sign:': 'heavy_dollar_sign.png', ':currency_exchange:': 'currency_exchange.png', ':copyright:': 'copyright.png', ':registered:': 'registered.png', ':tm:': 'tm.png', ':x:': 'x.png', ':bangbang:': 'bangbang.png', ':interrobang:': 'interrobang.png', ':heavy_exclamation_mark:': 'heavy_exclamation_mark.png', ':heavy_question_mark:': 'heavy_question_mark.png', ':gray_exclamation_mark:': 'gray_exclamation_mark.png', ':gray_question_mark:': 'gray_question_mark.png', ':o:': 'o.png', ':top:': 'top.png', ':end:': 'end.png', ':back:': 'back.png', ':on:': 'on.png', ':soon:': 'soon.png', ':arrows_clockwise:': 'arrows_clockwise.png', ':clock12:': 'clock12.png', ':clock1230:': 'clock1230.png', ':clock1:': 'clock1.png', ':clock130:': 'clock130.png', ':clock2:': 'clock2.png', ':clock230:': 'clock230.png', ':clock3:': 'clock3.png', ':clock330:': 'clock330.png', ':clock4:': 'clock4.png', ':clock430:': 'clock430.png', ':clock5:': 'clock5.png', ':clock530:': 'clock530.png', ':clock6:': 'clock6.png', ':clock7:': 'clock7.png', ':clock8:': 'clock8.png', ':clock9:': 'clock9.png', ':clock10:': 'clock10.png', ':clock11:': 'clock11.png', ':clock630:': 'clock630.png', ':clock730:': 'clock730.png', ':clock830:': 'clock830.png', ':clock930:': 'clock930.png', ':clock1030:': 'clock1030.png', ':clock1130:': 'clock1130.png', ':heavy_multiplication_x:': 'heavy_multiplication_x.png', ':heavy_plus_sign:': 'heavy_plus_sign.png', ':heavy_minus_sign:': 'heavy_minus_sign.png', ':heavy_division_sign:': 'heavy_division_sign.png', ':spade:': 'spade.png', ':hearts:': 'hearts.png', ':club:': 'club.png', ':diamond:': 'diamond.png', ':white_flower:': 'white_flower.png', ':100:': '100.png', ':heavy_check_mark:': 'heavy_check_mark.png', ':ballot_box_with_check:': 'ballot_box_with_check.png', ':radio_button:': 'radio_button.png', ':link:': 'link.png', ':curly_loop:': 'curly_loop.png', ':wavy_dash:': 'wavy_dash.png', ':part_alternation_mark:': 'part_alternation_mark.png', ':trident:': 'trident.png', ':black_square_with_border:': 'black_square_with_border.png', ':white_square_with_border:': 'white_square_with_border.png', ':black_square_small:': 'black_square_small.png', ':white_square_small:': 'white_square_small.png', ':black_square_smaller:': 'black_square_smaller.png', ':white_square_smaller:': 'white_square_smaller.png', ':small_red_triangle:': 'small_red_triangle.png', ':black_square_button:': 'black_square_button.png', ':white_square_button:': 'white_square_button.png', ':black_circle:': 'black_circle.png', ':white_circle:': 'white_circle.png', ':red_circle:': 'red_circle.png', ':large_blue_circle:': 'large_blue_circle.png', ':small_red_triangle_down:': 'small_red_triangle_down.png', ':white_square:': 'white_square.png', ':black_square:': 'black_square.png', ':large_orange_diamond:': 'large_orange_diamond.png', ':large_blue_diamond:': 'large_blue_diamond.png', ':small_orange_diamond:': 'small_orange_diamond.png', ':small_blue_diamond:': 'small_blue_diamond.png', }
[ 1, 953, 29877, 2397, 29918, 8977, 353, 426, 13, 1678, 525, 29901, 3844, 488, 29901, 2396, 525, 3844, 488, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 15168, 29901, 2396, 525, 3844, 15168, 29889, 2732, 742, 13, 1678, 525, 29901, 629, 262, 1076, 29901, 2396, 525, 629, 262, 1076, 29889, 2732, 742, 13, 1678, 525, 29901, 2204, 1878, 29901, 2396, 525, 2204, 1878, 29889, 2732, 742, 13, 1678, 525, 29901, 27480, 287, 29901, 2396, 525, 27480, 287, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 682, 29901, 2396, 525, 29893, 682, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 29918, 1032, 267, 29901, 2396, 525, 23057, 29918, 1032, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 292, 29918, 23057, 29901, 2396, 525, 29895, 790, 292, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 292, 29918, 15603, 29918, 1032, 267, 29901, 2396, 525, 29895, 790, 292, 29918, 15603, 29918, 1032, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 292, 29901, 2396, 525, 29895, 790, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 292, 29918, 3844, 6504, 29918, 1032, 267, 29901, 2396, 525, 29895, 790, 292, 29918, 3844, 6504, 29918, 1032, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 682, 29906, 29901, 2396, 525, 29893, 682, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 303, 2707, 29918, 449, 29918, 29873, 549, 434, 29918, 15603, 29918, 1032, 267, 29901, 2396, 525, 303, 2707, 29918, 449, 29918, 29873, 549, 434, 29918, 15603, 29918, 1032, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 303, 2707, 29918, 449, 29918, 29873, 549, 434, 29901, 2396, 525, 303, 2707, 29918, 449, 29918, 29873, 549, 434, 29889, 2732, 742, 13, 1678, 525, 29901, 1579, 15392, 29901, 2396, 525, 1579, 15392, 29889, 2732, 742, 13, 1678, 525, 29901, 629, 262, 29901, 2396, 525, 629, 262, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 6270, 29901, 2396, 525, 29886, 6270, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 27685, 1000, 29901, 2396, 525, 29879, 27685, 1000, 29889, 2732, 742, 13, 1678, 525, 29901, 348, 314, 3880, 29901, 2396, 525, 348, 314, 3880, 29889, 2732, 742, 13, 1678, 525, 29901, 2218, 932, 2461, 287, 29901, 2396, 525, 2218, 932, 2461, 287, 29889, 2732, 742, 13, 1678, 525, 29901, 546, 344, 9359, 29901, 2396, 525, 546, 344, 9359, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 719, 29901, 2396, 525, 29883, 719, 29889, 2732, 742, 13, 1678, 525, 29901, 2212, 29891, 29901, 2396, 525, 2212, 29891, 29889, 2732, 742, 13, 1678, 525, 29901, 15975, 29901, 2396, 525, 15975, 29889, 2732, 742, 13, 1678, 525, 29901, 17059, 29891, 29901, 2396, 525, 17059, 29891, 29889, 2732, 742, 13, 1678, 525, 29901, 2674, 6402, 29901, 2396, 525, 2674, 6402, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 1025, 29918, 29879, 705, 271, 29901, 2396, 525, 29883, 1025, 29918, 29879, 705, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 705, 271, 29918, 3844, 488, 29901, 2396, 525, 29879, 705, 271, 29918, 3844, 488, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 705, 271, 29901, 2396, 525, 29879, 705, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 705, 653, 29901, 2396, 525, 705, 653, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 2859, 29918, 2161, 29901, 2396, 525, 29873, 2859, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 799, 1319, 29901, 2396, 525, 29888, 799, 1319, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 1037, 314, 29901, 2396, 525, 29879, 1037, 314, 29889, 2732, 742, 13, 1678, 525, 29901, 574, 719, 29901, 2396, 525, 574, 719, 29889, 2732, 742, 13, 1678, 525, 29901, 6617, 29901, 2396, 525, 6617, 29889, 2732, 742, 13, 1678, 525, 29901, 3626, 19149, 29901, 2396, 525, 3626, 19149, 29889, 2732, 742, 13, 1678, 525, 29901, 5527, 7261, 29901, 2396, 525, 5527, 7261, 29889, 2732, 742, 13, 1678, 525, 29901, 433, 29700, 29901, 2396, 525, 433, 29700, 29889, 2732, 742, 13, 1678, 525, 29901, 29891, 398, 29901, 2396, 525, 29891, 398, 29889, 2732, 742, 13, 1678, 525, 29901, 13168, 29901, 2396, 525, 13168, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 686, 605, 267, 29901, 2396, 525, 29879, 686, 605, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 17059, 292, 29901, 2396, 525, 17059, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 466, 1537, 29918, 2161, 29901, 2396, 525, 29881, 466, 1537, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 579, 265, 3276, 29901, 2396, 525, 579, 265, 3276, 29889, 2732, 742, 13, 1678, 525, 29901, 13762, 1255, 29901, 2396, 525, 13762, 1255, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 798, 1076, 29901, 2396, 525, 29888, 798, 1076, 29889, 2732, 742, 13, 1678, 525, 29901, 2375, 3276, 29901, 2396, 525, 2375, 3276, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 6504, 29918, 6574, 29901, 2396, 525, 3844, 6504, 29918, 6574, 29889, 2732, 742, 13, 1678, 525, 29901, 6574, 29901, 2396, 525, 6574, 29889, 2732, 742, 13, 1678, 525, 29901, 3150, 29918, 21026, 29901, 2396, 525, 3150, 29918, 21026, 29889, 2732, 742, 13, 1678, 525, 29901, 629, 326, 9390, 29901, 2396, 525, 629, 326, 9390, 29889, 2732, 742, 13, 1678, 525, 29901, 17821, 1705, 29918, 2161, 29901, 2396, 525, 17821, 1705, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 5527, 3880, 29901, 2396, 525, 5527, 3880, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 15392, 29901, 2396, 525, 29882, 15392, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 21026, 29901, 2396, 525, 1217, 29918, 21026, 29889, 2732, 742, 13, 1678, 525, 29901, 2559, 542, 296, 29901, 2396, 525, 2559, 542, 296, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 6793, 29901, 2396, 525, 3844, 6793, 29889, 2732, 742, 13, 1678, 525, 29901, 17471, 2222, 29901, 2396, 525, 17471, 2222, 29889, 2732, 742, 13, 1678, 525, 29901, 1171, 29918, 2541, 29918, 2543, 29874, 29918, 1631, 29918, 655, 29877, 29901, 2396, 525, 1171, 29918, 2541, 29918, 2543, 29874, 29918, 1631, 29918, 655, 29877, 29889, 2732, 742, 13, 1678, 525, 29901, 1171, 29918, 2541, 29918, 29873, 25006, 29901, 2396, 525, 1171, 29918, 2541, 29918, 29873, 25006, 29889, 2732, 742, 13, 1678, 525, 29901, 9708, 29901, 2396, 525, 9708, 29889, 2732, 742, 13, 1678, 525, 29901, 3075, 4080, 29918, 24602, 29901, 2396, 525, 3075, 4080, 29918, 24602, 29889, 2732, 742, 13, 1678, 525, 29901, 2543, 3163, 1171, 29901, 2396, 525, 2543, 3163, 1171, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 10798, 29901, 2396, 525, 29890, 10798, 29889, 2732, 742, 13, 1678, 525, 29901, 19415, 29901, 2396, 525, 19415, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 5168, 29901, 2396, 525, 29887, 5168, 29889, 2732, 742, 13, 1678, 525, 29901, 1171, 29901, 2396, 525, 1171, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 2480, 29901, 2396, 525, 29893, 2480, 29889, 2732, 742, 13, 1678, 525, 29901, 3194, 29918, 1171, 29901, 2396, 525, 3194, 29918, 1171, 29889, 2732, 742, 13, 1678, 525, 29901, 3194, 29918, 29893, 2480, 29901, 2396, 525, 3194, 29918, 29893, 2480, 29889, 2732, 742, 13, 1678, 525, 29901, 10532, 29918, 2541, 29918, 2204, 898, 29918, 29882, 1466, 29901, 2396, 525, 10532, 29918, 2541, 29918, 2204, 898, 29918, 29882, 1466, 29889, 2732, 742, 13, 1678, 525, 29901, 9477, 29901, 2396, 525, 9477, 29889, 2732, 742, 13, 1678, 525, 29901, 558, 262, 985, 29901, 2396, 525, 558, 262, 985, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 15168, 29918, 4117, 29901, 2396, 525, 3844, 15168, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 488, 29918, 4117, 29901, 2396, 525, 3844, 488, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 29918, 1032, 267, 29918, 4117, 29901, 2396, 525, 23057, 29918, 1032, 267, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 292, 29918, 4117, 29901, 2396, 525, 29895, 790, 292, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 6793, 29918, 4117, 29901, 2396, 525, 3844, 6793, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 1037, 314, 29918, 4117, 29901, 2396, 525, 29879, 1037, 314, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 719, 292, 29918, 4117, 29918, 2161, 29901, 2396, 525, 29883, 719, 292, 29918, 4117, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 2212, 29891, 29918, 4117, 29901, 2396, 525, 2212, 29891, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 449, 292, 29918, 4117, 29901, 2396, 525, 29886, 449, 292, 29918, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 29926, 21419, 968, 29918, 468, 276, 29901, 2396, 525, 29926, 21419, 968, 29918, 468, 276, 29889, 2732, 742, 13, 1678, 525, 29901, 29926, 21419, 968, 29918, 29887, 711, 1915, 29901, 2396, 525, 29926, 21419, 968, 29918, 29887, 711, 1915, 29889, 2732, 742, 13, 1678, 525, 29901, 4149, 29918, 1217, 29918, 5750, 309, 29901, 2396, 525, 4149, 29918, 1217, 29918, 5750, 309, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 279, 29918, 1217, 29918, 5750, 309, 29901, 2396, 525, 354, 279, 29918, 1217, 29918, 5750, 309, 29889, 2732, 742, 13, 1678, 525, 29901, 5965, 557, 29918, 1217, 29918, 5750, 309, 29901, 2396, 525, 5965, 557, 29918, 1217, 29918, 5750, 309, 29889, 2732, 742, 13, 1678, 525, 29901, 808, 913, 29901, 2396, 525, 808, 913, 29889, 2732, 742, 13, 1678, 525, 29901, 284, 819, 29901, 2396, 525, 284, 819, 29889, 2732, 742, 13, 1678, 525, 29901, 1129, 459, 29901, 2396, 525, 1129, 459, 29889, 2732, 742, 13, 1678, 525, 29901, 8696, 29901, 2396, 525, 8696, 29889, 2732, 742, 13, 1678, 525, 29901, 12597, 793, 29901, 2396, 525, 12597, 793, 29889, 2732, 742, 13, 1678, 525, 29901, 8508, 29906, 29901, 2396, 525, 8508, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 466, 1537, 29901, 2396, 525, 29881, 466, 1537, 29889, 2732, 742, 13, 1678, 525, 29901, 833, 290, 29901, 2396, 525, 833, 290, 29889, 2732, 742, 13, 1678, 525, 29901, 4600, 29901, 2396, 525, 4600, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 705, 271, 29918, 26419, 567, 29901, 2396, 525, 29879, 705, 271, 29918, 26419, 567, 29889, 2732, 742, 13, 1678, 525, 29901, 26419, 552, 29873, 29901, 2396, 525, 26419, 552, 29873, 29889, 2732, 742, 13, 1678, 525, 29901, 5617, 29920, 29901, 2396, 525, 5617, 29920, 29889, 2732, 742, 13, 1678, 525, 29901, 14592, 29901, 2396, 525, 14592, 29889, 2732, 742, 13, 1678, 525, 29901, 799, 29901, 2396, 525, 799, 29889, 2732, 742, 13, 1678, 525, 29901, 1032, 267, 29901, 2396, 525, 1032, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29876, 852, 29901, 2396, 525, 29876, 852, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 549, 434, 29901, 2396, 525, 29873, 549, 434, 29889, 2732, 742, 13, 1678, 525, 29901, 492, 567, 29901, 2396, 525, 492, 567, 29889, 2732, 742, 13, 1678, 525, 29901, 386, 3774, 12587, 29901, 2396, 525, 386, 3774, 12587, 29889, 2732, 742, 13, 1678, 525, 29901, 386, 3774, 29879, 3204, 29901, 2396, 525, 386, 3774, 29879, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 554, 29918, 3179, 29901, 2396, 525, 554, 29918, 3179, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 3322, 29901, 2396, 525, 29886, 3322, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 391, 29901, 2396, 525, 29888, 391, 29889, 2732, 742, 13, 1678, 525, 29901, 29894, 29901, 2396, 525, 29894, 29889, 2732, 742, 13, 1678, 525, 29901, 27766, 29901, 2396, 525, 27766, 29889, 2732, 742, 13, 1678, 525, 29901, 3179, 29901, 2396, 525, 3179, 29889, 2732, 742, 13, 1678, 525, 29901, 3150, 29918, 3179, 29879, 29901, 2396, 525, 3150, 29918, 3179, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 3149, 29918, 786, 29918, 29906, 29901, 2396, 525, 3149, 29918, 786, 29918, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 3149, 29918, 3204, 29901, 2396, 525, 3149, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 3149, 29918, 1266, 29901, 2396, 525, 3149, 29918, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 3149, 29918, 1563, 29901, 2396, 525, 3149, 29918, 1563, 29889, 2732, 742, 13, 1678, 525, 29901, 336, 3368, 29918, 3179, 29879, 29901, 2396, 525, 336, 3368, 29918, 3179, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 764, 29901, 2396, 525, 29886, 764, 29889, 2732, 742, 13, 1678, 525, 29901, 3149, 29918, 786, 29901, 2396, 525, 3149, 29918, 786, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 6984, 29901, 2396, 525, 29883, 6984, 29889, 2732, 742, 13, 1678, 525, 29901, 8366, 2841, 29901, 2396, 525, 8366, 2841, 29889, 2732, 742, 13, 1678, 525, 29901, 20919, 292, 29901, 2396, 525, 20919, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 21094, 29901, 2396, 525, 21094, 29889, 2732, 742, 13, 1678, 525, 29901, 18386, 2265, 29901, 2396, 525, 18386, 2265, 29889, 2732, 742, 13, 1678, 525, 29901, 16589, 552, 29901, 2396, 525, 16589, 552, 29889, 2732, 742, 13, 1678, 525, 29901, 11922, 29901, 2396, 525, 11922, 29889, 2732, 742, 13, 1678, 525, 29901, 10184, 29918, 1527, 29918, 8948, 292, 29918, 3179, 29879, 29901, 2396, 525, 10184, 29918, 1527, 29918, 8948, 292, 29918, 3179, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 10184, 29918, 29893, 2770, 29918, 8948, 292, 29918, 3179, 29879, 29901, 2396, 525, 10184, 29918, 29893, 2770, 29918, 8948, 292, 29918, 3179, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 16589, 552, 29895, 790, 29901, 2396, 525, 16589, 552, 29895, 790, 29889, 2732, 742, 13, 1678, 525, 29901, 16589, 552, 29918, 2541, 29918, 23057, 29901, 2396, 525, 16589, 552, 29918, 2541, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 4564, 414, 29901, 2396, 525, 29881, 4564, 414, 29889, 2732, 742, 13, 1678, 525, 29901, 554, 29918, 29893, 2480, 29901, 2396, 525, 554, 29918, 29893, 2480, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 16773, 29901, 2396, 525, 1217, 29918, 16773, 29889, 2732, 742, 13, 1678, 525, 29901, 19678, 29918, 2783, 29895, 29918, 10532, 29901, 2396, 525, 19678, 29918, 2783, 29895, 29918, 10532, 29889, 2732, 742, 13, 1678, 525, 29901, 336, 3368, 29918, 3179, 29901, 2396, 525, 336, 3368, 29918, 3179, 29889, 2732, 742, 13, 1678, 525, 29901, 25379, 482, 29901, 2396, 525, 25379, 482, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 1466, 7582, 29901, 2396, 525, 29882, 1466, 7582, 29889, 2732, 742, 13, 1678, 525, 29901, 29876, 737, 29918, 18020, 29901, 2396, 525, 29876, 737, 29918, 18020, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 2426, 29918, 2541, 29918, 345, 309, 29901, 2396, 525, 29890, 2426, 29918, 2541, 29918, 345, 309, 29889, 2732, 742, 13, 1678, 525, 29901, 10532, 29918, 2541, 29918, 29886, 449, 292, 29918, 2161, 29901, 2396, 525, 10532, 29918, 2541, 29918, 29886, 449, 292, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 10532, 29918, 29888, 798, 1076, 29901, 2396, 525, 10532, 29918, 29888, 798, 1076, 29889, 2732, 742, 13, 1678, 525, 29901, 17729, 29901, 2396, 525, 17729, 29889, 2732, 742, 13, 1678, 525, 29901, 3332, 2455, 29901, 2396, 525, 3332, 2455, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 4708, 29901, 2396, 525, 29883, 4708, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 290, 550, 29918, 2455, 29901, 2396, 525, 29893, 290, 550, 29918, 2455, 29889, 2732, 742, 13, 1678, 525, 29901, 845, 7297, 29901, 2396, 525, 845, 7297, 29889, 2732, 742, 13, 1678, 525, 29901, 21555, 29918, 845, 7297, 29901, 2396, 525, 21555, 29918, 845, 7297, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 24258, 29901, 2396, 525, 29879, 24258, 29889, 2732, 742, 13, 1678, 525, 29901, 9812, 29918, 10552, 29901, 2396, 525, 9812, 29918, 10552, 29889, 2732, 742, 13, 1678, 525, 29901, 4777, 29901, 2396, 525, 4777, 29889, 2732, 742, 13, 1678, 525, 29901, 845, 2728, 29901, 2396, 525, 845, 2728, 29889, 2732, 742, 13, 1678, 525, 29901, 484, 384, 29873, 347, 29901, 2396, 525, 484, 384, 29873, 347, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 290, 550, 29918, 695, 720, 267, 29901, 2396, 525, 29893, 290, 550, 29918, 695, 720, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 1253, 29901, 2396, 525, 29881, 1253, 29889, 2732, 742, 13, 1678, 525, 29901, 21094, 29918, 845, 2728, 29918, 2541, 29918, 29879, 1161, 29901, 2396, 525, 21094, 29918, 845, 2728, 29918, 2541, 29918, 29879, 1161, 29889, 2732, 742, 13, 1678, 525, 29901, 1324, 550, 29901, 2396, 525, 1324, 550, 29889, 2732, 742, 13, 1678, 525, 29901, 20903, 3231, 29901, 2396, 525, 20903, 3231, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 638, 2172, 29901, 2396, 525, 29890, 638, 2172, 29889, 2732, 742, 13, 1678, 525, 29901, 1182, 2575, 4878, 29901, 2396, 525, 1182, 2575, 4878, 29889, 2732, 742, 13, 1678, 525, 29901, 3179, 23156, 29901, 2396, 525, 3179, 23156, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 3222, 29901, 2396, 525, 29886, 3222, 29889, 2732, 742, 13, 1678, 525, 29901, 15503, 344, 29901, 2396, 525, 15503, 344, 29889, 2732, 742, 13, 1678, 525, 29901, 1032, 387, 605, 267, 29901, 2396, 525, 1032, 387, 605, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 1091, 6718, 29901, 2396, 525, 1091, 6718, 29889, 2732, 742, 13, 1678, 525, 29901, 15603, 29918, 398, 1030, 13520, 29901, 2396, 525, 15603, 29918, 398, 1030, 13520, 29889, 2732, 742, 13, 1678, 525, 29901, 3466, 303, 860, 29901, 2396, 525, 3466, 303, 860, 29889, 2732, 742, 13, 1678, 525, 29901, 29136, 29918, 23057, 29901, 2396, 525, 29136, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 9539, 29918, 23057, 29901, 2396, 525, 9539, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 15503, 552, 29918, 23057, 29901, 2396, 525, 15503, 552, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 12692, 29918, 23057, 29901, 2396, 525, 12692, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 29901, 2396, 525, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 6729, 1717, 29918, 23057, 29901, 2396, 525, 6729, 1717, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 29886, 19994, 29901, 2396, 525, 23057, 29886, 19994, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 915, 271, 29901, 2396, 525, 23057, 915, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 10184, 29918, 354, 5708, 29901, 2396, 525, 10184, 29918, 354, 5708, 29889, 2732, 742, 13, 1678, 525, 29901, 12597, 1847, 29918, 23057, 29901, 2396, 525, 12597, 1847, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 276, 1555, 1747, 29918, 354, 5708, 29901, 2396, 525, 276, 1555, 1747, 29918, 354, 5708, 29889, 2732, 742, 13, 1678, 525, 29901, 5231, 333, 29901, 2396, 525, 5231, 333, 29889, 2732, 742, 13, 1678, 525, 29901, 791, 296, 457, 29901, 2396, 525, 791, 296, 457, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 790, 29901, 2396, 525, 29895, 790, 29889, 2732, 742, 13, 1678, 525, 29901, 5393, 29901, 2396, 525, 5393, 29889, 2732, 742, 13, 1678, 525, 29901, 17797, 29901, 2396, 525, 17797, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 504, 29918, 262, 29918, 25590, 10774, 2353, 29901, 2396, 525, 29890, 504, 29918, 262, 29918, 25590, 10774, 2353, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 504, 29879, 29918, 262, 29918, 25590, 10774, 2353, 29901, 2396, 525, 29890, 504, 29879, 29918, 262, 29918, 25590, 10774, 2353, 29889, 2732, 742, 13, 1678, 525, 29901, 5965, 5309, 29918, 5521, 417, 265, 29901, 2396, 525, 5965, 5309, 29918, 5521, 417, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 1725, 300, 29901, 2396, 525, 1725, 300, 29889, 2732, 742, 13, 1678, 525, 29901, 386, 1774, 29918, 5521, 417, 265, 29901, 2396, 525, 386, 1774, 29918, 5521, 417, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 26169, 29901, 2396, 525, 26169, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 4369, 29901, 2396, 525, 29893, 4369, 29889, 2732, 742, 13, 1678, 525, 29901, 4117, 29901, 2396, 525, 4117, 29889, 2732, 742, 13, 1678, 525, 29901, 15769, 29901, 2396, 525, 15769, 29889, 2732, 742, 13, 1678, 525, 29901, 3391, 2475, 29901, 2396, 525, 3391, 2475, 29889, 2732, 742, 13, 1678, 525, 29901, 336, 1327, 277, 29901, 2396, 525, 336, 1327, 277, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 9102, 29901, 2396, 525, 29888, 9102, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 4087, 29901, 2396, 525, 29873, 4087, 29889, 2732, 742, 13, 1678, 525, 29901, 2901, 2883, 29901, 2396, 525, 2901, 2883, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 799, 29901, 2396, 525, 29890, 799, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 335, 29901, 2396, 525, 29886, 335, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 335, 29918, 29876, 852, 29901, 2396, 525, 29886, 335, 29918, 29876, 852, 29889, 2732, 742, 13, 1678, 525, 29901, 20587, 29901, 2396, 525, 20587, 29889, 2732, 742, 13, 1678, 525, 29901, 833, 279, 29901, 2396, 525, 833, 279, 29889, 2732, 742, 13, 1678, 525, 29901, 3712, 1989, 29918, 2161, 29901, 2396, 525, 3712, 1989, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 3712, 1989, 29901, 2396, 525, 3712, 1989, 29889, 2732, 742, 13, 1678, 525, 29901, 2015, 344, 29901, 2396, 525, 2015, 344, 29889, 2732, 742, 13, 1678, 525, 29901, 11360, 1022, 29901, 2396, 525, 11360, 1022, 29889, 2732, 742, 13, 1678, 525, 29901, 6146, 561, 424, 29901, 2396, 525, 6146, 561, 424, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 5863, 29918, 2161, 29901, 2396, 525, 29886, 5863, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 19636, 262, 29901, 2396, 525, 29886, 19636, 262, 29889, 2732, 742, 13, 1678, 525, 29901, 18513, 29901, 2396, 525, 18513, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 10798, 29918, 305, 860, 29901, 2396, 525, 29890, 10798, 29918, 305, 860, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 905, 287, 29918, 305, 860, 29901, 2396, 525, 29882, 905, 287, 29918, 305, 860, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 905, 292, 29918, 305, 860, 29901, 2396, 525, 29882, 905, 292, 29918, 305, 860, 29889, 2732, 742, 13, 1678, 525, 29901, 305, 21475, 29901, 2396, 525, 305, 21475, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 21040, 29901, 2396, 525, 29879, 21040, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 4227, 280, 29901, 2396, 525, 29873, 4227, 280, 29889, 2732, 742, 13, 1678, 525, 29901, 6152, 29901, 2396, 525, 6152, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 4992, 915, 29872, 29901, 2396, 525, 29882, 4992, 915, 29872, 29889, 2732, 742, 13, 1678, 525, 29901, 424, 29901, 2396, 525, 424, 29889, 2732, 742, 13, 1678, 525, 29901, 915, 300, 280, 29901, 2396, 525, 915, 300, 280, 29889, 2732, 742, 13, 1678, 525, 29901, 16586, 737, 29901, 2396, 525, 16586, 737, 29889, 2732, 742, 13, 1678, 525, 29901, 20082, 26466, 29901, 2396, 525, 20082, 26466, 29889, 2732, 742, 13, 1678, 525, 29901, 15903, 29901, 2396, 525, 15903, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 1336, 936, 29918, 15161, 29901, 2396, 525, 29873, 1336, 936, 29918, 15161, 29889, 2732, 742, 13, 1678, 525, 29901, 15161, 29901, 2396, 525, 15161, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 22138, 262, 29901, 2396, 525, 29881, 22138, 262, 29889, 2732, 742, 13, 1678, 525, 29901, 1332, 744, 29901, 2396, 525, 1332, 744, 29889, 2732, 742, 13, 1678, 525, 29901, 1332, 744, 29906, 29901, 2396, 525, 1332, 744, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 20587, 29906, 29901, 2396, 525, 20587, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 2572, 29901, 2396, 525, 2572, 29889, 2732, 742, 13, 1678, 525, 29901, 3605, 29901, 2396, 525, 3605, 29889, 2732, 742, 13, 1678, 525, 29901, 13405, 29918, 28040, 7003, 29901, 2396, 525, 13405, 29918, 28040, 7003, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 4087, 29906, 29901, 2396, 525, 29873, 4087, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 336, 1327, 277, 29906, 29901, 2396, 525, 336, 1327, 277, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 20515, 265, 29901, 2396, 525, 20515, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 25525, 2015, 344, 29901, 2396, 525, 25525, 2015, 344, 29889, 2732, 742, 13, 1678, 525, 29901, 1484, 271, 29901, 2396, 525, 1484, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 307, 15664, 29901, 2396, 525, 307, 15664, 29889, 2732, 742, 13, 1678, 525, 29901, 26169, 29906, 29901, 2396, 525, 26169, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 335, 29906, 29901, 2396, 525, 29886, 335, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 15769, 29906, 29901, 2396, 525, 15769, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 2251, 29901, 2396, 525, 2251, 29889, 2732, 742, 13, 1678, 525, 29901, 20515, 265, 29918, 2161, 29901, 2396, 525, 20515, 265, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 677, 15161, 29901, 2396, 525, 29890, 677, 15161, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 10198, 397, 488, 29901, 2396, 525, 29883, 10198, 397, 488, 29889, 2732, 742, 13, 1678, 525, 29901, 11108, 295, 29901, 2396, 525, 11108, 295, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 456, 287, 653, 29918, 11108, 295, 29901, 2396, 525, 29881, 456, 287, 653, 29918, 11108, 295, 29889, 2732, 742, 13, 1678, 525, 29901, 280, 459, 538, 29901, 2396, 525, 280, 459, 538, 29889, 2732, 742, 13, 1678, 525, 29901, 4117, 29906, 29901, 2396, 525, 4117, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 1129, 397, 280, 29901, 2396, 525, 1129, 397, 280, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 1450, 29918, 2158, 29879, 29901, 2396, 525, 29886, 1450, 29918, 2158, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 283, 12621, 29901, 2396, 525, 29890, 283, 12621, 29889, 2732, 742, 13, 1678, 525, 29901, 4630, 719, 29918, 2204, 2209, 290, 29901, 2396, 525, 4630, 719, 29918, 2204, 2209, 290, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 352, 666, 29901, 2396, 525, 29873, 352, 666, 29889, 2732, 742, 13, 1678, 525, 29901, 17823, 29918, 29500, 29918, 15126, 369, 29901, 2396, 525, 17823, 29918, 29500, 29918, 15126, 369, 29889, 2732, 742, 13, 1678, 525, 29901, 17811, 29901, 2396, 525, 17811, 29889, 2732, 742, 13, 1678, 525, 29901, 11445, 1731, 261, 29901, 2396, 525, 11445, 1731, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 6335, 275, 8668, 29901, 2396, 525, 6335, 275, 8668, 29889, 2732, 742, 13, 1678, 525, 29901, 1958, 280, 29918, 29500, 29901, 2396, 525, 1958, 280, 29918, 29500, 29889, 2732, 742, 13, 1678, 525, 29901, 280, 5989, 29901, 2396, 525, 280, 5989, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 5442, 29918, 29500, 29901, 2396, 525, 29888, 5442, 29918, 29500, 29889, 2732, 742, 13, 1678, 525, 29901, 2276, 29890, 29901, 2396, 525, 2276, 29890, 29889, 2732, 742, 13, 1678, 525, 29901, 799, 29918, 974, 29918, 11674, 29901, 2396, 525, 799, 29918, 974, 29918, 11674, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 1878, 8345, 29901, 2396, 525, 29885, 1878, 8345, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 627, 375, 29901, 2396, 525, 29883, 627, 375, 29889, 2732, 742, 13, 1678, 525, 29901, 7830, 29885, 29918, 8336, 29901, 2396, 525, 7830, 29885, 29918, 8336, 29889, 2732, 742, 13, 1678, 525, 29901, 1310, 12692, 29918, 8336, 29901, 2396, 525, 1310, 12692, 29918, 8336, 29889, 2732, 742, 13, 1678, 525, 29901, 7099, 333, 17269, 29918, 8336, 29901, 2396, 525, 7099, 333, 17269, 29918, 8336, 29889, 2732, 742, 13, 1678, 525, 29901, 305, 342, 21305, 29901, 2396, 525, 305, 342, 21305, 29889, 2732, 742, 13, 1678, 525, 29901, 26776, 1847, 29901, 2396, 525, 26776, 1847, 29889, 2732, 742, 13, 1678, 525, 29901, 2204, 2209, 290, 29901, 2396, 525, 2204, 2209, 290, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 417, 915, 29918, 2541, 29918, 1050, 333, 5834, 29901, 2396, 525, 29887, 417, 915, 29918, 2541, 29918, 1050, 333, 5834, 29889, 2732, 742, 13, 1678, 525, 29901, 11445, 29918, 2541, 29918, 2161, 29901, 2396, 525, 11445, 29918, 2541, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 8159, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29901, 2396, 525, 8159, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 1482, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29901, 2396, 525, 1482, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 1482, 29918, 4346, 265, 29901, 2396, 525, 1482, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 1165, 292, 29918, 29883, 690, 1760, 29918, 4346, 265, 29901, 2396, 525, 29893, 1165, 292, 29918, 29883, 690, 1760, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 4102, 29918, 339, 4254, 29918, 4346, 265, 29901, 2396, 525, 4102, 29918, 339, 4254, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 1165, 292, 29918, 29887, 747, 29890, 681, 29918, 4346, 265, 29901, 2396, 525, 29893, 1165, 292, 29918, 29887, 747, 29890, 681, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 8159, 29918, 4346, 265, 29901, 2396, 525, 8159, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 11440, 292, 29918, 29887, 747, 29890, 681, 29918, 4346, 265, 29901, 2396, 525, 11440, 292, 29918, 29887, 747, 29890, 681, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 4230, 29918, 339, 4254, 29918, 4346, 265, 29901, 2396, 525, 4230, 29918, 339, 4254, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 11440, 292, 29918, 29883, 690, 1760, 29918, 4346, 265, 29901, 2396, 525, 11440, 292, 29918, 29883, 690, 1760, 29918, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 4230, 29918, 339, 4254, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29901, 2396, 525, 4230, 29918, 339, 4254, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 4102, 29918, 339, 4254, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29901, 2396, 525, 4102, 29918, 339, 4254, 29918, 4346, 265, 29918, 2541, 29918, 2161, 29889, 2732, 742, 13, 1678, 525, 29901, 4346, 265, 29901, 2396, 525, 4346, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 799, 386, 29918, 29874, 18961, 29901, 2396, 525, 799, 386, 29918, 29874, 18961, 29889, 2732, 742, 13, 1678, 525, 29901, 799, 386, 29918, 4183, 5070, 29901, 2396, 525, 799, 386, 29918, 4183, 5070, 29889, 2732, 742, 13, 1678, 525, 29901, 799, 386, 29918, 26252, 29901, 2396, 525, 799, 386, 29918, 26252, 29889, 2732, 742, 13, 1678, 525, 29901, 1555, 26004, 29901, 2396, 525, 1555, 26004, 29889, 2732, 742, 13, 1678, 525, 29901, 23853, 3459, 29918, 1582, 29901, 2396, 525, 23853, 3459, 29918, 1582, 29889, 2732, 742, 13, 1678, 525, 29901, 303, 1503, 29901, 2396, 525, 303, 1503, 29889, 2732, 742, 13, 1678, 525, 29901, 8508, 29901, 2396, 525, 8508, 29889, 2732, 742, 13, 1678, 525, 29901, 11445, 1460, 29901, 2396, 525, 11445, 1460, 29889, 2732, 742, 13, 1678, 525, 29901, 1595, 368, 29918, 11445, 1460, 29901, 2396, 525, 1595, 368, 29918, 11445, 1460, 29889, 2732, 742, 13, 1678, 525, 29901, 9274, 29901, 2396, 525, 9274, 29889, 2732, 742, 13, 1678, 525, 29901, 29920, 481, 29901, 2396, 525, 29920, 481, 29889, 2732, 742, 13, 1678, 525, 29901, 398, 1030, 13520, 29901, 2396, 525, 398, 1030, 13520, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 3707, 29888, 433, 446, 29901, 2396, 525, 29879, 3707, 29888, 433, 446, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 3707, 1171, 29901, 2396, 525, 29879, 3707, 1171, 29889, 2732, 742, 13, 1678, 525, 29901, 1270, 16513, 29901, 2396, 525, 1270, 16513, 29889, 2732, 742, 13, 1678, 525, 29901, 29013, 1927, 29901, 2396, 525, 29013, 1927, 29889, 2732, 742, 13, 1678, 525, 29901, 6038, 17729, 29901, 2396, 525, 6038, 17729, 29889, 2732, 742, 13, 1678, 525, 29901, 29877, 11956, 29901, 2396, 525, 29877, 11956, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 314, 833, 29877, 29901, 2396, 525, 29890, 314, 833, 29877, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 2027, 29918, 23057, 29901, 2396, 525, 29887, 2027, 29918, 23057, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 3028, 29879, 29901, 2396, 525, 29881, 3028, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 27041, 29918, 29879, 905, 295, 29901, 2396, 525, 27041, 29918, 29879, 905, 295, 29889, 2732, 742, 13, 1678, 525, 29901, 29720, 279, 29918, 3377, 29901, 2396, 525, 29720, 279, 29918, 3377, 29889, 2732, 742, 13, 1678, 525, 29901, 15764, 29901, 2396, 525, 15764, 29889, 2732, 742, 13, 1678, 525, 29901, 8696, 13129, 29901, 2396, 525, 8696, 13129, 29889, 2732, 742, 13, 1678, 525, 29901, 12597, 1358, 29901, 2396, 525, 12597, 1358, 29889, 2732, 742, 13, 1678, 525, 29901, 14800, 29918, 305, 603, 29901, 2396, 525, 14800, 29918, 305, 603, 29889, 2732, 742, 13, 1678, 525, 29901, 11674, 29918, 24645, 29901, 2396, 525, 11674, 29918, 24645, 29889, 2732, 742, 13, 1678, 525, 29901, 21452, 29918, 29877, 29918, 6468, 725, 29901, 2396, 525, 21452, 29918, 29877, 29918, 6468, 725, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 3069, 29901, 2396, 525, 29887, 3069, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 6949, 29901, 2396, 525, 29879, 6949, 29889, 2732, 742, 13, 1678, 525, 29901, 305, 2021, 8247, 29918, 8336, 29901, 2396, 525, 305, 2021, 8247, 29918, 8336, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 2027, 29901, 2396, 525, 29887, 2027, 29889, 2732, 742, 13, 1678, 525, 29901, 13161, 370, 532, 29918, 8336, 29901, 2396, 525, 13161, 370, 532, 29918, 8336, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 1114, 29901, 2396, 525, 29873, 1114, 29889, 2732, 742, 13, 1678, 525, 29901, 5527, 9890, 29918, 2135, 29901, 2396, 525, 5527, 9890, 29918, 2135, 29889, 2732, 742, 13, 1678, 525, 29901, 5521, 417, 265, 29901, 2396, 525, 5521, 417, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 19128, 287, 29918, 15764, 29901, 2396, 525, 19128, 287, 29918, 15764, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 719, 11195, 29918, 2135, 29901, 2396, 525, 29883, 719, 11195, 29918, 2135, 29889, 2732, 742, 13, 1678, 525, 29901, 27362, 29918, 26065, 29901, 2396, 525, 27362, 29918, 26065, 29889, 2732, 742, 13, 1678, 525, 29901, 26065, 29901, 2396, 525, 26065, 29889, 2732, 742, 13, 1678, 525, 29901, 9641, 29918, 26065, 29901, 2396, 525, 9641, 29918, 26065, 29889, 2732, 742, 13, 1678, 525, 29901, 29894, 9499, 29901, 2396, 525, 29894, 9499, 29889, 2732, 742, 13, 1678, 525, 29901, 2252, 29901, 2396, 525, 2252, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 27491, 29901, 2396, 525, 29881, 27491, 29889, 2732, 742, 13, 1678, 525, 29901, 1195, 333, 10669, 29901, 2396, 525, 1195, 333, 10669, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 417, 23717, 29918, 20960, 29901, 2396, 525, 29888, 417, 23717, 29918, 20960, 29889, 2732, 742, 13, 1678, 525, 29901, 12097, 261, 29901, 2396, 525, 12097, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 29875, 6710, 29901, 2396, 525, 29875, 6710, 29889, 2732, 742, 13, 1678, 525, 29901, 6710, 29901, 2396, 525, 6710, 29889, 2732, 742, 13, 1678, 525, 29901, 15494, 6710, 29918, 13556, 2147, 29901, 2396, 525, 15494, 6710, 29918, 13556, 2147, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 1875, 29901, 2396, 525, 29886, 1875, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 1165, 29901, 2396, 525, 29888, 1165, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 271, 20911, 29901, 2396, 525, 29879, 271, 20911, 29889, 2732, 742, 13, 1678, 525, 29901, 12427, 29901, 2396, 525, 12427, 29889, 2732, 742, 13, 1678, 525, 29901, 13399, 29901, 2396, 525, 13399, 29889, 2732, 742, 13, 1678, 525, 29901, 29802, 29918, 29880, 2736, 29901, 2396, 525, 29802, 29918, 29880, 2736, 29889, 2732, 742, 13, 1678, 525, 29901, 29802, 29901, 2396, 525, 29802, 29889, 2732, 742, 13, 1678, 525, 29901, 5965, 5790, 29901, 2396, 525, 5965, 5790, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 1082, 29901, 2396, 525, 29885, 1082, 29889, 2732, 742, 13, 1678, 525, 29901, 12562, 29901, 2396, 525, 12562, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 12562, 29901, 2396, 525, 1217, 29918, 12562, 29889, 2732, 742, 13, 1678, 525, 29901, 29880, 2736, 5965, 5790, 29901, 2396, 525, 29880, 2736, 5965, 5790, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 2442, 29901, 2396, 525, 29885, 2442, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 18041, 605, 29918, 1731, 292, 29918, 29879, 392, 29901, 2396, 525, 29882, 18041, 605, 29918, 1731, 292, 29918, 29879, 392, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 18041, 605, 29901, 2396, 525, 29882, 18041, 605, 29889, 2732, 742, 13, 1678, 525, 29901, 284, 2817, 29918, 13058, 29901, 2396, 525, 284, 2817, 29918, 13058, 29889, 2732, 742, 13, 1678, 525, 29901, 12344, 29901, 2396, 525, 12344, 29889, 2732, 742, 13, 1678, 525, 29901, 348, 908, 29901, 2396, 525, 348, 908, 29889, 2732, 742, 13, 1678, 525, 29901, 908, 29901, 2396, 525, 908, 29889, 2732, 742, 13, 1678, 525, 29901, 908, 29918, 2541, 29918, 682, 29918, 2238, 29901, 2396, 525, 908, 29918, 2541, 29918, 682, 29918, 2238, 29889, 2732, 742, 13, 1678, 525, 29901, 15603, 29918, 908, 29918, 2541, 29918, 1989, 29901, 2396, 525, 15603, 29918, 908, 29918, 2541, 29918, 1989, 29889, 2732, 742, 13, 1678, 525, 29901, 1989, 29901, 2396, 525, 1989, 29889, 2732, 742, 13, 1678, 525, 29901, 11082, 29918, 1266, 29901, 2396, 525, 11082, 29918, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 8645, 29890, 29901, 2396, 525, 8645, 29890, 29889, 2732, 742, 13, 1678, 525, 29901, 28041, 4366, 29901, 2396, 525, 28041, 4366, 29889, 2732, 742, 13, 1678, 525, 29901, 9812, 29918, 1182, 523, 2264, 29901, 2396, 525, 9812, 29918, 1182, 523, 2264, 29889, 2732, 742, 13, 1678, 525, 29901, 677, 29918, 1182, 523, 2264, 29901, 2396, 525, 677, 29918, 1182, 523, 2264, 29889, 2732, 742, 13, 1678, 525, 29901, 15436, 2200, 29918, 572, 688, 29901, 2396, 525, 15436, 2200, 29918, 572, 688, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 2620, 29891, 29901, 2396, 525, 29890, 2620, 29891, 29889, 2732, 742, 13, 1678, 525, 29901, 11082, 29901, 2396, 525, 11082, 29889, 2732, 742, 13, 1678, 525, 29901, 10222, 400, 431, 29901, 2396, 525, 10222, 400, 431, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 493, 29901, 2396, 525, 29890, 493, 29889, 2732, 742, 13, 1678, 525, 29901, 845, 1680, 29901, 2396, 525, 845, 1680, 29889, 2732, 742, 13, 1678, 525, 29901, 517, 488, 29873, 29901, 2396, 525, 517, 488, 29873, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 4615, 29901, 2396, 525, 29893, 4615, 29889, 2732, 742, 13, 1678, 525, 29901, 21305, 29918, 392, 29918, 2095, 29873, 29901, 2396, 525, 21305, 29918, 392, 29918, 2095, 29873, 29889, 2732, 742, 13, 1678, 525, 29901, 3391, 1050, 29901, 2396, 525, 3391, 1050, 29889, 2732, 742, 13, 1678, 525, 29901, 17433, 29901, 2396, 525, 17433, 29889, 2732, 742, 13, 1678, 525, 29901, 3844, 17223, 29901, 2396, 525, 3844, 17223, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 3424, 29901, 2396, 525, 29890, 3424, 29889, 2732, 742, 13, 1678, 525, 29901, 28798, 29901, 2396, 525, 28798, 29889, 2732, 742, 13, 1678, 525, 29901, 1251, 1859, 29901, 2396, 525, 1251, 1859, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 453, 29901, 2396, 525, 29886, 453, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 4316, 19144, 29901, 2396, 525, 29879, 4316, 19144, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 4992, 23156, 29901, 2396, 525, 29885, 4992, 23156, 29889, 2732, 742, 13, 1678, 525, 29901, 11771, 29901, 2396, 525, 11771, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 26810, 29901, 2396, 525, 29881, 26810, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 618, 29901, 2396, 525, 29886, 618, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 2192, 29901, 2396, 525, 29872, 2192, 29889, 2732, 742, 13, 1678, 525, 29901, 11944, 277, 29918, 7543, 29901, 2396, 525, 11944, 277, 29918, 7543, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 4992, 29918, 2541, 29918, 29893, 886, 29901, 2396, 525, 29885, 4992, 29918, 2541, 29918, 29893, 886, 29889, 2732, 742, 13, 1678, 525, 29901, 4804, 292, 29901, 2396, 525, 4804, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 5269, 29901, 2396, 525, 5269, 29889, 2732, 742, 13, 1678, 525, 29901, 262, 1884, 29918, 29873, 764, 29901, 2396, 525, 262, 1884, 29918, 29873, 764, 29889, 2732, 742, 13, 1678, 525, 29901, 449, 1884, 29918, 29873, 764, 29901, 2396, 525, 449, 1884, 29918, 29873, 764, 29889, 2732, 742, 13, 1678, 525, 29901, 264, 21367, 29901, 2396, 525, 264, 21367, 29889, 2732, 742, 13, 1678, 525, 29901, 264, 21367, 29918, 2541, 29918, 2936, 29901, 2396, 525, 264, 21367, 29918, 2541, 29918, 2936, 29889, 2732, 742, 13, 1678, 525, 29901, 262, 11506, 29918, 264, 21367, 29901, 2396, 525, 262, 11506, 29918, 264, 21367, 29889, 2732, 742, 13, 1678, 525, 29901, 2490, 284, 29918, 25031, 29901, 2396, 525, 2490, 284, 29918, 25031, 29889, 2732, 742, 13, 1678, 525, 29901, 2549, 1884, 29901, 2396, 525, 2549, 1884, 29889, 2732, 742, 13, 1678, 525, 29901, 2549, 1884, 29918, 15603, 29901, 2396, 525, 2549, 1884, 29918, 15603, 29889, 2732, 742, 13, 1678, 525, 29901, 2549, 1884, 29918, 2541, 29918, 2549, 29901, 2396, 525, 2549, 1884, 29918, 2541, 29918, 2549, 29889, 2732, 742, 13, 1678, 525, 29901, 2549, 1884, 29918, 2541, 29918, 1217, 29918, 2549, 29901, 2396, 525, 2549, 1884, 29918, 2541, 29918, 1217, 29918, 2549, 29889, 2732, 742, 13, 1678, 525, 29901, 2490, 1884, 29901, 2396, 525, 2490, 1884, 29889, 2732, 742, 13, 1678, 525, 29901, 1884, 29901, 2396, 525, 1884, 29889, 2732, 742, 13, 1678, 525, 29901, 2238, 5553, 29901, 2396, 525, 2238, 5553, 29889, 2732, 742, 13, 1678, 525, 29901, 6954, 29877, 29901, 2396, 525, 6954, 29877, 29889, 2732, 742, 13, 1678, 525, 29901, 3488, 29918, 2541, 29918, 18963, 29901, 2396, 525, 3488, 29918, 2541, 29918, 18963, 29889, 2732, 742, 13, 1678, 525, 29901, 2909, 3502, 29918, 21175, 29901, 2396, 525, 2909, 3502, 29918, 21175, 29889, 2732, 742, 13, 1678, 525, 29901, 1646, 29918, 15425, 29901, 2396, 525, 1646, 29918, 15425, 29889, 2732, 742, 13, 1678, 525, 29901, 15425, 29918, 2541, 29918, 786, 2935, 29918, 509, 355, 29901, 2396, 525, 15425, 29918, 2541, 29918, 786, 2935, 29918, 509, 355, 29889, 2732, 742, 13, 1678, 525, 29901, 15425, 29918, 2541, 29918, 3204, 2935, 29918, 509, 355, 29901, 2396, 525, 15425, 29918, 2541, 29918, 3204, 2935, 29918, 509, 355, 29889, 2732, 742, 13, 1678, 525, 29901, 10510, 29901, 2396, 525, 10510, 29889, 2732, 742, 13, 1678, 525, 29901, 24049, 3377, 29901, 2396, 525, 24049, 3377, 29889, 2732, 742, 13, 1678, 525, 29901, 1256, 29901, 2396, 525, 1256, 29889, 2732, 742, 13, 1678, 525, 29901, 23392, 29901, 2396, 525, 23392, 29889, 2732, 742, 13, 1678, 525, 29901, 7543, 29918, 2248, 29901, 2396, 525, 7543, 29918, 2248, 29889, 2732, 742, 13, 1678, 525, 29901, 1445, 29918, 12083, 29901, 2396, 525, 1445, 29918, 12083, 29889, 2732, 742, 13, 1678, 525, 29901, 3150, 29918, 1445, 29918, 12083, 29901, 2396, 525, 3150, 29918, 1445, 29918, 12083, 29889, 2732, 742, 13, 1678, 525, 29901, 1557, 790, 943, 29901, 2396, 525, 1557, 790, 943, 29889, 2732, 742, 13, 1678, 525, 29901, 5910, 12687, 29901, 2396, 525, 5910, 12687, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 481, 6269, 3466, 29901, 2396, 525, 29886, 481, 6269, 3466, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 29876, 747, 29901, 2396, 525, 8517, 29918, 29876, 747, 29889, 2732, 742, 13, 1678, 525, 29901, 2238, 5553, 29906, 29901, 2396, 525, 2238, 5553, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 4151, 523, 29918, 29878, 8584, 29901, 2396, 525, 4151, 523, 29918, 29878, 8584, 29889, 2732, 742, 13, 1678, 525, 29901, 3626, 6825, 29918, 29878, 8584, 29901, 2396, 525, 3626, 6825, 29918, 29878, 8584, 29889, 2732, 742, 13, 1678, 525, 29901, 15603, 29918, 2909, 29901, 2396, 525, 15603, 29918, 2909, 29889, 2732, 742, 13, 1678, 525, 29901, 12692, 29918, 2909, 29901, 2396, 525, 12692, 29918, 2909, 29889, 2732, 742, 13, 1678, 525, 29901, 9539, 29918, 2909, 29901, 2396, 525, 9539, 29918, 2909, 29889, 2732, 742, 13, 1678, 525, 29901, 272, 927, 29918, 2909, 29901, 2396, 525, 272, 927, 29918, 2909, 29889, 2732, 742, 13, 1678, 525, 29901, 1333, 19273, 29901, 2396, 525, 1333, 19273, 29889, 2732, 742, 13, 1678, 525, 29901, 1333, 19273, 29918, 2541, 29918, 19557, 1230, 29918, 11911, 29901, 2396, 525, 1333, 19273, 29918, 2541, 29918, 19557, 1230, 29918, 11911, 29889, 2732, 742, 13, 1678, 525, 29901, 839, 914, 29901, 2396, 525, 839, 914, 29889, 2732, 742, 13, 1678, 525, 29901, 12733, 29901, 2396, 525, 12733, 29889, 2732, 742, 13, 1678, 525, 29901, 2909, 29901, 2396, 525, 2909, 29889, 2732, 742, 13, 1678, 525, 29901, 2909, 3502, 29901, 2396, 525, 2909, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 978, 29918, 12313, 479, 29901, 2396, 525, 978, 29918, 12313, 479, 29889, 2732, 742, 13, 1678, 525, 29901, 13076, 1883, 4338, 29901, 2396, 525, 13076, 1883, 4338, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 5830, 4338, 29901, 2396, 525, 29873, 5830, 4338, 29889, 2732, 742, 13, 1678, 525, 29901, 1482, 1028, 7202, 29901, 2396, 525, 1482, 1028, 7202, 29889, 2732, 742, 13, 1678, 525, 29901, 442, 29901, 2396, 525, 442, 29889, 2732, 742, 13, 1678, 525, 29901, 16398, 2496, 29901, 2396, 525, 16398, 2496, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 2357, 6710, 29901, 2396, 525, 29885, 2357, 6710, 29889, 2732, 742, 13, 1678, 525, 29901, 2813, 561, 2873, 29901, 2396, 525, 2813, 561, 2873, 29889, 2732, 742, 13, 1678, 525, 29901, 8366, 936, 29918, 13628, 29901, 2396, 525, 8366, 936, 29918, 13628, 29889, 2732, 742, 13, 1678, 525, 29901, 8366, 936, 29918, 6812, 29901, 2396, 525, 8366, 936, 29918, 6812, 29889, 2732, 742, 13, 1678, 525, 29901, 16953, 29901, 2396, 525, 16953, 29889, 2732, 742, 13, 1678, 525, 29901, 8366, 936, 29918, 1989, 3377, 29901, 2396, 525, 8366, 936, 29918, 1989, 3377, 29889, 2732, 742, 13, 1678, 525, 29901, 1403, 22878, 29901, 2396, 525, 1403, 22878, 29889, 2732, 742, 13, 1678, 525, 29901, 509, 3427, 300, 29901, 2396, 525, 509, 3427, 300, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 1165, 3021, 650, 29901, 2396, 525, 29879, 1165, 3021, 650, 29889, 2732, 742, 13, 1678, 525, 29901, 2543, 3673, 29901, 2396, 525, 2543, 3673, 29889, 2732, 742, 13, 1678, 525, 29901, 3493, 29918, 11569, 1664, 29901, 2396, 525, 3493, 29918, 11569, 1664, 29889, 2732, 742, 13, 1678, 525, 29901, 9641, 29918, 11802, 29901, 2396, 525, 9641, 29918, 11802, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 29926, 17933, 29901, 2396, 525, 8517, 29918, 29926, 17933, 29889, 2732, 742, 13, 1678, 525, 29901, 1731, 261, 29918, 1456, 292, 29918, 28160, 29901, 2396, 525, 1731, 261, 29918, 1456, 292, 29918, 28160, 29889, 2732, 742, 13, 1678, 525, 29901, 655, 29882, 29926, 549, 29901, 2396, 525, 655, 29882, 29926, 549, 29889, 2732, 742, 13, 1678, 525, 29901, 11802, 29918, 16217, 29901, 2396, 525, 11802, 29918, 16217, 29889, 2732, 742, 13, 1678, 525, 29901, 11353, 29901, 2396, 525, 11353, 29889, 2732, 742, 13, 1678, 525, 29901, 20012, 29901, 2396, 525, 20012, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 11852, 29901, 2396, 525, 29890, 11852, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 11953, 29901, 2396, 525, 29879, 11953, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 11953, 29901, 2396, 525, 29879, 11953, 29889, 2732, 742, 13, 1678, 525, 29901, 3188, 2135, 29901, 2396, 525, 3188, 2135, 29889, 2732, 742, 13, 1678, 525, 29901, 841, 6994, 29901, 2396, 525, 841, 6994, 29889, 2732, 742, 13, 1678, 525, 29901, 29947, 2135, 29901, 2396, 525, 29947, 2135, 29889, 2732, 742, 13, 1678, 525, 29901, 11124, 1609, 29918, 20012, 29901, 2396, 525, 11124, 1609, 29918, 20012, 29889, 2732, 742, 13, 1678, 525, 29901, 17729, 1847, 29901, 2396, 525, 17729, 1847, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 4369, 29901, 2396, 525, 29887, 4369, 29889, 2732, 742, 13, 1678, 525, 29901, 16476, 475, 29918, 29890, 4245, 695, 391, 29901, 2396, 525, 16476, 475, 29918, 29890, 4245, 695, 391, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 4245, 695, 391, 29901, 2396, 525, 29890, 4245, 695, 391, 29889, 2732, 742, 13, 1678, 525, 29901, 3198, 14561, 29918, 15581, 29901, 2396, 525, 3198, 14561, 29918, 15581, 29889, 2732, 742, 13, 1678, 525, 29901, 2015, 344, 29918, 945, 292, 29901, 2396, 525, 2015, 344, 29918, 945, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 307, 11461, 29901, 2396, 525, 29873, 307, 11461, 29889, 2732, 742, 13, 1678, 525, 29901, 2574, 29901, 2396, 525, 2574, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 3707, 3377, 261, 29901, 2396, 525, 29879, 3707, 3377, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 2774, 19400, 29901, 2396, 525, 2774, 19400, 29889, 2732, 742, 13, 1678, 525, 29901, 7610, 571, 29901, 2396, 525, 7610, 571, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 14424, 29918, 15831, 29918, 392, 29918, 15161, 29901, 2396, 525, 29888, 14424, 29918, 15831, 29918, 392, 29918, 15161, 29889, 2732, 742, 13, 1678, 525, 29901, 1111, 600, 3905, 29901, 2396, 525, 1111, 600, 3905, 29889, 2732, 742, 13, 1678, 525, 29901, 371, 29874, 29901, 2396, 525, 371, 29874, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 1296, 29901, 2396, 525, 29879, 1296, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 10798, 29918, 29890, 1501, 280, 29901, 2396, 525, 29890, 10798, 29918, 29890, 1501, 280, 29889, 2732, 742, 13, 1678, 525, 29901, 915, 261, 29901, 2396, 525, 915, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 915, 414, 29901, 2396, 525, 915, 414, 29889, 2732, 742, 13, 1678, 525, 29901, 24956, 18237, 29901, 2396, 525, 24956, 18237, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 1336, 936, 29918, 7707, 682, 29901, 2396, 525, 29873, 1336, 936, 29918, 7707, 682, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 457, 29918, 29050, 29901, 2396, 525, 29893, 457, 29918, 29050, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 548, 29918, 392, 29918, 3959, 1607, 29901, 2396, 525, 29888, 548, 29918, 392, 29918, 3959, 1607, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 24990, 29901, 2396, 525, 29886, 24990, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 1117, 26120, 29901, 2396, 525, 29882, 1117, 26120, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 2722, 29901, 2396, 525, 29888, 2722, 29889, 2732, 742, 13, 1678, 525, 29901, 29886, 5059, 2202, 29918, 1397, 29901, 2396, 525, 29886, 5059, 2202, 29918, 1397, 29889, 2732, 742, 13, 1678, 525, 29901, 1004, 271, 29918, 265, 29918, 15933, 29901, 2396, 525, 1004, 271, 29918, 265, 29918, 15933, 29889, 2732, 742, 13, 1678, 525, 29901, 1028, 21705, 9890, 29901, 2396, 525, 1028, 21705, 9890, 29889, 2732, 742, 13, 1678, 525, 29901, 2764, 719, 29901, 2396, 525, 2764, 719, 29889, 2732, 742, 13, 1678, 525, 29901, 17283, 29918, 845, 5632, 29886, 29901, 2396, 525, 17283, 29918, 845, 5632, 29886, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 9239, 29901, 2396, 525, 29890, 9239, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 1878, 29875, 29901, 2396, 525, 29879, 1878, 29875, 29889, 2732, 742, 13, 1678, 525, 29901, 15161, 29918, 1113, 446, 29901, 2396, 525, 15161, 29918, 1113, 446, 29889, 2732, 742, 13, 1678, 525, 29901, 11674, 29918, 2135, 29901, 2396, 525, 11674, 29918, 2135, 29889, 2732, 742, 13, 1678, 525, 29901, 11674, 29918, 26844, 4937, 29901, 2396, 525, 11674, 29918, 26844, 4937, 29889, 2732, 742, 13, 1678, 525, 29901, 11674, 29901, 2396, 525, 11674, 29889, 2732, 742, 13, 1678, 525, 29901, 2572, 264, 29901, 2396, 525, 2572, 264, 29889, 2732, 742, 13, 1678, 525, 29901, 303, 809, 29901, 2396, 525, 303, 809, 29889, 2732, 742, 13, 1678, 525, 29901, 13183, 29901, 2396, 525, 13183, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 4524, 29901, 2396, 525, 29881, 4524, 29889, 2732, 742, 13, 1678, 525, 29901, 387, 29887, 29901, 2396, 525, 387, 29887, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 949, 29901, 2396, 525, 29890, 949, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 820, 21305, 29901, 2396, 525, 29881, 820, 21305, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 504, 538, 29901, 2396, 525, 29883, 504, 538, 29889, 2732, 742, 13, 1678, 525, 29901, 625, 1037, 314, 29901, 2396, 525, 625, 1037, 314, 29889, 2732, 742, 13, 1678, 525, 29901, 625, 29918, 1037, 314, 29901, 2396, 525, 625, 29918, 1037, 314, 29889, 2732, 742, 13, 1678, 525, 29901, 845, 10511, 29918, 625, 29901, 2396, 525, 845, 10511, 29918, 625, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 7515, 3250, 29901, 2396, 525, 29890, 7515, 3250, 29889, 2732, 742, 13, 1678, 525, 29901, 1113, 446, 29901, 2396, 525, 1113, 446, 29889, 2732, 742, 13, 1678, 525, 29901, 21509, 29901, 2396, 525, 21509, 29889, 2732, 742, 13, 1678, 525, 29901, 305, 542, 23167, 29918, 1646, 29901, 2396, 525, 305, 542, 23167, 29918, 1646, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 13910, 29901, 2396, 525, 29883, 13910, 29889, 2732, 742, 13, 1678, 525, 29901, 29880, 324, 3466, 459, 29901, 2396, 525, 29880, 324, 3466, 459, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 4992, 29918, 17765, 29901, 2396, 525, 29882, 4992, 29918, 17765, 29889, 2732, 742, 13, 1678, 525, 29901, 11548, 29901, 2396, 525, 11548, 29889, 2732, 742, 13, 1678, 525, 29901, 12692, 29918, 11548, 29901, 2396, 525, 12692, 29918, 11548, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 4600, 457, 29901, 2396, 525, 29873, 4600, 457, 29889, 2732, 742, 13, 1678, 525, 29901, 2409, 265, 29901, 2396, 525, 2409, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 4630, 2722, 29901, 2396, 525, 4630, 2722, 29889, 2732, 742, 13, 1678, 525, 29901, 29887, 2390, 267, 29901, 2396, 525, 29887, 2390, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 271, 837, 295, 265, 29901, 2396, 525, 29893, 271, 837, 295, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 303, 1610, 16344, 29901, 2396, 525, 303, 1610, 16344, 29889, 2732, 742, 13, 1678, 525, 29901, 412, 496, 29901, 2396, 525, 412, 496, 29889, 2732, 742, 13, 1678, 525, 29901, 12873, 265, 29901, 2396, 525, 12873, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 2571, 1648, 29901, 2396, 525, 2571, 1648, 29889, 2732, 742, 13, 1678, 525, 29901, 412, 279, 29901, 2396, 525, 412, 279, 29889, 2732, 742, 13, 1678, 525, 29901, 26215, 11548, 29901, 2396, 525, 26215, 11548, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 16668, 29918, 17765, 1219, 29901, 2396, 525, 29879, 16668, 29918, 17765, 1219, 29889, 2732, 742, 13, 1678, 525, 29901, 387, 29887, 24389, 29901, 2396, 525, 387, 29887, 24389, 29889, 2732, 742, 13, 1678, 525, 29901, 15135, 1219, 29901, 2396, 525, 15135, 1219, 29889, 2732, 742, 13, 1678, 525, 29901, 29883, 1398, 29901, 2396, 525, 29883, 1398, 29889, 2732, 742, 13, 1678, 525, 29901, 8697, 29901, 2396, 525, 8697, 29889, 2732, 742, 13, 1678, 525, 29901, 8697, 29918, 2541, 29918, 29887, 7879, 29901, 2396, 525, 8697, 29918, 2541, 29918, 29887, 7879, 29889, 2732, 742, 13, 1678, 525, 29901, 27041, 29901, 2396, 525, 27041, 29889, 2732, 742, 13, 1678, 525, 29901, 20205, 29901, 2396, 525, 20205, 29889, 2732, 742, 13, 1678, 525, 29901, 2490, 29918, 20205, 29901, 2396, 525, 2490, 29918, 20205, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 8189, 29901, 2396, 525, 29882, 8189, 29889, 2732, 742, 13, 1678, 525, 29901, 9157, 29901, 2396, 525, 9157, 29889, 2732, 742, 13, 1678, 525, 29901, 535, 854, 5597, 29918, 8899, 29901, 2396, 525, 535, 854, 5597, 29918, 8899, 29889, 2732, 742, 13, 1678, 525, 29901, 417, 345, 29918, 8711, 295, 29901, 2396, 525, 417, 345, 29918, 8711, 295, 29889, 2732, 742, 13, 1678, 525, 29901, 8711, 295, 29901, 2396, 525, 8711, 295, 29889, 2732, 742, 13, 1678, 525, 29901, 8734, 8497, 29901, 2396, 525, 8734, 8497, 29889, 2732, 742, 13, 1678, 525, 29901, 305, 2458, 29901, 2396, 525, 305, 2458, 29889, 2732, 742, 13, 1678, 525, 29901, 311, 8076, 29918, 8899, 29901, 2396, 525, 311, 8076, 29918, 8899, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 3214, 273, 29918, 2490, 29918, 20205, 29901, 2396, 525, 29872, 3214, 273, 29918, 2490, 29918, 20205, 29889, 2732, 742, 13, 1678, 525, 29901, 12690, 29918, 11445, 29878, 895, 29901, 2396, 525, 12690, 29918, 11445, 29878, 895, 29889, 2732, 742, 13, 1678, 525, 29901, 12690, 29918, 11445, 842, 29901, 2396, 525, 12690, 29918, 11445, 842, 29889, 2732, 742, 13, 1678, 525, 29901, 29926, 21419, 968, 29918, 27193, 29901, 2396, 525, 29926, 21419, 968, 29918, 27193, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 3214, 273, 29918, 27193, 29901, 2396, 525, 29872, 3214, 273, 29918, 27193, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 296, 29901, 2396, 525, 29873, 296, 29889, 2732, 742, 13, 1678, 525, 29901, 14399, 29901, 2396, 525, 14399, 29889, 2732, 742, 13, 1678, 525, 29901, 517, 3459, 29877, 29918, 29873, 1680, 29901, 2396, 525, 517, 3459, 29877, 29918, 29873, 1680, 29889, 2732, 742, 13, 1678, 525, 29901, 29926, 21419, 29901, 2396, 525, 29926, 21419, 29889, 2732, 742, 13, 1678, 525, 29901, 16476, 29918, 21154, 2397, 29901, 2396, 525, 16476, 29918, 21154, 2397, 29889, 2732, 742, 13, 1678, 525, 29901, 11445, 29878, 895, 29918, 957, 29918, 16476, 2708, 29901, 2396, 525, 11445, 29878, 895, 29918, 957, 29918, 16476, 2708, 29889, 2732, 742, 13, 1678, 525, 29901, 11445, 29878, 895, 29901, 2396, 525, 11445, 29878, 895, 29889, 2732, 742, 13, 1678, 525, 29901, 12690, 29918, 271, 29918, 11147, 29901, 2396, 525, 12690, 29918, 271, 29918, 11147, 29889, 2732, 742, 13, 1678, 525, 29901, 6112, 434, 29918, 974, 29918, 492, 495, 1017, 29901, 2396, 525, 6112, 434, 29918, 974, 29918, 492, 495, 1017, 29889, 2732, 742, 13, 1678, 525, 29901, 18419, 29918, 271, 29918, 11147, 29901, 2396, 525, 18419, 29918, 271, 29918, 11147, 29889, 2732, 742, 13, 1678, 525, 29901, 4287, 21299, 29918, 2015, 344, 29901, 2396, 525, 4287, 21299, 29918, 2015, 344, 29889, 2732, 742, 13, 1678, 525, 29901, 571, 3780, 29918, 29893, 10552, 29901, 2396, 525, 571, 3780, 29918, 29893, 10552, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 792, 475, 29901, 2396, 525, 29888, 792, 475, 29889, 2732, 742, 13, 1678, 525, 29901, 1825, 29918, 1111, 1901, 29901, 2396, 525, 1825, 29918, 1111, 1901, 29889, 2732, 742, 13, 1678, 525, 29901, 3527, 29901, 2396, 525, 3527, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 737, 833, 271, 29901, 2396, 525, 29879, 737, 833, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 19322, 833, 271, 29901, 2396, 525, 19322, 833, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 798, 833, 271, 29901, 2396, 525, 798, 833, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 25367, 29901, 2396, 525, 25367, 29889, 2732, 742, 13, 1678, 525, 29901, 307, 3522, 29901, 2396, 525, 307, 3522, 29889, 2732, 742, 13, 1678, 525, 29901, 1466, 22116, 29901, 2396, 525, 1466, 22116, 29889, 2732, 742, 13, 1678, 525, 29901, 344, 271, 29901, 2396, 525, 344, 271, 29889, 2732, 742, 13, 1678, 525, 29901, 3952, 293, 19959, 29901, 2396, 525, 3952, 293, 19959, 29889, 2732, 742, 13, 1678, 525, 29901, 1655, 314, 29918, 417, 23045, 573, 29901, 2396, 525, 1655, 314, 29918, 417, 23045, 573, 29889, 2732, 742, 13, 1678, 525, 29901, 509, 314, 29901, 2396, 525, 509, 314, 29889, 2732, 742, 13, 1678, 525, 29901, 19569, 29901, 2396, 525, 19569, 29889, 2732, 742, 13, 1678, 525, 29901, 16476, 475, 29918, 336, 309, 1582, 29901, 2396, 525, 16476, 475, 29918, 336, 309, 1582, 29889, 2732, 742, 13, 1678, 525, 29901, 14968, 29906, 29901, 2396, 525, 14968, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 8645, 13650, 6038, 29918, 2975, 29906, 29901, 2396, 525, 8645, 13650, 6038, 29918, 2975, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 8645, 13650, 6038, 29918, 2975, 29901, 2396, 525, 8645, 13650, 6038, 29918, 2975, 29889, 2732, 742, 13, 1678, 525, 29901, 4366, 29918, 336, 309, 29901, 2396, 525, 4366, 29918, 336, 309, 29889, 2732, 742, 13, 1678, 525, 29901, 14968, 29918, 8862, 29901, 2396, 525, 14968, 29918, 8862, 29889, 2732, 742, 13, 1678, 525, 29901, 3712, 272, 737, 29901, 2396, 525, 3712, 272, 737, 29889, 2732, 742, 13, 1678, 525, 29901, 14968, 29901, 2396, 525, 14968, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 1467, 2330, 29901, 2396, 525, 29873, 1467, 2330, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 1467, 2330, 8262, 29901, 2396, 525, 29873, 1467, 2330, 8262, 29889, 2732, 742, 13, 1678, 525, 29901, 8262, 29901, 2396, 525, 8262, 29889, 2732, 742, 13, 1678, 525, 29901, 265, 11506, 29918, 8262, 29901, 2396, 525, 265, 11506, 29918, 8262, 29889, 2732, 742, 13, 1678, 525, 29901, 9539, 29918, 4287, 29901, 2396, 525, 9539, 29918, 4287, 29889, 2732, 742, 13, 1678, 525, 29901, 265, 11506, 29918, 17405, 5249, 29901, 2396, 525, 265, 11506, 29918, 17405, 5249, 29889, 2732, 742, 13, 1678, 525, 29901, 4287, 29901, 2396, 525, 4287, 29889, 2732, 742, 13, 1678, 525, 29901, 941, 5389, 29901, 2396, 525, 941, 5389, 29889, 2732, 742, 13, 1678, 525, 29901, 265, 11506, 29918, 941, 5389, 29901, 2396, 525, 265, 11506, 29918, 941, 5389, 29889, 2732, 742, 13, 1678, 525, 29901, 442, 293, 7964, 29918, 29880, 3818, 29901, 2396, 525, 442, 293, 7964, 29918, 29880, 3818, 29889, 2732, 742, 13, 1678, 525, 29901, 509, 2707, 29901, 2396, 525, 509, 2707, 29889, 2732, 742, 13, 1678, 525, 29901, 5450, 1218, 29918, 4366, 29901, 2396, 525, 5450, 1218, 29918, 4366, 29889, 2732, 742, 13, 1678, 525, 29901, 3733, 625, 29918, 4287, 29901, 2396, 525, 3733, 625, 29918, 4287, 29889, 2732, 742, 13, 1678, 525, 29901, 265, 11506, 29918, 3733, 625, 29918, 4287, 29901, 2396, 525, 265, 11506, 29918, 3733, 625, 29918, 4287, 29889, 2732, 742, 13, 1678, 525, 29901, 8696, 29918, 10599, 29901, 2396, 525, 8696, 29918, 10599, 29889, 2732, 742, 13, 1678, 525, 29901, 1117, 352, 749, 29901, 2396, 525, 1117, 352, 749, 29889, 2732, 742, 13, 1678, 525, 29901, 1195, 19699, 29901, 2396, 525, 1195, 19699, 29889, 2732, 742, 13, 1678, 525, 29901, 5365, 446, 29901, 2396, 525, 5365, 446, 29889, 2732, 742, 13, 1678, 525, 29901, 29874, 261, 616, 29918, 509, 314, 1582, 29901, 2396, 525, 29874, 261, 616, 29918, 509, 314, 1582, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 375, 29886, 2673, 29918, 336, 309, 1582, 29901, 2396, 525, 29879, 375, 29886, 2673, 29918, 336, 309, 1582, 29889, 2732, 742, 13, 1678, 525, 29901, 16476, 475, 29918, 29883, 519, 1582, 29901, 2396, 525, 16476, 475, 29918, 29883, 519, 1582, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 28891, 29901, 2396, 525, 29873, 28891, 29889, 2732, 742, 13, 1678, 525, 29901, 1646, 495, 29901, 2396, 525, 1646, 495, 29889, 2732, 742, 13, 1678, 525, 29901, 8262, 9847, 29901, 2396, 525, 8262, 9847, 29889, 2732, 742, 13, 1678, 525, 29901, 29873, 8522, 29901, 2396, 525, 29873, 8522, 29889, 2732, 742, 13, 1678, 525, 29901, 18575, 29918, 3018, 2416, 29918, 4366, 29901, 2396, 525, 18575, 29918, 3018, 2416, 29918, 4366, 29889, 2732, 742, 13, 1678, 525, 29901, 3018, 2416, 29918, 4366, 29901, 2396, 525, 3018, 2416, 29918, 4366, 29889, 2732, 742, 13, 1678, 525, 29901, 27392, 29901, 2396, 525, 27392, 29889, 2732, 742, 13, 1678, 525, 29901, 3075, 4080, 29901, 2396, 525, 3075, 4080, 29889, 2732, 742, 13, 1678, 525, 29901, 463, 1089, 29901, 2396, 525, 463, 1089, 29889, 2732, 742, 13, 1678, 525, 29901, 29888, 2491, 29886, 3427, 29901, 2396, 525, 29888, 2491, 29886, 3427, 29889, 2732, 742, 13, 1678, 525, 29901, 466, 557, 9010, 29918, 6468, 725, 29901, 2396, 525, 466, 557, 9010, 29918, 6468, 725, 29889, 2732, 742, 13, 1678, 525, 29901, 2536, 327, 29918, 23523, 29901, 2396, 525, 2536, 327, 29918, 23523, 29889, 2732, 742, 13, 1678, 525, 29901, 29882, 1862, 558, 886, 29901, 2396, 525, 29882, 1862, 558, 886, 29889, 2732, 742, 13, 1678, 525, 29901, 4346, 29891, 1794, 29901, 2396, 525, 4346, 29891, 1794, 29889, 2732, 742, 13, 1678, 525, 29901, 6034, 375, 29918, 29873, 296, 29901, 2396, 525, 6034, 375, 29918, 29873, 296, 29889, 2732, 742, 13, 1678, 525, 29901, 19826, 292, 29918, 5708, 29901, 2396, 525, 19826, 292, 29918, 5708, 29889, 2732, 742, 13, 1678, 525, 29901, 14486, 29918, 5910, 12687, 29901, 2396, 525, 14486, 29918, 5910, 12687, 29889, 2732, 742, 13, 1678, 525, 29901, 3626, 6825, 29918, 15581, 29918, 265, 29918, 2490, 29901, 2396, 525, 3626, 6825, 29918, 15581, 29918, 265, 29918, 2490, 29889, 2732, 742, 13, 1678, 525, 29901, 16865, 29901, 2396, 525, 16865, 29889, 2732, 742, 13, 1678, 525, 29901, 12748, 29901, 2396, 525, 12748, 29889, 2732, 742, 13, 1678, 525, 29901, 311, 29901, 2396, 525, 311, 29889, 2732, 742, 13, 1678, 525, 29901, 18038, 29901, 2396, 525, 18038, 29889, 2732, 742, 13, 1678, 525, 29901, 375, 29901, 2396, 525, 375, 29889, 2732, 742, 13, 1678, 525, 29901, 1341, 29901, 2396, 525, 1341, 29889, 2732, 742, 13, 1678, 525, 29901, 267, 29901, 2396, 525, 267, 29889, 2732, 742, 13, 1678, 525, 29901, 277, 29901, 2396, 525, 277, 29889, 2732, 742, 13, 1678, 525, 29901, 582, 29901, 2396, 525, 582, 29889, 2732, 742, 13, 1678, 525, 29901, 26300, 29901, 2396, 525, 26300, 29889, 2732, 742, 13, 1678, 525, 29901, 650, 29901, 2396, 525, 650, 29889, 2732, 742, 13, 1678, 525, 29901, 10184, 29901, 2396, 525, 10184, 29889, 2732, 742, 13, 1678, 525, 29901, 17536, 29901, 2396, 525, 17536, 29889, 2732, 742, 13, 1678, 525, 29901, 17823, 29901, 2396, 525, 17823, 29889, 2732, 742, 13, 1678, 525, 29901, 20818, 29901, 2396, 525, 20818, 29889, 2732, 742, 13, 1678, 525, 29901, 28319, 29901, 2396, 525, 28319, 29889, 2732, 742, 13, 1678, 525, 29901, 344, 854, 29901, 2396, 525, 344, 854, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 523, 29901, 2396, 525, 29872, 523, 29889, 2732, 742, 13, 1678, 525, 29901, 29876, 457, 29901, 2396, 525, 29876, 457, 29889, 2732, 742, 13, 1678, 525, 29901, 9171, 29901, 2396, 525, 9171, 29889, 2732, 742, 13, 1678, 525, 29901, 1989, 5030, 29918, 841, 29901, 2396, 525, 1989, 5030, 29918, 841, 29889, 2732, 742, 13, 1678, 525, 29901, 29896, 29906, 29941, 29946, 29901, 2396, 525, 29896, 29906, 29941, 29946, 29889, 2732, 742, 13, 1678, 525, 29901, 8568, 29901, 2396, 525, 8568, 29889, 2732, 742, 13, 1678, 525, 29901, 18098, 29879, 29901, 2396, 525, 18098, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 786, 29901, 2396, 525, 2936, 29918, 786, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 3204, 29901, 2396, 525, 2936, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 1563, 29901, 2396, 525, 2936, 29918, 1563, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 1266, 29901, 2396, 525, 2936, 29918, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 5030, 2410, 29918, 370, 2252, 29901, 2396, 525, 5030, 2410, 29918, 370, 2252, 29889, 2732, 742, 13, 1678, 525, 29901, 370, 2252, 29901, 2396, 525, 370, 2252, 29889, 2732, 742, 13, 1678, 525, 29901, 10736, 29901, 2396, 525, 10736, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 21064, 29918, 1266, 29901, 2396, 525, 2936, 29918, 21064, 29918, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 21064, 29918, 1563, 29901, 2396, 525, 2936, 29918, 21064, 29918, 1563, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 13609, 29918, 1266, 29901, 2396, 525, 2936, 29918, 13609, 29918, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 13609, 29918, 1563, 29901, 2396, 525, 2936, 29918, 13609, 29918, 1563, 29889, 2732, 742, 13, 1678, 525, 29901, 1563, 29918, 1266, 29918, 2936, 29901, 2396, 525, 1563, 29918, 1266, 29918, 2936, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 786, 29918, 3204, 29901, 2396, 525, 2936, 29918, 786, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29879, 29918, 11808, 13058, 3538, 29901, 2396, 525, 2936, 29879, 29918, 11808, 13058, 3538, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 1627, 1328, 29901, 2396, 525, 2936, 29918, 1627, 1328, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 11333, 29901, 2396, 525, 2936, 29918, 11333, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 786, 29918, 9278, 29901, 2396, 525, 2936, 29918, 786, 29918, 9278, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 3204, 29918, 9278, 29901, 2396, 525, 2936, 29918, 3204, 29918, 9278, 29889, 2732, 742, 13, 1678, 525, 29901, 1563, 2935, 29918, 2936, 29918, 2541, 29918, 20849, 29901, 2396, 525, 1563, 2935, 29918, 2936, 29918, 2541, 29918, 20849, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 1266, 29918, 20849, 29901, 2396, 525, 2936, 29918, 1266, 29918, 20849, 29889, 2732, 742, 13, 1678, 525, 29901, 19678, 29918, 4993, 29901, 2396, 525, 19678, 29918, 4993, 29889, 2732, 742, 13, 1678, 525, 29901, 3973, 513, 29901, 2396, 525, 3973, 513, 29889, 2732, 742, 13, 1678, 525, 29901, 11255, 29918, 11333, 29901, 2396, 525, 11255, 29918, 11333, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 8896, 29918, 786, 29901, 2396, 525, 2936, 29918, 8896, 29918, 786, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 8896, 29918, 3204, 29901, 2396, 525, 2936, 29918, 8896, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29918, 2813, 292, 29918, 3204, 29901, 2396, 525, 2936, 29918, 2813, 292, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 292, 29918, 2813, 292, 29918, 786, 29901, 2396, 525, 2936, 292, 29918, 2813, 292, 29918, 786, 29889, 2732, 742, 13, 1678, 525, 29901, 554, 29901, 2396, 525, 554, 29889, 2732, 742, 13, 1678, 525, 29901, 7516, 12652, 29918, 1266, 2935, 29918, 2936, 29879, 29901, 2396, 525, 7516, 12652, 29918, 1266, 2935, 29918, 2936, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 14358, 29901, 2396, 525, 14358, 29889, 2732, 742, 13, 1678, 525, 29901, 14358, 29918, 650, 29901, 2396, 525, 14358, 29918, 650, 29889, 2732, 742, 13, 1678, 525, 29901, 1482, 29901, 2396, 525, 1482, 29889, 2732, 742, 13, 1678, 525, 29901, 786, 29901, 2396, 525, 786, 29889, 2732, 742, 13, 1678, 525, 29901, 1111, 324, 29901, 2396, 525, 1111, 324, 29889, 2732, 742, 13, 1678, 525, 29901, 9021, 29901, 2396, 525, 9021, 29889, 2732, 742, 13, 1678, 525, 29901, 865, 29901, 2396, 525, 865, 29889, 2732, 742, 13, 1678, 525, 29901, 25436, 29918, 710, 1477, 29901, 2396, 525, 25436, 29918, 710, 1477, 29889, 2732, 742, 13, 1678, 525, 29901, 16381, 2603, 29901, 2396, 525, 16381, 2603, 29889, 2732, 742, 13, 1678, 525, 29901, 29895, 15218, 29901, 2396, 525, 29895, 15218, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29953, 29941, 29900, 29955, 29901, 2396, 525, 29884, 29953, 29941, 29900, 29955, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29955, 29874, 29955, 29874, 29901, 2396, 525, 29884, 29955, 29874, 29955, 29874, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29953, 29872, 29947, 29900, 29901, 2396, 525, 29884, 29953, 29872, 29947, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29945, 29946, 29900, 29947, 29901, 2396, 525, 29884, 29945, 29946, 29900, 29947, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29955, 29929, 29947, 29896, 29901, 2396, 525, 29884, 29955, 29929, 29947, 29896, 29889, 2732, 742, 13, 1678, 525, 29901, 680, 1946, 29918, 17263, 8501, 29901, 2396, 525, 680, 1946, 29918, 17263, 8501, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29945, 29906, 29955, 29906, 29901, 2396, 525, 29884, 29945, 29906, 29955, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29945, 29945, 29890, 29953, 29901, 2396, 525, 29884, 29945, 29945, 29890, 29953, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29953, 29955, 29900, 29929, 29901, 2396, 525, 29884, 29953, 29955, 29900, 29929, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29955, 29896, 29906, 29896, 29901, 2396, 525, 29884, 29955, 29896, 29906, 29896, 29889, 2732, 742, 13, 1678, 525, 29901, 5060, 8345, 29901, 2396, 525, 5060, 8345, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 575, 29901, 2396, 525, 29885, 575, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 290, 575, 29901, 2396, 525, 29893, 290, 575, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 10798, 29918, 18098, 29901, 2396, 525, 29890, 10798, 29918, 18098, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 29883, 29901, 2396, 525, 29893, 29883, 29889, 2732, 742, 13, 1678, 525, 29901, 17765, 519, 29918, 13405, 29901, 2396, 525, 17765, 519, 29918, 13405, 29889, 2732, 742, 13, 1678, 525, 29901, 649, 29918, 29880, 5171, 29918, 262, 29918, 1169, 29918, 6689, 29901, 2396, 525, 649, 29918, 29880, 5171, 29918, 262, 29918, 1169, 29918, 6689, 29889, 2732, 742, 13, 1678, 525, 29901, 6378, 292, 29901, 2396, 525, 6378, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 10552, 305, 1466, 29901, 2396, 525, 29893, 10552, 305, 1466, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 3844, 17223, 29901, 2396, 525, 1217, 29918, 3844, 17223, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29953, 29955, 29900, 29947, 29901, 2396, 525, 29884, 29953, 29955, 29900, 29947, 29889, 2732, 742, 13, 1678, 525, 29901, 29884, 29955, 29945, 29941, 29941, 29901, 2396, 525, 29884, 29955, 29945, 29941, 29941, 29889, 2732, 742, 13, 1678, 525, 29901, 4977, 29901, 2396, 525, 4977, 29889, 2732, 742, 13, 1678, 525, 29901, 29885, 29901, 2396, 525, 29885, 29889, 2732, 742, 13, 1678, 525, 29901, 3364, 637, 29918, 6451, 29901, 2396, 525, 3364, 637, 29918, 6451, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 16170, 482, 29918, 29883, 8342, 29901, 2396, 525, 29890, 16170, 482, 29918, 29883, 8342, 29889, 2732, 742, 13, 1678, 525, 29901, 1563, 29918, 29880, 12981, 482, 29901, 2396, 525, 1563, 29918, 29880, 12981, 482, 29889, 2732, 742, 13, 1678, 525, 29901, 6341, 29879, 29901, 2396, 525, 6341, 29879, 29889, 2732, 742, 13, 1678, 525, 29901, 16044, 29901, 2396, 525, 16044, 29889, 2732, 742, 13, 1678, 525, 29901, 19024, 29901, 2396, 525, 19024, 29889, 2732, 742, 13, 1678, 525, 29901, 535, 629, 271, 8250, 29901, 2396, 525, 535, 629, 271, 8250, 29889, 2732, 742, 13, 1678, 525, 29901, 695, 29901, 2396, 525, 695, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 359, 29901, 2396, 525, 29879, 359, 29889, 2732, 742, 13, 1678, 525, 29901, 333, 29901, 2396, 525, 333, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 8269, 29918, 4530, 29901, 2396, 525, 1217, 29918, 8269, 29918, 4530, 29889, 2732, 742, 13, 1678, 525, 29901, 5062, 482, 29901, 2396, 525, 5062, 482, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 16769, 29918, 561, 2873, 29901, 2396, 525, 1217, 29918, 16769, 29918, 561, 2873, 29889, 2732, 742, 13, 1678, 525, 29901, 1867, 29918, 1333, 29918, 29880, 5171, 29901, 2396, 525, 1867, 29918, 1333, 29918, 29880, 5171, 29889, 2732, 742, 13, 1678, 525, 29901, 5464, 29918, 17765, 519, 29918, 13405, 29901, 2396, 525, 5464, 29918, 17765, 519, 29918, 13405, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 29890, 4245, 7799, 29901, 2396, 525, 1217, 29918, 29890, 4245, 7799, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 9795, 342, 374, 550, 29901, 2396, 525, 1217, 29918, 9795, 342, 374, 550, 29889, 2732, 742, 13, 1678, 525, 29901, 11991, 29918, 19128, 292, 29901, 2396, 525, 11991, 29918, 19128, 292, 29889, 2732, 742, 13, 1678, 525, 29901, 1217, 29918, 8269, 29901, 2396, 525, 1217, 29918, 8269, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 523, 29918, 1028, 12504, 29918, 1901, 3873, 29901, 2396, 525, 29872, 523, 29918, 1028, 12504, 29918, 1901, 3873, 29889, 2732, 742, 13, 1678, 525, 29901, 17823, 29918, 1028, 12504, 29918, 1901, 3873, 29901, 2396, 525, 17823, 29918, 1028, 12504, 29918, 1901, 3873, 29889, 2732, 742, 13, 1678, 525, 29901, 22198, 29918, 26613, 1965, 29918, 19128, 29918, 3502, 29901, 2396, 525, 22198, 29918, 26613, 1965, 29918, 19128, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 3198, 29918, 3502, 29901, 2396, 525, 10921, 29918, 3198, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 29872, 523, 29918, 3149, 287, 29918, 8517, 29918, 8508, 29901, 2396, 525, 29872, 523, 29918, 3149, 287, 29918, 8517, 29918, 8508, 29889, 2732, 742, 13, 1678, 525, 29901, 23057, 29918, 19557, 362, 29901, 2396, 525, 23057, 29918, 19557, 362, 29889, 2732, 742, 13, 1678, 525, 29901, 4270, 29901, 2396, 525, 4270, 29889, 2732, 742, 13, 1678, 525, 29901, 29894, 26218, 29918, 8513, 29901, 2396, 525, 29894, 26218, 29918, 8513, 29889, 2732, 742, 13, 1678, 525, 29901, 16769, 29918, 6710, 29918, 2696, 29901, 2396, 525, 16769, 29918, 6710, 29918, 2696, 29889, 2732, 742, 13, 1678, 525, 29901, 29874, 29901, 2396, 525, 29874, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 29901, 2396, 525, 29890, 29889, 2732, 742, 13, 1678, 525, 29901, 370, 29901, 2396, 525, 370, 29889, 2732, 742, 13, 1678, 525, 29901, 29877, 29906, 29901, 2396, 525, 29877, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 2829, 898, 29918, 12181, 29918, 2541, 29918, 29874, 29918, 6333, 29918, 26102, 29901, 2396, 525, 29881, 2829, 898, 29918, 12181, 29918, 2541, 29918, 29874, 29918, 6333, 29918, 26102, 29889, 2732, 742, 13, 1678, 525, 29901, 2764, 368, 29918, 417, 3554, 29901, 2396, 525, 2764, 368, 29918, 417, 3554, 29889, 2732, 742, 13, 1678, 525, 29901, 276, 23090, 29901, 2396, 525, 276, 23090, 29889, 2732, 742, 13, 1678, 525, 29901, 4314, 29901, 2396, 525, 4314, 29889, 2732, 742, 13, 1678, 525, 29901, 941, 17142, 29901, 2396, 525, 941, 17142, 29889, 2732, 742, 13, 1678, 525, 29901, 17797, 2172, 29901, 2396, 525, 17797, 2172, 29889, 2732, 742, 13, 1678, 525, 29901, 3068, 2265, 29901, 2396, 525, 3068, 2265, 29889, 2732, 742, 13, 1678, 525, 29901, 280, 29877, 29901, 2396, 525, 280, 29877, 29889, 2732, 742, 13, 1678, 525, 29901, 2405, 1484, 29901, 2396, 525, 2405, 1484, 29889, 2732, 742, 13, 1678, 525, 29901, 1982, 336, 29901, 2396, 525, 1982, 336, 29889, 2732, 742, 13, 1678, 525, 29901, 1557, 272, 1631, 375, 29901, 2396, 525, 1557, 272, 1631, 375, 29889, 2732, 742, 13, 1678, 525, 29901, 29879, 351, 986, 19563, 29901, 2396, 525, 29879, 351, 986, 19563, 29889, 2732, 742, 13, 1678, 525, 29901, 5030, 2200, 1398, 29901, 2396, 525, 5030, 2200, 1398, 29889, 2732, 742, 13, 1678, 525, 29901, 18463, 19563, 29901, 2396, 525, 18463, 19563, 29889, 2732, 742, 13, 1678, 525, 29901, 3334, 778, 29901, 2396, 525, 3334, 778, 29889, 2732, 742, 13, 1678, 525, 29901, 459, 2918, 987, 375, 29901, 2396, 525, 459, 2918, 987, 375, 29889, 2732, 742, 13, 1678, 525, 29901, 28319, 29918, 3149, 287, 29918, 8508, 29901, 2396, 525, 28319, 29918, 3149, 287, 29918, 8508, 29889, 2732, 742, 13, 1678, 525, 29901, 271, 29885, 29901, 2396, 525, 271, 29885, 29889, 2732, 742, 13, 1678, 525, 29901, 15425, 29901, 2396, 525, 15425, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 29881, 26810, 29918, 4530, 29901, 2396, 525, 354, 5301, 29918, 29881, 26810, 29918, 4530, 29889, 2732, 742, 13, 1678, 525, 29901, 26095, 29918, 6543, 29901, 2396, 525, 26095, 29918, 6543, 29889, 2732, 742, 13, 1678, 525, 29901, 8552, 1266, 29901, 2396, 525, 8552, 1266, 29889, 2732, 742, 13, 1678, 525, 29901, 9573, 287, 29901, 2396, 525, 9573, 287, 29889, 2732, 742, 13, 1678, 525, 29901, 18276, 29901, 2396, 525, 18276, 29889, 2732, 742, 13, 1678, 525, 29901, 29916, 29901, 2396, 525, 29916, 29889, 2732, 742, 13, 1678, 525, 29901, 29890, 574, 29890, 574, 29901, 2396, 525, 29890, 574, 29890, 574, 29889, 2732, 742, 13, 1678, 525, 29901, 1639, 13716, 574, 29901, 2396, 525, 1639, 13716, 574, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 735, 15719, 362, 29918, 3502, 29901, 2396, 525, 354, 5301, 29918, 735, 15719, 362, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 12470, 29918, 3502, 29901, 2396, 525, 354, 5301, 29918, 12470, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 21012, 29918, 735, 15719, 362, 29918, 3502, 29901, 2396, 525, 21012, 29918, 735, 15719, 362, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 21012, 29918, 12470, 29918, 3502, 29901, 2396, 525, 21012, 29918, 12470, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 29877, 29901, 2396, 525, 29877, 29889, 2732, 742, 13, 1678, 525, 29901, 3332, 29901, 2396, 525, 3332, 29889, 2732, 742, 13, 1678, 525, 29901, 355, 29901, 2396, 525, 355, 29889, 2732, 742, 13, 1678, 525, 29901, 1627, 29901, 2396, 525, 1627, 29889, 2732, 742, 13, 1678, 525, 29901, 265, 29901, 2396, 525, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 578, 265, 29901, 2396, 525, 578, 265, 29889, 2732, 742, 13, 1678, 525, 29901, 2936, 29879, 29918, 13058, 3538, 29901, 2396, 525, 2936, 29879, 29918, 13058, 3538, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29906, 29901, 2396, 525, 13058, 29896, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29906, 29941, 29900, 29901, 2396, 525, 13058, 29896, 29906, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29901, 2396, 525, 13058, 29896, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29941, 29900, 29901, 2396, 525, 13058, 29896, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29906, 29901, 2396, 525, 13058, 29906, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29906, 29941, 29900, 29901, 2396, 525, 13058, 29906, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29941, 29901, 2396, 525, 13058, 29941, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29941, 29941, 29900, 29901, 2396, 525, 13058, 29941, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29946, 29901, 2396, 525, 13058, 29946, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29946, 29941, 29900, 29901, 2396, 525, 13058, 29946, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29945, 29901, 2396, 525, 13058, 29945, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29945, 29941, 29900, 29901, 2396, 525, 13058, 29945, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29953, 29901, 2396, 525, 13058, 29953, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29955, 29901, 2396, 525, 13058, 29955, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29947, 29901, 2396, 525, 13058, 29947, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29929, 29901, 2396, 525, 13058, 29929, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29900, 29901, 2396, 525, 13058, 29896, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29896, 29901, 2396, 525, 13058, 29896, 29896, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29953, 29941, 29900, 29901, 2396, 525, 13058, 29953, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29955, 29941, 29900, 29901, 2396, 525, 13058, 29955, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29947, 29941, 29900, 29901, 2396, 525, 13058, 29947, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29929, 29941, 29900, 29901, 2396, 525, 13058, 29929, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29900, 29941, 29900, 29901, 2396, 525, 13058, 29896, 29900, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 13058, 29896, 29896, 29941, 29900, 29901, 2396, 525, 13058, 29896, 29896, 29941, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 18056, 1414, 29918, 29916, 29901, 2396, 525, 354, 5301, 29918, 18056, 1414, 29918, 29916, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 11242, 29918, 4530, 29901, 2396, 525, 354, 5301, 29918, 11242, 29918, 4530, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 12254, 29918, 4530, 29901, 2396, 525, 354, 5301, 29918, 12254, 29918, 4530, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 4563, 2459, 29918, 4530, 29901, 2396, 525, 354, 5301, 29918, 4563, 2459, 29918, 4530, 29889, 2732, 742, 13, 1678, 525, 29901, 1028, 1943, 29901, 2396, 525, 1028, 1943, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5708, 29901, 2396, 525, 354, 5708, 29889, 2732, 742, 13, 1678, 525, 29901, 29066, 29901, 2396, 525, 29066, 29889, 2732, 742, 13, 1678, 525, 29901, 29881, 2829, 898, 29901, 2396, 525, 29881, 2829, 898, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 1731, 261, 29901, 2396, 525, 10921, 29918, 1731, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 29896, 29900, 29900, 29901, 2396, 525, 29896, 29900, 29900, 29889, 2732, 742, 13, 1678, 525, 29901, 354, 5301, 29918, 3198, 29918, 3502, 29901, 2396, 525, 354, 5301, 29918, 3198, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 2135, 327, 29918, 1884, 29918, 2541, 29918, 3198, 29901, 2396, 525, 2135, 327, 29918, 1884, 29918, 2541, 29918, 3198, 29889, 2732, 742, 13, 1678, 525, 29901, 13399, 29918, 3092, 29901, 2396, 525, 13399, 29918, 3092, 29889, 2732, 742, 13, 1678, 525, 29901, 2324, 29901, 2396, 525, 2324, 29889, 2732, 742, 13, 1678, 525, 29901, 2764, 368, 29918, 7888, 29901, 2396, 525, 2764, 368, 29918, 7888, 29889, 2732, 742, 13, 1678, 525, 29901, 29893, 5301, 29918, 14592, 29901, 2396, 525, 29893, 5301, 29918, 14592, 29889, 2732, 742, 13, 1678, 525, 29901, 1595, 29918, 26123, 362, 29918, 3502, 29901, 2396, 525, 1595, 29918, 26123, 362, 29918, 3502, 29889, 2732, 742, 13, 1678, 525, 29901, 509, 1693, 29901, 2396, 525, 509, 1693, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 17619, 29918, 2541, 29918, 11466, 29901, 2396, 525, 8517, 29918, 17619, 29918, 2541, 29918, 11466, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 17619, 29918, 2541, 29918, 11466, 29901, 2396, 525, 10921, 29918, 17619, 29918, 2541, 29918, 11466, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 17619, 29918, 9278, 29901, 2396, 525, 8517, 29918, 17619, 29918, 9278, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 17619, 29918, 9278, 29901, 2396, 525, 10921, 29918, 17619, 29918, 9278, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 17619, 29918, 9278, 261, 29901, 2396, 525, 8517, 29918, 17619, 29918, 9278, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 17619, 29918, 9278, 261, 29901, 2396, 525, 10921, 29918, 17619, 29918, 9278, 261, 29889, 2732, 742, 13, 1678, 525, 29901, 9278, 29918, 1127, 29918, 26701, 29901, 2396, 525, 9278, 29918, 1127, 29918, 26701, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 17619, 29918, 3092, 29901, 2396, 525, 8517, 29918, 17619, 29918, 3092, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 17619, 29918, 3092, 29901, 2396, 525, 10921, 29918, 17619, 29918, 3092, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 16622, 29901, 2396, 525, 8517, 29918, 16622, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 16622, 29901, 2396, 525, 10921, 29918, 16622, 29889, 2732, 742, 13, 1678, 525, 29901, 1127, 29918, 16622, 29901, 2396, 525, 1127, 29918, 16622, 29889, 2732, 742, 13, 1678, 525, 29901, 16961, 29918, 9539, 29918, 16622, 29901, 2396, 525, 16961, 29918, 9539, 29918, 16622, 29889, 2732, 742, 13, 1678, 525, 29901, 9278, 29918, 1127, 29918, 26701, 29918, 3204, 29901, 2396, 525, 9278, 29918, 1127, 29918, 26701, 29918, 3204, 29889, 2732, 742, 13, 1678, 525, 29901, 10921, 29918, 17619, 29901, 2396, 525, 10921, 29918, 17619, 29889, 2732, 742, 13, 1678, 525, 29901, 8517, 29918, 17619, 29901, 2396, 525, 8517, 29918, 17619, 29889, 2732, 742, 13, 1678, 525, 29901, 16961, 29918, 272, 927, 29918, 29881, 2829, 898, 29901, 2396, 525, 16961, 29918, 272, 927, 29918, 29881, 2829, 898, 29889, 2732, 742, 13, 1678, 525, 29901, 16961, 29918, 9539, 29918, 29881, 2829, 898, 29901, 2396, 525, 16961, 29918, 9539, 29918, 29881, 2829, 898, 29889, 2732, 742, 13, 1678, 525, 29901, 9278, 29918, 272, 927, 29918, 29881, 2829, 898, 29901, 2396, 525, 9278, 29918, 272, 927, 29918, 29881, 2829, 898, 29889, 2732, 742, 13, 1678, 525, 29901, 9278, 29918, 9539, 29918, 29881, 2829, 898, 29901, 2396, 525, 9278, 29918, 9539, 29918, 29881, 2829, 898, 29889, 2732, 742, 13, 29913, 13, 2 ]
eval_eth.py
codyly/PatchmatchNet
1
195454
<filename>eval_eth.py import argparse import os import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim as optim from torch.utils.data import DataLoader from torch.autograd import Variable import torch.nn.functional as F import numpy as np import time from datasets import find_dataset_def from models import * from utils import * import sys from datasets.data_io import read_pfm, save_pfm import cv2 from plyfile import PlyData, PlyElement from PIL import Image import math # import scipy.signal as signal cudnn.benchmark = True parser = argparse.ArgumentParser(description='Predict depth, filter, and fuse') parser.add_argument('--model', default='PatchmatchNet', help='select model') parser.add_argument('--dataset', default='eth3d', help='select dataset') parser.add_argument('--testpath', help='testing data path') parser.add_argument('--testlist', help='testing scan list') parser.add_argument('--split', default='test', help='select data') parser.add_argument('--batch_size', type=int, default=1, help='testing batch size') parser.add_argument('--n_views', type=int, default=5, help='num of view') parser.add_argument('--loadckpt', default=None, help='load a specific checkpoint') parser.add_argument('--outdir', default='./outputs', help='output dir') parser.add_argument('--display', action='store_true', help='display depth images and masks') parser.add_argument('--patchmatch_iteration', nargs='+', type=int, default=[1,2,2], help='num of iteration of patchmatch on stages 1,2,3') parser.add_argument('--patchmatch_num_sample', nargs='+', type=int, default=[8,8,16], help='num of generated samples in local perturbation on stages 1,2,3') parser.add_argument('--patchmatch_interval_scale', nargs='+', type=float, default=[0.005, 0.0125, 0.025], help='normalized interval in inverse depth range to generate samples in local perturbation') parser.add_argument('--patchmatch_range', nargs='+', type=int, default=[6,4,2], help='fixed offset of sampling points for propogation of patchmatch on stages 1,2,3') parser.add_argument('--propagate_neighbors', nargs='+', type=int, default=[0,8,16], help='num of neighbors for adaptive propagation on stages 1,2,3') parser.add_argument('--evaluate_neighbors', nargs='+', type=int, default=[9,9,9], help='num of neighbors for adaptive matching cost aggregation of adaptive evaluation on stages 1,2,3') parser.add_argument('--geo_pixel_thres', type=float, default=1, help='pixel threshold for geometric consistency filtering') parser.add_argument('--geo_depth_thres', type=float, default=0.01, help='depth threshold for geometric consistency filtering') parser.add_argument('--photo_thres', type=float, default=0.8, help='threshold for photometric consistency filtering') # parse arguments and check args = parser.parse_args() print("argv:", sys.argv[1:]) print_args(args) # read an image def read_img(filename, img_wh): img = Image.open(filename) # scale 0~255 to 0~1 np_img = np.array(img, dtype=np.float32) / 255. original_h, original_w, _ = np_img.shape np_img = cv2.resize(np_img, img_wh, interpolation=cv2.INTER_LINEAR) return np_img, original_h, original_w def read_cam_file(filename): with open(filename) as f: lines = [line.rstrip() for line in f.readlines()] # extrinsics: line [1,5), 4x4 matrix extrinsics = np.fromstring(' '.join(lines[1:5]), dtype=np.float32, sep=' ') extrinsics = extrinsics.reshape((4, 4)) # intrinsics: line [7-10), 3x3 matrix intrinsics = np.fromstring(' '.join(lines[7:10]), dtype=np.float32, sep=' ') intrinsics = intrinsics.reshape((3, 3)) depth_min = float(lines[11].split()[0]) depth_max = float(lines[11].split()[1]) return intrinsics, extrinsics, depth_min, depth_max # save a binary mask def save_mask(filename, mask): assert mask.dtype == np.bool mask = mask.astype(np.uint8) * 255 Image.fromarray(mask).save(filename) def save_depth_img(filename, depth): # assert mask.dtype == np.bool depth = depth * 255 depth = depth.astype(np.uint8) Image.fromarray(depth).save(filename) def read_pair_file(filename): data = [] with open(filename) as f: num_viewpoint = int(f.readline()) # 49 viewpoints for view_idx in range(num_viewpoint): ref_view = int(f.readline().rstrip()) src_views = [int(x) for x in f.readline().rstrip().split()[1::2]] if len(src_views) != 0: data.append((ref_view, src_views)) return data # run MVS model to save depth maps def save_depth(): # dataset, dataloader MVSDataset = find_dataset_def(args.dataset) test_dataset = MVSDataset(args.testpath, args.split, args.n_views) TestImgLoader = DataLoader(test_dataset, args.batch_size, shuffle=False, num_workers=4, drop_last=False) # model model = PatchmatchNet(patchmatch_interval_scale=args.patchmatch_interval_scale, propagation_range = args.patchmatch_range, patchmatch_iteration=args.patchmatch_iteration, patchmatch_num_sample = args.patchmatch_num_sample, propagate_neighbors=args.propagate_neighbors, evaluate_neighbors=args.evaluate_neighbors) model = nn.DataParallel(model) model.cuda() # load checkpoint file specified by args.loadckpt print("loading model {}".format(args.loadckpt)) state_dict = torch.load(args.loadckpt) model.load_state_dict(state_dict['model']) model.eval() with torch.no_grad(): for batch_idx, sample in enumerate(TestImgLoader): start_time = time.time() sample_cuda = tocuda(sample) outputs = model(sample_cuda["imgs"], sample_cuda["proj_matrices"], sample_cuda["depth_min"], sample_cuda["depth_max"]) outputs = tensor2numpy(outputs) del sample_cuda print('Iter {}/{}, time = {:.3f}'.format(batch_idx, len(TestImgLoader), time.time() - start_time)) filenames = sample["filename"] # save depth maps and confidence maps for filename, depth_est, photometric_confidence in zip(filenames, outputs["refined_depth"]['stage_0'], outputs["photometric_confidence"]): depth_filename = os.path.join(args.outdir, filename.format('depth_est', '.pfm')) confidence_filename = os.path.join(args.outdir, filename.format('confidence', '.pfm')) os.makedirs(depth_filename.rsplit('/', 1)[0], exist_ok=True) os.makedirs(confidence_filename.rsplit('/', 1)[0], exist_ok=True) # save depth maps depth_est = np.squeeze(depth_est, 0) save_pfm(depth_filename, depth_est) # save confidence maps save_pfm(confidence_filename, photometric_confidence) # project the reference point cloud into the source view, then project back def reproject_with_depth(depth_ref, intrinsics_ref, extrinsics_ref, depth_src, intrinsics_src, extrinsics_src): width, height = depth_ref.shape[1], depth_ref.shape[0] ## step1. project reference pixels to the source view # reference view x, y x_ref, y_ref = np.meshgrid(np.arange(0, width), np.arange(0, height)) x_ref, y_ref = x_ref.reshape([-1]), y_ref.reshape([-1]) # reference 3D space xyz_ref = np.matmul(np.linalg.inv(intrinsics_ref), np.vstack((x_ref, y_ref, np.ones_like(x_ref))) * depth_ref.reshape([-1])) # source 3D space xyz_src = np.matmul(np.matmul(extrinsics_src, np.linalg.inv(extrinsics_ref)), np.vstack((xyz_ref, np.ones_like(x_ref))))[:3] # source view x, y K_xyz_src = np.matmul(intrinsics_src, xyz_src) xy_src = K_xyz_src[:2] / K_xyz_src[2:3] ## step2. reproject the source view points with source view depth estimation # find the depth estimation of the source view x_src = xy_src[0].reshape([height, width]).astype(np.float32) y_src = xy_src[1].reshape([height, width]).astype(np.float32) sampled_depth_src = cv2.remap(depth_src, x_src, y_src, interpolation=cv2.INTER_LINEAR) # mask = sampled_depth_src > 0 # source 3D space # NOTE that we should use sampled source-view depth_here to project back xyz_src = np.matmul(np.linalg.inv(intrinsics_src), np.vstack((xy_src, np.ones_like(x_ref))) * sampled_depth_src.reshape([-1])) # reference 3D space xyz_reprojected = np.matmul(np.matmul(extrinsics_ref, np.linalg.inv(extrinsics_src)), np.vstack((xyz_src, np.ones_like(x_ref))))[:3] # source view x, y, depth depth_reprojected = xyz_reprojected[2].reshape([height, width]).astype(np.float32) K_xyz_reprojected = np.matmul(intrinsics_ref, xyz_reprojected) xy_reprojected = K_xyz_reprojected[:2] / K_xyz_reprojected[2:3] x_reprojected = xy_reprojected[0].reshape([height, width]).astype(np.float32) y_reprojected = xy_reprojected[1].reshape([height, width]).astype(np.float32) return depth_reprojected, x_reprojected, y_reprojected, x_src, y_src def check_geometric_consistency(depth_ref, intrinsics_ref, extrinsics_ref, depth_src, intrinsics_src, extrinsics_src, geo_pixel_thres, geo_depth_thres): width, height = depth_ref.shape[1], depth_ref.shape[0] x_ref, y_ref = np.meshgrid(np.arange(0, width), np.arange(0, height)) depth_reprojected, x2d_reprojected, y2d_reprojected, x2d_src, y2d_src = reproject_with_depth(depth_ref, intrinsics_ref, extrinsics_ref, depth_src, intrinsics_src, extrinsics_src) # print(depth_ref.shape) # print(depth_reprojected.shape) # check |p_reproj-p_1| < 1 dist = np.sqrt((x2d_reprojected - x_ref) ** 2 + (y2d_reprojected - y_ref) ** 2) # check |d_reproj-d_1| / d_1 < 0.01 # depth_ref = np.squeeze(depth_ref, 2) depth_diff = np.abs(depth_reprojected - depth_ref) relative_depth_diff = depth_diff / depth_ref mask = np.logical_and(dist < geo_pixel_thres, relative_depth_diff < geo_depth_thres) depth_reprojected[~mask] = 0 return mask, depth_reprojected, x2d_src, y2d_src def filter_depth(scan_folder, out_folder, plyfilename, geo_pixel_thres, geo_depth_thres, photo_thres, img_wh, geo_mask_thres): # the pair file pair_file = os.path.join(scan_folder, "pair.txt") # for the final point cloud vertexs = [] vertex_colors = [] pair_data = read_pair_file(pair_file) nviews = len(pair_data) # for each reference view and the corresponding source views for ref_view, src_views in pair_data: # load the reference image ref_img, original_h, original_w = read_img(os.path.join(scan_folder, 'images/{:0>8}.jpg'.format(ref_view)),img_wh) ref_intrinsics, ref_extrinsics = read_cam_file( os.path.join(scan_folder, 'cams_1/{:0>8}_cam.txt'.format(ref_view)))[0:2] ref_intrinsics[0] *= img_wh[0]/original_w ref_intrinsics[1] *= img_wh[1]/original_h # load the estimated depth of the reference view ref_depth_est = read_pfm(os.path.join(out_folder, 'depth_est/{:0>8}.pfm'.format(ref_view)))[0] ref_depth_est = np.squeeze(ref_depth_est, 2) # load the photometric mask of the reference view confidence = read_pfm(os.path.join(out_folder, 'confidence/{:0>8}.pfm'.format(ref_view)))[0] photo_mask = confidence > photo_thres photo_mask = np.squeeze(photo_mask, 2) all_srcview_depth_ests = [] # compute the geometric mask geo_mask_sum = 0 for src_view in src_views: # camera parameters of the source view _, original_h, original_w = read_img(os.path.join(scan_folder, 'images/{:0>8}.jpg'.format(src_view)), img_wh) src_intrinsics, src_extrinsics = read_cam_file( os.path.join(scan_folder, 'cams_1/{:0>8}_cam.txt'.format(src_view)))[0:2] src_intrinsics[0] *= img_wh[0]/original_w src_intrinsics[1] *= img_wh[1]/original_h # the estimated depth of the source view src_depth_est = read_pfm(os.path.join(out_folder, 'depth_est/{:0>8}.pfm'.format(src_view)))[0] geo_mask, depth_reprojected, x2d_src, y2d_src = check_geometric_consistency(ref_depth_est, ref_intrinsics, ref_extrinsics, src_depth_est, src_intrinsics, src_extrinsics, geo_pixel_thres, geo_depth_thres) geo_mask_sum += geo_mask.astype(np.int32) all_srcview_depth_ests.append(depth_reprojected) depth_est_averaged = (sum(all_srcview_depth_ests) + ref_depth_est) / (geo_mask_sum + 1) geo_mask = geo_mask_sum >= geo_mask_thres final_mask = np.logical_and(photo_mask, geo_mask) os.makedirs(os.path.join(out_folder, "mask"), exist_ok=True) save_mask(os.path.join(out_folder, "mask/{:0>8}_photo.png".format(ref_view)), photo_mask) save_mask(os.path.join(out_folder, "mask/{:0>8}_geo.png".format(ref_view)), geo_mask) save_mask(os.path.join(out_folder, "mask/{:0>8}_final.png".format(ref_view)), final_mask) if args.display: import cv2 cv2.imshow('ref_img', ref_img[:, :, ::-1]) cv2.imshow('ref_depth', ref_depth_est ) cv2.imshow('ref_depth * photo_mask', ref_depth_est * photo_mask.astype(np.float32)) cv2.imshow('ref_depth * geo_mask', ref_depth_est * geo_mask.astype(np.float32) ) cv2.imshow('ref_depth * mask', ref_depth_est * final_mask.astype(np.float32)) cv2.waitKey(1) height, width = depth_est_averaged.shape[:2] x, y = np.meshgrid(np.arange(0, width), np.arange(0, height)) valid_points = final_mask x, y, depth = x[valid_points], y[valid_points], depth_est_averaged[valid_points] color = ref_img[valid_points] xyz_ref = np.matmul( np.linalg.inv(ref_intrinsics), np.vstack((x, y, np.ones_like(x))) * depth) xyz_world = np.matmul(np.linalg.inv(ref_extrinsics), np.vstack((xyz_ref, np.ones_like(x))))[:3] vertexs.append(xyz_world.transpose((1, 0))) vertex_colors.append((color * 255).astype(np.uint8)) vertexs = np.concatenate(vertexs, axis=0) vertex_colors = np.concatenate(vertex_colors, axis=0) vertexs = np.array([tuple(v) for v in vertexs], dtype=[('x', 'f4'), ('y', 'f4'), ('z', 'f4')]) vertex_colors = np.array([tuple(v) for v in vertex_colors], dtype=[('red', 'u1'), ('green', 'u1'), ('blue', 'u1')]) vertex_all = np.empty(len(vertexs), vertexs.dtype.descr + vertex_colors.dtype.descr) for prop in vertexs.dtype.names: vertex_all[prop] = vertexs[prop] for prop in vertex_colors.dtype.names: vertex_all[prop] = vertex_colors[prop] el = PlyElement.describe(vertex_all, 'vertex') PlyData([el]).write(plyfilename) print("saving the final model to", plyfilename) if __name__ == '__main__': # step1. save all the depth maps and the masks in outputs directory save_depth() img_wh = (2688,1792) if args.split == "test": scans = ['botanical_garden', 'boulders', 'bridge', 'door', 'exhibition_hall', 'lecture_room', 'living_room', 'lounge', 'observatory', 'old_computer', 'statue', 'terrace_2'] geo_mask_thres = {'botanical_garden':1, # 30 images, outdoor 'boulders':1, # 26 images, outdoor 'bridge':4, # 110 images, outdoor 'door':1, # 6 images, indoor 'exhibition_hall':1, # 68 images, indoor 'lecture_room':1, # 23 images, indoor 'living_room':2, # 65 images, indoor 'lounge':1,# 10 images, indoor 'observatory':1, # 27 images, outdoor 'old_computer':1, # 54 images, indoor 'statue':1, # 10 images, indoor 'terrace_2':1 # 13 images, outdoor } num_images = {'botanical_garden':30, # 30 images, outdoor 'boulders':26, # 26 images, outdoor 'bridge':110, # 110 images, outdoor 'door':6, # 6 images, indoor 'exhibition_hall':68, # 68 images, indoor 'lecture_room':23, # 23 images, indoor 'living_room':65, # 65 images, indoor 'lounge':10,# 10 images, indoor 'observatory':27, # 27 images, outdoor 'old_computer':54, # 54 images, indoor 'statue':10, # 10 images, indoor 'terrace_2':13 # 13 images, outdoor } for scan in scans: start_time = time.time() scan_folder = os.path.join(args.testpath, scan) out_folder = os.path.join(args.outdir, scan) # step2. filter saved depth maps with geometric constraints filter_depth(scan_folder, out_folder, os.path.join(args.outdir, scan + '.ply'), args.geo_pixel_thres, args.geo_depth_thres, args.photo_thres, img_wh, geo_mask_thres[scan]) print('scan: '+scan+' time = {:3f}'.format(time.time() - start_time)) elif args.split == "train": scans = ['courtyard', 'delivery_area', 'electro', 'facade', 'kicker', 'meadow', 'office', 'pipes', 'playground', 'relief', 'relief_2', 'terrace', 'terrains'] geo_mask_thres = {'courtyard':1, # 38 images, outdoor 'delivery_area':1, # 44 images, indoor 'electro':1, # 45 images, outdoor 'facade':4, # 76 images, outdoor 'kicker':1, # 31 images, indoor 'meadow':1, # 15 images, outdoor 'office':1, # 26 images, indoor 'pipes':1,# 14 images, indoor 'playground':1, # 38 images, outdoor 'relief':1, # 31 images, indoor 'relief_2':1, # 31 images, indoor 'terrace':1, # 23 images, outdoor 'terrains':1 # 42 images, indoor } num_images = {'courtyard':38, # 38 images, outdoor 'delivery_area':44, # 44 images, indoor 'electro':45, # 45 images, outdoor 'facade':76, # 76 images, outdoor 'kicker':31, # 31 images, indoor 'meadow':15, # 15 images, outdoor 'office':26, # 26 images, indoor 'pipes':14,# 14 images, indoor 'playground':38, # 38 images, outdoor 'relief':31, # 31 images, indoor 'relief_2':31, # 31 images, indoor 'terrace':23, # 23 images, outdoor 'terrains':42 # 42 images, indoor } for scan in scans: start_time = time.time() scan_folder = os.path.join(args.testpath, scan) out_folder = os.path.join(args.outdir, scan) # step2. filter saved depth maps with geometric constraints filter_depth(scan_folder, out_folder, os.path.join(args.outdir, scan + '.ply'), args.geo_pixel_thres, args.geo_depth_thres, args.photo_thres, img_wh, geo_mask_thres[scan]) print('scan: '+scan+' time = {:3f}'.format(time.time() - start_time))
[ 1, 529, 9507, 29958, 14513, 29918, 621, 29889, 2272, 13, 5215, 1852, 5510, 13, 5215, 2897, 13, 5215, 4842, 305, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 29889, 15755, 29889, 23482, 13, 5215, 4842, 305, 29889, 1627, 1975, 29889, 29883, 566, 15755, 408, 274, 566, 15755, 13, 5215, 4842, 305, 29889, 20640, 408, 5994, 13, 3166, 4842, 305, 29889, 13239, 29889, 1272, 1053, 3630, 10036, 13, 3166, 4842, 305, 29889, 1300, 468, 3665, 1053, 28736, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 5215, 12655, 408, 7442, 13, 5215, 931, 13, 3166, 20035, 1053, 1284, 29918, 24713, 29918, 1753, 13, 3166, 4733, 1053, 334, 13, 3166, 3667, 29879, 1053, 334, 13, 5215, 10876, 13, 3166, 20035, 29889, 1272, 29918, 601, 1053, 1303, 29918, 7810, 29885, 29892, 4078, 29918, 7810, 29885, 13, 5215, 13850, 29906, 13, 3166, 282, 368, 1445, 1053, 349, 368, 1469, 29892, 349, 368, 2642, 13, 3166, 349, 6227, 1053, 7084, 13, 5215, 5844, 13, 29937, 1053, 4560, 2272, 29889, 25436, 408, 7182, 13, 13, 29883, 566, 15755, 29889, 1785, 16580, 353, 5852, 13, 13, 16680, 353, 1852, 5510, 29889, 15730, 11726, 29898, 8216, 2433, 23084, 919, 10809, 29892, 4175, 29892, 322, 285, 1509, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4299, 742, 2322, 2433, 29925, 905, 4352, 6779, 742, 1371, 2433, 2622, 1904, 1495, 13, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 24713, 742, 2322, 2433, 621, 29941, 29881, 742, 1371, 2433, 2622, 8783, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1688, 2084, 742, 1371, 2433, 13424, 848, 2224, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1688, 1761, 742, 1371, 2433, 13424, 12812, 1051, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 5451, 742, 2322, 2433, 1688, 742, 1371, 2433, 2622, 848, 1495, 13, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 16175, 29918, 2311, 742, 1134, 29922, 524, 29892, 2322, 29922, 29896, 29892, 1371, 2433, 13424, 9853, 2159, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 29876, 29918, 7406, 742, 1134, 29922, 524, 29892, 2322, 29922, 29945, 29892, 1371, 2433, 1949, 310, 1776, 1495, 13, 13, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1359, 384, 415, 742, 2322, 29922, 8516, 29892, 1371, 2433, 1359, 263, 2702, 1423, 3149, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 449, 3972, 742, 2322, 2433, 6904, 4905, 29879, 742, 1371, 2433, 4905, 4516, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4990, 742, 3158, 2433, 8899, 29918, 3009, 742, 1371, 2433, 4990, 10809, 4558, 322, 11105, 29879, 1495, 13, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 5041, 4352, 29918, 1524, 362, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 524, 29892, 2322, 11759, 29896, 29892, 29906, 29892, 29906, 1402, 29871, 13, 4706, 1371, 2433, 1949, 310, 12541, 310, 13261, 4352, 373, 22950, 29871, 29896, 29892, 29906, 29892, 29941, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 5041, 4352, 29918, 1949, 29918, 11249, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 524, 29892, 2322, 11759, 29947, 29892, 29947, 29892, 29896, 29953, 1402, 29871, 13, 4706, 1371, 2433, 1949, 310, 5759, 11916, 297, 1887, 22786, 362, 373, 22950, 29871, 29896, 29892, 29906, 29892, 29941, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 5041, 4352, 29918, 19207, 29918, 7052, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 7411, 29892, 2322, 11759, 29900, 29889, 29900, 29900, 29945, 29892, 29871, 29900, 29889, 29900, 29896, 29906, 29945, 29892, 29871, 29900, 29889, 29900, 29906, 29945, 1402, 29871, 13, 4706, 1371, 2433, 8945, 1891, 7292, 297, 16402, 10809, 3464, 304, 5706, 11916, 297, 1887, 22786, 362, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 5041, 4352, 29918, 3881, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 524, 29892, 2322, 11759, 29953, 29892, 29946, 29892, 29906, 1402, 29871, 13, 4706, 1371, 2433, 20227, 9210, 310, 23460, 3291, 363, 3107, 468, 362, 310, 13261, 4352, 373, 22950, 29871, 29896, 29892, 29906, 29892, 29941, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 7728, 351, 403, 29918, 484, 1141, 29890, 943, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 524, 29892, 2322, 11759, 29900, 29892, 29947, 29892, 29896, 29953, 1402, 29871, 13, 4706, 1371, 2433, 1949, 310, 22092, 943, 363, 7744, 573, 13089, 362, 373, 22950, 29871, 29896, 29892, 29906, 29892, 29941, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 24219, 403, 29918, 484, 1141, 29890, 943, 742, 302, 5085, 2433, 29974, 742, 1134, 29922, 524, 29892, 2322, 11759, 29929, 29892, 29929, 29892, 29929, 1402, 29871, 13, 4706, 1371, 2433, 1949, 310, 22092, 943, 363, 7744, 573, 9686, 3438, 11404, 362, 310, 7744, 573, 17983, 373, 22950, 29871, 29896, 29892, 29906, 29892, 29941, 1495, 13, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 24756, 29918, 29886, 15711, 29918, 386, 690, 742, 1134, 29922, 7411, 29892, 2322, 29922, 29896, 29892, 1371, 2433, 29886, 15711, 16897, 363, 26224, 5718, 3819, 21166, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 24756, 29918, 19488, 29918, 386, 690, 742, 1134, 29922, 7411, 29892, 2322, 29922, 29900, 29889, 29900, 29896, 29892, 1371, 2433, 19488, 16897, 363, 26224, 5718, 3819, 21166, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 21596, 29918, 386, 690, 742, 1134, 29922, 7411, 29892, 2322, 29922, 29900, 29889, 29947, 29892, 1371, 2433, 386, 12268, 363, 6731, 14066, 5718, 3819, 21166, 1495, 13, 13, 29937, 6088, 6273, 322, 1423, 13, 5085, 353, 13812, 29889, 5510, 29918, 5085, 580, 13, 2158, 703, 19218, 29901, 613, 10876, 29889, 19218, 29961, 29896, 29901, 2314, 13, 2158, 29918, 5085, 29898, 5085, 29897, 13, 13, 13, 29937, 1303, 385, 1967, 13, 1753, 1303, 29918, 2492, 29898, 9507, 29892, 10153, 29918, 1332, 1125, 13, 1678, 10153, 353, 7084, 29889, 3150, 29898, 9507, 29897, 13, 1678, 396, 6287, 29871, 29900, 30022, 29906, 29945, 29945, 304, 29871, 29900, 30022, 29896, 13, 1678, 7442, 29918, 2492, 353, 7442, 29889, 2378, 29898, 2492, 29892, 26688, 29922, 9302, 29889, 7411, 29941, 29906, 29897, 847, 29871, 29906, 29945, 29945, 29889, 13, 1678, 2441, 29918, 29882, 29892, 2441, 29918, 29893, 29892, 903, 353, 7442, 29918, 2492, 29889, 12181, 13, 1678, 7442, 29918, 2492, 353, 13850, 29906, 29889, 21476, 29898, 9302, 29918, 2492, 29892, 10153, 29918, 1332, 29892, 29694, 29922, 11023, 29906, 29889, 23845, 29918, 18521, 1718, 29897, 13, 268, 13, 1678, 736, 7442, 29918, 2492, 29892, 2441, 29918, 29882, 29892, 2441, 29918, 29893, 13, 13, 13, 1753, 1303, 29918, 11108, 29918, 1445, 29898, 9507, 1125, 13, 1678, 411, 1722, 29898, 9507, 29897, 408, 285, 29901, 13, 4706, 3454, 353, 518, 1220, 29889, 29878, 17010, 580, 363, 1196, 297, 285, 29889, 949, 9012, 580, 29962, 13, 1678, 396, 17541, 1144, 1199, 29901, 1196, 518, 29896, 29892, 29945, 511, 29871, 29946, 29916, 29946, 4636, 13, 1678, 17541, 1144, 1199, 353, 7442, 29889, 3166, 1807, 877, 15300, 7122, 29898, 9012, 29961, 29896, 29901, 29945, 11724, 26688, 29922, 9302, 29889, 7411, 29941, 29906, 29892, 16345, 2433, 25710, 13, 1678, 17541, 1144, 1199, 353, 17541, 1144, 1199, 29889, 690, 14443, 3552, 29946, 29892, 29871, 29946, 876, 13, 1678, 396, 11158, 1144, 1199, 29901, 1196, 518, 29955, 29899, 29896, 29900, 511, 29871, 29941, 29916, 29941, 4636, 13, 1678, 11158, 1144, 1199, 353, 7442, 29889, 3166, 1807, 877, 15300, 7122, 29898, 9012, 29961, 29955, 29901, 29896, 29900, 11724, 26688, 29922, 9302, 29889, 7411, 29941, 29906, 29892, 16345, 2433, 25710, 13, 1678, 11158, 1144, 1199, 353, 11158, 1144, 1199, 29889, 690, 14443, 3552, 29941, 29892, 29871, 29941, 876, 13, 268, 13, 1678, 10809, 29918, 1195, 353, 5785, 29898, 9012, 29961, 29896, 29896, 1822, 5451, 580, 29961, 29900, 2314, 13, 1678, 10809, 29918, 3317, 353, 5785, 29898, 9012, 29961, 29896, 29896, 1822, 5451, 580, 29961, 29896, 2314, 13, 13, 1678, 736, 11158, 1144, 1199, 29892, 17541, 1144, 1199, 29892, 10809, 29918, 1195, 29892, 10809, 29918, 3317, 13, 13, 29937, 4078, 263, 7581, 11105, 13, 1753, 4078, 29918, 13168, 29898, 9507, 29892, 11105, 1125, 13, 1678, 4974, 11105, 29889, 29881, 1853, 1275, 7442, 29889, 11227, 13, 1678, 11105, 353, 11105, 29889, 579, 668, 29898, 9302, 29889, 13470, 29947, 29897, 334, 29871, 29906, 29945, 29945, 13, 1678, 7084, 29889, 3166, 2378, 29898, 13168, 467, 7620, 29898, 9507, 29897, 13, 13, 1753, 4078, 29918, 19488, 29918, 2492, 29898, 9507, 29892, 10809, 1125, 13, 1678, 396, 4974, 11105, 29889, 29881, 1853, 1275, 7442, 29889, 11227, 13, 1678, 10809, 353, 10809, 334, 29871, 29906, 29945, 29945, 13, 1678, 10809, 353, 10809, 29889, 579, 668, 29898, 9302, 29889, 13470, 29947, 29897, 13, 1678, 7084, 29889, 3166, 2378, 29898, 19488, 467, 7620, 29898, 9507, 29897, 13, 13, 13, 1753, 1303, 29918, 18784, 29918, 1445, 29898, 9507, 1125, 13, 1678, 848, 353, 5159, 13, 1678, 411, 1722, 29898, 9507, 29897, 408, 285, 29901, 13, 4706, 954, 29918, 1493, 3149, 353, 938, 29898, 29888, 29889, 949, 1220, 3101, 13, 4706, 396, 29871, 29946, 29929, 1776, 9748, 13, 4706, 363, 1776, 29918, 13140, 297, 3464, 29898, 1949, 29918, 1493, 3149, 1125, 13, 9651, 2143, 29918, 1493, 353, 938, 29898, 29888, 29889, 949, 1220, 2141, 29878, 17010, 3101, 13, 9651, 4765, 29918, 7406, 353, 518, 524, 29898, 29916, 29897, 363, 921, 297, 285, 29889, 949, 1220, 2141, 29878, 17010, 2141, 5451, 580, 29961, 29896, 1057, 29906, 5262, 13, 9651, 565, 7431, 29898, 4351, 29918, 7406, 29897, 2804, 29871, 29900, 29901, 13, 18884, 848, 29889, 4397, 3552, 999, 29918, 1493, 29892, 4765, 29918, 7406, 876, 13, 1678, 736, 848, 13, 13, 13, 29937, 1065, 341, 21819, 1904, 304, 4078, 10809, 11053, 13, 1753, 4078, 29918, 19488, 7295, 13, 1678, 396, 8783, 29892, 1418, 7003, 1664, 13, 1678, 341, 29963, 7230, 271, 24541, 353, 1284, 29918, 24713, 29918, 1753, 29898, 5085, 29889, 24713, 29897, 13, 1678, 1243, 29918, 24713, 353, 341, 29963, 7230, 271, 24541, 29898, 5085, 29889, 1688, 2084, 29892, 6389, 29889, 5451, 29892, 6389, 29889, 29876, 29918, 7406, 29897, 13, 1678, 4321, 25518, 10036, 353, 3630, 10036, 29898, 1688, 29918, 24713, 29892, 6389, 29889, 16175, 29918, 2311, 29892, 528, 21897, 29922, 8824, 29892, 954, 29918, 1287, 414, 29922, 29946, 29892, 5768, 29918, 4230, 29922, 8824, 29897, 13, 13, 1678, 396, 1904, 13, 1678, 1904, 353, 349, 905, 4352, 6779, 29898, 5041, 4352, 29918, 19207, 29918, 7052, 29922, 5085, 29889, 5041, 4352, 29918, 19207, 29918, 7052, 29892, 13, 18884, 13089, 362, 29918, 3881, 353, 6389, 29889, 5041, 4352, 29918, 3881, 29892, 13261, 4352, 29918, 1524, 362, 29922, 5085, 29889, 5041, 4352, 29918, 1524, 362, 29892, 29871, 13, 18884, 13261, 4352, 29918, 1949, 29918, 11249, 353, 6389, 29889, 5041, 4352, 29918, 1949, 29918, 11249, 29892, 29871, 13, 18884, 13089, 403, 29918, 484, 1141, 29890, 943, 29922, 5085, 29889, 7728, 351, 403, 29918, 484, 1141, 29890, 943, 29892, 14707, 29918, 484, 1141, 29890, 943, 29922, 5085, 29889, 24219, 403, 29918, 484, 1141, 29890, 943, 29897, 13, 1678, 1904, 353, 302, 29876, 29889, 1469, 2177, 6553, 29898, 4299, 29897, 13, 1678, 1904, 29889, 29883, 6191, 580, 13, 13, 1678, 396, 2254, 1423, 3149, 934, 6790, 491, 6389, 29889, 1359, 384, 415, 13, 1678, 1596, 703, 13234, 1904, 6571, 1642, 4830, 29898, 5085, 29889, 1359, 384, 415, 876, 13, 1678, 2106, 29918, 8977, 353, 4842, 305, 29889, 1359, 29898, 5085, 29889, 1359, 384, 415, 29897, 13, 1678, 1904, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 3859, 29918, 8977, 1839, 4299, 11287, 13, 1678, 1904, 29889, 14513, 580, 13, 268, 13, 1678, 411, 4842, 305, 29889, 1217, 29918, 5105, 7295, 13, 4706, 363, 9853, 29918, 13140, 29892, 4559, 297, 26985, 29898, 3057, 25518, 10036, 1125, 13, 9651, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 9651, 4559, 29918, 29883, 6191, 353, 304, 29883, 6191, 29898, 11249, 29897, 13, 9651, 14391, 353, 1904, 29898, 11249, 29918, 29883, 6191, 3366, 2492, 29879, 12436, 4559, 29918, 29883, 6191, 3366, 20865, 29918, 2922, 11669, 12436, 4559, 29918, 29883, 6191, 3366, 19488, 29918, 1195, 12436, 4559, 29918, 29883, 6191, 3366, 19488, 29918, 3317, 20068, 13, 632, 13, 9651, 14391, 353, 12489, 29906, 23749, 29898, 4905, 29879, 29897, 13, 9651, 628, 4559, 29918, 29883, 6191, 13, 9651, 1596, 877, 13463, 6571, 19248, 1118, 931, 353, 12365, 29889, 29941, 29888, 29913, 4286, 4830, 29898, 16175, 29918, 13140, 29892, 7431, 29898, 3057, 25518, 10036, 511, 931, 29889, 2230, 580, 448, 1369, 29918, 2230, 876, 13, 9651, 977, 264, 1280, 353, 4559, 3366, 9507, 3108, 13, 13, 632, 13, 9651, 396, 4078, 10809, 11053, 322, 16420, 11053, 13, 9651, 363, 10422, 29892, 10809, 29918, 342, 29892, 6731, 14066, 29918, 5527, 5084, 297, 14319, 29898, 1777, 264, 1280, 29892, 14391, 3366, 999, 1312, 29918, 19488, 3108, 1839, 19190, 29918, 29900, 7464, 13, 462, 462, 462, 18884, 14391, 3366, 561, 327, 14066, 29918, 5527, 5084, 3108, 1125, 13, 18884, 10809, 29918, 9507, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 10422, 29889, 4830, 877, 19488, 29918, 342, 742, 15300, 7810, 29885, 8785, 13, 18884, 16420, 29918, 9507, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 10422, 29889, 4830, 877, 5527, 5084, 742, 15300, 7810, 29885, 8785, 13, 18884, 2897, 29889, 29885, 12535, 12935, 29898, 19488, 29918, 9507, 29889, 2288, 2830, 11219, 742, 29871, 29896, 9601, 29900, 1402, 1863, 29918, 554, 29922, 5574, 29897, 13, 18884, 2897, 29889, 29885, 12535, 12935, 29898, 5527, 5084, 29918, 9507, 29889, 2288, 2830, 11219, 742, 29871, 29896, 9601, 29900, 1402, 1863, 29918, 554, 29922, 5574, 29897, 13, 18884, 396, 4078, 10809, 11053, 13, 18884, 10809, 29918, 342, 353, 7442, 29889, 29879, 802, 29872, 911, 29898, 19488, 29918, 342, 29892, 29871, 29900, 29897, 13, 18884, 4078, 29918, 7810, 29885, 29898, 19488, 29918, 9507, 29892, 10809, 29918, 342, 29897, 13, 18884, 396, 4078, 16420, 11053, 13, 18884, 4078, 29918, 7810, 29885, 29898, 5527, 5084, 29918, 9507, 29892, 6731, 14066, 29918, 5527, 5084, 29897, 13, 462, 13, 13, 13, 29937, 2060, 278, 3407, 1298, 9570, 964, 278, 2752, 1776, 29892, 769, 2060, 1250, 13, 1753, 337, 4836, 29918, 2541, 29918, 19488, 29898, 19488, 29918, 999, 29892, 11158, 1144, 1199, 29918, 999, 29892, 17541, 1144, 1199, 29918, 999, 29892, 10809, 29918, 4351, 29892, 11158, 1144, 1199, 29918, 4351, 29892, 17541, 1144, 1199, 29918, 4351, 1125, 13, 1678, 2920, 29892, 3171, 353, 10809, 29918, 999, 29889, 12181, 29961, 29896, 1402, 10809, 29918, 999, 29889, 12181, 29961, 29900, 29962, 13, 1678, 444, 4331, 29896, 29889, 2060, 3407, 17036, 304, 278, 2752, 1776, 13, 1678, 396, 3407, 1776, 921, 29892, 343, 13, 1678, 921, 29918, 999, 29892, 343, 29918, 999, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 29900, 29892, 2920, 511, 7442, 29889, 279, 927, 29898, 29900, 29892, 3171, 876, 13, 1678, 921, 29918, 999, 29892, 343, 29918, 999, 353, 921, 29918, 999, 29889, 690, 14443, 4197, 29899, 29896, 11724, 343, 29918, 999, 29889, 690, 14443, 4197, 29899, 29896, 2314, 13, 1678, 396, 3407, 29871, 29941, 29928, 2913, 13, 1678, 921, 12339, 29918, 999, 353, 7442, 29889, 2922, 16109, 29898, 9302, 29889, 29880, 979, 29887, 29889, 11569, 29898, 262, 509, 1144, 1199, 29918, 999, 511, 13, 462, 4706, 7442, 29889, 29894, 1429, 3552, 29916, 29918, 999, 29892, 343, 29918, 999, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 29918, 999, 4961, 334, 10809, 29918, 999, 29889, 690, 14443, 4197, 29899, 29896, 12622, 13, 1678, 396, 2752, 29871, 29941, 29928, 2913, 13, 1678, 921, 12339, 29918, 4351, 353, 7442, 29889, 2922, 16109, 29898, 9302, 29889, 2922, 16109, 29898, 1062, 29878, 1144, 1199, 29918, 4351, 29892, 7442, 29889, 29880, 979, 29887, 29889, 11569, 29898, 1062, 29878, 1144, 1199, 29918, 999, 8243, 13, 462, 4706, 7442, 29889, 29894, 1429, 3552, 20230, 29918, 999, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 29918, 999, 13697, 7503, 29941, 29962, 13, 1678, 396, 2752, 1776, 921, 29892, 343, 13, 1678, 476, 29918, 20230, 29918, 4351, 353, 7442, 29889, 2922, 16109, 29898, 262, 509, 1144, 1199, 29918, 4351, 29892, 921, 12339, 29918, 4351, 29897, 13, 1678, 921, 29891, 29918, 4351, 353, 476, 29918, 20230, 29918, 4351, 7503, 29906, 29962, 847, 476, 29918, 20230, 29918, 4351, 29961, 29906, 29901, 29941, 29962, 13, 13, 1678, 444, 4331, 29906, 29889, 337, 4836, 278, 2752, 1776, 3291, 411, 2752, 1776, 10809, 23248, 13, 1678, 396, 1284, 278, 10809, 23248, 310, 278, 2752, 1776, 13, 1678, 921, 29918, 4351, 353, 921, 29891, 29918, 4351, 29961, 29900, 1822, 690, 14443, 4197, 3545, 29892, 2920, 14664, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 1678, 343, 29918, 4351, 353, 921, 29891, 29918, 4351, 29961, 29896, 1822, 690, 14443, 4197, 3545, 29892, 2920, 14664, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 1678, 4559, 29881, 29918, 19488, 29918, 4351, 353, 13850, 29906, 29889, 1745, 481, 29898, 19488, 29918, 4351, 29892, 921, 29918, 4351, 29892, 343, 29918, 4351, 29892, 29694, 29922, 11023, 29906, 29889, 23845, 29918, 18521, 1718, 29897, 13, 1678, 396, 11105, 353, 4559, 29881, 29918, 19488, 29918, 4351, 1405, 29871, 29900, 13, 13, 1678, 396, 2752, 29871, 29941, 29928, 2913, 13, 1678, 396, 6058, 29923, 393, 591, 881, 671, 4559, 29881, 2752, 29899, 1493, 10809, 29918, 4150, 304, 2060, 1250, 13, 1678, 921, 12339, 29918, 4351, 353, 7442, 29889, 2922, 16109, 29898, 9302, 29889, 29880, 979, 29887, 29889, 11569, 29898, 262, 509, 1144, 1199, 29918, 4351, 511, 13, 462, 4706, 7442, 29889, 29894, 1429, 3552, 3594, 29918, 4351, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 29918, 999, 4961, 334, 4559, 29881, 29918, 19488, 29918, 4351, 29889, 690, 14443, 4197, 29899, 29896, 12622, 13, 1678, 396, 3407, 29871, 29941, 29928, 2913, 13, 1678, 921, 12339, 29918, 276, 4836, 287, 353, 7442, 29889, 2922, 16109, 29898, 9302, 29889, 2922, 16109, 29898, 1062, 29878, 1144, 1199, 29918, 999, 29892, 7442, 29889, 29880, 979, 29887, 29889, 11569, 29898, 1062, 29878, 1144, 1199, 29918, 4351, 8243, 13, 462, 18884, 7442, 29889, 29894, 1429, 3552, 20230, 29918, 4351, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 29918, 999, 13697, 7503, 29941, 29962, 13, 1678, 396, 2752, 1776, 921, 29892, 343, 29892, 10809, 13, 1678, 10809, 29918, 276, 4836, 287, 353, 921, 12339, 29918, 276, 4836, 287, 29961, 29906, 1822, 690, 14443, 4197, 3545, 29892, 2920, 14664, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 1678, 476, 29918, 20230, 29918, 276, 4836, 287, 353, 7442, 29889, 2922, 16109, 29898, 262, 509, 1144, 1199, 29918, 999, 29892, 921, 12339, 29918, 276, 4836, 287, 29897, 13, 1678, 921, 29891, 29918, 276, 4836, 287, 353, 476, 29918, 20230, 29918, 276, 4836, 287, 7503, 29906, 29962, 847, 476, 29918, 20230, 29918, 276, 4836, 287, 29961, 29906, 29901, 29941, 29962, 13, 1678, 921, 29918, 276, 4836, 287, 353, 921, 29891, 29918, 276, 4836, 287, 29961, 29900, 1822, 690, 14443, 4197, 3545, 29892, 2920, 14664, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 1678, 343, 29918, 276, 4836, 287, 353, 921, 29891, 29918, 276, 4836, 287, 29961, 29896, 1822, 690, 14443, 4197, 3545, 29892, 2920, 14664, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 13, 1678, 736, 10809, 29918, 276, 4836, 287, 29892, 921, 29918, 276, 4836, 287, 29892, 343, 29918, 276, 4836, 287, 29892, 921, 29918, 4351, 29892, 343, 29918, 4351, 13, 13, 13, 1753, 1423, 29918, 479, 14066, 29918, 3200, 391, 3819, 29898, 19488, 29918, 999, 29892, 11158, 1144, 1199, 29918, 999, 29892, 17541, 1144, 1199, 29918, 999, 29892, 10809, 29918, 4351, 29892, 11158, 1144, 1199, 29918, 4351, 29892, 17541, 1144, 1199, 29918, 4351, 29892, 13, 462, 18884, 1737, 29877, 29918, 29886, 15711, 29918, 386, 690, 29892, 1737, 29877, 29918, 19488, 29918, 386, 690, 1125, 13, 1678, 2920, 29892, 3171, 353, 10809, 29918, 999, 29889, 12181, 29961, 29896, 1402, 10809, 29918, 999, 29889, 12181, 29961, 29900, 29962, 13, 1678, 921, 29918, 999, 29892, 343, 29918, 999, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 29900, 29892, 2920, 511, 7442, 29889, 279, 927, 29898, 29900, 29892, 3171, 876, 13, 1678, 10809, 29918, 276, 4836, 287, 29892, 921, 29906, 29881, 29918, 276, 4836, 287, 29892, 343, 29906, 29881, 29918, 276, 4836, 287, 29892, 921, 29906, 29881, 29918, 4351, 29892, 343, 29906, 29881, 29918, 4351, 353, 337, 4836, 29918, 2541, 29918, 19488, 29898, 19488, 29918, 999, 29892, 11158, 1144, 1199, 29918, 999, 29892, 17541, 1144, 1199, 29918, 999, 29892, 13, 462, 462, 462, 268, 10809, 29918, 4351, 29892, 11158, 1144, 1199, 29918, 4351, 29892, 17541, 1144, 1199, 29918, 4351, 29897, 13, 1678, 396, 1596, 29898, 19488, 29918, 999, 29889, 12181, 29897, 13, 1678, 396, 1596, 29898, 19488, 29918, 276, 4836, 287, 29889, 12181, 29897, 13, 1678, 396, 1423, 891, 29886, 29918, 276, 20865, 29899, 29886, 29918, 29896, 29989, 529, 29871, 29896, 13, 1678, 1320, 353, 7442, 29889, 3676, 3552, 29916, 29906, 29881, 29918, 276, 4836, 287, 448, 921, 29918, 999, 29897, 3579, 29871, 29906, 718, 313, 29891, 29906, 29881, 29918, 276, 4836, 287, 448, 343, 29918, 999, 29897, 3579, 29871, 29906, 29897, 13, 13, 1678, 396, 1423, 891, 29881, 29918, 276, 20865, 29899, 29881, 29918, 29896, 29989, 847, 270, 29918, 29896, 529, 29871, 29900, 29889, 29900, 29896, 13, 1678, 396, 10809, 29918, 999, 353, 7442, 29889, 29879, 802, 29872, 911, 29898, 19488, 29918, 999, 29892, 29871, 29906, 29897, 13, 1678, 10809, 29918, 12765, 353, 7442, 29889, 6897, 29898, 19488, 29918, 276, 4836, 287, 448, 10809, 29918, 999, 29897, 13, 1678, 6198, 29918, 19488, 29918, 12765, 353, 10809, 29918, 12765, 847, 10809, 29918, 999, 13, 13, 1678, 11105, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 5721, 529, 1737, 29877, 29918, 29886, 15711, 29918, 386, 690, 29892, 6198, 29918, 19488, 29918, 12765, 529, 1737, 29877, 29918, 19488, 29918, 386, 690, 29897, 13, 1678, 10809, 29918, 276, 4836, 287, 29961, 30022, 13168, 29962, 353, 29871, 29900, 13, 13, 1678, 736, 11105, 29892, 10809, 29918, 276, 4836, 287, 29892, 921, 29906, 29881, 29918, 4351, 29892, 343, 29906, 29881, 29918, 4351, 13, 13, 13, 1753, 4175, 29918, 19488, 29898, 16192, 29918, 12083, 29892, 714, 29918, 12083, 29892, 282, 368, 9507, 29892, 1737, 29877, 29918, 29886, 15711, 29918, 386, 690, 29892, 1737, 29877, 29918, 19488, 29918, 386, 690, 29892, 15373, 29918, 386, 690, 29892, 10153, 29918, 1332, 29892, 1737, 29877, 29918, 13168, 29918, 386, 690, 1125, 13, 1678, 396, 278, 5101, 934, 13, 1678, 5101, 29918, 1445, 353, 2897, 29889, 2084, 29889, 7122, 29898, 16192, 29918, 12083, 29892, 376, 18784, 29889, 3945, 1159, 13, 1678, 396, 363, 278, 2186, 1298, 9570, 13, 1678, 12688, 29879, 353, 5159, 13, 1678, 12688, 29918, 27703, 353, 5159, 13, 13, 1678, 5101, 29918, 1272, 353, 1303, 29918, 18784, 29918, 1445, 29898, 18784, 29918, 1445, 29897, 13, 1678, 302, 7406, 353, 7431, 29898, 18784, 29918, 1272, 29897, 13, 268, 13, 13, 1678, 396, 363, 1269, 3407, 1776, 322, 278, 6590, 2752, 8386, 13, 1678, 363, 2143, 29918, 1493, 29892, 4765, 29918, 7406, 297, 5101, 29918, 1272, 29901, 13, 308, 13, 4706, 396, 2254, 278, 3407, 1967, 13, 4706, 2143, 29918, 2492, 29892, 2441, 29918, 29882, 29892, 2441, 29918, 29893, 353, 1303, 29918, 2492, 29898, 359, 29889, 2084, 29889, 7122, 29898, 16192, 29918, 12083, 29892, 525, 8346, 19248, 29901, 29900, 29958, 29947, 1836, 6173, 4286, 4830, 29898, 999, 29918, 1493, 8243, 2492, 29918, 1332, 29897, 13, 4706, 2143, 29918, 262, 509, 1144, 1199, 29892, 2143, 29918, 1062, 29878, 1144, 1199, 353, 1303, 29918, 11108, 29918, 1445, 29898, 13, 9651, 2897, 29889, 2084, 29889, 7122, 29898, 16192, 29918, 12083, 29892, 525, 29883, 2232, 29918, 29896, 19248, 29901, 29900, 29958, 29947, 2403, 11108, 29889, 3945, 4286, 4830, 29898, 999, 29918, 1493, 4961, 29961, 29900, 29901, 29906, 29962, 13, 4706, 2143, 29918, 262, 509, 1144, 1199, 29961, 29900, 29962, 334, 29922, 10153, 29918, 1332, 29961, 29900, 16261, 13492, 29918, 29893, 13, 4706, 2143, 29918, 262, 509, 1144, 1199, 29961, 29896, 29962, 334, 29922, 10153, 29918, 1332, 29961, 29896, 16261, 13492, 29918, 29882, 13, 308, 13, 4706, 396, 2254, 278, 15899, 10809, 310, 278, 3407, 1776, 13, 4706, 2143, 29918, 19488, 29918, 342, 353, 1303, 29918, 7810, 29885, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 525, 19488, 29918, 342, 19248, 29901, 29900, 29958, 29947, 1836, 7810, 29885, 4286, 4830, 29898, 999, 29918, 1493, 4961, 29961, 29900, 29962, 13, 4706, 2143, 29918, 19488, 29918, 342, 353, 7442, 29889, 29879, 802, 29872, 911, 29898, 999, 29918, 19488, 29918, 342, 29892, 29871, 29906, 29897, 13, 4706, 396, 2254, 278, 6731, 14066, 11105, 310, 278, 3407, 1776, 13, 4706, 16420, 353, 1303, 29918, 7810, 29885, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 525, 5527, 5084, 19248, 29901, 29900, 29958, 29947, 1836, 7810, 29885, 4286, 4830, 29898, 999, 29918, 1493, 4961, 29961, 29900, 29962, 13, 308, 13, 4706, 15373, 29918, 13168, 353, 16420, 1405, 15373, 29918, 386, 690, 13, 4706, 15373, 29918, 13168, 353, 7442, 29889, 29879, 802, 29872, 911, 29898, 21596, 29918, 13168, 29892, 29871, 29906, 29897, 13, 308, 13, 13, 4706, 599, 29918, 4351, 1493, 29918, 19488, 29918, 9197, 353, 5159, 13, 308, 13, 4706, 396, 10272, 278, 26224, 11105, 13, 4706, 1737, 29877, 29918, 13168, 29918, 2083, 353, 29871, 29900, 13, 4706, 363, 4765, 29918, 1493, 297, 4765, 29918, 7406, 29901, 13, 9651, 396, 10656, 4128, 310, 278, 2752, 1776, 13, 9651, 17117, 2441, 29918, 29882, 29892, 2441, 29918, 29893, 353, 1303, 29918, 2492, 29898, 359, 29889, 2084, 29889, 7122, 29898, 16192, 29918, 12083, 29892, 525, 8346, 19248, 29901, 29900, 29958, 29947, 1836, 6173, 4286, 4830, 29898, 4351, 29918, 1493, 8243, 10153, 29918, 1332, 29897, 13, 9651, 4765, 29918, 262, 509, 1144, 1199, 29892, 4765, 29918, 1062, 29878, 1144, 1199, 353, 1303, 29918, 11108, 29918, 1445, 29898, 13, 18884, 2897, 29889, 2084, 29889, 7122, 29898, 16192, 29918, 12083, 29892, 525, 29883, 2232, 29918, 29896, 19248, 29901, 29900, 29958, 29947, 2403, 11108, 29889, 3945, 4286, 4830, 29898, 4351, 29918, 1493, 4961, 29961, 29900, 29901, 29906, 29962, 13, 9651, 4765, 29918, 262, 509, 1144, 1199, 29961, 29900, 29962, 334, 29922, 10153, 29918, 1332, 29961, 29900, 16261, 13492, 29918, 29893, 13, 9651, 4765, 29918, 262, 509, 1144, 1199, 29961, 29896, 29962, 334, 29922, 10153, 29918, 1332, 29961, 29896, 16261, 13492, 29918, 29882, 13, 632, 13, 9651, 396, 278, 15899, 10809, 310, 278, 2752, 1776, 13, 9651, 4765, 29918, 19488, 29918, 342, 353, 1303, 29918, 7810, 29885, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 525, 19488, 29918, 342, 19248, 29901, 29900, 29958, 29947, 1836, 7810, 29885, 4286, 4830, 29898, 4351, 29918, 1493, 4961, 29961, 29900, 29962, 13, 13, 9651, 1737, 29877, 29918, 13168, 29892, 10809, 29918, 276, 4836, 287, 29892, 921, 29906, 29881, 29918, 4351, 29892, 343, 29906, 29881, 29918, 4351, 353, 1423, 29918, 479, 14066, 29918, 3200, 391, 3819, 29898, 999, 29918, 19488, 29918, 342, 29892, 2143, 29918, 262, 509, 1144, 1199, 29892, 2143, 29918, 1062, 29878, 1144, 1199, 29892, 13, 462, 462, 462, 462, 418, 4765, 29918, 19488, 29918, 342, 29892, 13, 462, 462, 462, 462, 418, 4765, 29918, 262, 509, 1144, 1199, 29892, 4765, 29918, 1062, 29878, 1144, 1199, 29892, 13, 462, 462, 462, 462, 418, 1737, 29877, 29918, 29886, 15711, 29918, 386, 690, 29892, 1737, 29877, 29918, 19488, 29918, 386, 690, 29897, 13, 9651, 1737, 29877, 29918, 13168, 29918, 2083, 4619, 1737, 29877, 29918, 13168, 29889, 579, 668, 29898, 9302, 29889, 524, 29941, 29906, 29897, 13, 9651, 599, 29918, 4351, 1493, 29918, 19488, 29918, 9197, 29889, 4397, 29898, 19488, 29918, 276, 4836, 287, 29897, 13, 632, 13, 13, 4706, 10809, 29918, 342, 29918, 12483, 4063, 353, 313, 2083, 29898, 497, 29918, 4351, 1493, 29918, 19488, 29918, 9197, 29897, 718, 2143, 29918, 19488, 29918, 342, 29897, 847, 313, 24756, 29918, 13168, 29918, 2083, 718, 29871, 29896, 29897, 13, 308, 13, 4706, 1737, 29877, 29918, 13168, 353, 1737, 29877, 29918, 13168, 29918, 2083, 6736, 1737, 29877, 29918, 13168, 29918, 386, 690, 13, 4706, 2186, 29918, 13168, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 21596, 29918, 13168, 29892, 1737, 29877, 29918, 13168, 29897, 13, 308, 13, 4706, 2897, 29889, 29885, 12535, 12935, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 376, 13168, 4968, 1863, 29918, 554, 29922, 5574, 29897, 13, 4706, 4078, 29918, 13168, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 376, 13168, 19248, 29901, 29900, 29958, 29947, 2403, 21596, 29889, 2732, 1642, 4830, 29898, 999, 29918, 1493, 8243, 15373, 29918, 13168, 29897, 13, 4706, 4078, 29918, 13168, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 376, 13168, 19248, 29901, 29900, 29958, 29947, 2403, 24756, 29889, 2732, 1642, 4830, 29898, 999, 29918, 1493, 8243, 1737, 29877, 29918, 13168, 29897, 13, 4706, 4078, 29918, 13168, 29898, 359, 29889, 2084, 29889, 7122, 29898, 449, 29918, 12083, 29892, 376, 13168, 19248, 29901, 29900, 29958, 29947, 2403, 8394, 29889, 2732, 1642, 4830, 29898, 999, 29918, 1493, 8243, 2186, 29918, 13168, 29897, 13, 308, 13, 13, 4706, 565, 6389, 29889, 4990, 29901, 13, 9651, 1053, 13850, 29906, 13, 9651, 13850, 29906, 29889, 326, 4294, 877, 999, 29918, 2492, 742, 2143, 29918, 2492, 7503, 29892, 584, 29892, 4761, 29899, 29896, 2314, 13, 9651, 13850, 29906, 29889, 326, 4294, 877, 999, 29918, 19488, 742, 2143, 29918, 19488, 29918, 342, 1723, 13, 9651, 13850, 29906, 29889, 326, 4294, 877, 999, 29918, 19488, 334, 15373, 29918, 13168, 742, 2143, 29918, 19488, 29918, 342, 334, 15373, 29918, 13168, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 876, 13, 9651, 13850, 29906, 29889, 326, 4294, 877, 999, 29918, 19488, 334, 1737, 29877, 29918, 13168, 742, 2143, 29918, 19488, 29918, 342, 334, 1737, 29877, 29918, 13168, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 1723, 13, 9651, 13850, 29906, 29889, 326, 4294, 877, 999, 29918, 19488, 334, 11105, 742, 2143, 29918, 19488, 29918, 342, 334, 2186, 29918, 13168, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 876, 13, 9651, 13850, 29906, 29889, 10685, 2558, 29898, 29896, 29897, 13, 13, 4706, 3171, 29892, 2920, 353, 10809, 29918, 342, 29918, 12483, 4063, 29889, 12181, 7503, 29906, 29962, 13, 4706, 921, 29892, 343, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 29900, 29892, 2920, 511, 7442, 29889, 279, 927, 29898, 29900, 29892, 3171, 876, 13, 308, 13, 4706, 2854, 29918, 9748, 353, 2186, 29918, 13168, 13, 308, 13, 4706, 921, 29892, 343, 29892, 10809, 353, 921, 29961, 3084, 29918, 9748, 1402, 343, 29961, 3084, 29918, 9748, 1402, 10809, 29918, 342, 29918, 12483, 4063, 29961, 3084, 29918, 9748, 29962, 13, 308, 13, 4706, 2927, 353, 2143, 29918, 2492, 29961, 3084, 29918, 9748, 29962, 13, 4706, 921, 12339, 29918, 999, 353, 7442, 29889, 2922, 16109, 29898, 1678, 7442, 29889, 29880, 979, 29887, 29889, 11569, 29898, 999, 29918, 262, 509, 1144, 1199, 511, 13, 462, 9651, 7442, 29889, 29894, 1429, 3552, 29916, 29892, 343, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 4961, 334, 10809, 29897, 13, 4706, 921, 12339, 29918, 11526, 353, 7442, 29889, 2922, 16109, 29898, 9302, 29889, 29880, 979, 29887, 29889, 11569, 29898, 999, 29918, 1062, 29878, 1144, 1199, 511, 13, 462, 795, 7442, 29889, 29894, 1429, 3552, 20230, 29918, 999, 29892, 7442, 29889, 2873, 29918, 4561, 29898, 29916, 13697, 7503, 29941, 29962, 13, 4706, 12688, 29879, 29889, 4397, 29898, 20230, 29918, 11526, 29889, 3286, 4220, 3552, 29896, 29892, 29871, 29900, 4961, 13, 4706, 12688, 29918, 27703, 29889, 4397, 3552, 2780, 334, 29871, 29906, 29945, 29945, 467, 579, 668, 29898, 9302, 29889, 13470, 29947, 876, 13, 13, 1678, 12688, 29879, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 369, 4776, 29879, 29892, 9685, 29922, 29900, 29897, 13, 1678, 12688, 29918, 27703, 353, 7442, 29889, 535, 29883, 2579, 403, 29898, 369, 4776, 29918, 27703, 29892, 9685, 29922, 29900, 29897, 13, 1678, 12688, 29879, 353, 7442, 29889, 2378, 4197, 23583, 29898, 29894, 29897, 363, 325, 297, 12688, 29879, 1402, 26688, 11759, 877, 29916, 742, 525, 29888, 29946, 5477, 6702, 29891, 742, 525, 29888, 29946, 5477, 6702, 29920, 742, 525, 29888, 29946, 1495, 2314, 13, 1678, 12688, 29918, 27703, 353, 7442, 29889, 2378, 4197, 23583, 29898, 29894, 29897, 363, 325, 297, 12688, 29918, 27703, 1402, 26688, 11759, 877, 1127, 742, 525, 29884, 29896, 5477, 6702, 12692, 742, 525, 29884, 29896, 5477, 6702, 9539, 742, 525, 29884, 29896, 1495, 2314, 13, 13, 1678, 12688, 29918, 497, 353, 7442, 29889, 6310, 29898, 2435, 29898, 369, 4776, 29879, 511, 12688, 29879, 29889, 29881, 1853, 29889, 2783, 7283, 718, 12688, 29918, 27703, 29889, 29881, 1853, 29889, 2783, 7283, 29897, 13, 1678, 363, 3107, 297, 12688, 29879, 29889, 29881, 1853, 29889, 7039, 29901, 13, 4706, 12688, 29918, 497, 29961, 7728, 29962, 353, 12688, 29879, 29961, 7728, 29962, 13, 1678, 363, 3107, 297, 12688, 29918, 27703, 29889, 29881, 1853, 29889, 7039, 29901, 13, 4706, 12688, 29918, 497, 29961, 7728, 29962, 353, 12688, 29918, 27703, 29961, 7728, 29962, 13, 13, 1678, 560, 353, 349, 368, 2642, 29889, 2783, 29581, 29898, 369, 4776, 29918, 497, 29892, 525, 369, 4776, 1495, 13, 1678, 349, 368, 1469, 4197, 295, 14664, 3539, 29898, 17632, 9507, 29897, 13, 1678, 1596, 703, 29879, 5555, 278, 2186, 1904, 304, 613, 282, 368, 9507, 29897, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 396, 4331, 29896, 29889, 4078, 599, 278, 10809, 11053, 322, 278, 11105, 29879, 297, 14391, 3884, 13, 1678, 4078, 29918, 19488, 580, 13, 1678, 10153, 29918, 1332, 353, 313, 29906, 29953, 29947, 29947, 29892, 29896, 29955, 29929, 29906, 29897, 13, 268, 13, 268, 13, 268, 13, 1678, 565, 6389, 29889, 5451, 1275, 376, 1688, 1115, 13, 4706, 885, 550, 353, 6024, 7451, 273, 936, 29918, 29887, 7879, 742, 525, 29890, 483, 414, 742, 525, 18419, 742, 525, 17433, 742, 13, 18884, 525, 735, 6335, 654, 29918, 27090, 742, 525, 781, 545, 29918, 8345, 742, 525, 29880, 4357, 29918, 8345, 742, 525, 29880, 1309, 479, 742, 13, 18884, 525, 26739, 7606, 742, 525, 1025, 29918, 12097, 261, 742, 525, 6112, 434, 742, 525, 357, 25525, 29918, 29906, 2033, 13, 308, 13, 308, 13, 308, 13, 4706, 1737, 29877, 29918, 13168, 29918, 386, 690, 353, 11117, 7451, 273, 936, 29918, 29887, 7879, 2396, 29896, 29892, 29871, 396, 29871, 29941, 29900, 4558, 29892, 714, 17433, 13, 18884, 525, 29890, 483, 414, 2396, 29896, 29892, 396, 29871, 29906, 29953, 4558, 29892, 714, 17433, 13, 18884, 525, 18419, 2396, 29946, 29892, 29871, 396, 29871, 29896, 29896, 29900, 4558, 29892, 714, 17433, 13, 18884, 525, 17433, 2396, 29896, 29892, 396, 29871, 29953, 4558, 29892, 1399, 16946, 13, 18884, 525, 735, 6335, 654, 29918, 27090, 2396, 29896, 29892, 29871, 396, 29871, 29953, 29947, 4558, 29892, 1399, 16946, 13, 18884, 525, 781, 545, 29918, 8345, 2396, 29896, 29892, 396, 29871, 29906, 29941, 4558, 29892, 1399, 16946, 13, 18884, 525, 29880, 4357, 29918, 8345, 2396, 29906, 29892, 396, 29871, 29953, 29945, 4558, 29892, 1399, 16946, 13, 18884, 525, 29880, 1309, 479, 2396, 29896, 29892, 29937, 29871, 29896, 29900, 4558, 29892, 1399, 16946, 13, 18884, 525, 26739, 7606, 2396, 29896, 29892, 396, 29871, 29906, 29955, 4558, 29892, 714, 17433, 13, 18884, 525, 1025, 29918, 12097, 261, 2396, 29896, 29892, 396, 29871, 29945, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 6112, 434, 2396, 29896, 29892, 29871, 396, 29871, 29896, 29900, 4558, 29892, 1399, 16946, 13, 18884, 525, 357, 25525, 29918, 29906, 2396, 29896, 396, 29871, 29896, 29941, 4558, 29892, 714, 17433, 13, 18884, 500, 13, 4706, 954, 29918, 8346, 353, 11117, 7451, 273, 936, 29918, 29887, 7879, 2396, 29941, 29900, 29892, 29871, 396, 29871, 29941, 29900, 4558, 29892, 714, 17433, 13, 18884, 525, 29890, 483, 414, 2396, 29906, 29953, 29892, 396, 29871, 29906, 29953, 4558, 29892, 714, 17433, 13, 18884, 525, 18419, 2396, 29896, 29896, 29900, 29892, 29871, 396, 29871, 29896, 29896, 29900, 4558, 29892, 714, 17433, 13, 18884, 525, 17433, 2396, 29953, 29892, 396, 29871, 29953, 4558, 29892, 1399, 16946, 13, 18884, 525, 735, 6335, 654, 29918, 27090, 2396, 29953, 29947, 29892, 29871, 396, 29871, 29953, 29947, 4558, 29892, 1399, 16946, 13, 18884, 525, 781, 545, 29918, 8345, 2396, 29906, 29941, 29892, 396, 29871, 29906, 29941, 4558, 29892, 1399, 16946, 13, 18884, 525, 29880, 4357, 29918, 8345, 2396, 29953, 29945, 29892, 396, 29871, 29953, 29945, 4558, 29892, 1399, 16946, 13, 18884, 525, 29880, 1309, 479, 2396, 29896, 29900, 29892, 29937, 29871, 29896, 29900, 4558, 29892, 1399, 16946, 13, 18884, 525, 26739, 7606, 2396, 29906, 29955, 29892, 396, 29871, 29906, 29955, 4558, 29892, 714, 17433, 13, 18884, 525, 1025, 29918, 12097, 261, 2396, 29945, 29946, 29892, 396, 29871, 29945, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 6112, 434, 2396, 29896, 29900, 29892, 29871, 396, 29871, 29896, 29900, 4558, 29892, 1399, 16946, 13, 18884, 525, 357, 25525, 29918, 29906, 2396, 29896, 29941, 396, 29871, 29896, 29941, 4558, 29892, 714, 17433, 13, 18884, 500, 13, 4706, 363, 12812, 297, 885, 550, 29901, 13, 9651, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 9651, 12812, 29918, 12083, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 1688, 2084, 29892, 12812, 29897, 13, 9651, 714, 29918, 12083, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 12812, 29897, 13, 9651, 396, 4331, 29906, 29889, 4175, 7160, 10809, 11053, 411, 26224, 11938, 13, 9651, 4175, 29918, 19488, 29898, 16192, 29918, 12083, 29892, 714, 29918, 12083, 29892, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 12812, 718, 15300, 17632, 5477, 29871, 13, 462, 4706, 6389, 29889, 24756, 29918, 29886, 15711, 29918, 386, 690, 29892, 6389, 29889, 24756, 29918, 19488, 29918, 386, 690, 29892, 6389, 29889, 21596, 29918, 386, 690, 29892, 10153, 29918, 1332, 29892, 1737, 29877, 29918, 13168, 29918, 386, 690, 29961, 16192, 2314, 29871, 13, 9651, 1596, 877, 16192, 29901, 525, 29974, 16192, 23097, 931, 353, 12365, 29941, 29888, 29913, 4286, 4830, 29898, 2230, 29889, 2230, 580, 448, 1369, 29918, 2230, 876, 13, 13, 1678, 25342, 6389, 29889, 5451, 1275, 376, 14968, 1115, 13, 4706, 885, 550, 353, 6024, 29883, 473, 1017, 538, 742, 525, 29881, 27657, 29918, 6203, 742, 525, 15436, 307, 742, 525, 17470, 1943, 742, 13, 18884, 525, 29895, 6541, 742, 525, 1004, 6986, 742, 525, 20205, 742, 525, 13096, 267, 742, 525, 1456, 2057, 742, 13, 18884, 525, 2674, 2575, 742, 525, 2674, 2575, 29918, 29906, 742, 525, 357, 25525, 742, 525, 27331, 1144, 2033, 13, 308, 13, 308, 13, 4706, 1737, 29877, 29918, 13168, 29918, 386, 690, 353, 11117, 29883, 473, 1017, 538, 2396, 29896, 29892, 29871, 396, 29871, 29941, 29947, 4558, 29892, 714, 17433, 13, 18884, 525, 29881, 27657, 29918, 6203, 2396, 29896, 29892, 396, 29871, 29946, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 15436, 307, 2396, 29896, 29892, 29871, 396, 29871, 29946, 29945, 4558, 29892, 714, 17433, 13, 18884, 525, 17470, 1943, 2396, 29946, 29892, 396, 29871, 29955, 29953, 4558, 29892, 714, 17433, 13, 18884, 525, 29895, 6541, 2396, 29896, 29892, 29871, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 1004, 6986, 2396, 29896, 29892, 396, 29871, 29896, 29945, 4558, 29892, 714, 17433, 13, 18884, 525, 20205, 2396, 29896, 29892, 396, 29871, 29906, 29953, 4558, 29892, 1399, 16946, 13, 18884, 525, 13096, 267, 2396, 29896, 29892, 29937, 29871, 29896, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 1456, 2057, 2396, 29896, 29892, 396, 29871, 29941, 29947, 4558, 29892, 714, 17433, 13, 18884, 525, 2674, 2575, 2396, 29896, 29892, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 2674, 2575, 29918, 29906, 2396, 29896, 29892, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 357, 25525, 2396, 29896, 29892, 29871, 396, 29871, 29906, 29941, 4558, 29892, 714, 17433, 13, 18884, 525, 27331, 1144, 2396, 29896, 396, 29871, 29946, 29906, 4558, 29892, 1399, 16946, 13, 18884, 500, 13, 308, 13, 4706, 954, 29918, 8346, 353, 11117, 29883, 473, 1017, 538, 2396, 29941, 29947, 29892, 29871, 396, 29871, 29941, 29947, 4558, 29892, 714, 17433, 13, 18884, 525, 29881, 27657, 29918, 6203, 2396, 29946, 29946, 29892, 396, 29871, 29946, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 15436, 307, 2396, 29946, 29945, 29892, 29871, 396, 29871, 29946, 29945, 4558, 29892, 714, 17433, 13, 18884, 525, 17470, 1943, 2396, 29955, 29953, 29892, 396, 29871, 29955, 29953, 4558, 29892, 714, 17433, 13, 18884, 525, 29895, 6541, 2396, 29941, 29896, 29892, 29871, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 1004, 6986, 2396, 29896, 29945, 29892, 396, 29871, 29896, 29945, 4558, 29892, 714, 17433, 13, 18884, 525, 20205, 2396, 29906, 29953, 29892, 396, 29871, 29906, 29953, 4558, 29892, 1399, 16946, 13, 18884, 525, 13096, 267, 2396, 29896, 29946, 29892, 29937, 29871, 29896, 29946, 4558, 29892, 1399, 16946, 13, 18884, 525, 1456, 2057, 2396, 29941, 29947, 29892, 396, 29871, 29941, 29947, 4558, 29892, 714, 17433, 13, 18884, 525, 2674, 2575, 2396, 29941, 29896, 29892, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 2674, 2575, 29918, 29906, 2396, 29941, 29896, 29892, 396, 29871, 29941, 29896, 4558, 29892, 1399, 16946, 13, 18884, 525, 357, 25525, 2396, 29906, 29941, 29892, 29871, 396, 29871, 29906, 29941, 4558, 29892, 714, 17433, 13, 18884, 525, 27331, 1144, 2396, 29946, 29906, 396, 29871, 29946, 29906, 4558, 29892, 1399, 16946, 13, 18884, 500, 13, 4706, 363, 12812, 297, 885, 550, 29901, 13, 9651, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 9651, 12812, 29918, 12083, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 1688, 2084, 29892, 12812, 29897, 13, 9651, 714, 29918, 12083, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 12812, 29897, 13, 9651, 396, 4331, 29906, 29889, 4175, 7160, 10809, 11053, 411, 26224, 11938, 13, 9651, 4175, 29918, 19488, 29898, 16192, 29918, 12083, 29892, 714, 29918, 12083, 29892, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 449, 3972, 29892, 12812, 718, 15300, 17632, 5477, 29871, 13, 462, 4706, 6389, 29889, 24756, 29918, 29886, 15711, 29918, 386, 690, 29892, 6389, 29889, 24756, 29918, 19488, 29918, 386, 690, 29892, 6389, 29889, 21596, 29918, 386, 690, 29892, 10153, 29918, 1332, 29892, 1737, 29877, 29918, 13168, 29918, 386, 690, 29961, 16192, 2314, 1678, 13, 9651, 1596, 877, 16192, 29901, 525, 29974, 16192, 23097, 931, 353, 12365, 29941, 29888, 29913, 4286, 4830, 29898, 2230, 29889, 2230, 580, 448, 1369, 29918, 2230, 876, 2 ]
Program_Python_code/IOT_02/sql_03.py
skyhigh8591/Learning_Test_Program
0
86178
<filename>Program_Python_code/IOT_02/sql_03.py # -*- coding: utf-8 -*- """ Created on Mon Jun 15 10:42:03 2020 @author: skyhigh """ from flask import Flask,request,render_template from flask_mysqldb import MySQL import datetime app = Flask (__name__) app.config['MYSQL_HOST'] = 'localhost' app.config['MYSQL_USER'] = 'root' app.config['MYSQL_PASSWORD'] = '<PASSWORD>' app.config['MYSQL_DB'] = 'iot' mysql = MySQL(app) @app.route('/', methods=['GET','POST']) def index(): if request.method == 'GET': mycursor = mysql.connection.cursor() mycursor.execute("SELECT * FROM temperature_db") myresult = mycursor.fetchall() mycursor.close() rows=[] for row in myresult: rows.append(row) print(row) return str(rows) @app.route('/data', methods=['GET','POST']) def data(): if request.method == 'GET': mycursor = mysql.connection.cursor() mycursor.execute("SELECT * FROM temperature_db") myresult = mycursor.fetchall() mycursor.close() return render_template('index_5.html',data = myresult) @app.route('/insert', methods=['GET','POST']) def insert_data(): if request.method == 'POST': userid = request.values['userid'] temperature=request.values['temperature'] mycursor = mysql.connection.cursor() time = datetime.datetime.now() print(time) currenttime = time.strftime('%Y-%m-%d %H:%M:%S') print(currenttime) sql = "INSERT INTO temperature_db(userid,temperature,datetime)VALUES( %s,%s,%s)" value = (userid,temperature,currenttime) mycursor.execute(sql,value) mysql.connection.commit() count=mycursor.rowcount print(count) mycursor.close() if count > 0: result = str(count)+"insert data ok" return render_template('index_6.html', insert_result=result) else: return "insert data ok" if request.method == 'GET': return render_template('index_6.html') @app.route('/update', methods=['GET','POST']) def update_data(): if request.method == 'POST': userid = request.values['userid_update'] temperature = request.values['temperature_update'] mycursor = mysql.connection.cursor() sql = "UPDATE temperature_db SET temperature = %s WHERE userid = %s" value = (temperature,userid) mycursor.execute(sql,value) mysql.connection.commit() count=mycursor.rowcount print(count) mycursor.close() if count > 0: result = str(count) +"update data ok" return render_template('index_7.html', update_result = result) else: return "update data fail" if request.method == 'GET': return render_template('index_7.html') @app.route('/delete', methods=['GET','POST']) def delete_data(): if request.method == 'POST': userid = request.values['userid_delete'] mycursor = mysql.connection.cursor() sql = "DELETE FROM temperature_db WHERE userid = %s " value = (userid,) mycursor.execute(sql,value) mysql.connection.commit() count=mycursor.rowcount print(count) mycursor.close() if count > 0: result = str(count) +"delete data ok" return render_template('index_8.html', delete_result = result) else: return "delete data fail" if request.method == 'GET': return render_template('index_8.html') if __name__ == '__main__': app.run()
[ 1, 529, 9507, 29958, 9283, 29918, 11980, 29918, 401, 29914, 29902, 2891, 29918, 29900, 29906, 29914, 2850, 29918, 29900, 29941, 29889, 2272, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 20399, 373, 2598, 8378, 29871, 29896, 29945, 29871, 29896, 29900, 29901, 29946, 29906, 29901, 29900, 29941, 29871, 29906, 29900, 29906, 29900, 13, 13, 29992, 8921, 29901, 14744, 9812, 13, 15945, 29908, 13, 13, 13, 3166, 29784, 1053, 2379, 1278, 29892, 3827, 29892, 9482, 29918, 6886, 13, 3166, 29784, 29918, 19268, 430, 29890, 1053, 9254, 13, 5215, 12865, 13, 13, 932, 353, 2379, 1278, 313, 1649, 978, 1649, 29897, 13, 13, 932, 29889, 2917, 1839, 17870, 4176, 29918, 20832, 2033, 353, 525, 7640, 29915, 29871, 13, 932, 29889, 2917, 1839, 17870, 4176, 29918, 11889, 2033, 353, 525, 4632, 29915, 29871, 13, 932, 29889, 2917, 1839, 17870, 4176, 29918, 25711, 17013, 2033, 353, 12801, 25711, 17013, 16299, 29871, 13, 932, 29889, 2917, 1839, 17870, 4176, 29918, 4051, 2033, 353, 525, 24414, 29915, 29871, 13, 462, 632, 13, 7938, 353, 9254, 29898, 932, 29897, 13, 13, 29992, 932, 29889, 13134, 11219, 742, 3519, 29922, 1839, 7194, 3788, 5438, 11287, 13, 1753, 2380, 7295, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 7194, 2396, 13, 4706, 590, 18127, 353, 5749, 29889, 9965, 29889, 18127, 580, 13, 4706, 590, 18127, 29889, 7978, 703, 6404, 334, 3895, 10430, 29918, 2585, 1159, 13, 4706, 590, 2914, 353, 590, 18127, 29889, 9155, 497, 580, 13, 4706, 590, 18127, 29889, 5358, 580, 13, 308, 13, 4706, 4206, 29922, 2636, 13, 4706, 363, 1948, 297, 590, 2914, 29901, 13, 9651, 4206, 29889, 4397, 29898, 798, 29897, 13, 9651, 1596, 29898, 798, 29897, 13, 632, 13, 4706, 736, 851, 29898, 5727, 29897, 13, 268, 13, 29992, 932, 29889, 13134, 11219, 1272, 742, 3519, 29922, 1839, 7194, 3788, 5438, 11287, 13, 1753, 848, 7295, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 7194, 2396, 13, 4706, 590, 18127, 353, 5749, 29889, 9965, 29889, 18127, 580, 13, 4706, 590, 18127, 29889, 7978, 703, 6404, 334, 3895, 10430, 29918, 2585, 1159, 13, 4706, 590, 2914, 353, 590, 18127, 29889, 9155, 497, 580, 13, 4706, 590, 18127, 29889, 5358, 580, 13, 308, 13, 4706, 736, 4050, 29918, 6886, 877, 2248, 29918, 29945, 29889, 1420, 742, 1272, 353, 590, 2914, 29897, 13, 268, 13, 29992, 932, 29889, 13134, 11219, 7851, 742, 3519, 29922, 1839, 7194, 3788, 5438, 11287, 259, 13, 1753, 4635, 29918, 1272, 7295, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 1404, 333, 353, 2009, 29889, 5975, 1839, 1792, 333, 2033, 13, 4706, 10430, 29922, 3827, 29889, 5975, 1839, 12863, 1535, 2033, 13, 4706, 590, 18127, 353, 29871, 5749, 29889, 9965, 29889, 18127, 580, 13, 4706, 931, 353, 12865, 29889, 12673, 29889, 3707, 580, 13, 4706, 1596, 29898, 2230, 29897, 13, 4706, 1857, 2230, 353, 931, 29889, 710, 615, 603, 877, 29995, 29979, 19222, 29885, 19222, 29881, 1273, 29950, 16664, 29924, 16664, 29903, 1495, 13, 4706, 1596, 29898, 3784, 2230, 29897, 13, 308, 13, 4706, 4576, 353, 376, 19460, 11646, 10430, 29918, 2585, 29898, 1792, 333, 29892, 12863, 1535, 29892, 12673, 29897, 8932, 12996, 29898, 1273, 29879, 24163, 29879, 24163, 29879, 5513, 13, 4706, 995, 353, 313, 1792, 333, 29892, 12863, 1535, 29892, 3784, 2230, 29897, 13, 4706, 590, 18127, 29889, 7978, 29898, 2850, 29892, 1767, 29897, 13, 4706, 5749, 29889, 9965, 29889, 15060, 580, 13, 4706, 2302, 29922, 1357, 18127, 29889, 798, 2798, 13, 4706, 1596, 29898, 2798, 29897, 13, 4706, 590, 18127, 29889, 5358, 580, 13, 4706, 565, 2302, 1405, 29871, 29900, 29901, 13, 9651, 1121, 353, 851, 29898, 2798, 7240, 29908, 7851, 848, 3431, 29908, 13, 9651, 736, 4050, 29918, 6886, 877, 2248, 29918, 29953, 29889, 1420, 742, 4635, 29918, 2914, 29922, 2914, 29897, 13, 4706, 1683, 29901, 13, 9651, 736, 376, 7851, 848, 3431, 29908, 13, 308, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 7194, 2396, 13, 4706, 736, 4050, 29918, 6886, 877, 2248, 29918, 29953, 29889, 1420, 1495, 13, 308, 13, 29992, 932, 29889, 13134, 11219, 5504, 742, 3519, 29922, 1839, 7194, 3788, 5438, 11287, 259, 13, 1753, 2767, 29918, 1272, 7295, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 1404, 333, 353, 2009, 29889, 5975, 1839, 1792, 333, 29918, 5504, 2033, 13, 4706, 10430, 353, 2009, 29889, 5975, 1839, 12863, 1535, 29918, 5504, 2033, 13, 4706, 590, 18127, 353, 29871, 5749, 29889, 9965, 29889, 18127, 580, 13, 4706, 4576, 353, 376, 14474, 10430, 29918, 2585, 11368, 10430, 353, 1273, 29879, 5754, 1404, 333, 353, 1273, 29879, 29908, 13, 4706, 995, 353, 313, 12863, 1535, 29892, 1792, 333, 29897, 13, 4706, 590, 18127, 29889, 7978, 29898, 2850, 29892, 1767, 29897, 13, 4706, 5749, 29889, 9965, 29889, 15060, 580, 13, 4706, 2302, 29922, 1357, 18127, 29889, 798, 2798, 13, 4706, 1596, 29898, 2798, 29897, 13, 4706, 590, 18127, 29889, 5358, 580, 13, 4706, 565, 2302, 1405, 29871, 29900, 29901, 13, 9651, 1121, 353, 851, 29898, 2798, 29897, 718, 29908, 5504, 848, 3431, 29908, 13, 9651, 736, 4050, 29918, 6886, 877, 2248, 29918, 29955, 29889, 1420, 742, 2767, 29918, 2914, 353, 1121, 29897, 13, 4706, 1683, 29901, 13, 9651, 736, 376, 5504, 848, 4418, 29908, 13, 308, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 7194, 2396, 13, 4706, 736, 4050, 29918, 6886, 877, 2248, 29918, 29955, 29889, 1420, 1495, 13, 268, 13, 29992, 932, 29889, 13134, 11219, 8143, 742, 3519, 29922, 1839, 7194, 3788, 5438, 11287, 259, 13, 1753, 5217, 29918, 1272, 7295, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 1404, 333, 353, 2009, 29889, 5975, 1839, 1792, 333, 29918, 8143, 2033, 13, 4706, 590, 18127, 353, 29871, 5749, 29889, 9965, 29889, 18127, 580, 13, 4706, 4576, 353, 376, 2287, 18476, 3895, 10430, 29918, 2585, 5754, 1404, 333, 353, 1273, 29879, 376, 13, 4706, 995, 353, 313, 1792, 333, 29892, 29897, 13, 4706, 590, 18127, 29889, 7978, 29898, 2850, 29892, 1767, 29897, 13, 4706, 5749, 29889, 9965, 29889, 15060, 580, 13, 4706, 2302, 29922, 1357, 18127, 29889, 798, 2798, 13, 4706, 1596, 29898, 2798, 29897, 13, 4706, 590, 18127, 29889, 5358, 580, 13, 4706, 565, 2302, 1405, 29871, 29900, 29901, 13, 9651, 1121, 353, 851, 29898, 2798, 29897, 718, 29908, 8143, 848, 3431, 29908, 13, 9651, 736, 4050, 29918, 6886, 877, 2248, 29918, 29947, 29889, 1420, 742, 5217, 29918, 2914, 353, 1121, 29897, 13, 4706, 1683, 29901, 13, 9651, 736, 376, 8143, 848, 4418, 29908, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 7194, 2396, 13, 4706, 736, 4050, 29918, 6886, 877, 2248, 29918, 29947, 29889, 1420, 1495, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 623, 29889, 3389, 580, 2 ]
models/train_classifier.py
munnyraht/Disaster-Response-Message-Classification
0
1605981
import sys import pandas as pd from sqlalchemy import create_engine import nltk from nltk.tokenize import word_tokenize from nltk.stem import WordNetLemmatizer from sklearn.ensemble import RandomForestClassifier from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from sklearn.pipeline import Pipeline from sklearn.model_selection import train_test_split, GridSearchCV from sklearn.metrics import accuracy_score,precision_score,recall_score,recall_score,f1_score from sklearn.preprocessing import label_binarize from sklearn.multioutput import MultiOutputClassifier from sklearn.neighbors import KNeighborsClassifier import numpy as np import pickle def load_data(database_filepath): ''' INPUT - database_filepath : filepath where data will be read from OUTPUT - X :independent variables ( mesaages) Y: dependant variables or categories category name:categories names from the dataframe ''' engine = create_engine('sqlite:///{}'.format(database_filepath)) conn = engine.connect() df = pd.read_sql_table('DisasterResponse',conn) X = df['message'] Y = df.iloc[:,4:] category_names = Y.columns.tolist() return X,Y,category_names def tokenize(text): ''' INPUT - text OUTPUT - clean_token : tokenized text ''' tokenized = word_tokenize(text.lower()) lemmatizer = WordNetLemmatizer() clean_token = [] for token in tokenized: clean_token.append(lemmatizer.lemmatize(token)) return clean_token def build_model(): ''' OUTPUT - a model pipeline ''' pipeline = Pipeline([ ('vect', CountVectorizer(tokenizer=tokenize)), ('tfidf', TfidfTransformer()), ('clf', MultiOutputClassifier(KNeighborsClassifier())) ]) params={'clf__estimator__n_neighbors':(4, 5) } cv = GridSearchCV(pipeline, param_grid=params) return cv def evaluate_model(model, X_test, Y_test, category_names): ''' INPUT - model : a defined model pipeline X_test: test set of the independent variables (messages) Y_test: test set of the dependent variables (categories) category_names : categories names from the dataframe ''' y_pred = model.predict(X_test) for i,column in enumerate(Y_test.columns): print('report for {}'.format(column)) print('recall score:',recall_score(Y_test[column].values.astype(str),y_pred[:,i].astype(int).astype(str),average='micro')) print('precision_score:',precision_score(Y_test[column].values.astype(int),y_pred[:,i].astype(int),average='micro')) print('f1 score:',f1_score(Y_test[column].values.astype(int),y_pred[:,i].astype(int),average='micro'), '\n') return def save_model(model, model_filepath): ''' INPUT - model: a trained model model_filepath: filepath where model is to be saved ''' pickle.dump(model, open(model_filepath, 'wb')) return def main(): ''' A function that puts the above functions altogether, loads data from db splits data, build a model, trains a model, evaluates the trained model and saves the model ''' if len(sys.argv) == 3: database_filepath, model_filepath = sys.argv[1:] print('Loading data...\n DATABASE: {}'.format(database_filepath)) X, Y, category_names = load_data(database_filepath) X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size=0.2) print('Building model...') model = build_model() print('Training model...') model.fit(X_train, Y_train) print('Evaluating model...') evaluate_model(model, X_test, Y_test, category_names) print('Saving model...\n MODEL: {}'.format(model_filepath)) save_model(model, model_filepath) print('Trained model saved!') else: print('Please provide the filepath of the disaster messages database '\ 'as the first argument and the filepath of the pickle file to '\ 'save the model to as the second argument. \n\nExample: python '\ 'train_classifier.py ../data/DisasterResponse.db classifier.pkl') if __name__ == '__main__': main()
[ 1, 1053, 10876, 13, 5215, 11701, 408, 10518, 13, 3166, 4576, 284, 305, 6764, 1053, 1653, 29918, 10599, 13, 5215, 302, 1896, 29895, 13, 3166, 302, 1896, 29895, 29889, 6979, 675, 1053, 1734, 29918, 6979, 675, 13, 3166, 302, 1896, 29895, 29889, 303, 331, 1053, 10803, 6779, 29931, 331, 2922, 3950, 13, 3166, 2071, 19668, 29889, 24031, 1053, 16968, 2831, 342, 2385, 3709, 13, 3166, 2071, 19668, 29889, 14394, 29918, 1062, 13857, 29889, 726, 1053, 3917, 12877, 3950, 29892, 323, 29888, 333, 29888, 13372, 261, 13, 3166, 2071, 19668, 29889, 13096, 5570, 1053, 349, 23828, 13, 3166, 2071, 19668, 29889, 4299, 29918, 21731, 1053, 7945, 29918, 1688, 29918, 5451, 29892, 11657, 7974, 15633, 13, 3166, 2071, 19668, 29889, 2527, 10817, 1053, 13600, 29918, 13628, 29892, 17990, 2459, 29918, 13628, 29892, 3757, 497, 29918, 13628, 29892, 3757, 497, 29918, 13628, 29892, 29888, 29896, 29918, 13628, 13, 3166, 2071, 19668, 29889, 1457, 19170, 1053, 3858, 29918, 2109, 279, 675, 13, 3166, 2071, 19668, 29889, 9910, 4905, 1053, 14974, 6466, 2385, 3709, 13, 3166, 2071, 19668, 29889, 484, 1141, 29890, 943, 1053, 476, 8139, 1141, 29890, 943, 2385, 3709, 13, 5215, 12655, 408, 7442, 13, 5215, 5839, 280, 13, 13, 13, 1753, 2254, 29918, 1272, 29898, 9803, 29918, 1445, 2084, 1125, 13, 1678, 14550, 13, 418, 2672, 12336, 448, 2566, 29918, 1445, 2084, 584, 934, 2084, 988, 848, 674, 367, 1303, 515, 13, 418, 19474, 12336, 448, 1060, 584, 262, 18980, 3651, 313, 4883, 29874, 1179, 29897, 13, 1669, 612, 29901, 1401, 5818, 3651, 470, 13997, 29871, 13, 1669, 7663, 1024, 29901, 20683, 2983, 515, 278, 12205, 13, 13, 418, 14550, 13, 1678, 6012, 353, 1653, 29918, 10599, 877, 22793, 597, 29914, 8875, 4286, 4830, 29898, 9803, 29918, 1445, 2084, 876, 13, 1678, 11009, 353, 6012, 29889, 6915, 580, 13, 1678, 4489, 353, 10518, 29889, 949, 29918, 2850, 29918, 2371, 877, 4205, 1901, 5103, 742, 13082, 29897, 13, 1678, 1060, 353, 4489, 1839, 4906, 2033, 13, 1678, 612, 353, 4489, 29889, 309, 542, 7503, 29892, 29946, 17531, 13, 1678, 7663, 29918, 7039, 353, 612, 29889, 13099, 29889, 25027, 391, 580, 13, 1678, 736, 1060, 29892, 29979, 29892, 7320, 29918, 7039, 13, 13, 13, 1753, 5993, 675, 29898, 726, 1125, 13, 1678, 14550, 13, 418, 2672, 12336, 448, 1426, 13, 418, 19474, 12336, 448, 5941, 29918, 6979, 584, 5993, 1891, 1426, 13, 13, 418, 14550, 13, 13, 1678, 5993, 1891, 353, 1734, 29918, 6979, 675, 29898, 726, 29889, 13609, 3101, 13, 1678, 9336, 2922, 3950, 353, 10803, 6779, 29931, 331, 2922, 3950, 580, 13, 1678, 5941, 29918, 6979, 353, 5159, 13, 1678, 363, 5993, 297, 5993, 1891, 29901, 13, 4706, 5941, 29918, 6979, 29889, 4397, 29898, 2409, 2922, 3950, 29889, 2409, 2922, 675, 29898, 6979, 876, 13, 1678, 736, 5941, 29918, 6979, 13, 29871, 13, 13, 1753, 2048, 29918, 4299, 7295, 13, 1678, 14550, 13, 418, 19474, 12336, 448, 263, 1904, 16439, 29871, 13, 418, 14550, 13, 1678, 16439, 353, 349, 23828, 4197, 13, 4706, 6702, 345, 312, 742, 3917, 12877, 3950, 29898, 6979, 3950, 29922, 6979, 675, 8243, 13, 4706, 6702, 13264, 333, 29888, 742, 323, 29888, 333, 29888, 13372, 261, 25739, 13, 4706, 6702, 695, 29888, 742, 14974, 6466, 2385, 3709, 29898, 29968, 8139, 1141, 29890, 943, 2385, 3709, 22130, 13, 3986, 2314, 462, 462, 13, 462, 965, 13, 1678, 8636, 3790, 29915, 695, 29888, 1649, 342, 326, 1061, 1649, 29876, 29918, 484, 1141, 29890, 943, 2396, 29898, 29946, 29892, 29871, 29945, 29897, 13, 4706, 500, 13, 13, 1678, 13850, 353, 11657, 7974, 15633, 29898, 13096, 5570, 29892, 1828, 29918, 7720, 29922, 7529, 29897, 13, 418, 13, 1678, 736, 13850, 29871, 13, 13, 13, 1753, 14707, 29918, 4299, 29898, 4299, 29892, 1060, 29918, 1688, 29892, 612, 29918, 1688, 29892, 7663, 29918, 7039, 1125, 13, 1678, 14550, 13, 418, 2672, 12336, 448, 1904, 584, 263, 3342, 1904, 16439, 13, 795, 1060, 29918, 1688, 29901, 1243, 731, 310, 278, 7417, 3651, 313, 19158, 29897, 13, 795, 612, 29918, 1688, 29901, 1243, 731, 310, 278, 14278, 3651, 313, 20683, 29897, 13, 795, 7663, 29918, 7039, 584, 13997, 2983, 515, 278, 12205, 13, 418, 14550, 13, 1678, 343, 29918, 11965, 353, 1904, 29889, 27711, 29898, 29990, 29918, 1688, 29897, 13, 268, 13, 1678, 363, 474, 29892, 4914, 297, 26985, 29898, 29979, 29918, 1688, 29889, 13099, 1125, 13, 4706, 1596, 877, 12276, 363, 6571, 4286, 4830, 29898, 4914, 876, 13, 4706, 1596, 877, 3757, 497, 8158, 29901, 742, 3757, 497, 29918, 13628, 29898, 29979, 29918, 1688, 29961, 4914, 1822, 5975, 29889, 579, 668, 29898, 710, 511, 29891, 29918, 11965, 7503, 29892, 29875, 1822, 579, 668, 29898, 524, 467, 579, 668, 29898, 710, 511, 12483, 482, 2433, 29885, 2357, 8785, 13, 4706, 1596, 877, 17990, 2459, 29918, 13628, 29901, 742, 17990, 2459, 29918, 13628, 29898, 29979, 29918, 1688, 29961, 4914, 1822, 5975, 29889, 579, 668, 29898, 524, 511, 29891, 29918, 11965, 7503, 29892, 29875, 1822, 579, 668, 29898, 524, 511, 12483, 482, 2433, 29885, 2357, 8785, 13, 4706, 1596, 877, 29888, 29896, 8158, 29901, 742, 29888, 29896, 29918, 13628, 29898, 29979, 29918, 1688, 29961, 4914, 1822, 5975, 29889, 579, 668, 29898, 524, 511, 29891, 29918, 11965, 7503, 29892, 29875, 1822, 579, 668, 29898, 524, 511, 12483, 482, 2433, 29885, 2357, 5477, 11297, 29876, 1495, 13, 1678, 736, 13, 13, 13, 1753, 4078, 29918, 4299, 29898, 4299, 29892, 1904, 29918, 1445, 2084, 1125, 13, 1678, 14550, 13, 418, 2672, 12336, 448, 1904, 29901, 263, 16370, 1904, 13, 795, 1904, 29918, 1445, 2084, 29901, 934, 2084, 988, 1904, 338, 304, 367, 7160, 13, 13, 418, 14550, 13, 13, 1678, 5839, 280, 29889, 15070, 29898, 4299, 29892, 1722, 29898, 4299, 29918, 1445, 2084, 29892, 525, 29893, 29890, 8785, 13, 1678, 736, 13, 13, 1753, 1667, 7295, 13, 1678, 14550, 13, 4706, 319, 740, 393, 15223, 278, 2038, 3168, 19148, 29892, 15376, 848, 515, 4833, 13, 4706, 8536, 1169, 848, 29892, 2048, 263, 1904, 29892, 22983, 263, 1904, 29892, 6161, 1078, 278, 16370, 1904, 322, 27401, 278, 1904, 13, 418, 14550, 13, 13, 1678, 565, 7431, 29898, 9675, 29889, 19218, 29897, 1275, 29871, 29941, 29901, 13, 4706, 2566, 29918, 1445, 2084, 29892, 1904, 29918, 1445, 2084, 353, 10876, 29889, 19218, 29961, 29896, 17531, 13, 4706, 1596, 877, 23456, 848, 856, 29905, 29876, 1678, 27640, 27982, 29901, 6571, 4286, 4830, 29898, 9803, 29918, 1445, 2084, 876, 13, 4706, 1060, 29892, 612, 29892, 7663, 29918, 7039, 353, 2254, 29918, 1272, 29898, 9803, 29918, 1445, 2084, 29897, 13, 4706, 1060, 29918, 14968, 29892, 1060, 29918, 1688, 29892, 612, 29918, 14968, 29892, 612, 29918, 1688, 353, 7945, 29918, 1688, 29918, 5451, 29898, 29990, 29892, 612, 29892, 1243, 29918, 2311, 29922, 29900, 29889, 29906, 29897, 13, 308, 13, 4706, 1596, 877, 8893, 292, 1904, 856, 1495, 13, 4706, 1904, 353, 2048, 29918, 4299, 580, 13, 308, 13, 4706, 1596, 877, 5323, 2827, 1904, 856, 1495, 13, 4706, 1904, 29889, 9202, 29898, 29990, 29918, 14968, 29892, 612, 29918, 14968, 29897, 13, 308, 13, 4706, 1596, 877, 29923, 4387, 1218, 1904, 856, 1495, 13, 4706, 14707, 29918, 4299, 29898, 4299, 29892, 1060, 29918, 1688, 29892, 612, 29918, 1688, 29892, 7663, 29918, 7039, 29897, 13, 13, 4706, 1596, 877, 29903, 5555, 1904, 856, 29905, 29876, 1678, 16999, 2287, 29931, 29901, 6571, 4286, 4830, 29898, 4299, 29918, 1445, 2084, 876, 13, 4706, 4078, 29918, 4299, 29898, 4299, 29892, 1904, 29918, 1445, 2084, 29897, 13, 13, 4706, 1596, 877, 5323, 1312, 1904, 7160, 29991, 1495, 13, 13, 1678, 1683, 29901, 13, 4706, 1596, 877, 12148, 3867, 278, 934, 2084, 310, 278, 766, 1901, 7191, 2566, 11297, 13, 795, 525, 294, 278, 937, 2980, 322, 278, 934, 2084, 310, 278, 5839, 280, 934, 304, 11297, 13, 795, 525, 7620, 278, 1904, 304, 408, 278, 1473, 2980, 29889, 320, 29876, 29905, 29876, 14023, 29901, 3017, 11297, 13, 795, 525, 14968, 29918, 1990, 3709, 29889, 2272, 29772, 1272, 29914, 4205, 1901, 5103, 29889, 2585, 770, 3709, 29889, 29886, 6321, 1495, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 1667, 580, 2 ]
src/sphinx_theme_builder/_internal/nodejs.py
jorisvandenbossche/sphinx-theme-builder
1
164552
"""NodeJS tooling orchestration. Broadly, it has a `.nodeenv` created using the nodeenv package; and ensures that the `node_modules` directory is kept in sync with the `package.json` file of the project. """ import os import shlex import shutil import subprocess import sys import textwrap from pathlib import Path from typing import Any, List, Optional from unittest.mock import patch from .errors import DiagnosticError from .passthrough import passthrough_run from .project import Project from .ui import log _NODEENV_DIR = ".nodeenv" _BIN_DIR = "Scripts" if os.name == "nt" else "bin" def run_in( nodeenv: Path, args: List[str], *, production: bool = False, **kwargs: Any ) -> "Optional[subprocess.CompletedProcess[bytes]]": """Run a command, using a binary from `nodeenv`.""" assert nodeenv.name == _NODEENV_DIR log(f"[magenta](nodeenv) $[/] [blue]{' '.join(args)}[/]") env = { "NPM_CONFIG_PREFIX": os.fsdecode(nodeenv), "npm_config_prefix": os.fsdecode(nodeenv), "NODE_PATH": os.fsdecode(nodeenv / "lib" / "node_modules"), "PATH": os.pathsep.join([os.fsdecode(nodeenv / "bin"), os.environ["PATH"]]), "NODE_ENV": "production" if production else "development", } # Fully qualify the first argument. resolved_name = shutil.which(args[0], path=env["PATH"]) if not resolved_name: raise FileNotFoundError(resolved_name) args[0] = resolved_name with patch.dict("os.environ", env): if not kwargs: returncode = passthrough_run(args) if returncode: cmd = " ".join(shlex.quote(arg) for arg in args) raise subprocess.CalledProcessError(returncode=returncode, cmd=cmd) return None else: return subprocess.run(args, check=True, **kwargs) def _run_python_nodeenv(*args: str) -> None: presentation = ["python", "-m", "nodeenv", *args] log(f"[magenta]$[/] [blue]{' '.join(presentation)}[/]") command = [ sys.executable, "-c", textwrap.dedent( """ import runpy import rich import rich.traceback import urllib.request rich.traceback.install( width=rich.get_console().width, show_locals=True, suppress=[runpy, urllib.request], ) runpy.run_module("nodeenv", run_name="__main__", alter_sys=True) """ ), "-v", *args, ] try: subprocess.run(command, check=True) except subprocess.CalledProcessError as error: raise DiagnosticError( reference="nodeenv-creation-failed", message="Failed to create a `nodeenv`", context="See above for failure output from the underlying tooling.", hint_stmt=( "A `urllib.error.HTTPError` would indicate mean that the issue is " "related to the network, or the NodeJS servers, or the node version " "that this tool is trying to fetch is no longer available." ), ) from error def _should_use_system_node(node_version: str) -> bool: try: process = subprocess.run(["node", "--version"], capture_output=True, check=True) except FileNotFoundError: log("[yellow]#[/] [cyan]Could not find a `node` executable.[/]") return False except subprocess.CalledProcessError as error: log( "[yellow]#[/] [cyan]`node` executable did not exit cleanly.[/]\n" f"{error.stderr.decode()}" ) return False if process.stdout.decode().strip() != f"v{node_version}": log("[yellow]#[/] [cyan]The system `node` has a different version:[/] {}") return False return True def create_nodeenv(nodeenv: Path, node_version: str) -> None: log( "[yellow]#[/] [cyan]Generating new [magenta]nodeenv[/] with " f"NodeJS [green]{node_version}[/]!" ) if _should_use_system_node(node_version=node_version): log("[yellow]#[/] Will use system nodeJS, since version matches.") node_version = "system" _run_python_nodeenv( f"--node={node_version}", os.fsdecode(nodeenv), ) def run_npm_build(nodeenv: Path, *, production: bool) -> None: try: run_in(nodeenv, ["npm", "run-script", "build"], production=production) except subprocess.CalledProcessError as error: raise DiagnosticError( reference="js-build-failed", message="The Javascript-based build pipeline failed.", context="See above for failure output from the underlying tooling.", hint_stmt=None, ) from error def populate_npm_packages(nodeenv: Path, node_modules: Path) -> None: try: run_in(nodeenv, ["npm", "install", "--include=dev", "--no-save"]) except FileNotFoundError as error: raise DiagnosticError( reference="nodeenv-unhealthy-npm-not-found", message="The `nodeenv` for this project is unhealthy.", context=str(error), hint_stmt=( f"Deleting the {_NODEENV_DIR} directory and trying again may work." ), ) from error except subprocess.CalledProcessError as error: raise DiagnosticError( reference="js-install-failed", message="Javascript dependency installation failed.", context="See above for failure output from the underlying tooling.", hint_stmt=None, ) from error if node_modules.is_dir(): node_modules.touch() def generate_assets(project: Project, *, production: bool) -> None: package_json = project.location / "package.json" nodeenv = project.location / _NODEENV_DIR node_modules = project.location / "node_modules" assert package_json.exists() created_new_nodeenv = False if not nodeenv.exists(): log("[yellow]#[/] [magenta]nodeenv[cyan] does not exist.[/]") create_nodeenv(nodeenv, project.node_version) created_new_nodeenv = True # Checking the node version is a sanity check, and ensures that the environment is # "healthy". try: process = run_in(nodeenv, ["node", "--version"], stdout=subprocess.PIPE) except FileNotFoundError as error: raise DiagnosticError( reference="nodeenv-unhealthy-file-not-found", message="The `nodeenv` for this project is unhealthy.", context=str(error), hint_stmt=( f"Deleting the {_NODEENV_DIR} directory and trying again may work." ), ) from error except subprocess.CalledProcessError as error: raise DiagnosticError( reference="nodeenv-unhealthy-subprocess-failure", message="The `nodeenv` for this project is unhealthy.", context="See above for failure output from the underlying tooling.", hint_stmt=( f"Deleting the {_NODEENV_DIR} directory and trying again may work." ), ) from error # Present the `node --version` output to the user. assert process got = process.stdout.decode().strip() print(got) # Sanity-check the node version. expected = f"v{project.node_version}" if got != expected: raise DiagnosticError( reference="nodeenv-version-mismatch", message="The `nodeenv` for this project is unhealthy.", context=( "There is a mismatch between what is present in the environment " f"({got}) and the expected version of NodeJS ({expected})." ), hint_stmt=( f"Deleting the {_NODEENV_DIR} directory and trying again may work." ), ) need_to_populate = False if created_new_nodeenv: need_to_populate = True elif not node_modules.exists(): need_to_populate = True elif node_modules.stat().st_mtime < package_json.stat().st_mtime: log("[yellow]#[/] [cyan]Detected changes in [magenta]package.json[cyan].[/]") need_to_populate = True if need_to_populate: if node_modules.exists(): log("[yellow]#[/] [cyan]Cleaning up [magenta]node_modules[cyan].[/]") try: shutil.rmtree(node_modules) except OSError as error: raise DiagnosticError( reference="unable-to-cleanup-node-modules", message="Could not remove node_modules directory.", context=str(error), hint_stmt=f"Deleting {node_modules} and trying again may work.", ) from error log("[yellow]#[/] [cyan]Installing NodeJS packages.[/]") populate_npm_packages(nodeenv, node_modules) run_npm_build(nodeenv=nodeenv, production=production) log("[green]Done![/]")
[ 1, 9995, 4247, 8700, 5780, 292, 22624, 16444, 362, 29889, 13, 13, 29933, 9972, 368, 29892, 372, 756, 263, 5050, 3177, 6272, 29952, 2825, 773, 278, 2943, 6272, 3577, 29936, 322, 5662, 1973, 393, 278, 13, 29952, 3177, 29918, 7576, 29952, 3884, 338, 8126, 297, 16523, 411, 278, 421, 5113, 29889, 3126, 29952, 934, 310, 278, 2060, 29889, 13, 15945, 29908, 13, 13, 5215, 2897, 13, 5215, 528, 2506, 13, 5215, 528, 4422, 13, 5215, 1014, 5014, 13, 5215, 10876, 13, 5215, 1426, 6312, 13, 3166, 2224, 1982, 1053, 10802, 13, 3166, 19229, 1053, 3139, 29892, 2391, 29892, 28379, 13, 3166, 443, 27958, 29889, 17640, 1053, 13261, 13, 13, 3166, 869, 12523, 1053, 4671, 21780, 2392, 13, 3166, 869, 18182, 303, 1092, 820, 1053, 2331, 303, 1092, 820, 29918, 3389, 13, 3166, 869, 4836, 1053, 8010, 13, 3166, 869, 1481, 1053, 1480, 13, 13, 29918, 6632, 2287, 25838, 29918, 9464, 353, 11393, 3177, 6272, 29908, 13, 29918, 29933, 1177, 29918, 9464, 353, 376, 4081, 29879, 29908, 565, 2897, 29889, 978, 1275, 376, 593, 29908, 1683, 376, 2109, 29908, 13, 13, 13, 1753, 1065, 29918, 262, 29898, 13, 1678, 2943, 6272, 29901, 10802, 29892, 6389, 29901, 2391, 29961, 710, 1402, 334, 29892, 5802, 29901, 6120, 353, 7700, 29892, 3579, 19290, 29901, 3139, 13, 29897, 1599, 376, 27636, 29961, 1491, 5014, 29889, 26010, 7032, 29961, 13193, 5262, 1115, 13, 1678, 9995, 6558, 263, 1899, 29892, 773, 263, 7581, 515, 421, 3177, 6272, 29952, 1213, 15945, 13, 1678, 4974, 2943, 6272, 29889, 978, 1275, 903, 6632, 2287, 25838, 29918, 9464, 13, 13, 1678, 1480, 29898, 29888, 29908, 29961, 11082, 6381, 850, 3177, 6272, 29897, 11970, 29914, 29962, 518, 9539, 27706, 15300, 7122, 29898, 5085, 2915, 29961, 29914, 29962, 1159, 13, 1678, 8829, 353, 426, 13, 4706, 376, 29940, 13427, 29918, 25903, 29918, 15094, 25634, 1115, 2897, 29889, 5847, 13808, 29898, 3177, 6272, 511, 13, 4706, 376, 14963, 29918, 2917, 29918, 13506, 1115, 2897, 29889, 5847, 13808, 29898, 3177, 6272, 511, 13, 4706, 376, 6632, 2287, 29918, 10145, 1115, 2897, 29889, 5847, 13808, 29898, 3177, 6272, 847, 376, 1982, 29908, 847, 376, 3177, 29918, 7576, 4968, 13, 4706, 376, 10145, 1115, 2897, 29889, 2084, 19570, 29889, 7122, 4197, 359, 29889, 5847, 13808, 29898, 3177, 6272, 847, 376, 2109, 4968, 2897, 29889, 21813, 3366, 10145, 3108, 11724, 13, 4706, 376, 6632, 2287, 29918, 25838, 1115, 376, 24601, 29908, 565, 5802, 1683, 376, 25431, 613, 13, 1678, 500, 13, 13, 1678, 396, 23004, 368, 4021, 1598, 278, 937, 2980, 29889, 13, 1678, 11527, 29918, 978, 353, 528, 4422, 29889, 4716, 29898, 5085, 29961, 29900, 1402, 2224, 29922, 6272, 3366, 10145, 20068, 13, 1678, 565, 451, 11527, 29918, 978, 29901, 13, 4706, 12020, 3497, 17413, 2392, 29898, 9778, 1490, 29918, 978, 29897, 13, 1678, 6389, 29961, 29900, 29962, 353, 11527, 29918, 978, 13, 13, 1678, 411, 13261, 29889, 8977, 703, 359, 29889, 21813, 613, 8829, 1125, 13, 4706, 565, 451, 9049, 5085, 29901, 13, 9651, 736, 401, 353, 2331, 303, 1092, 820, 29918, 3389, 29898, 5085, 29897, 13, 9651, 565, 736, 401, 29901, 13, 18884, 9920, 353, 376, 11393, 7122, 29898, 845, 2506, 29889, 1396, 29898, 1191, 29897, 363, 1852, 297, 6389, 29897, 13, 18884, 12020, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 29898, 2457, 401, 29922, 2457, 401, 29892, 9920, 29922, 9006, 29897, 13, 9651, 736, 6213, 13, 4706, 1683, 29901, 13, 9651, 736, 1014, 5014, 29889, 3389, 29898, 5085, 29892, 1423, 29922, 5574, 29892, 3579, 19290, 29897, 13, 13, 13, 1753, 903, 3389, 29918, 4691, 29918, 3177, 6272, 10456, 5085, 29901, 851, 29897, 1599, 6213, 29901, 13, 1678, 24329, 353, 6796, 4691, 613, 11663, 29885, 613, 376, 3177, 6272, 613, 334, 5085, 29962, 13, 1678, 1480, 29898, 29888, 29908, 29961, 11082, 6381, 9341, 29961, 29914, 29962, 518, 9539, 27706, 15300, 7122, 29898, 26081, 2915, 29961, 29914, 29962, 1159, 13, 13, 1678, 1899, 353, 518, 13, 4706, 10876, 29889, 4258, 9246, 29892, 13, 4706, 11663, 29883, 613, 13, 4706, 1426, 6312, 29889, 7176, 296, 29898, 13, 9651, 9995, 13, 9651, 1053, 1065, 2272, 13, 9651, 1053, 8261, 13, 9651, 1053, 8261, 29889, 15003, 1627, 13, 9651, 1053, 3142, 1982, 29889, 3827, 13, 13, 9651, 8261, 29889, 15003, 1627, 29889, 6252, 29898, 13, 18884, 2920, 29922, 4018, 29889, 657, 29918, 11058, 2141, 2103, 29892, 13, 18884, 1510, 29918, 2997, 29879, 29922, 5574, 29892, 13, 18884, 21301, 11759, 3389, 2272, 29892, 3142, 1982, 29889, 3827, 1402, 13, 9651, 1723, 13, 9651, 1065, 2272, 29889, 3389, 29918, 5453, 703, 3177, 6272, 613, 1065, 29918, 978, 543, 1649, 3396, 1649, 613, 10551, 29918, 9675, 29922, 5574, 29897, 13, 9651, 9995, 13, 4706, 10353, 13, 4706, 11663, 29894, 613, 13, 4706, 334, 5085, 29892, 13, 1678, 4514, 13, 1678, 1018, 29901, 13, 4706, 1014, 5014, 29889, 3389, 29898, 6519, 29892, 1423, 29922, 5574, 29897, 13, 1678, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 3177, 6272, 29899, 1037, 362, 29899, 26061, 613, 13, 9651, 2643, 543, 17776, 304, 1653, 263, 421, 3177, 6272, 29952, 613, 13, 9651, 3030, 543, 13393, 2038, 363, 10672, 1962, 515, 278, 14407, 5780, 292, 19602, 13, 9651, 13182, 29918, 17868, 7607, 13, 18884, 376, 29909, 421, 2271, 1982, 29889, 2704, 29889, 10493, 2392, 29952, 723, 12266, 2099, 393, 278, 2228, 338, 376, 13, 18884, 376, 12817, 304, 278, 3564, 29892, 470, 278, 9071, 8700, 12424, 29892, 470, 278, 2943, 1873, 376, 13, 18884, 376, 5747, 445, 5780, 338, 1811, 304, 6699, 338, 694, 5520, 3625, 1213, 13, 9651, 10353, 13, 4706, 1723, 515, 1059, 13, 13, 13, 1753, 903, 9344, 29918, 1509, 29918, 5205, 29918, 3177, 29898, 3177, 29918, 3259, 29901, 851, 29897, 1599, 6120, 29901, 13, 1678, 1018, 29901, 13, 4706, 1889, 353, 1014, 5014, 29889, 3389, 29898, 3366, 3177, 613, 376, 489, 3259, 12436, 10446, 29918, 4905, 29922, 5574, 29892, 1423, 29922, 5574, 29897, 13, 1678, 5174, 3497, 17413, 2392, 29901, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 23323, 451, 1284, 263, 421, 3177, 29952, 16813, 7226, 29914, 29962, 1159, 13, 4706, 736, 7700, 13, 1678, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 408, 1059, 29901, 13, 4706, 1480, 29898, 13, 9651, 14704, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 7961, 3177, 29952, 16813, 1258, 451, 6876, 5941, 368, 7226, 29914, 10725, 29876, 29908, 13, 9651, 285, 29908, 29912, 2704, 29889, 303, 20405, 29889, 13808, 580, 5038, 13, 4706, 1723, 13, 4706, 736, 7700, 13, 13, 1678, 565, 1889, 29889, 25393, 29889, 13808, 2141, 17010, 580, 2804, 285, 29908, 29894, 29912, 3177, 29918, 3259, 29913, 1115, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 1576, 1788, 421, 3177, 29952, 756, 263, 1422, 1873, 10834, 29914, 29962, 6571, 1159, 13, 4706, 736, 7700, 13, 13, 1678, 736, 5852, 13, 13, 13, 1753, 1653, 29918, 3177, 6272, 29898, 3177, 6272, 29901, 10802, 29892, 2943, 29918, 3259, 29901, 851, 29897, 1599, 6213, 29901, 13, 1678, 1480, 29898, 13, 4706, 14704, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 5631, 1218, 716, 518, 11082, 6381, 29962, 3177, 6272, 29961, 29914, 29962, 411, 376, 13, 4706, 285, 29908, 4247, 8700, 518, 12692, 3199, 3177, 29918, 3259, 4400, 29914, 29962, 3850, 13, 1678, 1723, 13, 13, 1678, 565, 903, 9344, 29918, 1509, 29918, 5205, 29918, 3177, 29898, 3177, 29918, 3259, 29922, 3177, 29918, 3259, 1125, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 2811, 671, 1788, 2943, 8700, 29892, 1951, 1873, 7087, 23157, 13, 4706, 2943, 29918, 3259, 353, 376, 5205, 29908, 13, 13, 1678, 903, 3389, 29918, 4691, 29918, 3177, 6272, 29898, 13, 4706, 285, 29908, 489, 3177, 3790, 3177, 29918, 3259, 17671, 13, 4706, 2897, 29889, 5847, 13808, 29898, 3177, 6272, 511, 13, 1678, 1723, 13, 13, 13, 1753, 1065, 29918, 14963, 29918, 4282, 29898, 3177, 6272, 29901, 10802, 29892, 334, 29892, 5802, 29901, 6120, 29897, 1599, 6213, 29901, 13, 1678, 1018, 29901, 13, 4706, 1065, 29918, 262, 29898, 3177, 6272, 29892, 6796, 14963, 613, 376, 3389, 29899, 2154, 613, 376, 4282, 12436, 5802, 29922, 24601, 29897, 13, 1678, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 1315, 29899, 4282, 29899, 26061, 613, 13, 9651, 2643, 543, 1576, 12728, 29899, 6707, 2048, 16439, 5229, 19602, 13, 9651, 3030, 543, 13393, 2038, 363, 10672, 1962, 515, 278, 14407, 5780, 292, 19602, 13, 9651, 13182, 29918, 17868, 29922, 8516, 29892, 13, 4706, 1723, 515, 1059, 13, 13, 13, 1753, 19450, 29918, 14963, 29918, 8318, 29898, 3177, 6272, 29901, 10802, 29892, 2943, 29918, 7576, 29901, 10802, 29897, 1599, 6213, 29901, 13, 1678, 1018, 29901, 13, 4706, 1065, 29918, 262, 29898, 3177, 6272, 29892, 6796, 14963, 613, 376, 6252, 613, 376, 489, 2856, 29922, 3359, 613, 376, 489, 1217, 29899, 7620, 20068, 13, 1678, 5174, 3497, 17413, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 3177, 6272, 29899, 348, 354, 4298, 29891, 29899, 14963, 29899, 1333, 29899, 11940, 613, 13, 9651, 2643, 543, 1576, 421, 3177, 6272, 29952, 363, 445, 2060, 338, 443, 354, 4298, 29891, 19602, 13, 9651, 3030, 29922, 710, 29898, 2704, 511, 13, 9651, 13182, 29918, 17868, 7607, 13, 18884, 285, 29908, 2772, 1026, 292, 278, 426, 29918, 6632, 2287, 25838, 29918, 9464, 29913, 3884, 322, 1811, 1449, 1122, 664, 1213, 13, 9651, 10353, 13, 4706, 1723, 515, 1059, 13, 1678, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 1315, 29899, 6252, 29899, 26061, 613, 13, 9651, 2643, 543, 29967, 2516, 10609, 11161, 5229, 19602, 13, 9651, 3030, 543, 13393, 2038, 363, 10672, 1962, 515, 278, 14407, 5780, 292, 19602, 13, 9651, 13182, 29918, 17868, 29922, 8516, 29892, 13, 4706, 1723, 515, 1059, 13, 13, 1678, 565, 2943, 29918, 7576, 29889, 275, 29918, 3972, 7295, 13, 4706, 2943, 29918, 7576, 29889, 16747, 580, 13, 13, 13, 1753, 5706, 29918, 16596, 29898, 4836, 29901, 8010, 29892, 334, 29892, 5802, 29901, 6120, 29897, 1599, 6213, 29901, 13, 1678, 3577, 29918, 3126, 353, 2060, 29889, 5479, 847, 376, 5113, 29889, 3126, 29908, 13, 1678, 2943, 6272, 353, 2060, 29889, 5479, 847, 903, 6632, 2287, 25838, 29918, 9464, 13, 1678, 2943, 29918, 7576, 353, 2060, 29889, 5479, 847, 376, 3177, 29918, 7576, 29908, 13, 13, 1678, 4974, 3577, 29918, 3126, 29889, 9933, 580, 13, 13, 1678, 2825, 29918, 1482, 29918, 3177, 6272, 353, 7700, 13, 1678, 565, 451, 2943, 6272, 29889, 9933, 7295, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 11082, 6381, 29962, 3177, 6272, 29961, 1270, 273, 29962, 947, 451, 1863, 7226, 29914, 29962, 1159, 13, 4706, 1653, 29918, 3177, 6272, 29898, 3177, 6272, 29892, 2060, 29889, 3177, 29918, 3259, 29897, 13, 4706, 2825, 29918, 1482, 29918, 3177, 6272, 353, 5852, 13, 13, 1678, 396, 5399, 292, 278, 2943, 1873, 338, 263, 9753, 537, 1423, 29892, 322, 5662, 1973, 393, 278, 5177, 338, 13, 1678, 396, 376, 354, 4298, 29891, 1642, 13, 1678, 1018, 29901, 13, 4706, 1889, 353, 1065, 29918, 262, 29898, 3177, 6272, 29892, 6796, 3177, 613, 376, 489, 3259, 12436, 27591, 29922, 1491, 5014, 29889, 2227, 4162, 29897, 13, 1678, 5174, 3497, 17413, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 3177, 6272, 29899, 348, 354, 4298, 29891, 29899, 1445, 29899, 1333, 29899, 11940, 613, 13, 9651, 2643, 543, 1576, 421, 3177, 6272, 29952, 363, 445, 2060, 338, 443, 354, 4298, 29891, 19602, 13, 9651, 3030, 29922, 710, 29898, 2704, 511, 13, 9651, 13182, 29918, 17868, 7607, 13, 18884, 285, 29908, 2772, 1026, 292, 278, 426, 29918, 6632, 2287, 25838, 29918, 9464, 29913, 3884, 322, 1811, 1449, 1122, 664, 1213, 13, 9651, 10353, 13, 4706, 1723, 515, 1059, 13, 1678, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 408, 1059, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 3177, 6272, 29899, 348, 354, 4298, 29891, 29899, 1491, 5014, 29899, 14057, 545, 613, 13, 9651, 2643, 543, 1576, 421, 3177, 6272, 29952, 363, 445, 2060, 338, 443, 354, 4298, 29891, 19602, 13, 9651, 3030, 543, 13393, 2038, 363, 10672, 1962, 515, 278, 14407, 5780, 292, 19602, 13, 9651, 13182, 29918, 17868, 7607, 13, 18884, 285, 29908, 2772, 1026, 292, 278, 426, 29918, 6632, 2287, 25838, 29918, 9464, 29913, 3884, 322, 1811, 1449, 1122, 664, 1213, 13, 9651, 10353, 13, 4706, 1723, 515, 1059, 13, 13, 1678, 396, 4360, 296, 278, 421, 3177, 1192, 3259, 29952, 1962, 304, 278, 1404, 29889, 13, 1678, 4974, 1889, 13, 1678, 2355, 353, 1889, 29889, 25393, 29889, 13808, 2141, 17010, 580, 13, 1678, 1596, 29898, 7085, 29897, 13, 13, 1678, 396, 3087, 537, 29899, 3198, 278, 2943, 1873, 29889, 13, 1678, 3806, 353, 285, 29908, 29894, 29912, 4836, 29889, 3177, 29918, 3259, 5038, 13, 1678, 565, 2355, 2804, 3806, 29901, 13, 4706, 12020, 4671, 21780, 2392, 29898, 13, 9651, 3407, 543, 3177, 6272, 29899, 3259, 29899, 29885, 1608, 905, 613, 13, 9651, 2643, 543, 1576, 421, 3177, 6272, 29952, 363, 445, 2060, 338, 443, 354, 4298, 29891, 19602, 13, 9651, 3030, 7607, 13, 18884, 376, 8439, 338, 263, 29635, 1546, 825, 338, 2198, 297, 278, 5177, 376, 13, 18884, 285, 29908, 3319, 7085, 1800, 322, 278, 3806, 1873, 310, 9071, 8700, 21313, 9684, 7690, 29908, 13, 9651, 10353, 13, 9651, 13182, 29918, 17868, 7607, 13, 18884, 285, 29908, 2772, 1026, 292, 278, 426, 29918, 6632, 2287, 25838, 29918, 9464, 29913, 3884, 322, 1811, 1449, 1122, 664, 1213, 13, 9651, 10353, 13, 4706, 1723, 13, 13, 1678, 817, 29918, 517, 29918, 7323, 5987, 353, 7700, 13, 1678, 565, 2825, 29918, 1482, 29918, 3177, 6272, 29901, 13, 4706, 817, 29918, 517, 29918, 7323, 5987, 353, 5852, 13, 1678, 25342, 451, 2943, 29918, 7576, 29889, 9933, 7295, 13, 4706, 817, 29918, 517, 29918, 7323, 5987, 353, 5852, 13, 1678, 25342, 2943, 29918, 7576, 29889, 6112, 2141, 303, 29918, 29885, 2230, 529, 3577, 29918, 3126, 29889, 6112, 2141, 303, 29918, 29885, 2230, 29901, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 6362, 26458, 3620, 297, 518, 11082, 6381, 29962, 5113, 29889, 3126, 29961, 1270, 273, 15555, 29914, 29962, 1159, 13, 4706, 817, 29918, 517, 29918, 7323, 5987, 353, 5852, 13, 13, 1678, 565, 817, 29918, 517, 29918, 7323, 5987, 29901, 13, 4706, 565, 2943, 29918, 7576, 29889, 9933, 7295, 13, 9651, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 29907, 14044, 292, 701, 518, 11082, 6381, 29962, 3177, 29918, 7576, 29961, 1270, 273, 15555, 29914, 29962, 1159, 13, 9651, 1018, 29901, 13, 18884, 528, 4422, 29889, 1758, 8336, 29898, 3177, 29918, 7576, 29897, 13, 9651, 5174, 438, 29173, 408, 1059, 29901, 13, 18884, 12020, 4671, 21780, 2392, 29898, 13, 462, 1678, 3407, 543, 348, 519, 29899, 517, 29899, 14941, 786, 29899, 3177, 29899, 7576, 613, 13, 462, 1678, 2643, 543, 23323, 451, 3349, 2943, 29918, 7576, 3884, 19602, 13, 462, 1678, 3030, 29922, 710, 29898, 2704, 511, 13, 462, 1678, 13182, 29918, 17868, 29922, 29888, 29908, 2772, 1026, 292, 426, 3177, 29918, 7576, 29913, 322, 1811, 1449, 1122, 664, 19602, 13, 18884, 1723, 515, 1059, 13, 13, 4706, 1480, 703, 29961, 29136, 29962, 29937, 29961, 29914, 29962, 518, 1270, 273, 29962, 23271, 292, 9071, 8700, 9741, 7226, 29914, 29962, 1159, 13, 4706, 19450, 29918, 14963, 29918, 8318, 29898, 3177, 6272, 29892, 2943, 29918, 7576, 29897, 13, 13, 1678, 1065, 29918, 14963, 29918, 4282, 29898, 3177, 6272, 29922, 3177, 6272, 29892, 5802, 29922, 24601, 29897, 13, 13, 1678, 1480, 703, 29961, 12692, 29962, 25632, 21298, 29914, 29962, 1159, 13, 2 ]
pipen/cli/__init__.py
sthagen/pwwang-pipen
41
73064
<filename>pipen/cli/__init__.py<gh_stars>10-100 """Provide CLI for pipen""" from ._hooks import CLIPlugin from ._main import main
[ 1, 529, 9507, 29958, 13096, 264, 29914, 11303, 29914, 1649, 2344, 26914, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 15945, 29908, 1184, 29894, 680, 24492, 363, 8450, 264, 15945, 29908, 13, 13, 3166, 869, 29918, 1251, 12117, 1053, 24492, 16288, 13, 3166, 869, 29918, 3396, 1053, 1667, 13, 2 ]
itsnp/__init__.py
CaffeineDuck/itsnp-discord-bot
0
18301
<filename>itsnp/__init__.py from .bot import ItsnpBot
[ 1, 529, 9507, 29958, 1169, 9302, 29914, 1649, 2344, 26914, 2272, 13, 3166, 869, 7451, 1053, 8011, 9302, 29933, 327, 30004, 13, 2 ]
tests/test_app/models.py
Javex/pyramid_crud
4
1603192
from sqlalchemy import ( Column, Integer, Unicode, DateTime, Boolean, ) from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import ( scoped_session, sessionmaker, relationship, backref, ) from sqlalchemy.schema import ( ForeignKey, ) from datetime import datetime from pyramid.events import NewRequest, subscriber DBSession = scoped_session(sessionmaker()) Base = declarative_base() class Poll(Base): __tablename__ = 'poll' id = Column(Integer, primary_key=True) question = Column(Unicode, nullable=False, info={'label': 'Question'}) pub_date = Column(DateTime, nullable=False, default=datetime.utcnow, info={'label': 'Date Published'}) published = Column(Boolean, default=False, info={'label': 'Published?'}) class Choice(Base): __tablename__ = 'choice' id = Column(Integer, primary_key=True) poll_id = Column(ForeignKey(Poll.id), nullable=False) choice_text = Column(Unicode, nullable=False, unique=True, info={'label': 'Choice Text'}) votes = Column(Integer, default=0, info={'label': 'Votes'}) poll = relationship("Poll", backref=backref("choices", cascade="all, delete-orphan")) class Test(Base): __tablename__ = 'test' poll_id = Column(ForeignKey(Poll.id), primary_key=True) choice_id = Column(ForeignKey(Choice.id), primary_key=True) @subscriber(NewRequest) def create_session(event): event.request.dbsession = DBSession
[ 1, 515, 4576, 284, 305, 6764, 1053, 313, 13, 1678, 12481, 29892, 13, 1678, 8102, 29892, 13, 1678, 23862, 29892, 13, 1678, 12315, 29892, 13, 1678, 11185, 29892, 13, 1678, 1723, 13, 13, 3166, 4576, 284, 305, 6764, 29889, 1062, 29889, 311, 16544, 1230, 1053, 7669, 1230, 29918, 3188, 13, 13, 3166, 4576, 284, 305, 6764, 29889, 555, 1053, 313, 13, 1678, 16505, 287, 29918, 7924, 29892, 13, 1678, 4867, 28107, 29892, 13, 1678, 9443, 29892, 13, 1678, 1250, 999, 29892, 13, 1678, 1723, 13, 13, 3166, 4576, 284, 305, 6764, 29889, 11010, 1053, 313, 13, 1678, 19358, 2558, 29892, 13, 1678, 1723, 13, 13, 3166, 12865, 1053, 12865, 13, 13, 3166, 11451, 2572, 333, 29889, 13604, 1053, 1570, 3089, 29892, 21696, 495, 13, 13, 4051, 7317, 353, 16505, 287, 29918, 7924, 29898, 7924, 28107, 3101, 13, 5160, 353, 7669, 1230, 29918, 3188, 580, 13, 13, 13, 1990, 2043, 29880, 29898, 5160, 1125, 13, 1678, 4770, 3891, 2435, 420, 1649, 353, 525, 29886, 3028, 29915, 13, 1678, 1178, 353, 12481, 29898, 7798, 29892, 7601, 29918, 1989, 29922, 5574, 29897, 13, 1678, 1139, 353, 12481, 29898, 2525, 12858, 29892, 1870, 519, 29922, 8824, 29892, 5235, 3790, 29915, 1643, 2396, 525, 16492, 29915, 1800, 13, 1678, 2529, 29918, 1256, 353, 12481, 29898, 11384, 29892, 1870, 519, 29922, 8824, 29892, 2322, 29922, 12673, 29889, 329, 29883, 3707, 29892, 13, 462, 418, 5235, 3790, 29915, 1643, 2396, 525, 2539, 8042, 3726, 29915, 1800, 13, 1678, 6369, 353, 12481, 29898, 18146, 29892, 2322, 29922, 8824, 29892, 5235, 3790, 29915, 1643, 2396, 525, 21076, 3726, 17901, 1800, 13, 13, 13, 1990, 14542, 625, 29898, 5160, 1125, 13, 1678, 4770, 3891, 2435, 420, 1649, 353, 525, 16957, 29915, 13, 1678, 1178, 353, 12481, 29898, 7798, 29892, 7601, 29918, 1989, 29922, 5574, 29897, 13, 1678, 21180, 29918, 333, 353, 12481, 29898, 27755, 2558, 29898, 29925, 3028, 29889, 333, 511, 1870, 519, 29922, 8824, 29897, 13, 1678, 7348, 29918, 726, 353, 12481, 29898, 2525, 12858, 29892, 1870, 519, 29922, 8824, 29892, 5412, 29922, 5574, 29892, 13, 462, 308, 5235, 3790, 29915, 1643, 2396, 525, 29620, 3992, 29915, 1800, 13, 1678, 18952, 353, 12481, 29898, 7798, 29892, 2322, 29922, 29900, 29892, 13, 462, 259, 5235, 3790, 29915, 1643, 2396, 525, 29963, 4769, 29915, 1800, 13, 13, 1678, 21180, 353, 9443, 703, 29925, 3028, 613, 13, 462, 4706, 1250, 999, 29922, 1627, 999, 703, 1859, 1575, 613, 13, 462, 462, 4706, 3209, 6332, 543, 497, 29892, 5217, 29899, 5676, 273, 5783, 13, 13, 13, 1990, 4321, 29898, 5160, 1125, 13, 1678, 4770, 3891, 2435, 420, 1649, 353, 525, 1688, 29915, 13, 1678, 21180, 29918, 333, 353, 12481, 29898, 27755, 2558, 29898, 29925, 3028, 29889, 333, 511, 7601, 29918, 1989, 29922, 5574, 29897, 13, 1678, 7348, 29918, 333, 353, 12481, 29898, 27755, 2558, 29898, 29620, 29889, 333, 511, 7601, 29918, 1989, 29922, 5574, 29897, 13, 13, 13, 29992, 1491, 7588, 495, 29898, 4373, 3089, 29897, 13, 1753, 1653, 29918, 7924, 29898, 3696, 1125, 13, 1678, 1741, 29889, 3827, 29889, 2585, 7924, 353, 6535, 7317, 13, 2 ]
Python/snake_gameTurtle.py
Rohitshailesh43/hacktoberfest2021
0
129805
<gh_stars>0 from turtle import * from random import randrange from freegames import square, vector food = vector(0, 0) snake = [vector(10, 0)] aim = vector(0, -10) def change(x, y): "Change snake direction." aim.x = x aim.y = y def inside(head): "Return True if head inside boundaries." return -200 < head.x < 190 and -200 < head.y < 190 def move(): "Move snake forward one segment." head = snake[-1].copy() head.move(aim) if not inside(head) or head in snake: square(head.x, head.y, 9, 'red') update() return snake.append(head) if head == food: print('Snake:', len(snake)) food.x = randrange(-15, 15) * 10 food.y = randrange(-15, 15) * 10 else: snake.pop(0) clear() for body in snake: square(body.x, body.y, 9, 'green') square(food.x, food.y, 9, 'red') update() ontimer(move, 100) hideturtle() tracer(False) listen() onkey(lambda: change(10, 0), 'Right') onkey(lambda: change(-10, 0), 'Left') onkey(lambda: change(0, 10), 'Up') onkey(lambda: change(0, -10), 'Down') move() done()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 30004, 13, 30004, 13, 3166, 260, 4227, 280, 1053, 334, 30004, 13, 3166, 4036, 1053, 20088, 3881, 30004, 13, 3166, 3005, 387, 1280, 1053, 6862, 29892, 4608, 30004, 13, 30004, 13, 1181, 397, 353, 4608, 29898, 29900, 29892, 29871, 29900, 8443, 13, 29879, 21040, 353, 518, 8111, 29898, 29896, 29900, 29892, 29871, 29900, 4638, 30004, 13, 29874, 326, 353, 4608, 29898, 29900, 29892, 448, 29896, 29900, 8443, 13, 30004, 13, 1753, 1735, 29898, 29916, 29892, 343, 1125, 30004, 13, 1678, 376, 7277, 269, 21040, 5305, 1213, 30004, 13, 1678, 12242, 29889, 29916, 353, 921, 30004, 13, 1678, 12242, 29889, 29891, 353, 343, 30004, 13, 30004, 13, 1753, 2768, 29898, 2813, 1125, 30004, 13, 1678, 376, 11609, 5852, 565, 2343, 2768, 24371, 1213, 30004, 13, 1678, 736, 448, 29906, 29900, 29900, 529, 2343, 29889, 29916, 529, 29871, 29896, 29929, 29900, 322, 448, 29906, 29900, 29900, 529, 2343, 29889, 29891, 529, 29871, 29896, 29929, 29900, 30004, 13, 30004, 13, 1753, 4337, 7295, 30004, 13, 1678, 376, 16619, 269, 21040, 6375, 697, 10768, 1213, 30004, 13, 1678, 2343, 353, 269, 21040, 14352, 29896, 1822, 8552, 26471, 13, 1678, 2343, 29889, 11631, 29898, 29874, 326, 8443, 13, 30004, 13, 1678, 565, 451, 2768, 29898, 2813, 29897, 470, 2343, 297, 269, 21040, 29901, 30004, 13, 4706, 6862, 29898, 2813, 29889, 29916, 29892, 2343, 29889, 29891, 29892, 29871, 29929, 29892, 525, 1127, 1495, 30004, 13, 4706, 2767, 26471, 13, 4706, 736, 30004, 13, 30004, 13, 1678, 269, 21040, 29889, 4397, 29898, 2813, 8443, 13, 30004, 13, 1678, 565, 2343, 1275, 9687, 29901, 30004, 13, 4706, 1596, 877, 29903, 21040, 29901, 742, 7431, 29898, 29879, 21040, 876, 30004, 13, 4706, 9687, 29889, 29916, 353, 20088, 3881, 6278, 29896, 29945, 29892, 29871, 29896, 29945, 29897, 334, 29871, 29896, 29900, 30004, 13, 4706, 9687, 29889, 29891, 353, 20088, 3881, 6278, 29896, 29945, 29892, 29871, 29896, 29945, 29897, 334, 29871, 29896, 29900, 30004, 13, 1678, 1683, 29901, 30004, 13, 4706, 269, 21040, 29889, 7323, 29898, 29900, 8443, 13, 30004, 13, 1678, 2821, 26471, 13, 30004, 13, 1678, 363, 3573, 297, 269, 21040, 29901, 30004, 13, 4706, 6862, 29898, 2587, 29889, 29916, 29892, 3573, 29889, 29891, 29892, 29871, 29929, 29892, 525, 12692, 1495, 30004, 13, 30004, 13, 1678, 6862, 29898, 1181, 397, 29889, 29916, 29892, 9687, 29889, 29891, 29892, 29871, 29929, 29892, 525, 1127, 1495, 30004, 13, 1678, 2767, 26471, 13, 1678, 4625, 4193, 29898, 11631, 29892, 29871, 29896, 29900, 29900, 8443, 13, 30004, 13, 30004, 13, 29882, 333, 300, 4227, 280, 26471, 13, 29873, 945, 261, 29898, 8824, 8443, 13, 20631, 26471, 13, 265, 1989, 29898, 2892, 29901, 1735, 29898, 29896, 29900, 29892, 29871, 29900, 511, 525, 7341, 1495, 30004, 13, 265, 1989, 29898, 2892, 29901, 1735, 6278, 29896, 29900, 29892, 29871, 29900, 511, 525, 8091, 1495, 30004, 13, 265, 1989, 29898, 2892, 29901, 1735, 29898, 29900, 29892, 29871, 29896, 29900, 511, 525, 3373, 1495, 30004, 13, 265, 1989, 29898, 2892, 29901, 1735, 29898, 29900, 29892, 448, 29896, 29900, 511, 525, 6767, 1495, 30004, 13, 11631, 26471, 13, 15091, 580, 2 ]
solutions/python3/245.py
sm2774us/amazon_interview_prep_2021
42
157680
class Solution: def shortestWordDistance(self, words, word1, word2): i1 = i2 = -1 res, same = float("inf"), word1 == word2 for i, w in enumerate(words): if w == word1: if same: i2 = i1 i1 = i if i2 >= 0: res = min(res, i1 - i2) elif w == word2: i2 = i if i1 >= 0: res = min(res, i2 - i1) return res
[ 1, 770, 24380, 29901, 13, 1678, 822, 3273, 342, 14463, 27469, 29898, 1311, 29892, 3838, 29892, 1734, 29896, 29892, 1734, 29906, 1125, 13, 4706, 474, 29896, 353, 474, 29906, 353, 448, 29896, 13, 4706, 620, 29892, 1021, 353, 5785, 703, 7192, 4968, 1734, 29896, 1275, 1734, 29906, 13, 4706, 363, 474, 29892, 281, 297, 26985, 29898, 9303, 1125, 13, 9651, 565, 281, 1275, 1734, 29896, 29901, 13, 18884, 565, 1021, 29901, 474, 29906, 353, 474, 29896, 13, 18884, 474, 29896, 353, 474, 13, 18884, 565, 474, 29906, 6736, 29871, 29900, 29901, 620, 353, 1375, 29898, 690, 29892, 474, 29896, 448, 474, 29906, 29897, 13, 9651, 25342, 281, 1275, 1734, 29906, 29901, 13, 18884, 474, 29906, 353, 474, 13, 18884, 565, 474, 29896, 6736, 29871, 29900, 29901, 620, 353, 1375, 29898, 690, 29892, 474, 29906, 448, 474, 29896, 29897, 13, 4706, 736, 620, 29871, 2 ]
tests/integration/test_between_tags.py
liorbass/pydriller
583
20081
# Copyright 2018 <NAME> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from pydriller.repository import Repository import logging logging.basicConfig(format='%(asctime)s - %(levelname)s - %(message)s', level=logging.INFO) def test_between_revisions(): from_tag = 'tag1' to_tag = 'tag3' lc = list(Repository('test-repos/tags', from_tag=from_tag, to_tag=to_tag).traverse_commits()) assert len(lc) == 5 assert '6bb9e2c6a8080e6b5b34e6e316c894b2ddbf7fcd' == lc[0].hash assert 'f1a90b8d7b151ceefd3e3dfc0dc1d0e12b5f48d0' == lc[1].hash assert '4638730126d40716e230c2040751a13153fb1556' == lc[2].hash assert 'a26f1438bd85d6b22497c0e5dae003812becd0bc' == lc[3].hash assert '627e1ad917a188a861c9fedf6e5858b79edbe439' == lc[4].hash def test_multiple_repos_with_tags(): from_tag = 'tag2' to_tag = 'tag3' repos = [ 'test-repos/tags', 'test-repos/tags', 'test-repos/tags' ] lc = list(Repository(path_to_repo=repos, from_tag=from_tag, to_tag=to_tag).traverse_commits()) assert len(lc) == 9
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29896, 29947, 529, 5813, 29958, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 13, 29937, 366, 1122, 451, 671, 445, 934, 5174, 297, 752, 13036, 411, 278, 19245, 29889, 13, 29937, 887, 1122, 4017, 263, 3509, 310, 278, 19245, 472, 13, 29937, 13, 29937, 1678, 1732, 597, 1636, 29889, 4288, 29889, 990, 29914, 506, 11259, 29914, 27888, 1430, 1660, 29899, 29906, 29889, 29900, 13, 29937, 13, 29937, 25870, 3734, 491, 22903, 4307, 470, 15502, 304, 297, 5007, 29892, 7047, 13, 29937, 13235, 1090, 278, 19245, 338, 13235, 373, 385, 376, 3289, 8519, 29908, 350, 3289, 3235, 29892, 13, 29937, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29059, 6323, 8707, 29928, 22122, 29903, 8079, 13764, 29979, 476, 22255, 29892, 2845, 4653, 470, 2411, 2957, 29889, 13, 29937, 2823, 278, 19245, 363, 278, 2702, 4086, 14765, 1076, 11239, 322, 13, 29937, 27028, 1090, 278, 19245, 29889, 13, 13, 3166, 282, 2941, 29878, 5495, 29889, 19033, 1053, 830, 7036, 13, 5215, 12183, 13, 13, 21027, 29889, 16121, 3991, 29898, 4830, 2433, 29995, 29898, 294, 312, 603, 29897, 29879, 448, 1273, 29898, 5563, 978, 29897, 29879, 448, 1273, 29898, 4906, 29897, 29879, 742, 3233, 29922, 21027, 29889, 11690, 29897, 13, 13, 13, 1753, 1243, 29918, 14811, 29918, 276, 1730, 1080, 7295, 13, 1678, 515, 29918, 4039, 353, 525, 4039, 29896, 29915, 13, 1678, 304, 29918, 4039, 353, 525, 4039, 29941, 29915, 13, 13, 1678, 301, 29883, 353, 1051, 29898, 11481, 877, 1688, 29899, 276, 1066, 29914, 11338, 742, 13, 462, 308, 515, 29918, 4039, 29922, 3166, 29918, 4039, 29892, 13, 462, 308, 304, 29918, 4039, 29922, 517, 29918, 4039, 467, 3018, 3901, 29918, 2055, 1169, 3101, 13, 13, 1678, 4974, 7431, 29898, 29880, 29883, 29897, 1275, 29871, 29945, 13, 1678, 4974, 525, 29953, 1327, 29929, 29872, 29906, 29883, 29953, 29874, 29947, 29900, 29947, 29900, 29872, 29953, 29890, 29945, 29890, 29941, 29946, 29872, 29953, 29872, 29941, 29896, 29953, 29883, 29947, 29929, 29946, 29890, 29906, 1289, 1635, 29955, 29888, 2252, 29915, 1275, 301, 29883, 29961, 29900, 1822, 8568, 13, 1678, 4974, 525, 29888, 29896, 29874, 29929, 29900, 29890, 29947, 29881, 29955, 29890, 29896, 29945, 29896, 346, 1389, 29881, 29941, 29872, 29941, 2176, 29883, 29900, 13891, 29896, 29881, 29900, 29872, 29896, 29906, 29890, 29945, 29888, 29946, 29947, 29881, 29900, 29915, 1275, 301, 29883, 29961, 29896, 1822, 8568, 13, 1678, 4974, 525, 29946, 29953, 29941, 29947, 29955, 29941, 29900, 29896, 29906, 29953, 29881, 29946, 29900, 29955, 29896, 29953, 29872, 29906, 29941, 29900, 29883, 29906, 29900, 29946, 29900, 29955, 29945, 29896, 29874, 29896, 29941, 29896, 29945, 29941, 14943, 29896, 29945, 29945, 29953, 29915, 1275, 301, 29883, 29961, 29906, 1822, 8568, 13, 1678, 4974, 525, 29874, 29906, 29953, 29888, 29896, 29946, 29941, 29947, 6448, 29947, 29945, 29881, 29953, 29890, 29906, 29906, 29946, 29929, 29955, 29883, 29900, 29872, 29945, 1388, 29872, 29900, 29900, 29941, 29947, 29896, 29906, 19385, 29881, 29900, 12328, 29915, 1275, 301, 29883, 29961, 29941, 1822, 8568, 13, 1678, 4974, 525, 29953, 29906, 29955, 29872, 29896, 328, 29929, 29896, 29955, 29874, 29896, 29947, 29947, 29874, 29947, 29953, 29896, 29883, 29929, 29888, 287, 29888, 29953, 29872, 29945, 29947, 29945, 29947, 29890, 29955, 29929, 287, 915, 29946, 29941, 29929, 29915, 1275, 301, 29883, 29961, 29946, 1822, 8568, 13, 13, 13, 1753, 1243, 29918, 20787, 29918, 276, 1066, 29918, 2541, 29918, 11338, 7295, 13, 1678, 515, 29918, 4039, 353, 525, 4039, 29906, 29915, 13, 1678, 304, 29918, 4039, 353, 525, 4039, 29941, 29915, 13, 1678, 17573, 353, 518, 13, 4706, 525, 1688, 29899, 276, 1066, 29914, 11338, 742, 13, 4706, 525, 1688, 29899, 276, 1066, 29914, 11338, 742, 13, 4706, 525, 1688, 29899, 276, 1066, 29914, 11338, 29915, 13, 1678, 4514, 13, 1678, 301, 29883, 353, 1051, 29898, 11481, 29898, 2084, 29918, 517, 29918, 20095, 29922, 276, 1066, 29892, 13, 462, 308, 515, 29918, 4039, 29922, 3166, 29918, 4039, 29892, 13, 462, 308, 304, 29918, 4039, 29922, 517, 29918, 4039, 467, 3018, 3901, 29918, 2055, 1169, 3101, 13, 1678, 4974, 7431, 29898, 29880, 29883, 29897, 1275, 29871, 29929, 13, 2 ]
Random/cpp_compare.py
SuperV1234/Experiments
12
115321
<reponame>SuperV1234/Experiments<filename>Random/cpp_compare.py import subprocess import sys import itertools def run_cmd(cmd): return subprocess.run(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) def main(): flags = "-std=c++17 -Ofast" time = "/usr/bin/time -f %e" cpp0 = sys.argv[1] cpp1 = sys.argv[2] cmdbase = "{} {}".format("g++", flags) cmd0 = "{} {}".format(cmdbase, "-o /tmp/x0.x") run_cmd(cmd0) et0 = float(run_cmd("{} /tmp/x0.x".format(time)).stderr) cmd1 = "{} {}".format(cmdbase, "-o /tmp/x1.x") run_cmd(cmd1) et1 = float(run_cmd("{} /tmp/x1.x".format(time)).stderr) if __name__ == "__main__": sys.exit(main())
[ 1, 529, 276, 1112, 420, 29958, 19111, 29963, 29896, 29906, 29941, 29946, 29914, 1252, 546, 7862, 29966, 9507, 29958, 17875, 29914, 8223, 29918, 18307, 29889, 2272, 13, 5215, 1014, 5014, 13, 5215, 10876, 13, 5215, 4256, 8504, 13, 13, 1753, 1065, 29918, 9006, 29898, 9006, 1125, 13, 1678, 736, 1014, 5014, 29889, 3389, 29898, 9006, 29892, 6473, 29922, 5574, 29892, 27591, 29922, 1491, 5014, 29889, 2227, 4162, 29892, 380, 20405, 29922, 1491, 5014, 29889, 2227, 4162, 29892, 15968, 29918, 1482, 9012, 29922, 5574, 29897, 13, 13, 1753, 1667, 7295, 13, 1678, 13449, 353, 11663, 4172, 29922, 29883, 1817, 29896, 29955, 448, 2776, 579, 29908, 13, 1678, 931, 353, 5591, 4855, 29914, 2109, 29914, 2230, 448, 29888, 1273, 29872, 29908, 13, 1678, 274, 407, 29900, 353, 10876, 29889, 19218, 29961, 29896, 29962, 13, 1678, 274, 407, 29896, 353, 10876, 29889, 19218, 29961, 29906, 29962, 13, 13, 1678, 7477, 2585, 559, 353, 376, 8875, 6571, 1642, 4830, 703, 29887, 1817, 613, 13449, 29897, 13, 13, 1678, 9920, 29900, 353, 376, 8875, 6571, 1642, 4830, 29898, 4912, 2585, 559, 29892, 11663, 29877, 847, 7050, 29914, 29916, 29900, 29889, 29916, 1159, 13, 1678, 1065, 29918, 9006, 29898, 9006, 29900, 29897, 13, 1678, 634, 29900, 353, 5785, 29898, 3389, 29918, 9006, 703, 8875, 847, 7050, 29914, 29916, 29900, 29889, 29916, 1642, 4830, 29898, 2230, 8106, 303, 20405, 29897, 13, 13, 1678, 9920, 29896, 353, 376, 8875, 6571, 1642, 4830, 29898, 4912, 2585, 559, 29892, 11663, 29877, 847, 7050, 29914, 29916, 29896, 29889, 29916, 1159, 13, 1678, 1065, 29918, 9006, 29898, 9006, 29896, 29897, 13, 1678, 634, 29896, 353, 5785, 29898, 3389, 29918, 9006, 703, 8875, 847, 7050, 29914, 29916, 29896, 29889, 29916, 1642, 4830, 29898, 2230, 8106, 303, 20405, 29897, 13, 13, 13, 13, 13, 13, 361, 4770, 978, 1649, 1275, 376, 1649, 3396, 1649, 1115, 13, 1678, 10876, 29889, 13322, 29898, 3396, 3101, 13, 2 ]
clld/tests/test_web_datatables_value.py
Woseseltops/clld
1
72835
<gh_stars>1-10 from clld.tests.util import TestWithEnv from clld.db.models import common class Tests(TestWithEnv): def _run(self, **kw): from clld.web.datatables.value import Values return self.handle_dt(Values, common.Value, **kw) def test_Values(self): dt = self._run() self.assertTrue(isinstance(dt.options, dict)) self.set_request_properties(params={ 'sSearch_0': '> 1', 'sSearch_1': 's', 'iSortingCols': '3', 'iSortCol_0': '0', 'sSortDir_0': 'desc', 'iSortCol_1': '1', 'sSortDir_1': 'desc', 'iSortCol_2': '2', 'sSortDir_2': 'desc', }) dt = self._run() def test_Values_with_language(self): self._run(language=common.Language.first()) def test_Values_with_contribution(self): self._run(contribution=common.Contribution.first()) def test_Values_with_parameter(self): self.set_request_properties(params={'parameter': 'parameter'}) self._run() self.set_request_properties(params={'parameter': 'parameter', 'sSearch_2': 's'}) self._run() self.set_request_properties(params={'parameter': 'no-domain'}) self._run()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 1067, 430, 29889, 21150, 29889, 4422, 1053, 4321, 3047, 21745, 13, 3166, 1067, 430, 29889, 2585, 29889, 9794, 1053, 3619, 13, 13, 13, 1990, 4321, 29879, 29898, 3057, 3047, 21745, 1125, 13, 1678, 822, 903, 3389, 29898, 1311, 29892, 3579, 11022, 1125, 13, 4706, 515, 1067, 430, 29889, 2676, 29889, 4130, 271, 1849, 29889, 1767, 1053, 2630, 1041, 13, 4706, 736, 1583, 29889, 8411, 29918, 6008, 29898, 9065, 29892, 3619, 29889, 1917, 29892, 3579, 11022, 29897, 13, 13, 1678, 822, 1243, 29918, 9065, 29898, 1311, 1125, 13, 4706, 11636, 353, 1583, 3032, 3389, 580, 13, 4706, 1583, 29889, 9294, 5574, 29898, 275, 8758, 29898, 6008, 29889, 6768, 29892, 9657, 876, 13, 13, 4706, 1583, 29889, 842, 29918, 3827, 29918, 11330, 29898, 7529, 3790, 13, 9651, 525, 29879, 7974, 29918, 29900, 2396, 525, 29958, 29871, 29896, 742, 13, 9651, 525, 29879, 7974, 29918, 29896, 2396, 525, 29879, 742, 13, 9651, 525, 29875, 13685, 292, 1625, 29879, 2396, 525, 29941, 742, 13, 9651, 525, 29875, 13685, 1625, 29918, 29900, 2396, 525, 29900, 742, 13, 9651, 525, 29879, 13685, 9170, 29918, 29900, 2396, 525, 14273, 742, 13, 9651, 525, 29875, 13685, 1625, 29918, 29896, 2396, 525, 29896, 742, 13, 9651, 525, 29879, 13685, 9170, 29918, 29896, 2396, 525, 14273, 742, 13, 9651, 525, 29875, 13685, 1625, 29918, 29906, 2396, 525, 29906, 742, 13, 9651, 525, 29879, 13685, 9170, 29918, 29906, 2396, 525, 14273, 742, 13, 4706, 5615, 13, 4706, 11636, 353, 1583, 3032, 3389, 580, 13, 13, 1678, 822, 1243, 29918, 9065, 29918, 2541, 29918, 11675, 29898, 1311, 1125, 13, 4706, 1583, 3032, 3389, 29898, 11675, 29922, 9435, 29889, 21233, 29889, 4102, 3101, 13, 13, 1678, 822, 1243, 29918, 9065, 29918, 2541, 29918, 1285, 3224, 29898, 1311, 1125, 13, 4706, 1583, 3032, 3389, 29898, 1285, 3224, 29922, 9435, 29889, 1323, 3224, 29889, 4102, 3101, 13, 13, 1678, 822, 1243, 29918, 9065, 29918, 2541, 29918, 15501, 29898, 1311, 1125, 13, 4706, 1583, 29889, 842, 29918, 3827, 29918, 11330, 29898, 7529, 3790, 29915, 15501, 2396, 525, 15501, 29915, 1800, 13, 4706, 1583, 3032, 3389, 580, 13, 4706, 1583, 29889, 842, 29918, 3827, 29918, 11330, 29898, 7529, 3790, 29915, 15501, 2396, 525, 15501, 742, 525, 29879, 7974, 29918, 29906, 2396, 525, 29879, 29915, 1800, 13, 4706, 1583, 3032, 3389, 580, 13, 4706, 1583, 29889, 842, 29918, 3827, 29918, 11330, 29898, 7529, 3790, 29915, 15501, 2396, 525, 1217, 29899, 7247, 29915, 1800, 13, 4706, 1583, 3032, 3389, 580, 13, 2 ]
Robot Car/Old Scripts/VisionController.py
ATPHHe/Raspberry-Pi-3-Robot-Car
0
155366
<reponame>ATPHHe/Raspberry-Pi-3-Robot-Car<gh_stars>0 ###################################################################### ### Description ####### ### ###### ### Created by: <NAME> ##### ### Date Created: 3/03/2017 #### ### ### ###################################################################### # imports import sys import time import atexit import numpy import cv2 ###################################################################### ### Platform/OS compatibility Checks ### ####################################### # Create platform variables/constants _OS_ = sys.platform RASPBERRY_PI_3 = "linux" # Check for OS compatibility (ONLY WORKS ON RASPBERRY PI). if _OS_ == RASPBERRY_PI_3: # Import Raspberry PI packages. print("This OS platform \"" + _OS_ + "\" is OK.") import RPi.GPIO as GPIO import pigpio import picamera else: # Exit this program if the OS is not compatible. print("This OS platform \"" + _OS_ + "\" is not supported.") sys.exit() ################################################################## class VisionController(object): # Constants UP = 1 DOWN = -1 LEFT = -1 RIGHT = 1 ###################################################################### ### Initialization ### ##################### def __init__(self): #print("init test") ### User Configuration ### # Camera Setup self.camera = picamera.PiCamera() self.camera.rotation = 180 ### End of User Configuration ### ### GPIO Setup ### GPIO.setmode(GPIO.BOARD) #GPIO.setup(self.topServoPin, GPIO.OUT) #GPIO.setup(self.botServoPin, GPIO.OUT) ### Connect to local Pi. ### self.pi = pigpio.pi() if not self.pi.connected: print("pigpio.pi was unable to connect to the pi.") sys.exit() ### Software PWM Setup ### #self.topServo = GPIO.PWM(self.topServoPin, self.topServoPwmFreq) #self.botServo = GPIO.PWM(self.botServoPin, self.botServoPwmFreq) ###################################################################### ### Computer Vision Functions ### ################################ # Track a face. def trackFace(self): return ###################################################################### ### Camera/Servo Functions ### ############################# # Rotate top camera servo def rotateTopCameraServo(self, angle): print("Top Servo Rotating") #self.topServo.stop() self.pi.set_servo_pulsewidth(self.topServoGPIO, 0); #self.topServoPwmDutyCycle = (2.5 + (angle*(19.0/360.0))) self.topServoMs = (500 + (angle*(100.0/9.0))) #if self.topServoPwmDutyCycle >= self.topServoMinDutyCycle: if self.topServoMs >= self.topServoMsMin: pass else: #self.topServoPwmDutyCycle = self.topServoMinDutyCycle self.topServoMs = self.topServoMsMin #if self.topServoPwmDutyCycle <= self.topServoMaxDutyCycle: if self.topServoMs <= self.topServoMsMax: pass else: #self.topServoPwmDutyCycle = self.topServoMaxDutyCycle self.topServoMs = self.topServoMsMax #self.topServo.start(self.topServoPwmDutyCycle) self.pi.set_servo_pulsewidth(self.topServoGPIO, self.topServoMs) return # Rotate bottom camera servo def rotateBottomCameraServo(self, angle): print("Bottom Servo Rotating") #self.botServo.stop() self.pi.set_servo_pulsewidth(self.botServoGPIO, 0); #self.botServoPwmDutyCycle = (2.5 + (angle*(19.0/360.0))) self.botServoMs = (500 + (angle*(100.0/9.0))) #if self.botServoPwmDutyCycle >= self.botServoMinDutyCycle: if self.botServoMs >= self.botServoMsMin: pass else: #self.botServoPwmDutyCycle = self.botServoMinDutyCycle self.botServoMs = self.botServoMsMin #if self.botServoPwmDutyCycle <= self.botServoMaxDutyCycle: if self.botServoMs <= self.botServoMsMax: pass else: #self.botServoPwmDutyCycle = self.botServoMaxDutyCycle self.botServoMs = self.botServoMsMax #self.botServo.start(self.botServoPwmDutyCycle) self.pi.set_servo_pulsewidth(self.botServoGPIO, self.botServoMs) return ###################################################################### ### Stop Functions ### ##################### # Stop All def stop(self): print("Stopping All Parts") self.stopServos() return # Stop Servos def stopServos(self): print("Stopping Servos") #self.topServo.stop() #self.botServo.stop() self.pi.set_servo_pulsewidth(self.topServoGPIO, 0) self.pi.set_servo_pulsewidth(self.botServoGPIO, 0) return # Reset Servos position to face the front of the robot. def resetServos(self): print("Reseting Servos") #self.rotateTopCameraServo(180) #self.rotateBottomCameraServo(90) self.pi.set_servo_pulsewidth(self.topServoGPIO, 2500) self.pi.set_servo_pulsewidth(self.botServoGPIO, 1500) time.sleep(2) # Cleanup Handler def cleanUp(self): print("CLEANING GPIO") GPIO.cleanup() self.pi.stop() print("DONE CLEANING") # atexit cleaner if _OS_ == RASPBERRY_PI_3: atexit.register(cleanUp) ### End of class ### #print("Done") ##################################################################
[ 1, 529, 276, 1112, 420, 29958, 1299, 19689, 3868, 29914, 29934, 4692, 16344, 29899, 12197, 29899, 29941, 29899, 21860, 327, 29899, 8179, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 13, 13, 13383, 13383, 13383, 13383, 4136, 2277, 13, 2277, 29937, 308, 12953, 308, 835, 4136, 13, 2277, 29937, 462, 632, 16101, 29937, 13, 2277, 29937, 6760, 630, 491, 29901, 529, 5813, 29958, 418, 16101, 13, 2277, 29937, 4712, 6760, 630, 29901, 29871, 29941, 29914, 29900, 29941, 29914, 29906, 29900, 29896, 29955, 268, 3191, 13, 2277, 29937, 462, 632, 835, 13, 13383, 13383, 13383, 13383, 4136, 2277, 13, 13, 29937, 24802, 13, 5215, 10876, 13, 5215, 931, 13, 5215, 263, 4776, 277, 13, 5215, 12655, 13, 5215, 13850, 29906, 13, 13, 13383, 13383, 13383, 13383, 4136, 2277, 13, 2277, 29937, 28096, 29914, 3267, 24521, 5399, 29879, 835, 13, 13383, 13383, 4136, 2277, 29937, 13, 13, 29937, 6204, 7481, 3651, 29914, 3075, 1934, 13, 29918, 3267, 29918, 353, 10876, 29889, 12120, 13, 29934, 3289, 29925, 13635, 13207, 29918, 2227, 29918, 29941, 353, 376, 9389, 29908, 13, 13, 29937, 5399, 363, 6570, 24521, 313, 1164, 16786, 399, 1955, 17557, 6732, 390, 3289, 29925, 13635, 13207, 349, 29902, 467, 13, 361, 903, 3267, 29918, 1275, 390, 3289, 29925, 13635, 13207, 29918, 2227, 29918, 29941, 29901, 13, 268, 13, 1678, 396, 16032, 390, 4692, 16344, 349, 29902, 9741, 29889, 13, 1678, 1596, 703, 4013, 6570, 7481, 13218, 29908, 718, 903, 3267, 29918, 718, 376, 5931, 338, 9280, 23157, 13, 1678, 1053, 390, 12197, 29889, 29954, 2227, 29949, 408, 402, 2227, 29949, 13, 1678, 1053, 282, 335, 16168, 13, 1678, 1053, 11942, 314, 1572, 13, 268, 13, 2870, 29901, 13, 13, 1678, 396, 25954, 445, 1824, 565, 278, 6570, 338, 451, 15878, 29889, 13, 1678, 1596, 703, 4013, 6570, 7481, 13218, 29908, 718, 903, 3267, 29918, 718, 376, 5931, 338, 451, 6969, 23157, 13, 1678, 10876, 29889, 13322, 580, 13, 13, 13383, 13383, 13383, 13383, 2277, 13, 1990, 478, 2459, 2956, 29898, 3318, 1125, 13, 13, 1678, 396, 5798, 1934, 13, 1678, 11901, 268, 353, 29871, 29896, 13, 1678, 360, 9806, 29940, 1678, 353, 448, 29896, 13, 1678, 19246, 259, 353, 448, 29896, 13, 1678, 390, 22530, 29871, 353, 29871, 29896, 13, 13, 1678, 835, 13383, 13383, 13383, 13383, 2277, 29937, 13, 1678, 835, 17250, 2133, 835, 13, 1678, 835, 13383, 2277, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 396, 2158, 703, 2344, 1243, 1159, 13, 4706, 835, 4911, 20999, 835, 13, 13, 4706, 396, 24321, 3789, 786, 13, 4706, 1583, 29889, 26065, 353, 11942, 314, 1572, 29889, 12197, 20717, 580, 13, 4706, 1583, 29889, 26065, 29889, 5450, 362, 353, 29871, 29896, 29947, 29900, 13, 308, 13, 4706, 835, 2796, 310, 4911, 20999, 835, 13, 308, 13, 4706, 835, 402, 2227, 29949, 3789, 786, 835, 13, 4706, 402, 2227, 29949, 29889, 842, 8513, 29898, 29954, 2227, 29949, 29889, 8456, 17011, 29897, 13, 4706, 396, 29954, 2227, 29949, 29889, 14669, 29898, 1311, 29889, 3332, 1748, 1365, 29925, 262, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 4706, 396, 29954, 2227, 29949, 29889, 14669, 29898, 1311, 29889, 7451, 1748, 1365, 29925, 262, 29892, 402, 2227, 29949, 29889, 12015, 29897, 13, 308, 13, 4706, 835, 14971, 304, 1887, 7362, 29889, 835, 13, 4706, 1583, 29889, 1631, 353, 282, 335, 16168, 29889, 1631, 580, 13, 4706, 565, 451, 1583, 29889, 1631, 29889, 18045, 29901, 13, 9651, 1596, 703, 29886, 335, 16168, 29889, 1631, 471, 9368, 304, 4511, 304, 278, 2930, 23157, 13, 9651, 10876, 29889, 13322, 580, 13, 13, 4706, 835, 18540, 349, 26735, 3789, 786, 835, 13, 4706, 396, 1311, 29889, 3332, 1748, 1365, 353, 402, 2227, 29949, 29889, 29925, 26735, 29898, 1311, 29889, 3332, 1748, 1365, 29925, 262, 29892, 1583, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29943, 7971, 29897, 13, 4706, 396, 1311, 29889, 7451, 1748, 1365, 353, 402, 2227, 29949, 29889, 29925, 26735, 29898, 1311, 29889, 7451, 1748, 1365, 29925, 262, 29892, 1583, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29943, 7971, 29897, 13, 308, 13, 1678, 835, 13383, 13383, 13383, 13383, 2277, 29937, 13, 1678, 835, 20972, 478, 2459, 6680, 29879, 835, 13, 1678, 835, 13383, 7346, 4136, 29937, 13, 1678, 396, 17026, 263, 3700, 29889, 13, 1678, 822, 5702, 23360, 29898, 1311, 1125, 13, 308, 13, 4706, 736, 13, 268, 13, 1678, 835, 13383, 13383, 13383, 13383, 2277, 29937, 13, 1678, 835, 24321, 29914, 1748, 1365, 6680, 29879, 835, 13, 1678, 835, 13383, 7346, 2277, 13, 13, 1678, 396, 9664, 403, 2246, 10656, 724, 1365, 13, 1678, 822, 16734, 7031, 20717, 1748, 1365, 29898, 1311, 29892, 10696, 1125, 13, 4706, 1596, 703, 7031, 1816, 1365, 9664, 1218, 1159, 13, 4706, 396, 1311, 29889, 3332, 1748, 1365, 29889, 9847, 580, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 3332, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29900, 416, 13, 13, 4706, 396, 1311, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 313, 29906, 29889, 29945, 718, 313, 2521, 16395, 29896, 29929, 29889, 29900, 29914, 29941, 29953, 29900, 29889, 29900, 4961, 13, 4706, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 353, 313, 29945, 29900, 29900, 718, 313, 2521, 16395, 29896, 29900, 29900, 29889, 29900, 29914, 29929, 29889, 29900, 4961, 13, 4706, 396, 361, 1583, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 6736, 1583, 29889, 3332, 1748, 1365, 8140, 29928, 329, 29891, 29907, 13317, 29901, 13, 4706, 565, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 6736, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 8140, 29901, 13, 9651, 1209, 13, 4706, 1683, 29901, 13, 9651, 396, 1311, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 1583, 29889, 3332, 1748, 1365, 8140, 29928, 329, 29891, 29907, 13317, 13, 9651, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 353, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 8140, 13, 13, 4706, 396, 361, 1583, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 5277, 1583, 29889, 3332, 1748, 1365, 7976, 29928, 329, 29891, 29907, 13317, 29901, 13, 4706, 565, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 5277, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 7976, 29901, 13, 9651, 1209, 13, 4706, 1683, 29901, 13, 9651, 396, 1311, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 1583, 29889, 3332, 1748, 1365, 7976, 29928, 329, 29891, 29907, 13317, 13, 9651, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 353, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 7976, 13, 13, 4706, 396, 1311, 29889, 3332, 1748, 1365, 29889, 2962, 29898, 1311, 29889, 3332, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 29897, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 3332, 1748, 1365, 29954, 2227, 29949, 29892, 1583, 29889, 3332, 1748, 1365, 29924, 29879, 29897, 13, 4706, 736, 13, 13, 1678, 396, 9664, 403, 5970, 10656, 724, 1365, 13, 1678, 822, 16734, 15342, 20717, 1748, 1365, 29898, 1311, 29892, 10696, 1125, 13, 4706, 1596, 703, 15342, 1816, 1365, 9664, 1218, 1159, 13, 4706, 396, 1311, 29889, 7451, 1748, 1365, 29889, 9847, 580, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 7451, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29900, 416, 13, 13, 4706, 396, 1311, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 313, 29906, 29889, 29945, 718, 313, 2521, 16395, 29896, 29929, 29889, 29900, 29914, 29941, 29953, 29900, 29889, 29900, 4961, 13, 4706, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 353, 313, 29945, 29900, 29900, 718, 313, 2521, 16395, 29896, 29900, 29900, 29889, 29900, 29914, 29929, 29889, 29900, 4961, 13, 4706, 396, 361, 1583, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 6736, 1583, 29889, 7451, 1748, 1365, 8140, 29928, 329, 29891, 29907, 13317, 29901, 13, 4706, 565, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 6736, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 8140, 29901, 13, 9651, 1209, 13, 4706, 1683, 29901, 13, 9651, 396, 1311, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 1583, 29889, 7451, 1748, 1365, 8140, 29928, 329, 29891, 29907, 13317, 13, 9651, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 353, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 8140, 13, 13, 4706, 396, 361, 1583, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 5277, 1583, 29889, 7451, 1748, 1365, 7976, 29928, 329, 29891, 29907, 13317, 29901, 13, 4706, 565, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 5277, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 7976, 29901, 13, 9651, 1209, 13, 4706, 1683, 29901, 13, 9651, 396, 1311, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 353, 1583, 29889, 7451, 1748, 1365, 7976, 29928, 329, 29891, 29907, 13317, 13, 9651, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 353, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 7976, 13, 13, 4706, 396, 1311, 29889, 7451, 1748, 1365, 29889, 2962, 29898, 1311, 29889, 7451, 1748, 1365, 29925, 29893, 29885, 29928, 329, 29891, 29907, 13317, 29897, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 7451, 1748, 1365, 29954, 2227, 29949, 29892, 1583, 29889, 7451, 1748, 1365, 29924, 29879, 29897, 13, 4706, 736, 13, 13, 1678, 835, 13383, 13383, 13383, 13383, 2277, 29937, 13, 1678, 835, 22303, 6680, 29879, 835, 13, 1678, 835, 13383, 2277, 13, 268, 13, 1678, 396, 22303, 2178, 13, 1678, 822, 5040, 29898, 1311, 1125, 13, 4706, 1596, 703, 20754, 3262, 2178, 3455, 29879, 1159, 13, 4706, 1583, 29889, 9847, 6889, 359, 580, 13, 4706, 736, 13, 268, 13, 1678, 396, 22303, 9635, 359, 13, 1678, 822, 5040, 6889, 359, 29898, 1311, 1125, 13, 4706, 1596, 703, 20754, 3262, 9635, 359, 1159, 13, 4706, 396, 1311, 29889, 3332, 1748, 1365, 29889, 9847, 580, 13, 4706, 396, 1311, 29889, 7451, 1748, 1365, 29889, 9847, 580, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 3332, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29900, 29897, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 7451, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29900, 29897, 13, 4706, 736, 13, 13, 1678, 396, 2538, 300, 9635, 359, 2602, 304, 3700, 278, 4565, 310, 278, 19964, 29889, 13, 1678, 822, 10092, 6889, 359, 29898, 1311, 1125, 13, 4706, 1596, 703, 1666, 15133, 9635, 359, 1159, 13, 4706, 396, 1311, 29889, 23361, 7031, 20717, 1748, 1365, 29898, 29896, 29947, 29900, 29897, 13, 4706, 396, 1311, 29889, 23361, 15342, 20717, 1748, 1365, 29898, 29929, 29900, 29897, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 3332, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29906, 29945, 29900, 29900, 29897, 13, 4706, 1583, 29889, 1631, 29889, 842, 29918, 643, 1365, 29918, 29886, 19994, 2103, 29898, 1311, 29889, 7451, 1748, 1365, 29954, 2227, 29949, 29892, 29871, 29896, 29945, 29900, 29900, 29897, 13, 4706, 931, 29889, 17059, 29898, 29906, 29897, 13, 13, 1678, 396, 315, 14044, 786, 5166, 1358, 13, 1678, 822, 5941, 3373, 29898, 1311, 1125, 13, 4706, 1596, 703, 29907, 1307, 2190, 4214, 402, 2227, 29949, 1159, 13, 4706, 402, 2227, 29949, 29889, 14941, 786, 580, 13, 4706, 1583, 29889, 1631, 29889, 9847, 580, 13, 4706, 1596, 703, 29928, 12413, 315, 1307, 2190, 4214, 1159, 13, 13, 1678, 396, 263, 4776, 277, 27372, 13, 1678, 565, 903, 3267, 29918, 1275, 390, 3289, 29925, 13635, 13207, 29918, 2227, 29918, 29941, 29901, 13, 4706, 263, 4776, 277, 29889, 9573, 29898, 14941, 3373, 29897, 13, 13, 2277, 29937, 2796, 310, 770, 835, 13, 29937, 2158, 703, 25632, 1159, 13, 13, 13383, 13383, 13383, 13383, 2277, 13, 13, 2 ]
102785/D.py
julianferres/Codeforces
4
102074
from math import inf def solve(i2, i3, i5, i7, i11, i13, i17, i19): return pow(2, i2) * pow(3, i3) * pow(5, i5) * pow(7, i7) * pow(11, i11) * pow(13, i13) * pow(17, i17) * pow(19, i19) def main(): ans = [inf]*1005 for i1 in range(1000): print(i1) for i2 in range(32): for i3 in range(20): for i4 in range(6): for i5 in range(4): for i6 in range(4): for i7 in range(3): for i8 in range(3): k = (i1+1)*(i2+1)*(i3+1)*(i4+1)*(i5+1)*(i6+1)*(i7+1)*(i8+1) aux = solve(i1, i2, i3, i4, i5, i6, i7, i8) if(aux != -1 and k <= 1002): ans[k] = min(ans[k],aux) print(ans) main()
[ 1, 515, 5844, 1053, 3041, 13, 13, 1753, 4505, 29898, 29875, 29906, 29892, 474, 29941, 29892, 474, 29945, 29892, 474, 29955, 29892, 474, 29896, 29896, 29892, 474, 29896, 29941, 29892, 474, 29896, 29955, 29892, 474, 29896, 29929, 1125, 13, 1678, 736, 4764, 29898, 29906, 29892, 474, 29906, 29897, 334, 4764, 29898, 29941, 29892, 474, 29941, 29897, 334, 4764, 29898, 29945, 29892, 474, 29945, 29897, 334, 4764, 29898, 29955, 29892, 474, 29955, 29897, 334, 4764, 29898, 29896, 29896, 29892, 474, 29896, 29896, 29897, 334, 4764, 29898, 29896, 29941, 29892, 474, 29896, 29941, 29897, 334, 4764, 29898, 29896, 29955, 29892, 474, 29896, 29955, 29897, 334, 4764, 29898, 29896, 29929, 29892, 474, 29896, 29929, 29897, 13, 13, 1753, 1667, 7295, 13, 1678, 6063, 353, 518, 7192, 14178, 29896, 29900, 29900, 29945, 13, 1678, 363, 474, 29896, 297, 3464, 29898, 29896, 29900, 29900, 29900, 1125, 13, 4706, 1596, 29898, 29875, 29896, 29897, 13, 4706, 363, 474, 29906, 297, 3464, 29898, 29941, 29906, 1125, 13, 9651, 363, 474, 29941, 297, 3464, 29898, 29906, 29900, 1125, 13, 18884, 363, 474, 29946, 297, 3464, 29898, 29953, 1125, 13, 462, 1678, 363, 474, 29945, 297, 3464, 29898, 29946, 1125, 13, 462, 4706, 363, 474, 29953, 297, 3464, 29898, 29946, 1125, 13, 462, 9651, 363, 474, 29955, 297, 3464, 29898, 29941, 1125, 13, 462, 18884, 363, 474, 29947, 297, 3464, 29898, 29941, 1125, 13, 462, 462, 1678, 413, 353, 313, 29875, 29896, 29974, 29896, 11877, 29898, 29875, 29906, 29974, 29896, 11877, 29898, 29875, 29941, 29974, 29896, 11877, 29898, 29875, 29946, 29974, 29896, 11877, 29898, 29875, 29945, 29974, 29896, 11877, 29898, 29875, 29953, 29974, 29896, 11877, 29898, 29875, 29955, 29974, 29896, 11877, 29898, 29875, 29947, 29974, 29896, 29897, 13, 462, 462, 1678, 3479, 353, 4505, 29898, 29875, 29896, 29892, 474, 29906, 29892, 474, 29941, 29892, 474, 29946, 29892, 474, 29945, 29892, 474, 29953, 29892, 474, 29955, 29892, 474, 29947, 29897, 13, 462, 462, 1678, 565, 29898, 2993, 2804, 448, 29896, 322, 413, 5277, 29871, 29896, 29900, 29900, 29906, 1125, 6063, 29961, 29895, 29962, 353, 1375, 29898, 550, 29961, 29895, 1402, 2993, 29897, 13, 13, 1678, 1596, 29898, 550, 29897, 13, 13, 3396, 580, 13, 2 ]
src/constants.py
matheus3301/neps-academy-scraper
0
93433
NEPS_URL = 'https://neps.academy' ENGLISH_BUTTON = '/html/body/div/div/div/div[2]/div/div/a/div[2]/div' LOGIN_PAGE_BUTTON = '//*[@id="app"]/div/div/div/div[1]/div/header/div/div/div[3]/div/div/nav/ul/li[6]/button' EMAIL_INPUT = '/html/body/div/div/div/div[3]/div/div/div/form/div[1]/div/div[1]/div/input' PASSWORD_INPUT = '/html/body/div/div/div/div[3]/div/div/div/form/div[2]/div/div[1]/div[1]/input' LOGIN_MODAL_BUTTON = '//*[@id="app"]/div[3]/div/div/div/form/div[3]/button'
[ 1, 14693, 7024, 29918, 4219, 353, 525, 991, 597, 484, 567, 29889, 562, 1943, 1357, 29915, 13, 1430, 7239, 3235, 29950, 29918, 29933, 2692, 29911, 1164, 353, 8207, 1420, 29914, 2587, 29914, 4563, 29914, 4563, 29914, 4563, 29914, 4563, 29961, 29906, 16261, 4563, 29914, 4563, 29914, 29874, 29914, 4563, 29961, 29906, 16261, 4563, 29915, 13, 14480, 1177, 29918, 7228, 1692, 29918, 29933, 2692, 29911, 1164, 353, 525, 458, 29930, 17548, 333, 543, 932, 3108, 29914, 4563, 29914, 4563, 29914, 4563, 29914, 4563, 29961, 29896, 16261, 4563, 29914, 6672, 29914, 4563, 29914, 4563, 29914, 4563, 29961, 29941, 16261, 4563, 29914, 4563, 29914, 6654, 29914, 352, 29914, 492, 29961, 29953, 16261, 3092, 29915, 13, 26862, 6227, 29918, 1177, 12336, 353, 8207, 1420, 29914, 2587, 29914, 4563, 29914, 4563, 29914, 4563, 29914, 4563, 29961, 29941, 16261, 4563, 29914, 4563, 29914, 4563, 29914, 689, 29914, 4563, 29961, 29896, 16261, 4563, 29914, 4563, 29961, 29896, 16261, 4563, 29914, 2080, 29915, 13, 25711, 17013, 29918, 1177, 12336, 353, 8207, 1420, 29914, 2587, 29914, 4563, 29914, 4563, 29914, 4563, 29914, 4563, 29961, 29941, 16261, 4563, 29914, 4563, 29914, 4563, 29914, 689, 29914, 4563, 29961, 29906, 16261, 4563, 29914, 4563, 29961, 29896, 16261, 4563, 29961, 29896, 16261, 2080, 29915, 13, 14480, 1177, 29918, 6720, 29928, 1964, 29918, 29933, 2692, 29911, 1164, 353, 525, 458, 29930, 17548, 333, 543, 932, 3108, 29914, 4563, 29961, 29941, 16261, 4563, 29914, 4563, 29914, 4563, 29914, 689, 29914, 4563, 29961, 29941, 16261, 3092, 29915, 13, 2 ]
api/gsn-api/gsndb/migrations/0004_auto_20190327_1847.py
DonovanDarko/gsn
2
120433
<reponame>DonovanDarko/gsn # Generated by Django 2.1.5 on 2019-03-27 18:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('gsndb', '0003_auto_20190326_2144'), ] operations = [ migrations.RenameField( model_name='student', old_name='birth_date', new_name='birthdate', ), migrations.RenameField( model_name='student', old_name='program', new_name='current_program', ), ]
[ 1, 529, 276, 1112, 420, 29958, 10310, 10471, 29928, 935, 29877, 29914, 3174, 29876, 13, 29937, 3251, 630, 491, 15337, 29871, 29906, 29889, 29896, 29889, 29945, 373, 29871, 29906, 29900, 29896, 29929, 29899, 29900, 29941, 29899, 29906, 29955, 29871, 29896, 29947, 29901, 29946, 29955, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 13, 13, 13, 1990, 341, 16783, 29898, 26983, 800, 29889, 29924, 16783, 1125, 13, 13, 1678, 9962, 353, 518, 13, 4706, 6702, 3174, 299, 29890, 742, 525, 29900, 29900, 29900, 29941, 29918, 6921, 29918, 29906, 29900, 29896, 29929, 29900, 29941, 29906, 29953, 29918, 29906, 29896, 29946, 29946, 5477, 13, 1678, 4514, 13, 13, 1678, 6931, 353, 518, 13, 4706, 9725, 800, 29889, 29934, 3871, 3073, 29898, 13, 9651, 1904, 29918, 978, 2433, 18945, 742, 13, 9651, 2030, 29918, 978, 2433, 29890, 7515, 29918, 1256, 742, 13, 9651, 716, 29918, 978, 2433, 29890, 7515, 1256, 742, 13, 4706, 10353, 13, 4706, 9725, 800, 29889, 29934, 3871, 3073, 29898, 13, 9651, 1904, 29918, 978, 2433, 18945, 742, 13, 9651, 2030, 29918, 978, 2433, 8860, 742, 13, 9651, 716, 29918, 978, 2433, 3784, 29918, 8860, 742, 13, 4706, 10353, 13, 1678, 4514, 13, 2 ]
MENU and SUBMENU .py
HorridHanu/Notepad-Python
1
96271
######################################################################################## ######################################################################################## ## # CODE LANGUAGE IS PYHTON! ## ## ## ## # DATE: 1-JULY-2021 ## ## ######## ## ## ## ## ## # CODE BY HANU! ########## ## ######### ## ## ## ## # ONLY FOR EDUCATIONAL PURPOSE! ########## ####### ## ## ## ## ## ## # MENU AND SUBMENU! ## ## ## ## ## ## ## ## ## ## # ITS ONLY DEMO! ## ## ####### ## ## ######## ## ######################################################################################## ######################################################################################## from tkinter import * root = Tk() root.geometry("733x566") root.title("Menu and submenu!") root.bell() #used to bell on openin def file(): print("yes menu work!") # create for non drop command # mymenu= Menu(root) # mymenu.add_command(label="file",command=file) # mymenu.add_command(label="exit",command=quit) # root.config(menu=mymenu) # its menu! filemenu = Menu(root, tearoff = 00) # these are submenu! m1=Menu(filemenu) m1.add_command(label="new project",command=file) m1.add_separator() m1.add_command(label="new",command=file) m1.add_command(label="open",command=file) m1.add_command(label="rename",command=file) m1.add_command(label="close",command=file) m1.add_command(label="save project",command=file) m1.add_command(label="setting",command=file) m1.add_command(label="save all",command=file) m1.add_command(label="print",command=file) m1.add_command(label="exit",command=exit) filemenu.add_cascade(label="file",menu=m1) m2=Menu(filemenu) m2.add_command(label="new project",command=file) m2.add_separator() m2.add_command(label="new",command=file) m2.add_command(label="open",command=file) m2.add_command(label="rename",command=file) m2.add_command(label="close",command=file) m2.add_command(label="save project",command=file) m2.add_command(label="setting",command=file) m2.add_command(label="save all",command=file) m2.add_command(label="print",command=file) m2.add_command(label="exit",command=exit) #exit has pre-function to exit! filemenu.add_cascade(label="edit",menu=m1) root.config(menu=filemenu) root.mainloop()
[ 1, 29871, 13, 13, 13383, 13383, 13383, 13383, 13383, 7346, 13, 13383, 13383, 13383, 13383, 13383, 7346, 13, 2277, 396, 4810, 2287, 365, 19453, 29965, 10461, 8519, 349, 29979, 3912, 1164, 29991, 3986, 444, 418, 444, 462, 462, 268, 444, 13, 2277, 396, 20231, 29901, 29871, 29896, 29899, 29967, 13309, 29979, 29899, 29906, 29900, 29906, 29896, 462, 444, 418, 444, 259, 835, 4136, 29937, 259, 444, 3986, 444, 268, 444, 29871, 444, 13, 2277, 396, 4810, 2287, 6770, 379, 2190, 29965, 29991, 462, 268, 835, 4136, 2277, 29937, 308, 444, 259, 835, 4136, 2277, 259, 444, 268, 444, 29871, 444, 13, 2277, 396, 6732, 16786, 15842, 9408, 23129, 8098, 1964, 349, 4574, 13152, 1660, 29991, 268, 835, 4136, 2277, 29937, 1678, 835, 4136, 259, 444, 268, 444, 259, 444, 268, 444, 29871, 444, 13, 2277, 396, 341, 1430, 29965, 5300, 27092, 29924, 1430, 29965, 29991, 462, 444, 418, 444, 1678, 444, 259, 444, 259, 444, 268, 444, 259, 444, 268, 444, 29871, 444, 13, 2277, 396, 306, 9375, 6732, 16786, 5012, 6720, 29991, 462, 1678, 444, 418, 444, 1678, 835, 4136, 259, 444, 268, 444, 259, 835, 4136, 29937, 259, 444, 13, 13383, 13383, 13383, 13383, 13383, 7346, 13, 13383, 13383, 13383, 13383, 13383, 7346, 13, 13, 13, 3166, 18883, 1639, 1053, 334, 13, 4632, 353, 323, 29895, 580, 13, 4632, 29889, 19156, 703, 29955, 29941, 29941, 29916, 29945, 29953, 29953, 1159, 13, 4632, 29889, 3257, 703, 6823, 322, 1014, 6510, 29991, 1159, 13, 4632, 29889, 12562, 580, 462, 396, 3880, 304, 22623, 373, 1722, 262, 13, 13, 1753, 934, 7295, 13, 1678, 1596, 703, 3582, 6143, 664, 29991, 1159, 13, 13, 1678, 396, 1653, 363, 1661, 5768, 1899, 13, 29937, 590, 6510, 29922, 20019, 29898, 4632, 29897, 13, 29937, 590, 6510, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1445, 613, 6519, 29922, 1445, 29897, 13, 29937, 590, 6510, 29889, 1202, 29918, 6519, 29898, 1643, 543, 13322, 613, 6519, 29922, 28358, 29897, 13, 29937, 3876, 29889, 2917, 29898, 6510, 29922, 29885, 962, 4814, 29897, 13, 13, 13, 396, 967, 6143, 29991, 13, 1445, 6510, 353, 20019, 29898, 4632, 29892, 734, 279, 2696, 353, 29871, 29900, 29900, 29897, 13, 13, 29937, 1438, 526, 1014, 6510, 29991, 13, 29885, 29896, 29922, 6823, 29898, 1445, 6510, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1482, 2060, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 344, 17954, 580, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1482, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 3150, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1267, 420, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 5358, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 7620, 2060, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 26740, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 7620, 599, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 2158, 613, 6519, 29922, 1445, 29897, 13, 29885, 29896, 29889, 1202, 29918, 6519, 29898, 1643, 543, 13322, 613, 6519, 29922, 13322, 29897, 13, 1445, 6510, 29889, 1202, 29918, 9398, 6332, 29898, 1643, 543, 1445, 613, 6510, 29922, 29885, 29896, 29897, 13, 13, 13, 29885, 29906, 29922, 6823, 29898, 1445, 6510, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1482, 2060, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 344, 17954, 580, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1482, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 3150, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 1267, 420, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 5358, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 7620, 2060, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 26740, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 7620, 599, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 2158, 613, 6519, 29922, 1445, 29897, 13, 29885, 29906, 29889, 1202, 29918, 6519, 29898, 1643, 543, 13322, 613, 6519, 29922, 13322, 29897, 965, 396, 13322, 756, 758, 29899, 2220, 304, 6876, 29991, 13, 1445, 6510, 29889, 1202, 29918, 9398, 6332, 29898, 1643, 543, 5628, 613, 6510, 29922, 29885, 29896, 29897, 13, 4632, 29889, 2917, 29898, 6510, 29922, 1445, 6510, 29897, 13, 4632, 29889, 3396, 7888, 580, 2 ]
simsalabim/io/excel_loader.py
simklein/simsalabim
0
1605937
""" Excel Loader ============ Provides 1. IO stuff to access data from messy spreadsheets. """ import pandas as pd from openpyxl import load_workbook def load_xl_range(io, sheet_name=0, start=None, stop=None): """Load data from a certain range of an Excel sheet and transforms it to an dataframe. Parameters ---------- io : str path of the excel file sheet_name : str sheet name where the data lies Returns ------- DataFrame See Also -------- openpyxl.load_workbook() : Open the given filename and return the workbook. """ # Load sheet of workbook wb = load_workbook(filename=io, read_only=True) sheets = wb.sheetnames if sheet_name in sheets: ws = wb[sheet_name] else: try: ws = wb[sheets[sheet_name]] except: raise ValueError( "sheet_name '{}' not existing in Workbook!".format(sheet_name) ) # Read the cell values into a list of lists data_rows = [] for row in ws[start:stop]: data_cols = [] for cell in row: data_cols.append(cell.value) data_rows.append(data_cols) # Transform into dataframe df_out = pd.DataFrame(data_rows) return df_out
[ 1, 9995, 13, 22926, 4309, 1664, 13, 4936, 2751, 13, 13, 1184, 29894, 2247, 13, 259, 29896, 29889, 10663, 6433, 304, 2130, 848, 515, 4473, 29891, 9677, 19360, 29889, 13, 13, 15945, 29908, 13, 5215, 11701, 408, 10518, 13, 3166, 1722, 2272, 15524, 1053, 2254, 29918, 1287, 2909, 13, 13, 13, 1753, 2254, 29918, 15524, 29918, 3881, 29898, 601, 29892, 9869, 29918, 978, 29922, 29900, 29892, 1369, 29922, 8516, 29892, 5040, 29922, 8516, 1125, 13, 1678, 9995, 5896, 848, 515, 263, 3058, 3464, 310, 385, 11388, 9869, 13, 1678, 322, 4327, 29879, 372, 304, 385, 12205, 29889, 13, 13, 1678, 12662, 2699, 13, 1678, 448, 1378, 29899, 13, 1678, 12013, 584, 851, 13, 4706, 2224, 310, 278, 10616, 934, 13, 1678, 9869, 29918, 978, 584, 851, 13, 4706, 9869, 1024, 988, 278, 848, 12185, 13, 13, 1678, 16969, 13, 1678, 448, 22158, 13, 1678, 3630, 4308, 13, 13, 1678, 2823, 3115, 13, 1678, 448, 26589, 13, 1678, 1722, 2272, 15524, 29889, 1359, 29918, 1287, 2909, 580, 584, 4673, 278, 2183, 10422, 322, 736, 278, 664, 2909, 29889, 13, 1678, 9995, 13, 1678, 396, 16012, 9869, 310, 664, 2909, 13, 1678, 281, 29890, 353, 2254, 29918, 1287, 2909, 29898, 9507, 29922, 601, 29892, 1303, 29918, 6194, 29922, 5574, 29897, 13, 1678, 26718, 353, 281, 29890, 29889, 9855, 7039, 13, 13, 1678, 565, 9869, 29918, 978, 297, 26718, 29901, 13, 4706, 16904, 353, 281, 29890, 29961, 9855, 29918, 978, 29962, 13, 1678, 1683, 29901, 13, 4706, 1018, 29901, 13, 9651, 16904, 353, 281, 29890, 29961, 19360, 29961, 9855, 29918, 978, 5262, 13, 4706, 5174, 29901, 13, 9651, 12020, 7865, 2392, 29898, 376, 9855, 29918, 978, 525, 8875, 29915, 451, 5923, 297, 5244, 2909, 29991, 1642, 4830, 29898, 9855, 29918, 978, 29897, 1723, 13, 13, 1678, 396, 7523, 278, 3038, 1819, 964, 263, 1051, 310, 8857, 13, 1678, 848, 29918, 5727, 353, 5159, 13, 1678, 363, 1948, 297, 16904, 29961, 2962, 29901, 9847, 5387, 13, 4706, 848, 29918, 22724, 353, 5159, 13, 4706, 363, 3038, 297, 1948, 29901, 13, 9651, 848, 29918, 22724, 29889, 4397, 29898, 3729, 29889, 1767, 29897, 13, 4706, 848, 29918, 5727, 29889, 4397, 29898, 1272, 29918, 22724, 29897, 13, 13, 1678, 396, 4103, 689, 964, 12205, 13, 1678, 4489, 29918, 449, 353, 10518, 29889, 17271, 29898, 1272, 29918, 5727, 29897, 13, 1678, 736, 4489, 29918, 449, 13, 2 ]
Utilities/vtkTclTest2Py/expr.py
jasper-yeh/VtkDotNet
3
132571
"""Evalues a tcl expr expression.""" import math def expr(caller_globals_dict, caller_localvars_dict, arguments): """the arguments to expr in tcl are passed as individual arguments to this method. eg [expr sin(20)*$a] becomes expr.expr("sin","(","20",")","*", a)""" eval_str = "eval(\"\"\"" for arg in arguments: if arg in caller_localvars_dict.keys(): #arg is a local variable. First, get its value arg = caller_localvars_dict[arg] if type(arg) == type("string"): #this will obtain value in the variable. if arg in dir(math): eval_str += "math.%s" % arg else: if arg == "(": eval_str += arg else: if arg.strip() == "double": arg = "float" #tcl double is python float eval_str += " " + arg continue eval_str += " " + `arg` eval_str += "\"\"\")" #print "eval_str : %s" % eval_str return eval(eval_str, caller_globals_dict, caller_localvars_dict)
[ 1, 9995, 29923, 5975, 263, 260, 695, 22010, 4603, 1213, 15945, 13, 5215, 5844, 13, 13, 1753, 22010, 29898, 4804, 261, 29918, 23705, 1338, 29918, 8977, 29892, 24959, 29918, 2997, 16908, 29918, 8977, 29892, 6273, 1125, 13, 1678, 9995, 1552, 6273, 304, 22010, 297, 260, 695, 526, 4502, 408, 5375, 6273, 304, 445, 13, 1678, 1158, 29889, 13, 1678, 8087, 518, 13338, 4457, 29898, 29906, 29900, 11877, 29938, 29874, 29962, 7415, 22010, 29889, 13338, 703, 5223, 3284, 29898, 3284, 29906, 29900, 613, 1159, 3284, 29930, 613, 263, 5513, 15945, 13, 1678, 19745, 29918, 710, 353, 376, 14513, 1194, 29908, 5931, 5931, 29908, 13, 1678, 363, 1852, 297, 6273, 29901, 13, 4706, 565, 1852, 297, 24959, 29918, 2997, 16908, 29918, 8977, 29889, 8149, 7295, 13, 9651, 396, 1191, 338, 263, 1887, 2286, 29889, 3824, 29892, 679, 967, 995, 13, 9651, 1852, 353, 24959, 29918, 2997, 16908, 29918, 8977, 29961, 1191, 29962, 13, 4706, 565, 1134, 29898, 1191, 29897, 1275, 1134, 703, 1807, 29908, 1125, 13, 9651, 396, 1366, 674, 4017, 995, 297, 278, 2286, 29889, 13, 9651, 565, 1852, 297, 4516, 29898, 755, 1125, 13, 18884, 19745, 29918, 710, 4619, 376, 755, 29889, 29995, 29879, 29908, 1273, 1852, 13, 9651, 1683, 29901, 13, 18884, 565, 1852, 1275, 376, 703, 29901, 13, 462, 1678, 19745, 29918, 710, 4619, 1678, 1852, 13, 18884, 1683, 29901, 13, 462, 1678, 565, 1852, 29889, 17010, 580, 1275, 376, 8896, 1115, 13, 462, 4706, 1852, 353, 376, 7411, 29908, 396, 29873, 695, 3765, 338, 3017, 5785, 13, 462, 1678, 19745, 29918, 710, 4619, 1678, 376, 376, 718, 1852, 13, 9651, 6773, 13, 4706, 19745, 29918, 710, 4619, 376, 376, 718, 421, 1191, 29952, 13, 1678, 19745, 29918, 710, 4619, 376, 5931, 5931, 29905, 1159, 29908, 13, 1678, 396, 2158, 376, 14513, 29918, 710, 584, 1273, 29879, 29908, 1273, 19745, 29918, 710, 13, 1678, 736, 19745, 29898, 14513, 29918, 710, 29892, 24959, 29918, 23705, 1338, 29918, 8977, 29892, 24959, 29918, 2997, 16908, 29918, 8977, 29897, 13, 13, 2 ]
mocksh.py
blyxxyz/mocksh
1
58146
<gh_stars>1-10 # Copyright 2018 <NAME> <<EMAIL>> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """A wrapper around subprocess for simple function-like process calling. The main access point is the mocksh.sh object. Examples: >>> from mocksh import sh >>> sh.echo("Hello, world") Hello, world <mocksh.Process: echo Hello, world> >>> str(sh.echo.capture_("Hello, world")) 'Hello, world\n' >>> list(sh.seq.capture_(3)) ['1', '2', '3'] >>> sh.fortune.pipe_().cowsay() ______________________________________ / Are you making all this up as you go \ \ along? / -------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || <mocksh.Process: <mocksh.Process: fortune> | cowsay> For more, see README.rst. """ import errno import os import signal import sys try: from time import monotonic as _time # type: ignore except ImportError: from time import time as _time import subprocess from subprocess import PIPE, STDOUT if sys.version_info >= (3, 3): from subprocess import DEVNULL PY3 = sys.version_info >= (3,) MYPY = False if MYPY: from types import TracebackType # noqa: F401 from typing import (Any, Dict, IO, Iterator, List, Mapping, # noqa: F401 NoReturn, Optional, Sequence, Text, TextIO, Tuple, Type, Union) if sys.version_info >= (3, 6): StrTypes = Union[Text, bytes, os.PathLike] else: StrTypes = Union[Text, bytes] if PY3: StreamType = TextIO else: StreamType = IO[str] __all__ = ['CommandError', 'Process', 'Command', 'sh', 'PIPE', 'STDOUT', 'DEVNULL'] _STR_TYPES = (str, bytes) # type: Tuple[Type, ...] if not PY3: _STR_TYPES = (str, unicode) # noqa: F821 elif sys.version_info >= (3, 6): _STR_TYPES = (str, bytes, os.PathLike) def _to_strlike(obj): # type: (Any) -> StrTypes """Convert an object to a string-like type.""" if isinstance(obj, _STR_TYPES): # Object is already suitable for subprocess return obj # type: ignore # Only convert objects that have an explicit string representation # e.g. ints are fine, tuples are not # Implicitly converting to bytes is not a good idea, argv can't even # contain null bytes if getattr(type(obj), '__str__', object.__str__) is object.__str__: # Note: this doesn't work on PyPy 2, but it doesn't break anything raise TypeError("Object of type '{}' can't be converted to string" .format(type(obj).__name__)) return str(obj) def _parse(args, opts): # type: (Sequence[Any], Mapping[str, Any]) -> Iterator[StrTypes] """Convert Python function arguments to GNU getopt-style command arguments. opts are converted using the following procedure: - Underscores in keys are replaced by dashes, because dashes are common in options but not supported by Python. - If a key does not start with a dash, dashes are prepended based on the key's length. - A single character is assumed to be a short option, and gets one dash. - Other keys are assumed to be long options, and get two dashes. - If the value is the False object, the option is discarded. - If the value is the True object, only the key is yielded. - Otherwise, the key is yielded first, and then the value, converted to a string unless it's a bytes object. args (that are not bytes) are converted to strings and yielded otherwise unchanged. >>> list(_parse(['foo', b'bar'], dict(x=True, y=False, baz=23))) ['-x', '--baz', '23', 'foo', b'bar'] Args: args: A sequence of positional arguments, like *args. opts: A dictionary of keyword arguments, like **kwargs. Yields: strings or bytes that can be used as command arguments. """ for key, value in opts.items(): key = key.replace('_', '-') if not key.startswith('-'): if len(key) == 1: key = '-' + key else: key = '--' + key if value is False: continue if value is True: yield key continue yield key yield _to_strlike(value) for arg in args: yield _to_strlike(arg) def _is_reserved(name): # type: (str) -> bool """Return whether a name is reserved by mocksh (or Python itself).""" return name.endswith('_') and len(name) > 2 if sys.version_info >= (3, 5): _SIGNAL_CODES = { signal.name: -signal for signal in signal.Signals } # type: Dict[str, int] else: _SIGNAL_CODES = { name: -getattr(signal, name) for name in dir(signal) if name.startswith('SIG') and '_' not in name } # type: Dict[str, int] _SIGNAL_NAMES = { value: name for name, value in _SIGNAL_CODES.items() } # type: Dict[int, str] class CommandError(Exception): """Raised when a command fails. This class is automatically subclassed for different return codes. "except CommandError:" works, but more specific handling can be done with e.g. "except CommandError.code(10)". """ _subclasses = {} # type: Dict[int, Type[CommandError]] returncode = None def __new__(cls, returncode, process): # type: (Type[CommandError], int, Process) -> CommandError subclass = CommandError.code(returncode) return super(CommandError, cls).__new__(subclass) # type: ignore def __init__(self, returncode, process): # type: (int, Process) -> None super(CommandError, self).__init__(returncode, process) self.returncode = returncode self.process = process def __str__(self): # type: () -> str if isinstance(self.process.args, _STR_TYPES): command = self.process.args else: command = ' '.join(str(arg) for arg in self.process.args) if self.returncode in _SIGNAL_NAMES: cause = _SIGNAL_NAMES[self.returncode] else: cause = "status code {}".format(self.returncode) return "Command '{}' failed with {}".format(command, cause) @classmethod def code(cls, returncode): # type: (Union[int, str]) -> Type[CommandError] """Get a subclass for an error code.""" returncode, signame = cls.normalize_code(returncode) if returncode not in cls._subclasses: def __new__(*_, **__): # type: (*Any, **Any) -> NoReturn raise TypeError("Cannot instantiate CommandError subclasses") index = signame if signame else returncode name = "{}[{!r}]".format(cls.__name__, index) members = {'__new__': __new__, 'returncode': returncode} subclass = type(name, (cls,), members) # type: Type[CommandError] cls._subclasses.setdefault(returncode, subclass) return cls._subclasses[returncode] __class_getitem__ = code @staticmethod def normalize_code(returncode): # type: (Union[int, str]) -> Tuple[int, Optional[str]] """Normalize an exit code or signal name.""" if isinstance(returncode, str): if returncode in _SIGNAL_CODES: return _SIGNAL_CODES[returncode], returncode raise ValueError("Unknown signal {}".format(returncode)) elif isinstance(returncode, int): if returncode in _SIGNAL_NAMES: return returncode, _SIGNAL_NAMES[returncode] return returncode, None raise TypeError class Process(subprocess.Popen): """A subclass of subprocess.Popen with easier behavior. Designed to be used through mocksh.Command. Arguments: args: A string, or a sequence of program arguments. check: Whether to raise an exception if the program exits with failure. tail: A Process instance to read the output of and wait for, as in a pipeline. input: Data to write into the standard input of the process. Can be either text or bytes. wait: Whether to wait until the process is finished when instantiating. timeout: How long to wait before raising a TimeoutExpired exception. capture_stdout: Whether to capture standard output. Alias for stdout=PIPE. capture_stderr: Whether to capture standard error. Alias for stderr=PIPE. kwargs: Arguments to be passed to subprocess.Popen's initializer. """ def __init__(self, args, # type: subprocess._CMD check=True, # type: bool tail=None, # type: Optional[Process] input=None, # type: Optional[Union[bytes, Text]] wait=False, # type: bool timeout=None, # type: Optional[float] capture_stdout=False, # type: bool capture_stderr=False, # type: bool **kwargs # type: Any ): # type: (...) -> None if kwargs.get('shell') and not isinstance(args, _STR_TYPES): # This is weird and not very useful, but just in case args = ' '.join(str(arg) for arg in args) # Strictly speaking, this breaks compatibility with Popen, which # just executes ["/bin/sh", "-c"] + args after normalizing args # to a list. # On my system, subprocess.Popen(['echo', 'foo'], shell=True) # effectively executes "echo", without the foo. But that # particular "feature" is never desirable for this module. if PY3: # TODO: it would be nice to remove this restriction # Maybe re-open the files in text mode in __str__ and __iter__? # A new attribute? A new property? if kwargs.get('universal_newlines', True) is not True: raise ValueError("Can't override universal_newlines") kwargs['universal_newlines'] = True if tail is not None: if kwargs.get('stdin') is not None: raise ValueError("Can't pipe and set stdin at the same time") kwargs['stdin'] = tail.stdout if input is not None: if kwargs.get('stdin') is not None: raise ValueError("Can't input and set stdin at the same time") kwargs['stdin'] = PIPE if capture_stdout: if kwargs.get('stdout') is not None: raise ValueError("Can't capture stdout if redirecting it") kwargs['stdout'] = PIPE if capture_stderr: if kwargs.get('stderr') is not None: raise ValueError("Can't capture stderr if redirecting it") kwargs['stderr'] = PIPE super(Process, self).__init__(args, **kwargs) self.check = check self.tail = tail if self.tail is not None: self.stdin = self.tail.stdin if not hasattr(self, 'args'): self.args = args if input is not None: if self.stdin is None: raise TypeError("Couldn't find stdin") try: if PY3 and isinstance(input, bytes): self.stdin.buffer.write(input) # type: ignore else: self.stdin.write(input) except IOError as exc: if exc.errno not in {errno.EINVAL, errno.EPIPE}: raise finally: self.stdin.close() if wait or timeout is not None: if timeout is not None: self.wait(timeout=timeout) else: self.wait() if self.check: self.check_returncode() @property def captured(self): # type: () -> StreamType """Get the output stream that's being captured.""" if self.stdout and self.stderr: # People might (reasonably) expect captured to access both if this # is possible raise AttributeError("Capturing both stdout and stderr, use " ".stdout and .stderr directly instead") if self.stdout: return self.stdout # type: ignore if self.stderr: return self.stderr # type: ignore raise AttributeError("Not capturing any output") def __repr__(self): # type: () -> str argv = ' '.join(str(arg) for arg in self.args) name = type(self).__module__ + '.' + type(self).__name__ if self.tail is None: return "<{}: {}>".format(name, argv) return "<{}: {!r} | {}>".format(name, self.tail, argv) def wait(self, timeout=None): # type: (Optional[float]) -> int """Wait for this process and its tail (if any) to finish. Arguments: timeout: How many seconds to wait before raising subprocess.TimeoutExpired. Only supported in Python 3.3+. """ if timeout is None: if self.tail is not None: self.tail.wait() return super(Process, self).wait() elif sys.version_info >= (3, 3): orig_time = _time() if self.tail is not None: self.tail.wait(timeout=timeout) rest = orig_time + timeout - _time() return super(Process, self).wait(timeout=rest) else: raise TypeError("Waiting with a timeout requires Python 3.3+") def check_returncode(self): # type: () -> None """Raise a CommandError if the exit code is non-zero.""" returncode = self.wait() if returncode != 0: raise CommandError(returncode, self) def __enter__(self): # type: () -> Process return self def __exit__(self, type, # type: Optional[Type[BaseException]] value, # type: Optional[BaseException] traceback # type: Optional[TracebackType] ): # type: (...) -> bool """Close all streams and wait for the process to finish.""" try: if self.tail is not None: self.tail.__exit__(type, value, traceback) for stream in self.stdout, self.stderr, self.stdin: if stream: stream.close() finally: self.wait() if self.check: self.check_returncode() return False def __iter__(self): # type: () -> Iterator[str] """Loop through the lines of command output, without newlines.""" with self: for line in self.captured: yield line.rstrip('\r\n') def __str__(self): # type: () -> str """Read the output of the command as a string.""" with self: return self.captured.read() if PY3: def __bytes__(self): # type: () -> bytes """Read the output of the command as bytes.""" with self: return self.captured.buffer.read() def __bool__(self): # type: () -> bool """Check whether the process exited successfully.""" return self.wait() == 0 __nonzero__ = __bool__ class Command(object): """A launcher for Process instances that mimics function calls. Arguments: args: A tuple of program arguments. opts: Keyword arguments to pass to mocksh.Process. kwargs: Alternative syntax for opts. In most cases you would use this through the pre-built mockh.sh object. """ # for the benefit of 'from mocksh import sh' PIPE_ = PIPE STDOUT_ = STDOUT if sys.version_info >= (3, 3): DEVNULL_ = DEVNULL CommandError_ = CommandError def __init__(self, args=(), opts=None, **kwargs): # type: (Tuple[StrTypes, ...], Optional[Dict[str, Any]], **Any) -> None self.args_ = args self.opts_ = {} # type: Dict[str, Any] if opts: self.opts_.update(opts) self.opts_.update(kwargs) def __repr__(self): # type: () -> str name = type(self).__module__ + '.' + type(self).__name__ return "{}({!r}, {!r})".format(name, self.args_, self.opts_) def __eq__(self, other): # type: (Any) -> bool return (type(self) is type(other) and self.args_ == other.args_ and self.opts_ == other.opts_) def __getattr__(self, item): # type: (str) -> Command """Return a new instance with `item` appended to the argument list.""" if _is_reserved(item): raise AttributeError(item) return type(self)(self.args_ + (item.replace('_', '-'),), self.opts_) def __getitem__(self, index): # type: (Union[Any, Tuple[Any]]) -> Command """Return a new instance with index appended to the argument list. index will be cast to a suitable type if necessary. Both `command[arg]` and `command[arg1, arg2, arg3]` are supported. """ if not isinstance(index, tuple): index = (index,) index = tuple(_to_strlike(item) for item in index) return type(self)(self.args_ + index, self.opts_) def __call__(self, *args, **opts): # type: (*Any, **Any) -> Process """Launch a new instance of Process. args and opts will be converted to (GNU) getopt/argparse-style command arguments. However, keyword arguments ending in an underscore will be passed (without the underscore) to the initializer of Process instead. By default, this method waits until the process is finished. To return immediately, pass wait_=False. sh.foo('bar', baz=3, cwd_='/') is equivalent to Process(('foo', '--baz', '3', 'bar'), cwd='/') """ process_kwargs = self.opts_.copy() cmd_opts = {} for key, value in opts.items(): if _is_reserved(key): process_kwargs[key[:-1]] = value else: cmd_opts[key] = value argv = self.args_ + tuple(_parse(args, cmd_opts)) # Wait by default when using this interface process_kwargs.setdefault('wait', True) return Process(argv, **process_kwargs) def pipe_(self, *args, **opts): # type: (*Any, **Any) -> Command """Launch an instance of Process as part of a pipeline. Returns a new Command object to launch a process to continue. """ # wait_=False and check_=False are defaults, stdout_=PIPE is mandatory opts.setdefault('wait_', False) opts.setdefault('check_', False) process = self(*args, stdout_=PIPE, **opts) return type(self)(opts=self.opts_, tail=process) def capture_(self, *args, **opts): # type: (*Any, **Any) -> Process """Launch an instance of Process to capture its output.""" opts.setdefault('wait_', False) return self(*args, stdout_=PIPE, **opts) def test_(self, *args, **opts): # type: (*Any, **Any) -> Process """Launch an instance of Process to test whether it succeeds.""" opts.setdefault('check_', False) return self(*args, **opts) if sys.version_info >= (3, 3): # older versions can't do super().__dir__ def __dir__(self): # type: () -> List[str] """Provide PATH autocompletion. Loosely based on shutil.which.""" listing = list(super(Command, self).__dir__()) if self.args_: return listing mode = os.F_OK | os.X_OK path = os.environ.get('PATH', os.defpath).split(os.pathsep) for directory in filter(os.path.isdir, path): for filename in os.listdir(directory): fpath = os.path.join(directory, filename) if os.path.isfile(fpath) and os.access(fpath, mode): listing.append(filename.replace('-', '_')) return listing sh = Command()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29947, 529, 5813, 29958, 3532, 26862, 6227, 6778, 13, 29937, 13, 29937, 20894, 2333, 304, 671, 29892, 3509, 29892, 6623, 29892, 322, 1320, 2666, 445, 7047, 363, 738, 13, 29937, 6437, 411, 470, 1728, 27684, 338, 1244, 1609, 16896, 29892, 4944, 393, 278, 2038, 13, 29937, 3509, 1266, 8369, 322, 445, 10751, 8369, 2615, 297, 599, 14591, 29889, 13, 29937, 13, 29937, 6093, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 376, 3289, 8519, 29908, 5300, 6093, 26524, 29950, 1955, 28657, 13875, 29902, 4345, 15149, 399, 1718, 29934, 13566, 29059, 13, 29937, 22659, 5195, 29954, 17011, 7495, 3446, 3235, 7791, 7818, 12982, 1525, 2672, 6154, 15789, 4214, 15149, 306, 3580, 5265, 3352, 399, 1718, 29934, 13566, 29059, 8079, 13, 29937, 341, 1001, 3210, 13566, 2882, 6227, 11937, 5300, 383, 1806, 8186, 1799, 29889, 2672, 11698, 382, 29963, 3919, 24972, 9818, 6093, 26524, 29950, 1955, 20700, 17705, 6181, 15842, 13, 29937, 13764, 29979, 317, 4162, 8426, 1964, 29892, 22471, 26282, 29892, 2672, 4571, 26282, 29892, 6323, 8707, 1660, 13356, 3919, 25758, 21330, 1529, 1692, 29903, 6323, 13764, 29979, 21330, 1529, 1692, 29903, 13, 29937, 12317, 1299, 6156, 29923, 5348, 390, 2890, 8647, 4214, 3895, 11247, 1799, 8079, 501, 1660, 29892, 360, 8254, 6323, 13756, 29943, 1806, 29903, 29892, 12317, 2544, 4448, 2672, 13764, 13, 29937, 319, 9838, 8079, 8707, 29911, 4717, 1783, 29892, 405, 11787, 5265, 24647, 4741, 6323, 438, 29911, 4448, 323, 8476, 5971, 3308, 319, 9838, 29892, 9033, 3235, 4214, 19474, 8079, 13, 29937, 6323, 2672, 8707, 8186, 9838, 22659, 6093, 501, 1660, 6323, 349, 1001, 22051, 27616, 4741, 8079, 3446, 3235, 7791, 7818, 12982, 1525, 29889, 13, 13, 15945, 29908, 29909, 14476, 2820, 1014, 5014, 363, 2560, 740, 29899, 4561, 1889, 5432, 29889, 13, 13, 1576, 1667, 2130, 1298, 338, 278, 11187, 845, 29889, 845, 1203, 29889, 13, 13, 1252, 9422, 29901, 13, 1678, 8653, 515, 11187, 845, 1053, 528, 13, 1678, 8653, 528, 29889, 8057, 703, 10994, 29892, 3186, 1159, 13, 1678, 15043, 29892, 3186, 13, 1678, 529, 17640, 845, 29889, 7032, 29901, 2916, 15043, 29892, 3186, 29958, 13, 1678, 8653, 851, 29898, 845, 29889, 8057, 29889, 17885, 545, 29918, 703, 10994, 29892, 3186, 5783, 13, 1678, 525, 10994, 29892, 3186, 29905, 29876, 29915, 13, 1678, 8653, 1051, 29898, 845, 29889, 11762, 29889, 17885, 545, 23538, 29941, 876, 13, 1678, 6024, 29896, 742, 525, 29906, 742, 525, 29941, 2033, 13, 1678, 8653, 528, 29889, 3921, 1540, 29889, 17760, 29918, 2141, 29883, 1242, 388, 580, 13, 268, 903, 27097, 27097, 7652, 29918, 13, 1678, 847, 4683, 366, 3907, 599, 445, 701, 408, 366, 748, 320, 13, 1678, 320, 3412, 29973, 462, 1669, 847, 13, 268, 448, 2683, 2683, 23648, 13, 9651, 320, 259, 6228, 1649, 29985, 13, 632, 320, 29871, 313, 3634, 2144, 7652, 22359, 13, 18884, 313, 1649, 2144, 539, 1723, 29905, 7998, 13, 462, 1678, 3830, 807, 29893, 891, 13, 462, 1678, 3830, 268, 3830, 13, 1678, 529, 17640, 845, 29889, 7032, 29901, 529, 17640, 845, 29889, 7032, 29901, 19717, 29958, 891, 274, 1242, 388, 29958, 13, 13, 2831, 901, 29892, 1074, 5195, 3035, 2303, 29889, 29878, 303, 29889, 13, 15945, 29908, 13, 13, 5215, 4589, 1217, 13, 5215, 2897, 13, 5215, 7182, 13, 5215, 10876, 13, 13, 2202, 29901, 13, 1678, 515, 931, 1053, 21196, 8927, 408, 903, 2230, 29871, 396, 1134, 29901, 11455, 13, 19499, 16032, 2392, 29901, 13, 1678, 515, 931, 1053, 931, 408, 903, 2230, 13, 13, 5215, 1014, 5014, 13, 3166, 1014, 5014, 1053, 349, 29902, 4162, 29892, 6850, 3970, 2692, 13, 361, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29941, 1125, 13, 1678, 515, 1014, 5014, 1053, 5012, 29963, 10074, 13, 13, 20055, 29941, 353, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29897, 13, 13, 17870, 20055, 353, 7700, 13, 361, 19519, 20055, 29901, 13, 1678, 515, 4072, 1053, 29243, 1542, 29871, 396, 694, 25621, 29901, 383, 29946, 29900, 29896, 13, 1678, 515, 19229, 1053, 313, 10773, 29892, 360, 919, 29892, 10663, 29892, 20504, 1061, 29892, 2391, 29892, 341, 20304, 29892, 29871, 396, 694, 25621, 29901, 383, 29946, 29900, 29896, 13, 462, 4706, 1939, 11609, 29892, 28379, 29892, 922, 3910, 29892, 3992, 29892, 13, 462, 4706, 3992, 5971, 29892, 12603, 552, 29892, 5167, 29892, 7761, 29897, 13, 1678, 565, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29953, 1125, 13, 4706, 3767, 10562, 353, 7761, 29961, 1626, 29892, 6262, 29892, 2897, 29889, 2605, 27552, 29962, 13, 1678, 1683, 29901, 13, 4706, 3767, 10562, 353, 7761, 29961, 1626, 29892, 6262, 29962, 13, 13, 1678, 565, 349, 29979, 29941, 29901, 13, 4706, 13763, 1542, 353, 3992, 5971, 13, 1678, 1683, 29901, 13, 4706, 13763, 1542, 353, 10663, 29961, 710, 29962, 13, 13, 1649, 497, 1649, 353, 6024, 6255, 2392, 742, 525, 7032, 742, 525, 6255, 742, 525, 845, 742, 525, 2227, 4162, 742, 525, 1254, 3970, 2692, 742, 13, 965, 525, 2287, 29963, 10074, 2033, 13, 13, 29918, 10810, 29918, 15631, 29925, 2890, 353, 313, 710, 29892, 6262, 29897, 29871, 396, 1134, 29901, 12603, 552, 29961, 1542, 29892, 2023, 29962, 13, 361, 451, 349, 29979, 29941, 29901, 13, 1678, 903, 10810, 29918, 15631, 29925, 2890, 353, 313, 710, 29892, 29104, 29897, 29871, 396, 694, 25621, 29901, 383, 29947, 29906, 29896, 13, 23681, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29953, 1125, 13, 1678, 903, 10810, 29918, 15631, 29925, 2890, 353, 313, 710, 29892, 6262, 29892, 2897, 29889, 2605, 27552, 29897, 13, 13, 13, 1753, 903, 517, 29918, 710, 4561, 29898, 5415, 1125, 13, 1678, 396, 1134, 29901, 313, 10773, 29897, 1599, 3767, 10562, 13, 1678, 9995, 18455, 385, 1203, 304, 263, 1347, 29899, 4561, 1134, 1213, 15945, 13, 1678, 565, 338, 8758, 29898, 5415, 29892, 903, 10810, 29918, 15631, 29925, 2890, 1125, 13, 4706, 396, 4669, 338, 2307, 13907, 363, 1014, 5014, 13, 4706, 736, 5446, 29871, 396, 1134, 29901, 11455, 13, 1678, 396, 9333, 3588, 3618, 393, 505, 385, 6261, 1347, 8954, 13, 1678, 396, 321, 29889, 29887, 29889, 938, 29879, 526, 2691, 29892, 5291, 2701, 526, 451, 13, 1678, 396, 14305, 4019, 368, 17415, 304, 6262, 338, 451, 263, 1781, 2969, 29892, 1852, 29894, 508, 29915, 29873, 1584, 13, 1678, 396, 1712, 1870, 6262, 13, 1678, 565, 679, 5552, 29898, 1853, 29898, 5415, 511, 525, 1649, 710, 1649, 742, 1203, 17255, 710, 1649, 29897, 338, 1203, 17255, 710, 1649, 29901, 13, 4706, 396, 3940, 29901, 445, 1838, 29915, 29873, 664, 373, 10772, 19737, 29871, 29906, 29892, 541, 372, 1838, 29915, 29873, 2867, 3099, 13, 4706, 12020, 20948, 703, 2061, 310, 1134, 525, 8875, 29915, 508, 29915, 29873, 367, 11543, 304, 1347, 29908, 13, 462, 4706, 869, 4830, 29898, 1853, 29898, 5415, 467, 1649, 978, 1649, 876, 13, 1678, 736, 851, 29898, 5415, 29897, 13, 13, 13, 1753, 903, 5510, 29898, 5085, 29892, 29111, 1125, 13, 1678, 396, 1134, 29901, 313, 20529, 29961, 10773, 1402, 341, 20304, 29961, 710, 29892, 3139, 2314, 1599, 20504, 1061, 29961, 5015, 10562, 29962, 13, 1678, 9995, 18455, 5132, 740, 6273, 304, 15143, 679, 3670, 29899, 3293, 1899, 6273, 29889, 13, 13, 1678, 29111, 526, 11543, 773, 278, 1494, 8792, 29901, 13, 1678, 448, 14211, 414, 29883, 2361, 297, 6611, 526, 8611, 491, 12569, 267, 29892, 1363, 12569, 267, 526, 3619, 13, 418, 297, 3987, 541, 451, 6969, 491, 5132, 29889, 13, 1678, 448, 960, 263, 1820, 947, 451, 1369, 411, 263, 12569, 29892, 12569, 267, 526, 8273, 2760, 2729, 373, 278, 13, 418, 1820, 29915, 29879, 3309, 29889, 13, 418, 448, 319, 2323, 2931, 338, 12023, 304, 367, 263, 3273, 2984, 29892, 322, 4947, 697, 12569, 29889, 13, 418, 448, 5901, 6611, 526, 12023, 304, 367, 1472, 3987, 29892, 322, 679, 1023, 12569, 267, 29889, 13, 1678, 448, 960, 278, 995, 338, 278, 7700, 1203, 29892, 278, 2984, 338, 2313, 25600, 29889, 13, 1678, 448, 960, 278, 995, 338, 278, 5852, 1203, 29892, 871, 278, 1820, 338, 7709, 287, 29889, 13, 1678, 448, 13466, 29892, 278, 1820, 338, 7709, 287, 937, 29892, 322, 769, 278, 995, 29892, 11543, 304, 263, 13, 418, 1347, 6521, 372, 29915, 29879, 263, 6262, 1203, 29889, 13, 13, 1678, 6389, 313, 5747, 526, 451, 6262, 29897, 526, 11543, 304, 6031, 322, 7709, 287, 6467, 13, 1678, 443, 15033, 29889, 13, 13, 1678, 8653, 1051, 7373, 5510, 18959, 5431, 742, 289, 29915, 1646, 7464, 9657, 29898, 29916, 29922, 5574, 29892, 343, 29922, 8824, 29892, 12741, 29922, 29906, 29941, 4961, 13, 1678, 6024, 29899, 29916, 742, 525, 489, 27975, 742, 525, 29906, 29941, 742, 525, 5431, 742, 289, 29915, 1646, 2033, 13, 13, 1678, 826, 3174, 29901, 13, 4706, 6389, 29901, 319, 5665, 310, 2602, 284, 6273, 29892, 763, 334, 5085, 29889, 13, 4706, 29111, 29901, 319, 8600, 310, 13553, 6273, 29892, 763, 3579, 19290, 29889, 13, 13, 1678, 612, 969, 29879, 29901, 13, 4706, 6031, 470, 6262, 393, 508, 367, 1304, 408, 1899, 6273, 29889, 13, 1678, 9995, 13, 1678, 363, 1820, 29892, 995, 297, 29111, 29889, 7076, 7295, 13, 13, 4706, 1820, 353, 1820, 29889, 6506, 877, 29918, 742, 17411, 1495, 13, 4706, 565, 451, 1820, 29889, 27382, 2541, 877, 29899, 29374, 13, 9651, 565, 7431, 29898, 1989, 29897, 1275, 29871, 29896, 29901, 13, 18884, 1820, 353, 17411, 29915, 718, 1820, 13, 9651, 1683, 29901, 13, 18884, 1820, 353, 525, 489, 29915, 718, 1820, 13, 13, 4706, 565, 995, 338, 7700, 29901, 13, 9651, 6773, 13, 13, 4706, 565, 995, 338, 5852, 29901, 13, 9651, 7709, 1820, 13, 9651, 6773, 13, 13, 4706, 7709, 1820, 13, 4706, 7709, 903, 517, 29918, 710, 4561, 29898, 1767, 29897, 13, 13, 1678, 363, 1852, 297, 6389, 29901, 13, 4706, 7709, 903, 517, 29918, 710, 4561, 29898, 1191, 29897, 13, 13, 13, 1753, 903, 275, 29918, 690, 9841, 29898, 978, 1125, 13, 1678, 396, 1134, 29901, 313, 710, 29897, 1599, 6120, 13, 1678, 9995, 11609, 3692, 263, 1024, 338, 21676, 491, 11187, 845, 313, 272, 5132, 3528, 467, 15945, 29908, 13, 1678, 736, 1024, 29889, 1975, 2541, 877, 29918, 1495, 322, 7431, 29898, 978, 29897, 1405, 29871, 29906, 13, 13, 13, 361, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29945, 1125, 13, 1678, 903, 5425, 20728, 1964, 29918, 16524, 29903, 353, 426, 13, 4706, 7182, 29889, 978, 29901, 448, 25436, 363, 7182, 297, 7182, 29889, 10140, 1338, 13, 1678, 500, 29871, 396, 1134, 29901, 360, 919, 29961, 710, 29892, 938, 29962, 13, 2870, 29901, 13, 1678, 903, 5425, 20728, 1964, 29918, 16524, 29903, 353, 426, 13, 4706, 1024, 29901, 448, 657, 5552, 29898, 25436, 29892, 1024, 29897, 363, 1024, 297, 4516, 29898, 25436, 29897, 13, 4706, 565, 1024, 29889, 27382, 2541, 877, 5425, 29954, 1495, 322, 22868, 29915, 451, 297, 1024, 13, 1678, 500, 29871, 396, 1134, 29901, 360, 919, 29961, 710, 29892, 938, 29962, 13, 13, 29918, 5425, 20728, 1964, 29918, 5813, 29903, 353, 426, 13, 1678, 995, 29901, 1024, 363, 1024, 29892, 995, 297, 903, 5425, 20728, 1964, 29918, 16524, 29903, 29889, 7076, 580, 13, 29913, 29871, 396, 1134, 29901, 360, 919, 29961, 524, 29892, 851, 29962, 13, 13, 13, 1990, 10516, 2392, 29898, 2451, 1125, 13, 1678, 9995, 29934, 1759, 287, 746, 263, 1899, 8465, 29889, 13, 13, 1678, 910, 770, 338, 6336, 19481, 287, 363, 1422, 736, 11561, 29889, 13, 1678, 376, 19499, 10516, 2392, 6160, 1736, 29892, 541, 901, 2702, 11415, 508, 367, 2309, 13, 1678, 411, 321, 29889, 29887, 29889, 376, 19499, 10516, 2392, 29889, 401, 29898, 29896, 29900, 29897, 1642, 13, 1678, 9995, 13, 1678, 903, 1491, 13203, 353, 6571, 29871, 396, 1134, 29901, 360, 919, 29961, 524, 29892, 5167, 29961, 6255, 2392, 5262, 13, 1678, 736, 401, 353, 6213, 13, 13, 1678, 822, 4770, 1482, 12035, 25932, 29892, 736, 401, 29892, 1889, 1125, 13, 4706, 396, 1134, 29901, 313, 1542, 29961, 6255, 2392, 1402, 938, 29892, 10554, 29897, 1599, 10516, 2392, 13, 4706, 19481, 353, 10516, 2392, 29889, 401, 29898, 2457, 401, 29897, 13, 4706, 736, 2428, 29898, 6255, 2392, 29892, 1067, 29879, 467, 1649, 1482, 12035, 1491, 1990, 29897, 29871, 396, 1134, 29901, 11455, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 736, 401, 29892, 1889, 1125, 13, 4706, 396, 1134, 29901, 313, 524, 29892, 10554, 29897, 1599, 6213, 13, 4706, 2428, 29898, 6255, 2392, 29892, 1583, 467, 1649, 2344, 12035, 2457, 401, 29892, 1889, 29897, 13, 4706, 1583, 29889, 2457, 401, 353, 736, 401, 13, 4706, 1583, 29889, 5014, 353, 1889, 13, 13, 1678, 822, 4770, 710, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 851, 13, 4706, 565, 338, 8758, 29898, 1311, 29889, 5014, 29889, 5085, 29892, 903, 10810, 29918, 15631, 29925, 2890, 1125, 13, 9651, 1899, 353, 1583, 29889, 5014, 29889, 5085, 13, 4706, 1683, 29901, 13, 9651, 1899, 353, 525, 15300, 7122, 29898, 710, 29898, 1191, 29897, 363, 1852, 297, 1583, 29889, 5014, 29889, 5085, 29897, 13, 4706, 565, 1583, 29889, 2457, 401, 297, 903, 5425, 20728, 1964, 29918, 5813, 29903, 29901, 13, 9651, 4556, 353, 903, 5425, 20728, 1964, 29918, 5813, 29903, 29961, 1311, 29889, 2457, 401, 29962, 13, 4706, 1683, 29901, 13, 9651, 4556, 353, 376, 4882, 775, 6571, 1642, 4830, 29898, 1311, 29889, 2457, 401, 29897, 13, 4706, 736, 376, 6255, 525, 8875, 29915, 5229, 411, 6571, 1642, 4830, 29898, 6519, 29892, 4556, 29897, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 775, 29898, 25932, 29892, 736, 401, 1125, 13, 4706, 396, 1134, 29901, 313, 19986, 29961, 524, 29892, 851, 2314, 1599, 5167, 29961, 6255, 2392, 29962, 13, 4706, 9995, 2577, 263, 19481, 363, 385, 1059, 775, 1213, 15945, 13, 4706, 736, 401, 29892, 1804, 420, 353, 1067, 29879, 29889, 8945, 675, 29918, 401, 29898, 2457, 401, 29897, 13, 4706, 565, 736, 401, 451, 297, 1067, 29879, 3032, 1491, 13203, 29901, 13, 9651, 822, 4770, 1482, 1649, 10456, 3383, 3579, 1649, 1125, 13, 18884, 396, 1134, 29901, 3070, 10773, 29892, 3579, 10773, 29897, 1599, 1939, 11609, 13, 18884, 12020, 20948, 703, 29089, 25112, 10516, 2392, 1014, 13203, 1159, 13, 9651, 2380, 353, 1804, 420, 565, 1804, 420, 1683, 736, 401, 13, 9651, 1024, 353, 29850, 4400, 29912, 29991, 29878, 6525, 1642, 4830, 29898, 25932, 17255, 978, 1649, 29892, 2380, 29897, 13, 9651, 5144, 353, 11117, 1649, 1482, 1649, 2396, 4770, 1482, 1649, 29892, 525, 2457, 401, 2396, 736, 401, 29913, 13, 9651, 19481, 353, 1134, 29898, 978, 29892, 313, 25932, 29892, 511, 5144, 29897, 29871, 396, 1134, 29901, 5167, 29961, 6255, 2392, 29962, 13, 9651, 1067, 29879, 3032, 1491, 13203, 29889, 842, 4381, 29898, 2457, 401, 29892, 19481, 29897, 13, 4706, 736, 1067, 29879, 3032, 1491, 13203, 29961, 2457, 401, 29962, 13, 13, 1678, 4770, 1990, 29918, 657, 667, 1649, 353, 775, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 4226, 675, 29918, 401, 29898, 2457, 401, 1125, 13, 4706, 396, 1134, 29901, 313, 19986, 29961, 524, 29892, 851, 2314, 1599, 12603, 552, 29961, 524, 29892, 28379, 29961, 710, 5262, 13, 4706, 9995, 19077, 675, 385, 6876, 775, 470, 7182, 1024, 1213, 15945, 13, 4706, 565, 338, 8758, 29898, 2457, 401, 29892, 851, 1125, 13, 9651, 565, 736, 401, 297, 903, 5425, 20728, 1964, 29918, 16524, 29903, 29901, 13, 18884, 736, 903, 5425, 20728, 1964, 29918, 16524, 29903, 29961, 2457, 401, 1402, 736, 401, 13, 9651, 12020, 7865, 2392, 703, 14148, 7182, 6571, 1642, 4830, 29898, 2457, 401, 876, 13, 4706, 25342, 338, 8758, 29898, 2457, 401, 29892, 938, 1125, 13, 9651, 565, 736, 401, 297, 903, 5425, 20728, 1964, 29918, 5813, 29903, 29901, 13, 18884, 736, 736, 401, 29892, 903, 5425, 20728, 1964, 29918, 5813, 29903, 29961, 2457, 401, 29962, 13, 9651, 736, 736, 401, 29892, 6213, 13, 4706, 12020, 20948, 13, 13, 13, 1990, 10554, 29898, 1491, 5014, 29889, 29925, 3150, 1125, 13, 1678, 9995, 29909, 19481, 310, 1014, 5014, 29889, 29925, 3150, 411, 6775, 6030, 29889, 13, 13, 1678, 12037, 287, 304, 367, 1304, 1549, 11187, 845, 29889, 6255, 29889, 13, 13, 1678, 11842, 9331, 29901, 13, 4706, 6389, 29901, 319, 1347, 29892, 470, 263, 5665, 310, 1824, 6273, 29889, 13, 4706, 1423, 29901, 26460, 304, 12020, 385, 3682, 565, 278, 1824, 429, 1169, 411, 10672, 29889, 13, 4706, 12464, 29901, 319, 10554, 2777, 304, 1303, 278, 1962, 310, 322, 4480, 363, 29892, 408, 297, 263, 13, 795, 16439, 29889, 13, 4706, 1881, 29901, 3630, 304, 2436, 964, 278, 3918, 1881, 310, 278, 1889, 29889, 1815, 367, 13, 1669, 2845, 1426, 470, 6262, 29889, 13, 4706, 4480, 29901, 26460, 304, 4480, 2745, 278, 1889, 338, 7743, 746, 13213, 1218, 29889, 13, 4706, 11815, 29901, 1128, 1472, 304, 4480, 1434, 29263, 263, 5974, 449, 9544, 2859, 3682, 29889, 13, 4706, 10446, 29918, 25393, 29901, 26460, 304, 10446, 3918, 1962, 29889, 13, 462, 4706, 10785, 294, 363, 27591, 29922, 2227, 4162, 29889, 13, 4706, 10446, 29918, 303, 20405, 29901, 26460, 304, 10446, 3918, 1059, 29889, 13, 462, 4706, 10785, 294, 363, 380, 20405, 29922, 2227, 4162, 29889, 13, 4706, 9049, 5085, 29901, 11842, 9331, 304, 367, 4502, 304, 1014, 5014, 29889, 29925, 3150, 29915, 29879, 2847, 3950, 29889, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 13, 462, 6389, 29892, 3986, 396, 1134, 29901, 1014, 5014, 3032, 29907, 5773, 13, 462, 1423, 29922, 5574, 29892, 1678, 396, 1134, 29901, 6120, 13, 462, 12464, 29922, 8516, 29892, 268, 396, 1134, 29901, 28379, 29961, 7032, 29962, 13, 462, 1881, 29922, 8516, 29892, 1678, 396, 1134, 29901, 28379, 29961, 19986, 29961, 13193, 29892, 3992, 5262, 13, 462, 4480, 29922, 8824, 29892, 1678, 396, 1134, 29901, 6120, 13, 462, 11815, 29922, 8516, 29892, 29871, 396, 1134, 29901, 28379, 29961, 7411, 29962, 13, 462, 10446, 29918, 25393, 29922, 8824, 29892, 29871, 396, 1134, 29901, 6120, 13, 462, 10446, 29918, 303, 20405, 29922, 8824, 29892, 29871, 396, 1134, 29901, 6120, 13, 462, 3579, 19290, 539, 396, 1134, 29901, 3139, 13, 462, 29871, 1125, 13, 4706, 396, 1134, 29901, 313, 11410, 1599, 6213, 13, 4706, 565, 9049, 5085, 29889, 657, 877, 15903, 1495, 322, 451, 338, 8758, 29898, 5085, 29892, 903, 10810, 29918, 15631, 29925, 2890, 1125, 13, 9651, 396, 910, 338, 13543, 322, 451, 1407, 5407, 29892, 541, 925, 297, 1206, 13, 9651, 6389, 353, 525, 15300, 7122, 29898, 710, 29898, 1191, 29897, 363, 1852, 297, 6389, 29897, 13, 9651, 396, 3767, 919, 368, 13590, 29892, 445, 16706, 24521, 411, 349, 3150, 29892, 607, 13, 9651, 396, 925, 24138, 6796, 29914, 2109, 29914, 845, 613, 11663, 29883, 3108, 718, 6389, 1156, 4226, 5281, 6389, 13, 9651, 396, 304, 263, 1051, 29889, 13, 9651, 396, 1551, 590, 1788, 29892, 1014, 5014, 29889, 29925, 3150, 18959, 8057, 742, 525, 5431, 7464, 6473, 29922, 5574, 29897, 13, 9651, 396, 17583, 24138, 376, 8057, 613, 1728, 278, 7953, 29889, 1205, 393, 13, 9651, 396, 3153, 376, 14394, 29908, 338, 2360, 553, 27797, 363, 445, 3883, 29889, 13, 4706, 565, 349, 29979, 29941, 29901, 13, 9651, 396, 14402, 29901, 372, 723, 367, 7575, 304, 3349, 445, 24345, 13, 9651, 396, 7198, 337, 29899, 3150, 278, 2066, 297, 1426, 4464, 297, 4770, 710, 1649, 322, 4770, 1524, 1649, 29973, 13, 9651, 396, 319, 716, 5352, 29973, 319, 716, 2875, 29973, 13, 9651, 565, 9049, 5085, 29889, 657, 877, 14540, 284, 29918, 1482, 9012, 742, 5852, 29897, 338, 451, 5852, 29901, 13, 18884, 12020, 7865, 2392, 703, 6028, 29915, 29873, 5712, 15968, 29918, 1482, 9012, 1159, 13, 9651, 9049, 5085, 1839, 14540, 284, 29918, 1482, 9012, 2033, 353, 5852, 13, 13, 4706, 565, 12464, 338, 451, 6213, 29901, 13, 9651, 565, 9049, 5085, 29889, 657, 877, 4172, 262, 1495, 338, 451, 6213, 29901, 13, 18884, 12020, 7865, 2392, 703, 6028, 29915, 29873, 14282, 322, 731, 3659, 262, 472, 278, 1021, 931, 1159, 13, 9651, 9049, 5085, 1839, 4172, 262, 2033, 353, 12464, 29889, 25393, 13, 4706, 565, 1881, 338, 451, 6213, 29901, 13, 9651, 565, 9049, 5085, 29889, 657, 877, 4172, 262, 1495, 338, 451, 6213, 29901, 13, 18884, 12020, 7865, 2392, 703, 6028, 29915, 29873, 1881, 322, 731, 3659, 262, 472, 278, 1021, 931, 1159, 13, 9651, 9049, 5085, 1839, 4172, 262, 2033, 353, 349, 29902, 4162, 13, 13, 4706, 565, 10446, 29918, 25393, 29901, 13, 9651, 565, 9049, 5085, 29889, 657, 877, 25393, 1495, 338, 451, 6213, 29901, 13, 18884, 12020, 7865, 2392, 703, 6028, 29915, 29873, 10446, 27591, 565, 6684, 292, 372, 1159, 13, 9651, 9049, 5085, 1839, 25393, 2033, 353, 349, 29902, 4162, 13, 4706, 565, 10446, 29918, 303, 20405, 29901, 13, 9651, 565, 9049, 5085, 29889, 657, 877, 303, 20405, 1495, 338, 451, 6213, 29901, 13, 18884, 12020, 7865, 2392, 703, 6028, 29915, 29873, 10446, 380, 20405, 565, 6684, 292, 372, 1159, 13, 9651, 9049, 5085, 1839, 303, 20405, 2033, 353, 349, 29902, 4162, 13, 13, 4706, 2428, 29898, 7032, 29892, 1583, 467, 1649, 2344, 12035, 5085, 29892, 3579, 19290, 29897, 13, 4706, 1583, 29889, 3198, 353, 1423, 13, 4706, 1583, 29889, 18237, 353, 12464, 13, 4706, 565, 1583, 29889, 18237, 338, 451, 6213, 29901, 13, 9651, 1583, 29889, 4172, 262, 353, 1583, 29889, 18237, 29889, 4172, 262, 13, 4706, 565, 451, 756, 5552, 29898, 1311, 29892, 525, 5085, 29374, 13, 9651, 1583, 29889, 5085, 353, 6389, 13, 13, 4706, 565, 1881, 338, 451, 6213, 29901, 13, 9651, 565, 1583, 29889, 4172, 262, 338, 6213, 29901, 13, 18884, 12020, 20948, 703, 23323, 29876, 29915, 29873, 1284, 3659, 262, 1159, 13, 9651, 1018, 29901, 13, 18884, 565, 349, 29979, 29941, 322, 338, 8758, 29898, 2080, 29892, 6262, 1125, 13, 462, 1678, 1583, 29889, 4172, 262, 29889, 9040, 29889, 3539, 29898, 2080, 29897, 29871, 396, 1134, 29901, 11455, 13, 18884, 1683, 29901, 13, 462, 1678, 1583, 29889, 4172, 262, 29889, 3539, 29898, 2080, 29897, 13, 9651, 5174, 10663, 2392, 408, 5566, 29901, 13, 18884, 565, 5566, 29889, 3127, 1217, 451, 297, 426, 3127, 1217, 29889, 29923, 1177, 8932, 29892, 4589, 1217, 29889, 29923, 2227, 4162, 6177, 13, 462, 1678, 12020, 13, 9651, 7146, 29901, 13, 18884, 1583, 29889, 4172, 262, 29889, 5358, 580, 13, 13, 4706, 565, 4480, 470, 11815, 338, 451, 6213, 29901, 13, 9651, 565, 11815, 338, 451, 6213, 29901, 13, 18884, 1583, 29889, 10685, 29898, 15619, 29922, 15619, 29897, 13, 9651, 1683, 29901, 13, 18884, 1583, 29889, 10685, 580, 13, 9651, 565, 1583, 29889, 3198, 29901, 13, 18884, 1583, 29889, 3198, 29918, 2457, 401, 580, 13, 13, 1678, 732, 6799, 13, 1678, 822, 15468, 29898, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 13763, 1542, 13, 4706, 9995, 2577, 278, 1962, 4840, 393, 29915, 29879, 1641, 15468, 1213, 15945, 13, 4706, 565, 1583, 29889, 25393, 322, 1583, 29889, 303, 20405, 29901, 13, 9651, 396, 11647, 1795, 313, 23147, 2197, 29897, 2149, 15468, 304, 2130, 1716, 565, 445, 13, 9651, 396, 338, 1950, 13, 9651, 12020, 23833, 2392, 703, 21133, 3864, 1716, 27591, 322, 380, 20405, 29892, 671, 376, 13, 462, 462, 11393, 25393, 322, 869, 303, 20405, 4153, 2012, 1159, 13, 4706, 565, 1583, 29889, 25393, 29901, 13, 9651, 736, 1583, 29889, 25393, 29871, 396, 1134, 29901, 11455, 13, 4706, 565, 1583, 29889, 303, 20405, 29901, 13, 9651, 736, 1583, 29889, 303, 20405, 29871, 396, 1134, 29901, 11455, 13, 4706, 12020, 23833, 2392, 703, 3664, 4332, 3864, 738, 1962, 1159, 13, 13, 1678, 822, 4770, 276, 558, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 851, 13, 4706, 1852, 29894, 353, 525, 15300, 7122, 29898, 710, 29898, 1191, 29897, 363, 1852, 297, 1583, 29889, 5085, 29897, 13, 4706, 1024, 353, 1134, 29898, 1311, 467, 1649, 5453, 1649, 718, 525, 6169, 718, 1134, 29898, 1311, 467, 1649, 978, 1649, 13, 4706, 565, 1583, 29889, 18237, 338, 6213, 29901, 13, 9651, 736, 9872, 29912, 6177, 6571, 29958, 1642, 4830, 29898, 978, 29892, 1852, 29894, 29897, 13, 4706, 736, 9872, 29912, 6177, 426, 29991, 29878, 29913, 891, 6571, 29958, 1642, 4830, 29898, 978, 29892, 1583, 29889, 18237, 29892, 1852, 29894, 29897, 13, 13, 1678, 822, 4480, 29898, 1311, 29892, 11815, 29922, 8516, 1125, 13, 4706, 396, 1134, 29901, 313, 27636, 29961, 7411, 2314, 1599, 938, 13, 4706, 9995, 15716, 363, 445, 1889, 322, 967, 12464, 313, 361, 738, 29897, 304, 8341, 29889, 13, 13, 4706, 11842, 9331, 29901, 13, 9651, 11815, 29901, 1128, 1784, 6923, 304, 4480, 1434, 29263, 13, 462, 268, 1014, 5014, 29889, 10851, 9544, 2859, 29889, 9333, 6969, 297, 5132, 29871, 29941, 29889, 29941, 29974, 29889, 13, 4706, 9995, 13, 4706, 565, 11815, 338, 6213, 29901, 13, 9651, 565, 1583, 29889, 18237, 338, 451, 6213, 29901, 13, 18884, 1583, 29889, 18237, 29889, 10685, 580, 13, 9651, 736, 2428, 29898, 7032, 29892, 1583, 467, 10685, 580, 13, 4706, 25342, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29941, 1125, 13, 9651, 1677, 29918, 2230, 353, 903, 2230, 580, 13, 9651, 565, 1583, 29889, 18237, 338, 451, 6213, 29901, 13, 18884, 1583, 29889, 18237, 29889, 10685, 29898, 15619, 29922, 15619, 29897, 13, 9651, 1791, 353, 1677, 29918, 2230, 718, 11815, 448, 903, 2230, 580, 13, 9651, 736, 2428, 29898, 7032, 29892, 1583, 467, 10685, 29898, 15619, 29922, 5060, 29897, 13, 4706, 1683, 29901, 13, 9651, 12020, 20948, 703, 15716, 292, 411, 263, 11815, 6858, 5132, 29871, 29941, 29889, 29941, 29974, 1159, 13, 13, 1678, 822, 1423, 29918, 2457, 401, 29898, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 6213, 13, 4706, 9995, 29934, 29874, 895, 263, 10516, 2392, 565, 278, 6876, 775, 338, 1661, 29899, 9171, 1213, 15945, 13, 4706, 736, 401, 353, 1583, 29889, 10685, 580, 13, 4706, 565, 736, 401, 2804, 29871, 29900, 29901, 13, 9651, 12020, 10516, 2392, 29898, 2457, 401, 29892, 1583, 29897, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 10554, 13, 4706, 736, 1583, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 13, 462, 1134, 29892, 418, 396, 1134, 29901, 28379, 29961, 1542, 29961, 5160, 2451, 5262, 13, 462, 995, 29892, 268, 396, 1134, 29901, 28379, 29961, 5160, 2451, 29962, 13, 462, 9637, 1627, 29871, 396, 1134, 29901, 28379, 29961, 11591, 1627, 1542, 29962, 13, 462, 29871, 1125, 13, 4706, 396, 1134, 29901, 313, 11410, 1599, 6120, 13, 4706, 9995, 11123, 599, 20873, 322, 4480, 363, 278, 1889, 304, 8341, 1213, 15945, 13, 4706, 1018, 29901, 13, 9651, 565, 1583, 29889, 18237, 338, 451, 6213, 29901, 13, 18884, 1583, 29889, 18237, 17255, 13322, 12035, 1853, 29892, 995, 29892, 9637, 1627, 29897, 13, 9651, 363, 4840, 297, 1583, 29889, 25393, 29892, 1583, 29889, 303, 20405, 29892, 1583, 29889, 4172, 262, 29901, 13, 18884, 565, 4840, 29901, 13, 462, 1678, 4840, 29889, 5358, 580, 13, 4706, 7146, 29901, 13, 9651, 1583, 29889, 10685, 580, 13, 4706, 565, 1583, 29889, 3198, 29901, 13, 9651, 1583, 29889, 3198, 29918, 2457, 401, 580, 13, 4706, 736, 7700, 13, 13, 1678, 822, 4770, 1524, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 20504, 1061, 29961, 710, 29962, 13, 4706, 9995, 18405, 1549, 278, 3454, 310, 1899, 1962, 29892, 1728, 716, 9012, 1213, 15945, 13, 4706, 411, 1583, 29901, 13, 9651, 363, 1196, 297, 1583, 29889, 17885, 2955, 29901, 13, 18884, 7709, 1196, 29889, 29878, 17010, 28909, 29878, 29905, 29876, 1495, 13, 13, 1678, 822, 4770, 710, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 851, 13, 4706, 9995, 6359, 278, 1962, 310, 278, 1899, 408, 263, 1347, 1213, 15945, 13, 4706, 411, 1583, 29901, 13, 9651, 736, 1583, 29889, 17885, 2955, 29889, 949, 580, 13, 13, 1678, 565, 349, 29979, 29941, 29901, 13, 4706, 822, 4770, 13193, 12035, 1311, 1125, 13, 9651, 396, 1134, 29901, 3861, 1599, 6262, 13, 9651, 9995, 6359, 278, 1962, 310, 278, 1899, 408, 6262, 1213, 15945, 13, 9651, 411, 1583, 29901, 13, 18884, 736, 1583, 29889, 17885, 2955, 29889, 9040, 29889, 949, 580, 13, 13, 1678, 822, 4770, 11227, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 6120, 13, 4706, 9995, 5596, 3692, 278, 1889, 429, 1573, 8472, 1213, 15945, 13, 4706, 736, 1583, 29889, 10685, 580, 1275, 29871, 29900, 13, 13, 1678, 4770, 5464, 9171, 1649, 353, 4770, 11227, 1649, 13, 13, 13, 1990, 10516, 29898, 3318, 1125, 13, 1678, 9995, 29909, 6826, 261, 363, 10554, 8871, 393, 286, 326, 1199, 740, 5717, 29889, 13, 13, 1678, 11842, 9331, 29901, 13, 4706, 6389, 29901, 319, 18761, 310, 1824, 6273, 29889, 13, 4706, 29111, 29901, 7670, 1742, 6273, 304, 1209, 304, 11187, 845, 29889, 7032, 29889, 13, 4706, 9049, 5085, 29901, 12440, 1230, 5877, 363, 29111, 29889, 13, 13, 1678, 512, 1556, 4251, 366, 723, 671, 445, 1549, 278, 758, 29899, 16145, 11187, 29882, 29889, 845, 1203, 29889, 13, 1678, 9995, 13, 1678, 396, 363, 278, 14169, 310, 525, 3166, 11187, 845, 1053, 528, 29915, 13, 1678, 349, 29902, 4162, 29918, 353, 349, 29902, 4162, 13, 1678, 6850, 3970, 2692, 29918, 353, 6850, 3970, 2692, 13, 1678, 565, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29941, 1125, 13, 4706, 5012, 29963, 10074, 29918, 353, 5012, 29963, 10074, 13, 1678, 10516, 2392, 29918, 353, 10516, 2392, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 6389, 29922, 3285, 29111, 29922, 8516, 29892, 3579, 19290, 1125, 13, 4706, 396, 1134, 29901, 313, 23215, 552, 29961, 5015, 10562, 29892, 2023, 1402, 28379, 29961, 21533, 29961, 710, 29892, 3139, 20526, 3579, 10773, 29897, 1599, 6213, 13, 4706, 1583, 29889, 5085, 29918, 353, 6389, 13, 4706, 1583, 29889, 25707, 29918, 353, 6571, 29871, 396, 1134, 29901, 360, 919, 29961, 710, 29892, 3139, 29962, 13, 4706, 565, 29111, 29901, 13, 9651, 1583, 29889, 25707, 5396, 5504, 29898, 25707, 29897, 13, 4706, 1583, 29889, 25707, 5396, 5504, 29898, 19290, 29897, 13, 13, 1678, 822, 4770, 276, 558, 12035, 1311, 1125, 13, 4706, 396, 1134, 29901, 3861, 1599, 851, 13, 4706, 1024, 353, 1134, 29898, 1311, 467, 1649, 5453, 1649, 718, 525, 6169, 718, 1134, 29898, 1311, 467, 1649, 978, 1649, 13, 4706, 736, 29850, 2119, 29912, 29991, 29878, 1118, 426, 29991, 29878, 1800, 1642, 4830, 29898, 978, 29892, 1583, 29889, 5085, 3383, 1583, 29889, 25707, 19925, 13, 13, 1678, 822, 4770, 1837, 12035, 1311, 29892, 916, 1125, 13, 4706, 396, 1134, 29901, 313, 10773, 29897, 1599, 6120, 13, 4706, 736, 313, 1853, 29898, 1311, 29897, 338, 1134, 29898, 1228, 29897, 322, 1583, 29889, 5085, 29918, 1275, 916, 29889, 5085, 29918, 13, 18884, 322, 1583, 29889, 25707, 29918, 1275, 916, 29889, 25707, 19925, 13, 13, 1678, 822, 4770, 657, 5552, 12035, 1311, 29892, 2944, 1125, 13, 4706, 396, 1134, 29901, 313, 710, 29897, 1599, 10516, 13, 4706, 9995, 11609, 263, 716, 2777, 411, 421, 667, 29952, 623, 2760, 304, 278, 2980, 1051, 1213, 15945, 13, 4706, 565, 903, 275, 29918, 690, 9841, 29898, 667, 1125, 13, 9651, 12020, 23833, 2392, 29898, 667, 29897, 13, 4706, 736, 1134, 29898, 1311, 5033, 1311, 29889, 5085, 29918, 718, 313, 667, 29889, 6506, 877, 29918, 742, 17411, 5477, 511, 1583, 29889, 25707, 19925, 13, 13, 1678, 822, 4770, 657, 667, 12035, 1311, 29892, 2380, 1125, 13, 4706, 396, 1134, 29901, 313, 19986, 29961, 10773, 29892, 12603, 552, 29961, 10773, 24960, 1599, 10516, 13, 4706, 9995, 11609, 263, 716, 2777, 411, 2380, 623, 2760, 304, 278, 2980, 1051, 29889, 13, 13, 4706, 2380, 674, 367, 4320, 304, 263, 13907, 1134, 565, 5181, 29889, 13, 13, 4706, 9134, 421, 6519, 29961, 1191, 7961, 322, 421, 6519, 29961, 1191, 29896, 29892, 1852, 29906, 29892, 1852, 29941, 7961, 526, 6969, 29889, 13, 4706, 9995, 13, 4706, 565, 451, 338, 8758, 29898, 2248, 29892, 18761, 1125, 13, 9651, 2380, 353, 313, 2248, 29892, 29897, 13, 4706, 2380, 353, 18761, 7373, 517, 29918, 710, 4561, 29898, 667, 29897, 363, 2944, 297, 2380, 29897, 13, 4706, 736, 1134, 29898, 1311, 5033, 1311, 29889, 5085, 29918, 718, 2380, 29892, 1583, 29889, 25707, 19925, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 334, 5085, 29892, 3579, 25707, 1125, 13, 4706, 396, 1134, 29901, 3070, 10773, 29892, 3579, 10773, 29897, 1599, 10554, 13, 4706, 9995, 17641, 263, 716, 2777, 310, 10554, 29889, 13, 13, 4706, 6389, 322, 29111, 674, 367, 11543, 304, 313, 29954, 11601, 29897, 679, 3670, 29914, 1191, 5510, 29899, 3293, 1899, 13, 4706, 6273, 29889, 2398, 29892, 13553, 6273, 17140, 297, 385, 23400, 3221, 674, 367, 13, 4706, 4502, 313, 14037, 278, 23400, 3221, 29897, 304, 278, 2847, 3950, 310, 10554, 2012, 29889, 13, 13, 4706, 2648, 2322, 29892, 445, 1158, 11324, 1169, 2745, 278, 1889, 338, 7743, 29889, 1763, 736, 13, 4706, 7389, 29892, 1209, 4480, 29918, 29922, 8824, 29889, 13, 13, 4706, 528, 29889, 5431, 877, 1646, 742, 12741, 29922, 29941, 29892, 274, 9970, 29918, 2433, 29914, 1495, 338, 7126, 304, 13, 4706, 10554, 29898, 877, 5431, 742, 525, 489, 27975, 742, 525, 29941, 742, 525, 1646, 5477, 274, 9970, 2433, 29914, 1495, 13, 4706, 9995, 13, 4706, 1889, 29918, 19290, 353, 1583, 29889, 25707, 5396, 8552, 580, 13, 4706, 9920, 29918, 25707, 353, 6571, 13, 4706, 363, 1820, 29892, 995, 297, 29111, 29889, 7076, 7295, 13, 9651, 565, 903, 275, 29918, 690, 9841, 29898, 1989, 1125, 13, 18884, 1889, 29918, 19290, 29961, 1989, 7503, 29899, 29896, 5262, 353, 995, 13, 9651, 1683, 29901, 13, 18884, 9920, 29918, 25707, 29961, 1989, 29962, 353, 995, 13, 4706, 1852, 29894, 353, 1583, 29889, 5085, 29918, 718, 18761, 7373, 5510, 29898, 5085, 29892, 9920, 29918, 25707, 876, 13, 4706, 396, 20340, 491, 2322, 746, 773, 445, 5067, 13, 4706, 1889, 29918, 19290, 29889, 842, 4381, 877, 10685, 742, 5852, 29897, 13, 4706, 736, 10554, 29898, 19218, 29892, 3579, 5014, 29918, 19290, 29897, 13, 13, 1678, 822, 14282, 23538, 1311, 29892, 334, 5085, 29892, 3579, 25707, 1125, 13, 4706, 396, 1134, 29901, 3070, 10773, 29892, 3579, 10773, 29897, 1599, 10516, 13, 4706, 9995, 17641, 385, 2777, 310, 10554, 408, 760, 310, 263, 16439, 29889, 13, 13, 4706, 16969, 263, 716, 10516, 1203, 304, 6826, 263, 1889, 304, 6773, 29889, 13, 4706, 9995, 13, 4706, 396, 4480, 29918, 29922, 8824, 322, 1423, 29918, 29922, 8824, 526, 21274, 29892, 27591, 29918, 29922, 2227, 4162, 338, 9619, 7606, 13, 4706, 29111, 29889, 842, 4381, 877, 10685, 29918, 742, 7700, 29897, 13, 4706, 29111, 29889, 842, 4381, 877, 3198, 29918, 742, 7700, 29897, 13, 4706, 1889, 353, 1583, 10456, 5085, 29892, 27591, 29918, 29922, 2227, 4162, 29892, 3579, 25707, 29897, 13, 4706, 736, 1134, 29898, 1311, 5033, 25707, 29922, 1311, 29889, 25707, 3383, 12464, 29922, 5014, 29897, 13, 13, 1678, 822, 10446, 23538, 1311, 29892, 334, 5085, 29892, 3579, 25707, 1125, 13, 4706, 396, 1134, 29901, 3070, 10773, 29892, 3579, 10773, 29897, 1599, 10554, 13, 4706, 9995, 17641, 385, 2777, 310, 10554, 304, 10446, 967, 1962, 1213, 15945, 13, 4706, 29111, 29889, 842, 4381, 877, 10685, 29918, 742, 7700, 29897, 13, 4706, 736, 1583, 10456, 5085, 29892, 27591, 29918, 29922, 2227, 4162, 29892, 3579, 25707, 29897, 13, 13, 1678, 822, 1243, 23538, 1311, 29892, 334, 5085, 29892, 3579, 25707, 1125, 13, 4706, 396, 1134, 29901, 3070, 10773, 29892, 3579, 10773, 29897, 1599, 10554, 13, 4706, 9995, 17641, 385, 2777, 310, 10554, 304, 1243, 3692, 372, 9269, 29879, 1213, 15945, 13, 4706, 29111, 29889, 842, 4381, 877, 3198, 29918, 742, 7700, 29897, 13, 4706, 736, 1583, 10456, 5085, 29892, 3579, 25707, 29897, 13, 13, 1678, 565, 10876, 29889, 3259, 29918, 3888, 6736, 313, 29941, 29892, 29871, 29941, 1125, 13, 4706, 396, 9642, 6910, 508, 29915, 29873, 437, 2428, 2141, 1649, 3972, 1649, 13, 4706, 822, 4770, 3972, 12035, 1311, 1125, 13, 9651, 396, 1134, 29901, 3861, 1599, 2391, 29961, 710, 29962, 13, 9651, 9995, 1184, 29894, 680, 23611, 4469, 5729, 12757, 29889, 4309, 359, 873, 2729, 373, 528, 4422, 29889, 4716, 1213, 15945, 13, 9651, 18028, 353, 1051, 29898, 9136, 29898, 6255, 29892, 1583, 467, 1649, 3972, 1649, 3101, 13, 9651, 565, 1583, 29889, 5085, 29918, 29901, 13, 18884, 736, 18028, 13, 9651, 4464, 353, 2897, 29889, 29943, 29918, 8949, 891, 2897, 29889, 29990, 29918, 8949, 13, 9651, 2224, 353, 2897, 29889, 21813, 29889, 657, 877, 10145, 742, 2897, 29889, 1753, 2084, 467, 5451, 29898, 359, 29889, 2084, 19570, 29897, 13, 9651, 363, 3884, 297, 4175, 29898, 359, 29889, 2084, 29889, 275, 3972, 29892, 2224, 1125, 13, 18884, 363, 10422, 297, 2897, 29889, 1761, 3972, 29898, 12322, 1125, 13, 462, 1678, 285, 2084, 353, 2897, 29889, 2084, 29889, 7122, 29898, 12322, 29892, 10422, 29897, 13, 462, 1678, 565, 2897, 29889, 2084, 29889, 275, 1445, 29898, 29888, 2084, 29897, 322, 2897, 29889, 5943, 29898, 29888, 2084, 29892, 4464, 1125, 13, 462, 4706, 18028, 29889, 4397, 29898, 9507, 29889, 6506, 877, 29899, 742, 22868, 8785, 13, 9651, 736, 18028, 13, 13, 13, 845, 353, 10516, 580, 13, 2 ]
legocollector/inventory/management/commands/import_ldraw_processed_parts.py
ericziethen/legocollector
1
98060
import json import logging import os from django.core.management.base import BaseCommand from django.db import transaction from inventory.models import Part, PartExternalId logger = logging.getLogger(__name__) # pylint: disable=invalid-name class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('json_file_path', type=str) def handle(self, *args, **options): json_file_path = options['json_file_path'] json_dic = {} if os.path.exists(json_file_path): with open(json_file_path, 'r', encoding='utf-8') as file_ptr: json_dic = json.load(file_ptr) else: logger.error(F'ERROR - Json file "{json_file_path}" does not exist') self.import_ldraw_data(json_dic) @staticmethod def import_ldraw_data(data_dic): logger.info('Importing Ldraw Data') parts_processed_counts = 0 part_list = Part.objects.values_list('part_num', flat=True) ldraw_external_ids = [ e.external_id for e in PartExternalId.objects.filter(provider=PartExternalId.LDRAW)] parts_not_found_list = [] with transaction.atomic(): for part_num, part_dic in data_dic.items(): # pylint: disable=too-many-nested-blocks part_list = [] if part_num in ldraw_external_ids: part_list = [e.part for e in PartExternalId.objects.filter( provider=PartExternalId.LDRAW, external_id=part_num)] else: part = Part.objects.filter(part_num=part_num).first() if part: part_list.append(part) else: parts_not_found_list.append(part_num) for part in part_list: if "processing_errors" not in part_dic: part.top_studs = part_dic['top_top_studs'] part.bottom_studs = part_dic['bottom_studs'] part.stud_rings = part_dic['stud_ring_count'] part.save() parts_processed_counts += 1 if (parts_processed_counts % 1000) == 0: logger.info(F' {parts_processed_counts} Parts Processed') logger.info(F'Parts not Found:\n{sorted(parts_not_found_list)}') logger.info(F'Total of {parts_processed_counts} DB Parts Processed')
[ 1, 1053, 4390, 13, 5215, 12183, 13, 5215, 2897, 13, 13, 3166, 9557, 29889, 3221, 29889, 21895, 29889, 3188, 1053, 7399, 6255, 13, 3166, 9557, 29889, 2585, 1053, 10804, 13, 13, 3166, 11817, 706, 29889, 9794, 1053, 3455, 29892, 3455, 25865, 1204, 13, 13, 21707, 353, 12183, 29889, 657, 16363, 22168, 978, 1649, 29897, 29871, 396, 282, 2904, 524, 29901, 11262, 29922, 20965, 29899, 978, 13, 13, 13, 1990, 10516, 29898, 5160, 6255, 1125, 13, 13, 1678, 822, 788, 29918, 25699, 29898, 1311, 29892, 13812, 1125, 13, 4706, 13812, 29889, 1202, 29918, 23516, 877, 3126, 29918, 1445, 29918, 2084, 742, 1134, 29922, 710, 29897, 13, 13, 1678, 822, 4386, 29898, 1311, 29892, 334, 5085, 29892, 3579, 6768, 1125, 13, 4706, 4390, 29918, 1445, 29918, 2084, 353, 3987, 1839, 3126, 29918, 1445, 29918, 2084, 2033, 13, 13, 4706, 4390, 29918, 27774, 353, 6571, 13, 4706, 565, 2897, 29889, 2084, 29889, 9933, 29898, 3126, 29918, 1445, 29918, 2084, 1125, 13, 9651, 411, 1722, 29898, 3126, 29918, 1445, 29918, 2084, 29892, 525, 29878, 742, 8025, 2433, 9420, 29899, 29947, 1495, 408, 934, 29918, 7414, 29901, 13, 18884, 4390, 29918, 27774, 353, 4390, 29889, 1359, 29898, 1445, 29918, 7414, 29897, 13, 4706, 1683, 29901, 13, 9651, 17927, 29889, 2704, 29898, 29943, 29915, 11432, 448, 14355, 934, 29850, 3126, 29918, 1445, 29918, 2084, 5038, 947, 451, 1863, 1495, 13, 13, 4706, 1583, 29889, 5215, 29918, 430, 1610, 29918, 1272, 29898, 3126, 29918, 27774, 29897, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 1053, 29918, 430, 1610, 29918, 1272, 29898, 1272, 29918, 27774, 1125, 13, 4706, 17927, 29889, 3888, 877, 17518, 292, 365, 4012, 3630, 1495, 13, 4706, 5633, 29918, 5014, 287, 29918, 2798, 29879, 353, 29871, 29900, 13, 4706, 760, 29918, 1761, 353, 3455, 29889, 12650, 29889, 5975, 29918, 1761, 877, 1595, 29918, 1949, 742, 12151, 29922, 5574, 29897, 13, 13, 4706, 301, 4012, 29918, 23176, 29918, 4841, 353, 518, 13, 9651, 321, 29889, 23176, 29918, 333, 363, 321, 297, 3455, 25865, 1204, 29889, 12650, 29889, 4572, 29898, 18121, 29922, 7439, 25865, 1204, 29889, 10249, 4717, 29956, 4638, 13, 13, 4706, 5633, 29918, 1333, 29918, 11940, 29918, 1761, 353, 5159, 13, 13, 4706, 411, 10804, 29889, 21641, 7295, 13, 9651, 363, 760, 29918, 1949, 29892, 760, 29918, 27774, 297, 848, 29918, 27774, 29889, 7076, 7295, 29871, 396, 282, 2904, 524, 29901, 11262, 29922, 517, 29877, 29899, 13011, 29899, 27420, 29899, 1271, 29879, 13, 18884, 760, 29918, 1761, 353, 5159, 13, 18884, 565, 760, 29918, 1949, 297, 301, 4012, 29918, 23176, 29918, 4841, 29901, 13, 462, 1678, 760, 29918, 1761, 353, 518, 29872, 29889, 1595, 363, 321, 297, 3455, 25865, 1204, 29889, 12650, 29889, 4572, 29898, 13, 462, 4706, 13113, 29922, 7439, 25865, 1204, 29889, 10249, 4717, 29956, 29892, 7029, 29918, 333, 29922, 1595, 29918, 1949, 4638, 13, 18884, 1683, 29901, 13, 462, 1678, 760, 353, 3455, 29889, 12650, 29889, 4572, 29898, 1595, 29918, 1949, 29922, 1595, 29918, 1949, 467, 4102, 580, 13, 462, 1678, 565, 760, 29901, 13, 462, 4706, 760, 29918, 1761, 29889, 4397, 29898, 1595, 29897, 13, 462, 1678, 1683, 29901, 13, 462, 4706, 5633, 29918, 1333, 29918, 11940, 29918, 1761, 29889, 4397, 29898, 1595, 29918, 1949, 29897, 13, 13, 18884, 363, 760, 297, 760, 29918, 1761, 29901, 13, 462, 1678, 565, 376, 19170, 29918, 12523, 29908, 451, 297, 760, 29918, 27774, 29901, 13, 462, 4706, 760, 29889, 3332, 29918, 18082, 29879, 353, 760, 29918, 27774, 1839, 3332, 29918, 3332, 29918, 18082, 29879, 2033, 13, 462, 4706, 760, 29889, 8968, 29918, 18082, 29879, 353, 760, 29918, 27774, 1839, 8968, 29918, 18082, 29879, 2033, 13, 462, 4706, 760, 29889, 18082, 29918, 29878, 886, 353, 760, 29918, 27774, 1839, 18082, 29918, 5393, 29918, 2798, 2033, 13, 462, 4706, 760, 29889, 7620, 580, 13, 13, 462, 1678, 5633, 29918, 5014, 287, 29918, 2798, 29879, 4619, 29871, 29896, 13, 462, 1678, 565, 313, 20895, 29918, 5014, 287, 29918, 2798, 29879, 1273, 29871, 29896, 29900, 29900, 29900, 29897, 1275, 29871, 29900, 29901, 13, 462, 4706, 17927, 29889, 3888, 29898, 29943, 29915, 29871, 426, 20895, 29918, 5014, 287, 29918, 2798, 29879, 29913, 3455, 29879, 10554, 287, 1495, 13, 13, 4706, 17927, 29889, 3888, 29898, 29943, 29915, 29925, 5708, 451, 7460, 3583, 29876, 29912, 24582, 29898, 20895, 29918, 1333, 29918, 11940, 29918, 1761, 2915, 1495, 13, 4706, 17927, 29889, 3888, 29898, 29943, 29915, 11536, 310, 426, 20895, 29918, 5014, 287, 29918, 2798, 29879, 29913, 6535, 3455, 29879, 10554, 287, 1495, 13, 2 ]
rango/views.py
farschmessivo/ranco
0
91043
from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from rango.models import Category, Page from rango.forms import CategoryForm, PageForm from rango.forms import UserForm, UserProfileForm from django.core.urlresolvers import reverse from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from datetime import datetime from rango.webhose_search import run_query def index(request): # request.session.set_test_cookie() # Query the database for a list of ALL categories currently stored. # Order the categories by no. likes in descending order. # Retrieve the top 5 only - or all if less than 5. # Place the list in our context_dict dictionary # that will be passed to the template engine. category_list = Category.objects.order_by('-likes')[:5] pages_list = Page.objects.order_by('-views')[:5] context_dict = {'categories': category_list, 'pages': pages_list} print("context_dict:", context_dict) # Render the response and send it back! # Call the helper function to handle the cookies p = visitor_cookie_handler(request) print("visitor_cookie_handler:", p) # Return response back to the user, updating any cookies that need changed. context_dict['visits'] = request.session['visits'] print("request_session_visits:", request.session['visits']) print("context_dict_visits:", context_dict['visits']) response = render(request, 'rango/index.html', context=context_dict) print("response:", response) return response # return HttpResponse("Rango says hey there partner! <br/> <a href='/rango/about/'>About</a>") def about(request): context_dict = {'name': 'Roman'} print(request.method) print(request.user) visitor_cookie_handler(request) # return HttpResponse("Rango says here is the about page. <br/> <a href='/rango/'>Index</a>") context_dict['visits'] = request.session['visits'] print(context_dict['visits']) response = render(request, 'rango/about.html', context=context_dict) print("response:", response) return response # return render(request, reverse('about'), context=context_dict) def show_category(request, category_name_slug): # Create a context dictionary which we can pass # to the template rendering engine. context_dict = {} try: # Can we find a category name slug with the given name? # If we can't, the .get() method raises a DoesNotExist exception. # So the .get() method returns one model instance or raises an exception. category = Category.objects.get(slug=category_name_slug) # Retrieve all of the associated pages. # Note that filter() will return a list of page objects or an empty list pages = Page.objects.filter(category=category) # Adds our results list to the template context under name pages. context_dict['pages'] = pages # We also add the category object from # the database to the context dictionary. # We'll use this in the template to verify that the category exists. context_dict['category'] = category except Category.DoesNotExist: # We get here if we didn't find the specified category. # Don't do anything - # the template will display the "no category" message for us. context_dict['category'] = None context_dict['pages'] = None # Go render the response and return it to the client. return render(request, 'rango/category.html', context_dict) @login_required def add_category(request): form = CategoryForm() # A HTTP POST? if request.method == 'POST': form = CategoryForm(request.POST) # Have we been provided with a valid form? if form.is_valid(): # Save the new category to the database. cat = form.save(commit=True) print("Category name: {0} Slug: {1}".format(cat, cat.slug)) # Now that the category is saved # We could give a confirmation message # But since the most recent category added is on the index page # Then we can direct the user back to the index page. return index(request) else: # The supplied form contained errors - # just print them to the terminal. print(form.errors) # Will handle the bad form, new form, or no form supplied cases. # Render the form with error messages (if any). return render(request, 'rango/add_category.html', {'form': form}) @login_required def add_page(request, category_name_slug): try: category = Category.objects.get(slug=category_name_slug) except Category.DoesNotExist: category = None form = PageForm() # A HTTP POST? if request.method == 'POST': form = PageForm(request.POST) # Have we been provided with a valid form? if form.is_valid(): if category: page = form.save(commit=False) page.category = category page.views = 0 page.save() return show_category(request, category_name_slug) else: print(form.errors) context_dict = {'form':form, 'category': category} return render(request, 'rango/add_page.html', context_dict) # def register(request): # # A boolean value for telling the template # # whether the registration was successful. # # Set to False initially. Code changes value to # True when registration succeeds. # registered = False # # # If it's a HTTP POST, we're interested in processing form data. # if request.method == 'POST': # # Attempt to grab information from the raw form information. # # Note that we make use of both UserForm and UserProfileForm. # user_form = UserForm(data=request.POST) # profile_form = UserProfileForm(data=request.POST) # # # If the two forms are valid... # if user_form.is_valid() and profile_form.is_valid(): # # Save the user's form data to the database. # user = user_form.save() # # # Now we hash the password with the set_password method. # # Once hashed, we can update the user object. # user.set_password(<PASSWORD>) # user.save() # # # Now sort out the UserProfile instance. # # Since we need to set the user attribute ourselves, # # we set commit=False. This delays saving the model # # until we're ready to avoid integrity problems. # profile = profile_form.save(commit=False) # profile.user = user # # Did the user provide a profile picture? # # If so, we need to get it from the input form and #put it in the UserProfile model. # if 'picture' in request.FILES: # profile.picture = request.FILES['picture'] # # # Now we save the UserProfile model instance. # profile.save() # # Update our variable to indicate that the template # # registration was successful. # registered = True # else: # # Invalid form or forms - mistakes or something else? # # Print problems to the terminal. # print(user_form.errors, profile_form.errors) # else: # # Not a HTTP POST, so we render our form using two ModelForm instances. # # These forms will be blank, ready for user input. # user_form = UserForm() # profile_form = UserProfileForm() # # # Render the template depending on the context. # return render(request, 'rango/register.html', # {'user_form': user_form, # 'profile_form': profile_form, # 'registered': registered}) # def user_login(request): # # If the request is a HTTP POST, try to pull out the relevant information. # if request.method == 'POST': # # Gather the username and password provided by the user. # # This information is obtained from the login form. # # We use request.POST.get('<variable>') as opposed # # to request.POST['<variable>'], because the # # request.POST.get('<variable>') returns None if the # # value does not exist, while request.POST['<variable>'] # # will raise a KeyError exception. # username = request.POST.get('username') # password = request.POST.get('password') # # Use Django's machinery to attempt to see if the username/password # # combination is valid - a User object is returned if it is. # user = authenticate(username=username, password=password) # # # If we have a User object, the details are correct. # # If None (Python's way of representing the absence of a value), no user # # with matching credentials was found. # if user: # # Is the account active? It could have been disabled. # if user.is_active: # # If the account is valid and active, we can log the user in. # # We'll send the user back to the homepage. # login(request, user) # return HttpResponseRedirect(reverse('index')) # else: # # An inactive account was used - no logging in! # return HttpResponse("Your Rango account is disabled.") # else: # # Does the username exist in DB? # if User.objects.filter(username=username).exists(): # return HttpResponse("Your password is incorrect") # else: # return HttpResponse("{0} doesn't exist".format(username)) # # The request is not a HTTP POST, so display the login form. # # This scenario would most likely be a HTTP GET. # else: # # No context variables to pass to the template system, hence the # # blank dictionary object... # return render(request, 'rango/login.html', {}) @login_required def restricted(request): return render(request, 'rango/restricted.html', {}) # return render(request, reverse('about'), context=context_dict) # Use the login_required() decorator to ensure only those logged in can # access the view. # @login_required # def user_logout(request): # # Since we know the user is logged in, we can now just log them out. # logout(request) # # Take the user back to the homepage. # return HttpResponseRedirect(reverse('index')) def get_server_side_cookie(request, cookie, default_val=None): val = request.session.get(cookie) print(val) if not val: val = default_val return val def visitor_cookie_handler(request): # Get the number of visits to the site. # We use the COOKIES.get() function to obtain the visits cookie. # If the cookie exists, the value returned is casted to an integer. # If the cookie doesn't exist, then the default value of 1 is used. visits = int(get_server_side_cookie(request, 'visits', '1')) print("visits:", visits) last_visit_cookie = get_server_side_cookie(request, 'last_visit', str(datetime.now())) last_visit_time = datetime.strptime(last_visit_cookie[:-7], '%Y-%m-%d %H:%M:%S') # If it's been more than a day since the last visit... if (datetime.now() - last_visit_time).seconds > 0: visits = visits + 1 # Update the last visit cookie now that we have updated the count request.session['last_visit'] = str(datetime.now()) else: visits = 1 # Set the last visit cookie request.session['last_visit'] = last_visit_cookie # Update/set the visits cookie request.session['visits'] = visits def search(request): query = '' result_list = [] if request.method == 'POST': query = request.POST['query'].strip() if query: print(query) print(type(query)) # Run our Webhose search function to get the results list! result_list = run_query(query) context_dict = {'result_list': result_list, 'query': query} return render(request, 'rango/search.html', context_dict)
[ 1, 515, 9557, 29889, 12759, 7582, 29879, 1053, 4050, 13, 3166, 9557, 29889, 1124, 1053, 9056, 5103, 24735, 29892, 9056, 5103, 13, 3166, 364, 4524, 29889, 9794, 1053, 17943, 29892, 9305, 13, 3166, 364, 4524, 29889, 9514, 1053, 17943, 2500, 29892, 9305, 2500, 13, 3166, 364, 4524, 29889, 9514, 1053, 4911, 2500, 29892, 4911, 13909, 2500, 13, 3166, 9557, 29889, 3221, 29889, 2271, 9778, 874, 1053, 11837, 13, 3166, 9557, 29889, 21570, 29889, 5150, 1053, 15585, 403, 29892, 6464, 29892, 1480, 449, 13, 3166, 9557, 29889, 21570, 29889, 5150, 29889, 19557, 4097, 1053, 6464, 29918, 12403, 13, 3166, 9557, 29889, 21570, 29889, 5150, 29889, 9794, 1053, 4911, 13, 3166, 12865, 1053, 12865, 13, 3166, 364, 4524, 29889, 2676, 29882, 852, 29918, 4478, 1053, 1065, 29918, 1972, 13, 13, 13, 1753, 2380, 29898, 3827, 1125, 13, 1678, 396, 2009, 29889, 7924, 29889, 842, 29918, 1688, 29918, 21509, 580, 13, 1678, 396, 13641, 278, 2566, 363, 263, 1051, 310, 15149, 13997, 5279, 6087, 29889, 13, 1678, 396, 8170, 278, 13997, 491, 694, 29889, 4188, 267, 297, 5153, 2548, 1797, 29889, 13, 1678, 396, 4649, 29878, 2418, 278, 2246, 29871, 29945, 871, 448, 470, 599, 565, 3109, 1135, 29871, 29945, 29889, 13, 1678, 396, 15484, 278, 1051, 297, 1749, 3030, 29918, 8977, 8600, 13, 1678, 396, 393, 674, 367, 4502, 304, 278, 4472, 6012, 29889, 13, 1678, 7663, 29918, 1761, 353, 17943, 29889, 12650, 29889, 2098, 29918, 1609, 877, 29899, 5081, 267, 1495, 7503, 29945, 29962, 13, 1678, 6515, 29918, 1761, 353, 9305, 29889, 12650, 29889, 2098, 29918, 1609, 877, 29899, 7406, 1495, 7503, 29945, 29962, 13, 1678, 3030, 29918, 8977, 353, 11117, 20683, 2396, 7663, 29918, 1761, 29892, 525, 12292, 2396, 6515, 29918, 1761, 29913, 13, 1678, 1596, 703, 4703, 29918, 8977, 29901, 613, 3030, 29918, 8977, 29897, 13, 1678, 396, 26000, 278, 2933, 322, 3638, 372, 1250, 29991, 13, 13, 13, 1678, 396, 8251, 278, 16876, 740, 304, 4386, 278, 21046, 13, 1678, 282, 353, 27682, 29918, 21509, 29918, 13789, 29898, 3827, 29897, 13, 1678, 1596, 703, 1730, 2105, 29918, 21509, 29918, 13789, 29901, 613, 282, 29897, 13, 1678, 396, 7106, 2933, 1250, 304, 278, 1404, 29892, 13271, 738, 21046, 393, 817, 3939, 29889, 13, 1678, 3030, 29918, 8977, 1839, 1730, 1169, 2033, 353, 2009, 29889, 7924, 1839, 1730, 1169, 2033, 13, 1678, 1596, 703, 3827, 29918, 7924, 29918, 1730, 1169, 29901, 613, 2009, 29889, 7924, 1839, 1730, 1169, 11287, 13, 1678, 1596, 703, 4703, 29918, 8977, 29918, 1730, 1169, 29901, 613, 3030, 29918, 8977, 1839, 1730, 1169, 11287, 13, 1678, 2933, 353, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 2248, 29889, 1420, 742, 3030, 29922, 4703, 29918, 8977, 29897, 13, 1678, 1596, 703, 5327, 29901, 613, 2933, 29897, 13, 1678, 736, 2933, 13, 13, 1678, 396, 736, 9056, 5103, 703, 29934, 4524, 4083, 540, 29891, 727, 18096, 29991, 529, 1182, 3779, 529, 29874, 2822, 2433, 29914, 29878, 4524, 29914, 12717, 29914, 11041, 28173, 829, 29874, 29958, 1159, 13, 13, 13, 1753, 1048, 29898, 3827, 1125, 13, 1678, 3030, 29918, 8977, 353, 11117, 978, 2396, 525, 29934, 2480, 10827, 13, 1678, 1596, 29898, 3827, 29889, 5696, 29897, 13, 1678, 1596, 29898, 3827, 29889, 1792, 29897, 13, 1678, 27682, 29918, 21509, 29918, 13789, 29898, 3827, 29897, 13, 1678, 396, 736, 9056, 5103, 703, 29934, 4524, 4083, 1244, 338, 278, 1048, 1813, 29889, 529, 1182, 3779, 529, 29874, 2822, 2433, 29914, 29878, 4524, 29914, 11041, 3220, 829, 29874, 29958, 1159, 13, 1678, 3030, 29918, 8977, 1839, 1730, 1169, 2033, 353, 2009, 29889, 7924, 1839, 1730, 1169, 2033, 13, 1678, 1596, 29898, 4703, 29918, 8977, 1839, 1730, 1169, 11287, 13, 1678, 2933, 353, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 12717, 29889, 1420, 742, 3030, 29922, 4703, 29918, 8977, 29897, 13, 1678, 1596, 703, 5327, 29901, 613, 2933, 29897, 13, 1678, 736, 2933, 13, 1678, 396, 736, 4050, 29898, 3827, 29892, 11837, 877, 12717, 5477, 3030, 29922, 4703, 29918, 8977, 29897, 13, 13, 13, 1753, 1510, 29918, 7320, 29898, 3827, 29892, 7663, 29918, 978, 29918, 29517, 1125, 13, 1678, 396, 6204, 263, 3030, 8600, 607, 591, 508, 1209, 13, 1678, 396, 29871, 304, 278, 4472, 15061, 6012, 29889, 13, 1678, 3030, 29918, 8977, 353, 6571, 13, 13, 1678, 1018, 29901, 13, 4706, 396, 1815, 591, 1284, 263, 7663, 1024, 2243, 688, 411, 278, 2183, 1024, 29973, 13, 4706, 396, 960, 591, 508, 29915, 29873, 29892, 278, 869, 657, 580, 1158, 1153, 4637, 263, 5538, 3664, 1252, 391, 3682, 29889, 13, 4706, 396, 1105, 278, 869, 657, 580, 1158, 3639, 697, 1904, 2777, 470, 1153, 4637, 385, 3682, 29889, 13, 4706, 7663, 353, 17943, 29889, 12650, 29889, 657, 29898, 29517, 29922, 7320, 29918, 978, 29918, 29517, 29897, 13, 13, 4706, 396, 4649, 29878, 2418, 599, 310, 278, 6942, 6515, 29889, 13, 4706, 396, 3940, 393, 4175, 580, 674, 736, 263, 1051, 310, 1813, 3618, 470, 385, 4069, 1051, 13, 4706, 6515, 353, 9305, 29889, 12650, 29889, 4572, 29898, 7320, 29922, 7320, 29897, 13, 13, 4706, 396, 3462, 29879, 1749, 2582, 1051, 304, 278, 4472, 3030, 1090, 1024, 6515, 29889, 13, 4706, 3030, 29918, 8977, 1839, 12292, 2033, 353, 6515, 13, 4706, 396, 1334, 884, 788, 278, 7663, 1203, 515, 13, 4706, 396, 278, 2566, 304, 278, 3030, 8600, 29889, 13, 4706, 396, 1334, 29915, 645, 671, 445, 297, 278, 4472, 304, 11539, 393, 278, 7663, 4864, 29889, 13, 4706, 3030, 29918, 8977, 1839, 7320, 2033, 353, 7663, 13, 1678, 5174, 17943, 29889, 25125, 3664, 1252, 391, 29901, 13, 4706, 396, 1334, 679, 1244, 565, 591, 3282, 29915, 29873, 1284, 278, 6790, 7663, 29889, 13, 4706, 396, 3872, 29915, 29873, 437, 3099, 448, 13, 4706, 396, 278, 4472, 674, 2479, 278, 376, 1217, 7663, 29908, 2643, 363, 502, 29889, 13, 4706, 3030, 29918, 8977, 1839, 7320, 2033, 353, 6213, 13, 4706, 3030, 29918, 8977, 1839, 12292, 2033, 353, 6213, 13, 13, 1678, 396, 2921, 4050, 278, 2933, 322, 736, 372, 304, 278, 3132, 29889, 13, 1678, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 7320, 29889, 1420, 742, 3030, 29918, 8977, 29897, 13, 13, 13, 29992, 7507, 29918, 12403, 13, 1753, 788, 29918, 7320, 29898, 3827, 1125, 13, 1678, 883, 353, 17943, 2500, 580, 13, 1678, 396, 319, 7331, 11971, 29973, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 883, 353, 17943, 2500, 29898, 3827, 29889, 5438, 29897, 13, 4706, 396, 6975, 591, 1063, 4944, 411, 263, 2854, 883, 29973, 13, 4706, 565, 883, 29889, 275, 29918, 3084, 7295, 13, 9651, 396, 16913, 278, 716, 7663, 304, 278, 2566, 29889, 13, 9651, 6635, 353, 883, 29889, 7620, 29898, 15060, 29922, 5574, 29897, 13, 9651, 1596, 703, 10900, 1024, 29901, 426, 29900, 29913, 14866, 688, 29901, 426, 29896, 29913, 1642, 4830, 29898, 4117, 29892, 6635, 29889, 29517, 876, 13, 9651, 396, 2567, 393, 278, 7663, 338, 7160, 13, 9651, 396, 1334, 1033, 2367, 263, 9659, 362, 2643, 13, 9651, 396, 1205, 1951, 278, 1556, 7786, 7663, 2715, 338, 373, 278, 2380, 1813, 13, 9651, 396, 29871, 1987, 591, 508, 1513, 278, 1404, 1250, 304, 278, 2380, 1813, 29889, 13, 9651, 736, 2380, 29898, 3827, 29897, 13, 4706, 1683, 29901, 13, 9651, 396, 450, 19056, 883, 11122, 4436, 448, 13, 9651, 396, 925, 1596, 963, 304, 278, 8638, 29889, 13, 9651, 1596, 29898, 689, 29889, 12523, 29897, 13, 1678, 396, 2811, 4386, 278, 4319, 883, 29892, 716, 883, 29892, 470, 694, 883, 19056, 4251, 29889, 13, 1678, 396, 26000, 278, 883, 411, 1059, 7191, 313, 361, 738, 467, 13, 1678, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 1202, 29918, 7320, 29889, 1420, 742, 11117, 689, 2396, 883, 1800, 13, 13, 13, 29992, 7507, 29918, 12403, 13, 1753, 788, 29918, 3488, 29898, 3827, 29892, 7663, 29918, 978, 29918, 29517, 1125, 13, 1678, 1018, 29901, 13, 4706, 7663, 353, 17943, 29889, 12650, 29889, 657, 29898, 29517, 29922, 7320, 29918, 978, 29918, 29517, 29897, 13, 1678, 5174, 17943, 29889, 25125, 3664, 1252, 391, 29901, 13, 4706, 7663, 353, 6213, 13, 1678, 883, 353, 9305, 2500, 580, 13, 1678, 396, 319, 7331, 11971, 29973, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 883, 353, 9305, 2500, 29898, 3827, 29889, 5438, 29897, 13, 4706, 396, 6975, 591, 1063, 4944, 411, 263, 2854, 883, 29973, 13, 4706, 565, 883, 29889, 275, 29918, 3084, 7295, 13, 9651, 565, 7663, 29901, 13, 18884, 1813, 353, 883, 29889, 7620, 29898, 15060, 29922, 8824, 29897, 13, 18884, 1813, 29889, 7320, 353, 7663, 13, 18884, 1813, 29889, 7406, 353, 29871, 29900, 13, 18884, 1813, 29889, 7620, 580, 13, 18884, 736, 1510, 29918, 7320, 29898, 3827, 29892, 7663, 29918, 978, 29918, 29517, 29897, 13, 4706, 1683, 29901, 13, 9651, 1596, 29898, 689, 29889, 12523, 29897, 13, 13, 1678, 3030, 29918, 8977, 353, 11117, 689, 2396, 689, 29892, 525, 7320, 2396, 7663, 29913, 13, 1678, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 1202, 29918, 3488, 29889, 1420, 742, 3030, 29918, 8977, 29897, 13, 13, 13, 29937, 822, 6036, 29898, 3827, 1125, 13, 29937, 268, 396, 319, 7223, 995, 363, 14509, 278, 4472, 13, 29937, 268, 396, 3692, 278, 22583, 471, 9150, 29889, 13, 29937, 268, 396, 3789, 304, 7700, 12919, 29889, 5920, 3620, 995, 304, 396, 5852, 746, 22583, 9269, 29879, 29889, 13, 29937, 268, 15443, 353, 7700, 13, 29937, 13, 29937, 268, 396, 960, 372, 29915, 29879, 263, 7331, 11971, 29892, 591, 29915, 276, 8852, 297, 9068, 883, 848, 29889, 13, 29937, 268, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 29937, 308, 396, 6212, 3456, 304, 17229, 2472, 515, 278, 10650, 883, 2472, 29889, 13, 29937, 308, 396, 29871, 3940, 393, 591, 1207, 671, 310, 1716, 4911, 2500, 322, 4911, 13909, 2500, 29889, 13, 29937, 308, 1404, 29918, 689, 353, 4911, 2500, 29898, 1272, 29922, 3827, 29889, 5438, 29897, 13, 29937, 308, 8722, 29918, 689, 353, 4911, 13909, 2500, 29898, 1272, 29922, 3827, 29889, 5438, 29897, 13, 29937, 13, 29937, 308, 396, 960, 278, 1023, 7190, 526, 2854, 856, 13, 29937, 308, 565, 1404, 29918, 689, 29889, 275, 29918, 3084, 580, 322, 8722, 29918, 689, 29889, 275, 29918, 3084, 7295, 13, 29937, 632, 396, 16913, 278, 1404, 29915, 29879, 883, 848, 304, 278, 2566, 29889, 13, 29937, 632, 1404, 353, 1404, 29918, 689, 29889, 7620, 580, 13, 29937, 13, 29937, 632, 396, 2567, 591, 6608, 278, 4800, 411, 278, 731, 29918, 5630, 1158, 29889, 13, 29937, 632, 396, 29871, 9038, 6608, 287, 29892, 591, 508, 2767, 278, 1404, 1203, 29889, 13, 29937, 632, 1404, 29889, 842, 29918, 5630, 29898, 29966, 25711, 17013, 12948, 13, 29937, 632, 1404, 29889, 7620, 580, 13, 29937, 13, 29937, 632, 396, 2567, 2656, 714, 278, 4911, 13909, 2777, 29889, 13, 29937, 632, 396, 4001, 591, 817, 304, 731, 278, 1404, 5352, 20278, 29892, 13, 29937, 632, 396, 29871, 591, 731, 9063, 29922, 8824, 29889, 910, 628, 1036, 14238, 278, 1904, 13, 29937, 632, 396, 29871, 2745, 591, 29915, 276, 7960, 304, 4772, 28410, 4828, 29889, 13, 29937, 632, 8722, 353, 8722, 29918, 689, 29889, 7620, 29898, 15060, 29922, 8824, 29897, 13, 29937, 632, 8722, 29889, 1792, 353, 1404, 13, 29937, 632, 396, 7440, 278, 1404, 3867, 263, 8722, 7623, 29973, 13, 29937, 632, 396, 960, 577, 29892, 591, 817, 304, 679, 372, 515, 278, 1881, 883, 322, 396, 649, 372, 297, 278, 4911, 13909, 1904, 29889, 13, 29937, 632, 565, 525, 12095, 29915, 297, 2009, 29889, 24483, 29901, 13, 29937, 462, 8722, 29889, 12095, 353, 2009, 29889, 24483, 1839, 12095, 2033, 13, 29937, 13, 29937, 632, 396, 2567, 591, 4078, 278, 4911, 13909, 1904, 2777, 29889, 13, 29937, 632, 8722, 29889, 7620, 580, 13, 29937, 632, 396, 10318, 1749, 2286, 304, 12266, 393, 278, 4472, 13, 29937, 632, 396, 22583, 471, 9150, 29889, 13, 29937, 632, 15443, 353, 5852, 13, 29937, 308, 1683, 29901, 13, 29937, 632, 396, 21403, 883, 470, 7190, 448, 28947, 470, 1554, 1683, 29973, 13, 29937, 632, 396, 29871, 13905, 4828, 304, 278, 8638, 29889, 13, 29937, 632, 1596, 29898, 1792, 29918, 689, 29889, 12523, 29892, 8722, 29918, 689, 29889, 12523, 29897, 13, 29937, 268, 1683, 29901, 13, 29937, 308, 396, 2216, 263, 7331, 11971, 29892, 577, 591, 4050, 1749, 883, 773, 1023, 8125, 2500, 8871, 29889, 13, 29937, 308, 396, 29871, 4525, 7190, 674, 367, 9654, 29892, 7960, 363, 1404, 1881, 29889, 13, 29937, 308, 1404, 29918, 689, 353, 4911, 2500, 580, 13, 29937, 308, 8722, 29918, 689, 353, 4911, 13909, 2500, 580, 13, 29937, 13, 29937, 268, 396, 26000, 278, 4472, 8679, 373, 278, 3030, 29889, 13, 29937, 268, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 9573, 29889, 1420, 742, 13, 29937, 462, 259, 11117, 1792, 29918, 689, 2396, 1404, 29918, 689, 29892, 13, 29937, 462, 1678, 525, 10185, 29918, 689, 2396, 8722, 29918, 689, 29892, 13, 29937, 462, 1678, 525, 9573, 287, 2396, 15443, 1800, 13, 13, 13, 29937, 822, 1404, 29918, 7507, 29898, 3827, 1125, 13, 29937, 268, 396, 960, 278, 2009, 338, 263, 7331, 11971, 29892, 1018, 304, 8206, 714, 278, 8018, 2472, 29889, 13, 29937, 268, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 29937, 308, 396, 402, 1624, 278, 8952, 322, 4800, 4944, 491, 278, 1404, 29889, 13, 29937, 308, 396, 910, 2472, 338, 7625, 515, 278, 6464, 883, 29889, 13, 29937, 308, 396, 1334, 671, 2009, 29889, 5438, 29889, 657, 877, 29966, 11918, 29958, 1495, 408, 15869, 13, 29937, 308, 396, 304, 2009, 29889, 5438, 1839, 29966, 11918, 29958, 7464, 1363, 278, 13, 29937, 308, 396, 2009, 29889, 5438, 29889, 657, 877, 29966, 11918, 29958, 1495, 3639, 6213, 565, 278, 13, 29937, 308, 396, 995, 947, 451, 1863, 29892, 1550, 2009, 29889, 5438, 1839, 29966, 11918, 29958, 2033, 13, 29937, 308, 396, 29871, 674, 12020, 263, 7670, 2392, 3682, 29889, 13, 29937, 308, 8952, 353, 2009, 29889, 5438, 29889, 657, 877, 6786, 1495, 13, 29937, 308, 4800, 353, 2009, 29889, 5438, 29889, 657, 877, 5630, 1495, 13, 29937, 308, 396, 4803, 15337, 29915, 29879, 7672, 262, 708, 304, 4218, 304, 1074, 565, 278, 8952, 29914, 5630, 13, 29937, 308, 396, 29871, 10296, 338, 2854, 448, 263, 4911, 1203, 338, 4133, 565, 372, 338, 29889, 13, 29937, 308, 1404, 353, 15585, 403, 29898, 6786, 29922, 6786, 29892, 4800, 29922, 5630, 29897, 13, 29937, 13, 29937, 308, 396, 960, 591, 505, 263, 4911, 1203, 29892, 278, 4902, 526, 1959, 29889, 13, 29937, 308, 396, 960, 6213, 313, 11980, 29915, 29879, 982, 310, 15783, 278, 18070, 310, 263, 995, 511, 694, 1404, 13, 29937, 308, 396, 29871, 411, 9686, 16140, 471, 1476, 29889, 13, 29937, 308, 565, 1404, 29901, 13, 29937, 632, 396, 1317, 278, 3633, 6136, 29973, 739, 1033, 505, 1063, 12708, 29889, 13, 29937, 632, 565, 1404, 29889, 275, 29918, 4925, 29901, 13, 29937, 462, 396, 960, 278, 3633, 338, 2854, 322, 6136, 29892, 591, 508, 1480, 278, 1404, 297, 29889, 13, 29937, 462, 396, 29871, 1334, 29915, 645, 3638, 278, 1404, 1250, 304, 278, 3271, 3488, 29889, 13, 29937, 462, 6464, 29898, 3827, 29892, 1404, 29897, 13, 29937, 462, 736, 9056, 5103, 24735, 29898, 24244, 877, 2248, 8785, 13, 29937, 632, 1683, 29901, 13, 29937, 462, 396, 530, 297, 4925, 3633, 471, 1304, 448, 694, 12183, 297, 29991, 13, 29937, 462, 736, 9056, 5103, 703, 10858, 390, 4524, 3633, 338, 12708, 23157, 13, 29937, 308, 1683, 29901, 13, 29937, 632, 396, 5538, 278, 8952, 1863, 297, 6535, 29973, 13, 29937, 632, 565, 4911, 29889, 12650, 29889, 4572, 29898, 6786, 29922, 6786, 467, 9933, 7295, 13, 29937, 462, 736, 9056, 5103, 703, 10858, 4800, 338, 10240, 1159, 13, 29937, 632, 1683, 29901, 13, 29937, 462, 736, 9056, 5103, 703, 29912, 29900, 29913, 1838, 29915, 29873, 1863, 1642, 4830, 29898, 6786, 876, 13, 29937, 268, 396, 450, 2009, 338, 451, 263, 7331, 11971, 29892, 577, 2479, 278, 6464, 883, 29889, 13, 29937, 268, 396, 910, 10483, 723, 1556, 5517, 367, 263, 7331, 12354, 29889, 13, 29937, 268, 1683, 29901, 13, 29937, 308, 396, 1939, 3030, 3651, 304, 1209, 304, 278, 4472, 1788, 29892, 8151, 278, 13, 29937, 308, 396, 9654, 8600, 1203, 856, 13, 29937, 308, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 7507, 29889, 1420, 742, 426, 1800, 13, 13, 13, 29992, 7507, 29918, 12403, 13, 1753, 22078, 29898, 3827, 1125, 13, 1678, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 5060, 4146, 287, 29889, 1420, 742, 426, 1800, 13, 1678, 396, 736, 4050, 29898, 3827, 29892, 11837, 877, 12717, 5477, 3030, 29922, 4703, 29918, 8977, 29897, 13, 13, 13, 29937, 4803, 278, 6464, 29918, 12403, 580, 10200, 1061, 304, 9801, 871, 1906, 13817, 297, 508, 396, 2130, 278, 1776, 29889, 13, 29937, 732, 7507, 29918, 12403, 13, 29937, 822, 1404, 29918, 1188, 449, 29898, 3827, 1125, 13, 29937, 268, 396, 4001, 591, 1073, 278, 1404, 338, 13817, 297, 29892, 591, 508, 1286, 925, 1480, 963, 714, 29889, 13, 29937, 268, 1480, 449, 29898, 3827, 29897, 13, 29937, 268, 396, 11190, 278, 1404, 1250, 304, 278, 3271, 3488, 29889, 13, 29937, 268, 736, 9056, 5103, 24735, 29898, 24244, 877, 2248, 8785, 13, 13, 13, 1753, 679, 29918, 2974, 29918, 2975, 29918, 21509, 29898, 3827, 29892, 15327, 29892, 2322, 29918, 791, 29922, 8516, 1125, 13, 1678, 659, 353, 2009, 29889, 7924, 29889, 657, 29898, 21509, 29897, 13, 1678, 1596, 29898, 791, 29897, 13, 1678, 565, 451, 659, 29901, 13, 4706, 659, 353, 2322, 29918, 791, 13, 1678, 736, 659, 13, 13, 13, 1753, 27682, 29918, 21509, 29918, 13789, 29898, 3827, 1125, 13, 1678, 396, 3617, 278, 1353, 310, 1998, 1169, 304, 278, 3268, 29889, 13, 1678, 396, 1334, 671, 278, 4810, 8949, 29059, 29889, 657, 580, 740, 304, 4017, 278, 1998, 1169, 15327, 29889, 13, 1678, 396, 960, 278, 15327, 4864, 29892, 278, 995, 4133, 338, 4320, 287, 304, 385, 6043, 29889, 13, 1678, 396, 960, 278, 15327, 1838, 29915, 29873, 1863, 29892, 769, 278, 2322, 995, 310, 29871, 29896, 338, 1304, 29889, 13, 1678, 1998, 1169, 353, 938, 29898, 657, 29918, 2974, 29918, 2975, 29918, 21509, 29898, 3827, 29892, 13, 462, 462, 268, 525, 1730, 1169, 742, 13, 462, 462, 268, 525, 29896, 8785, 13, 1678, 1596, 703, 1730, 1169, 29901, 613, 1998, 1169, 29897, 13, 1678, 1833, 29918, 1730, 277, 29918, 21509, 353, 679, 29918, 2974, 29918, 2975, 29918, 21509, 29898, 3827, 29892, 13, 462, 462, 9651, 525, 4230, 29918, 1730, 277, 742, 13, 462, 462, 9651, 851, 29898, 12673, 29889, 3707, 22130, 13, 13, 1678, 1833, 29918, 1730, 277, 29918, 2230, 353, 12865, 29889, 710, 415, 603, 29898, 4230, 29918, 1730, 277, 29918, 21509, 7503, 29899, 29955, 1402, 13, 462, 462, 4706, 14210, 29979, 19222, 29885, 19222, 29881, 1273, 29950, 16664, 29924, 16664, 29903, 1495, 13, 13, 1678, 396, 960, 372, 29915, 29879, 1063, 901, 1135, 263, 2462, 1951, 278, 1833, 6493, 856, 13, 1678, 565, 313, 12673, 29889, 3707, 580, 448, 1833, 29918, 1730, 277, 29918, 2230, 467, 23128, 1405, 29871, 29900, 29901, 13, 4706, 1998, 1169, 353, 1998, 1169, 718, 29871, 29896, 13, 4706, 396, 10318, 278, 1833, 6493, 15327, 1286, 393, 591, 505, 4784, 278, 2302, 13, 4706, 2009, 29889, 7924, 1839, 4230, 29918, 1730, 277, 2033, 353, 851, 29898, 12673, 29889, 3707, 3101, 13, 1678, 1683, 29901, 13, 4706, 1998, 1169, 353, 29871, 29896, 13, 4706, 396, 3789, 278, 1833, 6493, 15327, 13, 4706, 2009, 29889, 7924, 1839, 4230, 29918, 1730, 277, 2033, 353, 1833, 29918, 1730, 277, 29918, 21509, 13, 1678, 396, 10318, 29914, 842, 278, 1998, 1169, 15327, 13, 1678, 2009, 29889, 7924, 1839, 1730, 1169, 2033, 353, 1998, 1169, 13, 13, 13, 1753, 2740, 29898, 3827, 1125, 13, 1678, 2346, 353, 6629, 13, 1678, 1121, 29918, 1761, 353, 5159, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 2346, 353, 2009, 29889, 5438, 1839, 1972, 13359, 17010, 580, 13, 4706, 565, 2346, 29901, 13, 9651, 1596, 29898, 1972, 29897, 13, 9651, 1596, 29898, 1853, 29898, 1972, 876, 13, 9651, 396, 7525, 1749, 2563, 29882, 852, 2740, 740, 304, 679, 278, 2582, 1051, 29991, 13, 9651, 1121, 29918, 1761, 353, 1065, 29918, 1972, 29898, 1972, 29897, 13, 1678, 3030, 29918, 8977, 353, 11117, 2914, 29918, 1761, 2396, 1121, 29918, 1761, 29892, 525, 1972, 2396, 2346, 29913, 13, 1678, 736, 4050, 29898, 3827, 29892, 525, 29878, 4524, 29914, 4478, 29889, 1420, 742, 3030, 29918, 8977, 29897, 2 ]
fvp-core.py
duck-master/FVP
0
103472
#code written by duck_master since 2 january 2021 #licensed under MIT license #based on Final Version Perfected, invented by willbradshaw on 27 november 2020 #as described in https://www.lesswrong.com/posts/xfcKYznQ6B9yuxB28/final-version-perfected-an-underused-execution-algorithm #TODO: make into PyPI package or shell script #libraries import random #for randomizing reminder list #functions for reading/normalizing input #TODO: implement already having stars #TODO: implement try-catch in case of bad filepath def read_reminders_from_file(reminders_pathname): '''Reads in a list of reminders from a file. Notes: * indicates important reminders; filtered by no. of stars. ! indicates completed reminders; these are ignored. str -> [str]''' with open(reminders_pathname, mode = 'r') as f: rlines = f.readlines() #read from reminders_pathname and normalize rlines = [rr.strip('\n') for rr in reminders] return reminder def read_reminders_from_console(): '''Reads in a list of reminders from text input. (To finish the list, the user should type nothing and enter.) None, str input -> [str]''' print('Enter your reminders here. (Type nothing and enter to stop.)') reminders = [] #type in reminders while True: newreminder = input('What is one of your reminders? ') if newreminder != '': reminders.append(newreminder) else: break return reminders #function to add stars to reminder file lines def add_stars_to_reminderlines(reminderlines, items_to_star): '''This function should add stars to the marked items given by the indices in the second column. [str], [(str, int)] -> [str] ''' result = reminderlines for (item, index) in items_to_star: result[index] = '*' + result[index] return result #function to normalize reminders def normalize_reminderlines(reminderlines): '''Normalizes reminderlines. Deletes lines starting with -. Filters lines not starting with *, if any exists, and eliminates beginning *. [str] -> [str].''' result = reminderlines result = list(filter((lambda s: s[0] != '-'), result)) #detes lines starting with - imp = list(filter((lambda s: s[0] = '*'), result)) #selects lines starting with * if len(imp) > 0: result = list(map((lambda s: s[1:]), imp)) return result #main code #read in reminders if input('Do you want to read in your reminders from a file? ') in ['yes', 'Yes']: reminders_pathname = input('What is the file path? ') reminders = read_reminders_from_file(reminders_pathname) else: reminders = read_reminders_from_console() #normalize reminders reminders = normalize_reminderlines(reminders) #running FVP on idea list print('\nNow, let\'s sort your reminders!') #keep track of indices (to make file-writing easy) reminders_shuffled = [(reminders[index], index) for index in range(len(reminders))] random.shuffle(reminders_shuffled) #to remove bias from idea order; TODO: allow option to keep original order bestideas = [reminders_shuffled[0]] for i in range(1, len(reminders_shuffled)): response = input(f'Would you rather do "{reminders_shuffled[i][0]}" rather than "{bestideas[-1][0]}"? ') if response in ['yes', 'Yes']: bestideas.append(reminders_shuffled[i]) #output print(f'\nYou should do {list(bestideas.__reversed__())[0][0]}.') #for file writes if reminders_pathname != '': if input('Write to file? ') in ['yes', 'Yes']: with open(reminders_pathname, 'r') as f: reminderfile_contents = f.readlines() with open(reminders_pathname, 'w') as f: f.writelines(add_stars_to_reminderlines(reminderfile_contents, bestideas)) if input('\nQuit? ') in ['yes', 'Yes']: exit()
[ 1, 396, 401, 3971, 491, 868, 384, 29918, 6207, 1951, 29871, 29906, 10111, 653, 29871, 29906, 29900, 29906, 29896, 13, 29937, 506, 21144, 1090, 341, 1806, 19405, 13, 29937, 6707, 373, 9550, 10079, 2431, 3647, 287, 29892, 11817, 287, 491, 674, 1182, 328, 845, 1450, 373, 29871, 29906, 29955, 14530, 29871, 29906, 29900, 29906, 29900, 13, 29937, 294, 5439, 297, 2045, 597, 1636, 29889, 2222, 15866, 549, 29889, 510, 29914, 14080, 29914, 29916, 13801, 29968, 29979, 3749, 29984, 29953, 29933, 29929, 29891, 1314, 29933, 29906, 29947, 29914, 8394, 29899, 3259, 29899, 546, 3647, 287, 29899, 273, 29899, 5062, 3880, 29899, 22256, 29899, 20567, 13, 29937, 4986, 3970, 29901, 1207, 964, 10772, 2227, 3577, 470, 6473, 2471, 13, 13, 29937, 492, 8464, 13, 5215, 4036, 539, 396, 1454, 4036, 5281, 1083, 4995, 1051, 13, 13, 29937, 12171, 363, 5183, 29914, 8945, 5281, 1881, 13, 29937, 4986, 3970, 29901, 2334, 2307, 2534, 10819, 13, 29937, 4986, 3970, 29901, 2334, 1018, 29899, 12510, 297, 1206, 310, 4319, 934, 2084, 13, 1753, 1303, 29918, 1745, 513, 414, 29918, 3166, 29918, 1445, 29898, 1745, 513, 414, 29918, 2084, 978, 1125, 13, 1678, 14550, 6359, 29879, 297, 263, 1051, 310, 1083, 513, 414, 515, 263, 934, 29889, 13, 1678, 8695, 29901, 334, 14088, 4100, 1083, 513, 414, 29936, 22289, 491, 694, 29889, 310, 10819, 29889, 13, 1678, 1738, 14088, 8676, 1083, 513, 414, 29936, 1438, 526, 17262, 29889, 13, 1678, 851, 1599, 518, 710, 29962, 12008, 13, 1678, 411, 1722, 29898, 1745, 513, 414, 29918, 2084, 978, 29892, 4464, 353, 525, 29878, 1495, 408, 285, 29901, 13, 4706, 364, 9012, 353, 285, 29889, 949, 9012, 580, 462, 539, 396, 949, 515, 1083, 513, 414, 29918, 2084, 978, 322, 4226, 675, 13, 4706, 364, 9012, 353, 518, 21478, 29889, 17010, 28909, 29876, 1495, 363, 364, 29878, 297, 1083, 513, 414, 29962, 13, 4706, 736, 1083, 4995, 13, 13, 1753, 1303, 29918, 1745, 513, 414, 29918, 3166, 29918, 11058, 7295, 13, 1678, 14550, 6359, 29879, 297, 263, 1051, 310, 1083, 513, 414, 515, 1426, 1881, 29889, 13, 1678, 313, 1762, 8341, 278, 1051, 29892, 278, 1404, 881, 1134, 3078, 322, 3896, 1846, 13, 1678, 6213, 29892, 851, 1881, 1599, 518, 710, 29962, 12008, 13, 1678, 1596, 877, 10399, 596, 1083, 513, 414, 1244, 29889, 313, 1542, 3078, 322, 3896, 304, 5040, 1846, 1495, 13, 1678, 1083, 513, 414, 353, 5159, 462, 462, 795, 396, 1853, 297, 1083, 513, 414, 13, 1678, 1550, 5852, 29901, 13, 9651, 716, 1745, 4995, 353, 1881, 877, 5618, 338, 697, 310, 596, 1083, 513, 414, 29973, 25710, 13, 9651, 565, 716, 1745, 4995, 2804, 525, 2396, 13, 462, 1678, 1083, 513, 414, 29889, 4397, 29898, 1482, 1745, 4995, 29897, 13, 9651, 1683, 29901, 13, 462, 1678, 2867, 13, 1678, 736, 1083, 513, 414, 13, 13, 29937, 2220, 304, 788, 10819, 304, 1083, 4995, 934, 3454, 13, 1753, 788, 29918, 303, 1503, 29918, 517, 29918, 1745, 4995, 9012, 29898, 1745, 4995, 9012, 29892, 4452, 29918, 517, 29918, 8508, 1125, 13, 1678, 14550, 4013, 740, 881, 788, 10819, 304, 278, 10902, 4452, 2183, 491, 278, 16285, 297, 278, 1473, 1897, 29889, 13, 1678, 518, 710, 1402, 17288, 710, 29892, 938, 4638, 1599, 518, 710, 29962, 13, 1678, 14550, 13, 1678, 1121, 353, 1083, 4995, 9012, 13, 1678, 363, 313, 667, 29892, 2380, 29897, 297, 4452, 29918, 517, 29918, 8508, 29901, 13, 4706, 1121, 29961, 2248, 29962, 353, 525, 29930, 29915, 718, 1121, 29961, 2248, 29962, 13, 1678, 736, 1121, 13, 13, 29937, 2220, 304, 4226, 675, 1083, 513, 414, 13, 1753, 4226, 675, 29918, 1745, 4995, 9012, 29898, 1745, 4995, 9012, 1125, 13, 1678, 14550, 19077, 7093, 1083, 4995, 9012, 29889, 13, 1678, 897, 1026, 267, 3454, 6257, 411, 448, 29889, 13, 1678, 2514, 2153, 3454, 451, 6257, 411, 334, 29892, 565, 738, 4864, 29892, 322, 10397, 1078, 6763, 20611, 13, 1678, 518, 710, 29962, 1599, 518, 710, 1822, 12008, 13, 1678, 1121, 353, 1083, 4995, 9012, 13, 1678, 1121, 353, 1051, 29898, 4572, 3552, 2892, 269, 29901, 269, 29961, 29900, 29962, 2804, 17411, 5477, 1121, 876, 396, 4801, 267, 3454, 6257, 411, 448, 13, 1678, 2411, 353, 1051, 29898, 4572, 3552, 2892, 269, 29901, 269, 29961, 29900, 29962, 353, 525, 29930, 5477, 1121, 876, 396, 2622, 29879, 3454, 6257, 411, 334, 13, 1678, 565, 7431, 29898, 6574, 29897, 1405, 29871, 29900, 29901, 13, 4706, 1121, 353, 1051, 29898, 1958, 3552, 2892, 269, 29901, 269, 29961, 29896, 29901, 11724, 2411, 876, 13, 1678, 736, 1121, 13, 13, 29937, 3396, 775, 13, 29937, 949, 297, 1083, 513, 414, 13, 361, 1881, 877, 6132, 366, 864, 304, 1303, 297, 596, 1083, 513, 414, 515, 263, 934, 29973, 25710, 297, 6024, 3582, 742, 525, 8241, 2033, 29901, 13, 1678, 1083, 513, 414, 29918, 2084, 978, 353, 1881, 877, 5618, 338, 278, 934, 2224, 29973, 25710, 13, 1678, 1083, 513, 414, 353, 1303, 29918, 1745, 513, 414, 29918, 3166, 29918, 1445, 29898, 1745, 513, 414, 29918, 2084, 978, 29897, 13, 2870, 29901, 13, 1678, 1083, 513, 414, 353, 1303, 29918, 1745, 513, 414, 29918, 3166, 29918, 11058, 580, 13, 29937, 8945, 675, 1083, 513, 414, 13, 1745, 513, 414, 353, 4226, 675, 29918, 1745, 4995, 9012, 29898, 1745, 513, 414, 29897, 13, 13, 29937, 21094, 383, 18510, 373, 2969, 1051, 13, 2158, 28909, 29876, 10454, 29892, 1235, 20333, 29879, 2656, 596, 1083, 513, 414, 29991, 1495, 13, 29937, 17462, 5702, 310, 16285, 313, 517, 1207, 934, 29899, 16554, 4780, 29897, 13, 1745, 513, 414, 29918, 845, 3096, 839, 353, 17288, 1745, 513, 414, 29961, 2248, 1402, 2380, 29897, 363, 2380, 297, 3464, 29898, 2435, 29898, 1745, 513, 414, 28166, 13, 8172, 29889, 845, 21897, 29898, 1745, 513, 414, 29918, 845, 3096, 839, 29897, 418, 396, 517, 3349, 24003, 515, 2969, 1797, 29936, 14402, 29901, 2758, 2984, 304, 3013, 2441, 1797, 13, 13318, 680, 294, 353, 518, 1745, 513, 414, 29918, 845, 3096, 839, 29961, 29900, 5262, 13, 1454, 474, 297, 3464, 29898, 29896, 29892, 7431, 29898, 1745, 513, 414, 29918, 845, 3096, 839, 22164, 13, 12, 5327, 353, 1881, 29898, 29888, 29915, 29956, 483, 366, 3265, 437, 29850, 1745, 513, 414, 29918, 845, 3096, 839, 29961, 29875, 3816, 29900, 29962, 5038, 3265, 1135, 29850, 13318, 680, 294, 14352, 29896, 3816, 29900, 29962, 5038, 29973, 25710, 13, 12, 361, 2933, 297, 6024, 3582, 742, 525, 8241, 2033, 29901, 13, 12, 12, 13318, 680, 294, 29889, 4397, 29898, 1745, 513, 414, 29918, 845, 3096, 839, 29961, 29875, 2314, 13, 13, 29937, 4905, 13, 2158, 29898, 29888, 12764, 29876, 3492, 881, 437, 426, 1761, 29898, 13318, 680, 294, 17255, 276, 874, 287, 1649, 3101, 29961, 29900, 3816, 29900, 29962, 1836, 1495, 13, 13, 29937, 1454, 934, 15873, 13, 361, 1083, 513, 414, 29918, 2084, 978, 2804, 525, 2396, 13, 1678, 565, 1881, 877, 6113, 304, 934, 29973, 25710, 297, 6024, 3582, 742, 525, 8241, 2033, 29901, 13, 4706, 411, 1722, 29898, 1745, 513, 414, 29918, 2084, 978, 29892, 525, 29878, 1495, 408, 285, 29901, 13, 9651, 1083, 4995, 1445, 29918, 10853, 353, 285, 29889, 949, 9012, 580, 13, 4706, 411, 1722, 29898, 1745, 513, 414, 29918, 2084, 978, 29892, 525, 29893, 1495, 408, 285, 29901, 13, 9651, 285, 29889, 8231, 24210, 29898, 1202, 29918, 303, 1503, 29918, 517, 29918, 1745, 4995, 9012, 29898, 1745, 4995, 1445, 29918, 10853, 29892, 1900, 680, 294, 876, 13, 13, 361, 1881, 28909, 29876, 2182, 277, 29973, 25710, 297, 6024, 3582, 742, 525, 8241, 2033, 29901, 13, 1678, 6876, 580, 13, 2 ]
mneia_admin_backend/migrations/0005_person_works.py
mneia-gr/mneia-admin-backend
0
1600679
<gh_stars>0 # Generated by Django 3.2.4 on 2021-06-25 07:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("mneia_admin_backend", "0004_personworkrelationship"), ] operations = [ migrations.AddField( model_name="person", name="works", field=models.ManyToManyField( related_name="people", through="mneia_admin_backend.PersonWorkRelationship", to="mneia_admin_backend.Work", ), ), ]
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 3251, 630, 491, 15337, 29871, 29941, 29889, 29906, 29889, 29946, 373, 29871, 29906, 29900, 29906, 29896, 29899, 29900, 29953, 29899, 29906, 29945, 29871, 29900, 29955, 29901, 29941, 29946, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 29892, 4733, 13, 13, 13, 1990, 341, 16783, 29898, 26983, 800, 29889, 29924, 16783, 1125, 13, 13, 1678, 9962, 353, 518, 13, 4706, 4852, 29885, 484, 423, 29918, 6406, 29918, 27852, 613, 376, 29900, 29900, 29900, 29946, 29918, 10532, 1287, 2674, 800, 4034, 4968, 13, 1678, 4514, 13, 13, 1678, 6931, 353, 518, 13, 4706, 9725, 800, 29889, 2528, 3073, 29898, 13, 9651, 1904, 29918, 978, 543, 10532, 613, 13, 9651, 1024, 543, 13129, 613, 13, 9651, 1746, 29922, 9794, 29889, 14804, 1762, 14804, 3073, 29898, 13, 18884, 4475, 29918, 978, 543, 25719, 613, 13, 18884, 1549, 543, 29885, 484, 423, 29918, 6406, 29918, 27852, 29889, 7435, 5531, 9662, 800, 4034, 613, 13, 18884, 304, 543, 29885, 484, 423, 29918, 6406, 29918, 27852, 29889, 5531, 613, 13, 9651, 10353, 13, 4706, 10353, 13, 1678, 4514, 13, 2 ]
math/rsa.py
javyxu/algorithms-python
2
103911
""" RSA encryption algorithm a method for encrypting a number that uses seperate encryption and decryption keys this file only implements the key generation algorithm there are three important numbers in RSA called n, e, and d e is called the encryption exponent d is called the decryption exponent n is called the modulus these three numbers satisfy ((x ** e) ** d) % n == x % n to use this system for encryption, n and e are made publicly available, and d is kept secret a number x can be encrypted by computing (x ** e) % n the original number can then be recovered by computing (E ** d) % n, where E is the encrypted number fortunately, python provides a three argument version of pow() that can compute powers modulo a number very quickly: (a ** b) % c == pow(a,b,c) """ import random from rabin_miller import * # is_prime from extended_gcd import * # extended_gcd """ generate a prime with k bits """ def genprime(k): while True: n = random.randrange(2 ** (k - 1),2 ** k) if is_prime(n,128): return n """ calculate the inverse of a mod m that is, find b such that (a * b) % m == 1 """ def modinv(a, m): x, y, g = extended_gcd(a,m) return x % m """ the RSA key generating algorithm k is the number of bits in n """ def generate_key(k): # size in bits of p and q need to add up to the size of n p_size = k / 2 q_size = k - p_size e = genprime(k) # in many cases, e is also chosen to be a small constant while True: p = genprime(k / 2) if p % e != 1: break while True: q = genprime(k - k / 2) if q % e != 1: break n = p * q l = (p - 1) * (q - 1) # calculate totient function d = modinv(e,l) return n, e, d """ sample usage: n,e,d = generate_key(1024) data = 1337 encrypted = pow(data,e,n) decrypted = pow(encrypted,d,n) assert decrypted == data """
[ 1, 9995, 13, 29934, 8132, 20956, 5687, 13, 29874, 1158, 363, 27924, 292, 263, 1353, 393, 3913, 409, 21194, 20956, 322, 1602, 14272, 6611, 13, 1366, 934, 871, 10703, 278, 1820, 12623, 5687, 13, 13, 12711, 526, 2211, 4100, 3694, 297, 390, 8132, 2000, 302, 29892, 321, 29892, 322, 270, 13, 29872, 338, 2000, 278, 20956, 28869, 13, 29881, 338, 2000, 278, 1602, 14272, 28869, 13, 29876, 338, 2000, 278, 878, 14999, 13, 13, 386, 968, 2211, 3694, 15523, 13, 3552, 29916, 3579, 321, 29897, 3579, 270, 29897, 1273, 302, 1275, 921, 1273, 302, 13, 13, 517, 671, 445, 1788, 363, 20956, 29892, 302, 322, 321, 526, 1754, 970, 368, 3625, 29892, 322, 270, 338, 8126, 7035, 13, 29874, 1353, 921, 508, 367, 23220, 491, 20602, 313, 29916, 3579, 321, 29897, 1273, 302, 13, 1552, 2441, 1353, 508, 769, 367, 24776, 491, 20602, 313, 29923, 3579, 270, 29897, 1273, 302, 29892, 988, 382, 338, 13, 1552, 23220, 1353, 13, 13, 7524, 29892, 3017, 8128, 263, 2211, 2980, 1873, 310, 4764, 580, 393, 508, 10272, 10801, 878, 7207, 13, 29874, 1353, 1407, 9098, 29901, 13, 29898, 29874, 3579, 289, 29897, 1273, 274, 1275, 4764, 29898, 29874, 29892, 29890, 29892, 29883, 29897, 13, 15945, 29908, 13, 13, 5215, 4036, 13, 13, 3166, 1153, 2109, 29918, 29885, 5495, 1053, 334, 396, 338, 29918, 10080, 13, 3166, 10410, 29918, 29887, 2252, 1053, 334, 396, 10410, 29918, 29887, 2252, 13, 13, 15945, 29908, 13, 17158, 263, 6019, 411, 413, 9978, 13, 15945, 29908, 13, 1753, 2531, 10080, 29898, 29895, 1125, 13, 1678, 1550, 5852, 29901, 13, 4706, 302, 353, 4036, 29889, 9502, 3881, 29898, 29906, 3579, 313, 29895, 448, 29871, 29896, 511, 29906, 3579, 413, 29897, 13, 4706, 565, 338, 29918, 10080, 29898, 29876, 29892, 29896, 29906, 29947, 1125, 13, 9651, 736, 302, 13, 13, 15945, 29908, 13, 15807, 403, 278, 16402, 310, 263, 878, 286, 13, 5747, 338, 29892, 1284, 289, 1316, 393, 313, 29874, 334, 289, 29897, 1273, 286, 1275, 29871, 29896, 13, 15945, 29908, 13, 1753, 878, 11569, 29898, 29874, 29892, 286, 1125, 13, 4706, 921, 29892, 343, 29892, 330, 353, 10410, 29918, 29887, 2252, 29898, 29874, 29892, 29885, 29897, 13, 4706, 736, 921, 1273, 286, 13, 13, 15945, 29908, 13, 1552, 390, 8132, 1820, 14655, 5687, 13, 29895, 338, 278, 1353, 310, 9978, 297, 302, 13, 15945, 29908, 13, 1753, 5706, 29918, 1989, 29898, 29895, 1125, 13, 1678, 396, 2159, 297, 9978, 310, 282, 322, 3855, 817, 304, 788, 701, 304, 278, 2159, 310, 302, 13, 1678, 282, 29918, 2311, 353, 413, 847, 29871, 29906, 13, 1678, 3855, 29918, 2311, 353, 413, 448, 282, 29918, 2311, 13, 268, 13, 1678, 321, 353, 2531, 10080, 29898, 29895, 29897, 396, 297, 1784, 4251, 29892, 321, 338, 884, 10434, 304, 367, 263, 2319, 4868, 13, 268, 13, 1678, 1550, 5852, 29901, 13, 4706, 282, 353, 2531, 10080, 29898, 29895, 847, 29871, 29906, 29897, 13, 4706, 565, 282, 1273, 321, 2804, 29871, 29896, 29901, 13, 9651, 2867, 13, 268, 13, 1678, 1550, 5852, 29901, 13, 4706, 3855, 353, 2531, 10080, 29898, 29895, 448, 413, 847, 29871, 29906, 29897, 13, 4706, 565, 3855, 1273, 321, 2804, 29871, 29896, 29901, 13, 9651, 2867, 13, 268, 13, 1678, 302, 353, 282, 334, 3855, 13, 1678, 301, 353, 313, 29886, 448, 29871, 29896, 29897, 334, 313, 29939, 448, 29871, 29896, 29897, 396, 8147, 2025, 993, 740, 13, 1678, 270, 353, 878, 11569, 29898, 29872, 29892, 29880, 29897, 13, 268, 13, 1678, 736, 302, 29892, 321, 29892, 270, 13, 13, 15945, 29908, 13, 11249, 8744, 29901, 13, 29876, 29892, 29872, 29892, 29881, 353, 5706, 29918, 1989, 29898, 29896, 29900, 29906, 29946, 29897, 13, 1272, 353, 29871, 29896, 29941, 29941, 29955, 13, 3977, 14740, 353, 4764, 29898, 1272, 29892, 29872, 29892, 29876, 29897, 13, 7099, 14740, 353, 4764, 29898, 3977, 14740, 29892, 29881, 29892, 29876, 29897, 13, 9294, 1602, 14740, 1275, 848, 13, 15945, 29908, 13, 2 ]
config.py
gve-sw/GVE_DevNet_Jabber_MigrateRooms-ChatToWebex
1
142599
<filename>config.py """Copyright (c) 2020 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with the terms of the License. All rights not expressly granted by the License are reserved. Unless required by applicable law or agreed to separately in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ import os # dCloud environment can be used for testing: # 'Evolution of Cisco Jabber and Migration of Jabber to Webex Lab v3' ''' DB variables to be used by SQLAlchemy to connect to DB. Check the DB types supported by SQLALchemy engine in its references. Following is a sample: - Postgres: postgres - Microsoft SQL: mssql+pymssql - Oracle: oracle - etc... ''' # Persistent Chat DB TC_DB_TYPE = "<db_type>" TC_DB_HOST = "<hostname_or_ip_address_here>" TC_DB_NAME = "tcmadb" TC_DB_USER = "<username_here>" TC_DB_PASSWORD = "<<PASSWORD>>" # This boolean variable is to choose to migrate the message attachments & file transfer activity (True), # or just handle text-chat only, and display 'Your chat application does not support downloading this file' # for messages with attachments (False) INCLUDE_FILE_TRANSFER = False # Managed file transfer DB # Only if INCLUDE_FILE_TRANSFER was set to True MFT_DB_TYPE = "<db_type>" MFT_DB_HOST = "<hostname_or_ip_address_here>" MFT_DB_NAME = "mftadb" MFT_DB_USER = "<username_here>" MFT_DB_PASSWORD = "<<PASSWORD>>" # File-transfer server details, to be able to download the files to a local folder, then forward it to Webex # Only if INCLUDE_FILE_TRANSFER was set to True FILE_SERVER_HOST = '<hostname_or_ip_address_here>' FILE_SERVER_USER = '<username_here>' FILE_SERVER_PASSWORD = '<<PASSWORD>>' # This boolean variable is to choose to migrate the detected Jabber rooms to Webex (True), # or just use this script to read the existing Jabber rooms and their details and save them in a log (False) CREATE_WEBEX_ROOMS = False # This boolean variable is to choose to check for already-existing Webex rooms that have the same title as the detected Jabber room, # then ask the user if they want to skip it (to avoid duplicates) or migrate it to new room anyway (True) # or not checking the existing Webex rooms' titles and just create new ones anyway (False) CHECK_WEBEX_EXISTING_ROOMS = False # Webex Authorization # Only if CREATE_WEBEX_ROOMS was set to True WEBEX_AUTH = 'Bearer <webex_user_token>' # These 2 variables are only needed if Jabber IM messaging uses a different domain than Webex domain. # Example: In dCloud environment, Jabber IM uses @dcloud.cisco.com while Webex environment uses @cbXXX.dc-YY.com JABBER_DOMAIN = "" WEBEX_DOMAIN = "" # Folder to store the script logs and its run results # If not changed: it will create a sub-folder of the current location called 'Logs' LOGS_FOLDER = os.path.dirname(os.path.realpath(__file__)) + '\\Logs\\' # Folder to store the files being transferred from Jabber's external file-server to Webex as attachments # If not changed: it will create a sub-folder of the current location called 'FileTransfer' LOCAL_FILE_TRANSFER_FOLDER = os.path.dirname(os.path.realpath(__file__)) + '\\FileTransfer\\'
[ 1, 529, 9507, 29958, 2917, 29889, 2272, 13, 15945, 29908, 11882, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29906, 29900, 315, 275, 1111, 322, 29914, 272, 967, 23736, 1078, 22993, 13, 30004, 13, 4013, 7047, 338, 7794, 21144, 304, 366, 1090, 278, 4958, 310, 278, 315, 275, 1111, 21029, 30004, 13, 3399, 19245, 29892, 10079, 29871, 29896, 29889, 29896, 313, 1552, 376, 29931, 293, 1947, 2564, 887, 1122, 4017, 263, 3509, 310, 278, 30004, 13, 29931, 293, 1947, 472, 30004, 13, 30004, 13, 1669, 2045, 597, 6734, 29889, 3476, 1111, 29889, 510, 29914, 2640, 29914, 506, 11259, 30004, 13, 30004, 13, 3596, 671, 310, 278, 5518, 1244, 262, 1818, 367, 297, 15017, 749, 411, 278, 4958, 310, 30004, 13, 1552, 19245, 29889, 2178, 10462, 451, 4653, 368, 16896, 491, 278, 19245, 526, 30004, 13, 690, 9841, 29889, 25870, 3734, 491, 22903, 4307, 470, 15502, 304, 16949, 297, 30004, 13, 16554, 29892, 7047, 13235, 1090, 278, 19245, 338, 13235, 373, 385, 376, 3289, 30004, 13, 3235, 29908, 350, 3289, 3235, 29892, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29059, 6323, 8707, 29928, 22122, 29903, 8079, 13764, 29979, 476, 22255, 29892, 2845, 4653, 30004, 13, 272, 2411, 2957, 22993, 13, 15945, 19451, 13, 5215, 2897, 30004, 13, 30004, 13, 29937, 270, 20442, 5177, 508, 367, 1304, 363, 6724, 29901, 30004, 13, 29937, 525, 29923, 4068, 310, 315, 275, 1111, 435, 370, 495, 322, 341, 16783, 310, 435, 370, 495, 304, 2563, 735, 12016, 325, 29941, 29915, 30004, 13, 30004, 13, 12008, 30004, 13, 4051, 3651, 304, 367, 1304, 491, 3758, 2499, 305, 6764, 304, 4511, 304, 6535, 29889, 6756, 13, 5596, 278, 6535, 4072, 6969, 491, 3758, 1964, 305, 6764, 6012, 297, 967, 9282, 29889, 6756, 13, 29943, 2952, 292, 338, 263, 4559, 29901, 30004, 13, 448, 4918, 7201, 29901, 1400, 7201, 30004, 13, 448, 7783, 3758, 29901, 286, 893, 1519, 29974, 29886, 962, 893, 1519, 30004, 13, 448, 15401, 29901, 17919, 30004, 13, 448, 2992, 856, 30004, 13, 12008, 30004, 13, 29937, 9034, 9696, 678, 271, 6535, 30004, 13, 9472, 29918, 4051, 29918, 11116, 353, 9872, 2585, 29918, 1853, 11903, 30004, 13, 9472, 29918, 4051, 29918, 20832, 353, 9872, 28988, 29918, 272, 29918, 666, 29918, 7328, 29918, 4150, 11903, 30004, 13, 9472, 29918, 4051, 29918, 5813, 353, 376, 29873, 4912, 328, 29890, 19451, 13, 9472, 29918, 4051, 29918, 11889, 353, 9872, 6786, 29918, 4150, 11903, 30004, 13, 9472, 29918, 4051, 29918, 25711, 17013, 353, 376, 9314, 25711, 17013, 6778, 19451, 13, 30004, 13, 29937, 910, 7223, 2286, 338, 304, 6755, 304, 9725, 403, 278, 2643, 10641, 1860, 669, 934, 6782, 6354, 313, 5574, 511, 30004, 13, 29937, 470, 925, 4386, 1426, 29899, 13496, 871, 29892, 322, 2479, 525, 10858, 13563, 2280, 947, 451, 2304, 28536, 445, 934, 29915, 30004, 13, 29937, 363, 7191, 411, 10641, 1860, 313, 8824, 8443, 13, 1177, 6154, 29965, 2287, 29918, 7724, 29918, 26813, 20322, 1001, 353, 7700, 30004, 13, 30004, 13, 29937, 2315, 4063, 934, 6782, 6535, 30004, 13, 29937, 9333, 565, 2672, 6154, 29965, 2287, 29918, 7724, 29918, 26813, 20322, 1001, 471, 731, 304, 5852, 30004, 13, 29924, 7818, 29918, 4051, 29918, 11116, 353, 9872, 2585, 29918, 1853, 11903, 30004, 13, 29924, 7818, 29918, 4051, 29918, 20832, 353, 9872, 28988, 29918, 272, 29918, 666, 29918, 7328, 29918, 4150, 11903, 30004, 13, 29924, 7818, 29918, 4051, 29918, 5813, 353, 376, 29885, 615, 328, 29890, 19451, 13, 29924, 7818, 29918, 4051, 29918, 11889, 353, 9872, 6786, 29918, 4150, 11903, 30004, 13, 29924, 7818, 29918, 4051, 29918, 25711, 17013, 353, 376, 9314, 25711, 17013, 6778, 19451, 13, 30004, 13, 29937, 3497, 29899, 3286, 571, 1923, 4902, 29892, 304, 367, 2221, 304, 5142, 278, 2066, 304, 263, 1887, 4138, 29892, 769, 6375, 372, 304, 2563, 735, 30004, 13, 29937, 9333, 565, 2672, 6154, 29965, 2287, 29918, 7724, 29918, 26813, 20322, 1001, 471, 731, 304, 5852, 30004, 13, 7724, 29918, 18603, 29918, 20832, 353, 12801, 28988, 29918, 272, 29918, 666, 29918, 7328, 29918, 4150, 16299, 30004, 13, 7724, 29918, 18603, 29918, 11889, 353, 12801, 6786, 29918, 4150, 16299, 30004, 13, 7724, 29918, 18603, 29918, 25711, 17013, 353, 525, 9314, 25711, 17013, 6778, 29915, 30004, 13, 30004, 13, 29937, 910, 7223, 2286, 338, 304, 6755, 304, 9725, 403, 278, 17809, 435, 370, 495, 19600, 304, 2563, 735, 313, 5574, 511, 30004, 13, 29937, 470, 925, 671, 445, 2471, 304, 1303, 278, 5923, 435, 370, 495, 19600, 322, 1009, 4902, 322, 4078, 963, 297, 263, 1480, 313, 8824, 8443, 13, 27045, 29918, 8851, 29933, 5746, 29918, 1672, 29949, 4345, 353, 7700, 30004, 13, 30004, 13, 29937, 910, 7223, 2286, 338, 304, 6755, 304, 1423, 363, 2307, 29899, 735, 15423, 2563, 735, 19600, 393, 505, 278, 1021, 3611, 408, 278, 17809, 435, 370, 495, 5716, 11167, 13, 29937, 769, 2244, 278, 1404, 565, 896, 864, 304, 14383, 372, 313, 517, 4772, 20955, 29897, 470, 9725, 403, 372, 304, 716, 5716, 8763, 313, 5574, 8443, 13, 29937, 470, 451, 8454, 278, 5923, 2563, 735, 19600, 29915, 17735, 322, 925, 1653, 716, 6743, 8763, 313, 8824, 8443, 13, 3210, 16658, 29918, 8851, 29933, 5746, 29918, 5746, 9047, 4214, 29918, 1672, 29949, 4345, 353, 7700, 30004, 13, 30004, 13, 29937, 2563, 735, 13361, 2133, 30004, 13, 29937, 9333, 565, 14602, 29918, 8851, 29933, 5746, 29918, 1672, 29949, 4345, 471, 731, 304, 5852, 30004, 13, 8851, 29933, 5746, 29918, 20656, 29950, 353, 525, 29933, 799, 261, 529, 2676, 735, 29918, 1792, 29918, 6979, 16299, 30004, 13, 30004, 13, 29937, 4525, 29871, 29906, 3651, 526, 871, 4312, 565, 435, 370, 495, 22313, 4473, 6751, 3913, 263, 1422, 5354, 1135, 2563, 735, 5354, 22993, 13, 29937, 8741, 29901, 512, 270, 20442, 5177, 29892, 435, 370, 495, 22313, 3913, 732, 29881, 9274, 29889, 3476, 1111, 29889, 510, 1550, 2563, 735, 5177, 3913, 732, 10702, 22791, 29889, 13891, 29899, 14995, 29889, 510, 30004, 13, 29967, 2882, 13635, 29918, 3970, 29032, 353, 5124, 30004, 13, 8851, 29933, 5746, 29918, 3970, 29032, 353, 5124, 30004, 13, 30004, 13, 29937, 383, 3194, 304, 3787, 278, 2471, 10748, 322, 967, 1065, 2582, 30004, 13, 29937, 960, 451, 3939, 29901, 372, 674, 1653, 263, 1014, 29899, 12083, 310, 278, 1857, 4423, 2000, 525, 3403, 29879, 29915, 30004, 13, 3927, 10749, 29918, 29943, 5607, 8032, 353, 2897, 29889, 2084, 29889, 25721, 29898, 359, 29889, 2084, 29889, 6370, 2084, 22168, 1445, 1649, 876, 718, 525, 1966, 3403, 29879, 1966, 29915, 30004, 13, 30004, 13, 29937, 383, 3194, 304, 3787, 278, 2066, 1641, 18440, 515, 435, 370, 495, 29915, 29879, 7029, 934, 29899, 2974, 304, 2563, 735, 408, 10641, 1860, 30004, 13, 29937, 960, 451, 3939, 29901, 372, 674, 1653, 263, 1014, 29899, 12083, 310, 278, 1857, 4423, 2000, 525, 2283, 4300, 571, 29915, 30004, 13, 16652, 1964, 29918, 7724, 29918, 26813, 20322, 1001, 29918, 29943, 5607, 8032, 353, 2897, 29889, 2084, 29889, 25721, 29898, 359, 29889, 2084, 29889, 6370, 2084, 22168, 1445, 1649, 876, 718, 525, 1966, 2283, 4300, 571, 1966, 29915, 30004, 13, 30004, 13, 2 ]
src/test.py
Times125/Graduation_Project
0
1614822
<reponame>Times125/Graduation_Project<filename>src/test.py #! /usr/bin/env python # -*- coding: utf-8 -*- """ @Author:lichunhui @Time: 2018/4/10 13:01 @Description: """ import nltk import re from src import log from sklearn.naive_bayes import MultinomialNB, BernoulliNB from nltk.classify.scikitlearn import SklearnClassifier class Testme: # 去除类似soooo 保留soo rpt_regex = re.compile(r"(.)\1{1,}", re.IGNORECASE) # twitter中@***这种将被替换成__HAND_ hndl_regex = re.compile(r"@(\w+)") # twitter中话题#***这种将被替换成__HASH_ hash_regex = re.compile(r"#(\w+)") # twitter中话题#***这种将被替换成__URL_ url_regex = re.compile(r"(http|https|ftp)://[a-zA-Z0-9\./]+") # twitter中存在的一些表情 emoticons = [('__EMOT_SMILEY', [':-)', ':)', '(:', '(-:', '^_^', '>y<', '>o<', '>O<', '^.^']), ('__EMOT_LAUGH', [':-D', ':D', 'X-D', 'XD', 'xD', ]), ('__EMOT_LOVE', ['<3', ':\*', ]), ('__EMOT_WINK', [';-)', ';)', ';-D', ';D', '(;', '(-;', '←_←', '→_→', '<_<', '>_>']), ('__EMOT_FROWN', [':-(', ':(', '(:', '(-:', '=_=', 'D:<','orz']), ('__EMOT_CRY', [':,(', ':\'(', ':"(', ':((', 't_t', 'T_T', '→_←', 'T^T', '>_<']), ] @classmethod def url_repl(cls, match): return '__URL_' @classmethod def hash_repl(cls, match): return '__HASH_' + match.group(1).upper() @classmethod def hndl_repl(cls, match): return '__HAND_' @classmethod def rpt_repl(cls, match): return match.group(1) + match.group(1) @classmethod def regex_union(cls, arr): return '(' + '|'.join(arr) + ')' @classmethod def escape_paren(cls, arr): return [text.replace(')', '[)}\]]').replace('(', '[({\[]') for text in arr] negtn_regex = re.compile(r"""(?:^(?:never|no|nothing|nowhere|noone|none|not|havent|hasnt|hadnt|cant|couldnt|shouldnt| wont|wouldnt|dont|doesnt|didnt|isnt|aret|aint)$)|n't""", re.X) @classmethod def get_negation_features(cls, words): INF = 0.0 negtn = [bool(cls.negtn_regex.search(w)) for w in words] left = [0.0] * len(words) prev = 0.0 for i in range(0, len(words)): if (negtn[i]): prev = 1.0 left[i] = prev prev = max(0.0, prev - 0.1) right = [0.0] * len(words) prev = 0.0 for i in reversed(range(0, len(words))): if (negtn[i]): prev = 1.0 right[i] = prev prev = max(0.0, prev - 0.1) return dict(zip(['neg_l(' + w + ')' for w in words] + ['neg_r(' + w + ')' for w in words], left + right)) @classmethod # 使用正则分词(没有做停用词处理) def text_parse(cls, x): try: sentence = x.strip().lower() except: sentence = x sentence = re.sub(cls.hndl_regex, cls.hndl_repl, sentence) # 匹配替换@*** sentence = re.sub(cls.hash_regex, cls.hash_repl, sentence) # 匹配替换#*** sentence = re.sub(cls.url_regex, cls.url_repl, sentence) # 匹配替换URL sentence = re.sub(cls.rpt_regex, cls.rpt_repl, sentence) # 匹配替换类似yoooooooo为yoo emoticons_regex = [(repl, re.compile(cls.regex_union(cls.escape_paren(regx)))) for (repl, regx) in cls.emoticons] # 匹配替换表情 for (repl, regx) in emoticons_regex: sentence = re.sub(regx, ' ' + repl + ' ', sentence) pattern = r""" (?x)(?:[a-z]\.)+ | \d+(?:\.\d+)?%?\w+ | \w+(?:[-']\w+)* | (?:[-.!?]{2,}) | [][.,;"'?():$-_*`]""" word_list = nltk.regexp_tokenize(sentence, pattern) return word_list if __name__ == '__main__': #log.console_out('1.txt',(1,2,(4,5))) #log.console_out('2.txt','22222') # x = "@times doesn't miss him and worries like it's her job or something #HMS.. ????? ------ >_< >_> >< *_* :D ;0) Work's fine? an interesting coworker, ha! o_O Lots of typing, what fun! <3<3" x = '@MrsFox Yeah...doesn\'t taste like #bacon at all :-( http://tinyurl.com/c2wwgp' # feat = {} # x = "@times still doesn't miss him and worries like it's ? .her job or something ??? .... ---------" y = Testme.text_parse(x) print(y) # print('\n') # negation_features = Testme.get_negation_features(y) # print("negation_features-->", negation_features) # print('\n') # words_bi = ['has(%s)' % ','.join(map(str, bg)) for bg in nltk.bigrams(y)] # print(words_bi) # print('\n') # bag = {} # for f in words_bi: # bag[f] = 1 # feat.update(bag) # feat.update(negation_features) # print(feat) # classifier = SklearnClassifier(BernoulliNB()) # classifier.train([[feat, 'neg']]) # print(classifier.classify(feat))
[ 1, 529, 276, 1112, 420, 29958, 29164, 29896, 29906, 29945, 29914, 3338, 13467, 362, 29918, 7653, 29966, 9507, 29958, 4351, 29914, 1688, 29889, 2272, 13, 29937, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 13, 29992, 13720, 29901, 1470, 348, 15669, 13, 29992, 2481, 29901, 259, 29906, 29900, 29896, 29947, 29914, 29946, 29914, 29896, 29900, 29871, 29896, 29941, 29901, 29900, 29896, 13, 29992, 9868, 29901, 29871, 13, 15945, 29908, 13, 13, 5215, 302, 1896, 29895, 13, 5215, 337, 13, 3166, 4765, 1053, 1480, 13, 3166, 2071, 19668, 29889, 1056, 573, 29918, 27495, 267, 1053, 9683, 262, 7615, 23189, 29892, 6209, 5059, 492, 23189, 13, 3166, 302, 1896, 29895, 29889, 1990, 1598, 29889, 26167, 29895, 1740, 2753, 1053, 4971, 19668, 2385, 3709, 13, 13, 13, 1990, 4321, 1004, 29901, 13, 1678, 396, 29871, 31475, 31152, 30832, 231, 191, 191, 578, 3634, 29877, 29871, 30982, 234, 152, 156, 578, 29877, 13, 1678, 364, 415, 29918, 13087, 353, 337, 29889, 12198, 29898, 29878, 29908, 29898, 1846, 29905, 29896, 29912, 29896, 29892, 17671, 337, 29889, 6259, 6632, 1525, 23487, 29897, 13, 13, 1678, 396, 23394, 30275, 29992, 17435, 30810, 31893, 30998, 31407, 233, 158, 194, 31640, 30494, 1649, 29950, 9468, 29918, 13, 1678, 298, 299, 29880, 29918, 13087, 353, 337, 29889, 12198, 29898, 29878, 29908, 29992, 1194, 29893, 29974, 25760, 13, 13, 1678, 396, 23394, 30275, 31852, 31596, 29937, 17435, 30810, 31893, 30998, 31407, 233, 158, 194, 31640, 30494, 1649, 29950, 24943, 29918, 13, 1678, 6608, 29918, 13087, 353, 337, 29889, 12198, 29898, 29878, 29908, 29937, 1194, 29893, 29974, 25760, 13, 13, 1678, 396, 23394, 30275, 31852, 31596, 29937, 17435, 30810, 31893, 30998, 31407, 233, 158, 194, 31640, 30494, 1649, 4219, 29918, 13, 1678, 3142, 29918, 13087, 353, 337, 29889, 12198, 29898, 29878, 29908, 29898, 1124, 29989, 991, 29989, 23102, 29897, 597, 29961, 29874, 29899, 25265, 29899, 29999, 29900, 29899, 29929, 29905, 6904, 10062, 1159, 13, 13, 1678, 396, 23394, 30275, 30946, 30505, 30210, 30287, 31959, 30746, 30993, 13, 1678, 953, 13574, 787, 353, 518, 877, 1649, 12665, 2891, 29918, 29903, 10403, 1307, 29979, 742, 518, 2396, 15805, 742, 525, 20925, 742, 525, 8137, 742, 525, 6278, 29901, 742, 525, 29985, 29918, 29985, 742, 525, 29958, 29891, 29966, 742, 525, 29958, 29877, 29966, 742, 525, 29958, 29949, 29966, 742, 525, 29985, 29889, 29985, 2033, 511, 13, 462, 6702, 1649, 12665, 2891, 29918, 4375, 23338, 29950, 742, 518, 2396, 29899, 29928, 742, 525, 29901, 29928, 742, 525, 29990, 29899, 29928, 742, 525, 29990, 29928, 742, 525, 29916, 29928, 742, 4514, 511, 13, 462, 6702, 1649, 12665, 2891, 29918, 3927, 12064, 742, 6024, 29966, 29941, 742, 525, 3583, 29930, 742, 4514, 511, 13, 462, 6702, 1649, 12665, 2891, 29918, 25152, 29968, 742, 518, 2670, 15805, 742, 21921, 29897, 742, 21921, 29899, 29928, 742, 21921, 29928, 742, 525, 29898, 29936, 742, 525, 6278, 29936, 742, 525, 30245, 29918, 30245, 742, 525, 30121, 29918, 30121, 742, 12801, 29918, 29966, 742, 525, 29958, 29918, 29958, 2033, 511, 13, 462, 6702, 1649, 12665, 2891, 29918, 29943, 1672, 16048, 742, 518, 2396, 17722, 742, 525, 5919, 742, 525, 8137, 742, 525, 6278, 29901, 742, 525, 29922, 29918, 29922, 742, 525, 29928, 29901, 29966, 3788, 272, 29920, 2033, 511, 13, 462, 6702, 1649, 12665, 2891, 29918, 11341, 29979, 742, 518, 2396, 22657, 742, 525, 3583, 12215, 742, 525, 6160, 29317, 525, 29901, 3552, 742, 525, 29873, 29918, 29873, 742, 525, 29911, 29918, 29911, 742, 525, 30121, 29918, 30245, 742, 525, 29911, 29985, 29911, 742, 525, 29958, 29918, 29966, 2033, 511, 13, 462, 4514, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 3142, 29918, 276, 572, 29898, 25932, 29892, 1993, 1125, 13, 4706, 736, 525, 1649, 4219, 29918, 29915, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 6608, 29918, 276, 572, 29898, 25932, 29892, 1993, 1125, 13, 4706, 736, 525, 1649, 29950, 24943, 29918, 29915, 718, 1993, 29889, 2972, 29898, 29896, 467, 21064, 580, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 298, 299, 29880, 29918, 276, 572, 29898, 25932, 29892, 1993, 1125, 13, 4706, 736, 525, 1649, 29950, 9468, 29918, 29915, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 364, 415, 29918, 276, 572, 29898, 25932, 29892, 1993, 1125, 13, 4706, 736, 1993, 29889, 2972, 29898, 29896, 29897, 718, 1993, 29889, 2972, 29898, 29896, 29897, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 6528, 29918, 13094, 29898, 25932, 29892, 3948, 1125, 13, 4706, 736, 525, 877, 718, 525, 29989, 4286, 7122, 29898, 2749, 29897, 718, 525, 16029, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 10169, 29918, 862, 264, 29898, 25932, 29892, 3948, 1125, 13, 4706, 736, 518, 726, 29889, 6506, 877, 29897, 742, 525, 29961, 11383, 5262, 2824, 6506, 877, 29317, 525, 29961, 13670, 2636, 1495, 363, 1426, 297, 3948, 29962, 13, 13, 1678, 3480, 6277, 29918, 13087, 353, 337, 29889, 12198, 29898, 29878, 15945, 29908, 10780, 29901, 29985, 10780, 29901, 484, 369, 29989, 1217, 29989, 28450, 29989, 3707, 4150, 29989, 1217, 650, 29989, 9290, 29989, 1333, 29989, 8708, 296, 29989, 5349, 593, 29989, 21312, 593, 29989, 29883, 424, 29989, 26680, 593, 29989, 9344, 593, 29989, 13, 308, 20668, 29989, 29893, 483, 593, 29989, 29881, 609, 29989, 13221, 593, 29989, 18361, 593, 29989, 275, 593, 29989, 10474, 29989, 2365, 1262, 10531, 29876, 29915, 29873, 15945, 613, 337, 29889, 29990, 29897, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 679, 29918, 10052, 362, 29918, 22100, 29898, 25932, 29892, 3838, 1125, 13, 4706, 2672, 29943, 353, 29871, 29900, 29889, 29900, 13, 4706, 3480, 6277, 353, 518, 11227, 29898, 25932, 29889, 10052, 6277, 29918, 13087, 29889, 4478, 29898, 29893, 876, 363, 281, 297, 3838, 29962, 13, 13, 4706, 2175, 353, 518, 29900, 29889, 29900, 29962, 334, 7431, 29898, 9303, 29897, 13, 4706, 12379, 353, 29871, 29900, 29889, 29900, 13, 4706, 363, 474, 297, 3464, 29898, 29900, 29892, 7431, 29898, 9303, 22164, 13, 9651, 565, 313, 10052, 6277, 29961, 29875, 29962, 1125, 13, 18884, 12379, 353, 29871, 29896, 29889, 29900, 13, 9651, 2175, 29961, 29875, 29962, 353, 12379, 13, 9651, 12379, 353, 4236, 29898, 29900, 29889, 29900, 29892, 12379, 448, 29871, 29900, 29889, 29896, 29897, 13, 13, 4706, 1492, 353, 518, 29900, 29889, 29900, 29962, 334, 7431, 29898, 9303, 29897, 13, 4706, 12379, 353, 29871, 29900, 29889, 29900, 13, 4706, 363, 474, 297, 18764, 287, 29898, 3881, 29898, 29900, 29892, 7431, 29898, 9303, 876, 1125, 13, 9651, 565, 313, 10052, 6277, 29961, 29875, 29962, 1125, 13, 18884, 12379, 353, 29871, 29896, 29889, 29900, 13, 9651, 1492, 29961, 29875, 29962, 353, 12379, 13, 9651, 12379, 353, 4236, 29898, 29900, 29889, 29900, 29892, 12379, 448, 29871, 29900, 29889, 29896, 29897, 13, 13, 4706, 736, 9657, 29898, 7554, 18959, 10052, 29918, 29880, 877, 718, 281, 718, 525, 16029, 363, 281, 297, 3838, 29962, 718, 6024, 10052, 29918, 29878, 877, 718, 281, 718, 525, 16029, 363, 281, 297, 3838, 1402, 2175, 718, 1492, 876, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 396, 29871, 30785, 30406, 30724, 31403, 30748, 235, 178, 144, 30419, 31423, 30417, 232, 132, 157, 232, 132, 159, 30406, 235, 178, 144, 31548, 30687, 30409, 13, 1678, 822, 1426, 29918, 5510, 29898, 25932, 29892, 921, 1125, 13, 4706, 1018, 29901, 13, 9651, 10541, 353, 921, 29889, 17010, 2141, 13609, 580, 13, 4706, 5174, 29901, 13, 9651, 10541, 353, 921, 13, 13, 4706, 10541, 353, 337, 29889, 1491, 29898, 25932, 29889, 29882, 299, 29880, 29918, 13087, 29892, 1067, 29879, 29889, 29882, 299, 29880, 29918, 276, 572, 29892, 10541, 29897, 29871, 396, 29871, 232, 143, 188, 31361, 233, 158, 194, 31640, 29992, 17435, 13, 4706, 10541, 353, 337, 29889, 1491, 29898, 25932, 29889, 8568, 29918, 13087, 29892, 1067, 29879, 29889, 8568, 29918, 276, 572, 29892, 10541, 29897, 29871, 396, 29871, 232, 143, 188, 31361, 233, 158, 194, 31640, 29937, 17435, 13, 4706, 10541, 353, 337, 29889, 1491, 29898, 25932, 29889, 2271, 29918, 13087, 29892, 1067, 29879, 29889, 2271, 29918, 276, 572, 29892, 10541, 29897, 29871, 396, 29871, 232, 143, 188, 31361, 233, 158, 194, 31640, 4219, 13, 4706, 10541, 353, 337, 29889, 1491, 29898, 25932, 29889, 29878, 415, 29918, 13087, 29892, 1067, 29879, 29889, 29878, 415, 29918, 276, 572, 29892, 10541, 29897, 29871, 396, 29871, 232, 143, 188, 31361, 233, 158, 194, 31640, 30832, 231, 191, 191, 29891, 3634, 3634, 3634, 3634, 30573, 29891, 3634, 13, 13, 4706, 953, 13574, 787, 29918, 13087, 353, 17288, 276, 572, 29892, 337, 29889, 12198, 29898, 25932, 29889, 13087, 29918, 13094, 29898, 25932, 29889, 21587, 29918, 862, 264, 29898, 1727, 29916, 13697, 363, 313, 276, 572, 29892, 1072, 29916, 29897, 297, 13, 462, 965, 1067, 29879, 29889, 331, 13574, 787, 29962, 29871, 396, 29871, 232, 143, 188, 31361, 233, 158, 194, 31640, 30746, 30993, 13, 4706, 363, 313, 276, 572, 29892, 1072, 29916, 29897, 297, 953, 13574, 787, 29918, 13087, 29901, 13, 9651, 10541, 353, 337, 29889, 1491, 29898, 1727, 29916, 29892, 525, 525, 718, 337, 572, 718, 525, 13420, 10541, 29897, 13, 13, 4706, 4766, 353, 364, 15945, 29908, 22308, 29916, 5033, 29973, 10834, 29874, 29899, 29920, 10725, 1846, 29974, 29871, 13, 462, 462, 891, 320, 29881, 29974, 10780, 3583, 7790, 29881, 29974, 6877, 29995, 29973, 29905, 29893, 29974, 13, 462, 462, 891, 320, 29893, 29974, 10780, 10834, 29899, 2033, 29905, 29893, 29974, 11877, 13, 462, 462, 891, 22308, 10834, 28753, 29991, 29973, 3199, 29906, 29892, 1800, 13, 462, 462, 891, 518, 3816, 1696, 15458, 29915, 29973, 7295, 4388, 29918, 20463, 29962, 15945, 29908, 13, 4706, 1734, 29918, 1761, 353, 302, 1896, 29895, 29889, 13087, 29886, 29918, 6979, 675, 29898, 18616, 663, 29892, 4766, 29897, 13, 4706, 736, 1734, 29918, 1761, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 396, 1188, 29889, 11058, 29918, 449, 877, 29896, 29889, 3945, 742, 29898, 29896, 29892, 29906, 22657, 29946, 29892, 29945, 4961, 13, 1678, 396, 1188, 29889, 11058, 29918, 449, 877, 29906, 29889, 3945, 3788, 29906, 29906, 29906, 29906, 29906, 1495, 13, 1678, 396, 921, 353, 17962, 3706, 1838, 29915, 29873, 3052, 29871, 1075, 29871, 322, 6365, 2722, 763, 372, 29915, 29879, 902, 4982, 470, 1554, 396, 29950, 4345, 636, 1577, 8773, 8773, 448, 23648, 29871, 1405, 29918, 29966, 29871, 1405, 29918, 29958, 1405, 29966, 334, 24563, 584, 29928, 2056, 29900, 29897, 5244, 29915, 29879, 2691, 29973, 385, 8031, 21282, 548, 261, 29892, 447, 29991, 288, 29918, 29949, 365, 1862, 310, 19229, 29892, 825, 2090, 29991, 529, 29941, 29966, 29941, 29908, 13, 1678, 921, 353, 18803, 29924, 2288, 29943, 2251, 15011, 856, 13221, 29876, 20333, 29873, 21779, 763, 396, 2291, 535, 472, 599, 8956, 29898, 29871, 1732, 597, 25649, 2271, 29889, 510, 29914, 29883, 29906, 1615, 29887, 29886, 29915, 13, 1678, 396, 1238, 271, 353, 6571, 13, 1678, 396, 921, 353, 17962, 3706, 1603, 1838, 29915, 29873, 3052, 29871, 1075, 29871, 322, 6365, 2722, 763, 372, 29915, 29879, 1577, 869, 2276, 4982, 470, 1554, 1577, 8773, 13035, 448, 1378, 29908, 13, 1678, 343, 353, 4321, 1004, 29889, 726, 29918, 5510, 29898, 29916, 29897, 13, 1678, 1596, 29898, 29891, 29897, 13, 1678, 396, 1596, 28909, 29876, 1495, 13, 1678, 396, 3480, 362, 29918, 22100, 353, 4321, 1004, 29889, 657, 29918, 10052, 362, 29918, 22100, 29898, 29891, 29897, 13, 1678, 396, 1596, 703, 10052, 362, 29918, 22100, 15110, 613, 3480, 362, 29918, 22100, 29897, 13, 1678, 396, 1596, 28909, 29876, 1495, 13, 1678, 396, 3838, 29918, 5365, 353, 6024, 5349, 29414, 29879, 16029, 1273, 13420, 4286, 7122, 29898, 1958, 29898, 710, 29892, 25989, 876, 363, 25989, 297, 302, 1896, 29895, 29889, 3752, 25402, 29898, 29891, 4638, 13, 1678, 396, 1596, 29898, 9303, 29918, 5365, 29897, 13, 1678, 396, 1596, 28909, 29876, 1495, 13, 1678, 396, 19548, 353, 6571, 13, 1678, 396, 363, 285, 297, 3838, 29918, 5365, 29901, 13, 1678, 396, 268, 19548, 29961, 29888, 29962, 353, 29871, 29896, 13, 1678, 396, 1238, 271, 29889, 5504, 29898, 23156, 29897, 13, 1678, 396, 1238, 271, 29889, 5504, 29898, 10052, 362, 29918, 22100, 29897, 13, 1678, 396, 1596, 29898, 1725, 271, 29897, 13, 1678, 396, 770, 3709, 353, 4971, 19668, 2385, 3709, 29898, 29933, 824, 5059, 492, 23189, 3101, 13, 1678, 396, 770, 3709, 29889, 14968, 4197, 29961, 1725, 271, 29892, 525, 10052, 2033, 2314, 13, 1678, 396, 1596, 29898, 1990, 3709, 29889, 1990, 1598, 29898, 1725, 271, 876, 13, 2 ]
anyfft/reikna/_version.py
tlambert03/anyfft
0
156851
<reponame>tlambert03/anyfft<filename>anyfft/reikna/_version.py # file generated by setuptools_scm # don't change, don't track in version control version = "0.1.dev1+ga7b326d.d20210618" version_tuple = (0, 1, "dev1+ga7b326d", "d20210618")
[ 1, 529, 276, 1112, 420, 29958, 29873, 5288, 2151, 29900, 29941, 29914, 1384, 600, 29873, 29966, 9507, 29958, 1384, 600, 29873, 29914, 276, 638, 1056, 19891, 3259, 29889, 2272, 13, 29937, 934, 5759, 491, 731, 21245, 8789, 29918, 1557, 29885, 13, 29937, 1016, 29915, 29873, 1735, 29892, 1016, 29915, 29873, 5702, 297, 1873, 2761, 13, 3259, 353, 376, 29900, 29889, 29896, 29889, 3359, 29896, 29974, 3249, 29955, 29890, 29941, 29906, 29953, 29881, 29889, 29881, 29906, 29900, 29906, 29896, 29900, 29953, 29896, 29947, 29908, 13, 3259, 29918, 23583, 353, 313, 29900, 29892, 29871, 29896, 29892, 376, 3359, 29896, 29974, 3249, 29955, 29890, 29941, 29906, 29953, 29881, 613, 376, 29881, 29906, 29900, 29906, 29896, 29900, 29953, 29896, 29947, 1159, 13, 2 ]
asn1tools/version.py
eerimoq/asn1tools
198
27689
__version__ = '0.159.0'
[ 1, 4770, 3259, 1649, 353, 525, 29900, 29889, 29896, 29945, 29929, 29889, 29900, 29915, 13, 2 ]
paddle/trainer/tests/gen_proto_data.py
lzhao4ever/Paddle-master
1
72587
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from cStringIO import StringIO import paddle.proto.DataFormat_pb2 as DataFormat from google.protobuf.internal.encoder import _EncodeVarint import logging import pprint logging.basicConfig( format='[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s', ) logger = logging.getLogger('paddle') logger.setLevel(logging.INFO) OOV_POLICY_IGNORE = 0 OOV_POLICY_USE = 1 OOV_POLICY_ERROR = 2 num_original_columns = 3 # Feature combination patterns. # [[-1,0], [0,0]] means previous token at column 0 and current token at # column 0 are combined as one feature. patterns = [ [[-2, 0]], [[-1, 0]], [[0, 0]], [[1, 0]], [[2, 0]], [[-1, 0], [0, 0]], [[0, 0], [1, 0]], [[-2, 1]], [[-1, 1]], [[0, 1]], [[1, 1]], [[2, 1]], [[-2, 1], [-1, 1]], [[-1, 1], [0, 1]], [[0, 1], [1, 1]], [[1, 1], [2, 1]], [[-2, 1], [-1, 1], [0, 1]], [[-1, 1], [0, 1], [1, 1]], [[0, 1], [1, 1], [2, 1]], ] def make_features(sequence): length = len(sequence) num_features = len(sequence[0]) def get_features(pos): if pos < 0: return ['#B%s' % -pos] * num_features if pos >= length: return ['#E%s' % (pos - length + 1)] * num_features return sequence[pos] for i in xrange(length): for pattern in patterns: fname = '/'.join([get_features(i + pos)[f] for pos, f in pattern]) sequence[i].append(fname) ''' Source file format: Each line is for one timestep. The features are separated by space. An empty line indicates end of a sequence. cutoff: a list of numbers. If count of a feature is smaller than this, it will be ignored. if oov_policy[i] is OOV_POLICY_USE, id 0 is reserved for OOV features of i-th column. return a list of dict for each column ''' def create_dictionaries(filename, cutoff, oov_policy): def add_to_dict(sequence, dicts): num_features = len(dicts) for features in sequence: l = len(features) assert l == num_features, "Wrong number of features " + line for i in xrange(l): if features[i] in dicts[i]: dicts[i][features[i]] += 1 else: dicts[i][features[i]] = 1 num_features = len(cutoff) dicts = [] for i in xrange(num_features): dicts.append(dict()) f = open(filename, 'rb') sequence = [] for line in f: line = line.strip() if not line: make_features(sequence) add_to_dict(sequence, dicts) sequence = [] continue features = line.split(' ') sequence.append(features) for i in xrange(num_features): dct = dicts[i] n = 1 if oov_policy[i] == OOV_POLICY_USE else 0 todo = [] for k, v in dct.iteritems(): if v < cutoff[i]: todo.append(k) else: dct[k] = n n += 1 if oov_policy[i] == OOV_POLICY_USE: # placeholder so that len(dct) will be the number of features # including OOV dct['#OOV#'] = 0 logger.info('column %d dict size=%d, ignored %d' % (i, n, len(todo))) for k in todo: del dct[k] f.close() return dicts def encode_varint(v): out = StringIO() _EncodeVarint(out.write, v) return out.getvalue() def write_proto(file, message): s = message.SerializeToString() packed_len = encode_varint(len(s)) file.write(packed_len + s) ''' if oov_policy[i] == OOV_POLICY_USE, features in i-th column which are not existed in dicts[i] will be assigned to id 0. if oov_policy[i] == OOV_POLICY_ERROR, all features in i-th column MUST exist in dicts[i]. ''' def gen_proto_file(input_file, dicts, oov_policy, output_file): def write_sequence(out, sequence): num_features = len(dicts) is_beginning = True for features in sequence: assert len(features) == num_features, \ "Wrong number of features: " + line sample = DataFormat.DataSample() for i in xrange(num_original_columns): id = dicts[i].get(features[i], -1) if id != -1: sample.id_slots.append(id) elif oov_policy[i] == OOV_POLICY_IGNORE: sample.id_slots.append(0xffffffff) elif oov_policy[i] == OOV_POLICY_ERROR: logger.fatal("Unknown token: %s" % features[i]) else: sample.id_slots.append(0) if patterns: dim = 0 vec = sample.vector_slots.add() for i in xrange(num_original_columns, num_features): id = dicts[i].get(features[i], -1) if id != -1: vec.ids.append(dim + id) elif oov_policy[i] == OOV_POLICY_IGNORE: pass elif oov_policy[i] == OOV_POLICY_ERROR: logger.fatal("Unknown token: %s" % features[i]) else: vec.ids.append(dim + 0) dim += len(dicts[i]) sample.is_beginning = is_beginning is_beginning = False write_proto(out, sample) num_features = len(dicts) f = open(input_file, 'rb') out = open(output_file, 'wb') header = DataFormat.DataHeader() if patterns: slot_def = header.slot_defs.add() slot_def.type = DataFormat.SlotDef.VECTOR_SPARSE_NON_VALUE slot_def.dim = sum( [len(dicts[i]) for i in xrange(num_original_columns, len(dicts))]) logger.info("feature_dim=%s" % slot_def.dim) for i in xrange(num_original_columns): slot_def = header.slot_defs.add() slot_def.type = DataFormat.SlotDef.INDEX slot_def.dim = len(dicts[i]) write_proto(out, header) num_sequences = 0 sequence = [] for line in f: line = line.strip() if not line: make_features(sequence) write_sequence(out, sequence) sequence = [] num_sequences += 1 continue features = line.split(' ') sequence.append(features) f.close() out.close() logger.info("num_sequences=%s" % num_sequences) dict2 = { 'B-ADJP': 0, 'I-ADJP': 1, 'B-ADVP': 2, 'I-ADVP': 3, 'B-CONJP': 4, 'I-CONJP': 5, 'B-INTJ': 6, 'I-INTJ': 7, 'B-LST': 8, 'I-LST': 9, 'B-NP': 10, 'I-NP': 11, 'B-PP': 12, 'I-PP': 13, 'B-PRT': 14, 'I-PRT': 15, 'B-SBAR': 16, 'I-SBAR': 17, 'B-UCP': 18, 'I-UCP': 19, 'B-VP': 20, 'I-VP': 21, 'O': 22 } if __name__ == '__main__': cutoff = [3, 1, 0] cutoff += [3] * len(patterns) oov_policy = [OOV_POLICY_IGNORE, OOV_POLICY_ERROR, OOV_POLICY_ERROR] oov_policy += [OOV_POLICY_IGNORE] * len(patterns) dicts = create_dictionaries('trainer/tests/train.txt', cutoff, oov_policy) dicts[2] = dict2 gen_proto_file('trainer/tests/train.txt', dicts, oov_policy, 'trainer/tests/train_proto.bin') gen_proto_file('trainer/tests/test.txt', dicts, oov_policy, 'trainer/tests/test_proto.bin')
[ 1, 396, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29953, 6000, 333, 29884, 29892, 9266, 29889, 2178, 26863, 2538, 9841, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 13, 29937, 366, 1122, 451, 671, 445, 934, 5174, 297, 752, 13036, 411, 278, 19245, 29889, 13, 29937, 887, 1122, 4017, 263, 3509, 310, 278, 19245, 472, 13, 29937, 13, 29937, 268, 1732, 597, 1636, 29889, 4288, 29889, 990, 29914, 506, 11259, 29914, 27888, 1430, 1660, 29899, 29906, 29889, 29900, 13, 29937, 13, 29937, 25870, 3734, 491, 22903, 4307, 470, 15502, 304, 297, 5007, 29892, 7047, 13, 29937, 13235, 1090, 278, 19245, 338, 13235, 373, 385, 376, 3289, 8519, 29908, 350, 3289, 3235, 29892, 13, 29937, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29059, 6323, 8707, 29928, 22122, 29903, 8079, 13764, 29979, 476, 22255, 29892, 2845, 4653, 470, 2411, 2957, 29889, 13, 29937, 2823, 278, 19245, 363, 278, 2702, 4086, 14765, 1076, 11239, 322, 13, 29937, 27028, 1090, 278, 19245, 29889, 13, 13, 3166, 274, 1231, 5971, 1053, 1714, 5971, 13, 13, 5215, 282, 22352, 29889, 17529, 29889, 1469, 5809, 29918, 24381, 29906, 408, 3630, 5809, 13, 3166, 5386, 29889, 17529, 9721, 29889, 7564, 29889, 3977, 6119, 1053, 903, 2369, 401, 9037, 524, 13, 13, 5215, 12183, 13, 5215, 282, 2158, 13, 13, 21027, 29889, 16121, 3991, 29898, 13, 1678, 3402, 2433, 29961, 29995, 29898, 5563, 978, 29897, 29879, 1273, 29898, 294, 312, 603, 29897, 29879, 1273, 29898, 9507, 29897, 29879, 16664, 29898, 1915, 8154, 29897, 29879, 29962, 1273, 29898, 4906, 29897, 29879, 742, 1723, 13, 21707, 353, 12183, 29889, 657, 16363, 877, 29886, 22352, 1495, 13, 21707, 29889, 842, 10108, 29898, 21027, 29889, 11690, 29897, 13, 13, 29949, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 6259, 6632, 1525, 353, 29871, 29900, 13, 29949, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 17171, 353, 29871, 29896, 13, 29949, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 353, 29871, 29906, 13, 13, 1949, 29918, 13492, 29918, 13099, 353, 29871, 29941, 13, 13, 29937, 5169, 1535, 10296, 15038, 29889, 13, 29937, 5519, 29899, 29896, 29892, 29900, 1402, 518, 29900, 29892, 29900, 5262, 29871, 2794, 3517, 5993, 472, 1897, 29871, 29900, 322, 1857, 5993, 472, 13, 29937, 1897, 29871, 29900, 526, 12420, 408, 697, 4682, 29889, 13, 11037, 29879, 353, 518, 13, 1678, 5519, 29899, 29906, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29899, 29896, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29900, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29896, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29906, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29899, 29896, 29892, 29871, 29900, 1402, 518, 29900, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29900, 29892, 29871, 29900, 1402, 518, 29896, 29892, 29871, 29900, 20526, 13, 1678, 5519, 29899, 29906, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29899, 29896, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29900, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29896, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29906, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29899, 29906, 29892, 29871, 29896, 1402, 21069, 29896, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29899, 29896, 29892, 29871, 29896, 1402, 518, 29900, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29900, 29892, 29871, 29896, 1402, 518, 29896, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29896, 29892, 29871, 29896, 1402, 518, 29906, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29899, 29906, 29892, 29871, 29896, 1402, 21069, 29896, 29892, 29871, 29896, 1402, 518, 29900, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29899, 29896, 29892, 29871, 29896, 1402, 518, 29900, 29892, 29871, 29896, 1402, 518, 29896, 29892, 29871, 29896, 20526, 13, 1678, 5519, 29900, 29892, 29871, 29896, 1402, 518, 29896, 29892, 29871, 29896, 1402, 518, 29906, 29892, 29871, 29896, 20526, 13, 29962, 13, 13, 13, 1753, 1207, 29918, 22100, 29898, 16506, 1125, 13, 1678, 3309, 353, 7431, 29898, 16506, 29897, 13, 1678, 954, 29918, 22100, 353, 7431, 29898, 16506, 29961, 29900, 2314, 13, 13, 1678, 822, 679, 29918, 22100, 29898, 1066, 1125, 13, 4706, 565, 926, 529, 29871, 29900, 29901, 13, 9651, 736, 6024, 29937, 29933, 29995, 29879, 29915, 1273, 448, 1066, 29962, 334, 954, 29918, 22100, 13, 4706, 565, 926, 6736, 3309, 29901, 13, 9651, 736, 6024, 29937, 29923, 29995, 29879, 29915, 1273, 313, 1066, 448, 3309, 718, 29871, 29896, 4638, 334, 954, 29918, 22100, 13, 4706, 736, 5665, 29961, 1066, 29962, 13, 13, 1678, 363, 474, 297, 921, 3881, 29898, 2848, 1125, 13, 4706, 363, 4766, 297, 15038, 29901, 13, 9651, 285, 978, 353, 8207, 4286, 7122, 4197, 657, 29918, 22100, 29898, 29875, 718, 926, 9601, 29888, 29962, 363, 926, 29892, 285, 297, 4766, 2314, 13, 9651, 5665, 29961, 29875, 1822, 4397, 29898, 29888, 978, 29897, 13, 13, 13, 12008, 13, 4435, 934, 3402, 29901, 13, 9760, 1196, 338, 363, 697, 5335, 342, 1022, 29889, 450, 5680, 526, 13055, 491, 2913, 29889, 13, 2744, 4069, 1196, 14088, 1095, 310, 263, 5665, 29889, 13, 13, 7582, 2696, 29901, 263, 1051, 310, 3694, 29889, 960, 2302, 310, 263, 4682, 338, 7968, 1135, 445, 29892, 13, 372, 674, 367, 17262, 29889, 13, 361, 288, 586, 29918, 22197, 29961, 29875, 29962, 338, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 17171, 29892, 1178, 29871, 29900, 338, 21676, 363, 438, 29949, 29963, 5680, 310, 13, 29875, 29899, 386, 1897, 29889, 13, 13, 2457, 263, 1051, 310, 9657, 363, 1269, 1897, 13, 12008, 13, 13, 13, 1753, 1653, 29918, 29467, 4314, 29898, 9507, 29892, 5700, 2696, 29892, 288, 586, 29918, 22197, 1125, 13, 1678, 822, 788, 29918, 517, 29918, 8977, 29898, 16506, 29892, 9657, 29879, 1125, 13, 4706, 954, 29918, 22100, 353, 7431, 29898, 8977, 29879, 29897, 13, 4706, 363, 5680, 297, 5665, 29901, 13, 9651, 301, 353, 7431, 29898, 22100, 29897, 13, 9651, 4974, 301, 1275, 954, 29918, 22100, 29892, 376, 29956, 29373, 1353, 310, 5680, 376, 718, 1196, 13, 9651, 363, 474, 297, 921, 3881, 29898, 29880, 1125, 13, 18884, 565, 5680, 29961, 29875, 29962, 297, 9657, 29879, 29961, 29875, 5387, 13, 462, 1678, 9657, 29879, 29961, 29875, 3816, 22100, 29961, 29875, 5262, 4619, 29871, 29896, 13, 18884, 1683, 29901, 13, 462, 1678, 9657, 29879, 29961, 29875, 3816, 22100, 29961, 29875, 5262, 353, 29871, 29896, 13, 13, 1678, 954, 29918, 22100, 353, 7431, 29898, 7582, 2696, 29897, 13, 1678, 9657, 29879, 353, 5159, 13, 1678, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 22100, 1125, 13, 4706, 9657, 29879, 29889, 4397, 29898, 8977, 3101, 13, 13, 1678, 285, 353, 1722, 29898, 9507, 29892, 525, 6050, 1495, 13, 13, 1678, 5665, 353, 5159, 13, 13, 1678, 363, 1196, 297, 285, 29901, 13, 4706, 1196, 353, 1196, 29889, 17010, 580, 13, 4706, 565, 451, 1196, 29901, 13, 9651, 1207, 29918, 22100, 29898, 16506, 29897, 13, 9651, 788, 29918, 517, 29918, 8977, 29898, 16506, 29892, 9657, 29879, 29897, 13, 9651, 5665, 353, 5159, 13, 9651, 6773, 13, 4706, 5680, 353, 1196, 29889, 5451, 877, 25710, 13, 4706, 5665, 29889, 4397, 29898, 22100, 29897, 13, 13, 1678, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 22100, 1125, 13, 4706, 270, 312, 353, 9657, 29879, 29961, 29875, 29962, 13, 4706, 302, 353, 29871, 29896, 565, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 17171, 1683, 29871, 29900, 13, 4706, 10481, 353, 5159, 13, 4706, 363, 413, 29892, 325, 297, 270, 312, 29889, 1524, 7076, 7295, 13, 9651, 565, 325, 529, 5700, 2696, 29961, 29875, 5387, 13, 18884, 10481, 29889, 4397, 29898, 29895, 29897, 13, 9651, 1683, 29901, 13, 18884, 270, 312, 29961, 29895, 29962, 353, 302, 13, 18884, 302, 4619, 29871, 29896, 13, 13, 4706, 565, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 17171, 29901, 13, 9651, 396, 12983, 577, 393, 7431, 29898, 29881, 312, 29897, 674, 367, 278, 1353, 310, 5680, 13, 9651, 396, 3704, 438, 29949, 29963, 13, 9651, 270, 312, 1839, 29937, 29949, 29949, 29963, 29937, 2033, 353, 29871, 29900, 13, 13, 4706, 17927, 29889, 3888, 877, 4914, 1273, 29881, 9657, 2159, 16328, 29881, 29892, 17262, 1273, 29881, 29915, 1273, 313, 29875, 29892, 302, 29892, 7431, 29898, 29873, 8144, 4961, 13, 4706, 363, 413, 297, 10481, 29901, 13, 9651, 628, 270, 312, 29961, 29895, 29962, 13, 13, 1678, 285, 29889, 5358, 580, 13, 1678, 736, 9657, 29879, 13, 13, 13, 1753, 19750, 29918, 1707, 524, 29898, 29894, 1125, 13, 1678, 714, 353, 1714, 5971, 580, 13, 1678, 903, 2369, 401, 9037, 524, 29898, 449, 29889, 3539, 29892, 325, 29897, 13, 1678, 736, 714, 29889, 657, 1767, 580, 13, 13, 13, 1753, 2436, 29918, 17529, 29898, 1445, 29892, 2643, 1125, 13, 1678, 269, 353, 2643, 29889, 1748, 6646, 8246, 580, 13, 1678, 4870, 287, 29918, 2435, 353, 19750, 29918, 1707, 524, 29898, 2435, 29898, 29879, 876, 13, 1678, 934, 29889, 3539, 29898, 4058, 287, 29918, 2435, 718, 269, 29897, 13, 13, 13, 12008, 13, 361, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 17171, 29892, 5680, 297, 474, 29899, 386, 1897, 607, 526, 451, 13, 735, 12652, 297, 9657, 29879, 29961, 29875, 29962, 674, 367, 9859, 304, 1178, 29871, 29900, 29889, 13, 361, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 29892, 599, 5680, 297, 474, 29899, 386, 1897, 341, 17321, 1863, 13, 262, 9657, 29879, 29961, 29875, 1822, 13, 12008, 13, 13, 13, 1753, 2531, 29918, 17529, 29918, 1445, 29898, 2080, 29918, 1445, 29892, 9657, 29879, 29892, 288, 586, 29918, 22197, 29892, 1962, 29918, 1445, 1125, 13, 1678, 822, 2436, 29918, 16506, 29898, 449, 29892, 5665, 1125, 13, 4706, 954, 29918, 22100, 353, 7431, 29898, 8977, 29879, 29897, 13, 4706, 338, 29918, 463, 1076, 353, 5852, 13, 4706, 363, 5680, 297, 5665, 29901, 13, 9651, 4974, 7431, 29898, 22100, 29897, 1275, 954, 29918, 22100, 29892, 320, 13, 18884, 376, 29956, 29373, 1353, 310, 5680, 29901, 376, 718, 1196, 13, 9651, 4559, 353, 3630, 5809, 29889, 1469, 17708, 580, 13, 9651, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 13492, 29918, 13099, 1125, 13, 18884, 1178, 353, 9657, 29879, 29961, 29875, 1822, 657, 29898, 22100, 29961, 29875, 1402, 448, 29896, 29897, 13, 18884, 565, 1178, 2804, 448, 29896, 29901, 13, 462, 1678, 4559, 29889, 333, 29918, 2536, 1862, 29889, 4397, 29898, 333, 29897, 13, 18884, 25342, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 6259, 6632, 1525, 29901, 13, 462, 1678, 4559, 29889, 333, 29918, 2536, 1862, 29889, 4397, 29898, 29900, 29916, 17156, 17156, 29897, 13, 18884, 25342, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 29901, 13, 462, 1678, 17927, 29889, 29888, 2075, 703, 14148, 5993, 29901, 1273, 29879, 29908, 1273, 5680, 29961, 29875, 2314, 13, 18884, 1683, 29901, 13, 462, 1678, 4559, 29889, 333, 29918, 2536, 1862, 29889, 4397, 29898, 29900, 29897, 13, 13, 9651, 565, 15038, 29901, 13, 18884, 3964, 353, 29871, 29900, 13, 18884, 9649, 353, 4559, 29889, 8111, 29918, 2536, 1862, 29889, 1202, 580, 13, 18884, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 13492, 29918, 13099, 29892, 954, 29918, 22100, 1125, 13, 462, 1678, 1178, 353, 9657, 29879, 29961, 29875, 1822, 657, 29898, 22100, 29961, 29875, 1402, 448, 29896, 29897, 13, 462, 1678, 565, 1178, 2804, 448, 29896, 29901, 13, 462, 4706, 9649, 29889, 4841, 29889, 4397, 29898, 6229, 718, 1178, 29897, 13, 462, 1678, 25342, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 6259, 6632, 1525, 29901, 13, 462, 4706, 1209, 13, 462, 1678, 25342, 288, 586, 29918, 22197, 29961, 29875, 29962, 1275, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 29901, 13, 462, 4706, 17927, 29889, 29888, 2075, 703, 14148, 5993, 29901, 1273, 29879, 29908, 1273, 5680, 29961, 29875, 2314, 13, 462, 1678, 1683, 29901, 13, 462, 4706, 9649, 29889, 4841, 29889, 4397, 29898, 6229, 718, 29871, 29900, 29897, 13, 13, 462, 1678, 3964, 4619, 7431, 29898, 8977, 29879, 29961, 29875, 2314, 13, 13, 9651, 4559, 29889, 275, 29918, 463, 1076, 353, 338, 29918, 463, 1076, 13, 9651, 338, 29918, 463, 1076, 353, 7700, 13, 9651, 2436, 29918, 17529, 29898, 449, 29892, 4559, 29897, 13, 13, 1678, 954, 29918, 22100, 353, 7431, 29898, 8977, 29879, 29897, 13, 1678, 285, 353, 1722, 29898, 2080, 29918, 1445, 29892, 525, 6050, 1495, 13, 1678, 714, 353, 1722, 29898, 4905, 29918, 1445, 29892, 525, 29893, 29890, 1495, 13, 13, 1678, 4839, 353, 3630, 5809, 29889, 1469, 7850, 580, 13, 1678, 565, 15038, 29901, 13, 4706, 21497, 29918, 1753, 353, 4839, 29889, 2536, 327, 29918, 1753, 29879, 29889, 1202, 580, 13, 4706, 21497, 29918, 1753, 29889, 1853, 353, 3630, 5809, 29889, 29903, 8276, 3206, 29889, 12064, 1783, 1955, 29918, 5550, 1718, 1660, 29918, 29940, 1164, 29918, 19143, 13, 4706, 21497, 29918, 1753, 29889, 6229, 353, 2533, 29898, 13, 9651, 518, 2435, 29898, 8977, 29879, 29961, 29875, 2314, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 13492, 29918, 13099, 29892, 7431, 29898, 8977, 29879, 876, 2314, 13, 4706, 17927, 29889, 3888, 703, 14394, 29918, 6229, 16328, 29879, 29908, 1273, 21497, 29918, 1753, 29889, 6229, 29897, 13, 13, 1678, 363, 474, 297, 921, 3881, 29898, 1949, 29918, 13492, 29918, 13099, 1125, 13, 4706, 21497, 29918, 1753, 353, 4839, 29889, 2536, 327, 29918, 1753, 29879, 29889, 1202, 580, 13, 4706, 21497, 29918, 1753, 29889, 1853, 353, 3630, 5809, 29889, 29903, 8276, 3206, 29889, 27992, 13, 4706, 21497, 29918, 1753, 29889, 6229, 353, 7431, 29898, 8977, 29879, 29961, 29875, 2314, 13, 13, 1678, 2436, 29918, 17529, 29898, 449, 29892, 4839, 29897, 13, 13, 1678, 954, 29918, 6831, 2063, 353, 29871, 29900, 13, 1678, 5665, 353, 5159, 13, 1678, 363, 1196, 297, 285, 29901, 13, 4706, 1196, 353, 1196, 29889, 17010, 580, 13, 4706, 565, 451, 1196, 29901, 13, 9651, 1207, 29918, 22100, 29898, 16506, 29897, 13, 9651, 2436, 29918, 16506, 29898, 449, 29892, 5665, 29897, 13, 9651, 5665, 353, 5159, 13, 9651, 954, 29918, 6831, 2063, 4619, 29871, 29896, 13, 9651, 6773, 13, 4706, 5680, 353, 1196, 29889, 5451, 877, 25710, 13, 4706, 5665, 29889, 4397, 29898, 22100, 29897, 13, 13, 1678, 285, 29889, 5358, 580, 13, 1678, 714, 29889, 5358, 580, 13, 13, 1678, 17927, 29889, 3888, 703, 1949, 29918, 6831, 2063, 16328, 29879, 29908, 1273, 954, 29918, 6831, 2063, 29897, 13, 13, 13, 8977, 29906, 353, 426, 13, 1678, 525, 29933, 29899, 3035, 29967, 29925, 2396, 29871, 29900, 29892, 13, 1678, 525, 29902, 29899, 3035, 29967, 29925, 2396, 29871, 29896, 29892, 13, 1678, 525, 29933, 29899, 3035, 18510, 2396, 29871, 29906, 29892, 13, 1678, 525, 29902, 29899, 3035, 18510, 2396, 29871, 29941, 29892, 13, 1678, 525, 29933, 29899, 6007, 29967, 29925, 2396, 29871, 29946, 29892, 13, 1678, 525, 29902, 29899, 6007, 29967, 29925, 2396, 29871, 29945, 29892, 13, 1678, 525, 29933, 29899, 10192, 29967, 2396, 29871, 29953, 29892, 13, 1678, 525, 29902, 29899, 10192, 29967, 2396, 29871, 29955, 29892, 13, 1678, 525, 29933, 29899, 29931, 1254, 2396, 29871, 29947, 29892, 13, 1678, 525, 29902, 29899, 29931, 1254, 2396, 29871, 29929, 29892, 13, 1678, 525, 29933, 29899, 25500, 2396, 29871, 29896, 29900, 29892, 13, 1678, 525, 29902, 29899, 25500, 2396, 29871, 29896, 29896, 29892, 13, 1678, 525, 29933, 29899, 18009, 2396, 29871, 29896, 29906, 29892, 13, 1678, 525, 29902, 29899, 18009, 2396, 29871, 29896, 29941, 29892, 13, 1678, 525, 29933, 29899, 10593, 29911, 2396, 29871, 29896, 29946, 29892, 13, 1678, 525, 29902, 29899, 10593, 29911, 2396, 29871, 29896, 29945, 29892, 13, 1678, 525, 29933, 29899, 1744, 1718, 2396, 29871, 29896, 29953, 29892, 13, 1678, 525, 29902, 29899, 1744, 1718, 2396, 29871, 29896, 29955, 29892, 13, 1678, 525, 29933, 29899, 29965, 6271, 2396, 29871, 29896, 29947, 29892, 13, 1678, 525, 29902, 29899, 29965, 6271, 2396, 29871, 29896, 29929, 29892, 13, 1678, 525, 29933, 29899, 18510, 2396, 29871, 29906, 29900, 29892, 13, 1678, 525, 29902, 29899, 18510, 2396, 29871, 29906, 29896, 29892, 13, 1678, 525, 29949, 2396, 29871, 29906, 29906, 13, 29913, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 5700, 2696, 353, 518, 29941, 29892, 29871, 29896, 29892, 29871, 29900, 29962, 13, 1678, 5700, 2696, 4619, 518, 29941, 29962, 334, 7431, 29898, 11037, 29879, 29897, 13, 1678, 288, 586, 29918, 22197, 353, 518, 29949, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 6259, 6632, 1525, 29892, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 29892, 438, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 11432, 29962, 13, 1678, 288, 586, 29918, 22197, 4619, 518, 29949, 29949, 29963, 29918, 29925, 5607, 2965, 29979, 29918, 6259, 6632, 1525, 29962, 334, 7431, 29898, 11037, 29879, 29897, 13, 1678, 9657, 29879, 353, 1653, 29918, 29467, 4314, 877, 3018, 4983, 29914, 21150, 29914, 14968, 29889, 3945, 742, 5700, 2696, 29892, 288, 586, 29918, 22197, 29897, 13, 1678, 9657, 29879, 29961, 29906, 29962, 353, 9657, 29906, 13, 1678, 2531, 29918, 17529, 29918, 1445, 877, 3018, 4983, 29914, 21150, 29914, 14968, 29889, 3945, 742, 9657, 29879, 29892, 288, 586, 29918, 22197, 29892, 13, 462, 259, 525, 3018, 4983, 29914, 21150, 29914, 14968, 29918, 17529, 29889, 2109, 1495, 13, 1678, 2531, 29918, 17529, 29918, 1445, 877, 3018, 4983, 29914, 21150, 29914, 1688, 29889, 3945, 742, 9657, 29879, 29892, 288, 586, 29918, 22197, 29892, 13, 462, 259, 525, 3018, 4983, 29914, 21150, 29914, 1688, 29918, 17529, 29889, 2109, 1495, 13, 2 ]
Wk06/06-storing-input/site.py
beyondvalence/biof509_wtl
0
135567
from flask import Flask, render_template app = Flask(__name__) app.config['SECRET_KEY'] = 'important to keep unknown in production' from flask_wtf import Form from wtforms import StringField from wtforms.validators import DataRequired class MyForm(Form): name = StringField('first name', validators=[DataRequired()]) name1 = StringField('last name', validators=[DataRequired()]) from flask_sqlalchemy import SQLAlchemy app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db' db = SQLAlchemy(app) class Visitor(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(80)) name1 = db.Column(db.String(80)) def __init__(self, name, name1): self.name = name self.name1 = name1 def __repr__(self): return '<Visitor %r, %r>' % self.name, self.name1 db.create_all() @app.route('/', methods=('GET', 'POST')) def index(): form = MyForm(text='first name') previous_visitors = Visitor.query.order_by('id DESC').all() if form.validate_on_submit(): name = form.name.data name1 = form.name1.data db.session.add(Visitor(name, name1)) db.session.commit() else: name = 'Doctor' name1 = 'Strange' return render_template('index.html', form=form, name=name, name1=name1, previous_visitors=previous_visitors) @app.route('/custom/<custom>/') def custom(custom): return render_template('custom.html', custom=custom) if __name__ == '__main__': app.run(debug=True)
[ 1, 515, 29784, 1053, 2379, 1278, 29892, 4050, 29918, 6886, 13, 13, 932, 353, 2379, 1278, 22168, 978, 1649, 29897, 13, 13, 932, 29889, 2917, 1839, 1660, 22245, 29911, 29918, 10818, 2033, 353, 525, 17001, 304, 3013, 9815, 297, 5802, 29915, 13, 13, 3166, 29784, 29918, 29893, 13264, 1053, 3812, 13, 3166, 281, 29873, 9514, 1053, 1714, 3073, 13, 3166, 281, 29873, 9514, 29889, 3084, 4097, 1053, 3630, 19347, 13, 13, 13, 13, 13, 1990, 1619, 2500, 29898, 2500, 1125, 13, 12, 978, 353, 1714, 3073, 877, 4102, 1024, 742, 2854, 4097, 11759, 1469, 19347, 580, 2314, 13, 12, 978, 29896, 353, 1714, 3073, 877, 4230, 1024, 742, 2854, 4097, 11759, 1469, 19347, 580, 2314, 13, 12, 13, 13, 3166, 29784, 29918, 2850, 284, 305, 6764, 1053, 3758, 2499, 305, 6764, 13, 13, 932, 29889, 2917, 1839, 4176, 1964, 3210, 12665, 29979, 29918, 25832, 27982, 29918, 15551, 2033, 353, 525, 22793, 597, 29914, 1688, 29889, 2585, 29915, 13, 2585, 353, 3758, 2499, 305, 6764, 29898, 932, 29897, 13, 13, 13, 1990, 5741, 2105, 29898, 2585, 29889, 3195, 1125, 13, 1678, 1178, 353, 4833, 29889, 4409, 29898, 2585, 29889, 7798, 29892, 7601, 29918, 1989, 29922, 5574, 29897, 13, 1678, 1024, 353, 4833, 29889, 4409, 29898, 2585, 29889, 1231, 29898, 29947, 29900, 876, 13, 1678, 1024, 29896, 353, 4833, 29889, 4409, 29898, 2585, 29889, 1231, 29898, 29947, 29900, 876, 13, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1024, 29892, 1024, 29896, 1125, 13, 4706, 1583, 29889, 978, 353, 1024, 13, 4706, 1583, 29889, 978, 29896, 353, 1024, 29896, 13, 13, 13, 1678, 822, 4770, 276, 558, 12035, 1311, 1125, 13, 4706, 736, 12801, 6116, 2105, 1273, 29878, 29892, 1273, 29878, 16299, 1273, 1583, 29889, 978, 29892, 1583, 29889, 978, 29896, 13, 12, 13, 12, 13, 2585, 29889, 3258, 29918, 497, 580, 13, 12, 13, 29992, 932, 29889, 13134, 11219, 742, 3519, 29922, 877, 7194, 742, 525, 5438, 8785, 13, 1753, 2380, 7295, 13, 12, 689, 353, 1619, 2500, 29898, 726, 2433, 4102, 1024, 1495, 13, 12, 24957, 29918, 1730, 17259, 353, 5741, 2105, 29889, 1972, 29889, 2098, 29918, 1609, 877, 333, 23050, 2824, 497, 580, 13, 12, 361, 883, 29889, 15480, 29918, 265, 29918, 7892, 7295, 13, 12, 12, 978, 353, 883, 29889, 978, 29889, 1272, 13, 12, 12, 978, 29896, 353, 883, 29889, 978, 29896, 29889, 1272, 13, 12, 12, 2585, 29889, 7924, 29889, 1202, 29898, 6116, 2105, 29898, 978, 29892, 1024, 29896, 876, 13, 12, 12, 2585, 29889, 7924, 29889, 15060, 580, 13, 12, 2870, 29901, 13, 12, 12, 978, 353, 525, 6132, 2801, 29915, 13, 12, 12, 978, 29896, 353, 525, 5015, 927, 29915, 13, 12, 2457, 4050, 29918, 6886, 877, 2248, 29889, 1420, 742, 883, 29922, 689, 29892, 1024, 29922, 978, 29892, 1024, 29896, 29922, 978, 29896, 29892, 3517, 29918, 1730, 17259, 29922, 24957, 29918, 1730, 17259, 29897, 13, 12, 13, 29992, 932, 29889, 13134, 11219, 6341, 29914, 29966, 6341, 20690, 1495, 13, 1753, 2888, 29898, 6341, 1125, 13, 12, 2457, 4050, 29918, 6886, 877, 6341, 29889, 1420, 742, 2888, 29922, 6341, 29897, 13, 12, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 12, 932, 29889, 3389, 29898, 8382, 29922, 5574, 29897, 2 ]
cupid/actions.py
iinnovations/iicontrollibs
11
85458
#!/usr/bin/python3 __author__ = "<NAME>" __copyright__ = "Copyright 2016, Interface Innovations" __credits__ = ["<NAME>"] __license__ = "Apache 2.0" __version__ = "1.0" __maintainer__ = "<NAME>" __email__ = "<EMAIL>" __status__ = "Development" import os import sys import inspect try: import simplejson as json except: import json top_folder = \ os.path.split(os.path.realpath(os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0])))[0] if top_folder not in sys.path: sys.path.insert(0, top_folder) """ This class defines actions taken on stuff. We are going to restructure this. An action is something that happens, for example: action.type == 'setvalue' : value is sent actiondetail contains dbvn reference to value to be set. By default this is binary : action active sets to 1, active reset will set to 0 Active value will be set in actiondata, evaluating formula, etc. This can replace channels, in effect. action.type == 'email' : email is sent actiondetail contains email address (es) action.type == 'incvalue' : value is incremented actiondetail contains dbvn reference to value. By default this is add 1 action.conditiontype == 'logical' action.conditiondbname == friendly dbname action.conditiontablename == tablename action.conditionlogic == equation or equations, using x as variable, separated by ';' e.g. 'x > 42,x < 89' Can also code in other database variables using syntax: [dbname:tablename:valuename] Not yet implemented, but that's the idea. action.conditiontype == 'time' action.conditionvalue == date time string in UTC seconds action. Some value have fields. These are universal values: All other data is contained in the actiondata field. These are values that are typically actiontype or conditiontype specific These are dumped and loaded in and out to/from dictionaries """ class action: def __init__(self, actiondict): """ Currently we are overloading this with settings that are not standard row items. These should either all get columns, or all go into a settings field. The considerations at the moment have to do with what the UI is pulling. If we move all of this into a dict, we will need to change the UI to pull it out of a dict. """ settings = { 'ondelay':0, 'offdelay':0, 'activereset':True, 'actionfrequency': 0.0, # 0 means all the time. 'action_window': 60.0, 'log_path':None } settings.update(actiondict) for key, value in settings.items(): setattr(self, key, value) """ Instantiate the action class The dict that we get from the database contains a number of fixed fields, and also an 'actiondata' field that contains dynamic properties that may or may not exist for different action types. We parse it into a dictionary, and send it in as a property. We could append the dictionary, but then we would not be able to easily keep track of where to write back modified entries. """ self.actiondatadict = json.loads(actiondict['actiondata']) """ TODO: Set default values as a condition of alarm type to make alarm work when values are not specified. Publish will then insert these values into the database Also, when values are pulled in, use the schema to change value type, e.g. self.ondelay should come in as a float (or decimal), not string. """ self.statusmsg = '' def log(self, message, reqloglevel=1, currloglevel=1): from iiutilities.utility import log if self.log_path: log(self.log_path, message, reqloglevel, currloglevel) def determine_status(self): from iiutilities import dblib, datalib if self.conditiontype == 'logical': currstatus = datalib.evaldbvnformula(self.actiondatadict['condition']) # print('CURRSTATUS',currstatus) if currstatus == None: self.statusmsg += 'None returned by evaldbvn. Setting status to False' self.value = 0 try: self.status = int(currstatus) except: print('error parsing ' + str(currstatus)) self.status = 0 elif self.conditiontype == 'value': self.value = dblib.dbvntovalue(self.actiondatadict['dbvn']) # print(self.actiondatadict['dbvn']) # print(self.value) # self.value = datalib.evaldbvnformula(self.actiondatadict['dbvn']) # self.operator = self.actiondatadict['operator'] # self.criterion = self.actiondatadict['criterion'] try: self.status = int(datalib.calcastevalformula(str(self.value) + self.actiondatadict['operator'] + self.actiondatadict['criterion'])) # Should really throw an error here. except: self.log('ERROR in asteval') self.log(str(self.value) + self.actiondatadict['operator'] + self.actiondatadict['criterion']) self.status = 0 elif self.conditiontype == 'channel': from cupid import pilib control_channel_name = self.actiondatadict['channel_name'] control_db = pilib.cupidDatabase(pilib.dirs.dbs.control) self.value = control_db.get_single_value('channels','controlvalue',condition='"name"=\'' + control_channel_name + "'") self.status = 0 if 'PV_low' in self.actiondatadict and self.value < float(self.actiondatadict['PV_low']): self.status = 1 if 'PV_high' in self.actiondatadict and self.value > float(self.actiondatadict['PV_high']): self.status = 1 elif self.conditiontype == 'temporal': """ This will be done in a cron-style with a default dictionary """ settings = { 'window':60.0 } settings.update(self.actiondatadict) import datetime current_time = datetime.datetime.now() event_time_dict = { 'year':None, 'month':None, 'dow':None, 'day':None, 'hour':0, 'minute':0, 'second':0 } # TODO: integrate day of week # TODO: handle lists of items event_time_dict.update(self.actiondatadict['event_time']) for item in ['year', 'month', 'day']: if not event_time_dict[item] or event_time_dict[item] == '*': event_time_dict[item] = getattr(current_time, item) for item in ['hour','minute','second']: if event_time_dict[item] == '*': event_time_dict[item] = getattr(current_time, item) # print(event_time_dict) event_time = datetime.datetime(year=int(event_time_dict['year']), month=int(event_time_dict['month']), day=event_time_dict['day'], hour=int(event_time_dict['hour']), minute=int(event_time_dict['minute']), second=int(event_time_dict['second'])) current_event_delta = (current_time - event_time).total_seconds() time_to_act = False if current_event_delta > 0 and current_event_delta < self.action_window: time_to_act = True # try: # last_action = datetime.datetime.strptime(self.actiontime, datalib.time_format_string) # except: # print('Cannot convert last_action ({})'.format(self.actiontime)) # time_to_act = True # else: # time_since_last_ # Test event time against current time # Has time passed, and then is time within action window (don't want to act on all past actions if we miss them) # timediff = float( # datalib.timestringtoseconds(datalib.gettimestring()) - datalib.timestringtoseconds(self.actiontime)) # self.value = timediff if time_to_act: # We act self.statusmsg += 'Time to act. ' self.lastactiontime = datetime.date.strftime(current_time, datalib.time_format_string) self.status = 1 else: self.statusmsg += 'Not time yet for action scheduled for ' + str(event_time) + '. Current time is ' + str(current_time) + '. ' print(self.statusmsg) # print(self.conditiontype) # print(self.status) def test(self): from iiutilities import utility if self.actiontype == 'email': # process email action self.statusmsg += 'Processing email alert. ' email = self.actiondetail message = 'Test message for action ' + self.name subject = 'CuPID Test Alert : ' + self.name actionmail = utility.gmail(message=message, subject=subject, recipient=email) actionmail.send() def onact(self): from iiutilities import dblib, datalib, utility from cupid import pilib if self.actiontype == 'email': # process email action self.statusmsg += 'Processing email alert. ' email = self.actiondetail # Special messages if self.conditiontype == 'channel': message = 'Channel alarm for ' + self.name + ' is active with value of ' + str(self.value) + '. ' if 'PV_low' in self.actiondatadict: message += 'Low alarm: ' + str(self.actiondatadict['PV_low'] + '. ') if 'PV_high' in self.actiondatadict: message += 'High alarm: ' + str(self.actiondatadict['PV_high'] + '. ') elif self.conditiontype == 'value': # message = 'Alert is active for ' + self.name + '. Criterion ' + self.variablename + ' in ' + self.tablename + ' has value ' + str(self.variablevalue) + ' with a criterion of ' + str(self.criterion) + ' with an operator of ' + self.operator + '. This alarm status has been on since ' + self.ontime + '.' message = 'Alert for alarm ' + self.name + ' . On time of ' + self.ontime + '. Current time of ' \ + datalib.gettimestring() message += ' Value: ' + str(self.value) + self.actiondatadict['operator'] + str(self.actiondatadict['criterion']) else: # message = 'Alert is active for ' + self.name + '. Criterion ' + self.variablename + ' in ' + self.tablename + ' has value ' + str(self.variablevalue) + ' with a criterion of ' + str(self.criterion) + ' with an operator of ' + self.operator + '. This alarm status has been on since ' + self.ontime + '.' message = 'Alert for alarm ' + self.name + ' . On time of ' + self.ontime + '. Current time of ' \ + datalib.gettimestring() import socket hostname = socket.gethostname() subject = 'CuPID ' + hostname + ' Alert : Alarm On - ' + self.name try: actionmail = utility.gmail(message=message, subject=subject, recipient=email) actionmail.send() except: self.statusmsg += 'Error sending email. ' else: self.statusmsg += 'Mail sent. ' elif self.actiontype == 'indicator': # process indicator action self.statusmsg += 'Processing indicator on action. ' indicatorname = self.actiondetail dblib.sqlitequery(pilib.dirs.dbs.control, 'update indicators set status=1 where name = \'' + indicatorname + '\'') elif self.actiontype == 'output': self.statusmsg += 'Processing output on action. ' dblib.setsinglevalue(pilib.dirs.dbs.control, 'outputs', 'value', '1', condition='"id"=\'' + self.actiondetail + "'") elif self.actiontype == 'mote_command': settings = { 'no_duplicates':True, 'retries':5 } settings.update(self.actiondatadict) self.statusmsg += 'Processing command on action. ' destination = self.actiondatadict['destination'] message = self.actiondatadict['message'] command_id = '{}_{}'.format(destination, message) command = {'queuedtime': datalib.gettimestring(), 'destination': destination, 'status': 'new', 'message': message, 'commandid':command_id, } command['options'] = json.dumps({'retries':settings['retries']}) insert = True if settings['no_duplicates']: # Check to see if commands exist with our command id. condition = "commandid='{}'".format(command_id) matching_commands = pilib.dbs.motes.read_table('commands',condition=condition) if matching_commands: self.statusmsg += '{} matching commands are already queued. Not inserting. '.format(len(matching_commands)) insert = False if insert: self.statusmsg += 'Inserting command. ' pilib.dbs.motes.settings['quiet'] = False pilib.dbs.motes.insert('commands',command) # This should be the generic handler that we migrate to elif self.actiontype == 'setvalue': # to set a value, we need at minimum: # dbname, tablename, valuename, setmethod and either: # setmethod = increment, incrementvalue=1 # setmethod = value dbvndict = datalib.parsedbvn(self.actiondetail) dbpath = pilib.dbnametopath(dbvndict['dbname']) # Special set formula? if 'setvalueformula' in self.actiondatadict: # Stuff that we don't know yet. dblib.setsinglevalue(dbpath, dbvndict['tablename'], dbvndict['valuename'], 'formulastuff here', dbvndict['condition']) else: """ TODO: Fix this hack. We cannot currently single quote in the database entry because it breaks the reinsert. So for now, we have to add quotes on either side of the string literal before executing the sqlite query. """ if dbvndict['condition']: querycondition = dbvndict['condition'].split('=')[0] + "='" + dbvndict['condition'].split('=')[1] + "'" # print('FIXED CONDITION') # print(querycondition) else: querycondition = None dblib.setsinglevalue(dbpath, dbvndict['tablename'], dbvndict['valuename'], '1', querycondition) def offact(self): from iiutilities import dblib, datalib, utility from cupid import pilib if self.actiontype == 'email': # process email action # TODO: This really needs to queue the email action in case we are not online. self.statusmsg +='Processing email alert.' email = self.actiondetail # message = 'Alert has gone inactive for ' + self.name + '. Criterion ' + self.variablename + ' in ' + self.tablename + ' has value ' + str(self.variablevalue) + ' with a criterion of ' + str(self.criterion) + ' with an operator of ' + self.operator + '. This alarm status has been of since ' + self.offtime + '.' message = 'Alert for alarm ' + self.name + ' . Off time of ' + self.offtime + '. Current time of ' \ + datalib.gettimestring() if self.conditiontype == 'value': message += ' Value: ' + str(self.value) + self.actiondatadict['operator'] + str( self.actiondatadict['criterion']) import socket hostname = socket.gethostname() subject = 'CuPID ' + hostname + ' Alert : Alarm Off - ' + self.name try: actionmail = utility.gmail(message=message, subject=subject, recipient=email) actionmail.send() except: self.statusmsg += 'Error sending email. ' else: self.statusmsg += 'Mail sent. ' elif self.actiontype == 'indicator': # process indicator action self.statusmsg +='Processing indicator off action.' indicatorname = self.actiondetail dblib.setsinglevalue(pilib.dirs.dbs.control, 'indicators', 'status', 0, 'name=\'' + indicatorname+ '\'') print('INDICATORNAME = "' + indicatorname + '"') # dblib.sqlitequery(pilib.dirs.dbs.control, 'update indicators set status=0 where name = ' + indicatorname) elif self.actiontype == 'output': self.statusmsg += 'Processing output off action. ' dblib.setsinglevalue(pilib.dirs.dbs.control, 'outputs', 'value', '0', condition='"id"=\'' + self.actiondetail + "'") # This should be the generic handler that we migrate to elif self.actiontype == 'setvalue': # to set a value, we need at minimum: # dbname, tablename, valuename, setmethod and either: # setmethod = increment, incrementvalue=1 # setmethod = value dbvndict = datalib.parsedbvn(self.actiondetail) dbpath = pilib.dbnametopath(dbvndict['dbname']) # Special set formula? if 'setvalueformula' in self.actiondatadict: # Stuff that we don't know yet. dblib.setsinglevalue(dbpath, dbvndict['tablename'], dbvndict['valuename'], 'formulastuff here', dbvndict['condition']) else: """ TODO: Fix this hack. We cannot currently single quote in the database entry because it breaks the reinsert. So for now, we have to add quotes on either side of the string literal before executing the sqlite query. """ if dbvndict['condition']: querycondition = dbvndict['condition'].split('=')[0] + "='" + dbvndict['condition'].split('=')[1] + "'" # print('FIXED CONDITION') # print(querycondition) else: querycondition = None dblib.setsinglevalue(dbpath, dbvndict['tablename'], dbvndict['valuename'], '0', querycondition) def printvalues(self): for attr,value in self.__dict__.items(): print(str(attr) + ' : ' + str(value)) # @profile def publish(self): from cupid import pilib from iiutilities import dblib from iiutilities.datalib import dicttojson # reinsert updated action back into database valuelist=[] valuenames=[] control_db = pilib.cupidDatabase(pilib.dirs.dbs.control) # We convert our actiondatadict back into a string self.actiondata = json.dumps(self.actiondatadict) for attr in self.__dict__: if attr not in ['actiondatadict', 'actionindex', 'actiondata']: control_db.set_single_value('actions', attr, getattr(self, attr), condition='"actionindex"=\'' + str(self.actionindex) +"'", queue=True) # print(len(control_db.queued_queries)) control_db.execute_queue() # print(valuenames) # print(valuelist) # dblib.sqliteinsertsingle(pilib.dirs.dbs.control, 'actions', valuelist, valuenames) # setsinglevalue(dirs.dbs.control, 'actions', 'ontime', gettimestring(), 'rowid=' + str(self.rowid)) # @profile def process(self): from iiutilities import datalib # TODO: Always determine status. This loads the value into the indicators, etc. if self.enabled: act = False self.statusmsg = datalib.gettimestring() + ' : Enabled and processing. ' last_status = bool(self.status) # Update status. self.determine_status() # retrofit. i lazy. currstatus = bool(self.status) if last_status: self.statusmsg += 'Last status is ' + str(last_status) + '. Currstatus is ' + str(currstatus) + '. ' else: self.statusmsg += 'Last status is ' + str(last_status) + '. Currstatus is ' + str(currstatus) + '. ' currenttime = datalib.gettimestring() # if status is true and current status is false, set ontime (or if on/off time field is empty) if currstatus and (not last_status or not self.ontime): # print(str(curstatus) + ' ' + str(self.status)) self.statusmsg += 'Setting status ontime. ' self.ontime = datalib.gettimestring() elif not currstatus and (last_status or not self.offtime): self.statusmsg += 'Setting status offtime. ' self.offtime = datalib.gettimestring() # print('CURR STATUS',currstatus) # print('SELF.ACTIVE',self.active) # if status is true and alarm isn't yet active, see if ondelay exceeded if currstatus and not self.active: # print(pilib.timestringtoseconds(currenttime)) statusontime = datalib.timestringtoseconds(currenttime) - datalib.timestringtoseconds(self.ontime, defaulttozero=True) # print(statusontime) if statusontime >= float(self.ondelay): self.statusmsg += 'Setting action active. ' self.active = 1 else: self.statusmsg += 'On delay not reached. ' # print('on',self.ontime) # print('now',currenttime) # if status is not true and alarm is active, see if offdelay exceeded if not currstatus and self.active: statusofftime = datalib.timestringtoseconds(currenttime) - datalib.timestringtoseconds(self.offtime, defaulttozero=True) if statusofftime >= float(self.offdelay): self.statusmsg += 'Setting action inactive. ' self.active = 0 # act on inactive transition # Send an alert / reset indicator if activereset is on if self.activereset: time_since_last_action = datalib.timestringtoseconds(currenttime) - datalib.timestringtoseconds( self.lastactiontime, defaulttozero=True) if time_since_last_action >= float(self.actionfrequency): act = True self.statusmsg += "Time to act on activereset. " + str( time_since_last_action) + ' since last action, with action frequency of ' + str( self.actionfrequency) + '. ' else: act = False self.statusmsg += "Not yet time to act." else: self.statusmsg += 'Off delay not reached. ' # test to see if it is time to alert, based on delay ond alert time # print(self.statusmsg) if self.active: # check to see if it is time to alert # For things like outputs, actionfrequency should be zero to always enforce that action is on. # print(pilib.timestringtoseconds(currenttime)) # print(pilib.timestringtoseconds(self.lastactiontime)) # print(float(self.actionfrequency)) # print(pilib.timestringtoseconds(currenttime)-pilib.timestringtoseconds(self.lastactiontime)) time_since_last_action = datalib.timestringtoseconds(currenttime) - datalib.timestringtoseconds(self.lastactiontime, defaulttozero=True) if time_since_last_action >= float(self.actionfrequency): act = True self.statusmsg += "Time to act. " + str(time_since_last_action) + ' since last action, with action frequency of ' + str(self.actionfrequency) + '. ' else: act = False self.statusmsg += "Not yet time to act." else: # Active reset only happens on the transition. pass if act: # We're ready to alert or alert again. self.lastactiontime = currenttime if currstatus: self.onact() else: self.offact() else: self.statusmsg += 'Action disabled.' self.status = 0 def processactions(**kwargs): # Read database to get our actions from cupid import pilib settings = { 'debug':False } settings.update(kwargs) if settings['debug']: pilib.set_debug() actiondicts = pilib.dbs.control.read_table('actions') for actiondict in actiondicts: # if we only want to process one action, skip others. if 'name' in kwargs: if actiondict['name'] != kwargs['name']: continue actiondict['log_path'] = pilib.dirs.logs.actions thisaction = action(actiondict) thisaction.process() thisaction.publish() if __name__ == '__main__': debug = False if 'debug' in sys.argv: debug = True processactions(debug=debug)
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29941, 13, 13, 1649, 8921, 1649, 353, 9872, 5813, 11903, 13, 1649, 8552, 1266, 1649, 353, 376, 11882, 1266, 29871, 29906, 29900, 29896, 29953, 29892, 25796, 512, 13715, 800, 29908, 13, 1649, 11944, 1169, 1649, 353, 6796, 29966, 5813, 29958, 3108, 13, 1649, 506, 1947, 1649, 353, 376, 17396, 1829, 29871, 29906, 29889, 29900, 29908, 13, 1649, 3259, 1649, 353, 376, 29896, 29889, 29900, 29908, 13, 1649, 29885, 2365, 4008, 1649, 353, 9872, 5813, 11903, 13, 1649, 5269, 1649, 353, 9872, 26862, 6227, 11903, 13, 1649, 4882, 1649, 353, 376, 21956, 358, 29908, 13, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 16096, 13, 2202, 29901, 13, 1678, 1053, 2560, 3126, 408, 4390, 13, 19499, 29901, 13, 1678, 1053, 4390, 13, 13, 3332, 29918, 12083, 353, 320, 13, 1678, 2897, 29889, 2084, 29889, 5451, 29898, 359, 29889, 2084, 29889, 6370, 2084, 29898, 359, 29889, 2084, 29889, 370, 1028, 493, 29898, 359, 29889, 2084, 29889, 5451, 29898, 1144, 1103, 29889, 657, 1445, 29898, 1144, 1103, 29889, 3784, 2557, 22130, 29961, 29900, 29962, 4961, 29961, 29900, 29962, 13, 361, 2246, 29918, 12083, 451, 297, 10876, 29889, 2084, 29901, 13, 1678, 10876, 29889, 2084, 29889, 7851, 29898, 29900, 29892, 2246, 29918, 12083, 29897, 13, 13, 13, 15945, 29908, 13, 29871, 910, 770, 17645, 8820, 4586, 373, 6433, 29889, 13, 29871, 1334, 526, 2675, 304, 1791, 1247, 545, 445, 29889, 530, 3158, 338, 1554, 393, 5930, 29892, 363, 1342, 29901, 13, 268, 3158, 29889, 1853, 1275, 525, 842, 1767, 29915, 584, 995, 338, 2665, 13, 4706, 3158, 16432, 3743, 4833, 18564, 3407, 304, 995, 304, 367, 731, 29889, 13, 4706, 2648, 2322, 445, 338, 7581, 584, 3158, 6136, 6166, 304, 29871, 29896, 29892, 6136, 10092, 674, 731, 304, 29871, 29900, 13, 4706, 10731, 995, 674, 367, 731, 297, 3158, 1272, 29892, 6161, 1218, 7063, 29892, 2992, 29889, 910, 508, 5191, 18196, 29892, 297, 2779, 29889, 13, 13, 268, 3158, 29889, 1853, 1275, 525, 5269, 29915, 584, 4876, 338, 2665, 13, 4706, 3158, 16432, 3743, 4876, 3211, 313, 267, 29897, 13, 13, 268, 3158, 29889, 1853, 1275, 525, 3742, 1767, 29915, 584, 995, 338, 11924, 287, 13, 4706, 3158, 16432, 3743, 4833, 18564, 3407, 304, 995, 29889, 2648, 2322, 445, 338, 788, 29871, 29896, 13, 13, 268, 3158, 29889, 16122, 1853, 1275, 525, 1188, 936, 29915, 13, 268, 3158, 29889, 16122, 2585, 978, 1275, 19780, 4833, 978, 13, 268, 3158, 29889, 16122, 3891, 2435, 420, 1275, 4434, 2435, 420, 13, 268, 3158, 29889, 16122, 19227, 1275, 6306, 470, 10693, 29892, 773, 921, 408, 2286, 29892, 13055, 491, 21921, 29915, 321, 29889, 29887, 29889, 525, 29916, 1405, 29871, 29946, 29906, 29892, 29916, 529, 29871, 29947, 29929, 29915, 13, 462, 795, 1815, 884, 775, 297, 916, 2566, 3651, 773, 5877, 29901, 518, 2585, 978, 29901, 3891, 2435, 420, 29901, 791, 3837, 420, 29962, 13, 462, 795, 2216, 3447, 8762, 29892, 541, 393, 29915, 29879, 278, 2969, 29889, 13, 13, 268, 3158, 29889, 16122, 1853, 1275, 525, 2230, 29915, 13, 268, 3158, 29889, 16122, 1767, 1275, 2635, 931, 1347, 297, 17998, 6923, 13, 268, 3158, 29889, 13, 13, 29871, 3834, 995, 505, 4235, 29889, 4525, 526, 15968, 1819, 29901, 13, 13, 29871, 2178, 916, 848, 338, 11122, 297, 278, 3158, 1272, 1746, 29889, 4525, 526, 1819, 393, 526, 12234, 3158, 1853, 470, 4195, 1853, 2702, 13, 29871, 4525, 526, 16766, 287, 322, 7500, 297, 322, 714, 304, 29914, 3166, 21503, 4314, 13, 259, 13, 15945, 29908, 13, 13, 13, 1990, 3158, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3158, 8977, 1125, 13, 13, 4706, 9995, 13, 4706, 15447, 591, 526, 975, 13234, 445, 411, 6055, 393, 526, 451, 3918, 1948, 4452, 29889, 13, 13, 4706, 4525, 881, 2845, 599, 679, 4341, 29892, 470, 599, 748, 964, 263, 6055, 1746, 29889, 450, 2050, 800, 472, 278, 3256, 13, 4706, 505, 304, 437, 411, 825, 278, 3740, 338, 28420, 29889, 960, 591, 4337, 599, 310, 445, 964, 263, 9657, 29892, 591, 674, 817, 304, 1735, 278, 3740, 13, 4706, 304, 8206, 372, 714, 310, 263, 9657, 29889, 13, 4706, 9995, 13, 13, 4706, 6055, 353, 426, 13, 9651, 525, 898, 295, 388, 2396, 29900, 29892, 13, 9651, 525, 2696, 18829, 2396, 29900, 29892, 13, 9651, 525, 627, 2147, 267, 300, 2396, 5574, 29892, 13, 9651, 525, 2467, 10745, 23860, 2396, 29871, 29900, 29889, 29900, 29892, 29871, 396, 29871, 29900, 2794, 599, 278, 931, 29889, 13, 9651, 525, 2467, 29918, 7165, 2396, 29871, 29953, 29900, 29889, 29900, 29892, 13, 9651, 525, 1188, 29918, 2084, 2396, 8516, 13, 4706, 500, 13, 4706, 6055, 29889, 5504, 29898, 2467, 8977, 29897, 13, 4706, 363, 1820, 29892, 995, 297, 6055, 29889, 7076, 7295, 13, 9651, 731, 5552, 29898, 1311, 29892, 1820, 29892, 995, 29897, 13, 13, 9651, 9995, 13, 9651, 2799, 3656, 403, 278, 3158, 770, 13, 9651, 450, 9657, 393, 591, 679, 515, 278, 2566, 3743, 263, 1353, 310, 4343, 4235, 29892, 322, 884, 385, 525, 2467, 1272, 29915, 1746, 13, 9651, 393, 3743, 7343, 4426, 393, 1122, 470, 1122, 451, 1863, 363, 1422, 3158, 4072, 29889, 13, 13, 9651, 1334, 6088, 372, 964, 263, 8600, 29892, 322, 3638, 372, 297, 408, 263, 2875, 29889, 1334, 1033, 9773, 278, 8600, 29892, 541, 769, 591, 13, 9651, 723, 451, 367, 2221, 304, 5948, 3013, 5702, 310, 988, 304, 2436, 1250, 9120, 9976, 29889, 13, 9651, 9995, 13, 13, 9651, 1583, 29889, 2467, 4130, 328, 919, 353, 4390, 29889, 18132, 29898, 2467, 8977, 1839, 2467, 1272, 11287, 13, 13, 13, 9651, 9995, 14402, 29901, 3789, 2322, 1819, 408, 263, 4195, 310, 21200, 1134, 304, 1207, 21200, 664, 746, 1819, 526, 451, 6790, 29889, 13, 9651, 12904, 674, 769, 4635, 1438, 1819, 964, 278, 2566, 13, 13, 9651, 3115, 29892, 746, 1819, 526, 20043, 297, 29892, 671, 278, 10938, 304, 1735, 995, 1134, 29892, 321, 29889, 29887, 29889, 1583, 29889, 898, 295, 388, 881, 2041, 297, 408, 263, 13, 9651, 5785, 313, 272, 13677, 511, 451, 1347, 29889, 13, 13, 9651, 9995, 13, 4706, 1583, 29889, 4882, 7645, 353, 6629, 13, 13, 1678, 822, 1480, 29898, 1311, 29892, 2643, 29892, 12428, 1188, 5563, 29922, 29896, 29892, 16256, 1188, 5563, 29922, 29896, 1125, 13, 4706, 515, 13607, 4422, 1907, 29889, 329, 1793, 1053, 1480, 13, 4706, 565, 1583, 29889, 1188, 29918, 2084, 29901, 13, 9651, 1480, 29898, 1311, 29889, 1188, 29918, 2084, 29892, 2643, 29892, 12428, 1188, 5563, 29892, 16256, 1188, 5563, 29897, 13, 13, 1678, 822, 8161, 29918, 4882, 29898, 1311, 1125, 13, 4706, 515, 13607, 4422, 1907, 1053, 4833, 1982, 29892, 1418, 284, 747, 13, 13, 4706, 565, 1583, 29889, 16122, 1853, 1275, 525, 1188, 936, 2396, 13, 9651, 16256, 4882, 353, 1418, 284, 747, 29889, 14513, 2585, 18564, 689, 2497, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 16122, 11287, 13, 9651, 396, 1596, 877, 22484, 29934, 27047, 742, 21962, 4882, 29897, 13, 9651, 565, 16256, 4882, 1275, 6213, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 8516, 4133, 491, 19745, 2585, 18564, 29889, 21605, 4660, 304, 7700, 29915, 13, 9651, 1583, 29889, 1767, 353, 29871, 29900, 13, 9651, 1018, 29901, 13, 18884, 1583, 29889, 4882, 353, 938, 29898, 21962, 4882, 29897, 13, 9651, 5174, 29901, 13, 18884, 1596, 877, 2704, 13755, 525, 718, 851, 29898, 21962, 4882, 876, 13, 18884, 1583, 29889, 4882, 353, 29871, 29900, 13, 13, 4706, 25342, 1583, 29889, 16122, 1853, 1275, 525, 1767, 2396, 13, 9651, 1583, 29889, 1767, 353, 4833, 1982, 29889, 2585, 18564, 517, 1767, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 2585, 18564, 11287, 13, 9651, 396, 1596, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 2585, 18564, 11287, 13, 9651, 396, 1596, 29898, 1311, 29889, 1767, 29897, 13, 9651, 396, 1583, 29889, 1767, 353, 1418, 284, 747, 29889, 14513, 2585, 18564, 689, 2497, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 2585, 18564, 11287, 13, 9651, 396, 1583, 29889, 6891, 353, 1583, 29889, 2467, 4130, 328, 919, 1839, 6891, 2033, 13, 9651, 396, 1583, 29889, 29883, 5385, 291, 353, 1583, 29889, 2467, 4130, 328, 919, 1839, 29883, 5385, 291, 2033, 13, 9651, 1018, 29901, 13, 18884, 1583, 29889, 4882, 353, 938, 29898, 29881, 2075, 747, 29889, 28667, 4350, 791, 689, 2497, 29898, 710, 29898, 1311, 29889, 1767, 29897, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 6891, 2033, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 29883, 5385, 291, 25901, 13, 9651, 396, 10575, 2289, 3183, 385, 1059, 1244, 29889, 13, 9651, 5174, 29901, 13, 18884, 1583, 29889, 1188, 877, 11432, 297, 263, 1655, 791, 1495, 13, 18884, 1583, 29889, 1188, 29898, 710, 29898, 1311, 29889, 1767, 29897, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 6891, 2033, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 29883, 5385, 291, 11287, 13, 18884, 1583, 29889, 4882, 353, 29871, 29900, 13, 13, 4706, 25342, 1583, 29889, 16122, 1853, 1275, 525, 12719, 2396, 13, 9651, 515, 18002, 333, 1053, 8230, 747, 13, 9651, 2761, 29918, 12719, 29918, 978, 353, 1583, 29889, 2467, 4130, 328, 919, 1839, 12719, 29918, 978, 2033, 13, 9651, 2761, 29918, 2585, 353, 8230, 747, 29889, 5231, 333, 9112, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29897, 13, 9651, 1583, 29889, 1767, 353, 2761, 29918, 2585, 29889, 657, 29918, 14369, 29918, 1767, 877, 305, 12629, 3788, 6451, 1767, 742, 16122, 2433, 29908, 978, 29908, 2013, 4907, 718, 2761, 29918, 12719, 29918, 978, 718, 13577, 1159, 13, 9651, 1583, 29889, 4882, 353, 29871, 29900, 13, 13, 9651, 565, 525, 29925, 29963, 29918, 677, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 322, 1583, 29889, 1767, 529, 5785, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 29925, 29963, 29918, 677, 2033, 1125, 13, 18884, 1583, 29889, 4882, 353, 29871, 29896, 13, 13, 9651, 565, 525, 29925, 29963, 29918, 9812, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 322, 1583, 29889, 1767, 1405, 5785, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 29925, 29963, 29918, 9812, 2033, 1125, 13, 18884, 1583, 29889, 4882, 353, 29871, 29896, 13, 13, 13, 4706, 25342, 1583, 29889, 16122, 1853, 1275, 525, 1356, 1971, 284, 2396, 13, 9651, 9995, 29871, 13, 632, 13, 9651, 910, 674, 367, 2309, 297, 263, 18863, 29899, 3293, 411, 263, 2322, 8600, 13, 632, 13, 9651, 9995, 13, 9651, 6055, 353, 426, 13, 18884, 525, 7165, 2396, 29953, 29900, 29889, 29900, 13, 9651, 500, 13, 13, 9651, 6055, 29889, 5504, 29898, 1311, 29889, 2467, 4130, 328, 919, 29897, 13, 13, 9651, 1053, 12865, 13, 9651, 1857, 29918, 2230, 353, 12865, 29889, 12673, 29889, 3707, 580, 13, 13, 9651, 1741, 29918, 2230, 29918, 8977, 353, 426, 13, 18884, 525, 6360, 2396, 8516, 29892, 13, 18884, 525, 10874, 2396, 8516, 29892, 13, 18884, 525, 29881, 340, 2396, 8516, 29892, 13, 18884, 525, 3250, 2396, 8516, 29892, 13, 18884, 525, 18721, 2396, 29900, 29892, 13, 18884, 525, 1195, 1082, 2396, 29900, 29892, 13, 18884, 525, 7496, 2396, 29900, 13, 9651, 500, 13, 13, 9651, 396, 14402, 29901, 22782, 2462, 310, 4723, 13, 9651, 396, 14402, 29901, 4386, 8857, 310, 4452, 13, 13, 9651, 1741, 29918, 2230, 29918, 8977, 29889, 5504, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 3696, 29918, 2230, 11287, 13, 9651, 363, 2944, 297, 6024, 6360, 742, 525, 10874, 742, 525, 3250, 2033, 29901, 13, 18884, 565, 451, 1741, 29918, 2230, 29918, 8977, 29961, 667, 29962, 470, 1741, 29918, 2230, 29918, 8977, 29961, 667, 29962, 1275, 525, 29930, 2396, 13, 462, 1678, 1741, 29918, 2230, 29918, 8977, 29961, 667, 29962, 353, 679, 5552, 29898, 3784, 29918, 2230, 29892, 2944, 29897, 13, 13, 9651, 363, 2944, 297, 6024, 18721, 3788, 1195, 1082, 3788, 7496, 2033, 29901, 13, 18884, 565, 1741, 29918, 2230, 29918, 8977, 29961, 667, 29962, 1275, 525, 29930, 2396, 13, 462, 1678, 1741, 29918, 2230, 29918, 8977, 29961, 667, 29962, 353, 679, 5552, 29898, 3784, 29918, 2230, 29892, 2944, 29897, 13, 13, 9651, 396, 1596, 29898, 3696, 29918, 2230, 29918, 8977, 29897, 13, 9651, 1741, 29918, 2230, 353, 12865, 29889, 12673, 29898, 6360, 29922, 524, 29898, 3696, 29918, 2230, 29918, 8977, 1839, 6360, 2033, 511, 4098, 29922, 524, 29898, 3696, 29918, 2230, 29918, 8977, 1839, 10874, 2033, 511, 13, 462, 965, 2462, 29922, 3696, 29918, 2230, 29918, 8977, 1839, 3250, 7464, 7234, 29922, 524, 29898, 3696, 29918, 2230, 29918, 8977, 1839, 18721, 2033, 511, 13, 462, 965, 11015, 29922, 524, 29898, 3696, 29918, 2230, 29918, 8977, 1839, 1195, 1082, 2033, 511, 1473, 29922, 524, 29898, 3696, 29918, 2230, 29918, 8977, 1839, 7496, 25901, 13, 13, 9651, 1857, 29918, 3696, 29918, 4181, 353, 313, 3784, 29918, 2230, 448, 1741, 29918, 2230, 467, 7827, 29918, 23128, 580, 13, 13, 9651, 931, 29918, 517, 29918, 627, 353, 7700, 13, 9651, 565, 1857, 29918, 3696, 29918, 4181, 1405, 29871, 29900, 322, 1857, 29918, 3696, 29918, 4181, 529, 1583, 29889, 2467, 29918, 7165, 29901, 13, 18884, 931, 29918, 517, 29918, 627, 353, 5852, 13, 13, 9651, 396, 1018, 29901, 13, 9651, 396, 268, 1833, 29918, 2467, 353, 12865, 29889, 12673, 29889, 710, 415, 603, 29898, 1311, 29889, 2467, 2230, 29892, 1418, 284, 747, 29889, 2230, 29918, 4830, 29918, 1807, 29897, 13, 9651, 396, 5174, 29901, 13, 9651, 396, 268, 1596, 877, 29089, 3588, 1833, 29918, 2467, 21313, 1800, 4286, 4830, 29898, 1311, 29889, 2467, 2230, 876, 13, 9651, 396, 268, 931, 29918, 517, 29918, 627, 353, 5852, 13, 9651, 396, 1683, 29901, 13, 9651, 396, 268, 931, 29918, 16076, 29918, 4230, 29918, 13, 13, 13, 9651, 396, 4321, 1741, 931, 2750, 1857, 931, 13, 9651, 396, 11699, 931, 4502, 29892, 322, 769, 338, 931, 2629, 3158, 3474, 313, 9176, 29915, 29873, 864, 304, 1044, 373, 599, 4940, 8820, 565, 591, 3052, 963, 29897, 13, 9651, 396, 5335, 287, 2593, 353, 5785, 29898, 13, 9651, 396, 268, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 29881, 2075, 747, 29889, 657, 9346, 342, 5393, 3101, 448, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 2467, 2230, 876, 13, 9651, 396, 1583, 29889, 1767, 353, 5335, 287, 2593, 13, 13, 9651, 565, 931, 29918, 517, 29918, 627, 29901, 13, 18884, 396, 1334, 1044, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 2481, 304, 1044, 29889, 525, 13, 18884, 1583, 29889, 4230, 2467, 2230, 353, 12865, 29889, 1256, 29889, 710, 615, 603, 29898, 3784, 29918, 2230, 29892, 1418, 284, 747, 29889, 2230, 29918, 4830, 29918, 1807, 29897, 13, 18884, 1583, 29889, 4882, 353, 29871, 29896, 13, 9651, 1683, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 3664, 931, 3447, 363, 3158, 21467, 363, 525, 718, 851, 29898, 3696, 29918, 2230, 29897, 718, 15300, 9626, 931, 338, 525, 718, 851, 29898, 3784, 29918, 2230, 29897, 718, 15300, 525, 13, 13, 9651, 1596, 29898, 1311, 29889, 4882, 7645, 29897, 13, 4706, 396, 1596, 29898, 1311, 29889, 16122, 1853, 29897, 13, 4706, 396, 1596, 29898, 1311, 29889, 4882, 29897, 13, 13, 1678, 822, 1243, 29898, 1311, 1125, 13, 4706, 515, 13607, 4422, 1907, 1053, 19725, 13, 4706, 565, 1583, 29889, 2467, 1853, 1275, 525, 5269, 2396, 13, 9651, 396, 1889, 4876, 3158, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 4876, 6655, 29889, 525, 13, 9651, 4876, 353, 1583, 29889, 2467, 16432, 13, 13, 9651, 2643, 353, 525, 3057, 2643, 363, 3158, 525, 718, 1583, 29889, 978, 13, 13, 9651, 4967, 353, 525, 29907, 29884, 29925, 1367, 4321, 28861, 584, 525, 718, 1583, 29889, 978, 13, 9651, 3158, 2549, 353, 19725, 29889, 21980, 29898, 4906, 29922, 4906, 29892, 4967, 29922, 16009, 29892, 23957, 993, 29922, 5269, 29897, 13, 9651, 3158, 2549, 29889, 6717, 580, 13, 13, 1678, 822, 373, 627, 29898, 1311, 1125, 13, 4706, 515, 13607, 4422, 1907, 1053, 4833, 1982, 29892, 1418, 284, 747, 29892, 19725, 13, 4706, 515, 18002, 333, 1053, 8230, 747, 13, 13, 4706, 565, 1583, 29889, 2467, 1853, 1275, 525, 5269, 2396, 13, 9651, 396, 1889, 4876, 3158, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 4876, 6655, 29889, 525, 13, 9651, 4876, 353, 1583, 29889, 2467, 16432, 13, 13, 9651, 396, 12630, 7191, 13, 9651, 565, 1583, 29889, 16122, 1853, 1275, 525, 12719, 2396, 13, 18884, 2643, 353, 525, 13599, 21200, 363, 525, 718, 1583, 29889, 978, 718, 525, 338, 6136, 411, 995, 310, 525, 718, 851, 29898, 1311, 29889, 1767, 29897, 718, 15300, 525, 13, 18884, 565, 525, 29925, 29963, 29918, 677, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 29901, 13, 462, 1678, 2643, 4619, 525, 29931, 340, 21200, 29901, 525, 718, 851, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 29925, 29963, 29918, 677, 2033, 718, 15300, 25710, 13, 18884, 565, 525, 29925, 29963, 29918, 9812, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 29901, 13, 462, 1678, 2643, 4619, 525, 16382, 21200, 29901, 525, 718, 851, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 29925, 29963, 29918, 9812, 2033, 718, 15300, 25710, 13, 13, 13, 9651, 25342, 1583, 29889, 16122, 1853, 1275, 525, 1767, 2396, 13, 13, 18884, 396, 2643, 353, 525, 16649, 338, 6136, 363, 525, 718, 1583, 29889, 978, 718, 15300, 315, 5385, 291, 525, 718, 1583, 29889, 5927, 370, 2435, 420, 718, 525, 297, 525, 718, 1583, 29889, 3891, 2435, 420, 718, 525, 756, 995, 525, 718, 851, 29898, 1311, 29889, 11918, 1767, 29897, 718, 525, 411, 263, 28770, 291, 310, 525, 718, 851, 29898, 1311, 29889, 29883, 5385, 291, 29897, 718, 525, 411, 385, 5455, 310, 525, 718, 1583, 29889, 6891, 718, 15300, 910, 21200, 4660, 756, 1063, 373, 1951, 525, 718, 1583, 29889, 609, 603, 718, 525, 6169, 13, 18884, 2643, 353, 525, 16649, 363, 21200, 525, 718, 1583, 29889, 978, 718, 525, 869, 1551, 931, 310, 525, 718, 1583, 29889, 609, 603, 718, 15300, 9626, 931, 310, 525, 320, 13, 462, 3986, 718, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 13, 18884, 2643, 4619, 525, 7865, 29901, 525, 718, 851, 29898, 1311, 29889, 1767, 29897, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 6891, 2033, 718, 851, 29898, 1311, 29889, 2467, 4130, 328, 919, 1839, 29883, 5385, 291, 11287, 13, 13, 9651, 1683, 29901, 13, 18884, 396, 2643, 353, 525, 16649, 338, 6136, 363, 525, 718, 1583, 29889, 978, 718, 15300, 315, 5385, 291, 525, 718, 1583, 29889, 5927, 370, 2435, 420, 718, 525, 297, 525, 718, 1583, 29889, 3891, 2435, 420, 718, 525, 756, 995, 525, 718, 851, 29898, 1311, 29889, 11918, 1767, 29897, 718, 525, 411, 263, 28770, 291, 310, 525, 718, 851, 29898, 1311, 29889, 29883, 5385, 291, 29897, 718, 525, 411, 385, 5455, 310, 525, 718, 1583, 29889, 6891, 718, 15300, 910, 21200, 4660, 756, 1063, 373, 1951, 525, 718, 1583, 29889, 609, 603, 718, 525, 6169, 13, 18884, 2643, 353, 525, 16649, 363, 21200, 525, 718, 1583, 29889, 978, 718, 525, 869, 1551, 931, 310, 525, 718, 1583, 29889, 609, 603, 718, 15300, 9626, 931, 310, 525, 320, 13, 462, 3986, 718, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 9651, 1053, 9909, 13, 9651, 3495, 978, 353, 9909, 29889, 29887, 621, 520, 978, 580, 13, 13, 9651, 4967, 353, 525, 29907, 29884, 29925, 1367, 525, 718, 3495, 978, 718, 525, 28861, 584, 838, 2817, 1551, 448, 525, 718, 1583, 29889, 978, 13, 9651, 1018, 29901, 13, 18884, 3158, 2549, 353, 19725, 29889, 21980, 29898, 4906, 29922, 4906, 29892, 4967, 29922, 16009, 29892, 23957, 993, 29922, 5269, 29897, 13, 18884, 3158, 2549, 29889, 6717, 580, 13, 9651, 5174, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 2392, 9348, 4876, 29889, 525, 13, 9651, 1683, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 14925, 2665, 29889, 525, 13, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 513, 20485, 2396, 13, 9651, 396, 1889, 27717, 3158, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 27717, 373, 3158, 29889, 525, 13, 9651, 27717, 978, 353, 1583, 29889, 2467, 16432, 13, 9651, 4833, 1982, 29889, 22793, 1972, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 5504, 4221, 4097, 731, 4660, 29922, 29896, 988, 1024, 353, 320, 4907, 718, 27717, 978, 718, 11297, 29915, 1495, 13, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 4905, 2396, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 1962, 373, 3158, 29889, 525, 13, 9651, 4833, 1982, 29889, 842, 14369, 1767, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 4905, 29879, 742, 525, 1767, 742, 525, 29896, 742, 4195, 2433, 29908, 333, 29908, 2013, 4907, 718, 1583, 29889, 2467, 16432, 718, 13577, 1159, 13, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 29885, 866, 29918, 6519, 2396, 13, 9651, 6055, 353, 426, 13, 18884, 525, 1217, 29918, 20908, 15815, 2396, 5574, 29892, 13, 18884, 525, 2267, 2722, 2396, 29945, 13, 9651, 500, 13, 9651, 6055, 29889, 5504, 29898, 1311, 29889, 2467, 4130, 328, 919, 29897, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 1899, 373, 3158, 29889, 525, 13, 13, 9651, 12551, 353, 1583, 29889, 2467, 4130, 328, 919, 1839, 23848, 2033, 13, 9651, 2643, 353, 1583, 29889, 2467, 4130, 328, 919, 1839, 4906, 2033, 13, 13, 9651, 1899, 29918, 333, 353, 22372, 3227, 29913, 4286, 4830, 29898, 23848, 29892, 2643, 29897, 13, 9651, 1899, 353, 11117, 802, 6742, 2230, 2396, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 3285, 525, 23848, 2396, 12551, 29892, 13, 462, 539, 525, 4882, 2396, 525, 1482, 742, 525, 4906, 2396, 2643, 29892, 525, 2055, 5380, 2396, 6519, 29918, 333, 29892, 13, 462, 539, 500, 13, 13, 9651, 1899, 1839, 6768, 2033, 353, 4390, 29889, 29881, 17204, 3319, 29915, 2267, 2722, 2396, 11027, 1839, 2267, 2722, 2033, 1800, 13, 13, 9651, 4635, 353, 5852, 13, 9651, 565, 6055, 1839, 1217, 29918, 20908, 15815, 2033, 29901, 13, 18884, 396, 5399, 304, 1074, 565, 8260, 1863, 411, 1749, 1899, 1178, 29889, 13, 18884, 4195, 353, 376, 2055, 5380, 2433, 8875, 29915, 1642, 4830, 29898, 6519, 29918, 333, 29897, 13, 18884, 9686, 29918, 26381, 353, 8230, 747, 29889, 2585, 29879, 29889, 29885, 4769, 29889, 949, 29918, 2371, 877, 26381, 742, 16122, 29922, 16122, 29897, 13, 18884, 565, 9686, 29918, 26381, 29901, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 525, 8875, 9686, 8260, 526, 2307, 712, 6742, 29889, 2216, 23800, 29889, 15300, 4830, 29898, 2435, 29898, 4352, 292, 29918, 26381, 876, 13, 462, 1678, 4635, 353, 7700, 13, 13, 9651, 565, 4635, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 797, 643, 1259, 1899, 29889, 525, 13, 18884, 8230, 747, 29889, 2585, 29879, 29889, 29885, 4769, 29889, 11027, 1839, 339, 2035, 2033, 353, 7700, 13, 18884, 8230, 747, 29889, 2585, 29879, 29889, 29885, 4769, 29889, 7851, 877, 26381, 742, 6519, 29897, 13, 13, 4706, 396, 910, 881, 367, 278, 10035, 7834, 393, 591, 9725, 403, 304, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 842, 1767, 2396, 13, 9651, 396, 304, 731, 263, 995, 29892, 591, 817, 472, 9212, 29901, 13, 9651, 396, 259, 4833, 978, 29892, 4434, 2435, 420, 29892, 659, 3837, 420, 29892, 731, 5696, 322, 2845, 29901, 13, 9651, 396, 259, 731, 5696, 353, 11924, 29892, 11924, 1767, 29922, 29896, 13, 9651, 396, 259, 731, 5696, 353, 995, 13, 9651, 4833, 29894, 299, 919, 353, 1418, 284, 747, 29889, 862, 8485, 29890, 18564, 29898, 1311, 29889, 2467, 16432, 29897, 13, 9651, 4833, 2084, 353, 8230, 747, 29889, 2585, 8588, 300, 459, 493, 29898, 2585, 29894, 299, 919, 1839, 2585, 978, 11287, 13, 9651, 396, 12630, 731, 7063, 29973, 13, 13, 9651, 565, 525, 842, 1767, 689, 2497, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 29901, 13, 18884, 396, 624, 3096, 393, 591, 1016, 29915, 29873, 1073, 3447, 29889, 13, 18884, 4833, 1982, 29889, 842, 14369, 1767, 29898, 2585, 2084, 29892, 4833, 29894, 299, 919, 1839, 3891, 2435, 420, 7464, 4833, 29894, 299, 919, 1839, 791, 3837, 420, 7464, 525, 689, 352, 579, 3096, 1244, 742, 4833, 29894, 299, 919, 1839, 16122, 11287, 13, 9651, 1683, 29901, 13, 13, 18884, 9995, 14402, 29901, 24778, 445, 15833, 29889, 1334, 2609, 5279, 2323, 14978, 297, 278, 2566, 6251, 1363, 372, 16706, 278, 337, 7851, 29889, 13, 18884, 1105, 363, 1286, 29892, 591, 505, 304, 788, 11839, 373, 2845, 2625, 310, 278, 1347, 16333, 1434, 14012, 278, 21120, 2346, 29889, 9995, 13, 18884, 565, 4833, 29894, 299, 919, 1839, 16122, 2033, 29901, 13, 462, 1678, 2346, 16122, 353, 4833, 29894, 299, 919, 1839, 16122, 13359, 5451, 877, 29922, 29861, 29900, 29962, 718, 376, 2433, 29908, 718, 4833, 29894, 299, 919, 1839, 16122, 13359, 5451, 877, 29922, 29861, 29896, 29962, 718, 376, 11838, 13, 462, 1678, 396, 1596, 877, 25634, 3352, 8707, 29928, 22122, 1495, 13, 462, 1678, 396, 1596, 29898, 1972, 16122, 29897, 13, 18884, 1683, 29901, 13, 462, 1678, 2346, 16122, 353, 6213, 13, 18884, 4833, 1982, 29889, 842, 14369, 1767, 29898, 2585, 2084, 29892, 4833, 29894, 299, 919, 1839, 3891, 2435, 420, 7464, 4833, 29894, 299, 919, 1839, 791, 3837, 420, 7464, 525, 29896, 742, 2346, 16122, 29897, 13, 13, 1678, 822, 1283, 627, 29898, 1311, 1125, 13, 4706, 515, 13607, 4422, 1907, 1053, 4833, 1982, 29892, 1418, 284, 747, 29892, 19725, 13, 4706, 515, 18002, 333, 1053, 8230, 747, 13, 4706, 565, 1583, 29889, 2467, 1853, 1275, 525, 5269, 2396, 13, 9651, 396, 1889, 4876, 3158, 13, 9651, 396, 14402, 29901, 910, 2289, 4225, 304, 9521, 278, 4876, 3158, 297, 1206, 591, 526, 451, 7395, 29889, 13, 9651, 1583, 29889, 4882, 7645, 718, 2433, 7032, 292, 4876, 6655, 6169, 13, 9651, 4876, 353, 1583, 29889, 2467, 16432, 13, 9651, 396, 2643, 353, 525, 16649, 756, 7695, 297, 4925, 363, 525, 718, 1583, 29889, 978, 718, 15300, 315, 5385, 291, 525, 718, 1583, 29889, 5927, 370, 2435, 420, 718, 525, 297, 525, 718, 1583, 29889, 3891, 2435, 420, 718, 525, 756, 995, 525, 718, 851, 29898, 1311, 29889, 11918, 1767, 29897, 718, 525, 411, 263, 28770, 291, 310, 525, 718, 851, 29898, 1311, 29889, 29883, 5385, 291, 29897, 718, 525, 411, 385, 5455, 310, 525, 718, 1583, 29889, 6891, 718, 15300, 910, 21200, 4660, 756, 1063, 310, 1951, 525, 718, 1583, 29889, 2696, 2230, 718, 525, 6169, 13, 9651, 2643, 353, 525, 16649, 363, 21200, 525, 718, 1583, 29889, 978, 718, 525, 869, 5947, 931, 310, 525, 718, 1583, 29889, 2696, 2230, 718, 15300, 9626, 931, 310, 525, 320, 13, 462, 418, 718, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 9651, 565, 1583, 29889, 16122, 1853, 1275, 525, 1767, 2396, 13, 18884, 2643, 4619, 525, 7865, 29901, 525, 718, 851, 29898, 1311, 29889, 1767, 29897, 718, 1583, 29889, 2467, 4130, 328, 919, 1839, 6891, 2033, 718, 851, 29898, 13, 462, 1678, 1583, 29889, 2467, 4130, 328, 919, 1839, 29883, 5385, 291, 11287, 13, 13, 9651, 1053, 9909, 13, 9651, 3495, 978, 353, 9909, 29889, 29887, 621, 520, 978, 580, 13, 13, 9651, 4967, 353, 525, 29907, 29884, 29925, 1367, 525, 718, 3495, 978, 718, 525, 28861, 584, 838, 2817, 5947, 448, 525, 718, 1583, 29889, 978, 13, 9651, 1018, 29901, 13, 18884, 3158, 2549, 353, 19725, 29889, 21980, 29898, 4906, 29922, 4906, 29892, 4967, 29922, 16009, 29892, 23957, 993, 29922, 5269, 29897, 13, 18884, 3158, 2549, 29889, 6717, 580, 13, 9651, 5174, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 2392, 9348, 4876, 29889, 525, 13, 9651, 1683, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 14925, 2665, 29889, 525, 13, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 513, 20485, 2396, 13, 9651, 396, 1889, 27717, 3158, 13, 9651, 1583, 29889, 4882, 7645, 718, 2433, 7032, 292, 27717, 1283, 3158, 6169, 13, 9651, 27717, 978, 353, 1583, 29889, 2467, 16432, 13, 9651, 4833, 1982, 29889, 842, 14369, 1767, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 513, 293, 4097, 742, 525, 4882, 742, 29871, 29900, 29892, 525, 978, 2013, 4907, 718, 27717, 978, 29974, 11297, 29915, 1495, 13, 9651, 1596, 877, 22255, 2965, 1299, 1955, 5813, 353, 13577, 718, 27717, 978, 718, 18793, 1495, 13, 9651, 396, 4833, 1982, 29889, 22793, 1972, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 5504, 4221, 4097, 731, 4660, 29922, 29900, 988, 1024, 353, 525, 718, 27717, 978, 29897, 13, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 4905, 2396, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 7032, 292, 1962, 1283, 3158, 29889, 525, 13, 9651, 4833, 1982, 29889, 842, 14369, 1767, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 4905, 29879, 742, 525, 1767, 742, 525, 29900, 742, 4195, 2433, 29908, 333, 29908, 2013, 4907, 718, 1583, 29889, 2467, 16432, 718, 13577, 1159, 13, 13, 4706, 396, 910, 881, 367, 278, 10035, 7834, 393, 591, 9725, 403, 304, 13, 4706, 25342, 1583, 29889, 2467, 1853, 1275, 525, 842, 1767, 2396, 13, 9651, 396, 304, 731, 263, 995, 29892, 591, 817, 472, 9212, 29901, 13, 9651, 396, 259, 4833, 978, 29892, 4434, 2435, 420, 29892, 659, 3837, 420, 29892, 731, 5696, 322, 2845, 29901, 13, 9651, 396, 259, 731, 5696, 353, 11924, 29892, 11924, 1767, 29922, 29896, 13, 9651, 396, 259, 731, 5696, 353, 995, 13, 9651, 4833, 29894, 299, 919, 353, 1418, 284, 747, 29889, 862, 8485, 29890, 18564, 29898, 1311, 29889, 2467, 16432, 29897, 13, 9651, 4833, 2084, 353, 8230, 747, 29889, 2585, 8588, 300, 459, 493, 29898, 2585, 29894, 299, 919, 1839, 2585, 978, 11287, 13, 9651, 396, 12630, 731, 7063, 29973, 13, 13, 9651, 565, 525, 842, 1767, 689, 2497, 29915, 297, 1583, 29889, 2467, 4130, 328, 919, 29901, 13, 18884, 396, 624, 3096, 393, 591, 1016, 29915, 29873, 1073, 3447, 29889, 13, 18884, 4833, 1982, 29889, 842, 14369, 1767, 29898, 2585, 2084, 29892, 4833, 29894, 299, 919, 1839, 3891, 2435, 420, 7464, 4833, 29894, 299, 919, 1839, 791, 3837, 420, 7464, 525, 689, 352, 579, 3096, 1244, 742, 4833, 29894, 299, 919, 1839, 16122, 11287, 13, 9651, 1683, 29901, 13, 13, 18884, 9995, 14402, 29901, 24778, 445, 15833, 29889, 1334, 2609, 5279, 2323, 14978, 297, 278, 2566, 6251, 1363, 372, 16706, 278, 337, 7851, 29889, 13, 18884, 1105, 363, 1286, 29892, 591, 505, 304, 788, 11839, 373, 2845, 2625, 310, 278, 1347, 16333, 1434, 14012, 278, 21120, 2346, 29889, 9995, 13, 18884, 565, 4833, 29894, 299, 919, 1839, 16122, 2033, 29901, 13, 462, 1678, 2346, 16122, 353, 4833, 29894, 299, 919, 1839, 16122, 13359, 5451, 877, 29922, 29861, 29900, 29962, 718, 376, 2433, 29908, 718, 4833, 29894, 299, 919, 1839, 16122, 13359, 5451, 877, 29922, 29861, 29896, 29962, 718, 376, 11838, 13, 462, 1678, 396, 1596, 877, 25634, 3352, 8707, 29928, 22122, 1495, 13, 462, 1678, 396, 1596, 29898, 1972, 16122, 29897, 13, 18884, 1683, 29901, 13, 462, 1678, 2346, 16122, 353, 6213, 13, 18884, 4833, 1982, 29889, 842, 14369, 1767, 29898, 2585, 2084, 29892, 4833, 29894, 299, 919, 1839, 3891, 2435, 420, 7464, 4833, 29894, 299, 919, 1839, 791, 3837, 420, 7464, 525, 29900, 742, 2346, 16122, 29897, 13, 13, 1678, 822, 1596, 5975, 29898, 1311, 1125, 13, 4706, 363, 12421, 29892, 1767, 297, 1583, 17255, 8977, 26914, 7076, 7295, 13, 9651, 1596, 29898, 710, 29898, 5552, 29897, 718, 525, 584, 525, 718, 851, 29898, 1767, 876, 13, 13, 1678, 396, 732, 10185, 13, 1678, 822, 9805, 29898, 1311, 1125, 13, 4706, 515, 18002, 333, 1053, 8230, 747, 13, 4706, 515, 13607, 4422, 1907, 1053, 4833, 1982, 13, 4706, 515, 13607, 4422, 1907, 29889, 29881, 2075, 747, 1053, 9657, 517, 3126, 13, 4706, 396, 337, 7851, 4784, 3158, 1250, 964, 2566, 13, 4706, 659, 2491, 391, 29922, 2636, 13, 4706, 659, 3837, 1280, 29922, 2636, 13, 13, 4706, 2761, 29918, 2585, 353, 8230, 747, 29889, 5231, 333, 9112, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29897, 13, 13, 4706, 396, 1334, 3588, 1749, 3158, 4130, 328, 919, 1250, 964, 263, 1347, 13, 4706, 1583, 29889, 2467, 1272, 353, 4390, 29889, 29881, 17204, 29898, 1311, 29889, 2467, 4130, 328, 919, 29897, 13, 13, 4706, 363, 12421, 297, 1583, 17255, 8977, 1649, 29901, 13, 9651, 565, 12421, 451, 297, 6024, 2467, 4130, 328, 919, 742, 525, 2467, 2248, 742, 525, 2467, 1272, 2033, 29901, 13, 18884, 2761, 29918, 2585, 29889, 842, 29918, 14369, 29918, 1767, 877, 7387, 742, 12421, 29892, 679, 5552, 29898, 1311, 29892, 12421, 511, 4195, 2433, 29908, 2467, 2248, 29908, 2013, 4907, 718, 851, 29898, 1311, 29889, 2467, 2248, 29897, 718, 29908, 29915, 613, 9521, 29922, 5574, 29897, 13, 13, 4706, 396, 1596, 29898, 2435, 29898, 6451, 29918, 2585, 29889, 802, 6742, 29918, 339, 6358, 876, 13, 4706, 2761, 29918, 2585, 29889, 7978, 29918, 9990, 580, 13, 4706, 396, 1596, 29898, 791, 3837, 1280, 29897, 13, 4706, 396, 1596, 29898, 791, 2491, 391, 29897, 13, 13, 4706, 396, 4833, 1982, 29889, 22793, 262, 643, 1372, 292, 280, 29898, 29886, 15943, 29889, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 7387, 742, 659, 2491, 391, 29892, 659, 3837, 1280, 29897, 13, 4706, 396, 731, 14369, 1767, 29898, 3972, 29879, 29889, 2585, 29879, 29889, 6451, 29892, 525, 7387, 742, 525, 609, 603, 742, 679, 9346, 342, 5393, 3285, 525, 798, 333, 2433, 718, 851, 29898, 1311, 29889, 798, 333, 876, 13, 1678, 396, 732, 10185, 13, 1678, 822, 1889, 29898, 1311, 1125, 13, 4706, 515, 13607, 4422, 1907, 1053, 1418, 284, 747, 13, 13, 4706, 396, 14402, 29901, 29849, 8161, 4660, 29889, 910, 15376, 278, 995, 964, 278, 4221, 4097, 29892, 2992, 29889, 13, 13, 4706, 565, 1583, 29889, 17590, 29901, 13, 9651, 1044, 353, 7700, 13, 13, 9651, 1583, 29889, 4882, 7645, 353, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 718, 525, 584, 1174, 3606, 322, 9068, 29889, 525, 13, 13, 9651, 1833, 29918, 4882, 353, 6120, 29898, 1311, 29889, 4882, 29897, 13, 13, 9651, 396, 10318, 4660, 29889, 13, 9651, 1583, 29889, 4801, 837, 457, 29918, 4882, 580, 13, 13, 9651, 396, 24877, 9202, 29889, 474, 17366, 29889, 13, 9651, 16256, 4882, 353, 6120, 29898, 1311, 29889, 4882, 29897, 13, 13, 9651, 565, 1833, 29918, 4882, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 8897, 4660, 338, 525, 718, 851, 29898, 4230, 29918, 4882, 29897, 718, 15300, 315, 1038, 4882, 338, 525, 718, 851, 29898, 21962, 4882, 29897, 718, 15300, 525, 13, 9651, 1683, 29901, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 8897, 4660, 338, 525, 718, 851, 29898, 4230, 29918, 4882, 29897, 718, 15300, 315, 1038, 4882, 338, 525, 718, 851, 29898, 21962, 4882, 29897, 718, 15300, 525, 13, 13, 9651, 1857, 2230, 353, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 13, 9651, 396, 565, 4660, 338, 1565, 322, 1857, 4660, 338, 2089, 29892, 731, 373, 2230, 313, 272, 565, 373, 29914, 2696, 931, 1746, 338, 4069, 29897, 13, 9651, 565, 16256, 4882, 322, 313, 1333, 1833, 29918, 4882, 470, 451, 1583, 29889, 609, 603, 1125, 13, 18884, 396, 1596, 29898, 710, 29898, 2764, 4882, 29897, 718, 525, 525, 718, 851, 29898, 1311, 29889, 4882, 876, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 29020, 4660, 373, 2230, 29889, 525, 13, 18884, 1583, 29889, 609, 603, 353, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 9651, 25342, 451, 16256, 4882, 322, 313, 4230, 29918, 4882, 470, 451, 1583, 29889, 2696, 2230, 1125, 13, 18884, 1583, 29889, 4882, 7645, 4619, 525, 29020, 4660, 310, 615, 603, 29889, 525, 13, 18884, 1583, 29889, 2696, 2230, 353, 1418, 284, 747, 29889, 657, 9346, 342, 5393, 580, 13, 13, 9651, 396, 1596, 877, 22484, 29934, 6850, 1299, 3308, 742, 21962, 4882, 29897, 13, 9651, 396, 1596, 877, 1660, 29931, 29943, 29889, 17923, 18474, 742, 1311, 29889, 4925, 29897, 13, 9651, 396, 565, 4660, 338, 1565, 322, 21200, 3508, 29915, 29873, 3447, 6136, 29892, 1074, 565, 373, 18829, 13461, 287, 13, 9651, 565, 16256, 4882, 322, 451, 1583, 29889, 4925, 29901, 13, 18884, 396, 1596, 29898, 29886, 15943, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 876, 13, 18884, 4660, 609, 603, 353, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 29897, 448, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 609, 603, 29892, 2322, 517, 9171, 29922, 5574, 29897, 13, 18884, 396, 1596, 29898, 4882, 609, 603, 29897, 13, 18884, 565, 4660, 609, 603, 6736, 5785, 29898, 1311, 29889, 898, 295, 388, 1125, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 525, 29020, 3158, 6136, 29889, 525, 13, 462, 1678, 1583, 29889, 4925, 353, 29871, 29896, 13, 18884, 1683, 29901, 13, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 525, 2951, 9055, 451, 7450, 29889, 525, 13, 462, 1678, 396, 1596, 877, 265, 742, 1311, 29889, 609, 603, 29897, 13, 462, 1678, 396, 1596, 877, 3707, 742, 3784, 2230, 29897, 13, 13, 9651, 396, 565, 4660, 338, 451, 1565, 322, 21200, 338, 6136, 29892, 1074, 565, 1283, 18829, 13461, 287, 13, 9651, 565, 451, 16256, 4882, 322, 1583, 29889, 4925, 29901, 13, 18884, 4660, 2696, 2230, 353, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 29897, 448, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 2696, 2230, 29892, 2322, 517, 9171, 29922, 5574, 29897, 13, 18884, 565, 4660, 2696, 2230, 6736, 5785, 29898, 1311, 29889, 2696, 18829, 1125, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 525, 29020, 3158, 297, 4925, 29889, 525, 13, 462, 1678, 1583, 29889, 4925, 353, 29871, 29900, 13, 13, 462, 1678, 396, 1044, 373, 297, 4925, 9558, 13, 462, 1678, 396, 15076, 385, 6655, 847, 10092, 27717, 565, 1044, 2147, 267, 300, 338, 373, 13, 462, 1678, 565, 1583, 29889, 627, 2147, 267, 300, 29901, 13, 462, 4706, 931, 29918, 16076, 29918, 4230, 29918, 2467, 353, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 29897, 448, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 13, 462, 9651, 1583, 29889, 4230, 2467, 2230, 29892, 2322, 517, 9171, 29922, 5574, 29897, 13, 462, 4706, 565, 931, 29918, 16076, 29918, 4230, 29918, 2467, 6736, 5785, 29898, 1311, 29889, 2467, 10745, 23860, 1125, 13, 462, 9651, 1044, 353, 5852, 13, 462, 9651, 1583, 29889, 4882, 7645, 4619, 376, 2481, 304, 1044, 373, 1044, 2147, 267, 300, 29889, 376, 718, 851, 29898, 13, 462, 18884, 931, 29918, 16076, 29918, 4230, 29918, 2467, 29897, 718, 525, 1951, 1833, 3158, 29892, 411, 3158, 10868, 310, 525, 718, 851, 29898, 13, 462, 18884, 1583, 29889, 2467, 10745, 23860, 29897, 718, 15300, 525, 13, 462, 4706, 1683, 29901, 13, 462, 9651, 1044, 353, 7700, 13, 462, 9651, 1583, 29889, 4882, 7645, 4619, 376, 3664, 3447, 931, 304, 1044, 1213, 13, 13, 18884, 1683, 29901, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 525, 6880, 9055, 451, 7450, 29889, 525, 13, 13, 9651, 396, 1243, 304, 1074, 565, 372, 338, 931, 304, 6655, 29892, 2729, 373, 9055, 373, 29881, 6655, 931, 13, 9651, 396, 1596, 29898, 1311, 29889, 4882, 7645, 29897, 13, 9651, 565, 1583, 29889, 4925, 29901, 13, 18884, 396, 1423, 304, 1074, 565, 372, 338, 931, 304, 6655, 13, 18884, 396, 1152, 2712, 763, 14391, 29892, 3158, 10745, 23860, 881, 367, 5225, 304, 2337, 427, 10118, 393, 3158, 338, 373, 29889, 13, 13, 18884, 396, 1596, 29898, 29886, 15943, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 876, 13, 18884, 396, 1596, 29898, 29886, 15943, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 4230, 2467, 2230, 876, 13, 18884, 396, 1596, 29898, 7411, 29898, 1311, 29889, 2467, 10745, 23860, 876, 13, 18884, 396, 1596, 29898, 29886, 15943, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 6817, 29886, 15943, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 4230, 2467, 2230, 876, 13, 18884, 931, 29918, 16076, 29918, 4230, 29918, 2467, 353, 29871, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 3784, 2230, 29897, 448, 1418, 284, 747, 29889, 9346, 342, 5393, 517, 23128, 29898, 1311, 29889, 4230, 2467, 2230, 29892, 2322, 517, 9171, 29922, 5574, 29897, 13, 18884, 565, 931, 29918, 16076, 29918, 4230, 29918, 2467, 6736, 5785, 29898, 1311, 29889, 2467, 10745, 23860, 1125, 13, 462, 1678, 1044, 353, 5852, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 376, 2481, 304, 1044, 29889, 376, 718, 851, 29898, 2230, 29918, 16076, 29918, 4230, 29918, 2467, 29897, 718, 525, 1951, 1833, 3158, 29892, 411, 3158, 10868, 310, 525, 718, 851, 29898, 1311, 29889, 2467, 10745, 23860, 29897, 718, 15300, 525, 13, 18884, 1683, 29901, 13, 462, 1678, 1044, 353, 7700, 13, 462, 1678, 1583, 29889, 4882, 7645, 4619, 376, 3664, 3447, 931, 304, 1044, 1213, 13, 9651, 1683, 29901, 13, 18884, 396, 10731, 10092, 871, 5930, 373, 278, 9558, 29889, 13, 18884, 1209, 13, 13, 9651, 565, 1044, 29901, 13, 18884, 396, 1334, 29915, 276, 7960, 304, 6655, 470, 6655, 1449, 29889, 13, 18884, 1583, 29889, 4230, 2467, 2230, 353, 1857, 2230, 13, 18884, 565, 16256, 4882, 29901, 13, 462, 1678, 1583, 29889, 265, 627, 580, 13, 18884, 1683, 29901, 13, 462, 1678, 1583, 29889, 2696, 627, 580, 13, 4706, 1683, 29901, 13, 9651, 1583, 29889, 4882, 7645, 4619, 525, 4276, 12708, 6169, 13, 9651, 1583, 29889, 4882, 353, 29871, 29900, 13, 13, 13, 1753, 1889, 7387, 29898, 1068, 19290, 1125, 13, 13, 1678, 396, 7523, 2566, 304, 679, 1749, 8820, 13, 1678, 515, 18002, 333, 1053, 8230, 747, 13, 1678, 6055, 353, 426, 13, 4706, 525, 8382, 2396, 8824, 13, 1678, 500, 13, 1678, 6055, 29889, 5504, 29898, 19290, 29897, 13, 1678, 565, 6055, 1839, 8382, 2033, 29901, 13, 4706, 8230, 747, 29889, 842, 29918, 8382, 580, 13, 13, 1678, 3158, 8977, 29879, 353, 8230, 747, 29889, 2585, 29879, 29889, 6451, 29889, 949, 29918, 2371, 877, 7387, 1495, 13, 13, 1678, 363, 3158, 8977, 297, 3158, 8977, 29879, 29901, 13, 13, 4706, 396, 565, 591, 871, 864, 304, 1889, 697, 3158, 29892, 14383, 4045, 29889, 13, 4706, 565, 525, 978, 29915, 297, 9049, 5085, 29901, 13, 9651, 565, 3158, 8977, 1839, 978, 2033, 2804, 9049, 5085, 1839, 978, 2033, 29901, 13, 18884, 6773, 13, 13, 4706, 3158, 8977, 1839, 1188, 29918, 2084, 2033, 353, 8230, 747, 29889, 3972, 29879, 29889, 20756, 29889, 7387, 13, 4706, 445, 2467, 353, 3158, 29898, 2467, 8977, 29897, 13, 4706, 445, 2467, 29889, 5014, 580, 13, 4706, 445, 2467, 29889, 23679, 580, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 4744, 353, 7700, 13, 1678, 565, 525, 8382, 29915, 297, 10876, 29889, 19218, 29901, 13, 4706, 4744, 353, 5852, 13, 1678, 1889, 7387, 29898, 8382, 29922, 8382, 29897, 2 ]
htdfsdk/web3/_utils/txpool.py
youngqqcn/htdfsdk
2
164876
<reponame>youngqqcn/htdfsdk<gh_stars>1-10 from typing import ( Callable, ) from htdfsdk.web3._utils.rpc_abi import ( RPC, ) from htdfsdk.web3.method import ( Method, ) from htdfsdk.web3.types import ( TxPoolContent, TxPoolInspect, TxPoolStatus, ) content: Method[Callable[[], TxPoolContent]] = Method( RPC.txpool_content, mungers=None, ) inspect: Method[Callable[[], TxPoolInspect]] = Method( RPC.txpool_inspect, mungers=None, ) status: Method[Callable[[], TxPoolStatus]] = Method( RPC.txpool_status, mungers=None, )
[ 1, 529, 276, 1112, 420, 29958, 6293, 865, 24349, 18038, 29914, 400, 2176, 15348, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 19229, 1053, 313, 13, 1678, 8251, 519, 29892, 13, 29897, 13, 13, 3166, 298, 1594, 29888, 15348, 29889, 2676, 29941, 3032, 13239, 29889, 29878, 6739, 29918, 19266, 1053, 313, 13, 1678, 390, 9026, 29892, 13, 29897, 13, 3166, 298, 1594, 29888, 15348, 29889, 2676, 29941, 29889, 5696, 1053, 313, 13, 1678, 8108, 29892, 13, 29897, 13, 3166, 298, 1594, 29888, 15348, 29889, 2676, 29941, 29889, 8768, 1053, 313, 13, 1678, 323, 29916, 11426, 3916, 29892, 13, 1678, 323, 29916, 11426, 797, 21494, 29892, 13, 1678, 323, 29916, 11426, 5709, 29892, 13, 29897, 13, 13, 3051, 29901, 8108, 29961, 5594, 519, 8999, 1402, 323, 29916, 11426, 3916, 5262, 353, 8108, 29898, 13, 1678, 390, 9026, 29889, 7508, 10109, 29918, 3051, 29892, 13, 1678, 286, 686, 414, 29922, 8516, 29892, 13, 29897, 13, 13, 13, 1144, 1103, 29901, 8108, 29961, 5594, 519, 8999, 1402, 323, 29916, 11426, 797, 21494, 5262, 353, 8108, 29898, 13, 1678, 390, 9026, 29889, 7508, 10109, 29918, 1144, 1103, 29892, 13, 1678, 286, 686, 414, 29922, 8516, 29892, 13, 29897, 13, 13, 13, 4882, 29901, 8108, 29961, 5594, 519, 8999, 1402, 323, 29916, 11426, 5709, 5262, 353, 8108, 29898, 13, 1678, 390, 9026, 29889, 7508, 10109, 29918, 4882, 29892, 13, 1678, 286, 686, 414, 29922, 8516, 29892, 13, 29897, 13, 2 ]
sql_judge/control/exam_controller.py
r4ulill0/gui_dbjudge
1
127675
from model.exam import ExamData from dbjudge.connection_manager.manager import Manager from dbjudge import squema_recollector, exceptions from PyQt5.QtCore import pyqtSlot, QItemSelectionModel class Exam_controller(): def __init__(self, selection_view, exam_view, results_view): self.selection_view = selection_view self.exam_view = exam_view self.results_view = results_view self.model = ExamData() self.manager = Manager.singleton_instance self.selection_view.scenario_selection.currentTextChanged.connect( self.update_scenario_data) self.selection_view.access_button.clicked.connect( self.update_scenario_data) self.exam_view.test_button.clicked.connect(self.try_answer) self.exam_view.question_list.setModel(self.model.questions) self.exam_view.question_list.selectionModel().currentRowChanged.connect( self.update_current_exam_question) self.exam_view.generate_report_button.clicked.connect( self.finish_exam) self.results_view.question_list.setModel(self.model.questions) self.results_view.question_list.selectionModel().currentRowChanged.connect( self.update_current_results_question) def load_avaiable_scenarios(self): self.model.scenarios = self.manager.get_databases() self.selection_view.load_scenarios(self.model.scenarios) def update_scenario_data(self, scenario): scenario = self.selection_view.get_current_scenario() if scenario: self.manager.select_database(scenario) self.model.questions = self.manager.get_questions() tables = self.manager.get_tables() tuples = self.manager.get_total_data_count() total_tables = len(tables) total_questions = len(self.model.questions) total_rows = tuples self.selection_view.update_scenario_data( total_tables, total_questions, total_rows) self.selection_view.access_button.setEnabled(total_questions > 0) preselected_index = self.model.questions.index(0, 0) self.exam_view.question_list.selectionModel().setCurrentIndex( preselected_index, QItemSelectionModel.SelectionFlag.ClearAndSelect) def update_current_exam_question(self, index): self.model.answers[self.model.questions.question_list[self.model.current_question] ] = self.exam_view.get_answer_text() self.exam_view.update_current_question( self.model.questions.question_list[index.row()]) self.exam_view.set_answer_text( self.model.answers[self.model.questions.question_list[index.row()]]) self.model.current_question = index.row() def try_answer(self): answer = self.exam_view.get_answer_text() try: response = self.manager.execute_in_readonly(answer) for row in response: complete_row = '' for element in row: complete_row += ' '+str(element) self.exam_view.set_console_output(complete_row) except exceptions.ReadOnlyError: error_message = 'Error sintáctico detectado, revisa tu consulta' self.exam_view.set_console_output(error_message) def finish_exam(self): self.model.answers[self.model.questions.question_list[self.model.current_question] ] = self.exam_view.get_answer_text() self.exam_view.clear_ui() self.model.generate_report() preselected_index = self.model.questions.index(0, 0) self.results_view.question_list.selectionModel().setCurrentIndex( preselected_index, QItemSelectionModel.SelectionFlag.ClearAndSelect) def update_current_results_question(self, index): correct_answers_count = 0 total_count = 0 for question, analysis in self.model.report.items(): if analysis.is_correct(): correct_answers_count += 1 total_count += 1 question = self.model.questions.question_list[index.row()] self.results_view.update_total_count( correct_answers_count, total_count) self.results_view.update_current_question(question) self.results_view.update_correct_result( self.model.report[question].correct_result) self.results_view.update_correct_answer( self.model.report[question].is_correct()) self.results_view.update_excess_tables( self.model.report[question].excess_tables_used) self.results_view.update_keywords( self.model.report[question].expected_keywords, self.model.report[question].used_keywords) self.model.current_question = index.row()
[ 1, 515, 1904, 29889, 735, 314, 1053, 1222, 314, 1469, 13, 13, 3166, 4833, 17675, 479, 29889, 9965, 29918, 12847, 29889, 12847, 1053, 15629, 13, 3166, 4833, 17675, 479, 1053, 10674, 2603, 29918, 276, 15914, 272, 29892, 15283, 13, 3166, 10772, 17303, 29945, 29889, 17303, 9203, 1053, 11451, 17915, 29903, 8276, 29892, 660, 2001, 15097, 3195, 13, 13, 13, 1990, 1222, 314, 29918, 8299, 7295, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9262, 29918, 1493, 29892, 4392, 29918, 1493, 29892, 2582, 29918, 1493, 1125, 13, 4706, 1583, 29889, 21731, 29918, 1493, 353, 9262, 29918, 1493, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 353, 4392, 29918, 1493, 13, 4706, 1583, 29889, 9902, 29918, 1493, 353, 2582, 29918, 1493, 13, 4706, 1583, 29889, 4299, 353, 1222, 314, 1469, 580, 13, 4706, 1583, 29889, 12847, 353, 15629, 29889, 2976, 11285, 29918, 8758, 13, 13, 4706, 1583, 29889, 21731, 29918, 1493, 29889, 1557, 24893, 29918, 21731, 29889, 3784, 1626, 7590, 29889, 6915, 29898, 13, 9651, 1583, 29889, 5504, 29918, 1557, 24893, 29918, 1272, 29897, 13, 4706, 1583, 29889, 21731, 29918, 1493, 29889, 5943, 29918, 3092, 29889, 3808, 287, 29889, 6915, 29898, 13, 9651, 1583, 29889, 5504, 29918, 1557, 24893, 29918, 1272, 29897, 13, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 1688, 29918, 3092, 29889, 3808, 287, 29889, 6915, 29898, 1311, 29889, 2202, 29918, 12011, 29897, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 842, 3195, 29898, 1311, 29889, 4299, 29889, 2619, 29897, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 21731, 3195, 2141, 3784, 4301, 7590, 29889, 6915, 29898, 13, 9651, 1583, 29889, 5504, 29918, 3784, 29918, 735, 314, 29918, 12470, 29897, 13, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 17158, 29918, 12276, 29918, 3092, 29889, 3808, 287, 29889, 6915, 29898, 13, 9651, 1583, 29889, 4951, 728, 29918, 735, 314, 29897, 13, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 842, 3195, 29898, 1311, 29889, 4299, 29889, 2619, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 21731, 3195, 2141, 3784, 4301, 7590, 29889, 6915, 29898, 13, 9651, 1583, 29889, 5504, 29918, 3784, 29918, 9902, 29918, 12470, 29897, 13, 13, 1678, 822, 2254, 29918, 879, 29875, 519, 29918, 1557, 264, 8596, 29898, 1311, 1125, 13, 4706, 1583, 29889, 4299, 29889, 1557, 264, 8596, 353, 1583, 29889, 12847, 29889, 657, 29918, 29503, 2129, 580, 13, 4706, 1583, 29889, 21731, 29918, 1493, 29889, 1359, 29918, 1557, 264, 8596, 29898, 1311, 29889, 4299, 29889, 1557, 264, 8596, 29897, 13, 13, 1678, 822, 2767, 29918, 1557, 24893, 29918, 1272, 29898, 1311, 29892, 10483, 1125, 13, 4706, 10483, 353, 1583, 29889, 21731, 29918, 1493, 29889, 657, 29918, 3784, 29918, 1557, 24893, 580, 13, 4706, 565, 10483, 29901, 13, 9651, 1583, 29889, 12847, 29889, 2622, 29918, 9803, 29898, 1557, 24893, 29897, 13, 9651, 1583, 29889, 4299, 29889, 2619, 353, 1583, 29889, 12847, 29889, 657, 29918, 2619, 580, 13, 9651, 6131, 353, 1583, 29889, 12847, 29889, 657, 29918, 24051, 580, 13, 9651, 5291, 2701, 353, 1583, 29889, 12847, 29889, 657, 29918, 7827, 29918, 1272, 29918, 2798, 580, 13, 9651, 3001, 29918, 24051, 353, 7431, 29898, 24051, 29897, 13, 9651, 3001, 29918, 2619, 353, 7431, 29898, 1311, 29889, 4299, 29889, 2619, 29897, 13, 9651, 3001, 29918, 5727, 353, 5291, 2701, 13, 9651, 1583, 29889, 21731, 29918, 1493, 29889, 5504, 29918, 1557, 24893, 29918, 1272, 29898, 13, 18884, 3001, 29918, 24051, 29892, 3001, 29918, 2619, 29892, 3001, 29918, 5727, 29897, 13, 9651, 1583, 29889, 21731, 29918, 1493, 29889, 5943, 29918, 3092, 29889, 842, 10861, 29898, 7827, 29918, 2619, 1405, 29871, 29900, 29897, 13, 4706, 544, 968, 781, 287, 29918, 2248, 353, 1583, 29889, 4299, 29889, 2619, 29889, 2248, 29898, 29900, 29892, 29871, 29900, 29897, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 21731, 3195, 2141, 842, 7583, 3220, 29898, 13, 9651, 544, 968, 781, 287, 29918, 2248, 29892, 660, 2001, 15097, 3195, 29889, 15097, 21979, 29889, 18759, 2855, 3549, 29897, 13, 13, 1678, 822, 2767, 29918, 3784, 29918, 735, 314, 29918, 12470, 29898, 1311, 29892, 2380, 1125, 13, 4706, 1583, 29889, 4299, 29889, 550, 17538, 29961, 1311, 29889, 4299, 29889, 2619, 29889, 12470, 29918, 1761, 29961, 1311, 29889, 4299, 29889, 3784, 29918, 12470, 29962, 13, 462, 965, 4514, 353, 1583, 29889, 735, 314, 29918, 1493, 29889, 657, 29918, 12011, 29918, 726, 580, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 5504, 29918, 3784, 29918, 12470, 29898, 13, 9651, 1583, 29889, 4299, 29889, 2619, 29889, 12470, 29918, 1761, 29961, 2248, 29889, 798, 580, 2314, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 842, 29918, 12011, 29918, 726, 29898, 13, 9651, 1583, 29889, 4299, 29889, 550, 17538, 29961, 1311, 29889, 4299, 29889, 2619, 29889, 12470, 29918, 1761, 29961, 2248, 29889, 798, 580, 24960, 13, 4706, 1583, 29889, 4299, 29889, 3784, 29918, 12470, 353, 2380, 29889, 798, 580, 13, 13, 1678, 822, 1018, 29918, 12011, 29898, 1311, 1125, 13, 4706, 1234, 353, 1583, 29889, 735, 314, 29918, 1493, 29889, 657, 29918, 12011, 29918, 726, 580, 13, 4706, 1018, 29901, 13, 9651, 2933, 353, 1583, 29889, 12847, 29889, 7978, 29918, 262, 29918, 949, 6194, 29898, 12011, 29897, 13, 9651, 363, 1948, 297, 2933, 29901, 13, 18884, 4866, 29918, 798, 353, 6629, 13, 18884, 363, 1543, 297, 1948, 29901, 13, 462, 1678, 4866, 29918, 798, 4619, 525, 525, 29974, 710, 29898, 5029, 29897, 13, 18884, 1583, 29889, 735, 314, 29918, 1493, 29889, 842, 29918, 11058, 29918, 4905, 29898, 8835, 29918, 798, 29897, 13, 4706, 5174, 15283, 29889, 6359, 11730, 2392, 29901, 13, 9651, 1059, 29918, 4906, 353, 525, 2392, 25507, 18343, 1417, 6459, 912, 29892, 23484, 29874, 5291, 8799, 29874, 29915, 13, 9651, 1583, 29889, 735, 314, 29918, 1493, 29889, 842, 29918, 11058, 29918, 4905, 29898, 2704, 29918, 4906, 29897, 13, 13, 1678, 822, 8341, 29918, 735, 314, 29898, 1311, 1125, 13, 4706, 1583, 29889, 4299, 29889, 550, 17538, 29961, 1311, 29889, 4299, 29889, 2619, 29889, 12470, 29918, 1761, 29961, 1311, 29889, 4299, 29889, 3784, 29918, 12470, 29962, 13, 462, 965, 4514, 353, 1583, 29889, 735, 314, 29918, 1493, 29889, 657, 29918, 12011, 29918, 726, 580, 13, 4706, 1583, 29889, 735, 314, 29918, 1493, 29889, 8551, 29918, 1481, 580, 13, 4706, 1583, 29889, 4299, 29889, 17158, 29918, 12276, 580, 13, 4706, 544, 968, 781, 287, 29918, 2248, 353, 1583, 29889, 4299, 29889, 2619, 29889, 2248, 29898, 29900, 29892, 29871, 29900, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 12470, 29918, 1761, 29889, 21731, 3195, 2141, 842, 7583, 3220, 29898, 13, 9651, 544, 968, 781, 287, 29918, 2248, 29892, 660, 2001, 15097, 3195, 29889, 15097, 21979, 29889, 18759, 2855, 3549, 29897, 13, 13, 1678, 822, 2767, 29918, 3784, 29918, 9902, 29918, 12470, 29898, 1311, 29892, 2380, 1125, 13, 4706, 1959, 29918, 550, 17538, 29918, 2798, 353, 29871, 29900, 13, 4706, 3001, 29918, 2798, 353, 29871, 29900, 13, 4706, 363, 1139, 29892, 7418, 297, 1583, 29889, 4299, 29889, 12276, 29889, 7076, 7295, 13, 9651, 565, 7418, 29889, 275, 29918, 15728, 7295, 13, 18884, 1959, 29918, 550, 17538, 29918, 2798, 4619, 29871, 29896, 13, 9651, 3001, 29918, 2798, 4619, 29871, 29896, 13, 13, 4706, 1139, 353, 1583, 29889, 4299, 29889, 2619, 29889, 12470, 29918, 1761, 29961, 2248, 29889, 798, 580, 29962, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 7827, 29918, 2798, 29898, 13, 9651, 1959, 29918, 550, 17538, 29918, 2798, 29892, 3001, 29918, 2798, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 3784, 29918, 12470, 29898, 12470, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 15728, 29918, 2914, 29898, 13, 9651, 1583, 29889, 4299, 29889, 12276, 29961, 12470, 1822, 15728, 29918, 2914, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 15728, 29918, 12011, 29898, 13, 9651, 1583, 29889, 4299, 29889, 12276, 29961, 12470, 1822, 275, 29918, 15728, 3101, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 735, 985, 29918, 24051, 29898, 13, 9651, 1583, 29889, 4299, 29889, 12276, 29961, 12470, 1822, 735, 985, 29918, 24051, 29918, 3880, 29897, 13, 4706, 1583, 29889, 9902, 29918, 1493, 29889, 5504, 29918, 1989, 9303, 29898, 13, 9651, 1583, 29889, 4299, 29889, 12276, 29961, 12470, 1822, 9684, 29918, 1989, 9303, 29892, 1583, 29889, 4299, 29889, 12276, 29961, 12470, 1822, 3880, 29918, 1989, 9303, 29897, 13, 4706, 1583, 29889, 4299, 29889, 3784, 29918, 12470, 353, 2380, 29889, 798, 580, 13, 2 ]
chat/forms.py
Firexd2/social-network
2
47407
<reponame>Firexd2/social-network from django import forms from chat.models import Message, Room class NewRoomForm(forms.ModelForm): ids_users = forms.CharField(label='', required=False, widget=forms.TextInput(attrs={'hidden': 'true'})) first_message = forms.CharField(label='Приветственное сообщение', required=False, widget=forms.Textarea(attrs={'class': 'form-control', 'cols': '52', 'rows': '1'})) type = forms.CharField(label='', widget=forms.TextInput(attrs={'style': 'display:none', 'value': 'conversation'})) class Meta: model = Room fields = ['name', 'ids_users', 'first_message', 'type'] widgets = {'name': forms.TextInput(attrs={'class': 'form-control'})} class EditRoomLogoForm(forms.ModelForm): class Meta: model = Room fields = ['logo'] widgets = {'logo': forms.FileInput(attrs={'class': 'form-control'})} class EditRoomNameForm(forms.ModelForm): class Meta: model = Room fields = ['name'] widgets = {'name': forms.TextInput(attrs={'class': 'form-control'})} class OutRoomForm(forms.ModelForm): id = forms.IntegerField(label='', widget=forms.TextInput()) class Meta: model = Room fields = ['id'] class SendMessageForm(forms.ModelForm): id = forms.CharField() destination = forms.CharField() class Meta: model = Message fields = ['text', 'id', 'destination']
[ 1, 529, 276, 1112, 420, 29958, 18654, 29916, 29881, 29906, 29914, 24911, 29899, 11618, 13, 3166, 9557, 1053, 7190, 13, 13, 3166, 13563, 29889, 9794, 1053, 7777, 29892, 25114, 13, 13, 13, 1990, 1570, 9588, 290, 2500, 29898, 9514, 29889, 3195, 2500, 1125, 13, 13, 1678, 18999, 29918, 7193, 353, 7190, 29889, 27890, 29898, 1643, 2433, 742, 3734, 29922, 8824, 29892, 11109, 29922, 9514, 29889, 1626, 4290, 29898, 5552, 29879, 3790, 29915, 10892, 2396, 525, 3009, 10827, 876, 13, 13, 1678, 937, 29918, 4906, 353, 7190, 29889, 27890, 29898, 1643, 2433, 30013, 641, 7616, 4190, 5209, 25032, 24849, 742, 3734, 29922, 8824, 29892, 13, 462, 462, 1678, 11109, 29922, 9514, 29889, 1626, 6203, 29898, 5552, 29879, 3790, 29915, 1990, 2396, 525, 689, 29899, 6451, 742, 525, 22724, 2396, 525, 29945, 29906, 742, 525, 5727, 2396, 525, 29896, 10827, 876, 13, 13, 1678, 1134, 353, 7190, 29889, 27890, 29898, 1643, 2433, 742, 11109, 29922, 9514, 29889, 1626, 4290, 29898, 5552, 29879, 3790, 29915, 3293, 2396, 525, 4990, 29901, 9290, 742, 525, 1767, 2396, 525, 535, 874, 362, 10827, 876, 13, 13, 1678, 770, 20553, 29901, 13, 4706, 1904, 353, 25114, 13, 4706, 4235, 353, 6024, 978, 742, 525, 4841, 29918, 7193, 742, 525, 4102, 29918, 4906, 742, 525, 1853, 2033, 13, 4706, 11109, 29879, 353, 11117, 978, 2396, 7190, 29889, 1626, 4290, 29898, 5552, 29879, 3790, 29915, 1990, 2396, 525, 689, 29899, 6451, 29915, 1800, 29913, 13, 13, 13, 1990, 7641, 9588, 290, 3403, 29877, 2500, 29898, 9514, 29889, 3195, 2500, 1125, 13, 13, 1678, 770, 20553, 29901, 13, 4706, 1904, 353, 25114, 13, 4706, 4235, 353, 6024, 14569, 2033, 13, 4706, 11109, 29879, 353, 11117, 14569, 2396, 7190, 29889, 2283, 4290, 29898, 5552, 29879, 3790, 29915, 1990, 2396, 525, 689, 29899, 6451, 29915, 1800, 29913, 13, 13, 13, 1990, 7641, 9588, 290, 1170, 2500, 29898, 9514, 29889, 3195, 2500, 1125, 13, 13, 1678, 770, 20553, 29901, 13, 4706, 1904, 353, 25114, 13, 4706, 4235, 353, 6024, 978, 2033, 13, 4706, 11109, 29879, 353, 11117, 978, 2396, 7190, 29889, 1626, 4290, 29898, 5552, 29879, 3790, 29915, 1990, 2396, 525, 689, 29899, 6451, 29915, 1800, 29913, 13, 13, 13, 1990, 4451, 9588, 290, 2500, 29898, 9514, 29889, 3195, 2500, 1125, 13, 1678, 1178, 353, 7190, 29889, 7798, 3073, 29898, 1643, 2433, 742, 11109, 29922, 9514, 29889, 1626, 4290, 3101, 13, 13, 1678, 770, 20553, 29901, 13, 4706, 1904, 353, 25114, 13, 4706, 4235, 353, 6024, 333, 2033, 13, 13, 13, 1990, 15076, 3728, 2500, 29898, 9514, 29889, 3195, 2500, 1125, 13, 13, 1678, 1178, 353, 7190, 29889, 27890, 580, 13, 1678, 12551, 353, 7190, 29889, 27890, 580, 13, 13, 1678, 770, 20553, 29901, 13, 4706, 1904, 353, 7777, 13, 4706, 4235, 353, 6024, 726, 742, 525, 333, 742, 525, 23848, 2033, 13, 2 ]
apps/fyle/migrations/0002_auto_20201221_0814.py
fylein/fyle-xero-api
0
67304
<filename>apps/fyle/migrations/0002_auto_20201221_0814.py # Generated by Django 3.0.3 on 2020-12-21 08:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fyle', '0001_initial'), ] operations = [ migrations.AlterModelTable( name='expensegroupsettings', table='expense_group_settings', ), ]
[ 1, 529, 9507, 29958, 13371, 29914, 29888, 1508, 29914, 26983, 800, 29914, 29900, 29900, 29900, 29906, 29918, 6921, 29918, 29906, 29900, 29906, 29900, 29896, 29906, 29906, 29896, 29918, 29900, 29947, 29896, 29946, 29889, 2272, 13, 29937, 3251, 630, 491, 15337, 29871, 29941, 29889, 29900, 29889, 29941, 373, 29871, 29906, 29900, 29906, 29900, 29899, 29896, 29906, 29899, 29906, 29896, 29871, 29900, 29947, 29901, 29896, 29946, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 13, 13, 13, 1990, 341, 16783, 29898, 26983, 800, 29889, 29924, 16783, 1125, 13, 13, 1678, 9962, 353, 518, 13, 4706, 6702, 29888, 1508, 742, 525, 29900, 29900, 29900, 29896, 29918, 11228, 5477, 13, 1678, 4514, 13, 13, 1678, 6931, 353, 518, 13, 4706, 9725, 800, 29889, 2499, 357, 3195, 3562, 29898, 13, 9651, 1024, 2433, 4548, 1947, 13155, 7409, 742, 13, 9651, 1591, 2433, 4548, 1947, 29918, 2972, 29918, 11027, 742, 13, 4706, 10353, 13, 1678, 4514, 13, 2 ]
events/vizier.py
bonus-tm/euforia
1
1609001
<gh_stars>1-10 # Визирь from event import Event class Vizier(Event): """ Визирь Армия: довольствие, дезертиры Население: рождаемость, смертность, недовольство, голод Урожай: засухи-наводнения, урожайность, крысы Визирь: украл золото и скрылся """ def __init__(self, data, say, ask): self.data = data self.say = say self.ask = ask # def start(self): """ Запуск события — пересчёт параметров и вывод результатов """ self.check_army() self.check_population() self.check_crop() self.check_rob_caravan() self.check_rob_church() self.check_vizier() if self.let_him_in(): self.report() # довольствие армии def check_army(self): # дезертиры self.data.deserters = 0 # денежное довольствие армии self.data.allowance = self.data.resources['soldier'] * 10 # считаем дезертировавших из-за невыплаты довольствия if self.data.allowance > self.data.money: shortage = self.data.allowance - self.data.money self.data.allowance = self.data.money self.data.deserters = min(round(shortage / 10 * self.ask.frand(0, 1.5)), self.data.resources['soldier']) self.data.money -= self.data.allowance self.data.resources['soldier'] -= self.data.deserters # население # настроения народа def check_population(self): # родилось self.data.births = 0 # померло от голода self.data.famishes = 0 # сбежало self.data.fugitives = 0 sldr = self.data.resources['soldier'] psnt = self.data.resources['peasant'] # считаем скольким хватило зерна на прокорм, а сколько рабочих померло с голодухи if psnt + sldr > self.data.corn_for_food: shortage = psnt + sldr - self.data.corn_for_food self.data.famishes = round(shortage * self.ask.frand(0.3, 1)) self.data.resources['peasant'] -= self.data.famishes # считаем рабочих, сбежавших от нехватки земли if psnt > min(self.data.corn_for_seed, self.data.resources['land']): shortage = psnt - min(self.data.corn_for_seed, self.data.resources['land']) self.data.fugitives = min(round(shortage * self.ask.frand(0, 1.2)), self.data.resources['peasant'],) self.data.resources['peasant'] -= self.data.fugitives # эпидемия чумы # остальные размножаются self.data.births = round(self.data.resources['peasant'] * self.ask.frand(0.05, 0.4)) self.data.resources['peasant'] += self.data.births # надо посчитать заговорщиков # урожай def check_crop(self): self.data.rats_eat = 0 # крысы пожрали зерно if self.ask.dice(50): self.data.rats_eat = round(self.data.resources['corn'] * self.ask.frand(0.1, 0.9)) # расчёт урожайности self.data.resources['corn'] += round(self.data.corn_for_seed * self.data.crop_rate) # стихийные бедствия - засухи, пожары, наводнения # визирь украл и скрылся def check_vizier(self): pass # ограблен храм # def report(self): self.say.clear_screen() self.say.line("Жалованье солдат: {:>10n} руб.\n".format(self.data.allowance)) self.say.line("-----------------------------------------------------------------------") self.debug("на еду {:n}, на посев {:n} × {:.3} = урожай {:n} тонн, итого {:n}" .format(self.data.corn_for_food, self.data.corn_for_seed, self.data.crop_rate, round(self.data.corn_for_seed * self.data.crop_rate), self.data.resources['corn'])) if self.data.rats_eat: self.say.line(" - Крысы сожрали {:>10n} тонн зерна.".format(self.data.rats_eat)) if self.data.deserters: self.say.line(" - Гвардия не получила денежного довольствия.\n" + " {:>10n} солдат покинули казармы и ушли за кордон.".format(self.data.deserters)) if self.data.fugitives: self.say.line(" - Рабочим не хватает земли. Сбежало {:>10n} человек.".format(self.data.fugitives)) if self.data.famishes: self.say.line(" - Вы заморили голодом {:>10n} ваших верноподданных!".format(self.data.famishes)) if self.data.births: self.say.line(" - В государстве родилось {:>10n} детей.".format(self.data.births)) # if self.data.: # self.say.line(" - {:>10n} \n".format(self.data.)) # self.say.line() # def let_him_in(self): return self.ask.yesno("Ваше высочество! Прибыл визирь, впустить?")
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 4491, 1916, 7474, 13, 3166, 1741, 1053, 6864, 13, 13, 1990, 478, 466, 631, 29898, 2624, 1125, 13, 1678, 9995, 4491, 1916, 7474, 13, 1678, 6164, 17682, 29901, 662, 1930, 693, 25025, 29892, 2263, 13690, 811, 3541, 13, 1678, 21636, 29901, 1561, 12393, 29919, 1630, 2321, 29892, 18047, 29932, 6122, 29892, 1538, 29957, 1930, 693, 3501, 29892, 27187, 29957, 13, 1678, 2014, 576, 2711, 29977, 29901, 1077, 2937, 3899, 29899, 477, 8160, 15530, 29892, 863, 576, 2711, 29977, 6122, 29892, 1186, 3541, 5551, 13, 1678, 4491, 1916, 7474, 29901, 26993, 29944, 26467, 702, 606, 531, 10300, 4633, 13, 1678, 9995, 13, 268, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 848, 29892, 1827, 29892, 2244, 1125, 13, 4706, 1583, 29889, 1272, 353, 848, 13, 4706, 1583, 29889, 20834, 353, 1827, 13, 4706, 1583, 29889, 1278, 353, 2244, 13, 268, 13, 268, 13, 1678, 396, 13, 1678, 822, 1369, 29898, 1311, 1125, 13, 4706, 9995, 3982, 2968, 6231, 1778, 6326, 8883, 813, 2942, 29935, 28651, 19714, 12274, 2899, 606, 2771, 8160, 13439, 4820, 9995, 13, 308, 13, 4706, 1583, 29889, 3198, 29918, 279, 1357, 580, 13, 4706, 1583, 29889, 3198, 29918, 7323, 2785, 580, 13, 4706, 1583, 29889, 3198, 29918, 29883, 1336, 580, 13, 4706, 1583, 29889, 3198, 29918, 13716, 29918, 4287, 29080, 580, 13, 4706, 1583, 29889, 3198, 29918, 13716, 29918, 305, 2458, 580, 13, 4706, 1583, 29889, 3198, 29918, 29894, 466, 631, 580, 13, 308, 13, 4706, 565, 1583, 29889, 1026, 29918, 26994, 29918, 262, 7295, 13, 9651, 1583, 29889, 12276, 580, 13, 308, 13, 308, 13, 1678, 396, 662, 1930, 693, 25025, 24164, 13, 1678, 822, 1423, 29918, 279, 1357, 29898, 1311, 1125, 13, 4706, 396, 2263, 13690, 811, 3541, 13, 4706, 1583, 29889, 1272, 29889, 2783, 261, 2153, 353, 29871, 29900, 13, 4706, 396, 662, 5755, 29998, 5209, 662, 1930, 693, 25025, 24164, 13, 4706, 1583, 29889, 1272, 29889, 9536, 749, 353, 1583, 29889, 1272, 29889, 13237, 1839, 29879, 1025, 631, 2033, 334, 29871, 29896, 29900, 13, 308, 13, 4706, 396, 25354, 3098, 2263, 13690, 23091, 23265, 1866, 29899, 1902, 1538, 4938, 18478, 3327, 662, 1930, 693, 7926, 29970, 13, 4706, 565, 1583, 29889, 1272, 29889, 9536, 749, 1405, 1583, 29889, 1272, 29889, 29885, 4992, 29901, 13, 9651, 3273, 482, 353, 1583, 29889, 1272, 29889, 9536, 749, 448, 1583, 29889, 1272, 29889, 29885, 4992, 13, 9651, 1583, 29889, 1272, 29889, 9536, 749, 353, 1583, 29889, 1272, 29889, 29885, 4992, 13, 9651, 1583, 29889, 1272, 29889, 2783, 261, 2153, 353, 1375, 29898, 14486, 29898, 12759, 482, 847, 29871, 29896, 29900, 334, 1583, 29889, 1278, 29889, 1341, 392, 29898, 29900, 29892, 29871, 29896, 29889, 29945, 8243, 13, 462, 462, 418, 1583, 29889, 1272, 29889, 13237, 1839, 29879, 1025, 631, 11287, 13, 4706, 1583, 29889, 1272, 29889, 29885, 4992, 22361, 1583, 29889, 1272, 29889, 9536, 749, 13, 4706, 1583, 29889, 1272, 29889, 13237, 1839, 29879, 1025, 631, 2033, 22361, 1583, 29889, 1272, 29889, 2783, 261, 2153, 13, 308, 13, 308, 13, 1678, 396, 4588, 6195, 13, 1678, 396, 665, 7966, 29919, 1587, 665, 24283, 13, 1678, 822, 1423, 29918, 7323, 2785, 29898, 1311, 1125, 13, 4706, 396, 14887, 8641, 13, 4706, 1583, 29889, 1272, 29889, 29890, 7515, 29879, 353, 29871, 29900, 13, 4706, 396, 733, 5508, 843, 1685, 27187, 840, 13, 4706, 1583, 29889, 1272, 29889, 29888, 314, 17006, 353, 29871, 29900, 13, 4706, 396, 531, 3759, 2711, 843, 13, 4706, 1583, 29889, 1272, 29889, 29888, 688, 277, 3145, 353, 29871, 29900, 13, 308, 13, 4706, 269, 430, 29878, 353, 1583, 29889, 1272, 29889, 13237, 1839, 29879, 1025, 631, 2033, 13, 4706, 6529, 593, 353, 1583, 29889, 1272, 29889, 13237, 1839, 412, 13186, 2033, 13, 308, 13, 4706, 396, 25354, 3098, 18924, 693, 9787, 4354, 10957, 843, 754, 780, 477, 665, 1471, 16848, 29959, 29892, 1097, 18924, 9298, 6457, 1499, 29988, 733, 5508, 843, 531, 27187, 1520, 3899, 13, 4706, 565, 6529, 593, 718, 269, 430, 29878, 1405, 1583, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 1181, 397, 29901, 13, 9651, 3273, 482, 353, 6529, 593, 718, 269, 430, 29878, 448, 1583, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 1181, 397, 13, 9651, 1583, 29889, 1272, 29889, 29888, 314, 17006, 353, 4513, 29898, 12759, 482, 334, 1583, 29889, 1278, 29889, 1341, 392, 29898, 29900, 29889, 29941, 29892, 29871, 29896, 876, 13, 4706, 1583, 29889, 1272, 29889, 13237, 1839, 412, 13186, 2033, 22361, 1583, 29889, 1272, 29889, 29888, 314, 17006, 13, 308, 13, 4706, 396, 25354, 3098, 6457, 1499, 29988, 29892, 531, 3759, 2711, 23265, 1685, 1538, 29988, 12993, 717, 12639, 644, 13, 4706, 565, 6529, 593, 1405, 1375, 29898, 1311, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 26776, 29892, 1583, 29889, 1272, 29889, 13237, 1839, 1049, 2033, 1125, 13, 9651, 3273, 482, 353, 6529, 593, 448, 1375, 29898, 1311, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 26776, 29892, 1583, 29889, 1272, 29889, 13237, 1839, 1049, 11287, 13, 9651, 1583, 29889, 1272, 29889, 29888, 688, 277, 3145, 353, 1375, 29898, 14486, 29898, 12759, 482, 334, 1583, 29889, 1278, 29889, 1341, 392, 29898, 29900, 29892, 29871, 29896, 29889, 29906, 8243, 13, 462, 462, 418, 1583, 29889, 1272, 29889, 13237, 1839, 412, 13186, 7464, 29897, 13, 4706, 1583, 29889, 1272, 29889, 13237, 1839, 412, 13186, 2033, 22361, 1583, 29889, 1272, 29889, 29888, 688, 277, 3145, 13, 308, 13, 4706, 396, 2352, 1668, 1216, 17682, 22021, 5588, 13, 308, 13, 4706, 396, 14072, 693, 3029, 3212, 29959, 570, 2711, 9480, 13, 4706, 1583, 29889, 1272, 29889, 29890, 7515, 29879, 353, 4513, 29898, 1311, 29889, 1272, 29889, 13237, 1839, 412, 13186, 2033, 334, 1583, 29889, 1278, 29889, 1341, 392, 29898, 29900, 29889, 29900, 29945, 29892, 29871, 29900, 29889, 29946, 876, 13, 4706, 1583, 29889, 1272, 29889, 13237, 1839, 412, 13186, 2033, 4619, 1583, 29889, 1272, 29889, 29890, 7515, 29879, 13, 308, 13, 4706, 396, 665, 1802, 10038, 18790, 1413, 1077, 24823, 2837, 2530, 13, 308, 13, 308, 13, 1678, 396, 863, 576, 2711, 29977, 13, 1678, 822, 1423, 29918, 29883, 1336, 29898, 1311, 1125, 13, 4706, 1583, 29889, 1272, 29889, 29878, 1446, 29918, 29872, 271, 353, 29871, 29900, 13, 308, 13, 4706, 396, 1186, 3541, 5551, 733, 29998, 494, 644, 754, 780, 570, 13, 4706, 565, 1583, 29889, 1278, 29889, 29881, 625, 29898, 29945, 29900, 1125, 13, 9651, 1583, 29889, 1272, 29889, 29878, 1446, 29918, 29872, 271, 353, 4513, 29898, 1311, 29889, 1272, 29889, 13237, 1839, 29883, 1398, 2033, 334, 1583, 29889, 1278, 29889, 1341, 392, 29898, 29900, 29889, 29896, 29892, 29871, 29900, 29889, 29929, 876, 13, 308, 13, 4706, 396, 7421, 28651, 863, 576, 2711, 29977, 5395, 13, 4706, 1583, 29889, 1272, 29889, 13237, 1839, 29883, 1398, 2033, 4619, 4513, 29898, 1311, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 26776, 334, 1583, 29889, 1272, 29889, 29883, 1336, 29918, 10492, 29897, 13, 308, 13, 4706, 396, 14539, 3899, 29977, 3029, 9648, 29957, 7926, 29970, 448, 1077, 2937, 3899, 29892, 733, 29998, 1515, 29982, 29892, 665, 8160, 15530, 13, 308, 13, 308, 13, 1678, 396, 2196, 1916, 7474, 26993, 29944, 606, 531, 10300, 4633, 13, 1678, 822, 1423, 29918, 29894, 466, 631, 29898, 1311, 1125, 13, 4706, 1209, 13, 13, 1678, 396, 614, 2194, 29975, 2510, 17942, 29959, 13, 268, 13, 268, 13, 1678, 396, 29871, 13, 1678, 822, 3461, 29898, 1311, 1125, 13, 4706, 1583, 29889, 20834, 29889, 8551, 29918, 10525, 580, 13, 4706, 1583, 29889, 20834, 29889, 1220, 703, 30100, 29910, 3176, 745, 12295, 1778, 29944, 14932, 29901, 12365, 29958, 29896, 29900, 29876, 29913, 5368, 29975, 7790, 29876, 1642, 4830, 29898, 1311, 29889, 1272, 29889, 9536, 749, 876, 13, 4706, 1583, 29889, 20834, 29889, 1220, 703, 2683, 2683, 2683, 2683, 26589, 1159, 13, 308, 13, 4706, 1583, 29889, 8382, 703, 477, 1694, 1520, 12365, 29876, 1118, 665, 10865, 29942, 12365, 29876, 29913, 13105, 12365, 29889, 29941, 29913, 353, 863, 576, 2711, 29977, 12365, 29876, 29913, 2721, 29921, 29921, 29892, 606, 12716, 12365, 29876, 5038, 13, 462, 29871, 869, 4830, 29898, 1311, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 1181, 397, 29892, 13, 462, 3986, 1583, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 26776, 29892, 13, 462, 3986, 1583, 29889, 1272, 29889, 29883, 1336, 29918, 10492, 29892, 13, 462, 3986, 4513, 29898, 1311, 29889, 1272, 29889, 29883, 1398, 29918, 1454, 29918, 26776, 334, 1583, 29889, 1272, 29889, 29883, 1336, 29918, 10492, 511, 13, 462, 3986, 1583, 29889, 1272, 29889, 13237, 1839, 29883, 1398, 25901, 13, 308, 13, 4706, 565, 1583, 29889, 1272, 29889, 29878, 1446, 29918, 29872, 271, 29901, 13, 9651, 1583, 29889, 20834, 29889, 1220, 703, 448, 1069, 3541, 5551, 1778, 29998, 494, 644, 12365, 29958, 29896, 29900, 29876, 29913, 2721, 29921, 29921, 754, 780, 477, 1213, 29889, 4830, 29898, 1311, 29889, 1272, 29889, 29878, 1446, 29918, 29872, 271, 876, 13, 308, 13, 4706, 565, 1583, 29889, 1272, 29889, 2783, 261, 2153, 29901, 13, 9651, 1583, 29889, 20834, 29889, 1220, 703, 448, 1618, 10912, 18000, 1538, 12052, 684, 662, 5755, 29998, 1868, 662, 1930, 693, 7926, 29970, 7790, 29876, 29908, 718, 13, 462, 29871, 376, 12365, 29958, 29896, 29900, 29876, 29913, 1778, 29944, 14932, 733, 717, 1864, 644, 1787, 28680, 5588, 606, 863, 19447, 1077, 13511, 19096, 1213, 29889, 4830, 29898, 1311, 29889, 1272, 29889, 2783, 261, 2153, 876, 13, 4706, 565, 1583, 29889, 1272, 29889, 29888, 688, 277, 3145, 29901, 13, 9651, 1583, 29889, 20834, 29889, 1220, 703, 448, 4973, 1782, 1499, 29959, 1538, 4354, 846, 676, 1257, 12639, 644, 29889, 857, 3759, 2711, 843, 12365, 29958, 29896, 29900, 29876, 29913, 14347, 1213, 29889, 4830, 29898, 1311, 29889, 1272, 29889, 29888, 688, 277, 3145, 876, 13, 4706, 565, 1583, 29889, 1272, 29889, 29888, 314, 17006, 29901, 13, 9651, 1583, 29889, 20834, 29889, 1220, 703, 448, 14966, 1077, 1630, 641, 644, 27187, 8418, 12365, 29958, 29896, 29900, 29876, 29913, 8935, 9994, 8060, 570, 1268, 29957, 6798, 2430, 29991, 1642, 4830, 29898, 1311, 29889, 1272, 29889, 29888, 314, 17006, 876, 13, 4706, 565, 1583, 29889, 1272, 29889, 29890, 7515, 29879, 29901, 13, 9651, 1583, 29889, 20834, 29889, 1220, 703, 448, 939, 12179, 9374, 14887, 8641, 12365, 29958, 29896, 29900, 29876, 29913, 2263, 14469, 1213, 29889, 4830, 29898, 1311, 29889, 1272, 29889, 29890, 7515, 29879, 876, 13, 4706, 396, 565, 1583, 29889, 1272, 4898, 13, 9651, 396, 1583, 29889, 20834, 29889, 1220, 703, 448, 29871, 12365, 29958, 29896, 29900, 29876, 29913, 320, 29876, 1642, 4830, 29898, 1311, 29889, 1272, 29889, 876, 13, 4706, 396, 1583, 29889, 20834, 29889, 1220, 580, 13, 632, 13, 632, 13, 1678, 396, 13, 1678, 822, 1235, 29918, 26994, 29918, 262, 29898, 1311, 1125, 13, 4706, 736, 1583, 29889, 1278, 29889, 3582, 1217, 703, 30012, 29910, 2237, 15804, 22339, 29991, 7203, 6326, 29944, 2196, 1916, 7474, 29892, 490, 2968, 1415, 1413, 29973, 1159, 13, 308, 13, 308, 13, 308, 2 ]
JasonKe-v1/DDPG/DDPG.py
jasonke1225/AI-introduction
0
119518
<gh_stars>0 import matplotlib.pyplot as plt import gym import torch import math import numpy as np from torch._C import dtype import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import os import DDPG.replaymemory as replaymemory from DDPG.OUNoise import OUNoise import time ''' 紀錄q直 try ''' # replaymemory state, next_state修改 in discrete criterion = nn.MSELoss() def fanin_init(size, fanin=None): fanin = fanin or size[0] v = 1. / np.sqrt(fanin) return torch.Tensor(size).uniform_(-v, v) class policyNetwork(nn.Module): def __init__(self, num_state, num_action, init_w = 3e-3): nn.Module.__init__(self) self.num_state = num_state self.num_action = num_action hidden_size = 256 self.input_layer = nn.Linear(num_state, hidden_size) self.linear_layer = nn.Linear(hidden_size, hidden_size) self.layer_output = nn.Linear(hidden_size, num_action) self.init_weights(init_w) def init_weights(self, init_w): self.input_layer.weight.data = fanin_init(self.input_layer.weight.data.size()) self.linear_layer.weight.data = fanin_init(self.linear_layer.weight.data.size()) self.layer_output.weight.data.uniform_(-init_w, init_w) def forward(self, state): #print(state) if torch.cuda.is_available(): state = state.cuda() state = self.input_layer(state) state = F.relu(state) state = self.linear_layer(state) state = F.relu(state) state = self.layer_output(state) ### 為甚麼 state = F.tanh(state) return state.view(-1, self.num_action) class valueNetwork(nn.Module): def __init__(self, num_state, num_action, init_w = 3e-4): nn.Module.__init__(self) self.num_state = num_state self.num_action = num_action hidden_size = 256 self.input_layer = nn.Linear(num_state, hidden_size) self.linear_layer = nn.Linear(hidden_size + num_action, hidden_size) self.layer_output = nn.Linear(hidden_size, 1) self.init_weights(init_w) def init_weights(self, init_w): self.input_layer.weight.data = fanin_init(self.input_layer.weight.data.size()) self.linear_layer.weight.data = fanin_init(self.linear_layer.weight.data.size()) self.layer_output.weight.data.uniform_(-init_w, init_w) def forward(self, state, ac): if torch.cuda.is_available(): state = state.cuda() state = self.input_layer(state) state = F.relu(state) state = self.linear_layer(torch.cat([state, ac], 1)) state = F.relu(state) state = self.layer_output(state) return state.view(-1, 1) class DDPG(): def __init__(self, env, learning_rate): self.num_action = env.action_space.shape[0] self.observation_space = env.observation_space.shape[0] self.pZ = policyNetwork(num_state=self.observation_space, num_action=self.num_action) self.pZ_target = policyNetwork(num_state=self.observation_space, num_action=self.num_action) self.policyoptimizer = optim.Adam(self.pZ.parameters(), 1e-4) self.vZ = valueNetwork(num_state=self.observation_space, num_action=self.num_action) self.vZ_target = valueNetwork(num_state=self.observation_space, num_action=self.num_action) self.valueoptimizer = optim.Adam(self.vZ.parameters(), 1e-3) if torch.cuda.is_available(): self.pZ.cuda() self.pZ_target.cuda() self.vZ.cuda() self.vZ_target.cuda() self.tau = 0.001 self.batch_size = 256 self.eps = 1.0 self.discount = 0.99 self.replaymemory = replaymemory.replaymemory(self.observation_space,self.num_action,1000000) self.n_iter = 5000 self.noise = OUNoise(self.num_action) # self.memory_enough = False self.action_low, self.action_high = env.action_space.low, env.action_space.high def get_action(self, state): with torch.no_grad(): action = self.pZ.forward(state)[0].cpu() + self.eps*torch.Tensor([self.noise.noise()]) action.clamp(min = self.action_low[0], max= self.action_high[0]) return action def soft_update(self): for target_param, param in zip(self.pZ_target.parameters(),self.pZ.parameters()): target_param.data.copy_(self.tau*param + (1.0-self.tau)*target_param) for target_param, param in zip(self.vZ_target.parameters(),self.vZ.parameters()): target_param.data.copy_(self.tau*param + (1.0-self.tau)*target_param) def load_model(self,name,episode): self.pZ.load_state_dict(torch.load('./preTrained/{}/DDPG_Actor_{}.pth'.format(name,episode))) self.pZ_target.load_state_dict(torch.load('./preTrained/{}/DDPG_TargetActor_{}.pth'.format(name,episode))) self.vZ.load_state_dict(torch.load('./preTrained/{}/DDPG_Critic_{}.pth'.format(name,episode))) self.vZ_target.load_state_dict(torch.load('./preTrained/{}/DDPG_TargetCritic_{}.pth'.format(name,episode))) def save_model(self,name,episode): torch.save(self.pZ.state_dict(), './preTrained/{}/DDPG_Actor_{}.pth'.format(name,episode)) torch.save(self.pZ_target.state_dict(), './preTrained/{}/DDPG_TargetActor_{}.pth'.format(name,episode)) torch.save(self.vZ.state_dict(), './preTrained/{}/DDPG_Critic_{}.pth'.format(name,episode)) torch.save(self.vZ_target.state_dict(), './preTrained/{}/DDPG_TargetCritic_{}.pth'.format(name,episode)) def calculate_loss(self, samples): theta = self.vZ(samples['states'],samples['actions']) with torch.no_grad(): Z_next = self.vZ_target(samples['next_states'],self.pZ_target(samples['next_states'])) dones = samples['dones'] target_theta = samples['rewards'] + self.discount *(1-dones)* Z_next loss = criterion(theta, target_theta) return loss def learn(self, env, th): state = env.reset() self.noise.reset() ### 使動作noise收斂 # self.eps = self.eps - 0.001 if self.eps > 0.001 else self.eps score = 0 for i in range(self.n_iter): #self.eps_annealing() action = self.get_action(torch.Tensor([state])) #print(action) env.render() next_state, reward, done, _ = env.step(action) score += reward self.replaymemory.push( state, action, next_state, reward, done) state = next_state if done: state = env.reset() while len(self.replaymemory) < self.batch_size: action = self.get_action(torch.Tensor([state])) next_state, reward, done, _ = env.step(action) self.replaymemory.push(state, action, next_state, reward, done) state = next_state samples = self.replaymemory.get_samples(self.batch_size) #print(samples) ### critic update self.valueoptimizer.zero_grad() loss = self.calculate_loss(samples) loss.backward() self.valueoptimizer.step() ### actor update policyloss = -self.vZ(samples['states'],self.pZ(samples['states'])).mean() #print(policyloss) self.policyoptimizer.zero_grad() policyloss.backward() self.policyoptimizer.step() #if self.memory_enough: #L.write(str(float(loss))+"\n") self.soft_update() if done: # with torch.no_grad(): # s = env.reset() # a = self.pZ(torch.Tensor([s])) # print(i,' ',a) # print(' ',self.vZ(torch.Tensor([s]), a)) break return float(score)
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 330, 962, 13, 5215, 4842, 305, 13, 5215, 5844, 13, 5215, 12655, 408, 7442, 13, 3166, 4842, 305, 3032, 29907, 1053, 26688, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 5215, 4842, 305, 29889, 20640, 408, 5994, 13, 5215, 2897, 13, 5215, 360, 11191, 29954, 29889, 276, 1456, 14834, 408, 337, 1456, 14834, 13, 3166, 360, 11191, 29954, 29889, 27269, 3782, 895, 1053, 438, 29965, 3782, 895, 13, 13, 5215, 931, 13, 13, 12008, 13, 31642, 236, 143, 135, 29939, 31157, 1018, 13, 12008, 13, 13, 29937, 337, 1456, 14834, 2106, 29892, 2446, 29918, 3859, 31273, 31264, 297, 19554, 13, 13, 13, 29883, 5385, 291, 353, 302, 29876, 29889, 29924, 1660, 29931, 2209, 580, 13, 13, 1753, 13524, 262, 29918, 2344, 29898, 2311, 29892, 13524, 262, 29922, 8516, 1125, 13, 1678, 13524, 262, 353, 13524, 262, 470, 2159, 29961, 29900, 29962, 13, 1678, 325, 353, 29871, 29896, 29889, 847, 7442, 29889, 3676, 29898, 12963, 262, 29897, 13, 1678, 736, 4842, 305, 29889, 29911, 6073, 29898, 2311, 467, 29590, 29918, 6278, 29894, 29892, 325, 29897, 13, 13, 1990, 8898, 13724, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 954, 29918, 3859, 29892, 954, 29918, 2467, 29892, 2069, 29918, 29893, 353, 29871, 29941, 29872, 29899, 29941, 1125, 13, 4706, 302, 29876, 29889, 7355, 17255, 2344, 12035, 1311, 29897, 13, 13, 4706, 1583, 29889, 1949, 29918, 3859, 353, 954, 29918, 3859, 13, 4706, 1583, 29889, 1949, 29918, 2467, 353, 954, 29918, 2467, 13, 13, 4706, 7934, 29918, 2311, 353, 29871, 29906, 29945, 29953, 13, 4706, 1583, 29889, 2080, 29918, 13148, 353, 302, 29876, 29889, 12697, 29898, 1949, 29918, 3859, 29892, 7934, 29918, 2311, 29897, 13, 13, 4706, 1583, 29889, 10660, 29918, 13148, 353, 302, 29876, 29889, 12697, 29898, 10892, 29918, 2311, 29892, 7934, 29918, 2311, 29897, 13, 13, 4706, 1583, 29889, 13148, 29918, 4905, 353, 302, 29876, 29889, 12697, 29898, 10892, 29918, 2311, 29892, 954, 29918, 2467, 29897, 13, 13, 13, 4706, 1583, 29889, 2344, 29918, 705, 5861, 29898, 2344, 29918, 29893, 29897, 13, 268, 13, 1678, 822, 2069, 29918, 705, 5861, 29898, 1311, 29892, 2069, 29918, 29893, 1125, 13, 4706, 1583, 29889, 2080, 29918, 13148, 29889, 7915, 29889, 1272, 353, 13524, 262, 29918, 2344, 29898, 1311, 29889, 2080, 29918, 13148, 29889, 7915, 29889, 1272, 29889, 2311, 3101, 13, 4706, 1583, 29889, 10660, 29918, 13148, 29889, 7915, 29889, 1272, 353, 13524, 262, 29918, 2344, 29898, 1311, 29889, 10660, 29918, 13148, 29889, 7915, 29889, 1272, 29889, 2311, 3101, 13, 4706, 1583, 29889, 13148, 29918, 4905, 29889, 7915, 29889, 1272, 29889, 29590, 29918, 6278, 2344, 29918, 29893, 29892, 2069, 29918, 29893, 29897, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 2106, 1125, 13, 4706, 396, 2158, 29898, 3859, 29897, 13, 4706, 565, 4842, 305, 29889, 29883, 6191, 29889, 275, 29918, 16515, 7295, 13, 9651, 2106, 353, 2106, 29889, 29883, 6191, 580, 13, 4706, 2106, 353, 1583, 29889, 2080, 29918, 13148, 29898, 3859, 29897, 13, 4706, 2106, 353, 383, 29889, 2674, 29884, 29898, 3859, 29897, 13, 4706, 2106, 353, 1583, 29889, 10660, 29918, 13148, 29898, 3859, 29897, 13, 4706, 2106, 353, 383, 29889, 2674, 29884, 29898, 3859, 29897, 13, 4706, 2106, 353, 1583, 29889, 13148, 29918, 4905, 29898, 3859, 29897, 13, 308, 13, 4706, 835, 29871, 234, 133, 189, 234, 151, 157, 236, 189, 191, 13, 13, 4706, 2106, 353, 383, 29889, 13161, 29882, 29898, 3859, 29897, 13, 13, 4706, 736, 2106, 29889, 1493, 6278, 29896, 29892, 1583, 29889, 1949, 29918, 2467, 29897, 13, 13, 1990, 995, 13724, 29898, 15755, 29889, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 954, 29918, 3859, 29892, 954, 29918, 2467, 29892, 2069, 29918, 29893, 353, 29871, 29941, 29872, 29899, 29946, 1125, 13, 4706, 302, 29876, 29889, 7355, 17255, 2344, 12035, 1311, 29897, 13, 13, 4706, 1583, 29889, 1949, 29918, 3859, 353, 954, 29918, 3859, 13, 4706, 1583, 29889, 1949, 29918, 2467, 353, 954, 29918, 2467, 13, 308, 13, 4706, 7934, 29918, 2311, 353, 29871, 29906, 29945, 29953, 13, 13, 4706, 1583, 29889, 2080, 29918, 13148, 353, 302, 29876, 29889, 12697, 29898, 1949, 29918, 3859, 29892, 7934, 29918, 2311, 29897, 13, 4706, 1583, 29889, 10660, 29918, 13148, 353, 302, 29876, 29889, 12697, 29898, 10892, 29918, 2311, 718, 954, 29918, 2467, 29892, 7934, 29918, 2311, 29897, 13, 4706, 1583, 29889, 13148, 29918, 4905, 353, 302, 29876, 29889, 12697, 29898, 10892, 29918, 2311, 29892, 29871, 29896, 29897, 13, 13, 4706, 1583, 29889, 2344, 29918, 705, 5861, 29898, 2344, 29918, 29893, 29897, 13, 268, 13, 1678, 822, 2069, 29918, 705, 5861, 29898, 1311, 29892, 2069, 29918, 29893, 1125, 13, 4706, 1583, 29889, 2080, 29918, 13148, 29889, 7915, 29889, 1272, 353, 13524, 262, 29918, 2344, 29898, 1311, 29889, 2080, 29918, 13148, 29889, 7915, 29889, 1272, 29889, 2311, 3101, 13, 4706, 1583, 29889, 10660, 29918, 13148, 29889, 7915, 29889, 1272, 353, 13524, 262, 29918, 2344, 29898, 1311, 29889, 10660, 29918, 13148, 29889, 7915, 29889, 1272, 29889, 2311, 3101, 13, 4706, 1583, 29889, 13148, 29918, 4905, 29889, 7915, 29889, 1272, 29889, 29590, 29918, 6278, 2344, 29918, 29893, 29892, 2069, 29918, 29893, 29897, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 2106, 29892, 1274, 1125, 13, 4706, 565, 4842, 305, 29889, 29883, 6191, 29889, 275, 29918, 16515, 7295, 13, 9651, 2106, 353, 2106, 29889, 29883, 6191, 580, 13, 4706, 2106, 353, 1583, 29889, 2080, 29918, 13148, 29898, 3859, 29897, 13, 4706, 2106, 353, 383, 29889, 2674, 29884, 29898, 3859, 29897, 13, 4706, 2106, 353, 1583, 29889, 10660, 29918, 13148, 29898, 7345, 305, 29889, 4117, 4197, 3859, 29892, 1274, 1402, 29871, 29896, 876, 13, 4706, 2106, 353, 383, 29889, 2674, 29884, 29898, 3859, 29897, 13, 4706, 2106, 353, 1583, 29889, 13148, 29918, 4905, 29898, 3859, 29897, 13, 13, 4706, 736, 2106, 29889, 1493, 6278, 29896, 29892, 29871, 29896, 29897, 13, 13, 13, 13, 1990, 360, 11191, 29954, 7295, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 8829, 29892, 6509, 29918, 10492, 1125, 13, 4706, 1583, 29889, 1949, 29918, 2467, 353, 8829, 29889, 2467, 29918, 3493, 29889, 12181, 29961, 29900, 29962, 13, 4706, 1583, 29889, 26739, 362, 29918, 3493, 353, 8829, 29889, 26739, 362, 29918, 3493, 29889, 12181, 29961, 29900, 29962, 13, 13, 4706, 1583, 29889, 29886, 29999, 353, 8898, 13724, 29898, 1949, 29918, 3859, 29922, 1311, 29889, 26739, 362, 29918, 3493, 29892, 954, 29918, 2467, 29922, 1311, 29889, 1949, 29918, 2467, 29897, 13, 4706, 1583, 29889, 29886, 29999, 29918, 5182, 353, 8898, 13724, 29898, 1949, 29918, 3859, 29922, 1311, 29889, 26739, 362, 29918, 3493, 29892, 954, 29918, 2467, 29922, 1311, 29889, 1949, 29918, 2467, 29897, 13, 4706, 1583, 29889, 22197, 20640, 3950, 353, 5994, 29889, 3253, 314, 29898, 1311, 29889, 29886, 29999, 29889, 16744, 3285, 29871, 29896, 29872, 29899, 29946, 29897, 13, 13, 4706, 1583, 29889, 29894, 29999, 353, 995, 13724, 29898, 1949, 29918, 3859, 29922, 1311, 29889, 26739, 362, 29918, 3493, 29892, 954, 29918, 2467, 29922, 1311, 29889, 1949, 29918, 2467, 29897, 13, 4706, 1583, 29889, 29894, 29999, 29918, 5182, 353, 995, 13724, 29898, 1949, 29918, 3859, 29922, 1311, 29889, 26739, 362, 29918, 3493, 29892, 954, 29918, 2467, 29922, 1311, 29889, 1949, 29918, 2467, 29897, 13, 4706, 1583, 29889, 1767, 20640, 3950, 353, 5994, 29889, 3253, 314, 29898, 1311, 29889, 29894, 29999, 29889, 16744, 3285, 29871, 29896, 29872, 29899, 29941, 29897, 13, 13, 4706, 565, 4842, 305, 29889, 29883, 6191, 29889, 275, 29918, 16515, 7295, 13, 9651, 1583, 29889, 29886, 29999, 29889, 29883, 6191, 580, 13, 9651, 1583, 29889, 29886, 29999, 29918, 5182, 29889, 29883, 6191, 580, 13, 9651, 1583, 29889, 29894, 29999, 29889, 29883, 6191, 580, 13, 9651, 1583, 29889, 29894, 29999, 29918, 5182, 29889, 29883, 6191, 580, 13, 13, 13, 4706, 1583, 29889, 4722, 353, 29871, 29900, 29889, 29900, 29900, 29896, 13, 4706, 1583, 29889, 16175, 29918, 2311, 353, 29871, 29906, 29945, 29953, 13, 4706, 1583, 29889, 8961, 353, 29871, 29896, 29889, 29900, 13, 4706, 1583, 29889, 2218, 2798, 353, 29871, 29900, 29889, 29929, 29929, 13, 4706, 1583, 29889, 276, 1456, 14834, 353, 337, 1456, 14834, 29889, 276, 1456, 14834, 29898, 1311, 29889, 26739, 362, 29918, 3493, 29892, 1311, 29889, 1949, 29918, 2467, 29892, 29896, 29900, 29900, 29900, 29900, 29900, 29900, 29897, 13, 4706, 1583, 29889, 29876, 29918, 1524, 353, 29871, 29945, 29900, 29900, 29900, 13, 4706, 1583, 29889, 1217, 895, 353, 438, 29965, 3782, 895, 29898, 1311, 29889, 1949, 29918, 2467, 29897, 13, 4706, 396, 1583, 29889, 14834, 29918, 264, 820, 353, 7700, 13, 13, 4706, 1583, 29889, 2467, 29918, 677, 29892, 1583, 29889, 2467, 29918, 9812, 353, 8829, 29889, 2467, 29918, 3493, 29889, 677, 29892, 8829, 29889, 2467, 29918, 3493, 29889, 9812, 13, 308, 13, 13, 1678, 822, 679, 29918, 2467, 29898, 1311, 29892, 2106, 1125, 13, 4706, 411, 4842, 305, 29889, 1217, 29918, 5105, 7295, 13, 9651, 3158, 353, 1583, 29889, 29886, 29999, 29889, 11333, 29898, 3859, 9601, 29900, 1822, 21970, 580, 718, 1583, 29889, 8961, 29930, 7345, 305, 29889, 29911, 6073, 4197, 1311, 29889, 1217, 895, 29889, 1217, 895, 580, 2314, 13, 9651, 3158, 29889, 695, 1160, 29898, 1195, 353, 1583, 29889, 2467, 29918, 677, 29961, 29900, 1402, 4236, 29922, 1583, 29889, 2467, 29918, 9812, 29961, 29900, 2314, 13, 9651, 736, 3158, 13, 13, 1678, 822, 4964, 29918, 5504, 29898, 1311, 1125, 13, 4706, 363, 3646, 29918, 3207, 29892, 1828, 297, 14319, 29898, 1311, 29889, 29886, 29999, 29918, 5182, 29889, 16744, 3285, 1311, 29889, 29886, 29999, 29889, 16744, 580, 1125, 13, 9651, 3646, 29918, 3207, 29889, 1272, 29889, 8552, 23538, 1311, 29889, 4722, 29930, 3207, 718, 313, 29896, 29889, 29900, 29899, 1311, 29889, 4722, 11877, 5182, 29918, 3207, 29897, 13, 13, 4706, 363, 3646, 29918, 3207, 29892, 1828, 297, 14319, 29898, 1311, 29889, 29894, 29999, 29918, 5182, 29889, 16744, 3285, 1311, 29889, 29894, 29999, 29889, 16744, 580, 1125, 13, 9651, 3646, 29918, 3207, 29889, 1272, 29889, 8552, 23538, 1311, 29889, 4722, 29930, 3207, 718, 313, 29896, 29889, 29900, 29899, 1311, 29889, 4722, 11877, 5182, 29918, 3207, 29897, 13, 13, 1678, 822, 2254, 29918, 4299, 29898, 1311, 29892, 978, 29892, 1022, 275, 356, 1125, 13, 4706, 1583, 29889, 29886, 29999, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 7345, 305, 29889, 1359, 877, 6904, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 29909, 2801, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 4961, 13, 4706, 1583, 29889, 29886, 29999, 29918, 5182, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 7345, 305, 29889, 1359, 877, 6904, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 8667, 29909, 2801, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 4961, 13, 4706, 1583, 29889, 29894, 29999, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 7345, 305, 29889, 1359, 877, 6904, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 29907, 768, 293, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 4961, 13, 4706, 1583, 29889, 29894, 29999, 29918, 5182, 29889, 1359, 29918, 3859, 29918, 8977, 29898, 7345, 305, 29889, 1359, 877, 6904, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 8667, 29907, 768, 293, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 4961, 13, 13, 1678, 822, 4078, 29918, 4299, 29898, 1311, 29892, 978, 29892, 1022, 275, 356, 1125, 13, 4706, 4842, 305, 29889, 7620, 29898, 1311, 29889, 29886, 29999, 29889, 3859, 29918, 8977, 3285, 19283, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 29909, 2801, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 876, 13, 4706, 4842, 305, 29889, 7620, 29898, 1311, 29889, 29886, 29999, 29918, 5182, 29889, 3859, 29918, 8977, 3285, 19283, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 8667, 29909, 2801, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 876, 13, 4706, 4842, 305, 29889, 7620, 29898, 1311, 29889, 29894, 29999, 29889, 3859, 29918, 8977, 3285, 19283, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 29907, 768, 293, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 876, 13, 4706, 4842, 305, 29889, 7620, 29898, 1311, 29889, 29894, 29999, 29918, 5182, 29889, 3859, 29918, 8977, 3285, 19283, 1457, 5323, 1312, 19248, 6822, 7858, 16903, 29918, 8667, 29907, 768, 293, 648, 1836, 29886, 386, 4286, 4830, 29898, 978, 29892, 1022, 275, 356, 876, 13, 13, 1678, 822, 8147, 29918, 6758, 29898, 1311, 29892, 11916, 1125, 13, 4706, 278, 941, 353, 1583, 29889, 29894, 29999, 29898, 27736, 1839, 28631, 7464, 27736, 1839, 7387, 11287, 13, 13, 4706, 411, 4842, 305, 29889, 1217, 29918, 5105, 7295, 13, 9651, 796, 29918, 4622, 353, 1583, 29889, 29894, 29999, 29918, 5182, 29898, 27736, 1839, 4622, 29918, 28631, 7464, 1311, 29889, 29886, 29999, 29918, 5182, 29898, 27736, 1839, 4622, 29918, 28631, 25901, 13, 9651, 1016, 267, 353, 11916, 1839, 29881, 2873, 2033, 13, 9651, 3646, 29918, 3416, 353, 11916, 1839, 276, 2935, 2033, 718, 1583, 29889, 2218, 2798, 334, 29898, 29896, 29899, 29881, 2873, 11877, 796, 29918, 4622, 13, 632, 13, 4706, 6410, 353, 28770, 291, 29898, 3416, 29892, 3646, 29918, 3416, 29897, 13, 308, 13, 4706, 736, 6410, 13, 13, 1678, 822, 5110, 29898, 1311, 29892, 8829, 29892, 266, 1125, 13, 4706, 2106, 353, 8829, 29889, 12071, 580, 13, 4706, 1583, 29889, 1217, 895, 29889, 12071, 580, 13, 13, 4706, 835, 29871, 30785, 31124, 30732, 1217, 895, 31997, 233, 153, 133, 13, 4706, 396, 1583, 29889, 8961, 353, 1583, 29889, 8961, 448, 29871, 29900, 29889, 29900, 29900, 29896, 565, 1583, 29889, 8961, 1405, 29871, 29900, 29889, 29900, 29900, 29896, 1683, 1583, 29889, 8961, 13, 13, 4706, 8158, 353, 29871, 29900, 13, 13, 308, 13, 4706, 363, 474, 297, 3464, 29898, 1311, 29889, 29876, 29918, 1524, 1125, 13, 9651, 396, 1311, 29889, 8961, 29918, 11276, 12818, 580, 13, 9651, 3158, 353, 1583, 29889, 657, 29918, 2467, 29898, 7345, 305, 29889, 29911, 6073, 4197, 3859, 12622, 13, 9651, 396, 2158, 29898, 2467, 29897, 13, 9651, 8829, 29889, 9482, 580, 13, 13, 9651, 2446, 29918, 3859, 29892, 20751, 29892, 2309, 29892, 903, 353, 8829, 29889, 10568, 29898, 2467, 29897, 13, 13, 9651, 8158, 4619, 20751, 13, 13, 9651, 1583, 29889, 276, 1456, 14834, 29889, 5910, 29898, 13, 18884, 2106, 29892, 3158, 29892, 2446, 29918, 3859, 29892, 20751, 29892, 2309, 29897, 13, 13, 9651, 2106, 353, 2446, 29918, 3859, 13, 9651, 565, 2309, 29901, 13, 18884, 2106, 353, 8829, 29889, 12071, 580, 13, 13, 9651, 1550, 7431, 29898, 1311, 29889, 276, 1456, 14834, 29897, 529, 1583, 29889, 16175, 29918, 2311, 29901, 13, 18884, 3158, 353, 1583, 29889, 657, 29918, 2467, 29898, 7345, 305, 29889, 29911, 6073, 4197, 3859, 12622, 13, 18884, 2446, 29918, 3859, 29892, 20751, 29892, 2309, 29892, 903, 353, 8829, 29889, 10568, 29898, 2467, 29897, 13, 18884, 1583, 29889, 276, 1456, 14834, 29889, 5910, 29898, 3859, 29892, 3158, 29892, 2446, 29918, 3859, 29892, 20751, 29892, 2309, 29897, 13, 18884, 2106, 353, 2446, 29918, 3859, 13, 13, 9651, 11916, 353, 1583, 29889, 276, 1456, 14834, 29889, 657, 29918, 27736, 29898, 1311, 29889, 16175, 29918, 2311, 29897, 13, 9651, 396, 2158, 29898, 27736, 29897, 13, 632, 13, 13, 9651, 835, 11164, 2767, 13, 9651, 1583, 29889, 1767, 20640, 3950, 29889, 9171, 29918, 5105, 580, 13, 9651, 6410, 353, 1583, 29889, 15807, 403, 29918, 6758, 29898, 27736, 29897, 13, 9651, 6410, 29889, 1627, 1328, 580, 13, 9651, 1583, 29889, 1767, 20640, 3950, 29889, 10568, 580, 13, 13, 9651, 835, 11339, 2767, 13, 9651, 13665, 2904, 2209, 353, 448, 1311, 29889, 29894, 29999, 29898, 27736, 1839, 28631, 7464, 1311, 29889, 29886, 29999, 29898, 27736, 1839, 28631, 2033, 8106, 12676, 580, 13, 9651, 396, 2158, 29898, 3733, 293, 2904, 2209, 29897, 13, 9651, 1583, 29889, 22197, 20640, 3950, 29889, 9171, 29918, 5105, 580, 13, 9651, 13665, 2904, 2209, 29889, 1627, 1328, 580, 13, 9651, 1583, 29889, 22197, 20640, 3950, 29889, 10568, 580, 13, 13, 632, 13, 9651, 396, 361, 1583, 29889, 14834, 29918, 264, 820, 29901, 13, 18884, 396, 29931, 29889, 3539, 29898, 710, 29898, 7411, 29898, 6758, 876, 13578, 29905, 29876, 1159, 13, 13, 9651, 1583, 29889, 2695, 29918, 5504, 580, 13, 308, 13, 13, 9651, 565, 2309, 29901, 13, 18884, 396, 411, 4842, 305, 29889, 1217, 29918, 5105, 7295, 13, 18884, 396, 268, 269, 353, 8829, 29889, 12071, 580, 13, 18884, 396, 268, 263, 353, 1583, 29889, 29886, 29999, 29898, 7345, 305, 29889, 29911, 6073, 4197, 29879, 12622, 13, 18884, 396, 268, 1596, 29898, 29875, 5501, 259, 13420, 29874, 29897, 13, 18884, 396, 268, 1596, 877, 418, 13420, 1311, 29889, 29894, 29999, 29898, 7345, 305, 29889, 29911, 6073, 4197, 29879, 11724, 263, 876, 13, 18884, 2867, 13, 13, 4706, 736, 5785, 29898, 13628, 29897, 13, 308, 13, 2 ]
tests/test_env_runner.py
pistarlab/simpleland
4
26443
<reponame>pistarlab/simpleland import pytest from landia.env import LandiaEnv, LandiaEnvSingle import time from landia.clock import clock def test_env(): agent_map = {str(i):{} for i in range(4)} env = LandiaEnv(agent_map=agent_map,dry_run=False) start_time = time.time() max_steps = 2000 dones = {"__all__":True} episode_count = 0 actions = {} all_rewards = [] for i in range(0,max_steps): if dones.get('__all__'): obs = env.reset() rewards, dones, infos = {}, {'__all__':False},{} episode_count+=1 else: obs, rewards, dones, infos = env.step(actions) all_rewards.extend(rewards.values()) actions = {agent_id:env.action_spaces[agent_id].sample() for agent_id in obs.keys()} steps_per_sec = max_steps/(time.time()-start_time) print(f"total_rewards {sum(all_rewards)}") print(f"steps_per_sec {steps_per_sec}") assert True def single_run(config_filename=None): print(f"Running config {config_filename}") env = LandiaEnvSingle(config_filename=config_filename) start_time = time.time() max_steps = 2000 all_rewards = [] done=True action=None eps = 0 for i in range(0,max_steps): if done: ob = env.reset() reward, done, info = None, False, {} eps+=1 else: ob, reward, done, info = env.step(action) action = env.action_space.sample() steps_per_sec = max_steps/(time.time()-start_time) print(f"eps {eps}") print(f"total_rewards {sum(all_rewards)}") print(f"steps_per_sec {steps_per_sec}") def test_gym_env(): single_run(config_filename="base_config.json") single_run(config_filename="ctf.json") single_run(config_filename="infection.json") single_run(config_filename="forager.json") assert True
[ 1, 529, 276, 1112, 420, 29958, 29886, 391, 279, 8205, 29914, 12857, 1049, 13, 5215, 11451, 1688, 13, 3166, 2982, 423, 29889, 6272, 1053, 3172, 423, 21745, 29892, 3172, 423, 21745, 15771, 13, 5215, 931, 13, 3166, 2982, 423, 29889, 13058, 1053, 12006, 13, 13, 13, 1753, 1243, 29918, 6272, 7295, 13, 1678, 10823, 29918, 1958, 353, 426, 710, 29898, 29875, 1125, 8875, 363, 474, 297, 3464, 29898, 29946, 2915, 13, 1678, 8829, 353, 3172, 423, 21745, 29898, 14748, 29918, 1958, 29922, 14748, 29918, 1958, 29892, 29881, 719, 29918, 3389, 29922, 8824, 29897, 13, 1678, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 1678, 4236, 29918, 24530, 353, 29871, 29906, 29900, 29900, 29900, 13, 13, 1678, 1016, 267, 353, 8853, 1649, 497, 1649, 1115, 5574, 29913, 13, 1678, 12720, 29918, 2798, 353, 29871, 29900, 13, 1678, 8820, 353, 6571, 13, 1678, 599, 29918, 276, 2935, 353, 5159, 13, 13, 1678, 363, 474, 297, 3464, 29898, 29900, 29892, 3317, 29918, 24530, 1125, 13, 4706, 565, 1016, 267, 29889, 657, 877, 1649, 497, 1649, 29374, 13, 9651, 20881, 353, 8829, 29889, 12071, 580, 13, 9651, 337, 2935, 29892, 1016, 267, 29892, 3041, 359, 353, 24335, 11117, 1649, 497, 1649, 2396, 8824, 1118, 8875, 13, 9651, 12720, 29918, 2798, 23661, 29896, 13, 4706, 1683, 29901, 13, 9651, 20881, 29892, 337, 2935, 29892, 1016, 267, 29892, 3041, 359, 353, 8829, 29889, 10568, 29898, 7387, 29897, 13, 308, 13, 4706, 599, 29918, 276, 2935, 29889, 21843, 29898, 276, 2935, 29889, 5975, 3101, 13, 632, 13, 4706, 8820, 353, 426, 14748, 29918, 333, 29901, 6272, 29889, 2467, 29918, 22854, 29961, 14748, 29918, 333, 1822, 11249, 580, 363, 10823, 29918, 333, 297, 20881, 29889, 8149, 28296, 13, 13, 1678, 6576, 29918, 546, 29918, 3471, 353, 4236, 29918, 24530, 14571, 2230, 29889, 2230, 580, 29899, 2962, 29918, 2230, 29897, 13, 1678, 1596, 29898, 29888, 29908, 7827, 29918, 276, 2935, 426, 2083, 29898, 497, 29918, 276, 2935, 2915, 1159, 13, 1678, 1596, 29898, 29888, 29908, 24530, 29918, 546, 29918, 3471, 426, 24530, 29918, 546, 29918, 3471, 27195, 13, 1678, 4974, 5852, 13, 13, 13, 1753, 2323, 29918, 3389, 29898, 2917, 29918, 9507, 29922, 8516, 1125, 13, 1678, 1596, 29898, 29888, 29908, 27795, 2295, 426, 2917, 29918, 9507, 27195, 13, 1678, 8829, 353, 3172, 423, 21745, 15771, 29898, 2917, 29918, 9507, 29922, 2917, 29918, 9507, 29897, 13, 1678, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 1678, 4236, 29918, 24530, 353, 29871, 29906, 29900, 29900, 29900, 13, 13, 1678, 599, 29918, 276, 2935, 353, 5159, 13, 1678, 2309, 29922, 5574, 13, 1678, 3158, 29922, 8516, 13, 1678, 321, 567, 353, 29871, 29900, 13, 13, 1678, 363, 474, 297, 3464, 29898, 29900, 29892, 3317, 29918, 24530, 1125, 13, 4706, 565, 2309, 29901, 13, 9651, 704, 353, 8829, 29889, 12071, 580, 13, 9651, 20751, 29892, 2309, 29892, 5235, 353, 6213, 29892, 7700, 29892, 6571, 13, 9651, 321, 567, 23661, 29896, 13, 4706, 1683, 29901, 13, 9651, 704, 29892, 20751, 29892, 2309, 29892, 5235, 353, 8829, 29889, 10568, 29898, 2467, 29897, 13, 4706, 3158, 353, 8829, 29889, 2467, 29918, 3493, 29889, 11249, 580, 13, 13, 1678, 6576, 29918, 546, 29918, 3471, 353, 4236, 29918, 24530, 14571, 2230, 29889, 2230, 580, 29899, 2962, 29918, 2230, 29897, 13, 1678, 1596, 29898, 29888, 29908, 8961, 426, 8961, 27195, 13, 1678, 1596, 29898, 29888, 29908, 7827, 29918, 276, 2935, 426, 2083, 29898, 497, 29918, 276, 2935, 2915, 1159, 13, 1678, 1596, 29898, 29888, 29908, 24530, 29918, 546, 29918, 3471, 426, 24530, 29918, 546, 29918, 3471, 27195, 13, 13, 1753, 1243, 29918, 29887, 962, 29918, 6272, 7295, 13, 1678, 2323, 29918, 3389, 29898, 2917, 29918, 9507, 543, 3188, 29918, 2917, 29889, 3126, 1159, 13, 1678, 2323, 29918, 3389, 29898, 2917, 29918, 9507, 543, 312, 29888, 29889, 3126, 1159, 13, 1678, 2323, 29918, 3389, 29898, 2917, 29918, 9507, 543, 262, 20309, 29889, 3126, 1159, 13, 1678, 2323, 29918, 3389, 29898, 2917, 29918, 9507, 543, 1454, 1875, 29889, 3126, 1159, 13, 1678, 4974, 5852, 2 ]
wsgi.py
javicacheiro/salt-git-synchronizer-proxy
0
2167
#!/usr/bin/env python import logging import sys from app import app as application def setup_flask_logging(): # Log to stdout handler = logging.StreamHandler(sys.stdout) # Log to a file #handler = logging.FileHandler('./application.log') handler.setLevel(logging.INFO) handler.setFormatter(logging.Formatter( '%(asctime)s [%(funcName)s] %(levelname)s: %(message)s ' )) application.logger.addHandler(handler) # Set default log level for the general logger # each handler can then restrict the messages logged application.logger.setLevel(logging.INFO) setup_flask_logging() if __name__ == '__main__': application.run()
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 5215, 12183, 13, 5215, 10876, 13, 3166, 623, 1053, 623, 408, 2280, 13, 13, 13, 1753, 6230, 29918, 1579, 1278, 29918, 21027, 7295, 13, 1678, 396, 4522, 304, 27591, 13, 1678, 7834, 353, 12183, 29889, 3835, 4598, 29898, 9675, 29889, 25393, 29897, 13, 1678, 396, 4522, 304, 263, 934, 13, 1678, 396, 13789, 353, 12183, 29889, 2283, 4598, 877, 6904, 6214, 29889, 1188, 1495, 13, 1678, 7834, 29889, 842, 10108, 29898, 21027, 29889, 11690, 29897, 13, 1678, 7834, 29889, 842, 18522, 29898, 21027, 29889, 18522, 29898, 13, 4706, 14210, 29898, 294, 312, 603, 29897, 29879, 518, 29995, 29898, 9891, 1170, 29897, 29879, 29962, 1273, 29898, 5563, 978, 29897, 29879, 29901, 1273, 29898, 4906, 29897, 29879, 525, 13, 268, 876, 13, 1678, 2280, 29889, 21707, 29889, 1202, 4598, 29898, 13789, 29897, 13, 13, 13, 29937, 3789, 2322, 1480, 3233, 363, 278, 2498, 17927, 13, 29937, 1269, 7834, 508, 769, 9250, 278, 7191, 13817, 13, 6214, 29889, 21707, 29889, 842, 10108, 29898, 21027, 29889, 11690, 29897, 13, 14669, 29918, 1579, 1278, 29918, 21027, 580, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 2280, 29889, 3389, 580, 13, 2 ]
plsa_example.py
dingwanggmail/Topic_model
0
152704
<filename>plsa_example.py from plsa import Corpus, Pipeline, Visualize from plsa.pipeline import DEFAULT_PIPELINE from plsa.algorithms import PLSA csv_file = '/disk2/wangding/plsa_data/Full-Economic-News-DFE-839861.csv' pipeline = Pipeline(*DEFAULT_PIPELINE) corpus = Corpus.from_csv(csv_file, pipeline) n_topics = 5 plsa = PLSA(corpus, n_topics, True) result = plsa.fit() result = plsa.best_of(5) visualize = Visualize(result)
[ 1, 529, 9507, 29958, 572, 4977, 29918, 4773, 29889, 2272, 13, 3166, 715, 4977, 1053, 2994, 13364, 29892, 349, 23828, 29892, 9249, 675, 13, 3166, 715, 4977, 29889, 13096, 5570, 1053, 22236, 29918, 2227, 4162, 18521, 13, 3166, 715, 4977, 29889, 9564, 12404, 1053, 16507, 8132, 13, 13, 7638, 29918, 1445, 353, 8207, 20960, 29906, 29914, 29893, 574, 8497, 29914, 572, 4977, 29918, 1272, 29914, 13658, 29899, 29923, 4599, 293, 29899, 29328, 29899, 4037, 29923, 29899, 29947, 29941, 29929, 29947, 29953, 29896, 29889, 7638, 29915, 13, 13096, 5570, 353, 349, 23828, 10456, 23397, 29918, 2227, 4162, 18521, 29897, 13, 13, 2616, 13364, 353, 2994, 13364, 29889, 3166, 29918, 7638, 29898, 7638, 29918, 1445, 29892, 16439, 29897, 13, 13, 29876, 29918, 3332, 1199, 353, 29871, 29945, 13, 13, 572, 4977, 353, 16507, 8132, 29898, 2616, 13364, 29892, 302, 29918, 3332, 1199, 29892, 5852, 29897, 13, 13, 2914, 353, 715, 4977, 29889, 9202, 580, 13, 13, 2914, 353, 715, 4977, 29889, 13318, 29918, 974, 29898, 29945, 29897, 13, 13, 20119, 675, 353, 9249, 675, 29898, 2914, 29897, 2 ]
app/crawlzero/apps.py
rputh055/crawlzerotest
0
38896
from django.apps import AppConfig class crawlzeroConfig(AppConfig): name = 'crawlzero'
[ 1, 515, 9557, 29889, 13371, 1053, 2401, 3991, 13, 13, 13, 1990, 29349, 29880, 9171, 3991, 29898, 2052, 3991, 1125, 13, 1678, 1024, 353, 525, 29883, 1610, 29880, 9171, 29915, 13, 2 ]
seraphim/util/extended_euclidean.py
kluhan/seraphim
0
101594
<gh_stars>0 # Python Module extended_euclidean import logging class Error(Exception): """Base class for exceptions in this module.""" pass class InversionError(Error): """Exception raised for errors in the input. Attributes: expression -- input expression in which the error occurred message -- explanation of the error """ def __init__(self, expression, message): self.expression = expression self.message = message def get_inverse(base, value_to_inverse, current_value): """Searches the Inverse of an given value_to_inverse. Args: base: Mod base, for the inverse to check. value_to_inverse: Value to check for inverse Returns: Returns the inverse to value_to_inverse """ return __extended_euclid(base, value_to_inverse, current_value) def __extended_euclid(base, value_to_inverse, current_value): """ Calculate Inverse Element to value_to_inverse or Raises Error, if not Possible Iterate the extended Euclidean Algyrthm to find an Inverse element of the given Value Args: base: Mod base, for the inverse to check. value_to_inverse: Value to check for inverse current_value: Current Value given in teh division, only used to Improve errors Returns: Returns the inverse to value_to_inverse """ value_to_inverse = value_to_inverse % base # init to get first step in Euclid from the vlaues q = int(base / value_to_inverse) a = value_to_inverse rest = base - (q * a) result = base # standard init for reverse euclid x0 = 0 x1 = 1 if rest == 0: logging.error( "ERROR - CANNOT DO %s/%s mod %s | UNDEFINED INVERSE FOR mod: %s, Value: %s", current_value, value_to_inverse, base, base, value_to_inverse, ) raise InversionError( "r = base-(q*a)", ( "ERROR - UNDEFINED INVERSE Base: %s, Value: %s", base, value_to_inverse, ), ) # Eclid and reverse Euclid iterations while rest != 0: # Reverse Euclid Calculation invers = (x0 - x1 * q) % base # Calculate new Values to use in Reverse Euclid result = a a = rest q = int(result / a) rest = result - (q * a) # New Values for Reverse Euclid x0 = x1 x1 = invers if rest == invers: logging.error( "ERROR - CANNOT DO %s/%s mod %s | UNDEFINED INVERSE 234124 FOR mod: %s, Value: %s", current_value, value_to_inverse, base, base, value_to_inverse, ) raise InversionError( "r = base-(q*a)", "ERROR - UNDEFINED INVERSE Base: {base}, Value: {value_to_inverse}", ) return invers
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 5132, 15591, 10410, 29918, 29872, 27511, 13, 13, 5215, 12183, 13, 13, 13, 1990, 4829, 29898, 2451, 1125, 13, 1678, 9995, 5160, 770, 363, 15283, 297, 445, 3883, 1213, 15945, 13, 13, 1678, 1209, 13, 13, 13, 1990, 512, 3259, 2392, 29898, 2392, 1125, 13, 1678, 9995, 2451, 10425, 363, 4436, 297, 278, 1881, 29889, 13, 1678, 6212, 5026, 29901, 13, 4706, 4603, 1192, 1881, 4603, 297, 607, 278, 1059, 10761, 13, 4706, 2643, 1192, 8252, 310, 278, 1059, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 4603, 29892, 2643, 1125, 13, 4706, 1583, 29889, 17471, 353, 4603, 13, 4706, 1583, 29889, 4906, 353, 2643, 13, 13, 13, 1753, 679, 29918, 262, 3901, 29898, 3188, 29892, 995, 29918, 517, 29918, 262, 3901, 29892, 1857, 29918, 1767, 1125, 13, 1678, 9995, 7974, 267, 278, 512, 3901, 310, 385, 2183, 995, 29918, 517, 29918, 262, 3901, 29889, 13, 1678, 826, 3174, 29901, 13, 4706, 2967, 29901, 3382, 2967, 29892, 363, 278, 16402, 304, 1423, 29889, 13, 4706, 995, 29918, 517, 29918, 262, 3901, 29901, 7865, 304, 1423, 363, 16402, 13, 1678, 16969, 29901, 13, 4706, 16969, 278, 16402, 304, 995, 29918, 517, 29918, 262, 3901, 13, 1678, 9995, 13, 1678, 736, 4770, 1062, 2760, 29918, 12932, 695, 333, 29898, 3188, 29892, 995, 29918, 517, 29918, 262, 3901, 29892, 1857, 29918, 1767, 29897, 13, 13, 1753, 4770, 1062, 2760, 29918, 12932, 695, 333, 29898, 3188, 29892, 995, 29918, 517, 29918, 262, 3901, 29892, 1857, 29918, 1767, 1125, 13, 1678, 9995, 13, 1678, 20535, 403, 512, 3901, 10619, 304, 995, 29918, 517, 29918, 262, 3901, 470, 390, 1759, 267, 4829, 29892, 565, 451, 20049, 13, 1678, 20504, 403, 278, 10410, 382, 27511, 838, 1927, 29878, 12743, 304, 1284, 385, 512, 3901, 1543, 310, 278, 2183, 7865, 13, 1678, 826, 3174, 29901, 13, 4706, 2967, 29901, 3382, 2967, 29892, 363, 278, 16402, 304, 1423, 29889, 13, 4706, 995, 29918, 517, 29918, 262, 3901, 29901, 7865, 304, 1423, 363, 16402, 13, 4706, 1857, 29918, 1767, 29901, 9626, 7865, 2183, 297, 734, 29882, 8542, 29892, 871, 1304, 304, 1954, 771, 345, 4436, 13, 1678, 16969, 29901, 13, 4706, 16969, 278, 16402, 304, 995, 29918, 517, 29918, 262, 3901, 13, 1678, 9995, 13, 13, 1678, 995, 29918, 517, 29918, 262, 3901, 353, 995, 29918, 517, 29918, 262, 3901, 1273, 2967, 13, 1678, 396, 2069, 304, 679, 937, 4331, 297, 16430, 695, 333, 515, 278, 325, 433, 1041, 13, 1678, 3855, 353, 938, 29898, 3188, 847, 995, 29918, 517, 29918, 262, 3901, 29897, 13, 1678, 263, 353, 995, 29918, 517, 29918, 262, 3901, 13, 1678, 1791, 353, 2967, 448, 313, 29939, 334, 263, 29897, 13, 1678, 1121, 353, 2967, 13, 1678, 396, 3918, 2069, 363, 11837, 11878, 695, 333, 13, 1678, 921, 29900, 353, 29871, 29900, 13, 1678, 921, 29896, 353, 29871, 29896, 13, 13, 1678, 565, 1791, 1275, 29871, 29900, 29901, 13, 4706, 12183, 29889, 2704, 29898, 13, 9651, 376, 11432, 448, 315, 2190, 12256, 11662, 1273, 29879, 22584, 29879, 878, 1273, 29879, 891, 8291, 24405, 1177, 3352, 2672, 5348, 1660, 15842, 878, 29901, 1273, 29879, 29892, 7865, 29901, 1273, 29879, 613, 13, 9651, 1857, 29918, 1767, 29892, 13, 9651, 995, 29918, 517, 29918, 262, 3901, 29892, 13, 9651, 2967, 29892, 13, 9651, 2967, 29892, 13, 9651, 995, 29918, 517, 29918, 262, 3901, 29892, 13, 4706, 1723, 13, 4706, 12020, 512, 3259, 2392, 29898, 13, 9651, 376, 29878, 353, 2967, 17722, 29939, 29930, 29874, 19123, 13, 9651, 313, 13, 18884, 376, 11432, 448, 8291, 24405, 1177, 3352, 2672, 5348, 1660, 7399, 29901, 1273, 29879, 29892, 7865, 29901, 1273, 29879, 613, 13, 18884, 2967, 29892, 13, 18884, 995, 29918, 517, 29918, 262, 3901, 29892, 13, 9651, 10353, 13, 4706, 1723, 13, 13, 1678, 396, 382, 695, 333, 322, 11837, 16430, 695, 333, 24372, 13, 1678, 1550, 1791, 2804, 29871, 29900, 29901, 13, 4706, 396, 830, 3901, 16430, 695, 333, 20535, 362, 13, 4706, 297, 874, 353, 313, 29916, 29900, 448, 921, 29896, 334, 3855, 29897, 1273, 2967, 13, 13, 4706, 396, 20535, 403, 716, 2630, 1041, 304, 671, 297, 830, 3901, 16430, 695, 333, 13, 4706, 1121, 353, 263, 13, 4706, 263, 353, 1791, 13, 4706, 3855, 353, 938, 29898, 2914, 847, 263, 29897, 13, 4706, 1791, 353, 1121, 448, 313, 29939, 334, 263, 29897, 13, 13, 4706, 396, 1570, 2630, 1041, 363, 830, 3901, 16430, 695, 333, 13, 4706, 921, 29900, 353, 921, 29896, 13, 4706, 921, 29896, 353, 297, 874, 13, 13, 1678, 565, 1791, 1275, 297, 874, 29901, 13, 4706, 12183, 29889, 2704, 29898, 13, 9651, 376, 11432, 448, 315, 2190, 12256, 11662, 1273, 29879, 22584, 29879, 878, 1273, 29879, 891, 8291, 24405, 1177, 3352, 2672, 5348, 1660, 29871, 29906, 29941, 29946, 29896, 29906, 29946, 15842, 878, 29901, 1273, 29879, 29892, 7865, 29901, 1273, 29879, 613, 13, 9651, 1857, 29918, 1767, 29892, 13, 9651, 995, 29918, 517, 29918, 262, 3901, 29892, 13, 9651, 2967, 29892, 13, 9651, 2967, 29892, 13, 9651, 995, 29918, 517, 29918, 262, 3901, 29892, 13, 4706, 1723, 13, 4706, 12020, 512, 3259, 2392, 29898, 13, 9651, 376, 29878, 353, 2967, 17722, 29939, 29930, 29874, 19123, 13, 9651, 376, 11432, 448, 8291, 24405, 1177, 3352, 2672, 5348, 1660, 7399, 29901, 426, 3188, 1118, 7865, 29901, 426, 1767, 29918, 517, 29918, 262, 3901, 17671, 13, 4706, 1723, 13, 13, 1678, 736, 297, 874, 2 ]
tests/test_bestip.py
po2xel/mootdx
88
193828
<gh_stars>10-100 import logging from pathlib import Path import pytest from mootdx import config class TestBestIP: config = '' @staticmethod def setup_class(cls): logging.info('setup_class') cls.config = Path.home() / '.mootdx' / 'config.json' cls.config.exists() and cls.config.unlink() @staticmethod def teardown_class(cls): logging.info('teardown_class') cls.config.exists() and cls.config.unlink() @pytest.mark.skip('skip') def test_config(self, caplog): caplog.set_level(logging.WARNING) self.config.exists() and self.config.unlink() config.setup() assert self.config.exists(), self.config def test_quotes(self): config.setup() assert self.config.exists(), self.config
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 5215, 12183, 13, 3166, 2224, 1982, 1053, 10802, 13, 13, 5215, 11451, 1688, 13, 13, 3166, 2730, 327, 8235, 1053, 2295, 13, 13, 13, 1990, 4321, 25353, 5690, 29901, 13, 1678, 2295, 353, 6629, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 6230, 29918, 1990, 29898, 25932, 1125, 13, 4706, 12183, 29889, 3888, 877, 14669, 29918, 1990, 1495, 13, 4706, 1067, 29879, 29889, 2917, 353, 10802, 29889, 5184, 580, 847, 15300, 29885, 3155, 8235, 29915, 847, 525, 2917, 29889, 3126, 29915, 13, 4706, 1067, 29879, 29889, 2917, 29889, 9933, 580, 322, 1067, 29879, 29889, 2917, 29889, 348, 2324, 580, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 734, 538, 776, 29918, 1990, 29898, 25932, 1125, 13, 4706, 12183, 29889, 3888, 877, 371, 538, 776, 29918, 1990, 1495, 13, 4706, 1067, 29879, 29889, 2917, 29889, 9933, 580, 322, 1067, 29879, 29889, 2917, 29889, 348, 2324, 580, 13, 13, 1678, 732, 2272, 1688, 29889, 3502, 29889, 11014, 877, 11014, 1495, 13, 1678, 822, 1243, 29918, 2917, 29898, 1311, 29892, 2117, 1188, 1125, 13, 4706, 2117, 1188, 29889, 842, 29918, 5563, 29898, 21027, 29889, 29956, 25614, 29897, 13, 4706, 1583, 29889, 2917, 29889, 9933, 580, 322, 1583, 29889, 2917, 29889, 348, 2324, 580, 13, 13, 4706, 2295, 29889, 14669, 580, 13, 4706, 4974, 1583, 29889, 2917, 29889, 9933, 3285, 1583, 29889, 2917, 13, 13, 1678, 822, 1243, 29918, 339, 4769, 29898, 1311, 1125, 13, 4706, 2295, 29889, 14669, 580, 13, 4706, 4974, 1583, 29889, 2917, 29889, 9933, 3285, 1583, 29889, 2917, 13, 2 ]
keras/downstream_tasks/BraTS/DataSet.py
joeranbosma/ModelsGenesis
574
99510
#!/usr/bin/env python """ File: DataSet Date: 5/1/18 Author: <NAME> (<EMAIL>) This file provides loading of the BraTS datasets for ease of use in TensorFlow models. """ import os import pandas as pd import numpy as np import nibabel as nib from tqdm import tqdm from BraTS.Patient import * from BraTS.structure import * from BraTS.modalities import * from BraTS.load_utils import * survival_df_cache = {} # Prevents loading CSVs more than once class DataSubSet: def __init__(self, directory_map, survival_csv, data_set_type=None): self.directory_map = directory_map self._patient_ids = sorted(list(directory_map.keys())) self._survival_csv = survival_csv self._num_patients = len(self._patient_ids) self.type = data_set_type # Data caches self._mris = None self._segs = None self._patients = {} self._survival_df_cached = None self._patients_fully_loaded = False self._id_indexer = {patient_id: i for i, patient_id in enumerate(self._patient_ids)} def subset(self, patient_ids): """ Split this data subset into a small subset by patient ID :param n: The number of elements in the smaller training set :return: A new data subset with only the specified number of items """ dir_map = {id: self.directory_map[id] for id in patient_ids} return DataSubSet(dir_map, self._survival_csv) @property def ids(self): """ List of all patient IDs in this dataset Will copy the ids... so modify them all you want :return: Copy of the patient IDs """ return list(self._patient_ids) @property def mris(self): if self._mris is not None: return self._mris self._load_images() return self._mris @property def segs(self): if self._segs is None: self._load_images() return self._segs def _load_images(self): mris_shape = (self._num_patients,) + mri_shape segs_shape = (self._num_patients,) + image_shape self._mris = np.empty(shape=mris_shape) self._segs = np.empty(shape=segs_shape) if self._patients_fully_loaded: # All the patients were already loaded for i, patient in enumerate(tqdm(self._patients.values())): self._mris[i] = patient.mri_data self._segs[i] = patient.seg else: # Load it from scratch for i, patient_id in enumerate(self._patient_ids): patient_dir = self.directory_map[patient_id] load_patient_data_inplace(patient_dir, self._mris, self._segs, i) @property def patients(self): """ Loads ALL of the patients from disk into patient objects :return: A dictionary containing ALL patients """ for patient_id in self.ids: yield self.patient(patient_id) self._patients_fully_loaded = True def patient(self, patient_id): """ Loads only a single patient from disk :param patient_id: The patient ID :return: A Patient object loaded from disk """ if patient_id not in self._patient_ids: raise ValueError("Patient id \"%s\" not present." % patient_id) # Return cached value if present if patient_id in self._patients: return self._patients[patient_id] # Load patient data into memory patient = Patient(patient_id) patient_dir = self.directory_map[patient_id] df = self._survival_df if patient_id in df.id.values: patient.age = float(df.loc[df.id == patient_id].age) patient.survival = int(df.loc[df.id == patient_id].survival) if self._mris is not None and self._segs is not None: # Load from _mris and _segs if possible index = self._id_indexer[patient_id] patient.mri = self._mris[index] patient.seg = self._segs[index] else: # Load the mri and segmentation data from disk patient.mri, patient.seg = load_patient_data(patient_dir) self._patients[patient_id] = patient # cache the value for later return patient def drop_cache(self): self._patients.clear() self._mris = None self._segs = None @property def _survival_df(self): if self._survival_csv in survival_df_cache: return survival_df_cache[self._survival_csv] df = load_survival(self._survival_csv) survival_df_cache[self._survival_csv] = df return df class DataSet(object): def __init__(self, data_set_dir=None, brats_root=None, year=None): if data_set_dir is not None: # The data-set directory was specified explicitly assert isinstance(data_set_dir, str) self._data_set_dir = data_set_dir elif brats_root is not None and isinstance(year, int): # Find the directory by specifying the year assert isinstance(brats_root, str) year_dir = find_file_containing(brats_root, str(year % 100)) self._data_set_dir = os.path.join(brats_root, year_dir) self._brats_root = brats_root self._year = year else: # BraTS data-set location was not improperly specified raise Exception("Specify BraTS location with \"data_set_dir\" or with \"brats_root\" and \"year\"") self._validation = None self._train = None self._hgg = None self._lgg = None self._dir_map_cache = None self._val_dir = None self._train_dir_cached = None self._hgg_dir = os.path.join(self._train_dir, "HGG") self._lgg_dir = os.path.join(self._train_dir, "LGG") self._train_survival_csv_cached = None self._validation_survival_csv_cached = None self._train_ids = None self._hgg_ids_cached = None self._lgg_ids_cached = None self._train_dir_map_cache = None self._validation_dir_map_cache = None self._hgg_dir_map_cache = None self._lgg_dir_map_cache = None def set(self, data_set_type): """ Get a data subset by type :param data_set_type: The DataSubsetType to get :return: The data sub-set of interest """ assert isinstance(data_set_type, DataSubsetType) if data_set_type == DataSubsetType.train: return self.train if data_set_type == DataSubsetType.hgg: return self.hgg if data_set_type == DataSubsetType.lgg: return self.lgg if data_set_type == DataSubsetType.validation: return self.validation @property def train(self): """ Training data Loads the training data from disk, utilizing caching :return: A tf.data.Dataset object containing the training data """ if self._train is None: try: self._train = DataSubSet(self._train_dir_map, self._train_survival_csv, data_set_type=DataSubsetType.train) except FileNotFoundError: return None return self._train @property def validation(self): """ Validation data :return: Validation data """ if self._validation is None: try: self._validation = DataSubSet(self._validation_dir_map, self._validation_survival_csv, data_set_type=DataSubsetType.validation) except FileNotFoundError: return None return self._validation @property def hgg(self): if self._hgg is None: try: self._hgg = DataSubSet(self._hgg_dir_map, self._train_survival_csv, data_set_type=DataSubsetType.hgg) except FileNotFoundError: return None return self._hgg @property def lgg(self): if self._lgg is None: try: self._lgg = DataSubSet(self._lgg_dir_map, self._train_survival_csv, data_set_type=DataSubsetType.lgg) except FileNotFoundError: return None return self._lgg def drop_cache(self): """ Drops the cached values in the object :return: None """ self._validation = None self._train = None self._hgg = None self._lgg = None self._dir_map_cache = None self._val_dir = None self._train_dir_cached = None self._train_survival_csv_cached = None self._validation_survival_csv_cached = None self._train_ids = None self._hgg_ids_cached = None self._lgg_ids_cached = None self._train_dir_map_cache = None self._validation_dir_map_cache = None self._hgg_dir_map_cache = None self._lgg_dir_map_cache = None @property def _train_survival_csv(self): if self._train_survival_csv_cached is None: self._train_survival_csv_cached = find_file_containing(self._train_dir, "survival") if self._train_survival_csv_cached is None: raise FileNotFoundError("Could not find survival CSV in %s" % self._train_dir) return self._train_survival_csv_cached @property def _validation_survival_csv(self): if self._validation_survival_csv_cached is None: self._validation_survival_csv_cached = find_file_containing(self._validation_dir, "survival") if self._validation_survival_csv_cached is None: raise FileNotFoundError("Could not find survival CSV in %s" % self._validation_dir) return self._validation_survival_csv_cached @property def _train_dir(self): if self._train_dir_cached is not None: return self._train_dir_cached self._train_dir_cached = find_file_containing(self._data_set_dir, "training") if self._train_dir_cached is None: raise FileNotFoundError("Could not find training directory in %s" % self._data_set_dir) return self._train_dir_cached @property def _validation_dir(self): if self._val_dir is not None: return self._val_dir self._val_dir = find_file_containing(self._data_set_dir, "validation") if self._val_dir is None: raise FileNotFoundError("Could not find validation directory in %s" % self._data_set_dir) return self._val_dir @property def _train_dir_map(self): if self._train_dir_map_cache is None: self._train_dir_map_cache = dict(self._hgg_dir_map) self._train_dir_map_cache.update(self._lgg_dir_map) return self._train_dir_map_cache @property def _validation_dir_map(self): if self._validation_dir_map_cache is None: self._validation_dir_map_cache = self._directory_map(self._validation_dir) return self._validation_dir_map_cache @property def _hgg_dir_map(self): if self._hgg_dir_map_cache is None: self._hgg_dir_map_cache = self._directory_map(self._hgg_dir) return self._hgg_dir_map_cache @property def _lgg_dir_map(self): if self._lgg_dir_map_cache is None: self._lgg_dir_map_cache = self._directory_map(self._lgg_dir) return self._lgg_dir_map_cache @property def _hgg_ids(self): if self._hgg_ids_cached is None: self._hgg_ids_cached = os.listdir(self._hgg_dir) return self._hgg_ids_cached @property def _lgg_ids(self): if self._lgg_ids_cached is None: self._lgg_ids_cached = os.listdir(self._lgg_dir) return self._lgg_ids_cached @classmethod def _directory_map(cls, dir): return {file: os.path.join(dir, file) for file in os.listdir(dir) if os.path.isdir(os.path.join(dir, file))}
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 15945, 29908, 13, 2283, 29901, 3630, 2697, 13, 2539, 29901, 29871, 29945, 29914, 29896, 29914, 29896, 29947, 29871, 13, 13720, 29901, 529, 5813, 29958, 313, 29966, 26862, 6227, 12948, 13, 13, 4013, 934, 8128, 8363, 310, 278, 5032, 9375, 20035, 13, 1454, 16326, 310, 671, 297, 323, 6073, 17907, 4733, 29889, 13, 15945, 29908, 13, 13, 5215, 2897, 13, 13, 5215, 11701, 408, 10518, 13, 5215, 12655, 408, 7442, 13, 5215, 302, 747, 1107, 408, 302, 747, 13, 13, 3166, 260, 29939, 18933, 1053, 260, 29939, 18933, 13, 3166, 5032, 9375, 29889, 11457, 993, 1053, 334, 13, 3166, 5032, 9375, 29889, 23905, 1053, 334, 13, 3166, 5032, 9375, 29889, 15601, 1907, 1053, 334, 13, 3166, 5032, 9375, 29889, 1359, 29918, 13239, 1053, 334, 13, 13, 7610, 29894, 2561, 29918, 2176, 29918, 8173, 353, 6571, 29871, 396, 4721, 794, 29879, 8363, 16874, 29879, 901, 1135, 2748, 13, 13, 13, 1990, 3630, 4035, 2697, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3884, 29918, 1958, 29892, 10503, 2561, 29918, 7638, 29892, 848, 29918, 842, 29918, 1853, 29922, 8516, 1125, 13, 4706, 1583, 29889, 12322, 29918, 1958, 353, 3884, 29918, 1958, 13, 4706, 1583, 3032, 5031, 993, 29918, 4841, 353, 12705, 29898, 1761, 29898, 12322, 29918, 1958, 29889, 8149, 22130, 13, 4706, 1583, 3032, 7610, 29894, 2561, 29918, 7638, 353, 10503, 2561, 29918, 7638, 13, 4706, 1583, 3032, 1949, 29918, 5031, 10070, 353, 7431, 29898, 1311, 3032, 5031, 993, 29918, 4841, 29897, 13, 4706, 1583, 29889, 1853, 353, 848, 29918, 842, 29918, 1853, 13, 13, 4706, 396, 3630, 274, 14520, 13, 4706, 1583, 3032, 29885, 3780, 353, 6213, 13, 4706, 1583, 3032, 344, 3174, 353, 6213, 13, 4706, 1583, 3032, 5031, 10070, 353, 6571, 13, 4706, 1583, 3032, 7610, 29894, 2561, 29918, 2176, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 5031, 10070, 29918, 3730, 29918, 15638, 353, 7700, 13, 4706, 1583, 3032, 333, 29918, 2248, 261, 353, 426, 5031, 993, 29918, 333, 29901, 474, 363, 474, 29892, 16500, 29918, 333, 297, 26985, 29898, 1311, 3032, 5031, 993, 29918, 4841, 2915, 13, 13, 1678, 822, 11306, 29898, 1311, 29892, 16500, 29918, 4841, 1125, 13, 4706, 9995, 13, 4706, 26178, 445, 848, 11306, 964, 263, 2319, 11306, 491, 16500, 3553, 13, 13, 4706, 584, 3207, 302, 29901, 450, 1353, 310, 3161, 297, 278, 7968, 6694, 731, 13, 4706, 584, 2457, 29901, 319, 716, 848, 11306, 411, 871, 278, 6790, 1353, 310, 4452, 13, 4706, 9995, 13, 4706, 4516, 29918, 1958, 353, 426, 333, 29901, 1583, 29889, 12322, 29918, 1958, 29961, 333, 29962, 363, 1178, 297, 16500, 29918, 4841, 29913, 13, 4706, 736, 3630, 4035, 2697, 29898, 3972, 29918, 1958, 29892, 1583, 3032, 7610, 29894, 2561, 29918, 7638, 29897, 13, 13, 1678, 732, 6799, 13, 1678, 822, 18999, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 2391, 310, 599, 16500, 23481, 297, 445, 8783, 13, 13, 4706, 2811, 3509, 278, 18999, 856, 577, 6623, 963, 599, 366, 864, 13, 4706, 584, 2457, 29901, 14187, 310, 278, 16500, 23481, 13, 4706, 9995, 13, 4706, 736, 1051, 29898, 1311, 3032, 5031, 993, 29918, 4841, 29897, 13, 13, 1678, 732, 6799, 13, 1678, 822, 286, 3780, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29885, 3780, 338, 451, 6213, 29901, 13, 9651, 736, 1583, 3032, 29885, 3780, 13, 4706, 1583, 3032, 1359, 29918, 8346, 580, 13, 4706, 736, 1583, 3032, 29885, 3780, 13, 13, 1678, 732, 6799, 13, 1678, 822, 2377, 29879, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 344, 3174, 338, 6213, 29901, 13, 9651, 1583, 3032, 1359, 29918, 8346, 580, 13, 4706, 736, 1583, 3032, 344, 3174, 13, 13, 1678, 822, 903, 1359, 29918, 8346, 29898, 1311, 1125, 13, 4706, 286, 3780, 29918, 12181, 353, 313, 1311, 3032, 1949, 29918, 5031, 10070, 29892, 29897, 718, 286, 374, 29918, 12181, 13, 4706, 2377, 29879, 29918, 12181, 353, 313, 1311, 3032, 1949, 29918, 5031, 10070, 29892, 29897, 718, 1967, 29918, 12181, 13, 13, 4706, 1583, 3032, 29885, 3780, 353, 7442, 29889, 6310, 29898, 12181, 29922, 29885, 3780, 29918, 12181, 29897, 13, 4706, 1583, 3032, 344, 3174, 353, 7442, 29889, 6310, 29898, 12181, 29922, 344, 3174, 29918, 12181, 29897, 13, 13, 4706, 565, 1583, 3032, 5031, 10070, 29918, 3730, 29918, 15638, 29901, 13, 9651, 396, 2178, 278, 22069, 892, 2307, 7500, 13, 9651, 363, 474, 29892, 16500, 297, 26985, 29898, 29873, 29939, 18933, 29898, 1311, 3032, 5031, 10070, 29889, 5975, 22130, 29901, 13, 18884, 1583, 3032, 29885, 3780, 29961, 29875, 29962, 353, 16500, 29889, 29885, 374, 29918, 1272, 13, 18884, 1583, 3032, 344, 3174, 29961, 29875, 29962, 353, 16500, 29889, 10199, 13, 4706, 1683, 29901, 13, 9651, 396, 16012, 372, 515, 22728, 13, 9651, 363, 474, 29892, 16500, 29918, 333, 297, 26985, 29898, 1311, 3032, 5031, 993, 29918, 4841, 1125, 13, 18884, 16500, 29918, 3972, 353, 1583, 29889, 12322, 29918, 1958, 29961, 5031, 993, 29918, 333, 29962, 13, 18884, 2254, 29918, 5031, 993, 29918, 1272, 29918, 262, 6689, 29898, 5031, 993, 29918, 3972, 29892, 1583, 3032, 29885, 3780, 29892, 1583, 3032, 344, 3174, 29892, 474, 29897, 13, 13, 1678, 732, 6799, 13, 1678, 822, 22069, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 4309, 7925, 15149, 310, 278, 22069, 515, 8086, 964, 16500, 3618, 13, 13, 4706, 584, 2457, 29901, 319, 8600, 6943, 15149, 22069, 13, 4706, 9995, 13, 4706, 363, 16500, 29918, 333, 297, 1583, 29889, 4841, 29901, 13, 9651, 7709, 1583, 29889, 5031, 993, 29898, 5031, 993, 29918, 333, 29897, 13, 4706, 1583, 3032, 5031, 10070, 29918, 3730, 29918, 15638, 353, 5852, 13, 13, 1678, 822, 16500, 29898, 1311, 29892, 16500, 29918, 333, 1125, 13, 4706, 9995, 13, 4706, 4309, 7925, 871, 263, 2323, 16500, 515, 8086, 13, 13, 4706, 584, 3207, 16500, 29918, 333, 29901, 450, 16500, 3553, 13, 4706, 584, 2457, 29901, 319, 4121, 993, 1203, 7500, 515, 8086, 13, 4706, 9995, 13, 4706, 565, 16500, 29918, 333, 451, 297, 1583, 3032, 5031, 993, 29918, 4841, 29901, 13, 9651, 12020, 7865, 2392, 703, 11457, 993, 1178, 13218, 29995, 29879, 5931, 451, 2198, 1213, 1273, 16500, 29918, 333, 29897, 13, 13, 4706, 396, 7106, 22152, 995, 565, 2198, 13, 4706, 565, 16500, 29918, 333, 297, 1583, 3032, 5031, 10070, 29901, 13, 9651, 736, 1583, 3032, 5031, 10070, 29961, 5031, 993, 29918, 333, 29962, 13, 13, 4706, 396, 16012, 16500, 848, 964, 3370, 13, 4706, 16500, 353, 4121, 993, 29898, 5031, 993, 29918, 333, 29897, 13, 4706, 16500, 29918, 3972, 353, 1583, 29889, 12322, 29918, 1958, 29961, 5031, 993, 29918, 333, 29962, 13, 13, 4706, 4489, 353, 1583, 3032, 7610, 29894, 2561, 29918, 2176, 13, 4706, 565, 16500, 29918, 333, 297, 4489, 29889, 333, 29889, 5975, 29901, 13, 9651, 16500, 29889, 482, 353, 5785, 29898, 2176, 29889, 2029, 29961, 2176, 29889, 333, 1275, 16500, 29918, 333, 1822, 482, 29897, 13, 9651, 16500, 29889, 7610, 29894, 2561, 353, 938, 29898, 2176, 29889, 2029, 29961, 2176, 29889, 333, 1275, 16500, 29918, 333, 1822, 7610, 29894, 2561, 29897, 13, 13, 4706, 565, 1583, 3032, 29885, 3780, 338, 451, 6213, 322, 1583, 3032, 344, 3174, 338, 451, 6213, 29901, 13, 9651, 396, 16012, 515, 903, 29885, 3780, 322, 903, 344, 3174, 565, 1950, 13, 9651, 2380, 353, 1583, 3032, 333, 29918, 2248, 261, 29961, 5031, 993, 29918, 333, 29962, 13, 9651, 16500, 29889, 29885, 374, 353, 1583, 3032, 29885, 3780, 29961, 2248, 29962, 13, 9651, 16500, 29889, 10199, 353, 1583, 3032, 344, 3174, 29961, 2248, 29962, 13, 4706, 1683, 29901, 13, 9651, 396, 16012, 278, 286, 374, 322, 10768, 362, 848, 515, 8086, 13, 9651, 16500, 29889, 29885, 374, 29892, 16500, 29889, 10199, 353, 2254, 29918, 5031, 993, 29918, 1272, 29898, 5031, 993, 29918, 3972, 29897, 13, 13, 4706, 1583, 3032, 5031, 10070, 29961, 5031, 993, 29918, 333, 29962, 353, 16500, 29871, 396, 7090, 278, 995, 363, 2678, 13, 4706, 736, 16500, 13, 13, 1678, 822, 5768, 29918, 8173, 29898, 1311, 1125, 13, 4706, 1583, 3032, 5031, 10070, 29889, 8551, 580, 13, 4706, 1583, 3032, 29885, 3780, 353, 6213, 13, 4706, 1583, 3032, 344, 3174, 353, 6213, 13, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 7610, 29894, 2561, 29918, 2176, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 7610, 29894, 2561, 29918, 7638, 297, 10503, 2561, 29918, 2176, 29918, 8173, 29901, 13, 9651, 736, 10503, 2561, 29918, 2176, 29918, 8173, 29961, 1311, 3032, 7610, 29894, 2561, 29918, 7638, 29962, 13, 4706, 4489, 353, 2254, 29918, 7610, 29894, 2561, 29898, 1311, 3032, 7610, 29894, 2561, 29918, 7638, 29897, 13, 4706, 10503, 2561, 29918, 2176, 29918, 8173, 29961, 1311, 3032, 7610, 29894, 2561, 29918, 7638, 29962, 353, 4489, 13, 4706, 736, 4489, 13, 13, 13, 1990, 3630, 2697, 29898, 3318, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 848, 29918, 842, 29918, 3972, 29922, 8516, 29892, 1506, 1446, 29918, 4632, 29922, 8516, 29892, 1629, 29922, 8516, 1125, 13, 13, 4706, 565, 848, 29918, 842, 29918, 3972, 338, 451, 6213, 29901, 13, 9651, 396, 450, 848, 29899, 842, 3884, 471, 6790, 9479, 13, 9651, 4974, 338, 8758, 29898, 1272, 29918, 842, 29918, 3972, 29892, 851, 29897, 13, 9651, 1583, 3032, 1272, 29918, 842, 29918, 3972, 353, 848, 29918, 842, 29918, 3972, 13, 13, 4706, 25342, 1506, 1446, 29918, 4632, 338, 451, 6213, 322, 338, 8758, 29898, 6360, 29892, 938, 1125, 13, 9651, 396, 10987, 278, 3884, 491, 22146, 278, 1629, 13, 9651, 4974, 338, 8758, 29898, 1182, 1446, 29918, 4632, 29892, 851, 29897, 13, 9651, 1629, 29918, 3972, 353, 1284, 29918, 1445, 29918, 1285, 17225, 29898, 1182, 1446, 29918, 4632, 29892, 851, 29898, 6360, 1273, 29871, 29896, 29900, 29900, 876, 13, 9651, 1583, 3032, 1272, 29918, 842, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 1182, 1446, 29918, 4632, 29892, 1629, 29918, 3972, 29897, 13, 9651, 1583, 3032, 1182, 1446, 29918, 4632, 353, 1506, 1446, 29918, 4632, 13, 9651, 1583, 3032, 6360, 353, 1629, 13, 13, 4706, 1683, 29901, 13, 9651, 396, 5032, 9375, 848, 29899, 842, 4423, 471, 451, 4857, 546, 368, 6790, 13, 9651, 12020, 8960, 703, 10299, 1598, 5032, 9375, 4423, 411, 13218, 1272, 29918, 842, 29918, 3972, 5931, 470, 411, 13218, 1182, 1446, 29918, 4632, 5931, 322, 13218, 6360, 5931, 1159, 13, 13, 4706, 1583, 3032, 18157, 353, 6213, 13, 4706, 1583, 3032, 14968, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 353, 6213, 13, 13, 4706, 1583, 3032, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 13, 4706, 1583, 3032, 791, 29918, 3972, 353, 6213, 13, 4706, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 1311, 3032, 14968, 29918, 3972, 29892, 376, 29950, 26788, 1159, 13, 4706, 1583, 3032, 29880, 1505, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 1311, 3032, 14968, 29918, 3972, 29892, 376, 29931, 26788, 1159, 13, 13, 4706, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 6213, 13, 13, 4706, 1583, 3032, 14968, 29918, 4841, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 29918, 4841, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 29918, 4841, 29918, 29883, 3791, 353, 6213, 13, 13, 4706, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 18157, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 13, 1678, 822, 731, 29898, 1311, 29892, 848, 29918, 842, 29918, 1853, 1125, 13, 4706, 9995, 13, 4706, 3617, 263, 848, 11306, 491, 1134, 13, 13, 4706, 584, 3207, 848, 29918, 842, 29918, 1853, 29901, 450, 3630, 4035, 842, 1542, 304, 679, 13, 4706, 584, 2457, 29901, 450, 848, 1014, 29899, 842, 310, 4066, 13, 4706, 9995, 13, 4706, 4974, 338, 8758, 29898, 1272, 29918, 842, 29918, 1853, 29892, 3630, 4035, 842, 1542, 29897, 13, 4706, 565, 848, 29918, 842, 29918, 1853, 1275, 3630, 4035, 842, 1542, 29889, 14968, 29901, 13, 9651, 736, 1583, 29889, 14968, 13, 4706, 565, 848, 29918, 842, 29918, 1853, 1275, 3630, 4035, 842, 1542, 29889, 29882, 1505, 29901, 13, 9651, 736, 1583, 29889, 29882, 1505, 13, 4706, 565, 848, 29918, 842, 29918, 1853, 1275, 3630, 4035, 842, 1542, 29889, 29880, 1505, 29901, 13, 9651, 736, 1583, 29889, 29880, 1505, 13, 4706, 565, 848, 29918, 842, 29918, 1853, 1275, 3630, 4035, 842, 1542, 29889, 18157, 29901, 13, 9651, 736, 1583, 29889, 18157, 13, 13, 1678, 732, 6799, 13, 1678, 822, 7945, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 26101, 848, 13, 13, 4706, 4309, 7925, 278, 6694, 848, 515, 8086, 29892, 3667, 5281, 22488, 13, 4706, 584, 2457, 29901, 319, 15886, 29889, 1272, 29889, 16390, 24541, 1203, 6943, 278, 6694, 848, 13, 4706, 9995, 13, 4706, 565, 1583, 3032, 14968, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 14968, 353, 3630, 4035, 2697, 29898, 1311, 3032, 14968, 29918, 3972, 29918, 1958, 29892, 13, 462, 462, 308, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29892, 13, 462, 462, 308, 848, 29918, 842, 29918, 1853, 29922, 1469, 4035, 842, 1542, 29889, 14968, 29897, 13, 9651, 5174, 3497, 17413, 2392, 29901, 13, 18884, 736, 6213, 13, 4706, 736, 1583, 3032, 14968, 13, 13, 1678, 732, 6799, 13, 1678, 822, 8845, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 15758, 362, 848, 13, 13, 4706, 584, 2457, 29901, 15758, 362, 848, 13, 4706, 9995, 13, 4706, 565, 1583, 3032, 18157, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 18157, 353, 3630, 4035, 2697, 29898, 1311, 3032, 18157, 29918, 3972, 29918, 1958, 29892, 13, 462, 462, 795, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29892, 13, 462, 462, 795, 848, 29918, 842, 29918, 1853, 29922, 1469, 4035, 842, 1542, 29889, 18157, 29897, 13, 9651, 5174, 3497, 17413, 2392, 29901, 13, 18884, 736, 6213, 13, 4706, 736, 1583, 3032, 18157, 13, 13, 1678, 732, 6799, 13, 1678, 822, 298, 1505, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29882, 1505, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 29882, 1505, 353, 3630, 4035, 2697, 29898, 1311, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29892, 13, 462, 462, 539, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29892, 13, 462, 462, 539, 848, 29918, 842, 29918, 1853, 29922, 1469, 4035, 842, 1542, 29889, 29882, 1505, 29897, 13, 9651, 5174, 3497, 17413, 2392, 29901, 13, 18884, 736, 6213, 13, 4706, 736, 1583, 3032, 29882, 1505, 13, 13, 1678, 732, 6799, 13, 1678, 822, 301, 1505, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29880, 1505, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 29880, 1505, 353, 3630, 4035, 2697, 29898, 1311, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29892, 13, 462, 462, 539, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29892, 13, 462, 462, 539, 848, 29918, 842, 29918, 1853, 29922, 1469, 4035, 842, 1542, 29889, 29880, 1505, 29897, 13, 9651, 5174, 3497, 17413, 2392, 29901, 13, 18884, 736, 6213, 13, 4706, 736, 1583, 3032, 29880, 1505, 13, 13, 1678, 822, 5768, 29918, 8173, 29898, 1311, 1125, 13, 4706, 9995, 13, 4706, 22938, 567, 278, 22152, 1819, 297, 278, 1203, 13, 4706, 584, 2457, 29901, 6213, 13, 4706, 9995, 13, 4706, 1583, 3032, 18157, 353, 6213, 13, 4706, 1583, 3032, 14968, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 353, 6213, 13, 13, 4706, 1583, 3032, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 791, 29918, 3972, 353, 6213, 13, 4706, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 6213, 13, 13, 4706, 1583, 3032, 14968, 29918, 4841, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 29918, 4841, 29918, 29883, 3791, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 29918, 4841, 29918, 29883, 3791, 353, 6213, 13, 13, 4706, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 18157, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 4706, 1583, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 6213, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 338, 6213, 29901, 13, 9651, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 1284, 29918, 1445, 29918, 1285, 17225, 29898, 1311, 3032, 14968, 29918, 3972, 29892, 376, 7610, 29894, 2561, 1159, 13, 9651, 565, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 338, 6213, 29901, 13, 18884, 12020, 3497, 17413, 2392, 703, 23323, 451, 1284, 10503, 2561, 16874, 297, 1273, 29879, 29908, 1273, 1583, 3032, 14968, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 14968, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 338, 6213, 29901, 13, 9651, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 353, 1284, 29918, 1445, 29918, 1285, 17225, 29898, 1311, 3032, 18157, 29918, 3972, 29892, 376, 7610, 29894, 2561, 1159, 13, 9651, 565, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 338, 6213, 29901, 13, 18884, 12020, 3497, 17413, 2392, 703, 23323, 451, 1284, 10503, 2561, 16874, 297, 1273, 29879, 29908, 1273, 1583, 3032, 18157, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 18157, 29918, 7610, 29894, 2561, 29918, 7638, 29918, 29883, 3791, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 14968, 29918, 3972, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 338, 451, 6213, 29901, 13, 9651, 736, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 13, 4706, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 353, 1284, 29918, 1445, 29918, 1285, 17225, 29898, 1311, 3032, 1272, 29918, 842, 29918, 3972, 29892, 376, 26495, 1159, 13, 4706, 565, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 338, 6213, 29901, 13, 9651, 12020, 3497, 17413, 2392, 703, 23323, 451, 1284, 6694, 3884, 297, 1273, 29879, 29908, 1273, 1583, 3032, 1272, 29918, 842, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 14968, 29918, 3972, 29918, 29883, 3791, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 18157, 29918, 3972, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 791, 29918, 3972, 338, 451, 6213, 29901, 13, 9651, 736, 1583, 3032, 791, 29918, 3972, 13, 4706, 1583, 3032, 791, 29918, 3972, 353, 1284, 29918, 1445, 29918, 1285, 17225, 29898, 1311, 3032, 1272, 29918, 842, 29918, 3972, 29892, 376, 18157, 1159, 13, 4706, 565, 1583, 3032, 791, 29918, 3972, 338, 6213, 29901, 13, 9651, 12020, 3497, 17413, 2392, 703, 23323, 451, 1284, 8845, 3884, 297, 1273, 29879, 29908, 1273, 1583, 3032, 1272, 29918, 842, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 791, 29918, 3972, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 14968, 29918, 3972, 29918, 1958, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 338, 6213, 29901, 13, 9651, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 353, 9657, 29898, 1311, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29897, 13, 9651, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 29889, 5504, 29898, 1311, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29897, 13, 4706, 736, 1583, 3032, 14968, 29918, 3972, 29918, 1958, 29918, 8173, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 18157, 29918, 3972, 29918, 1958, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 18157, 29918, 3972, 29918, 1958, 29918, 8173, 338, 6213, 29901, 13, 9651, 1583, 3032, 18157, 29918, 3972, 29918, 1958, 29918, 8173, 353, 1583, 3032, 12322, 29918, 1958, 29898, 1311, 3032, 18157, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 18157, 29918, 3972, 29918, 1958, 29918, 8173, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 29882, 1505, 29918, 3972, 29918, 1958, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 338, 6213, 29901, 13, 9651, 1583, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 1583, 3032, 12322, 29918, 1958, 29898, 1311, 3032, 29882, 1505, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 29882, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 29880, 1505, 29918, 3972, 29918, 1958, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 338, 6213, 29901, 13, 9651, 1583, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 353, 1583, 3032, 12322, 29918, 1958, 29898, 1311, 3032, 29880, 1505, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 29880, 1505, 29918, 3972, 29918, 1958, 29918, 8173, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 29882, 1505, 29918, 4841, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29882, 1505, 29918, 4841, 29918, 29883, 3791, 338, 6213, 29901, 13, 9651, 1583, 3032, 29882, 1505, 29918, 4841, 29918, 29883, 3791, 353, 2897, 29889, 1761, 3972, 29898, 1311, 3032, 29882, 1505, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 29882, 1505, 29918, 4841, 29918, 29883, 3791, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 29880, 1505, 29918, 4841, 29898, 1311, 1125, 13, 4706, 565, 1583, 3032, 29880, 1505, 29918, 4841, 29918, 29883, 3791, 338, 6213, 29901, 13, 9651, 1583, 3032, 29880, 1505, 29918, 4841, 29918, 29883, 3791, 353, 2897, 29889, 1761, 3972, 29898, 1311, 3032, 29880, 1505, 29918, 3972, 29897, 13, 4706, 736, 1583, 3032, 29880, 1505, 29918, 4841, 29918, 29883, 3791, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 903, 12322, 29918, 1958, 29898, 25932, 29892, 4516, 1125, 13, 4706, 736, 426, 1445, 29901, 2897, 29889, 2084, 29889, 7122, 29898, 3972, 29892, 934, 29897, 13, 462, 363, 934, 297, 2897, 29889, 1761, 3972, 29898, 3972, 29897, 13, 462, 565, 2897, 29889, 2084, 29889, 275, 3972, 29898, 359, 29889, 2084, 29889, 7122, 29898, 3972, 29892, 934, 876, 29913, 13, 2 ]
config/usb_device_cdc.py
newbs/usb
0
17954
"""***************************************************************************** * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your * responsibility to comply with third party license terms applicable to your * use of third party software (including open source software) that may * accompany Microchip software. * * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER * EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED * WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A * PARTICULAR PURPOSE. * * IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, * INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND * WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS * BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE * FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN * ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. *****************************************************************************""" currentQSizeRead = 1 currentQSizeWrite = 1 currentQSizeSerialStateNotification = 1 cdcInterfacesNumber = 2 cdcDescriptorSize = 58 cdcEndpointsPic32 = 2 cdcEndpointsSAM = 3 indexFunction = None configValue = None startInterfaceNumber = None numberOfInterfaces = None useIad = None epNumberInterrupt = None epNumberBulkOut = None epNumberBulkIn = None cdcEndpointNumber = None def handleMessage(messageID, args): global useIad if (messageID == "UPDATE_CDC_IAD_ENABLE"): useIad.setValue(args["iadEnable"]) return args def onAttachmentConnected(source, target): global cdcInterfacesNumber global cdcDescriptorSize global configValue global startInterfaceNumber global numberOfInterfaces global useIad global epNumberInterrupt global epNumberBulkOut global epNumberBulkIn global cdcEndpointsPic32 global cdcEndpointsSAM global currentQSizeRead global currentQSizeWrite global currentQSizeSerialStateNotification print ("CDC Function Driver: Attached") remoteComponent = target["component"] remoteComponentId = remoteComponent.getID() if (remoteComponentId == "usb_device"): dependencyID = source["id"] ownerComponent = source["component"] # Read number of functions from USB Device Layer nFunctions = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_FUNCTIONS_NUMBER") if nFunctions != None: #Log.writeDebugMessage ("USB Device CDC Function Driver: Attachment connected") # Update Number of Functions in USB Device, Increment the value by One. args = {"nFunction":nFunctions + 1} res = Database.sendMessage("usb_device", "UPDATE_FUNCTIONS_NUMBER", args) # If we have CDC function driver plus any function driver (no matter what Class), we enable IAD. if nFunctions > 0: args = {"nFunction":True} res = Database.sendMessage("usb_device", "UPDATE_IAD_ENABLE", args) iadEnableSymbol = ownerComponent.getSymbolByID("CONFIG_USB_DEVICE_FUNCTION_USE_IAD") iadEnableSymbol.clearValue() iadEnableSymbol.setValue(True, 1) isIadEnabled = Database.getSymbolValue("usb_device_cdc_0", "CONFIG_USB_DEVICE_FUNCTION_USE_IAD") if isIadEnabled == False: args = {"iadEnable":True} res = Database.sendMessage("usb_device_cdc_0", "UPDATE_CDC_IAD_ENABLE", args) nCDCInstances = Database.getSymbolValue("usb_device_cdc", "CONFIG_USB_DEVICE_CDC_INSTANCES") if nCDCInstances == 2: configDescriptorSize = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_CONFIG_DESCRPTR_SIZE") if configDescriptorSize != None: args = {"nFunction": configDescriptorSize + 8} res = Database.sendMessage("usb_device", "UPDATE_CONFIG_DESCRPTR_SIZE", args) configDescriptorSize = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_CONFIG_DESCRPTR_SIZE") if configDescriptorSize != None: iadEnableSymbol = ownerComponent.getSymbolByID("CONFIG_USB_DEVICE_FUNCTION_USE_IAD") if iadEnableSymbol.getValue() == True: descriptorSize = cdcDescriptorSize + 8 else: descriptorSize = cdcDescriptorSize args = {"nFunction": configDescriptorSize + descriptorSize} res = Database.sendMessage("usb_device", "UPDATE_CONFIG_DESCRPTR_SIZE", args) nInterfaces = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_INTERFACES_NUMBER") if nInterfaces != None: args = {"nFunction": nInterfaces + cdcInterfacesNumber} res = Database.sendMessage("usb_device", "UPDATE_INTERFACES_NUMBER", args) startInterfaceNumber.setValue(nInterfaces, 1) nEndpoints = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_ENDPOINTS_NUMBER") if nEndpoints != None: epNumberInterrupt.setValue(nEndpoints + 1, 1) epNumberBulkOut.setValue(nEndpoints + 2, 1) if any(x in Variables.get("__PROCESSOR") for x in ["PIC32MZ", "PIC32MX", "PIC32MK", "SAMD21", "SAMDA1","SAMD51", "SAME51", "SAME53", "SAME54", "SAML21", "SAML22", "SAMD11"]): epNumberBulkIn.setValue(nEndpoints + 2, 1) args = {"nFunction": nEndpoints + cdcEndpointsPic32} res = Database.sendMessage("usb_device", "UPDATE_ENDPOINTS_NUMBER", args) else: epNumberBulkIn.setValue(nEndpoints + 3, 1) args = {"nFunction": nEndpoints + cdcEndpointsSAM} res = Database.sendMessage("usb_device", "UPDATE_ENDPOINTS_NUMBER", args) def onAttachmentDisconnected(source, target): print ("CDC Function Driver: Detached") global cdcInterfacesNumber global cdcDescriptorSize global configValue global startInterfaceNumber global numberOfInterfaces global useIad global epNumberInterrupt global epNumberBulkOut global epNumberBulkIn global cdcEndpointsPic32 global cdcEndpointsSAM global cdcInstancesCount global currentQSizeRead global currentQSizeWrite global currentQSizeSerialStateNotification dependencyID = source["id"] ownerComponent = source["component"] remoteComponent = target["component"] remoteComponentId = remoteComponent.getID() if (remoteComponentId == "usb_device"): nFunctions = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_FUNCTIONS_NUMBER") if nFunctions != None: nFunctions = nFunctions - 1 args = {"nFunction":nFunctions} res = Database.sendMessage("usb_device", "UPDATE_FUNCTIONS_NUMBER", args) endpointNumber = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_ENDPOINTS_NUMBER") if endpointNumber != None: if any(x in Variables.get("__PROCESSOR") for x in ["PIC32MZ"]): args = {"nFunction":endpointNumber - cdcEndpointsPic32 } res = Database.sendMessage("usb_device", "UPDATE_ENDPOINTS_NUMBER", args) else: args = {"nFunction":endpointNumber - cdcEndpointsSAM } res = Database.sendMessage("usb_device", "UPDATE_ENDPOINTS_NUMBER", args) interfaceNumber = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_INTERFACES_NUMBER") if interfaceNumber != None: args = {"nFunction": interfaceNumber - 2} res = Database.sendMessage("usb_device", "UPDATE_INTERFACES_NUMBER", args) nCDCInstances = Database.getSymbolValue("usb_device_cdc", "CONFIG_USB_DEVICE_CDC_INSTANCES") if nCDCInstances != None: nCDCInstances = nCDCInstances - 1 args = {"cdcInstanceCount": nCDCInstances} res = Database.sendMessage("usb_device_cdc", "UPDATE_CDC_INSTANCES", args) if nCDCInstances == 1 and nFunctions != None and nFunctions == 1: args = {"iadEnable":False} res = Database.sendMessage("usb_device_cdc_0", "UPDATE_CDC_IAD_ENABLE", args) args = {"nFunction":False} res = Database.sendMessage("usb_device", "UPDATE_IAD_ENABLE", args) configDescriptorSize = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_CONFIG_DESCRPTR_SIZE") if configDescriptorSize != None: args = {"nFunction": configDescriptorSize - 8} res = Database.sendMessage("usb_device", "UPDATE_CONFIG_DESCRPTR_SIZE", args) configDescriptorSize = Database.getSymbolValue("usb_device", "CONFIG_USB_DEVICE_CONFIG_DESCRPTR_SIZE") if configDescriptorSize != None: if useIad.getValue() == True: descriptorSize = cdcDescriptorSize + 8 else: descriptorSize = cdcDescriptorSize args = {"nFunction": configDescriptorSize - descriptorSize} res = Database.sendMessage("usb_device", "UPDATE_CONFIG_DESCRPTR_SIZE", args) def destroyComponent(component): print ("CDC Function Driver: Destroyed") # This function is called when user modifies the CDC Queue Size. def usbDeviceCdcBufferQueueSize(usbSymbolSource, event): global currentQSizeRead global currentQSizeWrite global currentQSizeSerialStateNotification queueDepthCombined = Database.getSymbolValue("usb_device_cdc", "CONFIG_USB_DEVICE_CDC_QUEUE_DEPTH_COMBINED") if (event["id"] == "CONFIG_USB_DEVICE_FUNCTION_READ_Q_SIZE"): queueDepthCombined = queueDepthCombined - currentQSizeRead + event["value"] currentQSizeRead = event["value"] if (event["id"] == "CONFIG_USB_DEVICE_FUNCTION_WRITE_Q_SIZE"): queueDepthCombined = queueDepthCombined - currentQSizeWrite + event["value"] currentQSizeWrite = event["value"] if (event["id"] == "CONFIG_USB_DEVICE_FUNCTION_SERIAL_NOTIFIACATION_Q_SIZE"): queueDepthCombined = queueDepthCombined - currentQSizeSerialStateNotification + event["value"] currentQSizeSerialStateNotification = event["value"] # We have updated queueDepthCombined variable with current combined queue length. # Now send a message to USB_DEVICE_CDC_COMMON.PY to modify the Combined queue length. args = {"cdcQueueDepth": queueDepthCombined} res = Database.sendMessage("usb_device_cdc", "UPDATE_CDC_QUEUE_DEPTH_COMBINED", args) def instantiateComponent(usbDeviceCdcComponent, index): global cdcDescriptorSize global cdcInterfacesNumber global cdcDescriptorSize global configValue global startInterfaceNumber global numberOfInterfaces global useIad global currentQSizeRead global currentQSizeWrite global currentQSizeSerialStateNotification global epNumberInterrupt global epNumberBulkOut global epNumberBulkIn res = Database.activateComponents(["usb_device"]) if any(x in Variables.get("__PROCESSOR") for x in ["PIC32MZ"]): MaxEpNumber = 7 BulkInDefaultEpNumber = 2 elif any(x in Variables.get("__PROCESSOR") for x in ["PIC32MX", "PIC32MK"]): MaxEpNumber = 15 BulkInDefaultEpNumber = 2 elif any(x in Variables.get("__PROCESSOR") for x in ["SAMD21", "SAMDA1", "SAMD51", "SAME51", "SAME53", "SAME54", "SAML21", "SAML22", "SAMD11"]): MaxEpNumber = 7 BulkInDefaultEpNumber = 2 elif any(x in Variables.get("__PROCESSOR") for x in ["SAMA5D2", "SAM9X60"]): MaxEpNumber = 15 BulkInDefaultEpNumber = 3 elif any(x in Variables.get("__PROCESSOR") for x in ["SAME70", "SAMS70", "SAMV70", "SAMV71"]): MaxEpNumber = 9 BulkInDefaultEpNumber = 3 elif any(x in Variables.get("__PROCESSOR") for x in ["SAMG55"]): MaxEpNumber = 5 BulkInDefaultEpNumber = 3 # Index of this function indexFunction = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_INDEX", None) indexFunction.setVisible(False) indexFunction.setMin(0) indexFunction.setMax(16) indexFunction.setDefaultValue(index) # Config name: Configuration number configValue = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_CONFIG_VALUE", None) configValue.setLabel("Configuration Value") configValue.setVisible(False) configValue.setMin(1) configValue.setMax(16) configValue.setDefaultValue(1) configValue.setReadOnly(True) # Adding Start Interface number startInterfaceNumber = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_INTERFACE_NUMBER", None) startInterfaceNumber.setLabel("Start Interface Number") helpText = '''Indicates the Interface Number of the first interfaces in the Communication Device Interface Group. This is provided here for indication purposes only and is automatically updated based on the function driver selection.''' startInterfaceNumber.setDescription(helpText) startInterfaceNumber.setVisible(True) startInterfaceNumber.setMin(0) startInterfaceNumber.setDefaultValue(0) startInterfaceNumber.setReadOnly(True) # Adding Number of Interfaces numberOfInterfaces = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_NUMBER_OF_INTERFACES", None) numberOfInterfaces.setLabel("Number of Interfaces") helpText = '''Indicates the interfaces in the Communication Device Interface Group. This is provided here for indication purposes only.''' numberOfInterfaces.setDescription(helpText) numberOfInterfaces.setVisible(True) numberOfInterfaces.setMin(1) numberOfInterfaces.setMax(16) numberOfInterfaces.setDefaultValue(2) numberOfInterfaces.setReadOnly(True) # Use IAD useIad = usbDeviceCdcComponent.createBooleanSymbol("CONFIG_USB_DEVICE_FUNCTION_USE_IAD", None) useIad.setLabel("Use Interface Association Descriptor") helpText = '''Enable this option to generate a Interface Association Descriptor (IAD). This option should be enabled in case multiple CDC interfaces are included in the Device. Enabling the option will update the Class, Sublass fields in the Device Descriptor to indicate that that device uses IAD.''' useIad.setDescription(helpText) useIad.setVisible(True) useIad.setDefaultValue(False) useIad.setUseSingleDynamicValue(True) # CDC Function driver Read Queue Size queueSizeRead = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_READ_Q_SIZE", None) queueSizeRead.setLabel("CDC Read Queue Size") helpText = '''Configure the size of the Read Queue. This configures the maximum number of Read Requests that can be queued before the Function Driver returns a queue full response. Using a queue increases memory consumption but also increases throughput. The driver will queue requests if the transfer request is currently being processed.''' queueSizeRead.setDescription(helpText) queueSizeRead.setVisible(True) queueSizeRead.setMin(1) queueSizeRead.setMax(32767) queueSizeRead.setDefaultValue(1) currentQSizeRead = queueSizeRead.getValue() # CDC Function driver Write Queue Size queueSizeWrite = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_WRITE_Q_SIZE", None) helpText = '''Configure the size of the Write Queue. This configures the maximum number of Write Requests that can be queued before the Function Driver returns a queue full response. Using a queue increases memory consumption but also increases throughput. The driver will queue requests if the transfer request is currently being processed.''' queueSizeWrite.setDescription(helpText) queueSizeWrite.setLabel("CDC Write Queue Size") queueSizeWrite.setVisible(True) queueSizeWrite.setMin(1) queueSizeWrite.setMax(32767) queueSizeWrite.setDefaultValue(1) currentQSizeWrite = queueSizeWrite.getValue() # CDC Function driver Serial state notification Queue Size queueSizeSerialStateNotification = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_SERIAL_NOTIFIACATION_Q_SIZE", None) queueSizeSerialStateNotification.setLabel("CDC Serial Notification Queue Size") helpText = '''Configure the size of the Serial State Notification Queue. This configures the maximum number of Serial State Notification Requests that can be queued before the Function Driver returns a queue full response. Using a queue increases memory consumption but also increases throughput. The driver will queue requests if the transfer request is currently being processed.''' queueSizeSerialStateNotification.setDescription(helpText) queueSizeSerialStateNotification.setVisible(True) queueSizeSerialStateNotification.setMin(1) queueSizeSerialStateNotification.setMax(32767) queueSizeSerialStateNotification.setDefaultValue(1) currentQSizeSerialStateNotification = queueSizeSerialStateNotification.getValue() # CDC Function driver Notification Endpoint Number epNumberInterrupt = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_INT_ENDPOINT_NUMBER", None) helpText = '''Specify the endpoint number of Interrupt IN Endpoint to be used for this instance of the CDC Interface. Refer to Device Datasheet for details on available endpoints and limitations.''' epNumberInterrupt.setDescription(helpText) epNumberInterrupt.setLabel("Interrupt Endpoint Number") epNumberInterrupt.setVisible(True) epNumberInterrupt.setMin(1) epNumberInterrupt.setDefaultValue(1) epNumberInterrupt.setMax(MaxEpNumber) # CDC Function driver Data OUT Endpoint Number epNumberBulkOut = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_BULK_OUT_ENDPOINT_NUMBER", None) helpText = '''Specify the endpoint number of Bulk Out Endpoint to be used for this instance of the CDC Interface. Refer to Device Datasheet for details on available endpoints and limitations.''' epNumberBulkOut.setDescription(helpText) epNumberBulkOut.setLabel("Bulk OUT Endpoint Number") epNumberBulkOut.setVisible(True) epNumberBulkOut.setMin(1) epNumberBulkOut.setDefaultValue(2) epNumberBulkOut.setMax(MaxEpNumber) # CDC Function driver Data IN Endpoint Number epNumberBulkIn = usbDeviceCdcComponent.createIntegerSymbol("CONFIG_USB_DEVICE_FUNCTION_BULK_IN_ENDPOINT_NUMBER", None) helpText = '''Specify the endpoint number of Bulk IN Endpoint to be used for this instance of the CDC Interface. Refer to Device Datasheet for details on available endpoints and limitations.''' epNumberBulkIn.setDescription(helpText) epNumberBulkIn.setLabel("Bulk IN Endpoint Number") epNumberBulkIn.setVisible(True) epNumberBulkIn.setMin(1) epNumberBulkIn.setMax(MaxEpNumber) epNumberBulkIn.setDefaultValue(BulkInDefaultEpNumber) usbDeviceCdcBufPool = usbDeviceCdcComponent.createBooleanSymbol("CONFIG_USB_DEVICE_CDC_BUFFER_POOL", None) usbDeviceCdcBufPool.setLabel("**** Buffer Pool Update ****") usbDeviceCdcBufPool.setDependencies(usbDeviceCdcBufferQueueSize, ["CONFIG_USB_DEVICE_FUNCTION_READ_Q_SIZE", "CONFIG_USB_DEVICE_FUNCTION_WRITE_Q_SIZE", "CONFIG_USB_DEVICE_FUNCTION_SERIAL_NOTIFIACATION_Q_SIZE"]) usbDeviceCdcBufPool.setVisible(False) ############################################################################ #### Dependency #### ############################################################################ # USB DEVICE CDC Common Dependency Log.writeDebugMessage ("Dependency Started") numInstances = Database.getSymbolValue("usb_device_cdc", "CONFIG_USB_DEVICE_CDC_INSTANCES") if (numInstances == None): numInstances = 0 args = {"cdcInstanceCount": index+1} res = Database.sendMessage("usb_device_cdc", "UPDATE_CDC_INSTANCES", args) ############################################################# # Function Init Entry for CDC ############################################################# usbDeviceCdcFunInitFile = usbDeviceCdcComponent.createFileSymbol(None, None) usbDeviceCdcFunInitFile.setType("STRING") usbDeviceCdcFunInitFile.setOutputName("usb_device.LIST_USB_DEVICE_FUNCTION_INIT_ENTRY") usbDeviceCdcFunInitFile.setSourcePath("templates/device/cdc/system_init_c_device_data_cdc_function_init.ftl") usbDeviceCdcFunInitFile.setMarkup(True) ############################################################# # Function Registration table for CDC ############################################################# usbDeviceCdcFunRegTableFile = usbDeviceCdcComponent.createFileSymbol(None, None) usbDeviceCdcFunRegTableFile.setType("STRING") usbDeviceCdcFunRegTableFile.setOutputName("usb_device.LIST_USB_DEVICE_FUNCTION_ENTRY") usbDeviceCdcFunRegTableFile.setSourcePath("templates/device/cdc/system_init_c_device_data_cdc_function.ftl") usbDeviceCdcFunRegTableFile.setMarkup(True) ############################################################# # HS Descriptors for CDC Function ############################################################# usbDeviceCdcDescriptorHsFile = usbDeviceCdcComponent.createFileSymbol(None, None) usbDeviceCdcDescriptorHsFile.setType("STRING") usbDeviceCdcDescriptorHsFile.setOutputName("usb_device.LIST_USB_DEVICE_FUNCTION_DESCRIPTOR_HS_ENTRY") usbDeviceCdcDescriptorHsFile.setSourcePath("templates/device/cdc/system_init_c_device_data_cdc_function_descrptr_hs.ftl") usbDeviceCdcDescriptorHsFile.setMarkup(True) ############################################################# # FS Descriptors for CDC Function ############################################################# usbDeviceCdcDescriptorFsFile = usbDeviceCdcComponent.createFileSymbol(None, None) usbDeviceCdcDescriptorFsFile.setType("STRING") usbDeviceCdcDescriptorFsFile.setOutputName("usb_device.LIST_USB_DEVICE_FUNCTION_DESCRIPTOR_FS_ENTRY") usbDeviceCdcDescriptorFsFile.setSourcePath("templates/device/cdc/system_init_c_device_data_cdc_function_descrptr_fs.ftl") usbDeviceCdcDescriptorFsFile.setMarkup(True) ############################################################# # Class code Entry for CDC Function ############################################################# usbDeviceCdcDescriptorClassCodeFile = usbDeviceCdcComponent.createFileSymbol(None, None) usbDeviceCdcDescriptorClassCodeFile.setType("STRING") usbDeviceCdcDescriptorClassCodeFile.setOutputName("usb_device.LIST_USB_DEVICE_DESCRIPTOR_CLASS_CODE_ENTRY") usbDeviceCdcDescriptorClassCodeFile.setSourcePath("templates/device/cdc/system_init_c_device_data_cdc_function_class_codes.ftl") usbDeviceCdcDescriptorClassCodeFile.setMarkup(True) ################################################ # USB CDC Function driver Files ################################################ usbDeviceCdcHeaderFile = usbDeviceCdcComponent.createFileSymbol(None, None) addFileName('usb_device_cdc.h', usbDeviceCdcComponent, usbDeviceCdcHeaderFile, "middleware/", "/usb/", True, None) usbCdcHeaderFile = usbDeviceCdcComponent.createFileSymbol(None, None) addFileName('usb_cdc.h', usbDeviceCdcComponent, usbCdcHeaderFile, "middleware/", "/usb/", True, None) usbDeviceCdcSourceFile = usbDeviceCdcComponent.createFileSymbol(None, None) addFileName('usb_device_cdc.c', usbDeviceCdcComponent, usbDeviceCdcSourceFile, "middleware/src/", "/usb/src", True, None) usbDeviceCdcAcmSourceFile = usbDeviceCdcComponent.createFileSymbol(None, None) addFileName('usb_device_cdc_acm.c', usbDeviceCdcComponent, usbDeviceCdcAcmSourceFile, "middleware/src/", "/usb/src", True, None) usbDeviceCdcLocalHeaderFile = usbDeviceCdcComponent.createFileSymbol(None, None) addFileName('usb_device_cdc_local.h', usbDeviceCdcComponent, usbDeviceCdcLocalHeaderFile, "middleware/src/", "/usb/src", True, None) # all files go into src/ def addFileName(fileName, component, symbol, srcPath, destPath, enabled, callback): configName1 = Variables.get("__CONFIGURATION_NAME") #filename = component.createFileSymbol(None, None) symbol.setProjectPath("config/" + configName1 + destPath) symbol.setSourcePath(srcPath + fileName) symbol.setOutputName(fileName) symbol.setDestPath(destPath) if fileName[-2:] == '.h': symbol.setType("HEADER") else: symbol.setType("SOURCE") symbol.setEnabled(enabled)
[ 1, 9995, 7775, 7775, 7775, 7775, 4189, 2328, 29930, 13, 29930, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29896, 29929, 20140, 305, 666, 17968, 9266, 29889, 322, 967, 11684, 8819, 4314, 29889, 13, 29930, 13, 29930, 3323, 622, 304, 596, 752, 13036, 411, 1438, 4958, 29892, 366, 1122, 671, 20140, 305, 666, 7047, 13, 29930, 322, 738, 25748, 13489, 3598, 411, 20140, 305, 666, 9316, 29889, 739, 338, 596, 13, 29930, 23134, 304, 752, 368, 411, 4654, 6263, 19405, 4958, 22903, 304, 596, 13, 29930, 671, 310, 4654, 6263, 7047, 313, 18271, 1722, 2752, 7047, 29897, 393, 1122, 13, 29930, 10259, 1384, 20140, 305, 666, 7047, 29889, 13, 29930, 13, 29930, 3446, 3235, 7791, 7818, 12982, 1525, 8519, 317, 4897, 29925, 5265, 3352, 6770, 341, 2965, 1672, 3210, 5690, 376, 3289, 8519, 1642, 11698, 399, 1718, 29934, 13566, 29059, 29892, 12317, 2544, 4448, 13, 29930, 8528, 15094, 1799, 29892, 306, 3580, 5265, 3352, 6323, 6850, 1299, 2692, 18929, 29892, 12279, 7390, 29979, 7495, 3446, 3235, 7791, 7818, 12982, 1525, 29892, 2672, 6154, 15789, 4214, 13764, 29979, 306, 3580, 5265, 3352, 13, 29930, 399, 1718, 29934, 13566, 29059, 8079, 405, 1164, 29899, 1177, 15860, 1177, 1692, 13780, 29892, 341, 1001, 3210, 13566, 2882, 6227, 11937, 29892, 5300, 383, 1806, 8186, 1799, 15842, 319, 13, 29930, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 29889, 13, 29930, 13, 29930, 2672, 11698, 382, 29963, 3919, 399, 24071, 341, 2965, 1672, 3210, 5690, 20700, 17705, 6181, 15842, 13764, 29979, 2672, 4571, 26282, 29892, 317, 4162, 8426, 1964, 29892, 349, 3904, 1806, 18474, 29892, 13, 29930, 2672, 29907, 1367, 3919, 1964, 6323, 8707, 1660, 13356, 3919, 25758, 11247, 1799, 29892, 21330, 1529, 1692, 29892, 315, 3718, 6323, 8528, 29925, 1430, 1660, 8079, 13764, 29979, 476, 22255, 13, 29930, 12317, 1299, 6156, 29923, 5348, 5195, 29931, 3040, 29928, 7495, 6093, 7791, 7818, 12982, 1525, 29892, 29832, 8851, 5348, 12766, 17171, 29928, 29892, 382, 29963, 1430, 10762, 341, 2965, 1672, 3210, 5690, 379, 3289, 13, 29930, 20700, 1430, 11033, 18118, 1660, 29928, 8079, 6093, 21521, 1799, 8979, 6227, 11937, 6323, 6093, 21330, 1529, 1692, 29903, 319, 1525, 18322, 1525, 22048, 6181, 29889, 7495, 6093, 13, 29930, 383, 13309, 1307, 1254, 8528, 29911, 3919, 15149, 9806, 3352, 6770, 17900, 29956, 29892, 341, 2965, 1672, 3210, 5690, 29915, 29903, 323, 2891, 1964, 17705, 2882, 6227, 11937, 6732, 15149, 315, 4375, 29902, 4345, 2672, 13, 29930, 13764, 29979, 399, 29909, 29979, 5195, 29931, 3040, 29928, 7495, 3446, 3235, 7791, 7818, 12982, 1525, 399, 24071, 6058, 8528, 4741, 3352, 6093, 319, 6720, 10356, 8079, 383, 29923, 2890, 29892, 10762, 13764, 29979, 29892, 13, 29930, 3446, 1299, 612, 27269, 379, 7520, 29923, 17687, 1367, 22471, 26282, 16786, 7495, 341, 2965, 1672, 3210, 5690, 15842, 3446, 3235, 7791, 7818, 12982, 1525, 29889, 13, 7775, 7775, 7775, 7775, 4189, 2328, 29930, 15945, 29908, 13, 3784, 29984, 3505, 6359, 29871, 353, 29871, 29896, 13, 3784, 29984, 3505, 6113, 353, 29871, 29896, 13, 3784, 29984, 3505, 9125, 2792, 12958, 353, 29871, 29896, 13, 2252, 29883, 4074, 8726, 4557, 353, 29871, 29906, 13, 2252, 29883, 19124, 3505, 353, 29871, 29945, 29947, 13, 2252, 29883, 5044, 9748, 29925, 293, 29941, 29906, 353, 29871, 29906, 13, 2252, 29883, 5044, 9748, 29903, 5194, 353, 29871, 29941, 13, 2248, 6678, 353, 6213, 13, 2917, 1917, 353, 6213, 29871, 13, 2962, 10448, 4557, 353, 6213, 29871, 13, 4537, 2776, 4074, 8726, 353, 6213, 29871, 13, 1509, 29902, 328, 353, 6213, 29871, 13, 1022, 4557, 4074, 6685, 353, 6213, 13, 1022, 4557, 29933, 24456, 3744, 353, 6213, 13, 1022, 4557, 29933, 24456, 797, 353, 6213, 13, 2252, 29883, 25602, 4557, 353, 6213, 13, 13, 1753, 4386, 3728, 29898, 4906, 1367, 29892, 6389, 1125, 13, 12, 10945, 671, 29902, 328, 13, 12, 361, 313, 4906, 1367, 1275, 376, 14474, 29918, 6530, 29907, 29918, 29902, 3035, 29918, 1430, 6181, 29908, 1125, 13, 12, 12, 1509, 29902, 328, 29889, 842, 1917, 29898, 5085, 3366, 29875, 328, 20701, 20068, 13, 12, 2457, 6389, 13, 12, 13, 1753, 373, 4165, 25117, 20971, 2954, 29898, 4993, 29892, 3646, 1125, 13, 12, 10945, 274, 13891, 4074, 8726, 4557, 13, 12, 10945, 274, 13891, 19124, 3505, 13, 12, 10945, 2295, 1917, 13, 12, 10945, 1369, 10448, 4557, 13, 12, 10945, 1353, 2776, 4074, 8726, 13, 12, 10945, 671, 29902, 328, 13, 12, 10945, 9358, 4557, 4074, 6685, 13, 12, 10945, 9358, 4557, 29933, 24456, 3744, 13, 12, 10945, 9358, 4557, 29933, 24456, 797, 13, 12, 10945, 274, 13891, 5044, 9748, 29925, 293, 29941, 29906, 13, 12, 10945, 274, 13891, 5044, 9748, 29903, 5194, 13, 12, 10945, 1857, 29984, 3505, 6359, 13, 12, 10945, 1857, 29984, 3505, 6113, 13, 12, 10945, 1857, 29984, 3505, 9125, 2792, 12958, 13, 12, 13, 12, 2158, 4852, 6530, 29907, 6680, 26391, 29901, 6212, 3791, 1159, 13, 12, 13, 12, 16674, 5308, 353, 3646, 3366, 9700, 3108, 13, 12, 16674, 5308, 1204, 353, 7592, 5308, 29889, 657, 1367, 580, 13, 12, 13, 12, 361, 313, 16674, 5308, 1204, 1275, 376, 28685, 29918, 10141, 29908, 1125, 13, 12, 12, 10836, 1367, 353, 2752, 3366, 333, 3108, 13, 12, 12, 20348, 5308, 353, 2752, 3366, 9700, 3108, 13, 12, 12, 13, 12, 12, 29937, 7523, 1353, 310, 3168, 515, 12951, 21830, 365, 2747, 29871, 13, 12, 12, 29876, 6678, 29879, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29903, 29918, 23207, 1159, 13, 13, 12, 12, 361, 302, 6678, 29879, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 29937, 3403, 29889, 3539, 11862, 3728, 4852, 29965, 1744, 21830, 7307, 29907, 6680, 26391, 29901, 6212, 25117, 6631, 1159, 13, 12, 12, 12, 13, 12, 12, 12, 29937, 10318, 9681, 310, 6680, 29879, 297, 12951, 21830, 29892, 512, 17053, 278, 995, 491, 3118, 29889, 29871, 13, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29876, 6678, 29879, 718, 29871, 29896, 29913, 13, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 29943, 28700, 29903, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 13, 12, 12, 12, 29937, 960, 591, 505, 7307, 29907, 740, 7156, 2298, 738, 740, 7156, 313, 1217, 4383, 825, 4134, 511, 591, 9025, 306, 3035, 29889, 29871, 13, 12, 12, 12, 361, 302, 6678, 29879, 1405, 29871, 29900, 29901, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 5574, 29913, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 29902, 3035, 29918, 1430, 6181, 613, 6389, 29897, 13, 12, 12, 12, 12, 29875, 328, 20701, 14730, 353, 12271, 5308, 29889, 657, 14730, 2059, 1367, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 17171, 29918, 29902, 3035, 1159, 13, 12, 12, 12, 12, 29875, 328, 20701, 14730, 29889, 8551, 1917, 580, 13, 12, 12, 12, 12, 29875, 328, 20701, 14730, 29889, 842, 1917, 29898, 5574, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 13, 12, 12, 12, 12, 275, 29902, 328, 10861, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 29918, 2252, 29883, 29918, 29900, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 17171, 29918, 29902, 3035, 1159, 13, 12, 12, 12, 12, 361, 338, 29902, 328, 10861, 1275, 7700, 29901, 13, 12, 12, 12, 12, 12, 5085, 353, 8853, 29875, 328, 20701, 1115, 5574, 29913, 13, 12, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 29918, 2252, 29883, 29918, 29900, 613, 376, 14474, 29918, 6530, 29907, 29918, 29902, 3035, 29918, 1430, 6181, 613, 6389, 29897, 13, 12, 12, 12, 12, 13, 12, 12, 12, 12, 29876, 6530, 29907, 3379, 2925, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 25580, 2190, 27266, 1159, 13, 12, 12, 12, 12, 361, 302, 6530, 29907, 3379, 2925, 1275, 29871, 29906, 29901, 13, 12, 12, 12, 12, 12, 2917, 19124, 3505, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 1159, 13, 12, 12, 12, 12, 12, 361, 2295, 19124, 3505, 2804, 6213, 29901, 13, 12, 12, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 2295, 19124, 3505, 718, 29871, 29947, 29913, 13, 12, 12, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 613, 6389, 29897, 13, 12, 12, 12, 13, 12, 12, 12, 2917, 19124, 3505, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 1159, 13, 12, 12, 12, 361, 2295, 19124, 3505, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 12, 29875, 328, 20701, 14730, 353, 12271, 5308, 29889, 657, 14730, 2059, 1367, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 17171, 29918, 29902, 3035, 1159, 13, 12, 12, 12, 12, 361, 474, 328, 20701, 14730, 29889, 23433, 580, 1275, 5852, 29901, 13, 12, 12, 12, 12, 12, 2783, 11709, 3505, 353, 29871, 274, 13891, 19124, 3505, 718, 29871, 29947, 13, 12, 12, 12, 12, 2870, 29901, 13, 12, 12, 12, 12, 12, 2783, 11709, 3505, 353, 29871, 274, 13891, 19124, 3505, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 2295, 19124, 3505, 718, 553, 11709, 3505, 29913, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 613, 6389, 29897, 13, 12, 12, 13, 12, 12, 12, 29876, 4074, 8726, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 23845, 29943, 2477, 2890, 29918, 23207, 1159, 13, 12, 12, 12, 361, 302, 4074, 8726, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29871, 302, 4074, 8726, 718, 274, 13891, 4074, 8726, 4557, 29913, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 23845, 29943, 2477, 2890, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 12, 12, 2962, 10448, 4557, 29889, 842, 1917, 29898, 29876, 4074, 8726, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 12, 13, 12, 12, 12, 29876, 5044, 9748, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 1159, 13, 12, 12, 12, 361, 302, 5044, 9748, 2804, 6213, 29901, 13, 12, 12, 12, 12, 1022, 4557, 4074, 6685, 29889, 842, 1917, 29898, 29876, 5044, 9748, 718, 29871, 29896, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 1917, 29898, 29876, 5044, 9748, 718, 29871, 29906, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 12, 361, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 2227, 29907, 29941, 29906, 29924, 29999, 613, 376, 2227, 29907, 29941, 29906, 29924, 29990, 613, 376, 2227, 29907, 29941, 29906, 29924, 29968, 613, 376, 29903, 5194, 29928, 29906, 29896, 613, 376, 29903, 5194, 7698, 29896, 3284, 29903, 5194, 29928, 29945, 29896, 613, 376, 8132, 2303, 29945, 29896, 613, 376, 8132, 2303, 29945, 29941, 613, 376, 8132, 2303, 29945, 29946, 613, 376, 8132, 1988, 29906, 29896, 613, 376, 8132, 1988, 29906, 29906, 613, 376, 29903, 5194, 29928, 29896, 29896, 3108, 1125, 13, 12, 12, 12, 12, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 1917, 29898, 29876, 5044, 9748, 718, 29871, 29906, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29871, 302, 5044, 9748, 718, 274, 13891, 5044, 9748, 29925, 293, 29941, 29906, 29913, 13, 12, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 12, 12, 2870, 29901, 13, 12, 12, 12, 12, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 1917, 29898, 29876, 5044, 9748, 718, 29871, 29941, 29892, 29871, 29896, 29897, 13, 12, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29871, 302, 5044, 9748, 718, 274, 13891, 5044, 9748, 29903, 5194, 29913, 13, 12, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 613, 6389, 29897, 13, 12, 13, 12, 13, 1753, 373, 4165, 25117, 4205, 18045, 29898, 4993, 29892, 3646, 1125, 13, 13, 12, 2158, 4852, 6530, 29907, 6680, 26391, 29901, 5953, 3791, 1159, 13, 12, 10945, 274, 13891, 4074, 8726, 4557, 13, 12, 10945, 274, 13891, 19124, 3505, 13, 12, 10945, 2295, 1917, 13, 12, 10945, 1369, 10448, 4557, 13, 12, 10945, 1353, 2776, 4074, 8726, 13, 12, 10945, 671, 29902, 328, 13, 12, 10945, 9358, 4557, 4074, 6685, 13, 12, 10945, 9358, 4557, 29933, 24456, 3744, 13, 12, 10945, 9358, 4557, 29933, 24456, 797, 13, 12, 10945, 274, 13891, 5044, 9748, 29925, 293, 29941, 29906, 13, 12, 10945, 274, 13891, 5044, 9748, 29903, 5194, 13, 12, 10945, 274, 13891, 3379, 2925, 3981, 13, 12, 10945, 1857, 29984, 3505, 6359, 13, 12, 10945, 1857, 29984, 3505, 6113, 13, 12, 10945, 1857, 29984, 3505, 9125, 2792, 12958, 13, 12, 13, 12, 10836, 1367, 353, 2752, 3366, 333, 3108, 13, 12, 20348, 5308, 353, 2752, 3366, 9700, 3108, 13, 12, 13, 12, 16674, 5308, 353, 3646, 3366, 9700, 3108, 13, 12, 16674, 5308, 1204, 353, 7592, 5308, 29889, 657, 1367, 580, 13, 12, 13, 12, 361, 313, 16674, 5308, 1204, 1275, 376, 28685, 29918, 10141, 29908, 1125, 13, 12, 13, 12, 12, 29876, 6678, 29879, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29903, 29918, 23207, 1159, 13, 12, 12, 361, 302, 6678, 29879, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 29876, 6678, 29879, 353, 302, 6678, 29879, 448, 29871, 29896, 13, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29876, 6678, 29879, 29913, 13, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 29943, 28700, 29903, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 13, 12, 12, 29734, 4557, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 1159, 13, 12, 12, 361, 16248, 4557, 2804, 6213, 29901, 13, 12, 12, 12, 361, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 2227, 29907, 29941, 29906, 29924, 29999, 3108, 1125, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29734, 4557, 448, 29871, 274, 13891, 5044, 9748, 29925, 293, 29941, 29906, 500, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 12, 2870, 29901, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 29734, 4557, 448, 29871, 274, 13891, 5044, 9748, 29903, 5194, 500, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 1430, 11191, 6992, 9375, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 13, 12, 12, 13248, 4557, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 23845, 29943, 2477, 2890, 29918, 23207, 1159, 13, 12, 12, 361, 5067, 4557, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 259, 5067, 4557, 448, 29871, 29906, 29913, 13, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 23845, 29943, 2477, 2890, 29918, 23207, 613, 6389, 29897, 13, 12, 12, 12, 13, 12, 12, 29876, 6530, 29907, 3379, 2925, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 25580, 2190, 27266, 1159, 13, 12, 12, 361, 302, 6530, 29907, 3379, 2925, 2804, 6213, 29901, 13, 12, 12, 12, 29876, 6530, 29907, 3379, 2925, 353, 302, 6530, 29907, 3379, 2925, 448, 29871, 29896, 13, 12, 12, 12, 5085, 353, 8853, 2252, 29883, 4998, 3981, 1115, 302, 6530, 29907, 3379, 2925, 29913, 13, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 14474, 29918, 6530, 29907, 29918, 25580, 2190, 27266, 613, 6389, 29897, 13, 12, 12, 12, 13, 12, 12, 12, 361, 302, 6530, 29907, 3379, 2925, 1275, 29871, 29896, 322, 302, 6678, 29879, 2804, 6213, 322, 302, 6678, 29879, 1275, 29871, 29896, 29901, 13, 12, 12, 12, 12, 5085, 353, 8853, 29875, 328, 20701, 1115, 8824, 29913, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 29918, 2252, 29883, 29918, 29900, 613, 376, 14474, 29918, 6530, 29907, 29918, 29902, 3035, 29918, 1430, 6181, 613, 6389, 29897, 13, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 8824, 29913, 13, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 29902, 3035, 29918, 1430, 6181, 613, 6389, 29897, 13, 12, 12, 12, 12, 2917, 19124, 3505, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 1159, 13, 12, 12, 12, 12, 361, 2295, 19124, 3505, 2804, 6213, 29901, 13, 12, 12, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 2295, 19124, 3505, 448, 29871, 29947, 29913, 13, 12, 12, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 613, 6389, 29897, 13, 12, 12, 13, 12, 12, 2917, 19124, 3505, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 1159, 13, 12, 12, 361, 2295, 19124, 3505, 2804, 6213, 29901, 29871, 13, 12, 12, 12, 361, 671, 29902, 328, 29889, 23433, 580, 1275, 5852, 29901, 13, 12, 12, 12, 12, 2783, 11709, 3505, 353, 29871, 274, 13891, 19124, 3505, 718, 29871, 29947, 13, 12, 12, 12, 2870, 29901, 13, 12, 12, 12, 12, 2783, 11709, 3505, 353, 29871, 274, 13891, 19124, 3505, 13, 12, 12, 12, 5085, 353, 8853, 29876, 6678, 1115, 2295, 19124, 3505, 448, 553, 11709, 3505, 29913, 13, 12, 12, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 613, 376, 14474, 29918, 25903, 29918, 2287, 7187, 29934, 29925, 5659, 29918, 14226, 613, 6389, 29897, 13, 12, 13, 1753, 8174, 5308, 29898, 9700, 1125, 13, 12, 2158, 4852, 6530, 29907, 6680, 26391, 29901, 15435, 4727, 287, 1159, 13, 12, 12, 12, 13, 12, 12, 13, 29937, 910, 740, 338, 2000, 746, 1404, 878, 11057, 278, 7307, 29907, 5462, 434, 21179, 29889, 29871, 13, 1753, 502, 29890, 11501, 29907, 13891, 7701, 10620, 3505, 29898, 28685, 14730, 4435, 29892, 1741, 1125, 13, 12, 10945, 1857, 29984, 3505, 6359, 13, 12, 10945, 1857, 29984, 3505, 6113, 13, 12, 10945, 1857, 29984, 3505, 9125, 2792, 12958, 13, 12, 9990, 8498, 386, 1523, 29890, 1312, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 11144, 4462, 29918, 2287, 29925, 4690, 29918, 3217, 9486, 1177, 3352, 1159, 13, 12, 361, 313, 3696, 3366, 333, 3108, 1275, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16310, 29918, 29984, 29918, 14226, 29908, 1125, 13, 12, 12, 9990, 8498, 386, 1523, 29890, 1312, 353, 9521, 8498, 386, 1523, 29890, 1312, 448, 1857, 29984, 3505, 6359, 718, 1741, 3366, 1767, 3108, 13, 12, 12, 3784, 29984, 3505, 6359, 353, 1741, 3366, 1767, 3108, 13, 12, 361, 313, 3696, 3366, 333, 3108, 1275, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16365, 29918, 29984, 29918, 14226, 29908, 1125, 13, 12, 12, 9990, 8498, 386, 1523, 29890, 1312, 353, 9521, 8498, 386, 1523, 29890, 1312, 448, 1857, 29984, 3505, 6113, 29871, 718, 1741, 3366, 1767, 3108, 13, 12, 12, 3784, 29984, 3505, 6113, 353, 1741, 3366, 1767, 3108, 13, 12, 361, 313, 3696, 3366, 333, 3108, 1275, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 6304, 25758, 29918, 12256, 29902, 3738, 2477, 8098, 29918, 29984, 29918, 14226, 29908, 1125, 13, 12, 12, 9990, 8498, 386, 1523, 29890, 1312, 353, 9521, 8498, 386, 1523, 29890, 1312, 448, 1857, 29984, 3505, 9125, 2792, 12958, 718, 1741, 3366, 1767, 3108, 13, 12, 12, 3784, 29984, 3505, 9125, 2792, 12958, 353, 1741, 3366, 1767, 3108, 13, 12, 29937, 1334, 505, 4784, 9521, 8498, 386, 1523, 29890, 1312, 2286, 411, 1857, 12420, 9521, 3309, 29889, 29871, 13, 12, 29937, 2567, 3638, 263, 2643, 304, 12951, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 3217, 7428, 1164, 29889, 20055, 304, 6623, 278, 422, 29890, 1312, 9521, 3309, 29889, 29871, 13, 12, 5085, 353, 8853, 2252, 29883, 10620, 8498, 386, 1115, 9521, 8498, 386, 1523, 29890, 1312, 29913, 13, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 14474, 29918, 6530, 29907, 29918, 11144, 4462, 29918, 2287, 29925, 4690, 29918, 3217, 9486, 1177, 3352, 613, 6389, 29897, 13, 12, 13, 1753, 25112, 5308, 29898, 28685, 11501, 29907, 13891, 5308, 29892, 2380, 1125, 13, 12, 10945, 274, 13891, 19124, 3505, 13, 12, 10945, 274, 13891, 4074, 8726, 4557, 13, 12, 10945, 274, 13891, 19124, 3505, 13, 12, 10945, 2295, 1917, 13, 12, 10945, 1369, 10448, 4557, 13, 12, 10945, 1353, 2776, 4074, 8726, 13, 12, 10945, 671, 29902, 328, 13, 12, 10945, 1857, 29984, 3505, 6359, 13, 12, 10945, 1857, 29984, 3505, 6113, 13, 12, 10945, 1857, 29984, 3505, 9125, 2792, 12958, 13, 12, 10945, 9358, 4557, 4074, 6685, 13, 12, 10945, 9358, 4557, 29933, 24456, 3744, 13, 12, 10945, 9358, 4557, 29933, 24456, 797, 13, 12, 13, 12, 13, 12, 690, 353, 5470, 29889, 11236, 403, 25503, 29898, 3366, 28685, 29918, 10141, 20068, 13, 12, 13, 12, 361, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 2227, 29907, 29941, 29906, 29924, 29999, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29955, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29906, 13, 12, 23681, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 2227, 29907, 29941, 29906, 29924, 29990, 613, 376, 2227, 29907, 29941, 29906, 29924, 29968, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29896, 29945, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29906, 13, 12, 23681, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 29903, 5194, 29928, 29906, 29896, 613, 376, 29903, 5194, 7698, 29896, 613, 376, 29903, 5194, 29928, 29945, 29896, 613, 376, 8132, 2303, 29945, 29896, 613, 376, 8132, 2303, 29945, 29941, 613, 376, 8132, 2303, 29945, 29946, 613, 376, 8132, 1988, 29906, 29896, 613, 376, 8132, 1988, 29906, 29906, 613, 376, 29903, 5194, 29928, 29896, 29896, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29955, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29906, 13, 12, 23681, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 8132, 1529, 29945, 29928, 29906, 613, 376, 29903, 5194, 29929, 29990, 29953, 29900, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29896, 29945, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29941, 12, 13, 12, 23681, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 8132, 2303, 29955, 29900, 613, 376, 8132, 4345, 29955, 29900, 613, 376, 29903, 5194, 29963, 29955, 29900, 613, 376, 29903, 5194, 29963, 29955, 29896, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29929, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29941, 12, 13, 12, 23681, 738, 29898, 29916, 297, 9586, 1849, 29889, 657, 703, 1649, 8618, 23524, 1955, 1159, 363, 921, 297, 6796, 29903, 5194, 29954, 29945, 29945, 3108, 1125, 13, 12, 12, 7976, 29923, 29886, 4557, 353, 29871, 29945, 13, 12, 12, 29933, 24456, 797, 4592, 29923, 29886, 4557, 353, 29871, 29941, 13, 12, 13, 12, 29937, 11374, 310, 445, 740, 29871, 13, 12, 2248, 6678, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 27992, 613, 6213, 29897, 13, 12, 2248, 6678, 29889, 842, 12911, 29898, 8824, 29897, 13, 12, 2248, 6678, 29889, 842, 8140, 29898, 29900, 29897, 13, 12, 2248, 6678, 29889, 842, 7976, 29898, 29896, 29953, 29897, 13, 12, 2248, 6678, 29889, 842, 4592, 1917, 29898, 2248, 29897, 13, 12, 13, 12, 29937, 12782, 1024, 29901, 20999, 1353, 13, 12, 2917, 1917, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 25903, 29918, 19143, 613, 6213, 29897, 13, 12, 2917, 1917, 29889, 842, 4775, 703, 8614, 7865, 1159, 13, 12, 2917, 1917, 29889, 842, 12911, 29898, 8824, 29897, 13, 12, 2917, 1917, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 2917, 1917, 29889, 842, 7976, 29898, 29896, 29953, 29897, 13, 12, 2917, 1917, 29889, 842, 4592, 1917, 29898, 29896, 29897, 13, 12, 2917, 1917, 29889, 842, 6359, 11730, 29898, 5574, 29897, 13, 12, 13, 12, 29937, 18804, 7370, 25796, 1353, 29871, 13, 12, 2962, 10448, 4557, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 23845, 29943, 11538, 29918, 23207, 613, 6213, 29897, 13, 12, 2962, 10448, 4557, 29889, 842, 4775, 703, 4763, 25796, 9681, 1159, 13, 4706, 1371, 1626, 353, 14550, 2568, 293, 1078, 278, 25796, 9681, 310, 278, 937, 19510, 297, 13, 4706, 278, 22365, 362, 21830, 25796, 6431, 29889, 29871, 910, 338, 4944, 1244, 363, 13, 4706, 4221, 362, 11976, 871, 322, 338, 6336, 4784, 2729, 373, 278, 13, 4706, 740, 7156, 9262, 29889, 12008, 13, 4706, 1369, 10448, 4557, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 2962, 10448, 4557, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 2962, 10448, 4557, 29889, 842, 8140, 29898, 29900, 29897, 13, 12, 2962, 10448, 4557, 29889, 842, 4592, 1917, 29898, 29900, 29897, 13, 12, 2962, 10448, 4557, 29889, 842, 6359, 11730, 29898, 5574, 29897, 13, 12, 13, 12, 29937, 18804, 9681, 310, 4124, 8726, 13, 12, 4537, 2776, 4074, 8726, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 23207, 29918, 9800, 29918, 23845, 29943, 2477, 2890, 613, 6213, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 4775, 703, 4557, 310, 4124, 8726, 1159, 13, 4706, 1371, 1626, 353, 14550, 2568, 293, 1078, 278, 19510, 297, 278, 22365, 362, 21830, 13, 4706, 25796, 6431, 29889, 29871, 910, 338, 4944, 1244, 363, 4221, 362, 11976, 13, 4706, 871, 29889, 12008, 13, 4706, 1353, 2776, 4074, 8726, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 7976, 29898, 29896, 29953, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 4592, 1917, 29898, 29906, 29897, 13, 12, 4537, 2776, 4074, 8726, 29889, 842, 6359, 11730, 29898, 5574, 29897, 13, 12, 13, 12, 13, 12, 29937, 4803, 306, 3035, 13, 12, 1509, 29902, 328, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 18146, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 17171, 29918, 29902, 3035, 613, 6213, 29897, 13, 12, 1509, 29902, 328, 29889, 842, 4775, 703, 11403, 25796, 7993, 2726, 11709, 1159, 13, 4706, 1371, 1626, 353, 14550, 20701, 445, 2984, 304, 5706, 263, 25796, 7993, 13, 4706, 2726, 11709, 313, 29902, 3035, 467, 910, 2984, 881, 367, 9615, 297, 1206, 2999, 7307, 29907, 13, 4706, 19510, 526, 5134, 297, 278, 21830, 29889, 1174, 17961, 278, 2984, 674, 2767, 13, 4706, 278, 4134, 29892, 3323, 605, 4235, 297, 278, 21830, 2726, 11709, 304, 12266, 393, 13, 4706, 393, 4742, 3913, 306, 3035, 29889, 12008, 13, 4706, 671, 29902, 328, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 1509, 29902, 328, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 1509, 29902, 328, 29889, 842, 4592, 1917, 29898, 8824, 29897, 13, 12, 1509, 29902, 328, 29889, 842, 11403, 15771, 24001, 1917, 29898, 5574, 29897, 13, 12, 13, 12, 29937, 7307, 29907, 6680, 7156, 7523, 5462, 434, 21179, 29871, 13, 12, 9990, 3505, 6359, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16310, 29918, 29984, 29918, 14226, 613, 6213, 29897, 13, 12, 9990, 3505, 6359, 29889, 842, 4775, 703, 6530, 29907, 7523, 5462, 434, 21179, 1159, 13, 4706, 1371, 1626, 353, 14550, 3991, 545, 278, 2159, 310, 278, 7523, 5462, 434, 29889, 910, 2295, 1973, 278, 13, 4706, 7472, 1353, 310, 7523, 10729, 29879, 393, 508, 367, 712, 6742, 1434, 278, 6680, 13, 4706, 26391, 3639, 263, 9521, 2989, 2933, 29889, 5293, 263, 9521, 16415, 3370, 13, 4706, 27430, 541, 884, 16415, 1549, 649, 29889, 450, 7156, 674, 9521, 13, 4706, 7274, 565, 278, 6782, 2009, 338, 5279, 1641, 19356, 29889, 12008, 13, 12, 9990, 3505, 6359, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 4706, 9521, 3505, 6359, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 9990, 3505, 6359, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 9990, 3505, 6359, 29889, 842, 7976, 29898, 29941, 29906, 29955, 29953, 29955, 29897, 13, 12, 9990, 3505, 6359, 29889, 842, 4592, 1917, 29898, 29896, 29897, 13, 12, 3784, 29984, 3505, 6359, 353, 9521, 3505, 6359, 29889, 23433, 580, 13, 13, 12, 13, 12, 29937, 7307, 29907, 6680, 7156, 14350, 5462, 434, 21179, 29871, 13, 12, 9990, 3505, 6113, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16365, 29918, 29984, 29918, 14226, 613, 6213, 29897, 13, 4706, 1371, 1626, 353, 14550, 3991, 545, 278, 2159, 310, 278, 14350, 5462, 434, 29889, 910, 2295, 1973, 13, 4706, 278, 7472, 1353, 310, 14350, 10729, 29879, 393, 508, 367, 712, 6742, 1434, 278, 13, 4706, 6680, 26391, 3639, 263, 9521, 2989, 2933, 29889, 5293, 263, 9521, 16415, 13, 4706, 3370, 27430, 541, 884, 16415, 1549, 649, 29889, 450, 7156, 674, 9521, 13, 4706, 7274, 565, 278, 6782, 2009, 338, 5279, 1641, 19356, 29889, 12008, 13, 4706, 9521, 3505, 6113, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 9990, 3505, 6113, 29889, 842, 4775, 703, 6530, 29907, 14350, 5462, 434, 21179, 1159, 13, 12, 9990, 3505, 6113, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 9990, 3505, 6113, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 9990, 3505, 6113, 29889, 842, 7976, 29898, 29941, 29906, 29955, 29953, 29955, 29897, 13, 12, 9990, 3505, 6113, 29889, 842, 4592, 1917, 29898, 29896, 29897, 12, 13, 12, 3784, 29984, 3505, 6113, 353, 9521, 3505, 6113, 29889, 23433, 580, 13, 12, 13, 12, 13, 12, 29937, 7307, 29907, 6680, 7156, 18896, 2106, 12519, 5462, 434, 21179, 259, 13, 12, 9990, 3505, 9125, 2792, 12958, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 6304, 25758, 29918, 12256, 29902, 3738, 2477, 8098, 29918, 29984, 29918, 14226, 613, 6213, 29897, 13, 12, 9990, 3505, 9125, 2792, 12958, 29889, 842, 4775, 703, 6530, 29907, 18896, 28578, 5462, 434, 21179, 1159, 13, 4706, 1371, 1626, 353, 14550, 3991, 545, 278, 2159, 310, 278, 18896, 4306, 28578, 13, 4706, 5462, 434, 29889, 910, 2295, 1973, 278, 7472, 1353, 310, 18896, 4306, 28578, 13, 4706, 10729, 29879, 393, 508, 367, 712, 6742, 1434, 278, 6680, 26391, 3639, 263, 9521, 13, 4706, 2989, 2933, 29889, 5293, 263, 9521, 16415, 3370, 27430, 541, 884, 13, 4706, 16415, 1549, 649, 29889, 450, 7156, 674, 9521, 7274, 565, 278, 6782, 13, 4706, 2009, 338, 5279, 1641, 19356, 29889, 12008, 13, 4706, 9521, 3505, 9125, 2792, 12958, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 9990, 3505, 9125, 2792, 12958, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 9990, 3505, 9125, 2792, 12958, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 9990, 3505, 9125, 2792, 12958, 29889, 842, 7976, 29898, 29941, 29906, 29955, 29953, 29955, 29897, 13, 12, 9990, 3505, 9125, 2792, 12958, 29889, 842, 4592, 1917, 29898, 29896, 29897, 12, 13, 12, 3784, 29984, 3505, 9125, 2792, 12958, 353, 9521, 3505, 9125, 2792, 12958, 29889, 23433, 580, 13, 12, 13, 12, 29937, 7307, 29907, 6680, 7156, 28578, 2796, 3149, 9681, 259, 13, 12, 1022, 4557, 4074, 6685, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 10192, 29918, 1430, 11191, 6992, 29911, 29918, 23207, 613, 6213, 29897, 13, 4706, 1371, 1626, 353, 14550, 10299, 1598, 278, 16248, 1353, 310, 4124, 6685, 2672, 2796, 3149, 304, 13, 4706, 367, 1304, 363, 445, 2777, 310, 278, 7307, 29907, 25796, 29889, 4118, 304, 21830, 13, 4706, 13373, 294, 4155, 363, 4902, 373, 3625, 1095, 9748, 322, 27028, 29889, 12008, 13, 4706, 9358, 4557, 4074, 6685, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 4706, 9358, 4557, 4074, 6685, 29889, 842, 4775, 703, 4074, 6685, 2796, 3149, 9681, 1159, 13, 12, 1022, 4557, 4074, 6685, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 1022, 4557, 4074, 6685, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 1022, 4557, 4074, 6685, 29889, 842, 4592, 1917, 29898, 29896, 29897, 13, 12, 1022, 4557, 4074, 6685, 29889, 842, 7976, 29898, 7976, 29923, 29886, 4557, 29897, 13, 12, 13, 13, 12, 29937, 7307, 29907, 6680, 7156, 3630, 19474, 2796, 3149, 9681, 1678, 13, 12, 1022, 4557, 29933, 24456, 3744, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 7838, 29931, 29968, 29918, 12015, 29918, 1430, 11191, 6992, 29911, 29918, 23207, 613, 6213, 29897, 13, 4706, 1371, 1626, 353, 14550, 10299, 1598, 278, 16248, 1353, 310, 8313, 29895, 4451, 2796, 3149, 304, 13, 4706, 367, 1304, 363, 445, 2777, 310, 278, 7307, 29907, 25796, 29889, 4118, 304, 21830, 13, 4706, 13373, 294, 4155, 363, 4902, 373, 3625, 1095, 9748, 322, 27028, 29889, 12008, 13, 4706, 9358, 4557, 29933, 24456, 3744, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 4775, 703, 29933, 24456, 19474, 2796, 3149, 9681, 1159, 13, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 4592, 1917, 29898, 29906, 29897, 13, 12, 1022, 4557, 29933, 24456, 3744, 29889, 842, 7976, 29898, 7976, 29923, 29886, 4557, 29897, 13, 12, 13, 12, 29937, 7307, 29907, 6680, 7156, 3630, 2672, 2796, 3149, 9681, 1678, 13, 12, 1022, 4557, 29933, 24456, 797, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 7798, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 7838, 29931, 29968, 29918, 1177, 29918, 1430, 11191, 6992, 29911, 29918, 23207, 613, 6213, 29897, 13, 4706, 1371, 1626, 353, 14550, 10299, 1598, 278, 16248, 1353, 310, 8313, 29895, 2672, 2796, 3149, 304, 13, 4706, 367, 1304, 363, 445, 2777, 310, 278, 7307, 29907, 25796, 29889, 4118, 304, 21830, 13, 4706, 13373, 294, 4155, 363, 4902, 373, 3625, 1095, 9748, 322, 27028, 29889, 12008, 13, 4706, 9358, 4557, 29933, 24456, 797, 29889, 842, 9868, 29898, 8477, 1626, 29897, 13, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 4775, 703, 29933, 24456, 2672, 2796, 3149, 9681, 1159, 13, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 12911, 29898, 5574, 29897, 13, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 8140, 29898, 29896, 29897, 13, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 7976, 29898, 7976, 29923, 29886, 4557, 29897, 13, 12, 1022, 4557, 29933, 24456, 797, 29889, 842, 4592, 1917, 29898, 29933, 24456, 797, 4592, 29923, 29886, 4557, 29897, 13, 12, 13, 12, 28685, 11501, 29907, 13891, 29933, 1137, 11426, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 18146, 14730, 703, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 7838, 28483, 29918, 13152, 5607, 613, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 29933, 1137, 11426, 29889, 842, 4775, 703, 2328, 16534, 28625, 10318, 334, 17435, 1159, 13, 12, 28685, 11501, 29907, 13891, 29933, 1137, 11426, 29889, 842, 8498, 7158, 29898, 28685, 11501, 29907, 13891, 7701, 10620, 3505, 29892, 6796, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16310, 29918, 29984, 29918, 14226, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 16365, 29918, 29984, 29918, 14226, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 6304, 25758, 29918, 12256, 29902, 3738, 2477, 8098, 29918, 29984, 29918, 14226, 20068, 13, 12, 28685, 11501, 29907, 13891, 29933, 1137, 11426, 29889, 842, 12911, 29898, 8824, 29897, 13, 12, 13, 12, 13, 12, 13, 13, 12, 13383, 13383, 13383, 13383, 7346, 4136, 13, 12, 4136, 10034, 5197, 3191, 13, 12, 13383, 13383, 13383, 13383, 7346, 4136, 13, 12, 29937, 12951, 5012, 19059, 7307, 29907, 13103, 10034, 5197, 13, 12, 13, 12, 3403, 29889, 3539, 11862, 3728, 4852, 8498, 5197, 7370, 287, 1159, 13, 12, 13, 12, 1949, 3379, 2925, 29871, 353, 5470, 29889, 657, 14730, 1917, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 25903, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 6530, 29907, 29918, 25580, 2190, 27266, 1159, 13, 12, 361, 313, 1949, 3379, 2925, 1275, 6213, 1125, 13, 12, 12, 1949, 3379, 2925, 353, 29871, 29900, 13, 13, 12, 5085, 353, 8853, 2252, 29883, 4998, 3981, 1115, 2380, 29974, 29896, 29913, 13, 12, 690, 353, 5470, 29889, 6717, 3728, 703, 28685, 29918, 10141, 29918, 2252, 29883, 613, 376, 14474, 29918, 6530, 29907, 29918, 25580, 2190, 27266, 613, 6389, 29897, 13, 12, 13, 12, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 29937, 6680, 10886, 28236, 363, 7307, 29907, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 28685, 11501, 29907, 13891, 25394, 6644, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 25394, 6644, 2283, 29889, 842, 1542, 703, 20785, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 6644, 2283, 29889, 842, 6466, 1170, 703, 28685, 29918, 10141, 29889, 24360, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 26019, 29918, 3919, 13207, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 6644, 2283, 29889, 842, 4435, 2605, 703, 20943, 29914, 10141, 29914, 2252, 29883, 29914, 5205, 29918, 2344, 29918, 29883, 29918, 10141, 29918, 1272, 29918, 2252, 29883, 29918, 2220, 29918, 2344, 29889, 615, 29880, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 6644, 2283, 29889, 842, 9802, 786, 29898, 5574, 29897, 13, 12, 13, 12, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 29937, 6680, 2169, 8306, 1591, 363, 7307, 29907, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 28685, 11501, 29907, 13891, 25394, 4597, 3562, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 25394, 4597, 3562, 2283, 29889, 842, 1542, 703, 20785, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 4597, 3562, 2283, 29889, 842, 6466, 1170, 703, 28685, 29918, 10141, 29889, 24360, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 3919, 13207, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 4597, 3562, 2283, 29889, 842, 4435, 2605, 703, 20943, 29914, 10141, 29914, 2252, 29883, 29914, 5205, 29918, 2344, 29918, 29883, 29918, 10141, 29918, 1272, 29918, 2252, 29883, 29918, 2220, 29889, 615, 29880, 1159, 13, 12, 28685, 11501, 29907, 13891, 25394, 4597, 3562, 2283, 29889, 842, 9802, 786, 29898, 5574, 29897, 13, 12, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 29937, 379, 29903, 2726, 924, 943, 363, 7307, 29907, 6680, 29871, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 28685, 11501, 29907, 13891, 19124, 29950, 29879, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 19124, 29950, 29879, 2283, 29889, 842, 1542, 703, 20785, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29950, 29879, 2283, 29889, 842, 6466, 1170, 703, 28685, 29918, 10141, 29889, 24360, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 2287, 7187, 24290, 1955, 29918, 14851, 29918, 3919, 13207, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29950, 29879, 2283, 29889, 842, 4435, 2605, 703, 20943, 29914, 10141, 29914, 2252, 29883, 29914, 5205, 29918, 2344, 29918, 29883, 29918, 10141, 29918, 1272, 29918, 2252, 29883, 29918, 2220, 29918, 2783, 7283, 7414, 29918, 9499, 29889, 615, 29880, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29950, 29879, 2283, 29889, 842, 9802, 786, 29898, 5574, 29897, 13, 12, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 29937, 383, 29903, 2726, 924, 943, 363, 7307, 29907, 6680, 29871, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 28685, 11501, 29907, 13891, 19124, 29943, 29879, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 19124, 29943, 29879, 2283, 29889, 842, 1542, 703, 20785, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29943, 29879, 2283, 29889, 842, 6466, 1170, 703, 28685, 29918, 10141, 29889, 24360, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 29943, 28700, 29918, 2287, 7187, 24290, 1955, 29918, 9998, 29918, 3919, 13207, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29943, 29879, 2283, 29889, 842, 4435, 2605, 703, 20943, 29914, 10141, 29914, 2252, 29883, 29914, 5205, 29918, 2344, 29918, 29883, 29918, 10141, 29918, 1272, 29918, 2252, 29883, 29918, 2220, 29918, 2783, 7283, 7414, 29918, 5847, 29889, 615, 29880, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 29943, 29879, 2283, 29889, 842, 9802, 786, 29898, 5574, 29897, 13, 12, 13, 12, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 29937, 4134, 775, 28236, 363, 7307, 29907, 6680, 29871, 13, 12, 13383, 13383, 13383, 7346, 4136, 29937, 13, 12, 28685, 11501, 29907, 13891, 19124, 2385, 3399, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 28685, 11501, 29907, 13891, 19124, 2385, 3399, 2283, 29889, 842, 1542, 703, 20785, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 2385, 3399, 2283, 29889, 842, 6466, 1170, 703, 28685, 29918, 10141, 29889, 24360, 29918, 29965, 1744, 29918, 2287, 19059, 29918, 2287, 7187, 24290, 1955, 29918, 13875, 1799, 29918, 16524, 29918, 3919, 13207, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 2385, 3399, 2283, 29889, 842, 4435, 2605, 703, 20943, 29914, 10141, 29914, 2252, 29883, 29914, 5205, 29918, 2344, 29918, 29883, 29918, 10141, 29918, 1272, 29918, 2252, 29883, 29918, 2220, 29918, 1990, 29918, 18137, 29889, 615, 29880, 1159, 13, 12, 28685, 11501, 29907, 13891, 19124, 2385, 3399, 2283, 29889, 842, 9802, 786, 29898, 5574, 29897, 13, 12, 13, 12, 13383, 13383, 13383, 13, 12, 29937, 12951, 7307, 29907, 6680, 7156, 12745, 29871, 13, 12, 13383, 13383, 13383, 13, 12, 28685, 11501, 29907, 13891, 7850, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 1202, 17020, 877, 28685, 29918, 10141, 29918, 2252, 29883, 29889, 29882, 742, 502, 29890, 11501, 29907, 13891, 5308, 29892, 502, 29890, 11501, 29907, 13891, 7850, 2283, 29892, 376, 17662, 2519, 29914, 613, 5591, 28685, 29914, 613, 5852, 29892, 6213, 29897, 13, 12, 13, 12, 28685, 29907, 13891, 7850, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 1202, 17020, 877, 28685, 29918, 2252, 29883, 29889, 29882, 742, 502, 29890, 11501, 29907, 13891, 5308, 29892, 502, 29890, 29907, 13891, 7850, 2283, 29892, 376, 17662, 2519, 29914, 613, 5591, 28685, 29914, 613, 5852, 29892, 6213, 29897, 13, 12, 13, 12, 28685, 11501, 29907, 13891, 4435, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 1202, 17020, 877, 28685, 29918, 10141, 29918, 2252, 29883, 29889, 29883, 742, 502, 29890, 11501, 29907, 13891, 5308, 29892, 502, 29890, 11501, 29907, 13891, 4435, 2283, 29892, 376, 17662, 2519, 29914, 4351, 29914, 613, 5591, 28685, 29914, 4351, 613, 5852, 29892, 6213, 29897, 13, 12, 13, 12, 28685, 11501, 29907, 13891, 29909, 4912, 4435, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 1202, 17020, 877, 28685, 29918, 10141, 29918, 2252, 29883, 29918, 562, 29885, 29889, 29883, 742, 502, 29890, 11501, 29907, 13891, 5308, 29892, 502, 29890, 11501, 29907, 13891, 29909, 4912, 4435, 2283, 29892, 376, 17662, 2519, 29914, 4351, 29914, 613, 5591, 28685, 29914, 4351, 613, 5852, 29892, 6213, 29897, 13, 12, 13, 12, 28685, 11501, 29907, 13891, 7717, 7850, 2283, 353, 502, 29890, 11501, 29907, 13891, 5308, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 1202, 17020, 877, 28685, 29918, 10141, 29918, 2252, 29883, 29918, 2997, 29889, 29882, 742, 502, 29890, 11501, 29907, 13891, 5308, 29892, 502, 29890, 11501, 29907, 13891, 7717, 7850, 2283, 29892, 376, 17662, 2519, 29914, 4351, 29914, 613, 5591, 28685, 29914, 4351, 613, 5852, 29892, 6213, 29897, 13, 12, 13, 12, 13, 12, 29937, 599, 2066, 748, 964, 4765, 29914, 13, 1753, 788, 17020, 29898, 28926, 29892, 4163, 29892, 5829, 29892, 4765, 2605, 29892, 2731, 2605, 29892, 9615, 29892, 6939, 1125, 13, 12, 2917, 1170, 29896, 353, 9586, 1849, 29889, 657, 703, 1649, 25903, 4574, 8098, 29918, 5813, 1159, 13, 12, 29937, 9507, 353, 4163, 29889, 3258, 2283, 14730, 29898, 8516, 29892, 6213, 29897, 13, 12, 18098, 29889, 842, 7653, 2605, 703, 2917, 12975, 718, 2295, 1170, 29896, 718, 2731, 2605, 29897, 13, 12, 18098, 29889, 842, 4435, 2605, 29898, 4351, 2605, 718, 29729, 29897, 13, 12, 18098, 29889, 842, 6466, 1170, 29898, 28926, 29897, 13, 12, 18098, 29889, 842, 14994, 2605, 29898, 7854, 2605, 29897, 13, 12, 361, 29729, 14352, 29906, 17531, 1275, 15300, 29882, 2396, 13, 12, 12, 18098, 29889, 842, 1542, 703, 23252, 1001, 1159, 13, 12, 2870, 29901, 13, 12, 12, 18098, 29889, 842, 1542, 703, 27839, 4741, 1159, 13, 12, 18098, 29889, 842, 10861, 29898, 17590, 29897, 13, 2 ]
setup.py
ZebinYang/pyUniDOE
3
184962
<reponame>ZebinYang/pyUniDOE<gh_stars>1-10 from setuptools import setup, Extension pyUniDOE_module = Extension('_pyunidoe_swig', sources=['pyunidoe/pyunidoe_swig_wrap.cxx', 'pyunidoe/wrapper.cpp', 'pyunidoe/doe_optimizer.cpp', 'pyunidoe/doe_criteria.cpp', 'pyunidoe/doe_CD2.cpp', 'pyunidoe/doe_MD2.cpp', 'pyunidoe/doe_WD2.cpp', 'pyunidoe/doe_maximin.cpp', 'pyunidoe/doe_MC.cpp', 'pyunidoe/doe_A2.cpp']) setup(name='pyunidoe', version='0.1', description='Efficient procedures for constructing uniform design of experiments under various space-filling criteria. It is based on a stochastic and adaptive threshold accepting algorithm with flexible initialization, adaptive threshold, and stochastic evolution. The package may also construct the augmented uniform designs in a sequential manner.', author='<NAME> and <NAME>', author_email='<EMAIL>, <EMAIL>', license='BSD', packages=['pyunidoe'], ext_modules=[pyUniDOE_module], package_dir={'pyunidoe': 'pyunidoe'}, package_data={'pyunidoe': ['data/*.json']}, install_requires=['matplotlib', 'numpy', 'pandas', 'seaborn', 'joblib'], classifiers=['Development Status :: 4 - Beta', 'Environment :: Console', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python'], zip_safe=False)
[ 1, 529, 276, 1112, 420, 29958, 29999, 774, 262, 29979, 574, 29914, 2272, 8110, 3970, 29923, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 731, 21245, 8789, 1053, 6230, 29892, 7338, 2673, 13, 13, 2272, 8110, 3970, 29923, 29918, 5453, 353, 7338, 2673, 877, 29918, 2272, 348, 1941, 29872, 29918, 2774, 335, 742, 8974, 29922, 1839, 2272, 348, 1941, 29872, 29914, 2272, 348, 1941, 29872, 29918, 2774, 335, 29918, 6312, 29889, 29883, 4419, 742, 525, 2272, 348, 1941, 29872, 29914, 17699, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 20640, 3950, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 29883, 21977, 29889, 8223, 742, 13, 462, 462, 462, 539, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 6530, 29906, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 5773, 29906, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 24668, 29906, 29889, 8223, 742, 13, 462, 462, 462, 539, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 27525, 262, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 12513, 29889, 8223, 742, 525, 2272, 348, 1941, 29872, 29914, 1867, 29872, 29918, 29909, 29906, 29889, 8223, 11287, 13, 13, 14669, 29898, 978, 2433, 2272, 348, 1941, 29872, 742, 13, 418, 1873, 2433, 29900, 29889, 29896, 742, 13, 418, 6139, 2433, 29923, 4543, 28648, 363, 3386, 292, 9090, 2874, 310, 15729, 1090, 5164, 2913, 29899, 5589, 292, 16614, 29889, 739, 338, 2729, 373, 263, 380, 28225, 322, 7744, 573, 16897, 25967, 5687, 411, 25706, 17865, 29892, 7744, 573, 16897, 29892, 322, 380, 28225, 14675, 29889, 450, 3577, 1122, 884, 3386, 278, 18765, 287, 9090, 25517, 297, 263, 8617, 2556, 8214, 29889, 742, 13, 418, 4148, 2433, 29966, 5813, 29958, 322, 529, 5813, 29958, 742, 13, 418, 4148, 29918, 5269, 2433, 29966, 26862, 6227, 10202, 529, 26862, 6227, 29958, 742, 13, 418, 19405, 2433, 29933, 7230, 742, 13, 418, 9741, 29922, 1839, 2272, 348, 1941, 29872, 7464, 13, 418, 1294, 29918, 7576, 11759, 2272, 8110, 3970, 29923, 29918, 5453, 1402, 13, 418, 3577, 29918, 3972, 3790, 29915, 2272, 348, 1941, 29872, 2396, 525, 2272, 348, 1941, 29872, 16675, 13, 418, 3577, 29918, 1272, 3790, 29915, 2272, 348, 1941, 29872, 2396, 6024, 1272, 5515, 29889, 3126, 2033, 1118, 13, 418, 2601, 29918, 276, 339, 2658, 29922, 1839, 2922, 17357, 742, 525, 23749, 742, 525, 15112, 742, 525, 344, 370, 1398, 742, 525, 9057, 1982, 7464, 13, 418, 770, 14903, 29922, 1839, 21956, 358, 16034, 4761, 29871, 29946, 448, 350, 1187, 742, 13, 462, 259, 525, 18649, 4761, 9405, 742, 13, 462, 259, 525, 29931, 293, 1947, 4761, 438, 5425, 28268, 1490, 4761, 350, 7230, 19245, 742, 13, 462, 259, 525, 7094, 1218, 2184, 4761, 4326, 3267, 4761, 4326, 3267, 1060, 742, 13, 462, 259, 525, 7094, 1218, 2184, 4761, 7783, 4761, 3852, 742, 13, 462, 259, 525, 7094, 1218, 2184, 4761, 349, 3267, 6415, 742, 13, 462, 259, 525, 9283, 4056, 17088, 4761, 5132, 7464, 13, 418, 14319, 29918, 11177, 29922, 8824, 29897, 13, 2 ]
tests/test_ad_sid.py
morian/bonsai
59
108441
<reponame>morian/bonsai import pytest from bonsai.active_directory import SID, sid def test_create_from_bytes_le(): """ Test create SID from binary. """ with pytest.raises(ValueError): _ = SID(bytes_le=b"NOT-A-SID") with pytest.raises(ValueError): _ = SID( bytes_le=b"\x01\x05\x00\x00\x00\x05\x15\x00\x00\x00\xdc\xf4\xdc;\x83=+F\x82\xa6(\x00\x02\x00\x00" ) with pytest.raises(TypeError): _ = SID(bytes_le=True) with pytest.raises(TypeError): _ = SID(bytes_le="S-1-1-1") input_data = b"\x01\x05\x00\x00\x00\x00\x00\x05\x15\x00\x00\x00\xdc\xf4\xdc;\x83=+F\x82\x8b\xa6(\x00\x02\x00\x00" expected_sid = "S-1-5-21-1004336348-1177238915-682003330-512" sid = SID(bytes_le=input_data) assert sid.revision == 1 assert sid.identifier_authority == 5 assert sid.subauthorities == (21, 1004336348, 1177238915, 682003330, 512) assert sid == expected_sid def test_create_from_str_rep(): """ Test create SID from string. """ with pytest.raises(ValueError): _ = SID("NOT-A-SID") with pytest.raises(ValueError): _ = SID("S--") with pytest.raises(ValueError): _ = SID(str_rep="S-1") with pytest.raises(ValueError): _ = SID("S-1-NOT-SID") with pytest.raises(ValueError): _ = SID("NOT") with pytest.raises(TypeError): _ = SID(str_rep=0) with pytest.raises(TypeError): _ = SID(b"S-1-1-1") sid = SID("S-1-5-21-3623811015-3361044348-30300820-1013") assert sid.revision == 1 assert sid.identifier_authority == 5 assert sid.subauthorities == (21, 3623811015, 3361044348, 30300820, 1013) everyone_sid = SID("S-1-1-0") assert everyone_sid.identifier_authority == 1 assert everyone_sid.subauthorities == (0,) def test_bytes_le(): """ Test bytes_le property. """ expected_bytes = b"\x01\x05\x00\x00\x00\x00\x00\x05\x15\x00\x00\x00\xdc\xf4\xdc;\x83=+F\x82\x8b\xa6(\x00\x02\x00\x00" test_sid = SID("S-1-5-21-1004336348-1177238915-682003330-512") assert test_sid.bytes_le == expected_bytes assert ( SID(bytes_le=test_sid.bytes_le).identifier_authority == test_sid.identifier_authority ) assert SID(bytes_le=test_sid.bytes_le).subauthorities == test_sid.subauthorities def test_str(): """ Test __str__ method. """ test_sid = "S-1-5-21-3623811015-3361044348-30300820-1013" assert str(SID(test_sid)) == test_sid test_sid = "S-1-1-0" assert str(SID(test_sid)) == test_sid def test_repr(): """ Test __repr__ method. """ sid = SID("S-1-1-0") assert SID.__name__ in repr(sid) assert "S-1-1-0" in repr(sid) def test_eq(): """ Test __eq__ method. """ sid0 = SID("S-1-1-0") sid1 = SID("S-1-1-0") assert sid0 == sid1 assert sid0 != True assert sid0 == "S-1-1-0" def test_hash(): """ Test __hash__ method. """ test_sid = "S-1-5-21-3623811015-3361044348-30300820-1013" sid0 = SID(test_sid) assert hash(sid0) == hash(test_sid) assert set((sid0, SID(test_sid))) == {sid0} @pytest.mark.parametrize( "sid, alias", [ (SID("S-1-1-0"), "WD"), (SID("S-1-5-32-559"), "LU"), (SID("S-1-5-21-3623811015-3361044348-30300820-500"), "LA"), (SID("S-1-5-21-3623811015-3361044348-30300820-520"), "PA"), (SID("S-1-5-21-3623811015-3361044348-30300820-1013"), None), (SID("S-1-5-34-3623811015-3361044348-30300820-500"), None), ], ) def test_sddl_alias(sid, alias): """ Test sddl_alias property. """ assert sid.sddl_alias == alias @pytest.mark.parametrize( "sid", [ SID("S-1-1-0"), SID("S-1-5-32-559"), SID("S-1-5-34-3623811015-3361044348-30300820-500"), ], ) def test_size(sid): """ Test size property. """ assert sid.size == len(sid.bytes_le)
[ 1, 529, 276, 1112, 420, 29958, 12257, 713, 29914, 29890, 787, 1794, 13, 5215, 11451, 1688, 13, 13, 3166, 289, 787, 1794, 29889, 4925, 29918, 12322, 1053, 317, 1367, 29892, 25349, 13, 13, 13, 1753, 1243, 29918, 3258, 29918, 3166, 29918, 13193, 29918, 280, 7295, 13, 1678, 9995, 4321, 1653, 317, 1367, 515, 7581, 29889, 9995, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 13193, 29918, 280, 29922, 29890, 29908, 12256, 29899, 29909, 29899, 29903, 1367, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 13, 9651, 6262, 29918, 280, 29922, 29890, 26732, 29916, 29900, 29896, 29905, 29916, 29900, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29945, 29905, 29916, 29896, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 13891, 29905, 24660, 29946, 29905, 29916, 13891, 10436, 29916, 29947, 29941, 29922, 29974, 29943, 29905, 29916, 29947, 29906, 29905, 17367, 29953, 1194, 29916, 29900, 29900, 29905, 29916, 29900, 29906, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29908, 13, 4706, 1723, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1542, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 13193, 29918, 280, 29922, 5574, 29897, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1542, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 13193, 29918, 280, 543, 29903, 29899, 29896, 29899, 29896, 29899, 29896, 1159, 13, 1678, 1881, 29918, 1272, 353, 289, 26732, 29916, 29900, 29896, 29905, 29916, 29900, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29945, 29905, 29916, 29896, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 13891, 29905, 24660, 29946, 29905, 29916, 13891, 10436, 29916, 29947, 29941, 29922, 29974, 29943, 29905, 29916, 29947, 29906, 29905, 29916, 29947, 29890, 29905, 17367, 29953, 1194, 29916, 29900, 29900, 29905, 29916, 29900, 29906, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29908, 13, 1678, 3806, 29918, 29879, 333, 353, 376, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29896, 29900, 29900, 29946, 29941, 29941, 29953, 29941, 29946, 29947, 29899, 29896, 29896, 29955, 29955, 29906, 29941, 29947, 29929, 29896, 29945, 29899, 29953, 29947, 29906, 29900, 29900, 29941, 29941, 29941, 29900, 29899, 29945, 29896, 29906, 29908, 13, 1678, 25349, 353, 317, 1367, 29898, 13193, 29918, 280, 29922, 2080, 29918, 1272, 29897, 13, 1678, 4974, 25349, 29889, 276, 4924, 1275, 29871, 29896, 13, 1678, 4974, 25349, 29889, 25378, 29918, 8921, 537, 1275, 29871, 29945, 13, 1678, 4974, 25349, 29889, 1491, 8921, 1907, 1275, 313, 29906, 29896, 29892, 29871, 29896, 29900, 29900, 29946, 29941, 29941, 29953, 29941, 29946, 29947, 29892, 29871, 29896, 29896, 29955, 29955, 29906, 29941, 29947, 29929, 29896, 29945, 29892, 29871, 29953, 29947, 29906, 29900, 29900, 29941, 29941, 29941, 29900, 29892, 29871, 29945, 29896, 29906, 29897, 13, 1678, 4974, 25349, 1275, 3806, 29918, 29879, 333, 13, 13, 13, 1753, 1243, 29918, 3258, 29918, 3166, 29918, 710, 29918, 3445, 7295, 13, 1678, 9995, 4321, 1653, 317, 1367, 515, 1347, 29889, 9995, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 703, 12256, 29899, 29909, 29899, 29903, 1367, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 703, 29903, 489, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 710, 29918, 3445, 543, 29903, 29899, 29896, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 12256, 29899, 29903, 1367, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1917, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 703, 12256, 1159, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1542, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 710, 29918, 3445, 29922, 29900, 29897, 13, 1678, 411, 11451, 1688, 29889, 336, 4637, 29898, 1542, 2392, 1125, 13, 4706, 903, 353, 317, 1367, 29898, 29890, 29908, 29903, 29899, 29896, 29899, 29896, 29899, 29896, 1159, 13, 1678, 25349, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29896, 29900, 29896, 29941, 1159, 13, 1678, 4974, 25349, 29889, 276, 4924, 1275, 29871, 29896, 13, 1678, 4974, 25349, 29889, 25378, 29918, 8921, 537, 1275, 29871, 29945, 13, 1678, 4974, 25349, 29889, 1491, 8921, 1907, 1275, 313, 29906, 29896, 29892, 29871, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29892, 29871, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29892, 29871, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29892, 29871, 29896, 29900, 29896, 29941, 29897, 13, 1678, 14332, 29918, 29879, 333, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 1159, 13, 1678, 4974, 14332, 29918, 29879, 333, 29889, 25378, 29918, 8921, 537, 1275, 29871, 29896, 13, 1678, 4974, 14332, 29918, 29879, 333, 29889, 1491, 8921, 1907, 1275, 313, 29900, 29892, 29897, 13, 13, 13, 1753, 1243, 29918, 13193, 29918, 280, 7295, 13, 1678, 9995, 4321, 6262, 29918, 280, 2875, 29889, 9995, 13, 1678, 3806, 29918, 13193, 353, 289, 26732, 29916, 29900, 29896, 29905, 29916, 29900, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29945, 29905, 29916, 29896, 29945, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29905, 29916, 13891, 29905, 24660, 29946, 29905, 29916, 13891, 10436, 29916, 29947, 29941, 29922, 29974, 29943, 29905, 29916, 29947, 29906, 29905, 29916, 29947, 29890, 29905, 17367, 29953, 1194, 29916, 29900, 29900, 29905, 29916, 29900, 29906, 29905, 29916, 29900, 29900, 29905, 29916, 29900, 29900, 29908, 13, 1678, 1243, 29918, 29879, 333, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29896, 29900, 29900, 29946, 29941, 29941, 29953, 29941, 29946, 29947, 29899, 29896, 29896, 29955, 29955, 29906, 29941, 29947, 29929, 29896, 29945, 29899, 29953, 29947, 29906, 29900, 29900, 29941, 29941, 29941, 29900, 29899, 29945, 29896, 29906, 1159, 13, 1678, 4974, 1243, 29918, 29879, 333, 29889, 13193, 29918, 280, 1275, 3806, 29918, 13193, 13, 1678, 4974, 313, 13, 4706, 317, 1367, 29898, 13193, 29918, 280, 29922, 1688, 29918, 29879, 333, 29889, 13193, 29918, 280, 467, 25378, 29918, 8921, 537, 13, 4706, 1275, 1243, 29918, 29879, 333, 29889, 25378, 29918, 8921, 537, 13, 1678, 1723, 13, 1678, 4974, 317, 1367, 29898, 13193, 29918, 280, 29922, 1688, 29918, 29879, 333, 29889, 13193, 29918, 280, 467, 1491, 8921, 1907, 1275, 1243, 29918, 29879, 333, 29889, 1491, 8921, 1907, 13, 13, 13, 1753, 1243, 29918, 710, 7295, 13, 1678, 9995, 4321, 4770, 710, 1649, 1158, 29889, 9995, 13, 1678, 1243, 29918, 29879, 333, 353, 376, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29896, 29900, 29896, 29941, 29908, 13, 1678, 4974, 851, 29898, 29903, 1367, 29898, 1688, 29918, 29879, 333, 876, 1275, 1243, 29918, 29879, 333, 13, 1678, 1243, 29918, 29879, 333, 353, 376, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 29908, 13, 1678, 4974, 851, 29898, 29903, 1367, 29898, 1688, 29918, 29879, 333, 876, 1275, 1243, 29918, 29879, 333, 13, 13, 13, 1753, 1243, 29918, 276, 558, 7295, 13, 1678, 9995, 4321, 4770, 276, 558, 1649, 1158, 29889, 9995, 13, 1678, 25349, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 1159, 13, 1678, 4974, 317, 1367, 17255, 978, 1649, 297, 2062, 29898, 29879, 333, 29897, 13, 1678, 4974, 376, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 29908, 297, 2062, 29898, 29879, 333, 29897, 13, 13, 13, 1753, 1243, 29918, 1837, 7295, 13, 1678, 9995, 4321, 4770, 1837, 1649, 1158, 29889, 9995, 13, 1678, 25349, 29900, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 1159, 13, 1678, 25349, 29896, 353, 317, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 1159, 13, 1678, 4974, 25349, 29900, 1275, 25349, 29896, 13, 1678, 4974, 25349, 29900, 2804, 5852, 13, 1678, 4974, 25349, 29900, 1275, 376, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 29908, 13, 13, 13, 1753, 1243, 29918, 8568, 7295, 13, 1678, 9995, 4321, 4770, 8568, 1649, 1158, 29889, 9995, 13, 1678, 1243, 29918, 29879, 333, 353, 376, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29896, 29900, 29896, 29941, 29908, 13, 1678, 25349, 29900, 353, 317, 1367, 29898, 1688, 29918, 29879, 333, 29897, 13, 1678, 4974, 6608, 29898, 29879, 333, 29900, 29897, 1275, 6608, 29898, 1688, 29918, 29879, 333, 29897, 13, 1678, 4974, 731, 3552, 29879, 333, 29900, 29892, 317, 1367, 29898, 1688, 29918, 29879, 333, 4961, 1275, 426, 29879, 333, 29900, 29913, 13, 13, 13, 29992, 2272, 1688, 29889, 3502, 29889, 3207, 300, 374, 911, 29898, 13, 1678, 376, 29879, 333, 29892, 13995, 613, 13, 1678, 518, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 4968, 376, 24668, 4968, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29941, 29906, 29899, 29945, 29945, 29929, 4968, 376, 29931, 29965, 4968, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29945, 29900, 29900, 4968, 376, 4375, 4968, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29945, 29906, 29900, 4968, 376, 7228, 4968, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29906, 29896, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29896, 29900, 29896, 29941, 4968, 6213, 511, 13, 4706, 313, 29903, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29941, 29946, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29945, 29900, 29900, 4968, 6213, 511, 13, 1678, 21251, 13, 29897, 13, 1753, 1243, 29918, 29879, 1289, 29880, 29918, 19973, 29898, 29879, 333, 29892, 13995, 1125, 13, 1678, 9995, 4321, 269, 1289, 29880, 29918, 19973, 2875, 29889, 9995, 13, 1678, 4974, 25349, 29889, 29879, 1289, 29880, 29918, 19973, 1275, 13995, 13, 13, 13, 29992, 2272, 1688, 29889, 3502, 29889, 3207, 300, 374, 911, 29898, 13, 1678, 376, 29879, 333, 613, 13, 1678, 518, 13, 4706, 317, 1367, 703, 29903, 29899, 29896, 29899, 29896, 29899, 29900, 4968, 13, 4706, 317, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29941, 29906, 29899, 29945, 29945, 29929, 4968, 13, 4706, 317, 1367, 703, 29903, 29899, 29896, 29899, 29945, 29899, 29941, 29946, 29899, 29941, 29953, 29906, 29941, 29947, 29896, 29896, 29900, 29896, 29945, 29899, 29941, 29941, 29953, 29896, 29900, 29946, 29946, 29941, 29946, 29947, 29899, 29941, 29900, 29941, 29900, 29900, 29947, 29906, 29900, 29899, 29945, 29900, 29900, 4968, 13, 1678, 21251, 13, 29897, 13, 1753, 1243, 29918, 2311, 29898, 29879, 333, 1125, 13, 1678, 9995, 4321, 2159, 2875, 29889, 9995, 13, 1678, 4974, 25349, 29889, 2311, 1275, 7431, 29898, 29879, 333, 29889, 13193, 29918, 280, 29897, 13, 2 ]
src/util/perf/u_trace.py
SoftReaper/Mesa-Renoir-deb
0
140675
# # Copyright (C) 2020 Google, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice (including the next # paragraph) shall be included in all copies or substantial portions of the # Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. # from mako.template import Template from collections import namedtuple from enum import IntEnum import os TRACEPOINTS = {} class Tracepoint(object): """Class that represents all the information about a tracepoint """ def __init__(self, name, args=[], tp_struct=None, tp_print=None, tp_perfetto=None, end_of_pipe=False): """Parameters: - name: the tracepoint name, a tracepoint function with the given name (prefixed by 'trace_') will be generated with the specied args (following a u_trace ptr). Calling this tracepoint will emit a trace, if tracing is enabled. - args: the tracepoint func args, an array of TracepointArg - tp_print: (optional) array of format string followed by expressions - tp_perfetto: (optional) driver provided callback which can generate perfetto events """ assert isinstance(name, str) assert isinstance(args, list) assert name not in TRACEPOINTS self.name = name self.args = args if tp_struct is None: tp_struct = args self.tp_struct = tp_struct self.tp_print = tp_print self.tp_perfetto = tp_perfetto self.end_of_pipe = end_of_pipe TRACEPOINTS[name] = self def can_generate_print(self): return self.args is not None and len(self.args) > 0 class TracepointArgStruct(): """Represents struct that is being passed as an argument """ def __init__(self, type, var): """Parameters: - type: argument's C type. - var: name of the argument """ assert isinstance(type, str) assert isinstance(var, str) self.type = type self.var = var class TracepointArg(object): """Class that represents either an argument being passed or a field in a struct """ def __init__(self, type, var, c_format, name=None, to_prim_type=None): """Parameters: - type: argument's C type. - var: either an argument name or a field in the struct - c_format: printf format to print the value. - name: (optional) name that will be used in intermidiate structs and will be displayed in output or perfetto, otherwise var will be used. - to_prim_type: (optional) C function to convert from arg's type to a type compatible with c_format. """ assert isinstance(type, str) assert isinstance(var, str) assert isinstance(c_format, str) self.type = type self.var = var self.c_format = c_format if name is None: name = var self.name = name self.to_prim_type = to_prim_type HEADERS = [] class HeaderScope(IntEnum): HEADER = (1 << 0) SOURCE = (1 << 1) class Header(object): """Class that represents a header file dependency of generated tracepoints """ def __init__(self, hdr, scope=HeaderScope.HEADER|HeaderScope.SOURCE): """Parameters: - hdr: the required header path """ assert isinstance(hdr, str) self.hdr = hdr self.scope = scope HEADERS.append(self) FORWARD_DECLS = [] class ForwardDecl(object): """Class that represents a forward declaration """ def __init__(self, decl): assert isinstance(decl, str) self.decl = decl FORWARD_DECLS.append(self) hdr_template = """\ /* Copyright (C) 2020 Google, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ <% guard_name = '_' + hdrname + '_H' %> #ifndef ${guard_name} #define ${guard_name} % for header in HEADERS: #include "${header.hdr}" % endfor #include "util/perf/u_trace.h" #ifdef __cplusplus extern "C" { #endif % for declaration in FORWARD_DECLS: ${declaration.decl}; % endfor % for trace_name, trace in TRACEPOINTS.items(): /* * ${trace_name} */ struct trace_${trace_name} { % for arg in trace.tp_struct: ${arg.type} ${arg.name}; % endfor % if len(trace.args) == 0: #ifdef __cplusplus /* avoid warnings about empty struct size mis-match in C vs C++.. * the size mis-match is harmless because (a) nothing will deref * the empty struct, and (b) the code that cares about allocating * sizeof(struct trace_${trace_name}) (and wants this to be zero * if there is no payload) is C */ uint8_t dummy; #endif % endif }; % if trace.tp_perfetto is not None: #ifdef HAVE_PERFETTO void ${trace.tp_perfetto}( ${ctx_param}, uint64_t ts_ns, const void *flush_data, const struct trace_${trace_name} *payload); #endif % endif void __trace_${trace_name}( struct u_trace *ut, void *cs % for arg in trace.args: , ${arg.type} ${arg.var} % endfor ); static inline void trace_${trace_name}( struct u_trace *ut, void *cs % for arg in trace.args: , ${arg.type} ${arg.var} % endfor ) { % if trace.tp_perfetto is not None: if (!unlikely(ut->enabled || ut_trace_instrument || ut_perfetto_enabled)) % else: if (!unlikely(ut->enabled || ut_trace_instrument)) % endif return; __trace_${trace_name}( ut, cs % for arg in trace.args: , ${arg.var} % endfor ); } % endfor #ifdef __cplusplus } #endif #endif /* ${guard_name} */ """ src_template = """\ /* Copyright (C) 2020 Google, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ % for header in HEADERS: #include "${header.hdr}" % endfor #include "${hdr}" #define __NEEDS_TRACE_PRIV #include "util/perf/u_trace_priv.h" % for trace_name, trace in TRACEPOINTS.items(): /* * ${trace_name} */ % if trace.can_generate_print(): static void __print_${trace_name}(FILE *out, const void *arg) { const struct trace_${trace_name} *__entry = (const struct trace_${trace_name} *)arg; % if trace.tp_print is not None: fprintf(out, "${trace.tp_print[0]}\\n" % for arg in trace.tp_print[1:]: , ${arg} % endfor % else: fprintf(out, "" % for arg in trace.tp_struct: "${arg.name}=${arg.c_format}, " % endfor "\\n" % for arg in trace.tp_struct: % if arg.to_prim_type: ,${arg.to_prim_type.format('__entry->' + arg.name)} % else: ,__entry->${arg.name} % endif % endfor % endif ); } % else: #define __print_${trace_name} NULL % endif static const struct u_tracepoint __tp_${trace_name} = { ALIGN_POT(sizeof(struct trace_${trace_name}), 8), /* keep size 64b aligned */ "${trace_name}", ${"true" if trace.end_of_pipe else "false"}, __print_${trace_name}, % if trace.tp_perfetto is not None: #ifdef HAVE_PERFETTO (void (*)(void *pctx, uint64_t, const void *, const void *))${trace.tp_perfetto}, #endif % endif }; void __trace_${trace_name}( struct u_trace *ut, void *cs % for arg in trace.args: , ${arg.type} ${arg.var} % endfor ) { struct trace_${trace_name} *__entry = (struct trace_${trace_name} *)u_trace_append(ut, cs, &__tp_${trace_name}); % if len(trace.tp_struct) == 0: (void)__entry; % endif % for arg in trace.tp_struct: __entry->${arg.name} = ${arg.var}; % endfor } % endfor """ def utrace_generate(cpath, hpath, ctx_param): if cpath is not None: hdr = os.path.basename(cpath).rsplit('.', 1)[0] + '.h' with open(cpath, 'w') as f: f.write(Template(src_template).render( hdr=hdr, ctx_param=ctx_param, HEADERS=[h for h in HEADERS if h.scope & HeaderScope.SOURCE], TRACEPOINTS=TRACEPOINTS)) if hpath is not None: hdr = os.path.basename(hpath) with open(hpath, 'w') as f: f.write(Template(hdr_template).render( hdrname=hdr.rstrip('.h').upper(), ctx_param=ctx_param, HEADERS=[h for h in HEADERS if h.scope & HeaderScope.HEADER], FORWARD_DECLS=FORWARD_DECLS, TRACEPOINTS=TRACEPOINTS)) perfetto_utils_hdr_template = """\ /* * Copyright © 2021 Igalia S.L. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ <% guard_name = '_' + hdrname + '_H' %> #ifndef ${guard_name} #define ${guard_name} #include <perfetto.h> % for trace_name, trace in TRACEPOINTS.items(): static void UNUSED trace_payload_as_extra_${trace_name}(perfetto::protos::pbzero::GpuRenderStageEvent *event, const struct trace_${trace_name} *payload) { % if all([trace.tp_perfetto, trace.tp_struct]) and len(trace.tp_struct) > 0: char buf[128]; % for arg in trace.tp_struct: { auto data = event->add_extra_data(); data->set_name("${arg.name}"); % if arg.to_prim_type: sprintf(buf, "${arg.c_format}", ${arg.to_prim_type.format('payload->' + arg.name)}); % else: sprintf(buf, "${arg.c_format}", payload->${arg.name}); % endif data->set_value(buf); } % endfor % endif } % endfor #endif /* ${guard_name} */ """ def utrace_generate_perfetto_utils(hpath): if hpath is not None: hdr = os.path.basename(hpath) with open(hpath, 'wb') as f: f.write(Template(perfetto_utils_hdr_template, output_encoding='utf-8').render( hdrname=hdr.rstrip('.h').upper(), TRACEPOINTS=TRACEPOINTS))
[ 1, 396, 13, 29937, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29906, 29900, 5087, 29892, 9266, 29889, 13, 29937, 13, 29937, 20894, 2333, 338, 1244, 1609, 16896, 29892, 3889, 310, 8323, 29892, 304, 738, 2022, 4017, 292, 263, 13, 29937, 3509, 310, 445, 7047, 322, 6942, 5106, 2066, 313, 1552, 376, 6295, 14093, 4968, 13, 29937, 304, 5376, 297, 278, 18540, 1728, 24345, 29892, 3704, 1728, 29485, 13, 29937, 278, 10462, 304, 671, 29892, 3509, 29892, 6623, 29892, 10366, 29892, 9805, 29892, 1320, 2666, 29892, 269, 803, 1947, 29892, 13, 29937, 322, 29914, 272, 19417, 14591, 310, 278, 18540, 29892, 322, 304, 14257, 12407, 304, 6029, 278, 13, 29937, 18540, 338, 15252, 3276, 304, 437, 577, 29892, 4967, 304, 278, 1494, 5855, 29901, 13, 29937, 13, 29937, 450, 2038, 3509, 1266, 8369, 322, 445, 10751, 8369, 313, 18271, 278, 2446, 13, 29937, 14880, 29897, 4091, 367, 5134, 297, 599, 14591, 470, 23228, 2011, 1080, 310, 278, 13, 29937, 18540, 29889, 13, 29937, 13, 29937, 6093, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 376, 3289, 8519, 613, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29979, 8079, 13764, 29979, 476, 22255, 29892, 8528, 15094, 1799, 6323, 13, 29937, 306, 3580, 5265, 3352, 29892, 2672, 6154, 15789, 4214, 350, 2692, 6058, 27848, 3352, 7495, 6093, 399, 1718, 29934, 13566, 29059, 8079, 341, 1001, 3210, 13566, 2882, 6227, 11937, 29892, 13, 29937, 383, 1806, 8186, 1799, 15842, 319, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 5300, 405, 1164, 1177, 15860, 1177, 1692, 13780, 29889, 29871, 2672, 11698, 382, 29963, 3919, 24972, 9818, 13, 29937, 6093, 26524, 29950, 24125, 6323, 315, 4590, 29979, 22789, 3912, 379, 5607, 8032, 29903, 20700, 17705, 6181, 15842, 13764, 29979, 315, 4375, 7833, 29892, 21330, 1529, 1692, 29903, 6323, 438, 29911, 4448, 13, 29937, 17705, 2882, 6227, 11937, 29892, 12317, 2544, 4448, 2672, 13764, 319, 9838, 8079, 8707, 29911, 4717, 1783, 29892, 323, 8476, 6323, 438, 29911, 4448, 22119, 1660, 29892, 9033, 3235, 4214, 13, 29937, 3895, 29892, 19474, 8079, 6323, 2672, 8707, 8186, 9838, 22659, 6093, 7791, 7818, 12982, 1525, 6323, 6093, 501, 1660, 6323, 438, 29911, 4448, 5012, 1964, 4214, 29903, 13, 29937, 2672, 6093, 7791, 7818, 12982, 1525, 29889, 13, 29937, 13, 13, 3166, 2136, 29877, 29889, 6886, 1053, 25663, 13, 3166, 16250, 1053, 4257, 23583, 13, 3166, 14115, 1053, 3159, 16854, 13, 5215, 2897, 13, 13, 5659, 11538, 29925, 6992, 9375, 353, 6571, 13, 13, 1990, 20597, 3149, 29898, 3318, 1125, 13, 1678, 9995, 2385, 393, 11524, 599, 278, 2472, 1048, 263, 9637, 3149, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1024, 29892, 6389, 11759, 1402, 13, 462, 260, 29886, 29918, 4984, 29922, 8516, 29892, 260, 29886, 29918, 2158, 29922, 8516, 29892, 260, 29886, 29918, 546, 29888, 8563, 29922, 8516, 29892, 13, 462, 1095, 29918, 974, 29918, 17760, 29922, 8824, 1125, 13, 4706, 9995, 11507, 29901, 13, 13, 4706, 448, 1024, 29901, 278, 9637, 3149, 1024, 29892, 263, 9637, 3149, 740, 411, 278, 2183, 13, 3986, 1024, 313, 13506, 287, 491, 525, 15003, 29918, 1495, 674, 367, 5759, 411, 278, 961, 455, 287, 13, 3986, 6389, 313, 23031, 292, 263, 318, 29918, 15003, 23246, 467, 29871, 8251, 292, 445, 9637, 3149, 674, 13, 3986, 20076, 263, 9637, 29892, 565, 16703, 292, 338, 9615, 29889, 13, 4706, 448, 6389, 29901, 278, 9637, 3149, 3653, 6389, 29892, 385, 1409, 310, 20597, 3149, 8559, 13, 4706, 448, 260, 29886, 29918, 2158, 29901, 313, 25253, 29897, 1409, 310, 3402, 1347, 5643, 491, 12241, 13, 4706, 448, 260, 29886, 29918, 546, 29888, 8563, 29901, 313, 25253, 29897, 7156, 4944, 6939, 607, 508, 5706, 13, 3986, 23895, 8563, 4959, 13, 4706, 9995, 13, 4706, 4974, 338, 8758, 29898, 978, 29892, 851, 29897, 13, 4706, 4974, 338, 8758, 29898, 5085, 29892, 1051, 29897, 13, 4706, 4974, 1024, 451, 297, 10014, 11538, 29925, 6992, 9375, 13, 13, 4706, 1583, 29889, 978, 353, 1024, 13, 4706, 1583, 29889, 5085, 353, 6389, 13, 4706, 565, 260, 29886, 29918, 4984, 338, 6213, 29901, 13, 965, 260, 29886, 29918, 4984, 353, 6389, 13, 4706, 1583, 29889, 9392, 29918, 4984, 353, 260, 29886, 29918, 4984, 13, 4706, 1583, 29889, 9392, 29918, 2158, 353, 260, 29886, 29918, 2158, 13, 4706, 1583, 29889, 9392, 29918, 546, 29888, 8563, 353, 260, 29886, 29918, 546, 29888, 8563, 13, 4706, 1583, 29889, 355, 29918, 974, 29918, 17760, 353, 1095, 29918, 974, 29918, 17760, 13, 13, 4706, 10014, 11538, 29925, 6992, 9375, 29961, 978, 29962, 353, 1583, 13, 13, 1678, 822, 508, 29918, 17158, 29918, 2158, 29898, 1311, 1125, 13, 4706, 736, 1583, 29889, 5085, 338, 451, 6213, 322, 7431, 29898, 1311, 29889, 5085, 29897, 1405, 29871, 29900, 13, 13, 1990, 20597, 3149, 8559, 19560, 7295, 13, 1678, 9995, 1123, 4569, 1237, 2281, 393, 338, 1641, 4502, 408, 385, 2980, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1134, 29892, 722, 1125, 13, 4706, 9995, 11507, 29901, 13, 13, 4706, 448, 1134, 29901, 2980, 29915, 29879, 315, 1134, 29889, 13, 4706, 448, 722, 29901, 1024, 310, 278, 2980, 13, 4706, 9995, 13, 4706, 4974, 338, 8758, 29898, 1853, 29892, 851, 29897, 13, 4706, 4974, 338, 8758, 29898, 1707, 29892, 851, 29897, 13, 13, 4706, 1583, 29889, 1853, 353, 1134, 13, 4706, 1583, 29889, 1707, 353, 722, 13, 13, 1990, 20597, 3149, 8559, 29898, 3318, 1125, 13, 1678, 9995, 2385, 393, 11524, 2845, 385, 2980, 1641, 4502, 470, 263, 1746, 297, 263, 2281, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1134, 29892, 722, 29892, 274, 29918, 4830, 29892, 1024, 29922, 8516, 29892, 304, 29918, 9469, 29918, 1853, 29922, 8516, 1125, 13, 4706, 9995, 11507, 29901, 13, 13, 4706, 448, 1134, 29901, 2980, 29915, 29879, 315, 1134, 29889, 13, 4706, 448, 722, 29901, 2845, 385, 2980, 1024, 470, 263, 1746, 297, 278, 2281, 13, 4706, 448, 274, 29918, 4830, 29901, 7571, 3402, 304, 1596, 278, 995, 29889, 13, 4706, 448, 1024, 29901, 313, 25253, 29897, 1024, 393, 674, 367, 1304, 297, 1006, 6563, 29347, 2281, 29879, 322, 674, 13, 3986, 367, 8833, 297, 1962, 470, 23895, 8563, 29892, 6467, 722, 674, 367, 1304, 29889, 13, 4706, 448, 304, 29918, 9469, 29918, 1853, 29901, 313, 25253, 29897, 315, 740, 304, 3588, 515, 1852, 29915, 29879, 1134, 304, 263, 1134, 13, 3986, 15878, 411, 274, 29918, 4830, 29889, 13, 4706, 9995, 13, 4706, 4974, 338, 8758, 29898, 1853, 29892, 851, 29897, 13, 4706, 4974, 338, 8758, 29898, 1707, 29892, 851, 29897, 13, 4706, 4974, 338, 8758, 29898, 29883, 29918, 4830, 29892, 851, 29897, 13, 13, 4706, 1583, 29889, 1853, 353, 1134, 13, 4706, 1583, 29889, 1707, 353, 722, 13, 4706, 1583, 29889, 29883, 29918, 4830, 353, 274, 29918, 4830, 13, 4706, 565, 1024, 338, 6213, 29901, 13, 965, 1024, 353, 722, 13, 4706, 1583, 29889, 978, 353, 1024, 13, 4706, 1583, 29889, 517, 29918, 9469, 29918, 1853, 353, 304, 29918, 9469, 29918, 1853, 13, 13, 13, 23252, 23598, 353, 5159, 13, 13, 1990, 19345, 15289, 29898, 2928, 16854, 1125, 13, 259, 17714, 3035, 1001, 353, 313, 29896, 3532, 29871, 29900, 29897, 13, 259, 7791, 4574, 4741, 353, 313, 29896, 3532, 29871, 29896, 29897, 13, 13, 1990, 19345, 29898, 3318, 1125, 13, 1678, 9995, 2385, 393, 11524, 263, 4839, 934, 10609, 310, 5759, 9637, 9748, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 298, 7707, 29892, 6874, 29922, 7850, 15289, 29889, 23252, 1001, 29989, 7850, 15289, 29889, 27839, 4741, 1125, 13, 4706, 9995, 11507, 29901, 13, 13, 4706, 448, 298, 7707, 29901, 278, 3734, 4839, 2224, 13, 4706, 9995, 13, 4706, 4974, 338, 8758, 29898, 29882, 7707, 29892, 851, 29897, 13, 4706, 1583, 29889, 29882, 7707, 353, 298, 7707, 13, 4706, 1583, 29889, 6078, 353, 6874, 13, 13, 4706, 17714, 3035, 23598, 29889, 4397, 29898, 1311, 29897, 13, 13, 13, 22051, 29956, 17011, 29918, 2287, 6154, 29903, 353, 5159, 13, 13, 1990, 1152, 1328, 6185, 29880, 29898, 3318, 1125, 13, 259, 9995, 2385, 393, 11524, 263, 6375, 12029, 13, 259, 9995, 13, 259, 822, 4770, 2344, 12035, 1311, 29892, 4845, 1125, 13, 4706, 4974, 338, 8758, 29898, 27787, 29892, 851, 29897, 13, 4706, 1583, 29889, 27787, 353, 4845, 13, 13, 4706, 15842, 29956, 17011, 29918, 2287, 6154, 29903, 29889, 4397, 29898, 1311, 29897, 13, 13, 13, 29882, 7707, 29918, 6886, 353, 9995, 29905, 13, 5515, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29906, 29900, 5087, 29892, 9266, 29889, 13, 334, 13, 334, 20894, 2333, 338, 1244, 1609, 16896, 29892, 3889, 310, 8323, 29892, 304, 738, 2022, 4017, 292, 263, 13, 334, 3509, 310, 445, 7047, 322, 6942, 5106, 2066, 313, 1552, 376, 6295, 14093, 4968, 13, 334, 304, 5376, 297, 278, 18540, 1728, 24345, 29892, 3704, 1728, 29485, 13, 334, 278, 10462, 304, 671, 29892, 3509, 29892, 6623, 29892, 10366, 29892, 9805, 29892, 1320, 2666, 29892, 269, 803, 1947, 29892, 13, 334, 322, 29914, 272, 19417, 14591, 310, 278, 18540, 29892, 322, 304, 14257, 12407, 304, 6029, 278, 13, 334, 18540, 338, 15252, 3276, 304, 437, 577, 29892, 4967, 304, 278, 1494, 5855, 29901, 13, 334, 13, 334, 450, 2038, 3509, 1266, 8369, 322, 445, 10751, 8369, 313, 18271, 278, 2446, 13, 334, 14880, 29897, 4091, 367, 5134, 297, 599, 14591, 470, 23228, 2011, 1080, 310, 278, 13, 334, 18540, 29889, 13, 334, 13, 334, 6093, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 376, 3289, 8519, 613, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29979, 8079, 13764, 29979, 476, 22255, 29892, 8528, 15094, 1799, 6323, 13, 334, 306, 3580, 5265, 3352, 29892, 2672, 6154, 15789, 4214, 350, 2692, 6058, 27848, 3352, 7495, 6093, 399, 1718, 29934, 13566, 29059, 8079, 341, 1001, 3210, 13566, 2882, 6227, 11937, 29892, 13, 334, 383, 1806, 8186, 1799, 15842, 319, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 5300, 405, 1164, 1177, 15860, 1177, 1692, 13780, 29889, 29871, 2672, 11698, 382, 29963, 3919, 24972, 9818, 13, 334, 6093, 26524, 29950, 24125, 6323, 315, 4590, 29979, 22789, 3912, 379, 5607, 8032, 29903, 20700, 17705, 6181, 15842, 13764, 29979, 315, 4375, 7833, 29892, 21330, 1529, 1692, 29903, 6323, 438, 29911, 4448, 13, 334, 17705, 2882, 6227, 11937, 29892, 12317, 2544, 4448, 2672, 13764, 319, 9838, 8079, 8707, 29911, 4717, 1783, 29892, 323, 8476, 6323, 438, 29911, 4448, 22119, 1660, 29892, 9033, 3235, 4214, 13, 334, 3895, 29892, 19474, 8079, 6323, 2672, 8707, 8186, 9838, 22659, 6093, 7791, 7818, 12982, 1525, 6323, 6093, 501, 1660, 6323, 438, 29911, 4448, 5012, 1964, 4214, 29903, 13, 334, 2672, 6093, 7791, 7818, 12982, 1525, 29889, 13, 3776, 13, 13, 29966, 29995, 8372, 29918, 978, 353, 22868, 29915, 718, 298, 7707, 978, 718, 22868, 29950, 29915, 6580, 13, 29937, 361, 299, 1389, 6435, 17728, 29918, 978, 29913, 13, 29937, 7922, 6435, 17728, 29918, 978, 29913, 13, 13, 29995, 363, 4839, 297, 17714, 3035, 23598, 29901, 13, 29937, 2856, 11568, 6672, 29889, 29882, 7707, 5038, 13, 29995, 1095, 1454, 13, 13, 29937, 2856, 376, 4422, 29914, 546, 29888, 29914, 29884, 29918, 15003, 29889, 29882, 29908, 13, 13, 29937, 361, 1753, 4770, 29883, 11242, 11242, 13, 735, 725, 376, 29907, 29908, 426, 13, 29937, 15224, 13, 13, 29995, 363, 12029, 297, 15842, 29956, 17011, 29918, 2287, 6154, 29903, 29901, 13, 5303, 311, 16544, 362, 29889, 27787, 3400, 13, 29995, 1095, 1454, 13, 13, 29995, 363, 9637, 29918, 978, 29892, 9637, 297, 10014, 11538, 29925, 6992, 9375, 29889, 7076, 7295, 13, 13, 5515, 13, 334, 6435, 15003, 29918, 978, 29913, 13, 3776, 13, 4984, 9637, 29918, 5303, 15003, 29918, 978, 29913, 426, 13, 29995, 1678, 363, 1852, 297, 9637, 29889, 9392, 29918, 4984, 29901, 13, 259, 6435, 1191, 29889, 1853, 29913, 6435, 1191, 29889, 978, 3400, 13, 29995, 1678, 1095, 1454, 13, 29995, 1678, 565, 7431, 29898, 15003, 29889, 5085, 29897, 1275, 29871, 29900, 29901, 13, 29937, 361, 1753, 29871, 4770, 29883, 11242, 11242, 13, 259, 4949, 4772, 18116, 1048, 4069, 2281, 2159, 3984, 29899, 4352, 297, 315, 7186, 315, 1817, 636, 13, 1678, 334, 278, 2159, 3984, 29899, 4352, 338, 4023, 828, 404, 1363, 313, 29874, 29897, 3078, 674, 14923, 29888, 13, 1678, 334, 278, 4069, 2281, 29892, 322, 313, 29890, 29897, 278, 775, 393, 1559, 267, 1048, 6643, 1218, 13, 1678, 334, 13810, 29898, 4984, 9637, 29918, 5303, 15003, 29918, 978, 1800, 313, 392, 10753, 445, 304, 367, 5225, 13, 1678, 334, 565, 727, 338, 694, 20092, 29897, 338, 315, 13, 1678, 3776, 13, 259, 13122, 29947, 29918, 29873, 20254, 29936, 13, 29937, 15224, 13, 29995, 1678, 1095, 361, 13, 3400, 13, 29995, 1678, 565, 9637, 29889, 9392, 29918, 546, 29888, 8563, 338, 451, 6213, 29901, 13, 29937, 361, 1753, 379, 7520, 29923, 29918, 13171, 29943, 2544, 4986, 13, 5405, 6435, 15003, 29889, 9392, 29918, 546, 29888, 8563, 2119, 13, 259, 6435, 13073, 29918, 3207, 1118, 13, 259, 13122, 29953, 29946, 29918, 29873, 18696, 29918, 1983, 29892, 13, 259, 1040, 1780, 334, 23126, 29918, 1272, 29892, 13, 259, 1040, 2281, 9637, 29918, 5303, 15003, 29918, 978, 29913, 334, 23813, 416, 13, 29937, 15224, 13, 29995, 1678, 1095, 361, 13, 5405, 4770, 15003, 29918, 5303, 15003, 29918, 978, 2119, 13, 539, 2281, 318, 29918, 15003, 334, 329, 29892, 1780, 334, 2395, 13, 29995, 1678, 363, 1852, 297, 9637, 29889, 5085, 29901, 13, 268, 1919, 6435, 1191, 29889, 1853, 29913, 6435, 1191, 29889, 1707, 29913, 13, 29995, 1678, 1095, 1454, 13, 416, 13, 7959, 10583, 1780, 9637, 29918, 5303, 15003, 29918, 978, 2119, 13, 268, 2281, 318, 29918, 15003, 334, 329, 29892, 1780, 334, 2395, 13, 29995, 1678, 363, 1852, 297, 9637, 29889, 5085, 29901, 13, 259, 1919, 6435, 1191, 29889, 1853, 29913, 6435, 1191, 29889, 1707, 29913, 13, 29995, 1678, 1095, 1454, 13, 29897, 426, 13, 29995, 1678, 565, 9637, 29889, 9392, 29918, 546, 29888, 8563, 338, 451, 6213, 29901, 13, 259, 565, 5384, 348, 21280, 29898, 329, 976, 17590, 3830, 3477, 29918, 15003, 29918, 2611, 15461, 3830, 3477, 29918, 546, 29888, 8563, 29918, 17590, 876, 13, 29995, 1678, 1683, 29901, 13, 259, 565, 5384, 348, 21280, 29898, 329, 976, 17590, 3830, 3477, 29918, 15003, 29918, 2611, 15461, 876, 13, 29995, 1678, 1095, 361, 13, 418, 736, 29936, 13, 259, 4770, 15003, 29918, 5303, 15003, 29918, 978, 2119, 13, 4706, 3477, 29892, 5939, 13, 29995, 1678, 363, 1852, 297, 9637, 29889, 5085, 29901, 13, 418, 1919, 6435, 1191, 29889, 1707, 29913, 13, 29995, 1678, 1095, 1454, 13, 259, 3482, 13, 29913, 13, 29995, 1095, 1454, 13, 13, 29937, 361, 1753, 4770, 29883, 11242, 11242, 13, 29913, 13, 29937, 15224, 13, 13, 29937, 15224, 4949, 6435, 17728, 29918, 978, 29913, 3776, 13, 15945, 29908, 13, 13, 4351, 29918, 6886, 353, 9995, 29905, 13, 5515, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29906, 29900, 5087, 29892, 9266, 29889, 13, 334, 13, 334, 20894, 2333, 338, 1244, 1609, 16896, 29892, 3889, 310, 8323, 29892, 304, 738, 2022, 4017, 292, 263, 13, 334, 3509, 310, 445, 7047, 322, 6942, 5106, 2066, 313, 1552, 376, 6295, 14093, 4968, 13, 334, 304, 5376, 297, 278, 18540, 1728, 24345, 29892, 3704, 1728, 29485, 13, 334, 278, 10462, 304, 671, 29892, 3509, 29892, 6623, 29892, 10366, 29892, 9805, 29892, 1320, 2666, 29892, 269, 803, 1947, 29892, 13, 334, 322, 29914, 272, 19417, 14591, 310, 278, 18540, 29892, 322, 304, 14257, 12407, 304, 6029, 278, 13, 334, 18540, 338, 15252, 3276, 304, 437, 577, 29892, 4967, 304, 278, 1494, 5855, 29901, 13, 334, 13, 334, 450, 2038, 3509, 1266, 8369, 322, 445, 10751, 8369, 313, 18271, 278, 2446, 13, 334, 14880, 29897, 4091, 367, 5134, 297, 599, 14591, 470, 23228, 2011, 1080, 310, 278, 13, 334, 18540, 29889, 13, 334, 13, 334, 6093, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 376, 3289, 8519, 613, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29979, 8079, 13764, 29979, 476, 22255, 29892, 8528, 15094, 1799, 6323, 13, 334, 306, 3580, 5265, 3352, 29892, 2672, 6154, 15789, 4214, 350, 2692, 6058, 27848, 3352, 7495, 6093, 399, 1718, 29934, 13566, 29059, 8079, 341, 1001, 3210, 13566, 2882, 6227, 11937, 29892, 13, 334, 383, 1806, 8186, 1799, 15842, 319, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 5300, 405, 1164, 1177, 15860, 1177, 1692, 13780, 29889, 29871, 2672, 11698, 382, 29963, 3919, 24972, 9818, 13, 334, 6093, 26524, 29950, 24125, 6323, 315, 4590, 29979, 22789, 3912, 379, 5607, 8032, 29903, 20700, 17705, 6181, 15842, 13764, 29979, 315, 4375, 7833, 29892, 21330, 1529, 1692, 29903, 6323, 438, 29911, 4448, 13, 334, 17705, 2882, 6227, 11937, 29892, 12317, 2544, 4448, 2672, 13764, 319, 9838, 8079, 8707, 29911, 4717, 1783, 29892, 323, 8476, 6323, 438, 29911, 4448, 22119, 1660, 29892, 9033, 3235, 4214, 13, 334, 3895, 29892, 19474, 8079, 6323, 2672, 8707, 8186, 9838, 22659, 6093, 7791, 7818, 12982, 1525, 6323, 6093, 501, 1660, 6323, 438, 29911, 4448, 5012, 1964, 4214, 29903, 13, 334, 2672, 6093, 7791, 7818, 12982, 1525, 29889, 13, 3776, 13, 13, 29995, 363, 4839, 297, 17714, 3035, 23598, 29901, 13, 29937, 2856, 11568, 6672, 29889, 29882, 7707, 5038, 13, 29995, 1095, 1454, 13, 13, 29937, 2856, 11568, 29882, 7707, 5038, 13, 13, 29937, 7922, 4770, 8186, 3352, 29903, 29918, 5659, 11538, 29918, 29829, 29963, 13, 29937, 2856, 376, 4422, 29914, 546, 29888, 29914, 29884, 29918, 15003, 29918, 22534, 29889, 29882, 29908, 13, 13, 29995, 363, 9637, 29918, 978, 29892, 9637, 297, 10014, 11538, 29925, 6992, 9375, 29889, 7076, 7295, 13, 5515, 13, 334, 6435, 15003, 29918, 978, 29913, 13, 3776, 13, 1273, 565, 9637, 29889, 3068, 29918, 17158, 29918, 2158, 7295, 13, 7959, 1780, 4770, 2158, 29918, 5303, 15003, 29918, 978, 2119, 7724, 334, 449, 29892, 1040, 1780, 334, 1191, 29897, 426, 13, 259, 1040, 2281, 9637, 29918, 5303, 15003, 29918, 978, 29913, 334, 1649, 8269, 353, 13, 418, 313, 3075, 2281, 9637, 29918, 5303, 15003, 29918, 978, 29913, 4748, 1191, 29936, 13, 29871, 1273, 565, 9637, 29889, 9392, 29918, 2158, 338, 451, 6213, 29901, 13, 259, 285, 8124, 29898, 449, 29892, 11568, 15003, 29889, 9392, 29918, 2158, 29961, 29900, 29962, 9952, 29876, 29908, 13, 259, 1273, 363, 1852, 297, 9637, 29889, 9392, 29918, 2158, 29961, 29896, 29901, 5387, 13, 965, 1919, 6435, 1191, 29913, 13, 259, 1273, 1095, 1454, 13, 29871, 1273, 1683, 29901, 13, 259, 285, 8124, 29898, 449, 29892, 5124, 13, 259, 1273, 363, 1852, 297, 9637, 29889, 9392, 29918, 4984, 29901, 13, 418, 11568, 1191, 29889, 978, 5369, 5303, 1191, 29889, 29883, 29918, 4830, 1118, 376, 13, 259, 1273, 1095, 1454, 13, 308, 376, 1966, 29876, 29908, 13, 259, 1273, 363, 1852, 297, 9637, 29889, 9392, 29918, 4984, 29901, 13, 1678, 1273, 565, 1852, 29889, 517, 29918, 9469, 29918, 1853, 29901, 13, 259, 1919, 5303, 1191, 29889, 517, 29918, 9469, 29918, 1853, 29889, 4830, 877, 1649, 8269, 976, 29915, 718, 1852, 29889, 978, 2915, 13, 1678, 1273, 1683, 29901, 13, 259, 1919, 1649, 8269, 976, 5303, 1191, 29889, 978, 29913, 13, 1678, 1273, 1095, 361, 13, 259, 1273, 1095, 1454, 13, 29871, 1273, 1095, 361, 13, 259, 3482, 13, 29913, 13, 1273, 1683, 29901, 13, 29937, 7922, 4770, 2158, 29918, 5303, 15003, 29918, 978, 29913, 4265, 13, 1273, 1095, 361, 13, 7959, 1040, 2281, 318, 29918, 15003, 3149, 4770, 9392, 29918, 5303, 15003, 29918, 978, 29913, 353, 426, 13, 1678, 319, 5265, 20728, 29918, 29925, 2891, 29898, 17921, 29898, 4984, 9637, 29918, 5303, 15003, 29918, 978, 9594, 29871, 29947, 511, 259, 4949, 3013, 2159, 29871, 29953, 29946, 29890, 26118, 3776, 13, 1678, 11568, 15003, 29918, 978, 17671, 13, 1678, 395, 6377, 3009, 29908, 565, 9637, 29889, 355, 29918, 974, 29918, 17760, 1683, 376, 4541, 10758, 13, 1678, 4770, 2158, 29918, 5303, 15003, 29918, 978, 1118, 13, 1273, 565, 9637, 29889, 9392, 29918, 546, 29888, 8563, 338, 451, 6213, 29901, 13, 29937, 361, 1753, 379, 7520, 29923, 29918, 13171, 29943, 2544, 4986, 13, 1678, 313, 5405, 3070, 5033, 5405, 334, 29886, 13073, 29892, 13122, 29953, 29946, 29918, 29873, 29892, 1040, 1780, 334, 29892, 1040, 1780, 334, 876, 5303, 15003, 29889, 9392, 29918, 546, 29888, 8563, 1118, 13, 29937, 15224, 13, 1273, 1095, 361, 13, 3400, 13, 5405, 4770, 15003, 29918, 5303, 15003, 29918, 978, 2119, 13, 268, 2281, 318, 29918, 15003, 334, 329, 29892, 1780, 334, 2395, 13, 1273, 363, 1852, 297, 9637, 29889, 5085, 29901, 13, 259, 1919, 6435, 1191, 29889, 1853, 29913, 6435, 1191, 29889, 1707, 29913, 13, 1273, 1095, 1454, 13, 29897, 426, 13, 259, 2281, 9637, 29918, 5303, 15003, 29918, 978, 29913, 334, 1649, 8269, 353, 13, 418, 313, 4984, 9637, 29918, 5303, 15003, 29918, 978, 29913, 4748, 29884, 29918, 15003, 29918, 4397, 29898, 329, 29892, 5939, 29892, 669, 1649, 9392, 29918, 5303, 15003, 29918, 978, 3680, 13, 1273, 565, 7431, 29898, 15003, 29889, 9392, 29918, 4984, 29897, 1275, 29871, 29900, 29901, 13, 259, 313, 5405, 29897, 1649, 8269, 29936, 13, 1273, 1095, 361, 13, 1273, 363, 1852, 297, 9637, 29889, 9392, 29918, 4984, 29901, 13, 259, 4770, 8269, 976, 5303, 1191, 29889, 978, 29913, 353, 6435, 1191, 29889, 1707, 3400, 13, 1273, 1095, 1454, 13, 29913, 13, 13, 29995, 1095, 1454, 13, 15945, 29908, 13, 13, 1753, 318, 15003, 29918, 17158, 29898, 29883, 2084, 29892, 298, 2084, 29892, 12893, 29918, 3207, 1125, 13, 1678, 565, 274, 2084, 338, 451, 6213, 29901, 13, 4706, 298, 7707, 353, 2897, 29889, 2084, 29889, 6500, 3871, 29898, 29883, 2084, 467, 2288, 2830, 12839, 742, 29871, 29896, 9601, 29900, 29962, 718, 15300, 29882, 29915, 13, 4706, 411, 1722, 29898, 29883, 2084, 29892, 525, 29893, 1495, 408, 285, 29901, 13, 9651, 285, 29889, 3539, 29898, 6733, 29898, 4351, 29918, 6886, 467, 9482, 29898, 13, 18884, 298, 7707, 29922, 29882, 7707, 29892, 13, 18884, 12893, 29918, 3207, 29922, 13073, 29918, 3207, 29892, 13, 18884, 17714, 3035, 23598, 11759, 29882, 363, 298, 297, 17714, 3035, 23598, 565, 298, 29889, 6078, 669, 19345, 15289, 29889, 27839, 4741, 1402, 13, 18884, 10014, 11538, 29925, 6992, 9375, 29922, 5659, 11538, 29925, 6992, 9375, 876, 13, 13, 1678, 565, 298, 2084, 338, 451, 6213, 29901, 13, 4706, 298, 7707, 353, 2897, 29889, 2084, 29889, 6500, 3871, 29898, 29882, 2084, 29897, 13, 4706, 411, 1722, 29898, 29882, 2084, 29892, 525, 29893, 1495, 408, 285, 29901, 13, 9651, 285, 29889, 3539, 29898, 6733, 29898, 29882, 7707, 29918, 6886, 467, 9482, 29898, 13, 18884, 298, 7707, 978, 29922, 29882, 7707, 29889, 29878, 17010, 12839, 29882, 2824, 21064, 3285, 13, 18884, 12893, 29918, 3207, 29922, 13073, 29918, 3207, 29892, 13, 18884, 17714, 3035, 23598, 11759, 29882, 363, 298, 297, 17714, 3035, 23598, 565, 298, 29889, 6078, 669, 19345, 15289, 29889, 23252, 1001, 1402, 13, 18884, 15842, 29956, 17011, 29918, 2287, 6154, 29903, 29922, 22051, 29956, 17011, 29918, 2287, 6154, 29903, 29892, 13, 18884, 10014, 11538, 29925, 6992, 9375, 29922, 5659, 11538, 29925, 6992, 9375, 876, 13, 13, 13, 546, 29888, 8563, 29918, 13239, 29918, 29882, 7707, 29918, 6886, 353, 9995, 29905, 13, 5515, 13, 334, 14187, 1266, 29871, 30211, 29871, 29906, 29900, 29906, 29896, 12815, 19627, 317, 29889, 29931, 29889, 13, 334, 13, 334, 20894, 2333, 338, 1244, 1609, 16896, 29892, 3889, 310, 8323, 29892, 304, 738, 2022, 4017, 292, 263, 13, 334, 3509, 310, 445, 7047, 322, 6942, 5106, 2066, 313, 1552, 376, 6295, 14093, 4968, 13, 334, 304, 5376, 297, 278, 18540, 1728, 24345, 29892, 3704, 1728, 29485, 13, 334, 278, 10462, 304, 671, 29892, 3509, 29892, 6623, 29892, 10366, 29892, 9805, 29892, 1320, 2666, 29892, 269, 803, 1947, 29892, 13, 334, 322, 29914, 272, 19417, 14591, 310, 278, 18540, 29892, 322, 304, 14257, 12407, 304, 6029, 278, 13, 334, 18540, 338, 15252, 3276, 304, 437, 577, 29892, 4967, 304, 278, 1494, 5855, 29901, 13, 334, 13, 334, 450, 2038, 3509, 1266, 8369, 322, 445, 10751, 8369, 313, 18271, 278, 2446, 13, 334, 14880, 29897, 4091, 367, 5134, 297, 599, 14591, 470, 23228, 2011, 1080, 310, 278, 13, 334, 18540, 29889, 13, 334, 13, 334, 6093, 7791, 7818, 12982, 1525, 8519, 13756, 13044, 3352, 376, 3289, 8519, 613, 399, 1806, 8187, 2692, 399, 1718, 29934, 13566, 29979, 8079, 13764, 29979, 476, 22255, 29892, 8528, 15094, 1799, 6323, 13, 334, 306, 3580, 5265, 3352, 29892, 2672, 6154, 15789, 4214, 350, 2692, 6058, 27848, 3352, 7495, 6093, 399, 1718, 29934, 13566, 29059, 8079, 341, 1001, 3210, 13566, 2882, 6227, 11937, 29892, 13, 334, 383, 1806, 8186, 1799, 15842, 319, 349, 8322, 2965, 13309, 1718, 349, 4574, 13152, 1660, 5300, 405, 1164, 1177, 15860, 1177, 1692, 13780, 29889, 29871, 2672, 11698, 382, 29963, 3919, 24972, 9818, 13, 334, 6093, 26524, 29950, 24125, 6323, 315, 4590, 29979, 22789, 3912, 379, 5607, 8032, 29903, 20700, 17705, 6181, 15842, 13764, 29979, 315, 4375, 7833, 29892, 21330, 1529, 1692, 29903, 6323, 438, 29911, 4448, 13, 334, 17705, 2882, 6227, 11937, 29892, 12317, 2544, 4448, 2672, 13764, 319, 9838, 8079, 8707, 29911, 4717, 1783, 29892, 323, 8476, 6323, 438, 29911, 4448, 22119, 1660, 29892, 9033, 3235, 4214, 3895, 29892, 13, 334, 19474, 8079, 6323, 2672, 8707, 8186, 9838, 22659, 6093, 7791, 7818, 12982, 1525, 6323, 6093, 501, 1660, 6323, 438, 29911, 4448, 5012, 1964, 4214, 29903, 2672, 6093, 13, 334, 7791, 7818, 12982, 1525, 29889, 13, 3776, 13, 13, 29966, 29995, 8372, 29918, 978, 353, 22868, 29915, 718, 298, 7707, 978, 718, 22868, 29950, 29915, 6580, 13, 29937, 361, 299, 1389, 6435, 17728, 29918, 978, 29913, 13, 29937, 7922, 6435, 17728, 29918, 978, 29913, 13, 13, 29937, 2856, 529, 546, 29888, 8563, 29889, 29882, 29958, 13, 13, 29995, 363, 9637, 29918, 978, 29892, 9637, 297, 10014, 11538, 29925, 6992, 9375, 29889, 7076, 7295, 13, 7959, 1780, 8291, 17171, 29928, 13, 15003, 29918, 23813, 29918, 294, 29918, 17833, 29918, 5303, 15003, 29918, 978, 2119, 546, 29888, 8563, 1057, 771, 29873, 359, 1057, 24381, 9171, 1057, 29954, 3746, 10716, 27276, 2624, 334, 3696, 29892, 13, 462, 462, 268, 1040, 2281, 9637, 29918, 5303, 15003, 29918, 978, 29913, 334, 23813, 29897, 13, 29912, 13, 1273, 565, 599, 4197, 15003, 29889, 9392, 29918, 546, 29888, 8563, 29892, 9637, 29889, 9392, 29918, 4984, 2314, 322, 7431, 29898, 15003, 29889, 9392, 29918, 4984, 29897, 1405, 29871, 29900, 29901, 13, 259, 1373, 18392, 29961, 29896, 29906, 29947, 1385, 13, 13, 29871, 1273, 363, 1852, 297, 9637, 29889, 9392, 29918, 4984, 29901, 13, 259, 426, 13, 418, 4469, 848, 353, 1741, 976, 1202, 29918, 17833, 29918, 1272, 890, 13, 418, 848, 976, 842, 29918, 978, 703, 5303, 1191, 29889, 978, 29913, 1496, 13, 13, 259, 1273, 565, 1852, 29889, 517, 29918, 9469, 29918, 1853, 29901, 13, 418, 269, 8124, 29898, 9721, 29892, 11568, 1191, 29889, 29883, 29918, 4830, 17671, 6435, 1191, 29889, 517, 29918, 9469, 29918, 1853, 29889, 4830, 877, 23813, 976, 29915, 718, 1852, 29889, 978, 2915, 416, 13, 259, 1273, 1683, 29901, 13, 418, 269, 8124, 29898, 9721, 29892, 11568, 1191, 29889, 29883, 29918, 4830, 17671, 20092, 976, 5303, 1191, 29889, 978, 3680, 13, 259, 1273, 1095, 361, 13, 13, 418, 848, 976, 842, 29918, 1767, 29898, 9721, 416, 13, 259, 500, 13, 29871, 1273, 1095, 1454, 13, 13, 1273, 1095, 361, 13, 29913, 13, 29995, 1095, 1454, 13, 13, 29937, 15224, 4949, 6435, 17728, 29918, 978, 29913, 3776, 13, 15945, 29908, 13, 13, 1753, 318, 15003, 29918, 17158, 29918, 546, 29888, 8563, 29918, 13239, 29898, 29882, 2084, 1125, 13, 1678, 565, 298, 2084, 338, 451, 6213, 29901, 13, 4706, 298, 7707, 353, 2897, 29889, 2084, 29889, 6500, 3871, 29898, 29882, 2084, 29897, 13, 4706, 411, 1722, 29898, 29882, 2084, 29892, 525, 29893, 29890, 1495, 408, 285, 29901, 13, 9651, 285, 29889, 3539, 29898, 6733, 29898, 546, 29888, 8563, 29918, 13239, 29918, 29882, 7707, 29918, 6886, 29892, 1962, 29918, 22331, 2433, 9420, 29899, 29947, 2824, 9482, 29898, 13, 18884, 298, 7707, 978, 29922, 29882, 7707, 29889, 29878, 17010, 12839, 29882, 2824, 21064, 3285, 13, 18884, 10014, 11538, 29925, 6992, 9375, 29922, 5659, 11538, 29925, 6992, 9375, 876, 13, 2 ]
src/certGenerator.py
m-lab/wehe_desktop
6
1611438
import argparse import os import sys from urllib2 import urlopen # https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309 default_root_cert_location = './ssl/ca.crt' default_root_key_location = './ssl/ca.key' parser = argparse.ArgumentParser( description='Generate a new certificate and sign it with root CA') parser.add_argument('--root_cert', metavar='ca.crt', type=str, help='path to root certificate', default=default_root_cert_location) parser.add_argument('--root_key', metavar='ca.key', type=str, help='path to root CA key', default=default_root_key_location) parser.add_argument('--root_pass', metavar='<password>', type=str, help='root certificate password', default='') parser.add_argument('--destination', metavar='./ssl', type=str, help='certificate output directory', default='./ssl/') parser.add_argument('--file_names', metavar='server', type=str, help='what to name the certificate and key files', default='server') parser.add_argument('--domain_name', metavar='127.0.0.1', type=str, help='the domain for which to generate the cert, by default we use the ip of the current server', default='') parser.add_argument('--days', metavar='500', type=str, help='Number of days until the signed certificate expires', default='500') args = parser.parse_args() # Check if root ca cert is there exists = os.path.isfile(args.root_cert) if not exists: print("-- Root certificate not found at path %s --" % args.root_cert) if args.root_cert == default_root_cert_location: print("-- Default location was used, you may want to specify the location using the '--root_cert' flag --") sys.exit(1) # Check if root ca key is there exists = os.path.isfile(args.root_key) if not exists: print("-- Root certificate key not found at path %s --" % args.root_key) if args.root_key == default_root_key_location: print("-- Default location was used, you may want to specify the location using the '--root_key' flag --") sys.exit(1) exists = os.path.isdir(args.destination) if not exists: print("-- Destination folder %s not found, attempting to create it --" % args.destination) os.makedirs(args.destination) # Generate a new key print("-- Generating private key for our new server certificate") key_name = "%s.key" % args.file_names key_path = os.path.join(args.destination, key_name) retvalue = os.system("openssl genrsa -out %s 2048" % key_path) if retvalue == 0: print("-- Created private key %s --" % key_path) else: print("-- Error creaing private key, openssl returned non-zero exit code %d --" % retvalue) sys.exit(1) # Generate signing request for root CA to sign print("-- Generating a certificate signing request for our root CA to sign") if args.domain_name == '': print("-- No domain name was provided, attemtping to figure out server ip via ip.42.pl --") my_ip = urlopen('http://ip.42.pl/raw').read() print("-- ip.42.pl reported the servers ip as %s --" % my_ip) args.domain_name = my_ip csr_name = "%s.csr" % args.file_names csr_path = os.path.join(args.destination, csr_name) retvalue = os.system("openssl req -new -sha256 -key %s -subj '/C=US/ST=MA/O=Northeastern/CN=%s' -out %s" % (key_path, args.domain_name, csr_path)) if retvalue == 0: print("-- Created certificate signing request %s --" % csr_path) else: print("-- Error creaing certificate signing request, openssl returned non-zero exit code %d --" % retvalue) sys.exit(1) # openssl x509 -req -in mydomain.com.csr -CA rootCA.crt -CAkey rootCA.key -CAcreateserial -out mydomain.com.crt -days 500 -sha256 # Sign the certificate request print("-- Signing the certificate signing request --") crt_name = "%s.crt" % args.file_names crt_path = os.path.join(args.destination, crt_name) retvalue = os.system("openssl x509 -req -in %s -CA %s -CAkey %s -passin pass:%s -CAcreateserial -out %s -days %s -sha256" % (csr_path, args.root_cert, args.root_key, args.root_pass, crt_path, args.days)) if retvalue == 0: print("-- Signed certificate %s --" % crt_path) else: print("-- Error signing certificate, openssl returned non-zero exit code %d --" % retvalue) if retvalue == 256: print("-- It looks like the root password was incorrect --") print("-- If you did not specify a root password but one is required, please use the '--root_pass' flag to specify one") sys.exit(1) print("-- Cleaning up --") os.remove(csr_path) print("-- Success --")
[ 1, 1053, 1852, 5510, 13, 5215, 2897, 13, 5215, 10876, 13, 3166, 3142, 1982, 29906, 1053, 5065, 417, 2238, 13, 13, 29937, 2045, 597, 29887, 391, 29889, 3292, 29889, 510, 29914, 29888, 593, 3083, 29920, 29914, 6854, 29896, 29946, 29888, 774, 29945, 29874, 29946, 29953, 29890, 29906, 8710, 29946, 29906, 29947, 29872, 29900, 29900, 29900, 29896, 29945, 29955, 29946, 29946, 29955, 29941, 29900, 29929, 13, 13, 4381, 29918, 4632, 29918, 6327, 29918, 5479, 353, 19283, 16265, 29914, 1113, 29889, 29883, 2273, 29915, 13, 4381, 29918, 4632, 29918, 1989, 29918, 5479, 353, 19283, 16265, 29914, 1113, 29889, 1989, 29915, 13, 13, 16680, 353, 1852, 5510, 29889, 15730, 11726, 29898, 13, 1678, 6139, 2433, 5631, 403, 263, 716, 12289, 322, 1804, 372, 411, 3876, 12766, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4632, 29918, 6327, 742, 1539, 485, 279, 2433, 1113, 29889, 29883, 2273, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 2084, 304, 3876, 12289, 742, 2322, 29922, 4381, 29918, 4632, 29918, 6327, 29918, 5479, 29897, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4632, 29918, 1989, 742, 1539, 485, 279, 2433, 1113, 29889, 1989, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 2084, 304, 3876, 12766, 1820, 742, 2322, 29922, 4381, 29918, 4632, 29918, 1989, 29918, 5479, 29897, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 4632, 29918, 3364, 742, 1539, 485, 279, 2433, 29966, 5630, 29958, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 4632, 12289, 4800, 742, 2322, 2433, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 23848, 742, 1539, 485, 279, 2433, 6904, 16265, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 6327, 8021, 1962, 3884, 742, 2322, 2433, 6904, 16265, 29914, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 1445, 29918, 7039, 742, 1539, 485, 279, 2433, 2974, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 5816, 304, 1024, 278, 12289, 322, 1820, 2066, 742, 2322, 2433, 2974, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 7247, 29918, 978, 742, 1539, 485, 279, 2433, 29896, 29906, 29955, 29889, 29900, 29889, 29900, 29889, 29896, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 1552, 5354, 363, 607, 304, 5706, 278, 2284, 29892, 491, 2322, 591, 671, 278, 10377, 310, 278, 1857, 1923, 742, 2322, 2433, 1495, 13, 16680, 29889, 1202, 29918, 23516, 877, 489, 16700, 742, 1539, 485, 279, 2433, 29945, 29900, 29900, 742, 1134, 29922, 710, 29892, 13, 462, 1678, 1371, 2433, 4557, 310, 3841, 2745, 278, 8794, 12289, 1518, 2658, 742, 2322, 2433, 29945, 29900, 29900, 1495, 13, 13, 5085, 353, 13812, 29889, 5510, 29918, 5085, 580, 13, 13, 29937, 5399, 565, 3876, 5777, 2284, 338, 727, 13, 9933, 353, 2897, 29889, 2084, 29889, 275, 1445, 29898, 5085, 29889, 4632, 29918, 6327, 29897, 13, 361, 451, 4864, 29901, 13, 1678, 1596, 703, 489, 28272, 12289, 451, 1476, 472, 2224, 1273, 29879, 1192, 29908, 1273, 6389, 29889, 4632, 29918, 6327, 29897, 13, 1678, 565, 6389, 29889, 4632, 29918, 6327, 1275, 2322, 29918, 4632, 29918, 6327, 29918, 5479, 29901, 13, 4706, 1596, 703, 489, 13109, 4423, 471, 1304, 29892, 366, 1122, 864, 304, 6084, 278, 4423, 773, 278, 525, 489, 4632, 29918, 6327, 29915, 7353, 1192, 1159, 13, 1678, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 29937, 5399, 565, 3876, 5777, 1820, 338, 727, 13, 9933, 353, 2897, 29889, 2084, 29889, 275, 1445, 29898, 5085, 29889, 4632, 29918, 1989, 29897, 13, 361, 451, 4864, 29901, 13, 1678, 1596, 703, 489, 28272, 12289, 1820, 451, 1476, 472, 2224, 1273, 29879, 1192, 29908, 1273, 6389, 29889, 4632, 29918, 1989, 29897, 13, 1678, 565, 6389, 29889, 4632, 29918, 1989, 1275, 2322, 29918, 4632, 29918, 1989, 29918, 5479, 29901, 13, 4706, 1596, 703, 489, 13109, 4423, 471, 1304, 29892, 366, 1122, 864, 304, 6084, 278, 4423, 773, 278, 525, 489, 4632, 29918, 1989, 29915, 7353, 1192, 1159, 13, 1678, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 13, 9933, 353, 2897, 29889, 2084, 29889, 275, 3972, 29898, 5085, 29889, 23848, 29897, 13, 361, 451, 4864, 29901, 13, 1678, 1596, 703, 489, 15435, 3381, 4138, 1273, 29879, 451, 1476, 29892, 15661, 304, 1653, 372, 1192, 29908, 1273, 13, 3986, 6389, 29889, 23848, 29897, 13, 1678, 2897, 29889, 29885, 12535, 12935, 29898, 5085, 29889, 23848, 29897, 13, 13, 29937, 3251, 403, 263, 716, 1820, 13, 2158, 703, 489, 3251, 1218, 2024, 1820, 363, 1749, 716, 1923, 12289, 1159, 13, 1989, 29918, 978, 353, 11860, 29879, 29889, 1989, 29908, 1273, 6389, 29889, 1445, 29918, 7039, 13, 1989, 29918, 2084, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 23848, 29892, 1820, 29918, 978, 29897, 13, 2267, 1767, 353, 2897, 29889, 5205, 703, 22156, 2536, 2531, 2288, 29874, 448, 449, 1273, 29879, 29871, 29906, 29900, 29946, 29947, 29908, 1273, 1820, 29918, 2084, 29897, 13, 13, 361, 3240, 1767, 1275, 29871, 29900, 29901, 13, 1678, 1596, 703, 489, 6760, 630, 2024, 1820, 1273, 29879, 1192, 29908, 1273, 1820, 29918, 2084, 29897, 13, 2870, 29901, 13, 1678, 1596, 703, 489, 4829, 907, 29874, 292, 2024, 1820, 29892, 13246, 2536, 4133, 1661, 29899, 9171, 6876, 775, 1273, 29881, 1192, 29908, 1273, 3240, 1767, 29897, 13, 1678, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 29937, 3251, 403, 26188, 2009, 363, 3876, 12766, 304, 1804, 13, 2158, 703, 489, 3251, 1218, 263, 12289, 26188, 2009, 363, 1749, 3876, 12766, 304, 1804, 1159, 13, 13, 361, 6389, 29889, 7247, 29918, 978, 1275, 525, 2396, 13, 1678, 1596, 703, 489, 1939, 5354, 1024, 471, 4944, 29892, 1098, 331, 9392, 292, 304, 4377, 714, 1923, 10377, 3025, 10377, 29889, 29946, 29906, 29889, 572, 1192, 1159, 13, 1678, 590, 29918, 666, 353, 5065, 417, 2238, 877, 1124, 597, 666, 29889, 29946, 29906, 29889, 572, 29914, 1610, 2824, 949, 580, 13, 1678, 1596, 703, 489, 10377, 29889, 29946, 29906, 29889, 572, 8967, 278, 12424, 10377, 408, 1273, 29879, 1192, 29908, 1273, 590, 29918, 666, 29897, 13, 1678, 6389, 29889, 7247, 29918, 978, 353, 590, 29918, 666, 13, 13, 2395, 29878, 29918, 978, 353, 11860, 29879, 29889, 2395, 29878, 29908, 1273, 6389, 29889, 1445, 29918, 7039, 13, 2395, 29878, 29918, 2084, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 23848, 29892, 5939, 29878, 29918, 978, 29897, 13, 2267, 1767, 353, 2897, 29889, 5205, 703, 22156, 2536, 12428, 448, 1482, 448, 17051, 29906, 29945, 29953, 448, 1989, 1273, 29879, 448, 1491, 29926, 8207, 29907, 29922, 3308, 29914, 1254, 29922, 1529, 29914, 29949, 29922, 29940, 441, 354, 11530, 29914, 13778, 16328, 29879, 29915, 448, 449, 1273, 29879, 29908, 1273, 13, 462, 268, 313, 1989, 29918, 2084, 29892, 6389, 29889, 7247, 29918, 978, 29892, 5939, 29878, 29918, 2084, 876, 13, 361, 3240, 1767, 1275, 29871, 29900, 29901, 13, 1678, 1596, 703, 489, 6760, 630, 12289, 26188, 2009, 1273, 29879, 1192, 29908, 1273, 5939, 29878, 29918, 2084, 29897, 13, 2870, 29901, 13, 1678, 1596, 703, 489, 4829, 907, 29874, 292, 12289, 26188, 2009, 29892, 13246, 2536, 4133, 1661, 29899, 9171, 6876, 775, 1273, 29881, 1192, 29908, 1273, 3240, 1767, 29897, 13, 1678, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 29937, 13246, 2536, 921, 29945, 29900, 29929, 448, 7971, 448, 262, 590, 7247, 29889, 510, 29889, 2395, 29878, 448, 5454, 3876, 5454, 29889, 29883, 2273, 448, 5454, 1989, 3876, 5454, 29889, 1989, 448, 5454, 1037, 1078, 261, 616, 448, 449, 590, 7247, 29889, 510, 29889, 29883, 2273, 448, 16700, 29871, 29945, 29900, 29900, 448, 17051, 29906, 29945, 29953, 13, 13, 29937, 9954, 278, 12289, 2009, 13, 2158, 703, 489, 9954, 292, 278, 12289, 26188, 2009, 1192, 1159, 13, 29883, 2273, 29918, 978, 353, 11860, 29879, 29889, 29883, 2273, 29908, 1273, 6389, 29889, 1445, 29918, 7039, 13, 29883, 2273, 29918, 2084, 353, 2897, 29889, 2084, 29889, 7122, 29898, 5085, 29889, 23848, 29892, 2181, 29873, 29918, 978, 29897, 13, 2267, 1767, 353, 2897, 29889, 5205, 703, 22156, 2536, 921, 29945, 29900, 29929, 448, 7971, 448, 262, 1273, 29879, 448, 5454, 1273, 29879, 448, 5454, 1989, 1273, 29879, 448, 3364, 262, 1209, 16664, 29879, 448, 5454, 1037, 1078, 261, 616, 448, 449, 1273, 29879, 448, 16700, 1273, 29879, 448, 17051, 29906, 29945, 29953, 29908, 1273, 13, 462, 268, 313, 2395, 29878, 29918, 2084, 29892, 6389, 29889, 4632, 29918, 6327, 29892, 6389, 29889, 4632, 29918, 1989, 29892, 6389, 29889, 4632, 29918, 3364, 29892, 2181, 29873, 29918, 2084, 29892, 6389, 29889, 16700, 876, 13, 13, 361, 3240, 1767, 1275, 29871, 29900, 29901, 13, 1678, 1596, 703, 489, 9954, 287, 12289, 1273, 29879, 1192, 29908, 1273, 2181, 29873, 29918, 2084, 29897, 13, 2870, 29901, 13, 1678, 1596, 703, 489, 4829, 26188, 12289, 29892, 13246, 2536, 4133, 1661, 29899, 9171, 6876, 775, 1273, 29881, 1192, 29908, 1273, 3240, 1767, 29897, 13, 1678, 565, 3240, 1767, 1275, 29871, 29906, 29945, 29953, 29901, 13, 4706, 1596, 703, 489, 739, 3430, 763, 278, 3876, 4800, 471, 10240, 1192, 1159, 13, 4706, 1596, 703, 489, 960, 366, 1258, 451, 6084, 263, 3876, 4800, 541, 697, 338, 3734, 29892, 3113, 671, 278, 525, 489, 4632, 29918, 3364, 29915, 7353, 304, 6084, 697, 1159, 13, 1678, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 2158, 703, 489, 315, 14044, 292, 701, 1192, 1159, 13, 359, 29889, 5992, 29898, 2395, 29878, 29918, 2084, 29897, 13, 2158, 703, 489, 21397, 1192, 1159, 13, 2 ]
babel_python/babel_python/rabbitmq.py
threathunterX/python_lib
2
136552
#!/usr/bin/env python # -*- encoding: utf-8 -*# # referencing code in pyspider from __future__ import absolute_import import time, logging import threading, Queue try: from urllib import parse as urlparse except ImportError: import urlparse import pika import pika.exceptions from threathunter_common.rabbitmq.rmqctx import RabbitmqCtx from threathunter_common.util import run_in_thread __author__ = "nebula" catch_error = 0 def catch_error(func): """Catch errors of rabbitmq then reconnect""" def wrap(self, *args, **kwargs): global catch_error try: func(self, *args, **kwargs) except Exception as e: catch_error += 1 if catch_error <= 10 or catch_error % 1000 == 0: logging.error('RabbitMQ error: %r, reconnect.', e) self.reconnect() return func(self, *args, **kwargs) else: catch_error = 0 return wrap class PikaQueue(object): """ A Queue like rabbitmq connector """ Empty = Queue.Empty Full = Queue.Full def __init__(self, dc, exchange, exchange_type, queue, binding_key, **kwargs): """ Constructor for a PikaQueue. Not works with python 3. Default for python 2. amqp_url: https://www.rabbitmq.com/uri-spec.html self_delete: remove the queue while stopped """ if not isinstance(dc, list): dc = [dc] self.dc = dc self.exchange = exchange self.exchange_type = exchange_type self.exchange_durable = kwargs.get("exchange_durable", True) self.queue = queue self.binding_key = binding_key self.queue_durable = kwargs.get("queue_durable", False) self.amqp_url = kwargs.get("amqp_url") if not self.amqp_url: self.amqp_url = RabbitmqCtx.get_instance().amqp_url self.self_delete = kwargs.get("self_delete", False) if not self.exchange: raise RuntimeError("exchange is required") self.lock = threading.RLock() self.consume_task = None self.reconnect() def _reconnect(self): """Reconnect to rabbitmq server""" self.connection = pika.BlockingConnection(pika.URLParameters(self.amqp_url)) self.channel = self.connection.channel() if self.queue: self.channel.queue_declare(queue=self.queue, durable=self.queue_durable, auto_delete=(not self.queue_durable)) for dc in self.dc: full_ex = "{}.{}".format(dc, self.exchange) self.channel.exchange_declare(exchange=full_ex, type=self.exchange_type, durable=self.exchange_durable, auto_delete=(not self.exchange_durable)) self.channel.queue_bind(queue=self.queue, exchange=full_ex, routing_key=self.binding_key) # reconnect successfully def reconnect(self): with self.lock: try: self._reconnect() except pika.exceptions.ChannelClosed: # try once more self._reconnect() @catch_error def qsize(self): with self.lock: if self.queue: ret = self.channel.queue_declare(self.queue, passive=True) else: return 0 return ret.method.message_count def empty(self): if self.qsize() == 0: return True else: return False def full(self): if self.queue and self.max_queue_size and self.qsize() >= self.max_queue_size: return True else: return False @catch_error def close(self): with self.lock: if self.self_delete and self.queue: self.channel.queue_delete(queue=self.queue) self.queue = None if self.channel: self.channel.close() self.channel = None class PikaQueueSender(PikaQueue): def __init__(self, dc, exchange, exchange_type, **kwargs): PikaQueue.__init__(self, dc, exchange, exchange_type, None, None, **kwargs) self.max_queue_size = kwargs.get("max_queue_size") self.lazy_limit = kwargs.get("lazy_limit") if self.queue and self.lazy_limit and self.max_queue_size: self.qsize_diff_limit = int(self.max_queue_size * 0.1) else: self.qsize_diff_limit = 0 self.qsize_diff = 0 self.local2server = Queue.Queue() #add by wxt 2015-12-16 解耦 run_in_thread(self.put_to_server) # add by wxt 2015-12-16 @catch_error def put(self, obj, routing_key, durable=False, block=True, timeout=None): if not block: return self.put_nowait(obj, routing_key) start_time = time.time() while True: try: return self.put_nowait(obj, routing_key, durable) except Queue.Full: if timeout: lasted = time.time() - start_time if timeout > lasted: time.sleep(min(self.max_timeout, timeout - lasted)) else: raise else: time.sleep(self.max_timeout) @catch_error def put_nowait(self, obj, routing_key, durable=False): qsize = self.local2server.qsize() if qsize > 10000: #add by wxt 2015-12-16 if qsize % 500 == 1: logging.error('babel local2server queue size too large %s',qsize) else: self.local2server.put((obj,routing_key,durable,)) def put_to_server(self): while True: try: data = self.local2server.get(timeout=1) obj = data[0] routing_key = data[1] durable = data[2] with self.lock: self.qsize_diff += 1 for dc in self.dc: full_ex = "{}.{}".format(dc, self.exchange) if durable: self.channel.basic_publish(exchange=full_ex, routing_key=routing_key, body=obj, properties=pika.BasicProperties(delivery_mode=2)) # make message persistent) else: self.channel.basic_publish(exchange=full_ex, routing_key=routing_key, body=obj) except Queue.Empty: continue except Exception,e: while 1: try: self.reconnect() break except Exception,e: time.sleep(5) class PikaQueueReceiver(PikaQueue): def __init__(self, dc, exchange, exchange_type, queue, binding_key, **kwargs): PikaQueue.__init__(self, dc, exchange, exchange_type, queue, binding_key, **kwargs) self.max_cache_size = kwargs.get("max_cache_size", 1000) self.cache = Queue.Queue(maxsize=self.max_cache_size) self.full_errors = 0 self.consumer_tag = None self.consume_task = None if not self.queue: raise RuntimeError("queue is required") self.running = False def backend_consuming(self): while self.running: try: while len(self.channel._consumers) and self.running: self.channel.connection.process_data_events() except Exception as ignore: print ignore if self.running: self._restore_consuming_during_server_outage() print 111 def _restore_consuming_during_server_outage(self): while self.running: try: self._reconnect() if self.connection and not self.connection.is_closed: self.consumer_tag = self.channel.basic_consume(self.on_message, queue=self.queue) return except Exception as err: pass finally: time.sleep(1) @catch_error def start_consuming(self): """This method sets up the consumer by first calling add_on_cancel_callback so that the object is notified if RabbitMQ cancels the consumer. It then issues the Basic.Consume RPC command which returns the consumer tag that is used to uniquely identify the consumer with RabbitMQ. We keep the value to use it when we want to cancel consuming. The on_message method is passed in as a callback pika will invoke when a message is fully received """ # self.channel.add_on_cancel_callback(self.on_consumer_cancelled) self.running = True self.consumer_tag = self.channel.basic_consume(self.on_message, queue=self.queue) self.consume_task = run_in_thread(self.backend_consuming) def stop_consuming(self): """Tell RabbitMQ that you would like to stop consuming by sending the Basic.Cancel RPC command. """ with self.lock: self.running = False if self.consume_task: self.consume_task.join(timeout=2) self.consume_task = None if self.channel and self.consumer_tag: self.channel.basic_cancel(self.consumer_tag) self.consumer_tag = None def on_consumer_cancelled(self, method_frame): """Invoked by pika when RabbitMQ sends a Basic.Cancel for a consumer receiving messages. :param pika.frame.Method method_frame: The Basic.Cancel frame """ pass # self.close() def on_message(self, unused_channel, basic_deliver, properties, body): """Invoked by pika when a message is delivered from RabbitMQ. The channel is passed for your convenience. The basic_deliver object that is passed in carries the exchange, routing key, delivery tag and a redelivered flag for the message. The properties passed in is an instance of BasicProperties with the message properties and the body is the message that was sent. :param pika.channel.Channel unused_channel: The channel object :param pika.Spec.Basic.Deliver: basic_deliver method :param pika.Spec.BasicProperties: properties :param str|unicode body: The message body """ try: self.cache.put(body) self.channel.basic_ack(basic_deliver.delivery_tag) except Queue.Full: self.full_errors += 1 def get_errors_due_to_queue_full(self): return self.full_errors def get_nowait(self): return self.cache.get_nowait() def get(self, block=True, timeout=None): return self.cache.get(block, timeout) def get_cached_number(self): return self.cache.qsize() def dump_cache(self): old_cache = self.cache self.cache = Queue.Queue(maxsize=self.max_cache_size) result = list() for _ in range(old_cache.qsize()): try: result.append(old_cache.get_nowait()) except Queue.Empty: continue return result def close(self): self.stop_consuming() PikaQueue.close(self) class PikaTwoLayerQueueReceiver(PikaQueueReceiver): """ For the exchange to exchange relaying routing """ def __init__(self, dc, first_exchange, first_exchange_type, first_binding_key, second_exchange, second_exchange_type, queue, binding_key, **kwargs): if not isinstance(dc, list): dc = [dc] self.first_exchange_dc = dc self.first_exchange = first_exchange self.first_exchange_type = first_exchange_type self.first_binding_key = first_binding_key self.first_exchange_durable = kwargs.get("first_exchange_durable", True) PikaQueueReceiver.__init__(self, [], second_exchange, second_exchange_type, queue, binding_key, **kwargs) def _reconnect(self): PikaQueue._reconnect(self) # ugly here, if self.queue: self.channel.queue_declare(queue=self.queue, durable=self.queue_durable, auto_delete=(not self.queue_durable)) self.channel.exchange_declare(exchange=self.exchange, type=self.exchange_type, durable=self.exchange_durable, auto_delete=(not self.exchange_durable)) self.channel.queue_bind(queue=self.queue, exchange=self.exchange, routing_key=self.binding_key) for dc in self.first_exchange_dc: full_ex = "{}.{}".format(dc, self.first_exchange) self.channel.exchange_declare(exchange=full_ex, type=self.first_exchange_type, durable=self.first_exchange_durable, auto_delete=(not self.first_exchange_durable)) self.channel.exchange_bind(source=full_ex, destination=self.exchange, routing_key=self.first_binding_key)
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 8025, 29901, 23616, 29899, 29947, 448, 29930, 29937, 13, 29937, 29371, 775, 297, 282, 952, 29886, 1241, 13, 3166, 4770, 29888, 9130, 1649, 1053, 8380, 29918, 5215, 13, 5215, 931, 29892, 12183, 13, 5215, 3244, 292, 29892, 5462, 434, 13, 2202, 29901, 13, 1678, 515, 3142, 1982, 1053, 6088, 408, 3142, 5510, 13, 19499, 16032, 2392, 29901, 13, 1678, 1053, 3142, 5510, 13, 13, 5215, 282, 4106, 13, 5215, 282, 4106, 29889, 11739, 29879, 13, 3166, 12455, 493, 8428, 29918, 9435, 29889, 336, 1327, 277, 28466, 29889, 1758, 29939, 13073, 1053, 16155, 2966, 28466, 29907, 7508, 13, 3166, 12455, 493, 8428, 29918, 9435, 29889, 4422, 1053, 1065, 29918, 262, 29918, 7097, 13, 13, 1649, 8921, 1649, 353, 376, 484, 29890, 2497, 29908, 13, 13, 12510, 29918, 2704, 353, 29871, 29900, 13, 1753, 4380, 29918, 2704, 29898, 9891, 1125, 13, 1678, 9995, 29907, 905, 4436, 310, 27127, 277, 28466, 769, 337, 6915, 15945, 29908, 13, 1678, 822, 12244, 29898, 1311, 29892, 334, 5085, 29892, 3579, 19290, 1125, 13, 4706, 5534, 4380, 29918, 2704, 13, 4706, 1018, 29901, 13, 9651, 3653, 29898, 1311, 29892, 334, 5085, 29892, 3579, 19290, 29897, 13, 4706, 5174, 8960, 408, 321, 29901, 13, 9651, 4380, 29918, 2704, 4619, 29871, 29896, 13, 9651, 565, 4380, 29918, 2704, 5277, 29871, 29896, 29900, 470, 4380, 29918, 2704, 1273, 29871, 29896, 29900, 29900, 29900, 1275, 29871, 29900, 29901, 13, 18884, 12183, 29889, 2704, 877, 29934, 370, 2966, 25566, 1059, 29901, 1273, 29878, 29892, 337, 6915, 29889, 742, 321, 29897, 13, 9651, 1583, 29889, 276, 6915, 580, 13, 9651, 736, 3653, 29898, 1311, 29892, 334, 5085, 29892, 3579, 19290, 29897, 13, 4706, 1683, 29901, 13, 9651, 4380, 29918, 2704, 353, 29871, 29900, 13, 1678, 736, 12244, 13, 13, 13, 1990, 349, 4106, 10620, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 319, 5462, 434, 763, 27127, 277, 28466, 1826, 2801, 13, 1678, 9995, 13, 13, 1678, 2812, 2349, 353, 5462, 434, 29889, 8915, 13, 1678, 14846, 353, 5462, 434, 29889, 13658, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 270, 29883, 29892, 14523, 29892, 14523, 29918, 1853, 29892, 9521, 29892, 9956, 29918, 1989, 29892, 3579, 19290, 1125, 13, 4706, 9995, 13, 4706, 1281, 18769, 363, 263, 349, 4106, 10620, 29889, 13, 13, 4706, 2216, 1736, 411, 3017, 29871, 29941, 29889, 13109, 363, 3017, 29871, 29906, 29889, 13, 13, 4706, 626, 29939, 29886, 29918, 2271, 29901, 259, 2045, 597, 1636, 29889, 336, 1327, 277, 28466, 29889, 510, 29914, 5338, 29899, 6550, 29889, 1420, 13, 4706, 1583, 29918, 8143, 29901, 3349, 278, 9521, 1550, 11084, 13, 4706, 9995, 13, 4706, 565, 451, 338, 8758, 29898, 13891, 29892, 1051, 1125, 13, 9651, 270, 29883, 353, 518, 13891, 29962, 13, 4706, 1583, 29889, 13891, 353, 270, 29883, 13, 4706, 1583, 29889, 6543, 353, 14523, 13, 4706, 1583, 29889, 6543, 29918, 1853, 353, 14523, 29918, 1853, 13, 4706, 1583, 29889, 6543, 29918, 29881, 21115, 353, 9049, 5085, 29889, 657, 703, 6543, 29918, 29881, 21115, 613, 5852, 29897, 13, 4706, 1583, 29889, 9990, 353, 9521, 13, 4706, 1583, 29889, 19672, 29918, 1989, 353, 9956, 29918, 1989, 13, 4706, 1583, 29889, 9990, 29918, 29881, 21115, 353, 9049, 5085, 29889, 657, 703, 9990, 29918, 29881, 21115, 613, 7700, 29897, 13, 4706, 1583, 29889, 314, 29939, 29886, 29918, 2271, 353, 9049, 5085, 29889, 657, 703, 314, 29939, 29886, 29918, 2271, 1159, 13, 4706, 565, 451, 1583, 29889, 314, 29939, 29886, 29918, 2271, 29901, 13, 9651, 1583, 29889, 314, 29939, 29886, 29918, 2271, 353, 16155, 2966, 28466, 29907, 7508, 29889, 657, 29918, 8758, 2141, 314, 29939, 29886, 29918, 2271, 13, 4706, 1583, 29889, 1311, 29918, 8143, 353, 9049, 5085, 29889, 657, 703, 1311, 29918, 8143, 613, 7700, 29897, 13, 13, 4706, 565, 451, 1583, 29889, 6543, 29901, 13, 9651, 12020, 24875, 2392, 703, 6543, 338, 3734, 1159, 13, 13, 4706, 1583, 29889, 908, 353, 3244, 292, 29889, 2241, 1698, 580, 13, 4706, 1583, 29889, 3200, 2017, 29918, 7662, 353, 6213, 13, 4706, 1583, 29889, 276, 6915, 580, 13, 308, 13, 1678, 822, 903, 276, 6915, 29898, 1311, 1125, 13, 4706, 9995, 1123, 6915, 304, 27127, 277, 28466, 1923, 15945, 29908, 13, 4706, 1583, 29889, 9965, 353, 282, 4106, 29889, 7445, 292, 5350, 29898, 29886, 4106, 29889, 4219, 11507, 29898, 1311, 29889, 314, 29939, 29886, 29918, 2271, 876, 13, 4706, 1583, 29889, 12719, 353, 1583, 29889, 9965, 29889, 12719, 580, 13, 13, 4706, 565, 1583, 29889, 9990, 29901, 13, 9651, 1583, 29889, 12719, 29889, 9990, 29918, 7099, 8663, 29898, 9990, 29922, 1311, 29889, 9990, 29892, 1411, 519, 29922, 1311, 29889, 9990, 29918, 29881, 21115, 29892, 4469, 29918, 8143, 7607, 1333, 1583, 29889, 9990, 29918, 29881, 21115, 876, 13, 9651, 363, 270, 29883, 297, 1583, 29889, 13891, 29901, 13, 18884, 2989, 29918, 735, 353, 29850, 1836, 8875, 1642, 4830, 29898, 13891, 29892, 1583, 29889, 6543, 29897, 13, 18884, 1583, 29889, 12719, 29889, 6543, 29918, 7099, 8663, 29898, 6543, 29922, 8159, 29918, 735, 29892, 1134, 29922, 1311, 29889, 6543, 29918, 1853, 29892, 1411, 519, 29922, 1311, 29889, 6543, 29918, 29881, 21115, 29892, 13, 462, 462, 795, 4469, 29918, 8143, 7607, 1333, 1583, 29889, 6543, 29918, 29881, 21115, 876, 13, 18884, 1583, 29889, 12719, 29889, 9990, 29918, 5355, 29898, 9990, 29922, 1311, 29889, 9990, 29892, 14523, 29922, 8159, 29918, 735, 29892, 21398, 29918, 1989, 29922, 1311, 29889, 19672, 29918, 1989, 29897, 13, 13, 4706, 396, 337, 6915, 8472, 13, 13, 1678, 822, 337, 6915, 29898, 1311, 1125, 13, 4706, 411, 1583, 29889, 908, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 276, 6915, 580, 13, 9651, 5174, 282, 4106, 29889, 11739, 29879, 29889, 13599, 6821, 2662, 29901, 13, 18884, 396, 1018, 2748, 901, 13, 18884, 1583, 3032, 276, 6915, 580, 13, 13, 1678, 732, 12510, 29918, 2704, 13, 1678, 822, 3855, 2311, 29898, 1311, 1125, 13, 4706, 411, 1583, 29889, 908, 29901, 13, 9651, 565, 1583, 29889, 9990, 29901, 13, 18884, 3240, 353, 1583, 29889, 12719, 29889, 9990, 29918, 7099, 8663, 29898, 1311, 29889, 9990, 29892, 1209, 573, 29922, 5574, 29897, 13, 9651, 1683, 29901, 13, 18884, 736, 29871, 29900, 13, 4706, 736, 3240, 29889, 5696, 29889, 4906, 29918, 2798, 13, 13, 1678, 822, 4069, 29898, 1311, 1125, 13, 4706, 565, 1583, 29889, 29939, 2311, 580, 1275, 29871, 29900, 29901, 13, 9651, 736, 5852, 13, 4706, 1683, 29901, 13, 9651, 736, 7700, 13, 13, 1678, 822, 2989, 29898, 1311, 1125, 13, 4706, 565, 1583, 29889, 9990, 322, 1583, 29889, 3317, 29918, 9990, 29918, 2311, 322, 1583, 29889, 29939, 2311, 580, 6736, 1583, 29889, 3317, 29918, 9990, 29918, 2311, 29901, 13, 9651, 736, 5852, 13, 4706, 1683, 29901, 13, 9651, 736, 7700, 13, 13, 1678, 732, 12510, 29918, 2704, 13, 1678, 822, 3802, 29898, 1311, 1125, 13, 4706, 411, 1583, 29889, 908, 29901, 13, 9651, 565, 1583, 29889, 1311, 29918, 8143, 322, 1583, 29889, 9990, 29901, 13, 18884, 1583, 29889, 12719, 29889, 9990, 29918, 8143, 29898, 9990, 29922, 1311, 29889, 9990, 29897, 13, 18884, 1583, 29889, 9990, 353, 6213, 13, 9651, 565, 1583, 29889, 12719, 29901, 13, 18884, 1583, 29889, 12719, 29889, 5358, 580, 13, 18884, 1583, 29889, 12719, 353, 6213, 13, 13, 13, 1990, 349, 4106, 10620, 29615, 29898, 29925, 4106, 10620, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 270, 29883, 29892, 14523, 29892, 14523, 29918, 1853, 29892, 3579, 19290, 1125, 13, 4706, 349, 4106, 10620, 17255, 2344, 12035, 1311, 29892, 270, 29883, 29892, 14523, 29892, 14523, 29918, 1853, 29892, 6213, 29892, 6213, 29892, 3579, 19290, 29897, 13, 4706, 1583, 29889, 3317, 29918, 9990, 29918, 2311, 353, 9049, 5085, 29889, 657, 703, 3317, 29918, 9990, 29918, 2311, 1159, 13, 4706, 1583, 29889, 433, 1537, 29918, 13400, 353, 9049, 5085, 29889, 657, 703, 433, 1537, 29918, 13400, 1159, 13, 13, 4706, 565, 1583, 29889, 9990, 322, 1583, 29889, 433, 1537, 29918, 13400, 322, 1583, 29889, 3317, 29918, 9990, 29918, 2311, 29901, 13, 9651, 1583, 29889, 29939, 2311, 29918, 12765, 29918, 13400, 353, 938, 29898, 1311, 29889, 3317, 29918, 9990, 29918, 2311, 334, 29871, 29900, 29889, 29896, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 29889, 29939, 2311, 29918, 12765, 29918, 13400, 353, 29871, 29900, 13, 4706, 1583, 29889, 29939, 2311, 29918, 12765, 353, 29871, 29900, 13, 4706, 1583, 29889, 2997, 29906, 2974, 353, 5462, 434, 29889, 10620, 580, 396, 1202, 491, 281, 486, 29871, 29906, 29900, 29896, 29945, 29899, 29896, 29906, 29899, 29896, 29953, 29871, 31201, 235, 131, 169, 13, 4706, 1065, 29918, 262, 29918, 7097, 29898, 1311, 29889, 649, 29918, 517, 29918, 2974, 29897, 396, 788, 491, 281, 486, 29871, 29906, 29900, 29896, 29945, 29899, 29896, 29906, 29899, 29896, 29953, 13, 308, 13, 1678, 732, 12510, 29918, 2704, 13, 1678, 822, 1925, 29898, 1311, 29892, 5446, 29892, 21398, 29918, 1989, 29892, 1411, 519, 29922, 8824, 29892, 2908, 29922, 5574, 29892, 11815, 29922, 8516, 1125, 13, 4706, 565, 451, 2908, 29901, 13, 9651, 736, 1583, 29889, 649, 29918, 3707, 1249, 29898, 5415, 29892, 21398, 29918, 1989, 29897, 13, 13, 4706, 1369, 29918, 2230, 353, 931, 29889, 2230, 580, 13, 4706, 1550, 5852, 29901, 13, 9651, 1018, 29901, 13, 18884, 736, 1583, 29889, 649, 29918, 3707, 1249, 29898, 5415, 29892, 21398, 29918, 1989, 29892, 1411, 519, 29897, 13, 9651, 5174, 5462, 434, 29889, 13658, 29901, 13, 18884, 565, 11815, 29901, 13, 462, 1678, 1833, 287, 353, 931, 29889, 2230, 580, 448, 1369, 29918, 2230, 13, 462, 1678, 565, 11815, 1405, 1833, 287, 29901, 13, 462, 4706, 931, 29889, 17059, 29898, 1195, 29898, 1311, 29889, 3317, 29918, 15619, 29892, 11815, 448, 1833, 287, 876, 13, 462, 1678, 1683, 29901, 13, 462, 4706, 12020, 13, 18884, 1683, 29901, 13, 462, 1678, 931, 29889, 17059, 29898, 1311, 29889, 3317, 29918, 15619, 29897, 13, 13, 1678, 732, 12510, 29918, 2704, 13, 1678, 822, 1925, 29918, 3707, 1249, 29898, 1311, 29892, 5446, 29892, 21398, 29918, 1989, 29892, 1411, 519, 29922, 8824, 1125, 13, 308, 13, 4706, 3855, 2311, 353, 1583, 29889, 2997, 29906, 2974, 29889, 29939, 2311, 580, 13, 4706, 565, 3855, 2311, 1405, 29871, 29896, 29900, 29900, 29900, 29900, 29901, 29871, 396, 1202, 491, 281, 486, 29871, 29906, 29900, 29896, 29945, 29899, 29896, 29906, 29899, 29896, 29953, 13, 9651, 565, 3855, 2311, 1273, 29871, 29945, 29900, 29900, 1275, 29871, 29896, 29901, 13, 18884, 12183, 29889, 2704, 877, 28727, 1887, 29906, 2974, 9521, 2159, 2086, 2919, 1273, 29879, 742, 29939, 2311, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 29889, 2997, 29906, 2974, 29889, 649, 3552, 5415, 29892, 14608, 292, 29918, 1989, 29892, 29881, 21115, 29892, 876, 13, 13, 13, 1678, 822, 1925, 29918, 517, 29918, 2974, 29898, 1311, 1125, 13, 13, 4706, 1550, 5852, 29901, 13, 9651, 1018, 29901, 13, 18884, 848, 353, 1583, 29889, 2997, 29906, 2974, 29889, 657, 29898, 15619, 29922, 29896, 29897, 13, 18884, 5446, 353, 848, 29961, 29900, 29962, 13, 18884, 21398, 29918, 1989, 353, 848, 29961, 29896, 29962, 13, 18884, 1411, 519, 353, 848, 29961, 29906, 29962, 308, 13, 18884, 411, 1583, 29889, 908, 29901, 13, 462, 1678, 1583, 29889, 29939, 2311, 29918, 12765, 4619, 29871, 29896, 13, 462, 1678, 363, 270, 29883, 297, 1583, 29889, 13891, 29901, 13, 462, 4706, 2989, 29918, 735, 353, 29850, 1836, 8875, 1642, 4830, 29898, 13891, 29892, 1583, 29889, 6543, 29897, 13, 13, 462, 4706, 565, 1411, 519, 29901, 13, 462, 9651, 1583, 29889, 12719, 29889, 16121, 29918, 23679, 29898, 6543, 29922, 8159, 29918, 735, 29892, 21398, 29918, 1989, 29922, 14608, 292, 29918, 1989, 29892, 3573, 29922, 5415, 29892, 13, 462, 462, 462, 795, 4426, 29922, 29886, 4106, 29889, 16616, 11857, 29898, 29881, 27657, 29918, 8513, 29922, 29906, 876, 396, 1207, 2643, 28152, 29897, 13, 462, 4706, 1683, 29901, 13, 462, 9651, 1583, 29889, 12719, 29889, 16121, 29918, 23679, 29898, 6543, 29922, 8159, 29918, 735, 29892, 21398, 29918, 1989, 29922, 14608, 292, 29918, 1989, 29892, 3573, 29922, 5415, 29897, 13, 9651, 5174, 5462, 434, 29889, 8915, 29901, 13, 18884, 6773, 13, 9651, 5174, 8960, 29892, 29872, 29901, 13, 18884, 1550, 29871, 29896, 29901, 13, 462, 1678, 1018, 29901, 13, 462, 4706, 1583, 29889, 276, 6915, 580, 13, 462, 4706, 2867, 13, 462, 1678, 5174, 8960, 29892, 29872, 29901, 13, 462, 4706, 931, 29889, 17059, 29898, 29945, 29897, 13, 462, 13, 13, 13, 1990, 349, 4106, 10620, 22068, 29898, 29925, 4106, 10620, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 270, 29883, 29892, 14523, 29892, 14523, 29918, 1853, 29892, 9521, 29892, 9956, 29918, 1989, 29892, 3579, 19290, 1125, 13, 4706, 349, 4106, 10620, 17255, 2344, 12035, 1311, 29892, 270, 29883, 29892, 14523, 29892, 14523, 29918, 1853, 29892, 9521, 29892, 9956, 29918, 1989, 29892, 3579, 19290, 29897, 13, 4706, 1583, 29889, 3317, 29918, 8173, 29918, 2311, 353, 9049, 5085, 29889, 657, 703, 3317, 29918, 8173, 29918, 2311, 613, 29871, 29896, 29900, 29900, 29900, 29897, 13, 4706, 1583, 29889, 8173, 353, 5462, 434, 29889, 10620, 29898, 3317, 2311, 29922, 1311, 29889, 3317, 29918, 8173, 29918, 2311, 29897, 13, 4706, 1583, 29889, 8159, 29918, 12523, 353, 29871, 29900, 13, 4706, 1583, 29889, 25978, 261, 29918, 4039, 353, 6213, 13, 4706, 1583, 29889, 3200, 2017, 29918, 7662, 353, 6213, 13, 4706, 565, 451, 1583, 29889, 9990, 29901, 13, 9651, 12020, 24875, 2392, 703, 9990, 338, 3734, 1159, 13, 4706, 1583, 29889, 21094, 353, 7700, 13, 13, 1678, 822, 14998, 29918, 25978, 292, 29898, 1311, 1125, 13, 4706, 1550, 1583, 29889, 21094, 29901, 13, 9651, 1018, 29901, 13, 18884, 1550, 7431, 29898, 1311, 29889, 12719, 3032, 25978, 414, 29897, 322, 1583, 29889, 21094, 29901, 13, 462, 1678, 1583, 29889, 12719, 29889, 9965, 29889, 5014, 29918, 1272, 29918, 13604, 580, 13, 9651, 5174, 8960, 408, 11455, 29901, 13, 18884, 1596, 11455, 13, 18884, 565, 1583, 29889, 21094, 29901, 13, 462, 1678, 1583, 3032, 5060, 487, 29918, 25978, 292, 29918, 29881, 3864, 29918, 2974, 29918, 449, 482, 580, 13, 4706, 1596, 29871, 29896, 29896, 29896, 13, 13, 1678, 822, 903, 5060, 487, 29918, 25978, 292, 29918, 29881, 3864, 29918, 2974, 29918, 449, 482, 29898, 1311, 1125, 13, 4706, 1550, 1583, 29889, 21094, 29901, 13, 9651, 1018, 29901, 13, 18884, 1583, 3032, 276, 6915, 580, 13, 18884, 565, 1583, 29889, 9965, 322, 451, 1583, 29889, 9965, 29889, 275, 29918, 15603, 29901, 13, 462, 1678, 1583, 29889, 25978, 261, 29918, 4039, 353, 1583, 29889, 12719, 29889, 16121, 29918, 3200, 2017, 29898, 1311, 29889, 265, 29918, 4906, 29892, 9521, 29922, 1311, 29889, 9990, 29897, 13, 462, 1678, 736, 13, 9651, 5174, 8960, 408, 4589, 29901, 13, 18884, 1209, 13, 9651, 7146, 29901, 13, 18884, 931, 29889, 17059, 29898, 29896, 29897, 13, 13, 1678, 732, 12510, 29918, 2704, 13, 1678, 822, 1369, 29918, 25978, 292, 29898, 1311, 1125, 13, 4706, 9995, 4013, 1158, 6166, 701, 278, 21691, 491, 937, 5432, 13, 4706, 788, 29918, 265, 29918, 20713, 29918, 14035, 577, 393, 278, 1203, 338, 451, 2164, 565, 16155, 2966, 25566, 13, 4706, 508, 29883, 1379, 278, 21691, 29889, 739, 769, 5626, 278, 19219, 29889, 13696, 2017, 390, 9026, 1899, 13, 4706, 607, 3639, 278, 21691, 4055, 393, 338, 1304, 304, 20498, 873, 12439, 278, 13, 4706, 21691, 411, 16155, 2966, 25566, 29889, 1334, 3013, 278, 995, 304, 671, 372, 746, 591, 864, 304, 13, 4706, 12611, 1136, 9929, 29889, 450, 373, 29918, 4906, 1158, 338, 4502, 297, 408, 263, 6939, 282, 4106, 13, 4706, 674, 15928, 746, 263, 2643, 338, 8072, 4520, 13, 13, 4706, 9995, 13, 4706, 396, 1583, 29889, 12719, 29889, 1202, 29918, 265, 29918, 20713, 29918, 14035, 29898, 1311, 29889, 265, 29918, 25978, 261, 29918, 20713, 839, 29897, 13, 4706, 1583, 29889, 21094, 353, 5852, 13, 4706, 1583, 29889, 25978, 261, 29918, 4039, 353, 1583, 29889, 12719, 29889, 16121, 29918, 3200, 2017, 29898, 1311, 29889, 265, 29918, 4906, 29892, 9521, 29922, 1311, 29889, 9990, 29897, 13, 4706, 1583, 29889, 3200, 2017, 29918, 7662, 353, 1065, 29918, 262, 29918, 7097, 29898, 1311, 29889, 27852, 29918, 25978, 292, 29897, 13, 13, 1678, 822, 5040, 29918, 25978, 292, 29898, 1311, 1125, 13, 4706, 9995, 29911, 514, 16155, 2966, 25566, 393, 366, 723, 763, 304, 5040, 1136, 9929, 491, 9348, 278, 13, 4706, 19219, 29889, 19420, 390, 9026, 1899, 29889, 13, 13, 4706, 9995, 13, 4706, 411, 1583, 29889, 908, 29901, 13, 9651, 1583, 29889, 21094, 353, 7700, 13, 9651, 565, 1583, 29889, 3200, 2017, 29918, 7662, 29901, 13, 18884, 1583, 29889, 3200, 2017, 29918, 7662, 29889, 7122, 29898, 15619, 29922, 29906, 29897, 13, 18884, 1583, 29889, 3200, 2017, 29918, 7662, 353, 6213, 13, 9651, 565, 1583, 29889, 12719, 322, 1583, 29889, 25978, 261, 29918, 4039, 29901, 13, 18884, 1583, 29889, 12719, 29889, 16121, 29918, 20713, 29898, 1311, 29889, 25978, 261, 29918, 4039, 29897, 13, 18884, 1583, 29889, 25978, 261, 29918, 4039, 353, 6213, 13, 13, 1678, 822, 373, 29918, 25978, 261, 29918, 20713, 839, 29898, 1311, 29892, 1158, 29918, 2557, 1125, 13, 4706, 9995, 12165, 12504, 491, 282, 4106, 746, 16155, 2966, 25566, 16003, 263, 19219, 29889, 19420, 363, 263, 21691, 13, 4706, 13442, 7191, 29889, 13, 13, 4706, 584, 3207, 282, 4106, 29889, 2557, 29889, 4062, 1158, 29918, 2557, 29901, 450, 19219, 29889, 19420, 3515, 13, 13, 4706, 9995, 13, 4706, 1209, 13, 4706, 396, 1583, 29889, 5358, 580, 13, 13, 1678, 822, 373, 29918, 4906, 29898, 1311, 29892, 443, 3880, 29918, 12719, 29892, 6996, 29918, 6144, 2147, 29892, 4426, 29892, 3573, 1125, 13, 4706, 9995, 12165, 12504, 491, 282, 4106, 746, 263, 2643, 338, 20115, 515, 16155, 2966, 25566, 29889, 450, 13, 4706, 8242, 338, 4502, 363, 596, 29703, 29889, 450, 6996, 29918, 6144, 2147, 1203, 393, 13, 4706, 338, 4502, 297, 1559, 2722, 278, 14523, 29892, 21398, 1820, 29892, 28289, 4055, 322, 13, 4706, 263, 2654, 295, 2147, 287, 7353, 363, 278, 2643, 29889, 450, 4426, 4502, 297, 338, 385, 13, 4706, 2777, 310, 19219, 11857, 411, 278, 2643, 4426, 322, 278, 3573, 13, 4706, 338, 278, 2643, 393, 471, 2665, 29889, 13, 13, 4706, 584, 3207, 282, 4106, 29889, 12719, 29889, 13599, 443, 3880, 29918, 12719, 29901, 450, 8242, 1203, 13, 4706, 584, 3207, 282, 4106, 29889, 10299, 29889, 16616, 29889, 13157, 2147, 29901, 6996, 29918, 6144, 2147, 1158, 13, 4706, 584, 3207, 282, 4106, 29889, 10299, 29889, 16616, 11857, 29901, 4426, 13, 4706, 584, 3207, 851, 29989, 2523, 356, 3573, 29901, 450, 2643, 3573, 13, 13, 4706, 9995, 13, 4706, 1018, 29901, 13, 9651, 1583, 29889, 8173, 29889, 649, 29898, 2587, 29897, 13, 9651, 1583, 29889, 12719, 29889, 16121, 29918, 547, 29898, 16121, 29918, 6144, 2147, 29889, 29881, 27657, 29918, 4039, 29897, 13, 4706, 5174, 5462, 434, 29889, 13658, 29901, 13, 9651, 1583, 29889, 8159, 29918, 12523, 4619, 29871, 29896, 13, 13, 1678, 822, 679, 29918, 12523, 29918, 29123, 29918, 517, 29918, 9990, 29918, 8159, 29898, 1311, 1125, 13, 4706, 736, 1583, 29889, 8159, 29918, 12523, 13, 13, 1678, 822, 679, 29918, 3707, 1249, 29898, 1311, 1125, 13, 4706, 736, 1583, 29889, 8173, 29889, 657, 29918, 3707, 1249, 580, 13, 13, 1678, 822, 679, 29898, 1311, 29892, 2908, 29922, 5574, 29892, 11815, 29922, 8516, 1125, 13, 4706, 736, 1583, 29889, 8173, 29889, 657, 29898, 1271, 29892, 11815, 29897, 13, 13, 1678, 822, 679, 29918, 29883, 3791, 29918, 4537, 29898, 1311, 1125, 13, 4706, 736, 1583, 29889, 8173, 29889, 29939, 2311, 580, 13, 13, 1678, 822, 16766, 29918, 8173, 29898, 1311, 1125, 13, 4706, 2030, 29918, 8173, 353, 1583, 29889, 8173, 13, 4706, 1583, 29889, 8173, 353, 5462, 434, 29889, 10620, 29898, 3317, 2311, 29922, 1311, 29889, 3317, 29918, 8173, 29918, 2311, 29897, 13, 4706, 1121, 353, 1051, 580, 13, 4706, 363, 903, 297, 3464, 29898, 1025, 29918, 8173, 29889, 29939, 2311, 580, 1125, 13, 9651, 1018, 29901, 13, 18884, 1121, 29889, 4397, 29898, 1025, 29918, 8173, 29889, 657, 29918, 3707, 1249, 3101, 13, 9651, 5174, 5462, 434, 29889, 8915, 29901, 13, 18884, 6773, 13, 4706, 736, 1121, 13, 13, 1678, 822, 3802, 29898, 1311, 1125, 13, 4706, 1583, 29889, 9847, 29918, 25978, 292, 580, 13, 4706, 349, 4106, 10620, 29889, 5358, 29898, 1311, 29897, 13, 13, 13, 1990, 349, 4106, 13985, 14420, 10620, 22068, 29898, 29925, 4106, 10620, 22068, 1125, 13, 1678, 9995, 13, 1678, 1152, 278, 14523, 304, 14523, 29856, 292, 21398, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 270, 29883, 29892, 937, 29918, 6543, 29892, 937, 29918, 6543, 29918, 1853, 29892, 937, 29918, 19672, 29918, 1989, 29892, 1473, 29918, 6543, 29892, 1473, 29918, 6543, 29918, 1853, 29892, 13, 462, 9521, 29892, 9956, 29918, 1989, 29892, 3579, 19290, 1125, 13, 4706, 565, 451, 338, 8758, 29898, 13891, 29892, 1051, 1125, 13, 9651, 270, 29883, 353, 518, 13891, 29962, 13, 4706, 1583, 29889, 4102, 29918, 6543, 29918, 13891, 353, 270, 29883, 13, 4706, 1583, 29889, 4102, 29918, 6543, 353, 937, 29918, 6543, 13, 4706, 1583, 29889, 4102, 29918, 6543, 29918, 1853, 353, 937, 29918, 6543, 29918, 1853, 13, 4706, 1583, 29889, 4102, 29918, 19672, 29918, 1989, 353, 937, 29918, 19672, 29918, 1989, 13, 4706, 1583, 29889, 4102, 29918, 6543, 29918, 29881, 21115, 353, 9049, 5085, 29889, 657, 703, 4102, 29918, 6543, 29918, 29881, 21115, 613, 5852, 29897, 13, 4706, 349, 4106, 10620, 22068, 17255, 2344, 12035, 1311, 29892, 19997, 1473, 29918, 6543, 29892, 1473, 29918, 6543, 29918, 1853, 29892, 9521, 29892, 9956, 29918, 1989, 29892, 3579, 19290, 29897, 13, 13, 1678, 822, 903, 276, 6915, 29898, 1311, 1125, 13, 4706, 349, 4106, 10620, 3032, 276, 6915, 29898, 1311, 29897, 13, 4706, 396, 22769, 1244, 29892, 13, 4706, 565, 1583, 29889, 9990, 29901, 13, 9651, 1583, 29889, 12719, 29889, 9990, 29918, 7099, 8663, 29898, 9990, 29922, 1311, 29889, 9990, 29892, 1411, 519, 29922, 1311, 29889, 9990, 29918, 29881, 21115, 29892, 4469, 29918, 8143, 7607, 1333, 1583, 29889, 9990, 29918, 29881, 21115, 876, 13, 9651, 1583, 29889, 12719, 29889, 6543, 29918, 7099, 8663, 29898, 6543, 29922, 1311, 29889, 6543, 29892, 1134, 29922, 1311, 29889, 6543, 29918, 1853, 29892, 1411, 519, 29922, 1311, 29889, 6543, 29918, 29881, 21115, 29892, 13, 462, 462, 3986, 4469, 29918, 8143, 7607, 1333, 1583, 29889, 6543, 29918, 29881, 21115, 876, 13, 9651, 1583, 29889, 12719, 29889, 9990, 29918, 5355, 29898, 9990, 29922, 1311, 29889, 9990, 29892, 14523, 29922, 1311, 29889, 6543, 29892, 21398, 29918, 1989, 29922, 1311, 29889, 19672, 29918, 1989, 29897, 13, 9651, 363, 270, 29883, 297, 1583, 29889, 4102, 29918, 6543, 29918, 13891, 29901, 13, 18884, 2989, 29918, 735, 353, 29850, 1836, 8875, 1642, 4830, 29898, 13891, 29892, 1583, 29889, 4102, 29918, 6543, 29897, 13, 18884, 1583, 29889, 12719, 29889, 6543, 29918, 7099, 8663, 29898, 6543, 29922, 8159, 29918, 735, 29892, 1134, 29922, 1311, 29889, 4102, 29918, 6543, 29918, 1853, 29892, 13, 462, 462, 795, 1411, 519, 29922, 1311, 29889, 4102, 29918, 6543, 29918, 29881, 21115, 29892, 4469, 29918, 8143, 7607, 1333, 1583, 29889, 4102, 29918, 6543, 29918, 29881, 21115, 876, 13, 18884, 1583, 29889, 12719, 29889, 6543, 29918, 5355, 29898, 4993, 29922, 8159, 29918, 735, 29892, 12551, 29922, 1311, 29889, 6543, 29892, 13, 462, 462, 965, 21398, 29918, 1989, 29922, 1311, 29889, 4102, 29918, 19672, 29918, 1989, 29897, 13, 2 ]
Dataset/Utils.py
Armanfard-Lab/DASVDD
3
105197
import numpy as np import torch import torch.nn as nn import torchvision import pandas as pd import matplotlib.pyplot as plt import torch.nn.functional as F from sklearn import metrics import torchvision.transforms as transforms def get_target_label_idx(labels, targets): return np.argwhere(np.isin(labels, targets)).flatten().tolist() def global_contrast_normalization(x: torch.tensor, scale='l2'): n_features = int(np.prod(x.shape)) mean = torch.mean(x) x -= mean if scale == 'l1': x_scale = torch.mean(torch.abs(x)) if scale == 'l2': x_scale = torch.sqrt(torch.sum(x ** 2)) / n_features x /= x_scale return x def OneClass(train_dataset,test_dataset,Class): Samples = [] for i in train_dataset: x,y = i if y == Class: Samples.append(x) len(Samples) labels = [] test_points = [] bp = 0 counter = 0 for i in test_dataset: x,y = i if y == Class: bp+=1 LBL = 0 labels.append(LBL) test_points.append(x) elif y!=Class: counter+=1 LBL = 1 labels.append(LBL) test_points.append(x) return Samples,test_points,labels
[ 1, 29871, 13, 13, 5215, 12655, 408, 7442, 13, 5215, 4842, 305, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 4924, 13, 5215, 11701, 408, 10518, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 3166, 2071, 19668, 1053, 21556, 13, 5215, 4842, 305, 4924, 29889, 9067, 29879, 408, 4327, 29879, 13, 13, 1753, 679, 29918, 5182, 29918, 1643, 29918, 13140, 29898, 21134, 29892, 22525, 1125, 13, 1678, 736, 7442, 29889, 1191, 3062, 29898, 9302, 29889, 275, 262, 29898, 21134, 29892, 22525, 8106, 1579, 8606, 2141, 25027, 391, 580, 13, 13, 13, 1753, 5534, 29918, 9996, 579, 29918, 8945, 2133, 29898, 29916, 29901, 4842, 305, 29889, 20158, 29892, 6287, 2433, 29880, 29906, 29374, 13, 13, 1678, 302, 29918, 22100, 353, 938, 29898, 9302, 29889, 10633, 29898, 29916, 29889, 12181, 876, 13, 13, 1678, 2099, 353, 4842, 305, 29889, 12676, 29898, 29916, 29897, 13, 1678, 921, 22361, 2099, 13, 13, 1678, 565, 6287, 1275, 525, 29880, 29896, 2396, 13, 4706, 921, 29918, 7052, 353, 4842, 305, 29889, 12676, 29898, 7345, 305, 29889, 6897, 29898, 29916, 876, 13, 13, 1678, 565, 6287, 1275, 525, 29880, 29906, 2396, 13, 4706, 921, 29918, 7052, 353, 4842, 305, 29889, 3676, 29898, 7345, 305, 29889, 2083, 29898, 29916, 3579, 29871, 29906, 876, 847, 302, 29918, 22100, 13, 13, 1678, 921, 847, 29922, 921, 29918, 7052, 13, 13, 1678, 736, 921, 13, 13, 1753, 3118, 2385, 29898, 14968, 29918, 24713, 29892, 1688, 29918, 24713, 29892, 2385, 1125, 13, 29871, 3685, 2701, 353, 5159, 13, 29871, 363, 474, 297, 7945, 29918, 24713, 29901, 13, 1678, 921, 29892, 29891, 353, 474, 13, 1678, 565, 343, 1275, 4134, 29901, 13, 418, 3685, 2701, 29889, 4397, 29898, 29916, 29897, 13, 29871, 7431, 29898, 29903, 9422, 29897, 13, 29871, 11073, 353, 5159, 13, 29871, 1243, 29918, 9748, 353, 5159, 13, 29871, 289, 29886, 353, 29871, 29900, 13, 29871, 6795, 353, 29871, 29900, 13, 29871, 363, 474, 297, 1243, 29918, 24713, 29901, 13, 1678, 921, 29892, 29891, 353, 474, 13, 1678, 565, 343, 1275, 4134, 29901, 13, 418, 289, 29886, 23661, 29896, 13, 418, 365, 13367, 353, 29871, 29900, 13, 418, 11073, 29889, 4397, 29898, 29931, 13367, 29897, 13, 418, 1243, 29918, 9748, 29889, 4397, 29898, 29916, 29897, 13, 1678, 25342, 343, 19216, 2385, 29901, 13, 418, 6795, 23661, 29896, 13, 418, 365, 13367, 353, 29871, 29896, 13, 418, 11073, 29889, 4397, 29898, 29931, 13367, 29897, 13, 418, 1243, 29918, 9748, 29889, 4397, 29898, 29916, 29897, 13, 29871, 736, 3685, 2701, 29892, 1688, 29918, 9748, 29892, 21134, 13, 13, 13, 13, 13, 13, 13, 2 ]
tests/operators01/__init__.py
Imperatorn/ohmygentool
26
1616823
import os import sys import subprocess import platform import helpers from io import open def run(): test_name = 'optest' config = 'Release' libExt = helpers.static_lib_extensions() dc = helpers.detect_compiler() extra_args = list() helpers.setup_args(extra_args, config=config) if (helpers.is_windows()): extra_args.append(f'-L{test_name}{libExt}') else: extra_args.append(f'-L-l{test_name}') prev_cwd = os.getcwd() rootPath = os.path.dirname(sys.argv[0]) path = (rootPath + '/' + __package__) os.chdir(path) try: os.mkdir('temp') except FileExistsError: pass os.chdir('temp') with open('out.txt', 'w') as out, open('err.txt', 'w') as err: kwargs = dict(stdout=out, stderr=err) try: try: helpers.cmake_run('../cpp', config=config, **kwargs) except subprocess.CalledProcessError: raise ValueError("C++ compilation error") try: subprocess.run(f'../../../build/gentool ../{test_name}.json'.split(), **kwargs) except subprocess.CalledProcessError: raise ValueError("Binding generation failed") try: subprocess.run(f'{dc} ../d/{test_name}.d generated.d {" ".join(extra_args)} -unittest -main -g'.split(), check=True) except subprocess.CalledProcessError: raise ValueError("D compilation error") subprocess.run(f'./{test_name}', check=True) finally: os.chdir(prev_cwd)
[ 1, 1053, 2897, 13, 5215, 10876, 13, 5215, 1014, 5014, 13, 5215, 7481, 13, 5215, 1371, 414, 13, 3166, 12013, 1053, 1722, 13, 13, 13, 13, 1753, 1065, 7295, 13, 1678, 1243, 29918, 978, 353, 525, 3670, 342, 29915, 13, 1678, 2295, 353, 525, 19729, 29915, 13, 1678, 4303, 5647, 353, 1371, 414, 29889, 7959, 29918, 1982, 29918, 24299, 580, 13, 1678, 270, 29883, 353, 1371, 414, 29889, 4801, 522, 29918, 21789, 580, 13, 1678, 4805, 29918, 5085, 353, 1051, 580, 13, 1678, 1371, 414, 29889, 14669, 29918, 5085, 29898, 17833, 29918, 5085, 29892, 2295, 29922, 2917, 29897, 13, 1678, 565, 313, 3952, 6774, 29889, 275, 29918, 10499, 580, 1125, 13, 4706, 4805, 29918, 5085, 29889, 4397, 29898, 29888, 28560, 29931, 29912, 1688, 29918, 978, 1157, 1982, 5647, 29913, 1495, 13, 1678, 1683, 29901, 13, 4706, 4805, 29918, 5085, 29889, 4397, 29898, 29888, 28560, 29931, 29899, 29880, 29912, 1688, 29918, 978, 29913, 1495, 13, 1678, 12379, 29918, 29883, 9970, 353, 2897, 29889, 657, 29883, 9970, 580, 13, 1678, 3876, 2605, 353, 2897, 29889, 2084, 29889, 25721, 29898, 9675, 29889, 19218, 29961, 29900, 2314, 13, 1678, 2224, 353, 313, 4632, 2605, 718, 8207, 29915, 718, 4770, 5113, 1649, 29897, 13, 1678, 2897, 29889, 305, 3972, 29898, 2084, 29897, 13, 1678, 1018, 29901, 13, 4706, 2897, 29889, 11256, 3972, 877, 7382, 1495, 13, 1678, 5174, 3497, 24217, 2392, 29901, 13, 4706, 1209, 13, 1678, 2897, 29889, 305, 3972, 877, 7382, 1495, 13, 1678, 411, 1722, 877, 449, 29889, 3945, 742, 525, 29893, 1495, 408, 714, 29892, 1722, 877, 3127, 29889, 3945, 742, 525, 29893, 1495, 408, 4589, 29901, 13, 4706, 9049, 5085, 353, 9657, 29898, 25393, 29922, 449, 29892, 380, 20405, 29922, 3127, 29897, 13, 4706, 1018, 29901, 13, 9651, 1018, 29901, 13, 18884, 1371, 414, 29889, 29883, 5675, 29918, 3389, 877, 6995, 8223, 742, 2295, 29922, 2917, 29892, 3579, 19290, 29897, 13, 9651, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 29901, 13, 18884, 12020, 7865, 2392, 703, 29907, 1817, 14835, 1059, 1159, 13, 9651, 1018, 29901, 13, 18884, 1014, 5014, 29889, 3389, 29898, 29888, 29915, 21546, 6995, 4282, 29914, 5362, 1507, 6317, 19248, 1688, 29918, 978, 1836, 3126, 4286, 5451, 3285, 3579, 19290, 29897, 13, 9651, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 29901, 13, 18884, 12020, 7865, 2392, 703, 9270, 12623, 5229, 1159, 13, 9651, 1018, 29901, 13, 18884, 1014, 5014, 29889, 3389, 29898, 29888, 29915, 29912, 13891, 29913, 29772, 29881, 19248, 1688, 29918, 978, 1836, 29881, 5759, 29889, 29881, 8853, 11393, 7122, 29898, 17833, 29918, 5085, 2915, 448, 348, 27958, 448, 3396, 448, 29887, 4286, 5451, 3285, 1423, 29922, 5574, 29897, 13, 9651, 5174, 1014, 5014, 29889, 29907, 4212, 7032, 2392, 29901, 13, 18884, 12020, 7865, 2392, 703, 29928, 14835, 1059, 1159, 13, 9651, 1014, 5014, 29889, 3389, 29898, 29888, 4286, 19248, 1688, 29918, 978, 29913, 742, 1423, 29922, 5574, 29897, 13, 4706, 7146, 29901, 13, 9651, 2897, 29889, 305, 3972, 29898, 16304, 29918, 29883, 9970, 29897, 2 ]
examples/mnist_test_pipe.py
vfdev-5/fairscale
6
60905
<filename>examples/mnist_test_pipe.py # adapted from https://github.com/pytorch/examples/blob/master/mnist/main.py from __future__ import print_function import argparse import time import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.optim.lr_scheduler import StepLR from torchvision import datasets, transforms from fairscale.nn import Pipe net = nn.Sequential( nn.Conv2d(1, 32, 3, 1), nn.ReLU(), nn.Conv2d(32, 64, 3, 1), nn.ReLU(), nn.MaxPool2d(kernel_size=2), nn.Dropout2d(0.25), nn.Flatten(1), nn.Linear(9216, 128), nn.ReLU(), nn.Dropout2d(0.5), nn.Linear(128, 10), nn.LogSoftmax(dim=1), ) def train(args, model, device, train_loader, optimizer, epoch): model.train() for batch_idx, (data, target) in enumerate(train_loader): data, target = data.to(device), target.to(device) optimizer.zero_grad() output = model(data) loss = F.nll_loss(output.to(device), target.to(device)) loss.backward() optimizer.step() if batch_idx % args.log_interval == 0: print( "Train Epoch: {} [{}/{} ({:.0f}%)]\tLoss: {:.6f}".format( epoch, batch_idx * len(data), len(train_loader.dataset), 100.0 * batch_idx / len(train_loader), loss.item(), ) ) if args.dry_run: break def test(model, device, test_loader): model.eval() test_loss = 0 correct = 0 with torch.no_grad(): for data, target in test_loader: data, target = data.to(device), target.to(device) output = model(data) test_loss += F.nll_loss(output.to(device), target.to(device), reduction="sum").item() # sum up batch loss pred = output.argmax(dim=1, keepdim=True).to(device) # get the index of the max log-probability correct += pred.eq(target.view_as(pred)).sum().item() test_loss /= len(test_loader.dataset) print( "\nTest set: Average loss: {:.4f}, Accuracy: {}/{} ({:.0f}%)\n".format( test_loss, correct, len(test_loader.dataset), 100.0 * correct / len(test_loader.dataset) ) ) def main(): # Training settings parser = argparse.ArgumentParser(description="PyTorch MNIST Example") parser.add_argument( "--batch-size", type=int, default=64, metavar="N", help="input batch size for training (default: 64)" ) parser.add_argument( "--test-batch-size", type=int, default=1000, metavar="N", help="input batch size for testing (default: 1000)" ) parser.add_argument("--epochs", type=int, default=14, metavar="N", help="number of epochs to train (default: 14)") parser.add_argument("--lr", type=float, default=1.0, metavar="LR", help="learning rate (default: 1.0)") parser.add_argument("--gamma", type=float, default=0.7, metavar="M", help="Learning rate step gamma (default: 0.7)") parser.add_argument("--dry-run", action="store_true", default=False, help="quickly check a single pass") parser.add_argument("--seed", type=int, default=1, metavar="S", help="random seed (default: 1)") parser.add_argument( "--log-interval", type=int, default=10, metavar="N", help="how many batches to wait before logging training status", ) parser.add_argument("--save-model", action="store_true", default=False, help="For Saving the current Model") args = parser.parse_args() torch.manual_seed(args.seed) kwargs = {"batch_size": args.batch_size} kwargs.update({"num_workers": 1, "pin_memory": True, "shuffle": True},) transform = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.1307,), (0.3081,))]) dataset1 = datasets.MNIST("../data", train=True, download=True, transform=transform) dataset2 = datasets.MNIST("../data", train=False, transform=transform) train_loader = torch.utils.data.DataLoader(dataset1, **kwargs) test_loader = torch.utils.data.DataLoader(dataset2, **kwargs) model = net model = Pipe(model, balance=[6, 6], devices=[0, 1], chunks=2) device = model.devices[0] optimizer = optim.Adadelta(model.parameters(), lr=args.lr) scheduler = StepLR(optimizer, step_size=1, gamma=args.gamma) for epoch in range(1, args.epochs + 1): tic = time.perf_counter() train(args, model, device, train_loader, optimizer, epoch) toc = time.perf_counter() print(f">>> TRANING Time {toc - tic:0.4f} seconds") tic = time.perf_counter() test(model, device, test_loader) toc = time.perf_counter() print(f">>> TESTING Time {toc - tic:0.4f} seconds") scheduler.step() if args.save_model: torch.save(model.state_dict(), "mnist_cnn.pt") if __name__ == "__main__": main()
[ 1, 529, 9507, 29958, 19057, 29914, 23521, 391, 29918, 1688, 29918, 17760, 29889, 2272, 13, 29937, 23430, 515, 2045, 597, 3292, 29889, 510, 29914, 2272, 7345, 305, 29914, 19057, 29914, 10054, 29914, 6207, 29914, 23521, 391, 29914, 3396, 29889, 2272, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 13, 13, 5215, 1852, 5510, 13, 5215, 931, 13, 13, 5215, 4842, 305, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 5215, 4842, 305, 29889, 20640, 408, 5994, 13, 3166, 4842, 305, 29889, 20640, 29889, 29212, 29918, 816, 14952, 1053, 16696, 29519, 13, 3166, 4842, 305, 4924, 1053, 20035, 29892, 4327, 29879, 13, 13, 3166, 6534, 7052, 29889, 15755, 1053, 7362, 412, 13, 13, 1212, 353, 302, 29876, 29889, 16941, 2556, 29898, 13, 1678, 302, 29876, 29889, 1168, 29894, 29906, 29881, 29898, 29896, 29892, 29871, 29941, 29906, 29892, 29871, 29941, 29892, 29871, 29896, 511, 13, 1678, 302, 29876, 29889, 1123, 29931, 29965, 3285, 13, 1678, 302, 29876, 29889, 1168, 29894, 29906, 29881, 29898, 29941, 29906, 29892, 29871, 29953, 29946, 29892, 29871, 29941, 29892, 29871, 29896, 511, 13, 1678, 302, 29876, 29889, 1123, 29931, 29965, 3285, 13, 1678, 302, 29876, 29889, 7976, 11426, 29906, 29881, 29898, 17460, 29918, 2311, 29922, 29906, 511, 13, 1678, 302, 29876, 29889, 15063, 449, 29906, 29881, 29898, 29900, 29889, 29906, 29945, 511, 13, 1678, 302, 29876, 29889, 29943, 5066, 841, 29898, 29896, 511, 13, 1678, 302, 29876, 29889, 12697, 29898, 29929, 29906, 29896, 29953, 29892, 29871, 29896, 29906, 29947, 511, 13, 1678, 302, 29876, 29889, 1123, 29931, 29965, 3285, 13, 1678, 302, 29876, 29889, 15063, 449, 29906, 29881, 29898, 29900, 29889, 29945, 511, 13, 1678, 302, 29876, 29889, 12697, 29898, 29896, 29906, 29947, 29892, 29871, 29896, 29900, 511, 13, 1678, 302, 29876, 29889, 3403, 6295, 615, 3317, 29898, 6229, 29922, 29896, 511, 13, 29897, 13, 13, 13, 1753, 7945, 29898, 5085, 29892, 1904, 29892, 4742, 29892, 7945, 29918, 12657, 29892, 5994, 3950, 29892, 21502, 305, 1125, 13, 1678, 1904, 29889, 14968, 580, 13, 1678, 363, 9853, 29918, 13140, 29892, 313, 1272, 29892, 3646, 29897, 297, 26985, 29898, 14968, 29918, 12657, 1125, 13, 4706, 848, 29892, 3646, 353, 848, 29889, 517, 29898, 10141, 511, 3646, 29889, 517, 29898, 10141, 29897, 13, 4706, 5994, 3950, 29889, 9171, 29918, 5105, 580, 13, 4706, 1962, 353, 1904, 29898, 1272, 29897, 13, 4706, 6410, 353, 383, 29889, 29876, 645, 29918, 6758, 29898, 4905, 29889, 517, 29898, 10141, 511, 3646, 29889, 517, 29898, 10141, 876, 13, 4706, 6410, 29889, 1627, 1328, 580, 13, 4706, 5994, 3950, 29889, 10568, 580, 13, 4706, 565, 9853, 29918, 13140, 1273, 6389, 29889, 1188, 29918, 19207, 1275, 29871, 29900, 29901, 13, 9651, 1596, 29898, 13, 18884, 376, 5323, 262, 382, 1129, 305, 29901, 6571, 15974, 6822, 8875, 21313, 29901, 29889, 29900, 29888, 10560, 4638, 29905, 29873, 29931, 2209, 29901, 12365, 29889, 29953, 29888, 29913, 1642, 4830, 29898, 13, 462, 1678, 21502, 305, 29892, 13, 462, 1678, 9853, 29918, 13140, 334, 7431, 29898, 1272, 511, 13, 462, 1678, 7431, 29898, 14968, 29918, 12657, 29889, 24713, 511, 13, 462, 268, 29896, 29900, 29900, 29889, 29900, 334, 9853, 29918, 13140, 847, 7431, 29898, 14968, 29918, 12657, 511, 13, 462, 1678, 6410, 29889, 667, 3285, 13, 18884, 1723, 13, 9651, 1723, 13, 9651, 565, 6389, 29889, 29881, 719, 29918, 3389, 29901, 13, 18884, 2867, 13, 13, 13, 1753, 1243, 29898, 4299, 29892, 4742, 29892, 1243, 29918, 12657, 1125, 13, 1678, 1904, 29889, 14513, 580, 13, 1678, 1243, 29918, 6758, 353, 29871, 29900, 13, 1678, 1959, 353, 29871, 29900, 13, 1678, 411, 4842, 305, 29889, 1217, 29918, 5105, 7295, 13, 4706, 363, 848, 29892, 3646, 297, 1243, 29918, 12657, 29901, 13, 9651, 848, 29892, 3646, 353, 848, 29889, 517, 29898, 10141, 511, 3646, 29889, 517, 29898, 10141, 29897, 13, 9651, 1962, 353, 1904, 29898, 1272, 29897, 13, 9651, 1243, 29918, 6758, 4619, 383, 29889, 29876, 645, 29918, 6758, 29898, 4905, 29889, 517, 29898, 10141, 511, 3646, 29889, 517, 29898, 10141, 511, 20376, 543, 2083, 2564, 667, 580, 29871, 396, 2533, 701, 9853, 6410, 13, 9651, 4450, 353, 1962, 29889, 1191, 3317, 29898, 6229, 29922, 29896, 29892, 3013, 6229, 29922, 5574, 467, 517, 29898, 10141, 29897, 29871, 396, 679, 278, 2380, 310, 278, 4236, 1480, 29899, 22795, 3097, 13, 9651, 1959, 4619, 4450, 29889, 1837, 29898, 5182, 29889, 1493, 29918, 294, 29898, 11965, 8106, 2083, 2141, 667, 580, 13, 13, 1678, 1243, 29918, 6758, 847, 29922, 7431, 29898, 1688, 29918, 12657, 29889, 24713, 29897, 13, 13, 1678, 1596, 29898, 13, 4706, 6634, 29876, 3057, 731, 29901, 319, 19698, 6410, 29901, 12365, 29889, 29946, 29888, 1118, 4831, 332, 4135, 29901, 6571, 29914, 8875, 21313, 29901, 29889, 29900, 29888, 10560, 2144, 29876, 1642, 4830, 29898, 13, 9651, 1243, 29918, 6758, 29892, 1959, 29892, 7431, 29898, 1688, 29918, 12657, 29889, 24713, 511, 29871, 29896, 29900, 29900, 29889, 29900, 334, 1959, 847, 7431, 29898, 1688, 29918, 12657, 29889, 24713, 29897, 13, 4706, 1723, 13, 1678, 1723, 13, 13, 13, 1753, 1667, 7295, 13, 1678, 396, 26101, 6055, 13, 1678, 13812, 353, 1852, 5510, 29889, 15730, 11726, 29898, 8216, 543, 19737, 29911, 25350, 341, 29940, 9047, 8741, 1159, 13, 1678, 13812, 29889, 1202, 29918, 23516, 29898, 13, 4706, 376, 489, 16175, 29899, 2311, 613, 1134, 29922, 524, 29892, 2322, 29922, 29953, 29946, 29892, 1539, 485, 279, 543, 29940, 613, 1371, 543, 2080, 9853, 2159, 363, 6694, 313, 4381, 29901, 29871, 29953, 29946, 5513, 13, 1678, 1723, 13, 1678, 13812, 29889, 1202, 29918, 23516, 29898, 13, 4706, 376, 489, 1688, 29899, 16175, 29899, 2311, 613, 1134, 29922, 524, 29892, 2322, 29922, 29896, 29900, 29900, 29900, 29892, 1539, 485, 279, 543, 29940, 613, 1371, 543, 2080, 9853, 2159, 363, 6724, 313, 4381, 29901, 29871, 29896, 29900, 29900, 29900, 5513, 13, 1678, 1723, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 1022, 2878, 29879, 613, 1134, 29922, 524, 29892, 2322, 29922, 29896, 29946, 29892, 1539, 485, 279, 543, 29940, 613, 1371, 543, 4537, 310, 21502, 12168, 304, 7945, 313, 4381, 29901, 29871, 29896, 29946, 25760, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 29212, 613, 1134, 29922, 7411, 29892, 2322, 29922, 29896, 29889, 29900, 29892, 1539, 485, 279, 543, 29519, 613, 1371, 543, 21891, 6554, 313, 4381, 29901, 29871, 29896, 29889, 29900, 25760, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 4283, 613, 1134, 29922, 7411, 29892, 2322, 29922, 29900, 29889, 29955, 29892, 1539, 485, 279, 543, 29924, 613, 1371, 543, 29931, 799, 1076, 6554, 4331, 330, 2735, 313, 4381, 29901, 29871, 29900, 29889, 29955, 25760, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 29881, 719, 29899, 3389, 613, 3158, 543, 8899, 29918, 3009, 613, 2322, 29922, 8824, 29892, 1371, 543, 24561, 368, 1423, 263, 2323, 1209, 1159, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 26776, 613, 1134, 29922, 524, 29892, 2322, 29922, 29896, 29892, 1539, 485, 279, 543, 29903, 613, 1371, 543, 8172, 16717, 313, 4381, 29901, 29871, 29896, 25760, 13, 1678, 13812, 29889, 1202, 29918, 23516, 29898, 13, 4706, 376, 489, 1188, 29899, 19207, 613, 13, 4706, 1134, 29922, 524, 29892, 13, 4706, 2322, 29922, 29896, 29900, 29892, 13, 4706, 1539, 485, 279, 543, 29940, 613, 13, 4706, 1371, 543, 3525, 1784, 9853, 267, 304, 4480, 1434, 12183, 6694, 4660, 613, 13, 1678, 1723, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 7620, 29899, 4299, 613, 3158, 543, 8899, 29918, 3009, 613, 2322, 29922, 8824, 29892, 1371, 543, 2831, 317, 5555, 278, 1857, 8125, 1159, 13, 1678, 6389, 353, 13812, 29889, 5510, 29918, 5085, 580, 13, 13, 1678, 4842, 305, 29889, 11288, 29918, 26776, 29898, 5085, 29889, 26776, 29897, 13, 13, 1678, 9049, 5085, 353, 8853, 16175, 29918, 2311, 1115, 6389, 29889, 16175, 29918, 2311, 29913, 13, 1678, 9049, 5085, 29889, 5504, 3319, 29908, 1949, 29918, 1287, 414, 1115, 29871, 29896, 29892, 376, 12687, 29918, 14834, 1115, 5852, 29892, 376, 845, 21897, 1115, 5852, 1118, 29897, 13, 13, 1678, 4327, 353, 4327, 29879, 29889, 1523, 4220, 4197, 9067, 29879, 29889, 1762, 29911, 6073, 3285, 4327, 29879, 29889, 19077, 675, 3552, 29900, 29889, 29896, 29941, 29900, 29955, 29892, 511, 313, 29900, 29889, 29941, 29900, 29947, 29896, 29892, 876, 2314, 13, 1678, 8783, 29896, 353, 20035, 29889, 29924, 29940, 9047, 703, 6995, 1272, 613, 7945, 29922, 5574, 29892, 5142, 29922, 5574, 29892, 4327, 29922, 9067, 29897, 13, 1678, 8783, 29906, 353, 20035, 29889, 29924, 29940, 9047, 703, 6995, 1272, 613, 7945, 29922, 8824, 29892, 4327, 29922, 9067, 29897, 13, 1678, 7945, 29918, 12657, 353, 4842, 305, 29889, 13239, 29889, 1272, 29889, 1469, 10036, 29898, 24713, 29896, 29892, 3579, 19290, 29897, 13, 1678, 1243, 29918, 12657, 353, 4842, 305, 29889, 13239, 29889, 1272, 29889, 1469, 10036, 29898, 24713, 29906, 29892, 3579, 19290, 29897, 13, 13, 1678, 1904, 353, 7787, 13, 1678, 1904, 353, 7362, 412, 29898, 4299, 29892, 17346, 11759, 29953, 29892, 29871, 29953, 1402, 9224, 11759, 29900, 29892, 29871, 29896, 1402, 521, 18801, 29922, 29906, 29897, 13, 1678, 4742, 353, 1904, 29889, 3359, 1575, 29961, 29900, 29962, 13, 13, 1678, 5994, 3950, 353, 5994, 29889, 3253, 328, 2554, 29898, 4299, 29889, 16744, 3285, 301, 29878, 29922, 5085, 29889, 29212, 29897, 13, 13, 1678, 1364, 14952, 353, 16696, 29519, 29898, 20640, 3950, 29892, 4331, 29918, 2311, 29922, 29896, 29892, 330, 2735, 29922, 5085, 29889, 4283, 29897, 13, 1678, 363, 21502, 305, 297, 3464, 29898, 29896, 29892, 6389, 29889, 1022, 2878, 29879, 718, 29871, 29896, 1125, 13, 4706, 260, 293, 353, 931, 29889, 546, 29888, 29918, 11808, 580, 13, 4706, 7945, 29898, 5085, 29892, 1904, 29892, 4742, 29892, 7945, 29918, 12657, 29892, 5994, 3950, 29892, 21502, 305, 29897, 13, 4706, 304, 29883, 353, 931, 29889, 546, 29888, 29918, 11808, 580, 13, 4706, 1596, 29898, 29888, 1013, 6778, 10014, 2190, 4214, 5974, 426, 517, 29883, 448, 260, 293, 29901, 29900, 29889, 29946, 29888, 29913, 6923, 1159, 13, 13, 4706, 260, 293, 353, 931, 29889, 546, 29888, 29918, 11808, 580, 13, 4706, 1243, 29898, 4299, 29892, 4742, 29892, 1243, 29918, 12657, 29897, 13, 4706, 304, 29883, 353, 931, 29889, 546, 29888, 29918, 11808, 580, 13, 4706, 1596, 29898, 29888, 1013, 6778, 17067, 1254, 4214, 5974, 426, 517, 29883, 448, 260, 293, 29901, 29900, 29889, 29946, 29888, 29913, 6923, 1159, 13, 4706, 1364, 14952, 29889, 10568, 580, 13, 13, 1678, 565, 6389, 29889, 7620, 29918, 4299, 29901, 13, 4706, 4842, 305, 29889, 7620, 29898, 4299, 29889, 3859, 29918, 8977, 3285, 376, 23521, 391, 29918, 29883, 15755, 29889, 415, 1159, 13, 13, 13, 361, 4770, 978, 1649, 1275, 376, 1649, 3396, 1649, 1115, 13, 1678, 1667, 580, 13, 2 ]
Site-Campus/sitecampus/migrations/0007_auto_20191121_1902.py
Benedito-Medeiros-Neto-UnB/TacProgWeb
1
1605940
<filename>Site-Campus/sitecampus/migrations/0007_auto_20191121_1902.py<gh_stars>1-10 # Generated by Django 2.2.7 on 2019-11-21 19:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sitecampus', '0006_post_sutia'), ] operations = [ migrations.AlterField( model_name='autor', name='semestre', field=models.CharField(max_length=6), ), migrations.AlterField( model_name='post', name='semestrepub', field=models.CharField(max_length=6), ), ]
[ 1, 529, 9507, 29958, 17033, 29899, 29907, 1160, 375, 29914, 2746, 24821, 375, 29914, 26983, 800, 29914, 29900, 29900, 29900, 29955, 29918, 6921, 29918, 29906, 29900, 29896, 29929, 29896, 29896, 29906, 29896, 29918, 29896, 29929, 29900, 29906, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 3251, 630, 491, 15337, 29871, 29906, 29889, 29906, 29889, 29955, 373, 29871, 29906, 29900, 29896, 29929, 29899, 29896, 29896, 29899, 29906, 29896, 29871, 29896, 29929, 29901, 29900, 29906, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 29892, 4733, 13, 13, 13, 1990, 341, 16783, 29898, 26983, 800, 29889, 29924, 16783, 1125, 13, 13, 1678, 9962, 353, 518, 13, 4706, 6702, 2746, 24821, 375, 742, 525, 29900, 29900, 29900, 29953, 29918, 2490, 29918, 29879, 329, 423, 5477, 13, 1678, 4514, 13, 13, 1678, 6931, 353, 518, 13, 4706, 9725, 800, 29889, 2499, 357, 3073, 29898, 13, 9651, 1904, 29918, 978, 2433, 8309, 742, 13, 9651, 1024, 2433, 12846, 15679, 742, 13, 9651, 1746, 29922, 9794, 29889, 27890, 29898, 3317, 29918, 2848, 29922, 29953, 511, 13, 4706, 10353, 13, 4706, 9725, 800, 29889, 2499, 357, 3073, 29898, 13, 9651, 1904, 29918, 978, 2433, 2490, 742, 13, 9651, 1024, 2433, 12846, 342, 3445, 431, 742, 13, 9651, 1746, 29922, 9794, 29889, 27890, 29898, 3317, 29918, 2848, 29922, 29953, 511, 13, 4706, 10353, 13, 1678, 4514, 13, 2 ]
src/simmate/database/base_data_types/thermodynamics.py
laurenmm/simmate-1
0
152181
<reponame>laurenmm/simmate-1 # -*- coding: utf-8 -*- from tqdm import tqdm from simmate.toolkit import Structure as ToolkitStructure from simmate.database.base_data_types import DatabaseTable, table_column from simmate.utilities import get_chemical_subsystems # , dask_batch_submit from pymatgen.analysis.phase_diagram import PDEntry from pymatgen.analysis.phase_diagram import PhaseDiagram class Thermodynamics(DatabaseTable): class Meta: abstract = True base_info = ["energy"] energy = table_column.FloatField(blank=True, null=True) """ The calculated total energy. Units are in eV. """ energy_per_atom = table_column.FloatField(blank=True, null=True) """ The `energy` divided by `nsites`. Units are in eV. """ # TODO: These columns below should be updated on a schedule. I'd run # a prefect flow every night that makes sure all values are up to date. energy_above_hull = table_column.FloatField(blank=True, null=True) """ The hull energy (aka "stability") of this structure compared to all other structures in this database table. Units are in eV. """ is_stable = table_column.BooleanField(blank=True, null=True) """ Whether `energy_above_hull` is 0 -- if so, this is considered stable. """ decomposes_to = table_column.JSONField(blank=True, null=True) """ If `energy_above_hull` is above 0, these are the compositions that the structure will decompose to (e.g. ["Y2C", "C", "YF3"]) """ formation_energy = table_column.FloatField(blank=True, null=True) """ The formation energy of the structure relative to all other structures in this database table. Units are in eV. """ formation_energy_per_atom = table_column.FloatField(blank=True, null=True) """ The `formation_energy` divided by `nsites`. """ # Other fields to consider # equilibrium_reaction_energy_per_atom # energy_uncertainy_per_atom # energy_per_atom_uncorrected # decompose_amount (to each decomp type) """ Properties """ # These are some extra fields to consider adding # energy_type = ... (DFT, machine-learned, LJ, etc.) # calc_types = (list) https://github.com/materialsproject/emmet/blob/main/emmet-core/emmet/core/vasp/calc_types/utils.py # psudeopotential # functional(PBE) # label(Y_sv) # pot_type(PAW) # type(GGA,GGAU,HF) # is_hubbard @classmethod def _from_toolkit( cls, structure: ToolkitStructure, energy: float = None, as_dict: bool = False, ): # TODO: should structure be optional? # Given energy, this function builds the rest of the required fields # for this class as an object (or as a dictionary). data = ( dict( energy=energy, energy_per_atom=energy / structure.num_sites, energy_above_hull=None, is_stable=None, decomposes_to=None, ) if energy else {} ) # If as_dict is false, we build this into an Object. Otherwise, just # return the dictionary return data if as_dict else cls(**data) @classmethod def update_chemical_system_stabilities(cls, chemical_system: str): # NOTE: I assume we are using a Child(Structure, Thermodynamics) # if we have a multi-element system, we need to include subsystems as # well. ex: Na --> Na, Cl, Na-Cl subsystems = get_chemical_subsystems(chemical_system) # grab all entries for this chemical system entries = ( cls.objects.filter( chemical_system__in=subsystems, ) .only("energy", "formula_full") .all() ) # convert to pymatgen PDEntries and build into PhaseDiagram object entries_pmg = [PDEntry(entry.formula_full, entry.energy) for entry in entries] phase_diagram = PhaseDiagram(entries_pmg) # now go through the entries and update stability values for entry, entry_pmg in zip(entries, entries_pmg): decomp, hull_energy = phase_diagram.get_decomp_and_e_above_hull(entry_pmg) entry.energy_above_hull = hull_energy entry.is_stable = True if hull_energy == 0 else False # OPTIMIZE: I would like this to point to another entry specifically # but this will take more work. entry.decomposes_to = ( [d.composition.formula for d in decomp] if hull_energy != 0 else [] ) entry.formation_energy = phase_diagram.get_form_energy(entry_pmg) entry.formation_energy_per_atom = phase_diagram.get_form_energy_per_atom( entry_pmg ) # Now that we updated our objects, we want to collectively update them cls.objects.bulk_update( objs=entries, fields=[ "energy_above_hull", "is_stable", "decomposes_to", "formation_energy", "formation_energy_per_atom", ], # updating extremely large systems (>3k structures) can cause this # to time-out and crash. We therefore update in batches of 500 batch_size=500, ) @classmethod def update_all_stabilities(cls): # grab all unique chemical systems chemical_systems = cls.objects.values_list( "chemical_system", flat=True ).distinct() # Now go through each and run the analysis. # OPTIMIZE: Some systems will be analyzed multiple times. For example, # C would be repeatedly updated through C, C-O, Y-C-F, etc. for chemical_system in tqdm(chemical_systems): try: cls.update_chemical_system_stabilities(chemical_system) except ValueError as exception: print(f"Failed for {chemical_system} with error: {exception}") # BUG: can't use parallel=True as an input # Because different systems may need to update a single one at the same # time, errors will be thrown due to row locking. For example, Y-C and # Sc-C system might both try to update a C structure at the same time # and one will throw an error. # # dask_batch_submit( # function=cls.update_chemical_system_stabilities, # args_list=chemical_systems, # batch_size=1000, # )
[ 1, 529, 276, 1112, 420, 29958, 433, 10732, 4317, 29914, 3601, 25046, 29899, 29896, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 3166, 260, 29939, 18933, 1053, 260, 29939, 18933, 13, 13, 3166, 1027, 25046, 29889, 10154, 7354, 1053, 3767, 12425, 408, 21704, 7354, 5015, 12425, 13, 3166, 1027, 25046, 29889, 9803, 29889, 3188, 29918, 1272, 29918, 8768, 1053, 5470, 3562, 29892, 1591, 29918, 4914, 13, 3166, 1027, 25046, 29889, 4422, 1907, 1053, 679, 29918, 14969, 936, 29918, 1491, 5205, 29879, 29871, 396, 1919, 270, 1278, 29918, 16175, 29918, 7892, 13, 13, 3166, 282, 962, 271, 1885, 29889, 15916, 29889, 21646, 29918, 6051, 14442, 1053, 349, 2287, 29876, 2202, 13, 3166, 282, 962, 271, 1885, 29889, 15916, 29889, 21646, 29918, 6051, 14442, 1053, 1963, 559, 12130, 14442, 13, 13, 13, 1990, 498, 837, 397, 2926, 1199, 29898, 9112, 3562, 1125, 13, 1678, 770, 20553, 29901, 13, 4706, 9846, 353, 5852, 13, 13, 1678, 2967, 29918, 3888, 353, 6796, 27548, 3108, 13, 13, 1678, 5864, 353, 1591, 29918, 4914, 29889, 11031, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 450, 12833, 3001, 5864, 29889, 28386, 526, 297, 321, 29963, 29889, 13, 1678, 9995, 13, 13, 1678, 5864, 29918, 546, 29918, 8678, 353, 1591, 29918, 4914, 29889, 11031, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 450, 421, 27548, 29952, 13931, 491, 421, 1983, 3246, 1412, 28386, 526, 297, 321, 29963, 29889, 13, 1678, 9995, 13, 13, 1678, 396, 14402, 29901, 4525, 4341, 2400, 881, 367, 4784, 373, 263, 20410, 29889, 306, 29915, 29881, 1065, 13, 1678, 396, 263, 758, 3647, 4972, 1432, 4646, 393, 3732, 1854, 599, 1819, 526, 701, 304, 2635, 29889, 13, 13, 1678, 5864, 29918, 27215, 29918, 29882, 913, 353, 1591, 29918, 4914, 29889, 11031, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 450, 298, 913, 5864, 313, 8245, 376, 303, 3097, 1159, 310, 445, 3829, 9401, 304, 599, 916, 13, 1678, 12286, 297, 445, 2566, 1591, 29889, 28386, 526, 297, 321, 29963, 29889, 13, 1678, 9995, 13, 13, 1678, 338, 29918, 13844, 353, 1591, 29918, 4914, 29889, 18146, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 26460, 421, 27548, 29918, 27215, 29918, 29882, 913, 29952, 338, 29871, 29900, 1192, 565, 577, 29892, 445, 338, 5545, 13714, 29889, 13, 1678, 9995, 13, 13, 1678, 17753, 10590, 29918, 517, 353, 1591, 29918, 4914, 29889, 7249, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 960, 421, 27548, 29918, 27215, 29918, 29882, 913, 29952, 338, 2038, 29871, 29900, 29892, 1438, 526, 278, 5541, 2187, 393, 278, 29871, 13, 1678, 3829, 674, 316, 19438, 304, 313, 29872, 29889, 29887, 29889, 6796, 29979, 29906, 29907, 613, 376, 29907, 613, 376, 29979, 29943, 29941, 20068, 13, 1678, 9995, 13, 13, 1678, 12409, 29918, 27548, 353, 1591, 29918, 4914, 29889, 11031, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 450, 12409, 5864, 310, 278, 3829, 6198, 304, 599, 916, 13, 1678, 12286, 297, 445, 2566, 1591, 29889, 28386, 526, 297, 321, 29963, 29889, 13, 1678, 9995, 13, 13, 1678, 12409, 29918, 27548, 29918, 546, 29918, 8678, 353, 1591, 29918, 4914, 29889, 11031, 3073, 29898, 19465, 29922, 5574, 29892, 1870, 29922, 5574, 29897, 13, 1678, 9995, 13, 1678, 450, 421, 5404, 29918, 27548, 29952, 13931, 491, 421, 1983, 3246, 1412, 13, 1678, 9995, 13, 13, 1678, 396, 5901, 4235, 304, 2050, 13, 1678, 396, 26440, 29918, 276, 2467, 29918, 27548, 29918, 546, 29918, 8678, 13, 1678, 396, 5864, 29918, 4661, 13946, 29891, 29918, 546, 29918, 8678, 13, 1678, 396, 5864, 29918, 546, 29918, 8678, 29918, 348, 15728, 287, 13, 1678, 396, 316, 19438, 29918, 14506, 313, 517, 1269, 316, 2388, 1134, 29897, 13, 13, 1678, 9995, 21582, 9995, 13, 1678, 396, 4525, 526, 777, 4805, 4235, 304, 2050, 4417, 13, 1678, 396, 5864, 29918, 1853, 353, 2023, 313, 4037, 29911, 29892, 4933, 29899, 1945, 9571, 29892, 365, 29967, 29892, 2992, 1846, 13, 1678, 396, 22235, 29918, 8768, 353, 313, 1761, 29897, 2045, 597, 3292, 29889, 510, 29914, 15388, 29879, 4836, 29914, 331, 2527, 29914, 10054, 29914, 3396, 29914, 331, 2527, 29899, 3221, 29914, 331, 2527, 29914, 3221, 29914, 4428, 29886, 29914, 28667, 29918, 8768, 29914, 13239, 29889, 2272, 13, 1678, 396, 6529, 1151, 459, 327, 2556, 13, 1678, 396, 268, 13303, 29898, 29925, 15349, 29897, 13, 1678, 396, 268, 3858, 29898, 29979, 29918, 4501, 29897, 13, 1678, 396, 268, 3104, 29918, 1853, 29898, 7228, 29956, 29897, 13, 1678, 396, 1134, 29898, 29954, 12739, 29892, 29954, 12739, 29965, 29892, 29950, 29943, 29897, 13, 1678, 396, 338, 29918, 29882, 431, 29890, 538, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 903, 3166, 29918, 10154, 7354, 29898, 13, 4706, 1067, 29879, 29892, 13, 4706, 3829, 29901, 21704, 7354, 5015, 12425, 29892, 13, 4706, 5864, 29901, 5785, 353, 6213, 29892, 13, 4706, 408, 29918, 8977, 29901, 6120, 353, 7700, 29892, 13, 268, 1125, 13, 13, 4706, 396, 14402, 29901, 881, 3829, 367, 13136, 29973, 13, 13, 4706, 396, 11221, 5864, 29892, 445, 740, 23315, 278, 1791, 310, 278, 3734, 4235, 13, 4706, 396, 363, 445, 770, 408, 385, 1203, 313, 272, 408, 263, 8600, 467, 13, 4706, 848, 353, 313, 13, 9651, 9657, 29898, 13, 18884, 5864, 29922, 27548, 29892, 13, 18884, 5864, 29918, 546, 29918, 8678, 29922, 27548, 847, 3829, 29889, 1949, 29918, 16315, 29892, 13, 18884, 5864, 29918, 27215, 29918, 29882, 913, 29922, 8516, 29892, 13, 18884, 338, 29918, 13844, 29922, 8516, 29892, 13, 18884, 17753, 10590, 29918, 517, 29922, 8516, 29892, 13, 9651, 1723, 13, 9651, 565, 5864, 13, 9651, 1683, 6571, 13, 4706, 1723, 13, 13, 4706, 396, 960, 408, 29918, 8977, 338, 2089, 29892, 591, 2048, 445, 964, 385, 4669, 29889, 13466, 29892, 925, 13, 4706, 396, 736, 278, 8600, 13, 4706, 736, 848, 565, 408, 29918, 8977, 1683, 1067, 29879, 29898, 1068, 1272, 29897, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 2767, 29918, 14969, 936, 29918, 5205, 29918, 303, 11614, 29898, 25932, 29892, 22233, 29918, 5205, 29901, 851, 1125, 13, 13, 4706, 396, 6058, 29923, 29901, 306, 5251, 591, 526, 773, 263, 10517, 29898, 5015, 12425, 29892, 498, 837, 397, 2926, 1199, 29897, 13, 13, 4706, 396, 565, 591, 505, 263, 2473, 29899, 5029, 1788, 29892, 591, 817, 304, 3160, 1014, 5205, 29879, 408, 13, 4706, 396, 1532, 29889, 429, 29901, 4465, 6660, 4465, 29892, 2233, 29892, 4465, 29899, 6821, 13, 4706, 1014, 5205, 29879, 353, 679, 29918, 14969, 936, 29918, 1491, 5205, 29879, 29898, 14969, 936, 29918, 5205, 29897, 13, 13, 4706, 396, 17229, 599, 9976, 363, 445, 22233, 1788, 13, 4706, 9976, 353, 313, 13, 9651, 1067, 29879, 29889, 12650, 29889, 4572, 29898, 13, 18884, 22233, 29918, 5205, 1649, 262, 29922, 1491, 5205, 29879, 29892, 13, 9651, 1723, 13, 9651, 869, 6194, 703, 27548, 613, 376, 689, 2497, 29918, 8159, 1159, 13, 9651, 869, 497, 580, 13, 4706, 1723, 13, 13, 4706, 396, 3588, 304, 282, 962, 271, 1885, 349, 2287, 593, 2722, 322, 2048, 964, 1963, 559, 12130, 14442, 1203, 13, 4706, 9976, 29918, 3358, 29887, 353, 518, 29925, 2287, 29876, 2202, 29898, 8269, 29889, 689, 2497, 29918, 8159, 29892, 6251, 29889, 27548, 29897, 363, 6251, 297, 9976, 29962, 13, 4706, 8576, 29918, 6051, 14442, 353, 1963, 559, 12130, 14442, 29898, 26586, 29918, 3358, 29887, 29897, 13, 13, 4706, 396, 1286, 748, 1549, 278, 9976, 322, 2767, 25806, 1819, 13, 4706, 363, 6251, 29892, 6251, 29918, 3358, 29887, 297, 14319, 29898, 26586, 29892, 9976, 29918, 3358, 29887, 1125, 13, 13, 9651, 316, 2388, 29892, 298, 913, 29918, 27548, 353, 8576, 29918, 6051, 14442, 29889, 657, 29918, 311, 2388, 29918, 392, 29918, 29872, 29918, 27215, 29918, 29882, 913, 29898, 8269, 29918, 3358, 29887, 29897, 13, 13, 9651, 6251, 29889, 27548, 29918, 27215, 29918, 29882, 913, 353, 298, 913, 29918, 27548, 13, 13, 9651, 6251, 29889, 275, 29918, 13844, 353, 5852, 565, 298, 913, 29918, 27548, 1275, 29871, 29900, 1683, 7700, 13, 13, 9651, 396, 6418, 29911, 7833, 29902, 10721, 29901, 306, 723, 763, 445, 304, 1298, 304, 1790, 6251, 10816, 13, 9651, 396, 541, 445, 674, 2125, 901, 664, 29889, 13, 9651, 6251, 29889, 311, 510, 10590, 29918, 517, 353, 313, 13, 18884, 518, 29881, 29889, 510, 3283, 29889, 689, 2497, 363, 270, 297, 316, 2388, 29962, 565, 298, 913, 29918, 27548, 2804, 29871, 29900, 1683, 5159, 13, 9651, 1723, 13, 13, 9651, 6251, 29889, 5404, 29918, 27548, 353, 8576, 29918, 6051, 14442, 29889, 657, 29918, 689, 29918, 27548, 29898, 8269, 29918, 3358, 29887, 29897, 13, 9651, 6251, 29889, 5404, 29918, 27548, 29918, 546, 29918, 8678, 353, 8576, 29918, 6051, 14442, 29889, 657, 29918, 689, 29918, 27548, 29918, 546, 29918, 8678, 29898, 13, 18884, 6251, 29918, 3358, 29887, 13, 9651, 1723, 13, 13, 4706, 396, 2567, 393, 591, 4784, 1749, 3618, 29892, 591, 864, 304, 6314, 3598, 2767, 963, 13, 4706, 1067, 29879, 29889, 12650, 29889, 8645, 29895, 29918, 5504, 29898, 13, 9651, 704, 1315, 29922, 26586, 29892, 13, 9651, 4235, 11759, 13, 18884, 376, 27548, 29918, 27215, 29918, 29882, 913, 613, 13, 18884, 376, 275, 29918, 13844, 613, 13, 18884, 376, 311, 510, 10590, 29918, 517, 613, 13, 18884, 376, 5404, 29918, 27548, 613, 13, 18884, 376, 5404, 29918, 27548, 29918, 546, 29918, 8678, 613, 13, 9651, 21251, 13, 9651, 396, 13271, 14154, 2919, 6757, 313, 29958, 29941, 29895, 12286, 29897, 508, 4556, 445, 13, 9651, 396, 304, 931, 29899, 449, 322, 8095, 29889, 1334, 5480, 2767, 297, 9853, 267, 310, 29871, 29945, 29900, 29900, 13, 9651, 9853, 29918, 2311, 29922, 29945, 29900, 29900, 29892, 13, 4706, 1723, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 2767, 29918, 497, 29918, 303, 11614, 29898, 25932, 1125, 13, 13, 4706, 396, 17229, 599, 5412, 22233, 6757, 13, 4706, 22233, 29918, 5205, 29879, 353, 1067, 29879, 29889, 12650, 29889, 5975, 29918, 1761, 29898, 13, 9651, 376, 14969, 936, 29918, 5205, 613, 12151, 29922, 5574, 13, 4706, 13742, 5721, 5562, 580, 13, 13, 4706, 396, 2567, 29871, 748, 1549, 1269, 322, 1065, 278, 7418, 29889, 13, 4706, 396, 6418, 29911, 7833, 29902, 10721, 29901, 3834, 6757, 674, 367, 29537, 287, 2999, 3064, 29889, 1152, 1342, 29892, 13, 4706, 396, 315, 723, 367, 28424, 4784, 1549, 315, 29892, 315, 29899, 29949, 29892, 612, 29899, 29907, 29899, 29943, 29892, 2992, 29889, 13, 4706, 363, 22233, 29918, 5205, 297, 260, 29939, 18933, 29898, 14969, 936, 29918, 5205, 29879, 1125, 13, 9651, 1018, 29901, 13, 18884, 1067, 29879, 29889, 5504, 29918, 14969, 936, 29918, 5205, 29918, 303, 11614, 29898, 14969, 936, 29918, 5205, 29897, 13, 9651, 5174, 7865, 2392, 408, 3682, 29901, 13, 18884, 1596, 29898, 29888, 29908, 17776, 363, 426, 14969, 936, 29918, 5205, 29913, 411, 1059, 29901, 426, 11739, 27195, 13, 13, 4706, 396, 350, 23338, 29901, 508, 29915, 29873, 671, 8943, 29922, 5574, 408, 385, 1881, 13, 4706, 396, 7311, 1422, 6757, 1122, 817, 304, 2767, 263, 2323, 697, 472, 278, 1021, 13, 4706, 396, 931, 29892, 4436, 674, 367, 12005, 2861, 304, 1948, 7714, 292, 29889, 1152, 1342, 29892, 612, 29899, 29907, 322, 13, 4706, 396, 2522, 29899, 29907, 1788, 1795, 1716, 1018, 304, 2767, 263, 315, 3829, 472, 278, 1021, 931, 13, 4706, 396, 322, 697, 674, 3183, 385, 1059, 29889, 13, 4706, 396, 13, 4706, 396, 270, 1278, 29918, 16175, 29918, 7892, 29898, 13, 4706, 396, 268, 740, 29922, 25932, 29889, 5504, 29918, 14969, 936, 29918, 5205, 29918, 303, 11614, 29892, 13, 4706, 396, 268, 6389, 29918, 1761, 29922, 14969, 936, 29918, 5205, 29879, 29892, 13, 4706, 396, 268, 9853, 29918, 2311, 29922, 29896, 29900, 29900, 29900, 29892, 13, 4706, 396, 1723, 13, 2 ]
cosmoboost/lib/KernelODE.py
maamari/CosmoBoost
0
87429
""" library containing differential equation solver for d=1 kernel elements """ __author__ = " <NAME>" __email__ = "<EMAIL>" import os import numpy as np from scipy.special import factorial import pdb np.seterr(divide='ignore', invalid='ignore') from scipy import special from scipy.integrate import odeint, solve_ivp from cosmoboost.lib import FileHandler as fh from cosmoboost.lib import MatrixHandler as mh from cosmoboost.lib.mytimer import timeit import logging logger = logging.getLogger(__name__) logger.setLevel(logging.WARN) # number of steps for returning the solution to the Differential Equation N = 2 # first and last def dK_deta(eta, Kstore, Bmatrix): '''The derivative of the Kernel for index m and L''' K_return = mh.shift_left(Bmatrix * Kstore) - Bmatrix * mh.shift_right(Kstore) return K_return def est_K_T_ODE(pars, save_kernel=True): '''constructs the kernel analytically using the unmarked equation on page 10 of Dai, Chluba 2014 arXiv:1403.6117v2 Parameters ---------- pars : dict dictionary of the kernel parameters save_kernel : bool, optional If True, the kernel elements will be saved to a file for later use Returns ------- K_T : 2D numpy array Each row corresponds to the (m,ell') index calculated with the getindx scheme in the file_handler . The rows correspond to different values of ell for a neighborhood of delta_ell around ell'. ''' # logger.info("rtol = {}\natol = {}".format(rtol, atol)) with timeit("Analytically determining the Doppler and aberration Kernel elements"): # ------------------------------ # set up parameters and matrices # ------------------------------ beta = pars['beta'] s = pars['s'] delta_ell = pars['delta_ell'] lmax = pars['lmax'] # initialize matrices file name from input parameters matrices_file_name = fh.get_matrices_filename(pars) # if they already exist, load them from disc if fh.file_exists(matrices_file_name): Mmatrix = fh.load_matrix(matrices_file_name, key='M') Lmatrix = fh.load_matrix(matrices_file_name, key='L') else: Mmatrix, Lmatrix = mh.get_ML_matrix(delta_ell=delta_ell, lmax=lmax) # construct the Bmatrix Blms, _ = mh.get_Blm_Clm(delta_ell, lmax, s=s) Bmatrix = Blms[Lmatrix, Mmatrix] Bmatrix[np.isnan(Bmatrix)] = 0 # construct delta_ell matrix dl = np.array([np.arange(delta_ell, -delta_ell - 1, -1)] * Bmatrix.shape[0]) # use J(v) function from scipy to analytically estimate K matrix eta = np.arctanh(beta) #pdb.set_trace() # use J(v) function from scipy to analytically estimate K matrix K_T = special.jv(dl, 2. * Bmatrix * eta) #K_T = analytical(dl, Bmatrix, eta) # ------------------------------ # save to file # ------------------------------ if save_kernel: save_KT2file(pars, K_T) return K_T def solve_K_T_ODE(pars, save_kernel=True, rtol=1.e-3, atol=1.e-6, mxstep=0): '''solves the ODE to find the temperature aberration kernel elements uses Eq. 44 in Dai, Chluba 2014 arXiv:1403.6117v2 Parameters ---------- pars : dict dictionary of the kernel parameters save_kernel : bool, optional If True, the kernel elements will be saved to a file for later use rtol, atol, mxstep: scalars passed to scipy.odeint to set precision Returns ------- K_T : 2D numpy array Each row corresponds to the (m,ell') index calculated with the getindx scheme in the file_handler . The rows correspond to different values of ell for a neighborhood of delta_ell around ell'. ''' logger.info("rtol = {}\natol = {}".format(rtol, atol)) with timeit("calculating the Doppler and aberration Kernel elements"): # ------------------------------ # set up parameters and matrices # ------------------------------ beta = pars['beta'] s = pars['s'] delta_ell = pars['delta_ell'] lmax = pars['lmax'] # lmin= pars['lmin'] # set the height and width of the aberration kernel storage matrix. # the storage matrix is set around each value of ell' for a neighborhood of delta_ell # on each side. The middle value of each row corresponds to ell'=ell or delta_ell=0 # the number of columns corresponds to different values of ell' for each m mode. height, width = ((lmax + 1) * (lmax + 2) // 2, 2 * delta_ell + 1) # initialize the K0 = dirac_delta(ell,ell') (initial condition for the ODE) K0 = np.zeros(width) K0[delta_ell] = 1 K0 = np.tensordot(np.ones(height), K0, axes=0) # initialize matrices file name from input parameters matrices_file_name = fh.get_matrices_filename(pars) # if they already exist, load them from disc if fh.file_exists(matrices_file_name): Mmatrix = fh.load_matrix(matrices_file_name, key='M') Lmatrix = fh.load_matrix(matrices_file_name, key='L') else: Mmatrix, Lmatrix = mh.get_ML_matrix(delta_ell=delta_ell, lmax=lmax) # construct the Bmatrix corresponding to the elements of K0 Blms, _ = mh.get_Blm_Clm(delta_ell, lmax, s=s) Bmatrix = Blms[Lmatrix, Mmatrix] Bmatrix[np.isnan(Bmatrix)] = 0 # (safety) pad K and B matrices to avoid leakage from the edges # necessary when using odeint solver # add two zeros to the end of each row # FIXME: is two enough for all ell? K0 = np.insert(K0, [2 * delta_ell + 1, 2 * delta_ell + 1], 0, axis=1) Bmatrix = np.insert(Bmatrix, [2 * delta_ell + 1, 2 * delta_ell + 1], 0, axis=1) # reshape all the 2D matrices to 1D arrays so that the ODE can be solved in vectorized mode K0 = K0.reshape((width + 2) * height) Bmatrix = Bmatrix.reshape((width + 2) * height) # ------------------------------ # solve ODE # ------------------------------ # initialize the eta = np.arctanh(beta) array for ODE iterations # the index (N-1) will give the final result eta = np.linspace(0, np.arctanh(beta), N) print("beta (v/c) : ", beta) print("eta (arctanh(beta)) : ", eta[-1]) # solve the ODE for a range of ell' between lmin=0 and lmax # dK_deta is the derivative of the aberration kernel with respect to eta is defined sol = solve_ivp(dK_deta, [eta[0],eta[-1]], K0, t_eval=[eta[0],eta[-1]], args=(Bmatrix,), rtol=rtol, atol=atol) sol = sol.y.T # store the results in the K_T matrix K_T = sol[N - 1].reshape(height, width + 2) # remove the zero padding from the final solution K_T = np.delete(K_T, [2 * delta_ell + 1, 2 * delta_ell + 2], axis=1) default_dell = int((lmax*0.00123*2)+4) if delta_ell>default_dell: default_dell = delta_ell-default_dell mask_pos = ((K_T[:,0] > 0.) & (K_T[:,0] < 1.e-5)) K_T[mask_pos,:default_dell] = 0. K_T[mask_pos,-default_dell:] = 0. mask_neg = ((K_T[:,0] < 0.) & (K_T[:,0] > -1.e-5)) K_T[mask_neg,:default_dell] = 0. K_T[mask_neg,-default_dell:] = 0. # ------------------------------ # save to file # ------------------------------ if save_kernel: save_KT2file(pars, K_T) return K_T def save_KT2file(pars, K_T): lmax = pars["lmax"] beta = pars["beta"] kernel_file_name = fh.get_kernel_filename(pars) dir_name = fh.dirname(lmax=lmax, beta=beta) print(f"dirname = {dir_name}") if not os.path.exists(dir_name): os.makedirs(dir_name) print(f"The following directory was created to save the kernel file:\n{dir_name}") # save the kernel to file # tag as D1 (Doppler weight =1) fh.save_kernel(kernel_file_name, K_T, 'D1') print(f"Kernel saved in:\n{kernel_file_name}")
[ 1, 9995, 13, 5258, 6943, 16712, 6306, 899, 369, 363, 270, 29922, 29896, 8466, 3161, 13, 15945, 29908, 13, 1649, 8921, 1649, 353, 376, 529, 5813, 11903, 13, 1649, 5269, 1649, 353, 9872, 26862, 6227, 11903, 13, 13, 5215, 2897, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 29889, 18732, 1053, 7329, 616, 13, 5215, 282, 2585, 13, 13, 9302, 29889, 842, 3127, 29898, 4563, 680, 2433, 17281, 742, 8340, 2433, 17281, 1495, 13, 13, 3166, 4560, 2272, 1053, 4266, 13, 3166, 4560, 2272, 29889, 14146, 403, 1053, 288, 311, 524, 29892, 4505, 29918, 440, 29886, 13, 3166, 27973, 711, 29877, 520, 29889, 1982, 1053, 3497, 4598, 408, 285, 29882, 13, 3166, 27973, 711, 29877, 520, 29889, 1982, 1053, 22513, 4598, 408, 286, 29882, 13, 3166, 27973, 711, 29877, 520, 29889, 1982, 29889, 1357, 20404, 1053, 931, 277, 13, 13, 5215, 12183, 13, 13, 21707, 353, 12183, 29889, 657, 16363, 22168, 978, 1649, 29897, 13, 21707, 29889, 842, 10108, 29898, 21027, 29889, 29956, 15249, 29897, 13, 29937, 1353, 310, 6576, 363, 7863, 278, 1650, 304, 278, 360, 8349, 2556, 11243, 362, 13, 29940, 353, 29871, 29906, 29871, 396, 937, 322, 1833, 13, 13, 13, 1753, 270, 29968, 29918, 29881, 1187, 29898, 1187, 29892, 476, 8899, 29892, 350, 5344, 1125, 13, 1678, 14550, 1576, 16291, 310, 278, 476, 5851, 363, 2380, 286, 322, 365, 12008, 13, 1678, 476, 29918, 2457, 353, 286, 29882, 29889, 10889, 29918, 1563, 29898, 29933, 5344, 334, 476, 8899, 29897, 448, 350, 5344, 334, 286, 29882, 29889, 10889, 29918, 1266, 29898, 29968, 8899, 29897, 13, 13, 1678, 736, 476, 29918, 2457, 13, 13, 1753, 707, 29918, 29968, 29918, 29911, 29918, 29949, 2287, 29898, 862, 29879, 29892, 4078, 29918, 17460, 29922, 5574, 1125, 13, 1678, 14550, 11433, 29879, 278, 8466, 16114, 1711, 773, 278, 443, 3502, 287, 6306, 373, 1813, 13, 268, 29896, 29900, 310, 360, 1794, 29892, 678, 29880, 11495, 29871, 29906, 29900, 29896, 29946, 564, 29990, 440, 29901, 29896, 29946, 29900, 29941, 29889, 29953, 29896, 29896, 29955, 29894, 29906, 13, 13, 13, 1678, 12662, 2699, 13, 1678, 448, 1378, 29899, 13, 1678, 610, 29879, 584, 9657, 13, 4706, 8600, 310, 278, 8466, 4128, 13, 13, 1678, 4078, 29918, 17460, 584, 6120, 29892, 13136, 13, 4706, 960, 5852, 29892, 278, 8466, 3161, 674, 367, 7160, 304, 263, 934, 363, 2678, 671, 13, 13, 13, 1678, 16969, 13, 1678, 448, 22158, 13, 1678, 476, 29918, 29911, 584, 29871, 29906, 29928, 12655, 1409, 13, 4706, 7806, 1948, 16161, 304, 278, 313, 29885, 29892, 514, 1495, 2380, 12833, 411, 278, 679, 513, 29916, 13, 4706, 11380, 297, 278, 934, 29918, 13789, 29871, 869, 450, 4206, 3928, 304, 1422, 1819, 310, 13, 4706, 12302, 363, 263, 18403, 310, 19471, 29918, 514, 2820, 12302, 4286, 13, 13, 1678, 14550, 13, 1678, 396, 17927, 29889, 3888, 703, 2273, 324, 353, 426, 1012, 8924, 324, 353, 6571, 1642, 4830, 29898, 2273, 324, 29892, 472, 324, 876, 13, 1678, 411, 931, 277, 703, 21067, 3637, 1711, 3683, 2827, 278, 1938, 407, 1358, 322, 6126, 29878, 362, 476, 5851, 3161, 29908, 1125, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 4706, 396, 731, 701, 4128, 322, 13516, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 4706, 21762, 353, 610, 29879, 1839, 3571, 2033, 13, 4706, 269, 353, 610, 29879, 1839, 29879, 2033, 13, 4706, 19471, 29918, 514, 353, 610, 29879, 1839, 4181, 29918, 514, 2033, 13, 4706, 301, 3317, 353, 610, 29879, 1839, 29880, 3317, 2033, 13, 13, 4706, 396, 11905, 13516, 934, 1024, 515, 1881, 4128, 13, 4706, 13516, 29918, 1445, 29918, 978, 353, 285, 29882, 29889, 657, 29918, 2922, 11669, 29918, 9507, 29898, 862, 29879, 29897, 13, 13, 4706, 396, 565, 896, 2307, 1863, 29892, 2254, 963, 515, 2313, 13, 4706, 565, 285, 29882, 29889, 1445, 29918, 9933, 29898, 2922, 11669, 29918, 1445, 29918, 978, 1125, 13, 9651, 341, 5344, 353, 285, 29882, 29889, 1359, 29918, 5344, 29898, 2922, 11669, 29918, 1445, 29918, 978, 29892, 1820, 2433, 29924, 1495, 13, 9651, 365, 5344, 353, 285, 29882, 29889, 1359, 29918, 5344, 29898, 2922, 11669, 29918, 1445, 29918, 978, 29892, 1820, 2433, 29931, 1495, 13, 4706, 1683, 29901, 13, 9651, 341, 5344, 29892, 365, 5344, 353, 286, 29882, 29889, 657, 29918, 1988, 29918, 5344, 29898, 4181, 29918, 514, 29922, 4181, 29918, 514, 29892, 301, 3317, 29922, 29880, 3317, 29897, 13, 13, 4706, 396, 3386, 278, 350, 5344, 13, 4706, 3164, 1516, 29892, 903, 353, 286, 29882, 29889, 657, 29918, 10358, 29885, 29918, 6821, 29885, 29898, 4181, 29918, 514, 29892, 301, 3317, 29892, 269, 29922, 29879, 29897, 13, 4706, 350, 5344, 353, 3164, 1516, 29961, 29931, 5344, 29892, 341, 5344, 29962, 13, 4706, 350, 5344, 29961, 9302, 29889, 275, 13707, 29898, 29933, 5344, 4638, 353, 29871, 29900, 13, 13, 4706, 396, 3386, 19471, 29918, 514, 4636, 13, 4706, 270, 29880, 353, 7442, 29889, 2378, 4197, 9302, 29889, 279, 927, 29898, 4181, 29918, 514, 29892, 448, 4181, 29918, 514, 448, 29871, 29896, 29892, 448, 29896, 4638, 334, 350, 5344, 29889, 12181, 29961, 29900, 2314, 13, 4706, 396, 671, 435, 29898, 29894, 29897, 740, 515, 4560, 2272, 304, 16114, 1711, 12678, 476, 4636, 13, 13, 4706, 634, 29874, 353, 7442, 29889, 27014, 27731, 29898, 3571, 29897, 13, 4706, 396, 29886, 2585, 29889, 842, 29918, 15003, 580, 13, 4706, 396, 671, 435, 29898, 29894, 29897, 740, 515, 4560, 2272, 304, 16114, 1711, 12678, 476, 4636, 13, 4706, 476, 29918, 29911, 353, 4266, 29889, 29926, 29894, 29898, 11671, 29892, 29871, 29906, 29889, 334, 350, 5344, 334, 634, 29874, 29897, 13, 4706, 396, 29968, 29918, 29911, 353, 16114, 936, 29898, 11671, 29892, 350, 5344, 29892, 634, 29874, 29897, 13, 13, 1678, 396, 448, 2683, 9072, 29899, 13, 1678, 396, 308, 4078, 304, 934, 13, 1678, 396, 448, 2683, 9072, 29899, 13, 1678, 565, 4078, 29918, 17460, 29901, 13, 4706, 4078, 29918, 29968, 29911, 29906, 1445, 29898, 862, 29879, 29892, 476, 29918, 29911, 29897, 13, 13, 1678, 736, 476, 29918, 29911, 13, 13, 13, 1753, 4505, 29918, 29968, 29918, 29911, 29918, 29949, 2287, 29898, 862, 29879, 29892, 4078, 29918, 17460, 29922, 5574, 29892, 364, 25027, 29922, 29896, 29889, 29872, 29899, 29941, 29892, 472, 324, 29922, 29896, 29889, 29872, 29899, 29953, 29892, 286, 29916, 10568, 29922, 29900, 1125, 13, 1678, 14550, 2929, 1960, 278, 438, 2287, 304, 1284, 278, 10430, 6126, 29878, 362, 8466, 3161, 13, 1678, 3913, 12345, 29889, 29871, 29946, 29946, 297, 360, 1794, 29892, 678, 29880, 11495, 29871, 29906, 29900, 29896, 29946, 564, 29990, 440, 29901, 29896, 29946, 29900, 29941, 29889, 29953, 29896, 29896, 29955, 29894, 29906, 13, 13, 13, 1678, 12662, 2699, 13, 1678, 448, 1378, 29899, 13, 1678, 610, 29879, 584, 9657, 13, 4706, 8600, 310, 278, 8466, 4128, 13, 13, 1678, 4078, 29918, 17460, 584, 6120, 29892, 13136, 13, 4706, 960, 5852, 29892, 278, 8466, 3161, 674, 367, 7160, 304, 263, 934, 363, 2678, 671, 13, 13, 1678, 364, 25027, 29892, 472, 324, 29892, 286, 29916, 10568, 29901, 8716, 1503, 13, 4706, 4502, 304, 4560, 2272, 29889, 356, 524, 304, 731, 16716, 13, 13, 1678, 16969, 13, 1678, 448, 22158, 13, 1678, 476, 29918, 29911, 584, 29871, 29906, 29928, 12655, 1409, 13, 4706, 7806, 1948, 16161, 304, 278, 313, 29885, 29892, 514, 1495, 2380, 12833, 411, 278, 679, 513, 29916, 13, 4706, 11380, 297, 278, 934, 29918, 13789, 29871, 869, 450, 4206, 3928, 304, 1422, 1819, 310, 13, 4706, 12302, 363, 263, 18403, 310, 19471, 29918, 514, 2820, 12302, 4286, 13, 13, 1678, 14550, 13, 1678, 17927, 29889, 3888, 703, 2273, 324, 353, 426, 1012, 8924, 324, 353, 6571, 1642, 4830, 29898, 2273, 324, 29892, 472, 324, 876, 13, 1678, 411, 931, 277, 703, 15807, 1218, 278, 1938, 407, 1358, 322, 6126, 29878, 362, 476, 5851, 3161, 29908, 1125, 13, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 4706, 396, 731, 701, 4128, 322, 13516, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 4706, 21762, 353, 610, 29879, 1839, 3571, 2033, 13, 4706, 269, 353, 610, 29879, 1839, 29879, 2033, 13, 4706, 19471, 29918, 514, 353, 610, 29879, 1839, 4181, 29918, 514, 2033, 13, 4706, 301, 3317, 353, 610, 29879, 1839, 29880, 3317, 2033, 13, 4706, 396, 301, 1195, 29922, 610, 29879, 1839, 29880, 1195, 2033, 13, 13, 4706, 396, 731, 278, 3171, 322, 2920, 310, 278, 6126, 29878, 362, 8466, 8635, 4636, 29889, 13, 4706, 396, 278, 8635, 4636, 338, 731, 2820, 1269, 995, 310, 12302, 29915, 363, 263, 18403, 310, 19471, 29918, 514, 13, 4706, 396, 373, 1269, 2625, 29889, 450, 7256, 995, 310, 1269, 1948, 16161, 304, 12302, 29915, 29922, 514, 470, 19471, 29918, 514, 29922, 29900, 13, 4706, 396, 278, 1353, 310, 4341, 16161, 304, 1422, 1819, 310, 12302, 29915, 363, 1269, 286, 4464, 29889, 13, 4706, 3171, 29892, 2920, 353, 5135, 29880, 3317, 718, 29871, 29896, 29897, 334, 313, 29880, 3317, 718, 29871, 29906, 29897, 849, 29871, 29906, 29892, 29871, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 29897, 13, 13, 4706, 396, 11905, 278, 476, 29900, 353, 652, 945, 29918, 4181, 29898, 514, 29892, 514, 1495, 313, 11228, 4195, 363, 278, 438, 2287, 29897, 13, 4706, 476, 29900, 353, 7442, 29889, 3298, 359, 29898, 2103, 29897, 13, 4706, 476, 29900, 29961, 4181, 29918, 514, 29962, 353, 29871, 29896, 13, 4706, 476, 29900, 353, 7442, 29889, 29873, 575, 536, 327, 29898, 9302, 29889, 2873, 29898, 3545, 511, 476, 29900, 29892, 27815, 29922, 29900, 29897, 13, 13, 4706, 396, 11905, 13516, 934, 1024, 515, 1881, 4128, 13, 4706, 13516, 29918, 1445, 29918, 978, 353, 285, 29882, 29889, 657, 29918, 2922, 11669, 29918, 9507, 29898, 862, 29879, 29897, 13, 4706, 396, 565, 896, 2307, 1863, 29892, 2254, 963, 515, 2313, 13, 4706, 565, 285, 29882, 29889, 1445, 29918, 9933, 29898, 2922, 11669, 29918, 1445, 29918, 978, 1125, 13, 9651, 341, 5344, 353, 285, 29882, 29889, 1359, 29918, 5344, 29898, 2922, 11669, 29918, 1445, 29918, 978, 29892, 1820, 2433, 29924, 1495, 13, 9651, 365, 5344, 353, 285, 29882, 29889, 1359, 29918, 5344, 29898, 2922, 11669, 29918, 1445, 29918, 978, 29892, 1820, 2433, 29931, 1495, 13, 4706, 1683, 29901, 13, 9651, 341, 5344, 29892, 365, 5344, 353, 286, 29882, 29889, 657, 29918, 1988, 29918, 5344, 29898, 4181, 29918, 514, 29922, 4181, 29918, 514, 29892, 301, 3317, 29922, 29880, 3317, 29897, 13, 13, 4706, 396, 3386, 278, 350, 5344, 6590, 304, 278, 3161, 310, 476, 29900, 13, 4706, 3164, 1516, 29892, 903, 353, 286, 29882, 29889, 657, 29918, 10358, 29885, 29918, 6821, 29885, 29898, 4181, 29918, 514, 29892, 301, 3317, 29892, 269, 29922, 29879, 29897, 13, 4706, 350, 5344, 353, 3164, 1516, 29961, 29931, 5344, 29892, 341, 5344, 29962, 13, 4706, 350, 5344, 29961, 9302, 29889, 275, 13707, 29898, 29933, 5344, 4638, 353, 29871, 29900, 13, 13, 4706, 396, 313, 29879, 2142, 3305, 29897, 17132, 476, 322, 350, 13516, 304, 4772, 24993, 482, 515, 278, 12770, 13, 4706, 396, 5181, 746, 773, 288, 311, 524, 899, 369, 13, 4706, 396, 788, 1023, 24786, 304, 278, 1095, 310, 1269, 1948, 13, 4706, 396, 383, 6415, 2303, 29901, 338, 1023, 3307, 363, 599, 12302, 29973, 13, 4706, 476, 29900, 353, 7442, 29889, 7851, 29898, 29968, 29900, 29892, 518, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 29892, 29871, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 1402, 29871, 29900, 29892, 9685, 29922, 29896, 29897, 13, 4706, 350, 5344, 353, 7442, 29889, 7851, 29898, 29933, 5344, 29892, 518, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 29892, 29871, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 1402, 29871, 29900, 29892, 9685, 29922, 29896, 29897, 13, 13, 4706, 396, 620, 14443, 599, 278, 29871, 29906, 29928, 13516, 304, 29871, 29896, 29928, 7049, 577, 393, 278, 438, 2287, 508, 367, 7484, 297, 4608, 1891, 4464, 13, 4706, 476, 29900, 353, 476, 29900, 29889, 690, 14443, 3552, 2103, 718, 29871, 29906, 29897, 334, 3171, 29897, 13, 4706, 350, 5344, 353, 350, 5344, 29889, 690, 14443, 3552, 2103, 718, 29871, 29906, 29897, 334, 3171, 29897, 13, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 4706, 396, 965, 4505, 438, 2287, 13, 4706, 396, 448, 2683, 9072, 29899, 13, 13, 4706, 396, 11905, 278, 634, 29874, 353, 7442, 29889, 27014, 27731, 29898, 3571, 29897, 1409, 363, 438, 2287, 24372, 13, 4706, 396, 278, 2380, 313, 29940, 29899, 29896, 29897, 674, 2367, 278, 2186, 1121, 13, 4706, 634, 29874, 353, 7442, 29889, 1915, 3493, 29898, 29900, 29892, 7442, 29889, 27014, 27731, 29898, 3571, 511, 405, 29897, 13, 13, 4706, 1596, 703, 3571, 313, 29894, 29914, 29883, 29897, 584, 9162, 21762, 29897, 13, 4706, 1596, 703, 1187, 313, 27014, 27731, 29898, 3571, 876, 584, 9162, 634, 29874, 14352, 29896, 2314, 13, 13, 4706, 396, 4505, 278, 438, 2287, 363, 263, 3464, 310, 12302, 29915, 29871, 1546, 301, 1195, 29922, 29900, 322, 301, 3317, 13, 4706, 396, 270, 29968, 29918, 29881, 1187, 338, 278, 16291, 310, 278, 6126, 29878, 362, 8466, 411, 3390, 304, 634, 29874, 338, 3342, 13, 4706, 899, 353, 4505, 29918, 440, 29886, 29898, 29881, 29968, 29918, 29881, 1187, 29892, 518, 1187, 29961, 29900, 1402, 1187, 14352, 29896, 20526, 476, 29900, 29892, 260, 29918, 14513, 11759, 1187, 29961, 29900, 1402, 1187, 14352, 29896, 20526, 6389, 7607, 29933, 5344, 29892, 511, 364, 25027, 29922, 2273, 324, 29892, 472, 324, 29922, 14947, 29897, 13, 4706, 899, 353, 899, 29889, 29891, 29889, 29911, 13, 13, 4706, 396, 3787, 278, 2582, 297, 278, 476, 29918, 29911, 4636, 13, 4706, 476, 29918, 29911, 353, 899, 29961, 29940, 448, 29871, 29896, 1822, 690, 14443, 29898, 3545, 29892, 2920, 718, 29871, 29906, 29897, 13, 13, 4706, 396, 3349, 278, 5225, 7164, 515, 278, 2186, 1650, 13, 4706, 476, 29918, 29911, 353, 7442, 29889, 8143, 29898, 29968, 29918, 29911, 29892, 518, 29906, 334, 19471, 29918, 514, 718, 29871, 29896, 29892, 29871, 29906, 334, 19471, 29918, 514, 718, 29871, 29906, 1402, 9685, 29922, 29896, 29897, 13, 13, 4706, 2322, 29918, 29881, 514, 353, 938, 3552, 29880, 3317, 29930, 29900, 29889, 29900, 29900, 29896, 29906, 29941, 29930, 29906, 7240, 29946, 29897, 13, 13, 4706, 565, 19471, 29918, 514, 29958, 4381, 29918, 29881, 514, 29901, 13, 13, 9651, 2322, 29918, 29881, 514, 353, 19471, 29918, 514, 29899, 4381, 29918, 29881, 514, 13, 13, 9651, 11105, 29918, 1066, 353, 5135, 29968, 29918, 29911, 7503, 29892, 29900, 29962, 1405, 29871, 29900, 1846, 669, 313, 29968, 29918, 29911, 7503, 29892, 29900, 29962, 529, 29871, 29896, 29889, 29872, 29899, 29945, 876, 13, 9651, 476, 29918, 29911, 29961, 13168, 29918, 1066, 29892, 29901, 4381, 29918, 29881, 514, 29962, 353, 29871, 29900, 29889, 13, 9651, 476, 29918, 29911, 29961, 13168, 29918, 1066, 6653, 4381, 29918, 29881, 514, 17531, 353, 29871, 29900, 29889, 13, 13, 9651, 11105, 29918, 10052, 353, 5135, 29968, 29918, 29911, 7503, 29892, 29900, 29962, 529, 29871, 29900, 1846, 669, 313, 29968, 29918, 29911, 7503, 29892, 29900, 29962, 1405, 448, 29896, 29889, 29872, 29899, 29945, 876, 13, 9651, 476, 29918, 29911, 29961, 13168, 29918, 10052, 29892, 29901, 4381, 29918, 29881, 514, 29962, 353, 29871, 29900, 29889, 13, 9651, 476, 29918, 29911, 29961, 13168, 29918, 10052, 6653, 4381, 29918, 29881, 514, 17531, 353, 29871, 29900, 29889, 13, 13, 1678, 396, 448, 2683, 9072, 29899, 13, 1678, 396, 308, 4078, 304, 934, 13, 1678, 396, 448, 2683, 9072, 29899, 13, 1678, 565, 4078, 29918, 17460, 29901, 13, 4706, 4078, 29918, 29968, 29911, 29906, 1445, 29898, 862, 29879, 29892, 476, 29918, 29911, 29897, 13, 13, 1678, 736, 476, 29918, 29911, 13, 13, 13, 1753, 4078, 29918, 29968, 29911, 29906, 1445, 29898, 862, 29879, 29892, 476, 29918, 29911, 1125, 13, 1678, 301, 3317, 353, 610, 29879, 3366, 29880, 3317, 3108, 13, 1678, 21762, 353, 610, 29879, 3366, 3571, 3108, 13, 13, 1678, 8466, 29918, 1445, 29918, 978, 353, 285, 29882, 29889, 657, 29918, 17460, 29918, 9507, 29898, 862, 29879, 29897, 13, 1678, 4516, 29918, 978, 353, 285, 29882, 29889, 25721, 29898, 29880, 3317, 29922, 29880, 3317, 29892, 21762, 29922, 3571, 29897, 13, 1678, 1596, 29898, 29888, 29908, 25721, 353, 426, 3972, 29918, 978, 27195, 13, 1678, 565, 451, 2897, 29889, 2084, 29889, 9933, 29898, 3972, 29918, 978, 1125, 13, 4706, 2897, 29889, 29885, 12535, 12935, 29898, 3972, 29918, 978, 29897, 13, 4706, 1596, 29898, 29888, 29908, 1576, 1494, 3884, 471, 2825, 304, 4078, 278, 8466, 934, 3583, 29876, 29912, 3972, 29918, 978, 27195, 13, 13, 1678, 396, 4078, 278, 8466, 304, 934, 13, 1678, 396, 4055, 408, 360, 29896, 313, 6132, 407, 1358, 7688, 353, 29896, 29897, 13, 1678, 285, 29882, 29889, 7620, 29918, 17460, 29898, 17460, 29918, 1445, 29918, 978, 29892, 476, 29918, 29911, 29892, 525, 29928, 29896, 1495, 13, 1678, 1596, 29898, 29888, 29908, 29968, 5851, 7160, 297, 3583, 29876, 29912, 17460, 29918, 1445, 29918, 978, 27195, 13, 2 ]
sap/xssec/security_context.py
51acorsi/cloud-pysec
0
150607
<reponame>51acorsi/cloud-pysec<gh_stars>0 """ This module is deprecated. """ import warnings from sap.xssec import SecurityContextXSUAA warnings.warn("Class security_context.SecurityContext is deprecated, " "use security_context_xsuaa.SecurityContextXSUAA instead ", DeprecationWarning, stacklevel=2) SecurityContext = SecurityContextXSUAA
[ 1, 529, 276, 1112, 420, 29958, 29945, 29896, 562, 943, 29875, 29914, 9274, 29899, 2272, 3471, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 13, 4013, 3883, 338, 18164, 29889, 13, 15945, 29908, 13, 5215, 18116, 13, 13, 3166, 21672, 29889, 10351, 3471, 1053, 14223, 2677, 29990, 14605, 6344, 13, 13, 25442, 886, 29889, 25442, 703, 2385, 6993, 29918, 4703, 29889, 13228, 2677, 338, 18164, 29892, 376, 13, 795, 376, 1509, 6993, 29918, 4703, 29918, 29916, 2146, 7340, 29889, 13228, 2677, 29990, 14605, 6344, 2012, 9162, 897, 1457, 9252, 22709, 29892, 5096, 5563, 29922, 29906, 29897, 13, 13, 13228, 2677, 353, 14223, 2677, 29990, 14605, 6344, 13, 2 ]
geolocate/tests/test_parser.py
kayodebristol/geolocate
4
65151
<reponame>kayodebristol/geolocate """ test_logparser.py Programmed by: <NAME> email: <EMAIL> """ import io import sys import unittest import unittest.mock from collections import namedtuple import geolocate.classes.config as config import geolocate.classes.geowrapper as geoip import geolocate.classes.parser as parser import geolocate.tests.test_geowrapper as test_geowrapper import geolocate.tests.testing_tools as testing_tools WORKING_DIR = "./geolocate" TEST_STRING = """TRACEROUTE OUTPUT traceroute to www.google.com (172.16.17.32), 30 hops max, 60 byte packets 1 192.168.1.1 (1192.168.127.12) 2.923 ms 4.180 ms 4.092 ms 2 90.Red-80-58-67.staticIP.rima-tde.net (80.58.67.90) 7.713 ms 7.657 ms 7.601 ms 3 57.Red-80-58-76.staticIP.rima-tde.net (172.16.17.32) 11.990 ms 11.948 ms 13.062 ms 4 145.Red-80-58-86.staticIP.rima-tde.net (192.168.127.12) 9.630 ms 14.929 ms 14.872 ms 5 AE3-GRCMADJV1.red.telefonica-wholesale.net (172.16.58.3) 9.431 ms 9.337 ms 11.313 ms 6 192.168.127.12 (192.168.127.12) 12.499 ms 13.972 ms 15.852 ms 7 172.16.17.32 (172.16.17.32) 15.817 ms 15.798 ms 192.168.3.11 (192.168.3.11) 15.779 ms 8 192.168.3.11 (192.168.3.11) 55.590 ms 55.581 ms 55.550 ms 9 192.168.127.12 (192.168.127.12) 37.949 ms 37.937 ms 192.168.3.11 (192.168.3.11) 50.830 ms 10 172.16.17.32 (6192.168.127.12) 40.635 ms 37.871 ms 40.588 ms 11 par03s12-in-f19.1e100.net (172.16.17.32) 37.817 ms 40.528 ms 37.954 ms """ TEST_STRING_IP_ADDRESSES = ("172.16.17.32", "192.168.1.1", "172.16.58.3", "172.16.17.32", "192.168.127.12", "172.16.58.3", "192.168.127.12", "172.16.17.32", "192.168.3.11", "192.168.3.11", "192.168.127.12", "192.168.3.11", "172.16.17.32", "172.16.17.32") TEST_IP = "172.16.17.32" TEST_IP_FIELDS = { TEST_IP : {"continent_name": "North America", "country_name": "United States", "city_name": "Mountain View", "lat-long": "37.419200000000004, -122.0574"} } TEST_IP_LOCATION_STRINGS = { TEST_IP : {0: "172.16.17.32 [North America]", 1: "172.16.17.32 [North America | United States]", 2: "172.16.17.32 [North America | United States | " "Mountain View]", 3: "172.16.17.32 [North America | United States | " "Mountain View | 37.419200000000004, -122.0574]"} } TEST_IP_GEOLOCATION_STRINGS = { TEST_IP : {0: "[North America]", 1: "[North America | United States]", 2: "[North America | United States | " "Mountain View]", 3: "[North America | United States | " "Mountain View | 37.419200000000004, -122.0574]"} } locate_response = namedtuple("locate_response", "continent country" " city location") city_response = namedtuple("city", "name") country_response = namedtuple("country", "name") continent_response = namedtuple("continent", "name") location_response = namedtuple("location", "latitude longitude") MOCKED_LOCATE_RESPONSE = locate_response(continent_response("North America"), country_response("United States"), city_response("Mountain View"), location_response("37.419200000000004", "-122.0574")) MOCKED_LOCATE_RESPONSE_CONTINENT_UNKNOWN = locate_response(continent_response(None), country_response("Spain"), city_response("Madrid"), location_response("40", "-4")) MOCKED_LOCATE_RESPONSE_COUNTRY_UNKNOWN = locate_response(continent_response("Europe"), country_response(None), city_response("Madrid"), location_response("40", "-4")) MOCKED_LOCATE_RESPONSE_CITY_UNKNOWN = locate_response(continent_response("Europe"), country_response("Spain"), city_response(None), location_response("40", "-4")) MOCKED_LOCATE_RESPONSE_LATLONG_UNKNOWN = locate_response(continent_response("Europe"), country_response("Spain"), city_response("None"), location_response(None, None)) IP_NOT_FOUND_MESSAGE = "IP not found" MOCKED_RESULTS_VERBOSITY_0 = {"172.16.17.32": 'North America', "192.168.1.1": IP_NOT_FOUND_MESSAGE, "172.16.58.3": 'Europe', "172.16.17.32": 'Europe', "192.168.127.12": 'Europe', "172.16.58.3": 'Europe', "192.168.127.12": 'Europe', "172.16.17.32": 'North America', "192.168.3.11": 'North America', "192.168.3.11": 'North America', "192.168.127.12": 'North America', "192.168.3.11": 'North America', "172.16.17.32": 'North America', "172.16.17.32": 'North America'} CORRECT_RESULT_TEXT = """TRACEROUTE OUTPUT traceroute to www.google.com (172.16.17.32 [North America]), 30 hops max, 60 byte packets 1 192.168.1.1 [IP not found] (192.168.1.1 [IP not found]) 2.923 ms 4.180 ms 4.092 ms 2 90.Red-80-58-67.staticIP.rima-tde.net (172.16.58.3 [Europe]) 7.713 ms 7.657 ms 7.601 ms 3 57.Red-80-58-76.staticIP.rima-tde.net (172.16.17.32 [Europe]) 11.990 ms 11.948 ms 13.062 ms 4 145.Red-80-58-86.staticIP.rima-tde.net (192.168.127.12 [Europe]) 9.630 ms 14.929 ms 14.872 ms 5 AE3-GRCMADJV1.red.telefonica-wholesale.net (172.16.58.3 [Europe]) 9.431 ms 9.337 ms 11.313 ms 6 192.168.127.12 [Europe] (192.168.127.12 [Europe]) 12.499 ms 13.972 ms 15.852 ms 7 172.16.17.32 [North America] (172.16.31.100 [North America]) 15.817 ms 15.798 ms 192.168.3.11 [North America] (192.168.3.11 [North America]) 15.779 ms 8 192.168.3.11 [North America] (192.168.3.11 [North America]) 55.590 ms 55.581 ms 55.550 ms 9 192.168.127.12 [North America] (192.168.127.12 [North America]) 37.949 ms 37.937 ms 192.168.3.11 [North America] (192.168.3.11 [North America]) 50.830 ms 10 172.16.17.32 [North America] (172.16.17.32 [North America]) 40.635 ms 37.871 ms 40.588 ms 11 par03s12-in-f19.1e100.net (172.16.17.32 [North America]) 37.817 ms 40.528 ms 37.954 ms """ class TestParser(unittest.TestCase): @staticmethod def setUpClass(): TestInputReader._inject_to_stdin = TestInputReader._replace_stdin() @staticmethod def tearDownClass(): TestInputReader._restore_stdin() def test_GeolocateInputParser_next_stdin(self): """Check class is able to analyze input line by line and return lines with geodata strings included. """ with testing_tools.WorkingDirectoryChanged(WORKING_DIR): TestInputReader._inject_to_stdin(TEST_STRING) geoip_database = test_geowrapper._create_default_geoip_database() self._geolocate_input_parsing(0, geoip_database) def test_GeolocateInputParser_next_text(self): """Check class is able to analyze a text and return it with geodata strings included. """ with testing_tools.WorkingDirectoryChanged(WORKING_DIR): geoip_database = test_geowrapper._create_default_geoip_database() self._geolocate_input_parsing(0, geoip_database, TEST_STRING, "\n") def _geolocate_input_parsing(self, verbosity, geoip_database, text=None, join_char=""): if text is None: input_parser = parser.GeolocateInputParser(0, geoip_database) else: input_parser = parser.GeolocateInputParser(0, geoip_database, text) lines = [] for line in input_parser: lines.append(line) result_text = _rejoin_lines(lines, join_char) self.assertEqual(result_text, CORRECT_RESULT_TEXT, msg="Rebuilt text and test string doesn't match.\n" "Rebuilt text:\n {0}\n" "Test string:\n {1}".format(result_text, CORRECT_RESULT_TEXT)) @staticmethod def _mocked_locate_results(ip_address): if MOCKED_RESULTS_VERBOSITY_0[ip_address] == IP_NOT_FOUND_MESSAGE: raise geoip.IPNotFound(ip_address) else: mocked_location = {"continent_name": MOCKED_RESULTS_VERBOSITY_0[ip_address]} return mocked_location def test_GeolocateInputParser_locate(self): """Check locate() returns an string correctly formatted for every verbosity level. """ with testing_tools.WorkingDirectoryChanged(WORKING_DIR): verbosity_levels = parser.GeolocateInputParser.VERBOSITY_LEVELS ip_to_find = TEST_IP test_configuration = config.Configuration() geoip_database = geoip.load_geoip_database(test_configuration) for verbosity in verbosity_levels: input_parser = parser.GeolocateInputParser(verbosity, geoip_database) # ## TODO: Remove Mock when _geoip_database.locate is implemented. # input_parser._geoip_database.locate = unittest.mock.MagicMock( # return_value=MOCKED_LOCATE_RESPONSE) location_string = input_parser._locate(ip_to_find) self.assertEqual(location_string, TEST_IP_LOCATION_STRINGS[TEST_IP][verbosity]) def test_GeolocateInputParser_format_location_string(self): """Check format_location_string() returns an string correctly formatted for every verbosity level. """ verbosity_levels = parser.GeolocateInputParser.VERBOSITY_LEVELS for verbosity in verbosity_levels: input_parser = parser.GeolocateInputParser(verbosity, None) location_string = input_parser._format_location_string( MOCKED_LOCATE_RESPONSE) self.assertEqual(location_string, TEST_IP_GEOLOCATION_STRINGS[TEST_IP][verbosity]) def test_find_ips_in_text(self): """Check all embedded IP addresses are found.""" returned_IP_addresses = set() test_text_lines = TEST_STRING.splitlines() test_ip_addresses = set(TEST_STRING_IP_ADDRESSES) for line in test_text_lines: line_IP_addresses = parser._find_ips_in_text(line) returned_IP_addresses.update(line_IP_addresses) self.assertEqual(returned_IP_addresses, test_ip_addresses) def test_include_location_in_line(self): """Check IP addresses are properly replaced with geodata string.""" line = ("traceroute to www.google.com (172.16.17.32), 30 hops max, " "60 byte packets") ip = "172.16.17.32" location = "172.16.17.32 [North America | United States]" correct_line = ("traceroute to www.google.com (172.16.17.32 " "[North America | United States]), 30 hops max, " "60 byte packets") returned_line = parser._include_location_in_line(line, ip, location) self.assertEqual(returned_line, correct_line, msg="Rebuilt text and test string doesn't match.\n" "Rebuilt text:\n {0}\n" "Test string:\n {1}".format(returned_line, correct_line)) def test_get_lines(self): """Check text lines are correctly retrieved.""" text = "Locate this: 172.16.31.10 \n and this too: 172.16.17.32" lines = ["Locate this: 172.16.31.10 ", " and this too: 172.16.17.32"] line_generator = parser._get_lines(text) obtained_line_list = [line for line in line_generator] self.assertEqual(lines, obtained_line_list) def test_find_unknowns(self): """ Check unknowns attributes are correctly translated to informational strings. """ location_strings = parser._find_unknowns(MOCKED_LOCATE_RESPONSE_CONTINENT_UNKNOWN) self.assertEqual(location_strings["continent_name"], "Unknown continent") self.assertEqual(location_strings["country_name"], "Spain") location_strings = parser._find_unknowns(MOCKED_LOCATE_RESPONSE_COUNTRY_UNKNOWN) self.assertEqual(location_strings["country_name"], "Unknown country") self.assertEqual(location_strings["continent_name"], "Europe") location_strings = parser._find_unknowns(MOCKED_LOCATE_RESPONSE_CITY_UNKNOWN) self.assertEqual(location_strings["city_name"], "Unknown city") self.assertEqual(location_strings["lat-long"]["latitude"], "40") self.assertEqual(location_strings["lat-long"]["longitude"], "-4") location_strings = parser._find_unknowns(MOCKED_LOCATE_RESPONSE_LATLONG_UNKNOWN) self.assertEqual(location_strings["lat-long"]["latitude"], "Unknown latitude") self.assertEqual(location_strings["lat-long"]["longitude"], "Unknown longitude") class TestInputReader(unittest.TestCase): _inject_to_stdin = None _old_stdin = None @classmethod def setUpClass(cls): cls._inject_to_stdin = cls._replace_stdin() @classmethod def _replace_stdin(cls): cls._old_stdin = sys.stdin def _inject_string(string): sys.stdin = io.StringIO(string) return _inject_string @classmethod def tearDownClass(cls): cls._restore_stdin() @classmethod def _restore_stdin(cls): sys.stdin = cls._old_stdin def test_InputReader(self): """Inject text in stdin and compare what is read from there to check it is the same. """ self.__class__._inject_to_stdin(TEST_STRING) input_reader = parser.InputReader() lines = _read_stdin(input_reader) rebuilt_text = _rejoin_lines(lines) self.assertEqual(rebuilt_text, TEST_STRING, msg="Rebuilt text and test string doesn't match.\n" "Rebuilt text:\n {0}\n" "Test string:\n {1}".format(rebuilt_text, TEST_STRING)) def _read_stdin(input_reader): lines_read = (line for line in input_reader) return lines_read def _rejoin_lines(lines, join_char=""): rebuilt_text = join_char.join(lines) return rebuilt_text
[ 1, 529, 276, 1112, 420, 29958, 29895, 388, 356, 1182, 19639, 29914, 479, 324, 542, 403, 13, 15945, 29908, 13, 1243, 29918, 1188, 16680, 29889, 2272, 13, 13, 7835, 2168, 491, 29901, 529, 5813, 29958, 13, 13, 4876, 29901, 529, 26862, 6227, 29958, 13, 15945, 29908, 13, 13, 5215, 12013, 13, 5215, 10876, 13, 5215, 443, 27958, 13, 5215, 443, 27958, 29889, 17640, 13, 3166, 16250, 1053, 4257, 23583, 13, 13, 5215, 1737, 324, 542, 403, 29889, 13203, 29889, 2917, 408, 2295, 13, 5215, 1737, 324, 542, 403, 29889, 13203, 29889, 479, 340, 6794, 408, 1737, 29877, 666, 13, 5215, 1737, 324, 542, 403, 29889, 13203, 29889, 16680, 408, 13812, 13, 5215, 1737, 324, 542, 403, 29889, 21150, 29889, 1688, 29918, 479, 340, 6794, 408, 1243, 29918, 479, 340, 6794, 13, 5215, 1737, 324, 542, 403, 29889, 21150, 29889, 13424, 29918, 8504, 408, 6724, 29918, 8504, 13, 13, 13, 11686, 29968, 4214, 29918, 9464, 353, 376, 6904, 479, 324, 542, 403, 29908, 13, 13, 18267, 29918, 20785, 353, 9995, 5659, 2477, 1001, 12015, 29923, 19474, 12336, 13, 29873, 945, 261, 2663, 304, 7821, 29889, 3608, 29889, 510, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 511, 29871, 29941, 29900, 298, 3554, 4236, 29892, 29871, 29953, 29900, 7023, 23912, 13, 29871, 29896, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29889, 29896, 313, 29896, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 29897, 259, 29906, 29889, 29929, 29906, 29941, 10887, 259, 29946, 29889, 29896, 29947, 29900, 10887, 259, 29946, 29889, 29900, 29929, 29906, 10887, 13, 29871, 29906, 259, 29929, 29900, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29953, 29955, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29947, 29900, 29889, 29945, 29947, 29889, 29953, 29955, 29889, 29929, 29900, 29897, 259, 29955, 29889, 29955, 29896, 29941, 10887, 259, 29955, 29889, 29953, 29945, 29955, 10887, 259, 29955, 29889, 29953, 29900, 29896, 10887, 13, 29871, 29941, 259, 29945, 29955, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29955, 29953, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29897, 259, 29896, 29896, 29889, 29929, 29929, 29900, 10887, 259, 29896, 29896, 29889, 29929, 29946, 29947, 10887, 259, 29896, 29941, 29889, 29900, 29953, 29906, 10887, 13, 29871, 29946, 259, 29896, 29946, 29945, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29947, 29953, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 29897, 259, 29929, 29889, 29953, 29941, 29900, 10887, 259, 29896, 29946, 29889, 29929, 29906, 29929, 10887, 259, 29896, 29946, 29889, 29947, 29955, 29906, 10887, 13, 29871, 29945, 29871, 319, 29923, 29941, 29899, 29954, 10363, 1529, 29928, 29967, 29963, 29896, 29889, 1127, 29889, 15494, 18753, 983, 29899, 1332, 6544, 744, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 29897, 259, 29929, 29889, 29946, 29941, 29896, 10887, 259, 29929, 29889, 29941, 29941, 29955, 10887, 259, 29896, 29896, 29889, 29941, 29896, 29941, 10887, 13, 29871, 29953, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 29897, 259, 29896, 29906, 29889, 29946, 29929, 29929, 10887, 259, 29896, 29941, 29889, 29929, 29955, 29906, 10887, 259, 29896, 29945, 29889, 29947, 29945, 29906, 10887, 13, 29871, 29955, 259, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29897, 259, 29896, 29945, 29889, 29947, 29896, 29955, 10887, 259, 29896, 29945, 29889, 29955, 29929, 29947, 10887, 29871, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 29897, 259, 29896, 29945, 29889, 29955, 29955, 29929, 10887, 13, 29871, 29947, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 29897, 259, 29945, 29945, 29889, 29945, 29929, 29900, 10887, 259, 29945, 29945, 29889, 29945, 29947, 29896, 10887, 259, 29945, 29945, 29889, 29945, 29945, 29900, 10887, 13, 29871, 29929, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 29897, 259, 29941, 29955, 29889, 29929, 29946, 29929, 10887, 259, 29941, 29955, 29889, 29929, 29941, 29955, 10887, 29871, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 29897, 259, 29945, 29900, 29889, 29947, 29941, 29900, 10887, 13, 29896, 29900, 259, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 313, 29953, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 29897, 259, 29946, 29900, 29889, 29953, 29941, 29945, 10887, 259, 29941, 29955, 29889, 29947, 29955, 29896, 10887, 259, 29946, 29900, 29889, 29945, 29947, 29947, 10887, 13, 29896, 29896, 29871, 610, 29900, 29941, 29879, 29896, 29906, 29899, 262, 29899, 29888, 29896, 29929, 29889, 29896, 29872, 29896, 29900, 29900, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29897, 259, 29941, 29955, 29889, 29947, 29896, 29955, 10887, 259, 29946, 29900, 29889, 29945, 29906, 29947, 10887, 259, 29941, 29955, 29889, 29929, 29945, 29946, 10887, 13, 15945, 29908, 13, 18267, 29918, 20785, 29918, 5690, 29918, 17744, 15989, 1660, 29903, 353, 4852, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29889, 29896, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 613, 13, 462, 9651, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 613, 13, 462, 9651, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1159, 13, 13, 18267, 29918, 5690, 353, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29908, 13, 13, 18267, 29918, 5690, 29918, 3738, 6670, 8452, 353, 426, 13, 9651, 17067, 1254, 29918, 5690, 584, 8853, 1285, 8946, 29918, 978, 1115, 376, 29940, 2072, 6813, 613, 13, 462, 539, 376, 13509, 29918, 978, 1115, 376, 2525, 1573, 3900, 613, 13, 462, 539, 376, 12690, 29918, 978, 1115, 376, 27648, 475, 4533, 613, 13, 462, 539, 376, 5066, 29899, 5426, 1115, 376, 29941, 29955, 29889, 29946, 29896, 29929, 29906, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29946, 29892, 448, 29896, 29906, 29906, 29889, 29900, 29945, 29955, 29946, 9092, 13, 9651, 500, 13, 13, 18267, 29918, 5690, 29918, 16652, 8098, 29918, 20785, 29903, 353, 426, 13, 9651, 17067, 1254, 29918, 5690, 584, 426, 29900, 29901, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 29962, 613, 13, 462, 4706, 29896, 29901, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 891, 3303, 3900, 29962, 613, 13, 462, 4706, 29906, 29901, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 891, 3303, 3900, 891, 376, 13, 462, 3986, 376, 27648, 475, 4533, 29962, 613, 13, 462, 4706, 29941, 29901, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 891, 3303, 3900, 891, 376, 13, 462, 3986, 376, 27648, 475, 4533, 891, 29871, 29941, 29955, 29889, 29946, 29896, 29929, 29906, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29946, 29892, 448, 29896, 29906, 29906, 29889, 29900, 29945, 29955, 29946, 29962, 9092, 13, 9651, 500, 13, 13, 18267, 29918, 5690, 29918, 1692, 29949, 16652, 8098, 29918, 20785, 29903, 353, 426, 13, 9651, 17067, 1254, 29918, 5690, 584, 426, 29900, 29901, 14704, 29940, 2072, 6813, 29962, 613, 13, 462, 4706, 29896, 29901, 14704, 29940, 2072, 6813, 891, 3303, 3900, 29962, 613, 13, 462, 4706, 29906, 29901, 14704, 29940, 2072, 6813, 891, 3303, 3900, 891, 376, 13, 462, 3986, 376, 27648, 475, 4533, 29962, 613, 13, 462, 4706, 29941, 29901, 14704, 29940, 2072, 6813, 891, 3303, 3900, 891, 376, 13, 462, 3986, 376, 27648, 475, 4533, 891, 29871, 29941, 29955, 29889, 29946, 29896, 29929, 29906, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29946, 29892, 448, 29896, 29906, 29906, 29889, 29900, 29945, 29955, 29946, 29962, 9092, 13, 9651, 500, 13, 13, 13, 2029, 403, 29918, 5327, 353, 4257, 23583, 703, 2029, 403, 29918, 5327, 613, 376, 1285, 8946, 4234, 29908, 13, 462, 462, 18884, 376, 4272, 4423, 1159, 13, 12690, 29918, 5327, 353, 4257, 23583, 703, 12690, 613, 376, 978, 1159, 13, 13509, 29918, 5327, 353, 4257, 23583, 703, 13509, 613, 376, 978, 1159, 13, 1285, 8946, 29918, 5327, 353, 4257, 23583, 703, 1285, 8946, 613, 376, 978, 1159, 13, 5479, 29918, 5327, 353, 4257, 23583, 703, 5479, 613, 376, 5066, 4279, 28745, 1159, 13, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 353, 26694, 29918, 5327, 29898, 1285, 8946, 29918, 5327, 703, 29940, 2072, 6813, 4968, 13, 462, 462, 308, 4234, 29918, 5327, 703, 2525, 1573, 3900, 4968, 13, 462, 462, 308, 4272, 29918, 5327, 703, 27648, 475, 4533, 4968, 13, 462, 462, 308, 4423, 29918, 5327, 703, 29941, 29955, 29889, 29946, 29896, 29929, 29906, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29946, 613, 13, 462, 462, 462, 965, 11663, 29896, 29906, 29906, 29889, 29900, 29945, 29955, 29946, 5783, 13, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 22412, 1177, 3919, 29918, 3904, 29968, 6632, 16048, 353, 26694, 29918, 5327, 29898, 1285, 8946, 29918, 5327, 29898, 8516, 511, 13, 462, 462, 462, 1678, 4234, 29918, 5327, 703, 5592, 475, 4968, 13, 462, 462, 462, 1678, 4272, 29918, 5327, 703, 21878, 2429, 4968, 13, 462, 462, 462, 1678, 4423, 29918, 5327, 703, 29946, 29900, 613, 13, 462, 462, 462, 462, 418, 11663, 29946, 5783, 13, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 3217, 3904, 5659, 29979, 29918, 3904, 29968, 6632, 16048, 353, 26694, 29918, 5327, 29898, 1285, 8946, 29918, 5327, 703, 15654, 4968, 13, 462, 462, 462, 1678, 4234, 29918, 5327, 29898, 8516, 511, 13, 462, 462, 462, 1678, 4272, 29918, 5327, 703, 21878, 2429, 4968, 13, 462, 462, 462, 1678, 4423, 29918, 5327, 703, 29946, 29900, 613, 13, 462, 462, 462, 462, 418, 11663, 29946, 5783, 13, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 29907, 11937, 29918, 3904, 29968, 6632, 16048, 353, 26694, 29918, 5327, 29898, 1285, 8946, 29918, 5327, 703, 15654, 4968, 13, 462, 462, 462, 1678, 4234, 29918, 5327, 703, 5592, 475, 4968, 13, 462, 462, 462, 1678, 4272, 29918, 5327, 29898, 8516, 511, 13, 462, 462, 462, 1678, 4423, 29918, 5327, 703, 29946, 29900, 613, 13, 462, 462, 462, 462, 418, 11663, 29946, 5783, 13, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 29931, 1299, 29931, 20614, 29918, 3904, 29968, 6632, 16048, 353, 26694, 29918, 5327, 29898, 1285, 8946, 29918, 5327, 703, 15654, 4968, 13, 462, 462, 462, 1678, 4234, 29918, 5327, 703, 5592, 475, 4968, 13, 462, 462, 462, 1678, 4272, 29918, 5327, 703, 8516, 4968, 13, 462, 462, 462, 1678, 4423, 29918, 5327, 29898, 8516, 29892, 13, 462, 462, 462, 462, 418, 6213, 876, 13, 13, 13, 5690, 29918, 12256, 29918, 5800, 18783, 29918, 2303, 1799, 10461, 353, 376, 5690, 451, 1476, 29908, 13, 13, 6720, 7077, 3352, 29918, 15989, 8647, 29903, 29918, 5348, 29933, 3267, 11937, 29918, 29900, 353, 8853, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29889, 29896, 1115, 5641, 29918, 12256, 29918, 5800, 18783, 29918, 2303, 1799, 10461, 29892, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 1115, 525, 15654, 742, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1115, 525, 15654, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 1115, 525, 15654, 742, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 1115, 525, 15654, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 1115, 525, 15654, 742, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1115, 525, 29940, 2072, 6813, 742, 13, 462, 795, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 1115, 525, 29940, 2072, 6813, 10827, 13, 13, 29907, 1955, 26282, 29918, 15989, 8647, 29918, 16975, 353, 9995, 5659, 2477, 1001, 12015, 29923, 19474, 12336, 13, 29873, 945, 261, 2663, 304, 7821, 29889, 3608, 29889, 510, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 11724, 29871, 29941, 29900, 298, 3554, 4236, 29892, 29871, 29953, 29900, 7023, 23912, 13, 29871, 29896, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29889, 29896, 518, 5690, 451, 1476, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29889, 29896, 518, 5690, 451, 1476, 2314, 259, 29906, 29889, 29929, 29906, 29941, 10887, 259, 29946, 29889, 29896, 29947, 29900, 10887, 259, 29946, 29889, 29900, 29929, 29906, 10887, 13, 29871, 29906, 259, 29929, 29900, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29953, 29955, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 518, 15654, 2314, 259, 29955, 29889, 29955, 29896, 29941, 10887, 259, 29955, 29889, 29953, 29945, 29955, 10887, 259, 29955, 29889, 29953, 29900, 29896, 10887, 13, 29871, 29941, 259, 29945, 29955, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29955, 29953, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 15654, 2314, 259, 29896, 29896, 29889, 29929, 29929, 29900, 10887, 259, 29896, 29896, 29889, 29929, 29946, 29947, 10887, 259, 29896, 29941, 29889, 29900, 29953, 29906, 10887, 13, 29871, 29946, 259, 29896, 29946, 29945, 29889, 9039, 29899, 29947, 29900, 29899, 29945, 29947, 29899, 29947, 29953, 29889, 7959, 5690, 29889, 29878, 2946, 29899, 29873, 311, 29889, 1212, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 518, 15654, 2314, 259, 29929, 29889, 29953, 29941, 29900, 10887, 259, 29896, 29946, 29889, 29929, 29906, 29929, 10887, 259, 29896, 29946, 29889, 29947, 29955, 29906, 10887, 13, 29871, 29945, 29871, 319, 29923, 29941, 29899, 29954, 10363, 1529, 29928, 29967, 29963, 29896, 29889, 1127, 29889, 15494, 18753, 983, 29899, 1332, 6544, 744, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29945, 29947, 29889, 29941, 518, 15654, 2314, 259, 29929, 29889, 29946, 29941, 29896, 10887, 259, 29929, 29889, 29941, 29941, 29955, 10887, 259, 29896, 29896, 29889, 29941, 29896, 29941, 10887, 13, 29871, 29953, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 518, 15654, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 518, 15654, 2314, 259, 29896, 29906, 29889, 29946, 29929, 29929, 10887, 259, 29896, 29941, 29889, 29929, 29955, 29906, 10887, 259, 29896, 29945, 29889, 29947, 29945, 29906, 10887, 13, 29871, 29955, 259, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 29962, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29941, 29896, 29889, 29896, 29900, 29900, 518, 29940, 2072, 6813, 2314, 259, 29896, 29945, 29889, 29947, 29896, 29955, 10887, 259, 29896, 29945, 29889, 29955, 29929, 29947, 10887, 29871, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 2314, 259, 29896, 29945, 29889, 29955, 29955, 29929, 10887, 13, 29871, 29947, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 2314, 259, 29945, 29945, 29889, 29945, 29929, 29900, 10887, 259, 29945, 29945, 29889, 29945, 29947, 29896, 10887, 259, 29945, 29945, 29889, 29945, 29945, 29900, 10887, 13, 29871, 29929, 259, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 518, 29940, 2072, 6813, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 518, 29940, 2072, 6813, 2314, 259, 29941, 29955, 29889, 29929, 29946, 29929, 10887, 259, 29941, 29955, 29889, 29929, 29941, 29955, 10887, 29871, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 29962, 313, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29941, 29889, 29896, 29896, 518, 29940, 2072, 6813, 2314, 259, 29945, 29900, 29889, 29947, 29941, 29900, 10887, 13, 29896, 29900, 259, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 29962, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 2314, 259, 29946, 29900, 29889, 29953, 29941, 29945, 10887, 259, 29941, 29955, 29889, 29947, 29955, 29896, 10887, 259, 29946, 29900, 29889, 29945, 29947, 29947, 10887, 13, 29896, 29896, 29871, 610, 29900, 29941, 29879, 29896, 29906, 29899, 262, 29899, 29888, 29896, 29929, 29889, 29896, 29872, 29896, 29900, 29900, 29889, 1212, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 2314, 259, 29941, 29955, 29889, 29947, 29896, 29955, 10887, 259, 29946, 29900, 29889, 29945, 29906, 29947, 10887, 259, 29941, 29955, 29889, 29929, 29945, 29946, 10887, 13, 15945, 29908, 13, 13, 1990, 4321, 11726, 29898, 348, 27958, 29889, 3057, 8259, 1125, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 731, 3373, 2385, 7295, 13, 4706, 4321, 4290, 6982, 3032, 21920, 29918, 517, 29918, 4172, 262, 353, 4321, 4290, 6982, 3032, 6506, 29918, 4172, 262, 580, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 734, 279, 6767, 2385, 7295, 13, 4706, 4321, 4290, 6982, 3032, 5060, 487, 29918, 4172, 262, 580, 13, 13, 1678, 822, 1243, 29918, 7999, 324, 542, 403, 4290, 11726, 29918, 4622, 29918, 4172, 262, 29898, 1311, 1125, 13, 4706, 9995, 5596, 770, 338, 2221, 304, 27599, 1881, 1196, 491, 1196, 322, 736, 13, 4706, 3454, 411, 1737, 397, 532, 6031, 5134, 29889, 13, 4706, 9995, 13, 4706, 411, 6724, 29918, 8504, 29889, 5531, 292, 9882, 7590, 29898, 11686, 29968, 4214, 29918, 9464, 1125, 13, 9651, 4321, 4290, 6982, 3032, 21920, 29918, 517, 29918, 4172, 262, 29898, 18267, 29918, 20785, 29897, 13, 9651, 1737, 29877, 666, 29918, 9803, 353, 1243, 29918, 479, 340, 6794, 3032, 3258, 29918, 4381, 29918, 24756, 666, 29918, 9803, 580, 13, 9651, 1583, 3032, 479, 324, 542, 403, 29918, 2080, 29918, 862, 2976, 29898, 29900, 29892, 1737, 29877, 666, 29918, 9803, 29897, 13, 13, 1678, 822, 1243, 29918, 7999, 324, 542, 403, 4290, 11726, 29918, 4622, 29918, 726, 29898, 1311, 1125, 13, 4706, 9995, 5596, 770, 338, 2221, 304, 27599, 263, 1426, 322, 736, 372, 411, 1737, 397, 532, 13, 4706, 6031, 5134, 29889, 13, 4706, 9995, 13, 4706, 411, 6724, 29918, 8504, 29889, 5531, 292, 9882, 7590, 29898, 11686, 29968, 4214, 29918, 9464, 1125, 13, 9651, 1737, 29877, 666, 29918, 9803, 353, 1243, 29918, 479, 340, 6794, 3032, 3258, 29918, 4381, 29918, 24756, 666, 29918, 9803, 580, 13, 9651, 1583, 3032, 479, 324, 542, 403, 29918, 2080, 29918, 862, 2976, 29898, 29900, 29892, 1737, 29877, 666, 29918, 9803, 29892, 17067, 1254, 29918, 20785, 29892, 6634, 29876, 1159, 13, 13, 1678, 822, 903, 479, 324, 542, 403, 29918, 2080, 29918, 862, 2976, 29898, 1311, 29892, 9750, 359, 537, 29892, 1737, 29877, 666, 29918, 9803, 29892, 13, 462, 462, 1426, 29922, 8516, 29892, 5988, 29918, 3090, 13776, 1125, 13, 4706, 565, 1426, 338, 6213, 29901, 13, 9651, 1881, 29918, 16680, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29898, 29900, 29892, 1737, 29877, 666, 29918, 9803, 29897, 13, 4706, 1683, 29901, 13, 9651, 1881, 29918, 16680, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29898, 29900, 29892, 1737, 29877, 666, 29918, 9803, 29892, 1426, 29897, 13, 4706, 3454, 353, 5159, 13, 4706, 363, 1196, 297, 1881, 29918, 16680, 29901, 13, 9651, 3454, 29889, 4397, 29898, 1220, 29897, 13, 4706, 1121, 29918, 726, 353, 903, 276, 7122, 29918, 9012, 29898, 9012, 29892, 5988, 29918, 3090, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 2914, 29918, 726, 29892, 13, 462, 308, 315, 1955, 26282, 29918, 15989, 8647, 29918, 16975, 29892, 13, 462, 308, 10191, 543, 29934, 774, 29884, 2782, 1426, 322, 1243, 1347, 1838, 29915, 29873, 1993, 7790, 29876, 29908, 13, 462, 632, 376, 29934, 774, 29884, 2782, 1426, 3583, 29876, 426, 29900, 1012, 29876, 29908, 13, 462, 632, 376, 3057, 1347, 3583, 29876, 426, 29896, 29913, 1642, 4830, 29898, 2914, 29918, 726, 29892, 13, 462, 462, 462, 308, 315, 1955, 26282, 29918, 15989, 8647, 29918, 16975, 876, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 17640, 287, 29918, 2029, 403, 29918, 9902, 29898, 666, 29918, 7328, 1125, 13, 4706, 565, 16999, 7077, 3352, 29918, 15989, 8647, 29903, 29918, 5348, 29933, 3267, 11937, 29918, 29900, 29961, 666, 29918, 7328, 29962, 1275, 5641, 29918, 12256, 29918, 5800, 18783, 29918, 2303, 1799, 10461, 29901, 13, 9651, 12020, 1737, 29877, 666, 29889, 5690, 17413, 29898, 666, 29918, 7328, 29897, 13, 4706, 1683, 29901, 13, 9651, 11187, 287, 29918, 5479, 353, 8853, 1285, 8946, 29918, 978, 1115, 13, 462, 462, 259, 16999, 7077, 3352, 29918, 15989, 8647, 29903, 29918, 5348, 29933, 3267, 11937, 29918, 29900, 29961, 666, 29918, 7328, 12258, 13, 9651, 736, 11187, 287, 29918, 5479, 13, 13, 1678, 822, 1243, 29918, 7999, 324, 542, 403, 4290, 11726, 29918, 2029, 403, 29898, 1311, 1125, 13, 4706, 9995, 5596, 26694, 580, 3639, 385, 1347, 5149, 20917, 363, 1432, 13, 4706, 9750, 359, 537, 3233, 29889, 13, 4706, 9995, 13, 4706, 411, 6724, 29918, 8504, 29889, 5531, 292, 9882, 7590, 29898, 11686, 29968, 4214, 29918, 9464, 1125, 13, 9651, 9750, 359, 537, 29918, 5563, 29879, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29889, 5348, 29933, 3267, 11937, 29918, 1307, 29963, 6670, 29903, 13, 9651, 10377, 29918, 517, 29918, 2886, 353, 17067, 1254, 29918, 5690, 13, 9651, 1243, 29918, 13305, 353, 2295, 29889, 8614, 580, 13, 9651, 1737, 29877, 666, 29918, 9803, 353, 1737, 29877, 666, 29889, 1359, 29918, 24756, 666, 29918, 9803, 29898, 1688, 29918, 13305, 29897, 13, 9651, 363, 9750, 359, 537, 297, 9750, 359, 537, 29918, 5563, 29879, 29901, 13, 18884, 1881, 29918, 16680, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29898, 18248, 359, 537, 29892, 1737, 29877, 666, 29918, 9803, 29897, 13, 18884, 396, 444, 14402, 29901, 15154, 26297, 746, 903, 24756, 666, 29918, 9803, 29889, 2029, 403, 338, 8762, 29889, 13, 18884, 396, 1881, 29918, 16680, 3032, 24756, 666, 29918, 9803, 29889, 2029, 403, 353, 443, 27958, 29889, 17640, 29889, 19095, 293, 18680, 29898, 13, 18884, 396, 462, 462, 308, 736, 29918, 1767, 29922, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29897, 13, 18884, 4423, 29918, 1807, 353, 1881, 29918, 16680, 3032, 2029, 403, 29898, 666, 29918, 517, 29918, 2886, 29897, 13, 18884, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 1807, 29892, 13, 462, 462, 17067, 1254, 29918, 5690, 29918, 16652, 8098, 29918, 20785, 29903, 29961, 18267, 29918, 5690, 3816, 18248, 359, 537, 2314, 13, 13, 1678, 822, 1243, 29918, 7999, 324, 542, 403, 4290, 11726, 29918, 4830, 29918, 5479, 29918, 1807, 29898, 1311, 1125, 13, 4706, 9995, 5596, 3402, 29918, 5479, 29918, 1807, 580, 3639, 385, 1347, 5149, 20917, 13, 4706, 363, 1432, 9750, 359, 537, 3233, 29889, 13, 4706, 9995, 13, 4706, 9750, 359, 537, 29918, 5563, 29879, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29889, 5348, 29933, 3267, 11937, 29918, 1307, 29963, 6670, 29903, 13, 4706, 363, 9750, 359, 537, 297, 9750, 359, 537, 29918, 5563, 29879, 29901, 13, 9651, 1881, 29918, 16680, 353, 13812, 29889, 7999, 324, 542, 403, 4290, 11726, 29898, 18248, 359, 537, 29892, 6213, 29897, 13, 9651, 4423, 29918, 1807, 353, 1881, 29918, 16680, 3032, 4830, 29918, 5479, 29918, 1807, 29898, 13, 462, 462, 462, 4706, 16999, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29897, 13, 9651, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 1807, 29892, 13, 462, 632, 17067, 1254, 29918, 5690, 29918, 1692, 29949, 16652, 8098, 29918, 20785, 29903, 29961, 18267, 29918, 5690, 3816, 18248, 359, 537, 2314, 13, 13, 1678, 822, 1243, 29918, 2886, 29918, 4512, 29918, 262, 29918, 726, 29898, 1311, 1125, 13, 4706, 9995, 5596, 599, 15685, 5641, 14157, 526, 1476, 1213, 15945, 13, 4706, 4133, 29918, 5690, 29918, 7328, 267, 353, 731, 580, 13, 4706, 1243, 29918, 726, 29918, 9012, 353, 17067, 1254, 29918, 20785, 29889, 5451, 9012, 580, 13, 4706, 1243, 29918, 666, 29918, 7328, 267, 353, 731, 29898, 18267, 29918, 20785, 29918, 5690, 29918, 17744, 15989, 1660, 29903, 29897, 13, 4706, 363, 1196, 297, 1243, 29918, 726, 29918, 9012, 29901, 13, 9651, 1196, 29918, 5690, 29918, 7328, 267, 353, 13812, 3032, 2886, 29918, 4512, 29918, 262, 29918, 726, 29898, 1220, 29897, 13, 9651, 4133, 29918, 5690, 29918, 7328, 267, 29889, 5504, 29898, 1220, 29918, 5690, 29918, 7328, 267, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 2457, 287, 29918, 5690, 29918, 7328, 267, 29892, 1243, 29918, 666, 29918, 7328, 267, 29897, 13, 13, 1678, 822, 1243, 29918, 2856, 29918, 5479, 29918, 262, 29918, 1220, 29898, 1311, 1125, 13, 4706, 9995, 5596, 5641, 14157, 526, 6284, 8611, 411, 1737, 397, 532, 1347, 1213, 15945, 13, 4706, 1196, 353, 4852, 29873, 945, 261, 2663, 304, 7821, 29889, 3608, 29889, 510, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 511, 29871, 29941, 29900, 298, 3554, 4236, 29892, 376, 13, 18884, 376, 29953, 29900, 7023, 23912, 1159, 13, 4706, 10377, 353, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29908, 13, 4706, 4423, 353, 376, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 518, 29940, 2072, 6813, 891, 3303, 3900, 18017, 13, 4706, 1959, 29918, 1220, 353, 4852, 29873, 945, 261, 2663, 304, 7821, 29889, 3608, 29889, 510, 313, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 376, 13, 462, 4706, 14704, 29940, 2072, 6813, 891, 3303, 3900, 11724, 29871, 29941, 29900, 298, 3554, 4236, 29892, 376, 13, 462, 4706, 376, 29953, 29900, 7023, 23912, 1159, 13, 4706, 4133, 29918, 1220, 353, 13812, 3032, 2856, 29918, 5479, 29918, 262, 29918, 1220, 29898, 1220, 29892, 10377, 29892, 4423, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 2457, 287, 29918, 1220, 29892, 13, 462, 308, 1959, 29918, 1220, 29892, 13, 462, 308, 10191, 543, 29934, 774, 29884, 2782, 1426, 322, 1243, 1347, 1838, 29915, 29873, 1993, 7790, 29876, 29908, 13, 462, 632, 376, 29934, 774, 29884, 2782, 1426, 3583, 29876, 426, 29900, 1012, 29876, 29908, 13, 462, 632, 376, 3057, 1347, 3583, 29876, 426, 29896, 29913, 1642, 4830, 29898, 2457, 287, 29918, 1220, 29892, 13, 462, 462, 462, 308, 1959, 29918, 1220, 876, 13, 13, 1678, 822, 1243, 29918, 657, 29918, 9012, 29898, 1311, 1125, 13, 4706, 9995, 5596, 1426, 3454, 526, 5149, 27387, 1213, 15945, 13, 4706, 1426, 353, 376, 3524, 403, 445, 29901, 29871, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29941, 29896, 29889, 29896, 29900, 320, 29876, 322, 445, 2086, 29901, 29871, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 29908, 13, 4706, 3454, 353, 6796, 3524, 403, 445, 29901, 29871, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29941, 29896, 29889, 29896, 29900, 9162, 376, 322, 445, 2086, 29901, 29871, 29896, 29955, 29906, 29889, 29896, 29953, 29889, 29896, 29955, 29889, 29941, 29906, 3108, 13, 4706, 1196, 29918, 27959, 353, 13812, 3032, 657, 29918, 9012, 29898, 726, 29897, 13, 4706, 7625, 29918, 1220, 29918, 1761, 353, 518, 1220, 363, 1196, 297, 1196, 29918, 27959, 29962, 13, 4706, 1583, 29889, 9294, 9843, 29898, 9012, 29892, 7625, 29918, 1220, 29918, 1761, 29897, 13, 13, 1678, 822, 1243, 29918, 2886, 29918, 26690, 29879, 29898, 1311, 1125, 13, 4706, 9995, 5399, 9815, 29879, 8393, 526, 5149, 20512, 304, 1871, 1288, 13, 4706, 6031, 29889, 13, 4706, 9995, 13, 4706, 4423, 29918, 19651, 353, 13812, 3032, 2886, 29918, 26690, 29879, 29898, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 22412, 1177, 3919, 29918, 3904, 29968, 6632, 16048, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 1285, 8946, 29918, 978, 12436, 376, 14148, 25523, 1159, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 13509, 29918, 978, 12436, 376, 5592, 475, 1159, 13, 4706, 4423, 29918, 19651, 353, 13812, 3032, 2886, 29918, 26690, 29879, 29898, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 3217, 3904, 5659, 29979, 29918, 3904, 29968, 6632, 16048, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 13509, 29918, 978, 12436, 376, 14148, 4234, 1159, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 1285, 8946, 29918, 978, 12436, 376, 15654, 1159, 13, 4706, 4423, 29918, 19651, 353, 13812, 3032, 2886, 29918, 26690, 29879, 29898, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 29907, 11937, 29918, 3904, 29968, 6632, 16048, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 12690, 29918, 978, 12436, 376, 14148, 4272, 1159, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 5066, 29899, 5426, 3108, 3366, 5066, 4279, 12436, 376, 29946, 29900, 1159, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 5066, 29899, 5426, 3108, 3366, 5426, 4279, 12436, 11663, 29946, 1159, 13, 4706, 4423, 29918, 19651, 353, 13812, 3032, 2886, 29918, 26690, 29879, 29898, 6720, 7077, 3352, 29918, 16652, 3040, 29918, 1525, 5550, 1164, 1660, 29918, 29931, 1299, 29931, 20614, 29918, 3904, 29968, 6632, 16048, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 5066, 29899, 5426, 3108, 3366, 5066, 4279, 12436, 376, 14148, 26271, 1159, 13, 4706, 1583, 29889, 9294, 9843, 29898, 5479, 29918, 19651, 3366, 5066, 29899, 5426, 3108, 3366, 5426, 4279, 12436, 376, 14148, 28745, 1159, 13, 13, 13, 1990, 4321, 4290, 6982, 29898, 348, 27958, 29889, 3057, 8259, 1125, 13, 13, 1678, 903, 21920, 29918, 517, 29918, 4172, 262, 353, 6213, 13, 1678, 903, 1025, 29918, 4172, 262, 353, 6213, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 731, 3373, 2385, 29898, 25932, 1125, 13, 4706, 1067, 29879, 3032, 21920, 29918, 517, 29918, 4172, 262, 353, 1067, 29879, 3032, 6506, 29918, 4172, 262, 580, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 903, 6506, 29918, 4172, 262, 29898, 25932, 1125, 13, 4706, 1067, 29879, 3032, 1025, 29918, 4172, 262, 353, 10876, 29889, 4172, 262, 13, 4706, 822, 903, 21920, 29918, 1807, 29898, 1807, 1125, 13, 9651, 10876, 29889, 4172, 262, 353, 12013, 29889, 1231, 5971, 29898, 1807, 29897, 13, 4706, 736, 903, 21920, 29918, 1807, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 734, 279, 6767, 2385, 29898, 25932, 1125, 13, 4706, 1067, 29879, 3032, 5060, 487, 29918, 4172, 262, 580, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 903, 5060, 487, 29918, 4172, 262, 29898, 25932, 1125, 13, 4706, 10876, 29889, 4172, 262, 353, 1067, 29879, 3032, 1025, 29918, 4172, 262, 13, 13, 1678, 822, 1243, 29918, 4290, 6982, 29898, 1311, 1125, 13, 4706, 9995, 28329, 1426, 297, 3659, 262, 322, 7252, 825, 338, 1303, 515, 727, 304, 1423, 13, 4706, 372, 338, 278, 1021, 29889, 13, 4706, 9995, 13, 4706, 1583, 17255, 1990, 1649, 3032, 21920, 29918, 517, 29918, 4172, 262, 29898, 18267, 29918, 20785, 29897, 13, 4706, 1881, 29918, 16950, 353, 13812, 29889, 4290, 6982, 580, 13, 4706, 3454, 353, 903, 949, 29918, 4172, 262, 29898, 2080, 29918, 16950, 29897, 13, 4706, 337, 16145, 29918, 726, 353, 903, 276, 7122, 29918, 9012, 29898, 9012, 29897, 13, 4706, 1583, 29889, 9294, 9843, 29898, 276, 16145, 29918, 726, 29892, 13, 462, 308, 17067, 1254, 29918, 20785, 29892, 13, 462, 308, 10191, 543, 29934, 774, 29884, 2782, 1426, 322, 1243, 1347, 1838, 29915, 29873, 1993, 7790, 29876, 29908, 13, 462, 632, 376, 29934, 774, 29884, 2782, 1426, 3583, 29876, 426, 29900, 1012, 29876, 29908, 13, 462, 632, 376, 3057, 1347, 3583, 29876, 426, 29896, 29913, 1642, 4830, 29898, 276, 16145, 29918, 726, 29892, 13, 462, 462, 462, 308, 17067, 1254, 29918, 20785, 876, 13, 13, 13, 1753, 903, 949, 29918, 4172, 262, 29898, 2080, 29918, 16950, 1125, 13, 1678, 3454, 29918, 949, 353, 313, 1220, 363, 1196, 297, 1881, 29918, 16950, 29897, 13, 1678, 736, 3454, 29918, 949, 13, 13, 13, 1753, 903, 276, 7122, 29918, 9012, 29898, 9012, 29892, 5988, 29918, 3090, 13776, 1125, 13, 1678, 337, 16145, 29918, 726, 353, 5988, 29918, 3090, 29889, 7122, 29898, 9012, 29897, 13, 1678, 736, 337, 16145, 29918, 726, 13, 2 ]
Week 1/id_165/LeetCode_283_165.py
larryRishi/algorithm004-05
1
178333
#-*- encoding: utf-8 -*- # 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 # # 示例: # # 输入: [0,1,0,3,12] # 输出: [1,3,12,0,0] # # 说明: # # # 必须在原数组上操作,不能拷贝额外的数组。 # 尽量减少操作次数。 # # Related Topics 数组 双指针 # leetcode submit region begin(Prohibit modification and deletion) # class Solution(object): # def moveZeroes(self, nums): # """ # :type nums: List[int] # :rtype: None Do not return anything, modify nums in-place instead. # """ # # j = 0 # # for idx, d in enumerate(nums): # # if d != 0: # nums[j] = nums[idx] # if j != idx: # nums[idx] = 0 # j只有在d!=0时才移动,d=0时不动,所以d其实就是指向0 # j += 1 # class Solution(object): def moveZeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ zeroCount = 0 for idx, d in enumerate(nums): if d == 0: zeroCount += 1 elif zeroCount != 0: nums[idx - zeroCount] = d nums[idx] = 0 class Solution2(object): def moveZeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ zeroP = -1 for idx , data in enumerate(nums): if data == 0 and zeroP == -1: zeroP = idx elif data != 0 and zeroP > -1: nums[zeroP] = data nums[idx] = 0 zeroP += 1 if data[zeroP] != 0: zeroP = -1 # leetcode submit region end(Prohibit modification and deletion)
[ 1, 396, 29899, 29930, 29899, 8025, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 29937, 29871, 31999, 30495, 30287, 30502, 30354, 31263, 954, 29879, 30214, 31795, 31479, 30287, 30502, 31629, 30354, 30998, 30744, 30417, 29871, 29900, 29871, 31618, 30846, 30780, 30354, 31263, 30210, 233, 159, 174, 31631, 30214, 30980, 30594, 30982, 31695, 31838, 236, 158, 185, 30824, 31605, 30210, 30990, 30783, 236, 164, 189, 31463, 30267, 13, 29937, 13, 29937, 29871, 30858, 31507, 29901, 13, 29937, 13, 29937, 29871, 31573, 30752, 29901, 518, 29900, 29892, 29896, 29892, 29900, 29892, 29941, 29892, 29896, 29906, 29962, 13, 29937, 29871, 31573, 30544, 29901, 518, 29896, 29892, 29941, 29892, 29896, 29906, 29892, 29900, 29892, 29900, 29962, 13, 29937, 13, 29937, 29871, 31639, 30592, 29901, 13, 29937, 13, 29937, 13, 29937, 29871, 31641, 236, 164, 190, 30505, 30667, 30354, 31263, 30429, 31904, 30732, 30214, 30413, 30815, 233, 142, 186, 235, 183, 160, 236, 165, 160, 31066, 30210, 30354, 31263, 30267, 13, 29937, 29871, 232, 179, 192, 31180, 232, 138, 146, 31022, 31904, 30732, 30936, 30354, 30267, 13, 29937, 13, 29937, 6376, 630, 7488, 1199, 29871, 30354, 31263, 29871, 31960, 31084, 236, 149, 139, 13, 13, 13, 29937, 454, 300, 401, 9752, 5120, 3380, 29898, 1184, 6335, 277, 21733, 322, 7374, 291, 29897, 13, 29937, 770, 24380, 29898, 3318, 1125, 13, 29937, 268, 822, 4337, 24214, 267, 29898, 1311, 29892, 954, 29879, 1125, 13, 29937, 308, 9995, 13, 29937, 308, 584, 1853, 954, 29879, 29901, 2391, 29961, 524, 29962, 13, 29937, 308, 584, 29878, 1853, 29901, 6213, 1938, 451, 736, 3099, 29892, 6623, 954, 29879, 297, 29899, 6689, 2012, 29889, 13, 29937, 308, 9995, 13, 29937, 13, 29937, 308, 432, 353, 29871, 29900, 13, 29937, 13, 29937, 308, 363, 22645, 29892, 270, 297, 26985, 29898, 1949, 29879, 1125, 13, 29937, 13, 29937, 632, 565, 270, 2804, 29871, 29900, 29901, 13, 29937, 462, 954, 29879, 29961, 29926, 29962, 353, 954, 29879, 29961, 13140, 29962, 13, 29937, 462, 565, 432, 2804, 22645, 29901, 13, 29937, 462, 268, 954, 29879, 29961, 13140, 29962, 353, 29871, 29900, 13, 29937, 462, 432, 31557, 30417, 30505, 29881, 19216, 29900, 30594, 31979, 31618, 30846, 30214, 29881, 29922, 29900, 30594, 30413, 30846, 30214, 30744, 30651, 29881, 31149, 31195, 31238, 30392, 31084, 31331, 29900, 13, 29937, 462, 432, 4619, 29871, 29896, 13, 29937, 13, 13, 13, 1990, 24380, 29898, 3318, 1125, 13, 1678, 822, 4337, 24214, 267, 29898, 1311, 29892, 954, 29879, 1125, 13, 4706, 9995, 13, 4706, 584, 1853, 954, 29879, 29901, 2391, 29961, 524, 29962, 13, 4706, 584, 29878, 1853, 29901, 6213, 1938, 451, 736, 3099, 29892, 6623, 954, 29879, 297, 29899, 6689, 2012, 29889, 13, 4706, 9995, 13, 4706, 5225, 3981, 353, 29871, 29900, 13, 13, 4706, 363, 22645, 29892, 270, 297, 26985, 29898, 1949, 29879, 1125, 13, 13, 9651, 565, 270, 1275, 29871, 29900, 29901, 13, 18884, 5225, 3981, 4619, 29871, 29896, 13, 9651, 25342, 5225, 3981, 2804, 29871, 29900, 29901, 13, 18884, 954, 29879, 29961, 13140, 448, 5225, 3981, 29962, 353, 270, 13, 18884, 954, 29879, 29961, 13140, 29962, 353, 29871, 29900, 13, 13, 13, 1990, 24380, 29906, 29898, 3318, 1125, 13, 1678, 822, 4337, 24214, 267, 29898, 1311, 29892, 954, 29879, 1125, 13, 4706, 9995, 13, 4706, 584, 1853, 954, 29879, 29901, 2391, 29961, 524, 29962, 13, 4706, 584, 29878, 1853, 29901, 6213, 1938, 451, 736, 3099, 29892, 6623, 954, 29879, 297, 29899, 6689, 2012, 29889, 13, 4706, 9995, 13, 4706, 5225, 29925, 353, 448, 29896, 13, 13, 4706, 363, 22645, 1919, 848, 297, 26985, 29898, 1949, 29879, 1125, 13, 13, 9651, 565, 848, 1275, 29871, 29900, 322, 5225, 29925, 1275, 448, 29896, 29901, 13, 18884, 5225, 29925, 353, 22645, 13, 13, 9651, 25342, 848, 2804, 29871, 29900, 322, 5225, 29925, 1405, 448, 29896, 29901, 13, 18884, 954, 29879, 29961, 9171, 29925, 29962, 353, 848, 13, 18884, 954, 29879, 29961, 13140, 29962, 353, 29871, 29900, 13, 18884, 5225, 29925, 4619, 29871, 29896, 13, 18884, 565, 848, 29961, 9171, 29925, 29962, 2804, 29871, 29900, 29901, 13, 462, 1678, 5225, 29925, 353, 448, 29896, 13, 13, 29937, 454, 300, 401, 9752, 5120, 1095, 29898, 1184, 6335, 277, 21733, 322, 7374, 291, 29897, 13, 13, 13, 2 ]
nhoods/profile_builder.py
MSLADevServGIS/NhoodProfiles
0
148602
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Neighborhood Profiler Script <NAME>; Feb-April 2016 This script uses an mxd map template to query neighborhood information, places that info into an HTML template, and finally kicks those HTML files out to PDF. This script relies on up-to-date data that is managed manually and is described in the NhoodProfile_Documentation.docx file. Simply double-click the script file to run. """ # TODO: better error handling from __future__ import print_function import os import sys from datetime import datetime from glob import glob from re import sub from time import sleep # import arcpy # -- moved due to issues with datetime, see below import pandas as pd from jinja2 import Environment, FileSystemLoader # Custom libs from tkit import cli sys.path.insert(0, r"\\cityfiles\DEVServices\WallyG\Scripts\conversion") import pdftools # noqa # Print part of the info message above print(__doc__.split("\n\n")[0]) print("\nExecuting...\n") status = cli.StatusLine() # ============================================================================= # PARAMETERS status.write("Setting parameters...") # Project directory nhood_dir = r"\\cityfiles\DEVServices\WallyG\projects\NhoodProfiles\nhoods" # Template names (MUST be saved in "templates" folder) profile_template = "profile_template.html" map_template = "nhood_template.mxd" wards_dir = os.path.join(nhood_dir, "data", "WardReps.csv") guides_dir = os.path.join(nhood_dir, "data", "GuidingDocs.xlsx") desc_dir = os.path.join(nhood_dir, "descriptions") profile_dir = os.path.join(nhood_dir, "profiles") template_dir = os.path.join(nhood_dir, "templates") _all_dirs = [nhood_dir, wards_dir, desc_dir, profile_dir, template_dir] # Testing vars OUTPUT_PDF = True # Default True OVERWRITE_PDF = False # Default False # =============== DON'T TOUCH =============== # arcpy botches up the datetime module import year = datetime.now().year import arcpy # noqa # =========================================== status.success() # ============================================================================= # FUNCTIONS def query_assets(layer_name, name_field): """Gets names of features that "INTERSECT" nhood_buffers. Args: layer_name (str): the name of the layer to be queried. name_field (str): field name of feature containing name attributes. Returns: A string of names seperated by an HTML break <br> (newline). """ arcpy.SelectLayerByLocation_management( layers[layer_name], "INTERSECT", layers["nhood_buffers"], "", "NEW_SELECTION") assets = set([n[0] for n in arcpy.da.SearchCursor(layers[layer_name], name_field)]) arcpy.SelectLayerByAttribute_management(layers[layer_name], "CLEAR_SELECTION") if None in assets: assets.remove(None) if "" in assets: assets.remove("") if not assets: return "None" assets = list(assets) assets.sort() return "<br>".join(assets) def query_nhood(field): """Queries attributes of the neighborhood feature. Args: field (str): the field name of attributes to be queried. Returns a string-ified list. """ return str([row[0] for row in arcpy.da.SearchCursor(layers["Nhoods"], field)][0]) def get_trail_mi(): """Queries the trail miles within a neighborhood. Manually pre-process trail data: 1) Get trails from City of Missoula Parks 2) Run intersect on the 'trails' and 'nhoods' with the output 'Line' 3) Add that output data to the database and map template 4) Re-calculate trail length in Miles """ arcpy.SelectLayerByLocation_management( layers["Trails"], "WITHIN", layers["Nhoods"], "", "NEW_SELECTION") mi = round(sum([float(row[0]) for row in arcpy.da.SearchCursor(layers["Trails"], "trail_miles")]), 1) arcpy.SelectLayerByAttribute_management(layers["Trails"], "CLEAR_SELECTION") return mi def get_guidedocs(nhood_name): """Looks for neighborhood names in the open GuideDocs spreadsheet.""" # Format for linking the plan name to the plan document on the web url = '<a href="{1}" title="{0}">{0}</a>' ndocs = [] for doc, nhoods in guide_docs.iteritems(): if nhood_name in list(nhoods): if urls[doc] is not pd.np.nan: ndocs.append(url.format(doc, urls[doc])) else: ndocs.append(doc) if not ndocs: return "None" return "<br>".join(ndocs) def get_population(): """Queries the census block population within the neighborhood.""" arcpy.SelectLayerByLocation_management( layers["Blocks"], "HAVE_THEIR_CENTER_IN", layers["Nhoods"], "", "NEW_SELECTION") pop = int(sum([float(row[0]) for row in arcpy.da.SearchCursor(layers["Blocks"], "TOTAL_POP.D001")])) arcpy.SelectLayerByAttribute_management(layers["Blocks"], "CLEAR_SELECTION") return pop def get_new_population(): """Queries permit_blocks layer (population form permit data).""" arcpy.SelectLayerByLocation_management( layers["permit_blocks"], "HAVE_THEIR_CENTER_IN", layers["Nhoods"], "", "NEW_SELECTION") new_pop = int(sum([float(row[0]) for row in arcpy.da.SearchCursor(layers["permit_blocks"], "new_pop")])) arcpy.SelectLayerByAttribute_management(layers["permit_blocks"], "CLEAR_SELECTION") return new_pop def sum_field(layer_name, field_name): """Sums a field.""" arcpy.SelectLayerByLocation_management( layers[layer_name], "HAVE_THEIR_CENTER_IN", layers["Nhoods"], "", "NEW_SELECTION") field_sum = sum([float(row[0]) for row in arcpy.da.SearchCursor(layers[layer_name], field_name)]) arcpy.SelectLayerByAttribute_management(layers[layer_name], "CLEAR_SELECTION") return field_sum def clean_name(n): """Removes characters from neighborhood names.""" return sub("&|/", "", n.replace(" ", "_")) def get_desc(nhood_name): """Gets the neighborhood extent description from the nhood's text file. Args: nhood_name (str): the name of the neighborhood. Returns the nhood's description. """ txt_file = clean_name(nhood_name) + ".txt" desc_file = os.path.join(desc_dir, txt_file) if not os.path.exists(desc_file): return "None" with open(desc_file, "r") as f: desc = f.readline() return desc def get_reps(nhood): """Queries the WardReps.csv file for the Ward(s) and Reps for each nhood. """ wards = [] reps = pd.read_csv(wards_dir).to_dict() for key, value in reps.items(): if nhood in value.values(): wards.append(key) wards.sort() return "<br>".join(wards) def get_data(nhood_name): """Runs all queries for a single neighborhood by name. Returns dict. Args: nhood_name (str): neighborhood name. Returns dictionary of data collected from queries. """ data = {} data["neighborhood_name"] = nhood_name arcpy.SelectLayerByAttribute_management( layers["Nhoods"], "NEW_SELECTION", "Name = '{}'".format(nhood_name)) arcpy.SelectLayerByAttribute_management( layers["nhood_buffers"], "NEW_SELECTION", "Name = '{}'".format(nhood_name)) data["loc_desc"] = get_desc(nhood_name) data["date_est"] = query_nhood("Year_Created") data["area"] = round(float(query_nhood("Acres")), 1) data["council_reps"] = get_reps(nhood_name) data["parks"] = query_assets("ParksAndCommons", "Name") data["park_acres"] = round(sum_field("ParksAndCommons", "Acres"), 1) data["trail_mi"] = get_trail_mi() data["pub_fac"] = query_assets("PublicFacilities", "FACILITY_NAME") data["schools"] = query_assets("Schools", "School") data["groceries"] = query_assets("SuperMarkets", "STORE_NAME") data["hist_res"] = query_assets("HistoricSites", "Name") data["current_year"] = year data["pop10"] = get_population() data["pop_current"] = get_new_population() + data["pop10"] # NEW data["house10"] = sum_field("ORION_2014", "LIVUNITS") # 2014 data["house_current"] = data["house10"] + sum_field("permit_blocks", "dwellings") data["new_dev"] = "PENDING" # TODO: data["guide_docs"] = get_guidedocs(nhood_name) return data def make_profile(data): """Converts dict of queried data to HTML and outputs an HTML profile. Args: data (dict): dictionary of data collected in queries. Returns None. """ html_out = template.render(data) outfile = os.path.join(profile_dir, clean_name(data["neighborhood_name"]) + ".html") with open(outfile, "wb") as f: f.write(html_out) return # ============================================================================= # RUN IT if __name__ == '__main__': # Check that directories exist status.write("Checking environments...") try: if not all([os.path.exists(_dir) for _dir in _all_dirs]): raise IOError("Directory does not exist: {}".format(_dir)) # Prevent any possibility of overwriting the PDFs if glob(os.path.join(profile_dir, "*.pdf")) and not OVERWRITE_PDF: raise IOError("PDF Overwrite Disabled") sleep(1) status.success() except IOError as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # Load HTML and Map templates status.write("Loading templates...") try: # Set working directory to "templating" folder os.chdir(template_dir) # Set working directory / jinja2 environment env = Environment(loader=FileSystemLoader(template_dir)) # Open template html template file template = env.get_template(profile_template) # Map (.mxd) and dataframe data mxd = arcpy.mapping.MapDocument(map_template) df = arcpy.mapping.ListDataFrames(mxd)[0] status.success() except Exception as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # Make dictionary of layers in mxd template status.write("Loading map layers...") try: layers = {layer.name: layer for layer in arcpy.mapping.ListLayers(df)} status.success() except Exception as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # List neighborhood names status.write("Loading neighborhood names...") try: nhood_names = [n[0] for n in arcpy.da.SearchCursor(layers["Nhoods"], "NAME")] status.success() except Exception as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # Load misc data status.write("Loading other datasets...") try: guide_docs = pd.read_excel(guides_dir, sheetname="Main") links = pd.read_excel(guides_dir, "PlanList") urls = {v[0]: v[2] for k, v in links.iterrows()} status.success() except Exception as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # Make profiles status.write("Beginning profile generation...") try: # List comprehension to make all profiles [make_profile(get_data(nhood)) for nhood in set(nhood_names)] status.success() except Exception as e: status.failure() print(cli.GetError(wait=True)) raw_input() sys.exit(1) # Convert all HTML profiles into PDFs if OUTPUT_PDF: status.write("Exporting to pdf...") try: # Convert all profiles to PDF # TODO: Change? [pdftools.to_pdf(os.path.join(profile_dir, f)) for f in os.listdir(profile_dir)] status.success() except Exception as e: status.failure() raw_input(e.message) #cli.GetError(wait=True) sys.exit(1) # TODO: push pdfs & html files to separate folders on FTP print("\n") status.custom("Complete.", "cyan", wait=True)
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 8139, 1141, 4089, 6614, 23202, 261, 14415, 13, 29966, 5813, 25867, 26319, 29899, 29909, 3193, 29871, 29906, 29900, 29896, 29953, 13, 13, 4013, 2471, 3913, 385, 286, 29916, 29881, 2910, 4472, 304, 2346, 18403, 2472, 29892, 7600, 13, 5747, 5235, 964, 385, 4544, 4472, 29892, 322, 7146, 413, 7358, 1906, 4544, 2066, 714, 304, 11328, 29889, 13, 13, 4013, 2471, 337, 3687, 373, 701, 29899, 517, 29899, 1256, 848, 393, 338, 8745, 7522, 13, 392, 338, 5439, 297, 278, 405, 6614, 13909, 29918, 6268, 362, 29889, 1514, 29916, 934, 29889, 13, 13, 29903, 6574, 368, 3765, 29899, 3808, 278, 2471, 934, 304, 1065, 29889, 13, 15945, 29908, 13, 13, 29937, 14402, 29901, 2253, 1059, 11415, 13, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 13, 5215, 2897, 13, 5215, 10876, 13, 3166, 12865, 1053, 12865, 13, 3166, 13149, 1053, 13149, 13, 3166, 337, 1053, 1014, 13, 3166, 931, 1053, 8709, 13, 13, 29937, 1053, 15232, 2272, 396, 1192, 6153, 2861, 304, 5626, 411, 12865, 29892, 1074, 2400, 13, 5215, 11701, 408, 10518, 13, 3166, 432, 262, 1764, 29906, 1053, 16738, 29892, 3497, 3924, 10036, 13, 13, 29937, 8701, 4303, 29879, 13, 3166, 260, 7354, 1053, 9335, 13, 9675, 29889, 2084, 29889, 7851, 29898, 29900, 29892, 364, 29908, 1966, 12690, 5325, 29905, 2287, 29963, 13779, 29905, 29956, 635, 29954, 29905, 4081, 29879, 29905, 535, 3259, 1159, 13, 5215, 13552, 8504, 29871, 396, 694, 25621, 13, 13, 13, 29937, 13905, 760, 310, 278, 5235, 2643, 2038, 13, 2158, 22168, 1514, 26914, 5451, 14182, 29876, 29905, 29876, 1159, 29961, 29900, 2314, 13, 2158, 14182, 29876, 5379, 17068, 856, 29905, 29876, 1159, 13, 13, 4882, 353, 9335, 29889, 5709, 3542, 580, 13, 13, 13, 29937, 1275, 9166, 9166, 9166, 9166, 4936, 25512, 13, 29937, 349, 1718, 25797, 4945, 29903, 13, 13, 4882, 29889, 3539, 703, 29020, 4128, 856, 1159, 13, 13, 29937, 8010, 3884, 13, 29876, 6614, 29918, 3972, 353, 364, 29908, 1966, 12690, 5325, 29905, 2287, 29963, 13779, 29905, 29956, 635, 29954, 29905, 16418, 29905, 29940, 6614, 1184, 5325, 29905, 29876, 6614, 29879, 29908, 13, 13, 29937, 25663, 2983, 313, 29924, 17321, 367, 7160, 297, 376, 20943, 29908, 4138, 29897, 13, 10185, 29918, 6886, 353, 376, 10185, 29918, 6886, 29889, 1420, 29908, 13, 1958, 29918, 6886, 353, 376, 29876, 6614, 29918, 6886, 29889, 16838, 29881, 29908, 13, 13, 2935, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 29876, 6614, 29918, 3972, 29892, 376, 1272, 613, 376, 29956, 538, 1123, 567, 29889, 7638, 1159, 13, 2543, 2247, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 29876, 6614, 29918, 3972, 29892, 376, 1272, 613, 376, 9485, 4821, 29928, 12332, 29889, 20267, 29916, 1159, 13, 14273, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 29876, 6614, 29918, 3972, 29892, 376, 2783, 699, 1980, 1159, 13, 10185, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 29876, 6614, 29918, 3972, 29892, 376, 771, 5325, 1159, 13, 6886, 29918, 3972, 353, 2897, 29889, 2084, 29889, 7122, 29898, 29876, 6614, 29918, 3972, 29892, 376, 20943, 1159, 13, 13, 29918, 497, 29918, 3972, 29879, 353, 518, 29876, 6614, 29918, 3972, 29892, 281, 3163, 29918, 3972, 29892, 5153, 29918, 3972, 29892, 8722, 29918, 3972, 29892, 4472, 29918, 3972, 29962, 13, 13, 13, 29937, 4321, 292, 24987, 13, 12015, 12336, 29918, 8493, 353, 5852, 29871, 396, 13109, 5852, 13, 29949, 5348, 16365, 29918, 8493, 353, 7700, 29871, 396, 13109, 7700, 13, 13, 29937, 1275, 4936, 2751, 29922, 360, 1164, 29915, 29911, 7495, 29965, 3210, 1275, 4936, 2751, 29922, 13, 29937, 15232, 2272, 9225, 6609, 701, 278, 12865, 3883, 1053, 13, 6360, 353, 12865, 29889, 3707, 2141, 6360, 13, 5215, 15232, 2272, 29871, 396, 694, 25621, 13, 29937, 1275, 9166, 9166, 4936, 29922, 13, 13, 4882, 29889, 8698, 580, 13, 13, 13, 29937, 1275, 9166, 9166, 9166, 9166, 4936, 25512, 13, 29937, 383, 28700, 29903, 13, 13, 13, 1753, 2346, 29918, 16596, 29898, 13148, 29918, 978, 29892, 1024, 29918, 2671, 1125, 13, 1678, 9995, 29954, 1691, 2983, 310, 5680, 393, 376, 23845, 1660, 1783, 29908, 302, 6614, 29918, 28040, 414, 29889, 13, 13, 1678, 826, 3174, 29901, 13, 4706, 7546, 29918, 978, 313, 710, 1125, 278, 1024, 310, 278, 7546, 304, 367, 22320, 1000, 29889, 13, 4706, 1024, 29918, 2671, 313, 710, 1125, 1746, 1024, 310, 4682, 6943, 1024, 8393, 29889, 13, 1678, 16969, 29901, 13, 4706, 319, 1347, 310, 2983, 409, 546, 630, 491, 385, 4544, 2867, 529, 1182, 29958, 313, 1482, 1220, 467, 13, 1678, 9995, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6508, 29918, 21895, 29898, 13, 4706, 15359, 29961, 13148, 29918, 978, 1402, 376, 23845, 1660, 1783, 613, 15359, 3366, 29876, 6614, 29918, 28040, 414, 12436, 12633, 13, 4706, 376, 28577, 29918, 6404, 2725, 1159, 13, 1678, 21608, 353, 731, 4197, 29876, 29961, 29900, 29962, 363, 302, 297, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 29961, 13148, 29918, 978, 1402, 13, 462, 29871, 1024, 29918, 2671, 29897, 2314, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 29277, 29961, 13148, 29918, 978, 1402, 13, 462, 462, 9651, 376, 29907, 1307, 1718, 29918, 6404, 2725, 1159, 13, 1678, 565, 6213, 297, 21608, 29901, 13, 4706, 21608, 29889, 5992, 29898, 8516, 29897, 13, 1678, 565, 5124, 297, 21608, 29901, 13, 4706, 21608, 29889, 5992, 703, 1159, 13, 1678, 565, 451, 21608, 29901, 13, 4706, 736, 376, 8516, 29908, 13, 1678, 21608, 353, 1051, 29898, 16596, 29897, 13, 1678, 21608, 29889, 6605, 580, 13, 1678, 736, 9872, 1182, 29958, 1642, 7122, 29898, 16596, 29897, 13, 13, 13, 1753, 2346, 29918, 29876, 6614, 29898, 2671, 1125, 13, 1678, 9995, 2182, 6358, 8393, 310, 278, 18403, 4682, 29889, 13, 13, 4706, 826, 3174, 29901, 13, 9651, 1746, 313, 710, 1125, 278, 1746, 1024, 310, 8393, 304, 367, 22320, 1000, 29889, 13, 4706, 16969, 263, 1347, 29899, 2164, 1051, 29889, 13, 1678, 9995, 13, 1678, 736, 851, 4197, 798, 29961, 29900, 29962, 363, 1948, 297, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 3366, 29940, 6614, 29879, 12436, 13, 18884, 1746, 29897, 3816, 29900, 2314, 13, 13, 13, 1753, 679, 29918, 3018, 309, 29918, 2460, 7295, 13, 1678, 9995, 2182, 6358, 278, 26203, 7800, 2629, 263, 18403, 29889, 13, 13, 1678, 2315, 1474, 758, 29899, 5014, 26203, 848, 29901, 13, 268, 29896, 29897, 3617, 1020, 2719, 515, 4412, 310, 4750, 283, 433, 4815, 29879, 13, 268, 29906, 29897, 7525, 25869, 373, 278, 525, 3018, 2719, 29915, 322, 525, 29876, 6614, 29879, 29915, 411, 278, 1962, 525, 3542, 29915, 13, 268, 29941, 29897, 3462, 393, 1962, 848, 304, 278, 2566, 322, 2910, 4472, 13, 268, 29946, 29897, 830, 29899, 15807, 403, 26203, 3309, 297, 3833, 267, 13, 1678, 9995, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6508, 29918, 21895, 29898, 13, 4706, 15359, 3366, 5323, 2719, 12436, 376, 29956, 13054, 1177, 613, 15359, 3366, 29940, 6614, 29879, 12436, 12633, 376, 28577, 29918, 6404, 2725, 1159, 13, 1678, 3737, 353, 4513, 29898, 2083, 4197, 7411, 29898, 798, 29961, 29900, 2314, 363, 1948, 297, 13, 462, 1678, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 3366, 5323, 2719, 12436, 13, 462, 462, 3986, 376, 3018, 309, 29918, 29885, 5475, 1159, 11724, 29871, 29896, 29897, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 29277, 3366, 5323, 2719, 12436, 13, 462, 462, 9651, 376, 29907, 1307, 1718, 29918, 6404, 2725, 1159, 13, 1678, 736, 3737, 13, 13, 13, 1753, 679, 29918, 2543, 2618, 12332, 29898, 29876, 6614, 29918, 978, 1125, 13, 1678, 9995, 14959, 29879, 363, 18403, 2983, 297, 278, 1722, 16886, 29928, 12332, 9677, 9855, 1213, 15945, 13, 1678, 396, 19191, 363, 25236, 278, 3814, 1024, 304, 278, 3814, 1842, 373, 278, 1856, 13, 1678, 3142, 353, 12801, 29874, 2822, 10724, 29896, 5038, 3611, 10724, 29900, 29913, 1013, 29912, 29900, 16040, 29874, 16299, 13, 268, 299, 12332, 353, 5159, 13, 1678, 363, 1574, 29892, 302, 6614, 29879, 297, 10754, 29918, 2640, 29889, 1524, 7076, 7295, 13, 4706, 565, 302, 6614, 29918, 978, 297, 1051, 29898, 29876, 6614, 29879, 1125, 13, 9651, 565, 23942, 29961, 1514, 29962, 338, 451, 10518, 29889, 9302, 29889, 13707, 29901, 13, 462, 299, 12332, 29889, 4397, 29898, 2271, 29889, 4830, 29898, 1514, 29892, 23942, 29961, 1514, 12622, 13, 9651, 1683, 29901, 13, 462, 299, 12332, 29889, 4397, 29898, 1514, 29897, 13, 1678, 565, 451, 29871, 299, 12332, 29901, 13, 4706, 736, 376, 8516, 29908, 13, 1678, 736, 9872, 1182, 29958, 1642, 7122, 29898, 299, 12332, 29897, 13, 13, 13, 1753, 679, 29918, 7323, 2785, 7295, 13, 1678, 9995, 2182, 6358, 278, 16411, 2908, 4665, 2629, 278, 18403, 1213, 15945, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6508, 29918, 21895, 29898, 13, 4706, 15359, 3366, 7445, 29879, 12436, 376, 29950, 7520, 29923, 29918, 28350, 8193, 29918, 29907, 3919, 1001, 29918, 1177, 613, 13, 4706, 15359, 3366, 29940, 6614, 29879, 12436, 12633, 376, 28577, 29918, 6404, 2725, 1159, 13, 1678, 1835, 353, 938, 29898, 2083, 4197, 7411, 29898, 798, 29961, 29900, 2314, 363, 1948, 297, 13, 462, 259, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 3366, 7445, 29879, 12436, 376, 29911, 2891, 1964, 29918, 29925, 4590, 29889, 29928, 29900, 29900, 29896, 1159, 12622, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 29277, 3366, 7445, 29879, 12436, 13, 462, 462, 9651, 376, 29907, 1307, 1718, 29918, 6404, 2725, 1159, 13, 1678, 736, 1835, 13, 13, 13, 1753, 679, 29918, 1482, 29918, 7323, 2785, 7295, 13, 1678, 9995, 2182, 6358, 14257, 29918, 1271, 29879, 7546, 313, 7323, 2785, 883, 14257, 848, 467, 15945, 29908, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6508, 29918, 21895, 29898, 13, 4706, 15359, 3366, 546, 2415, 29918, 1271, 29879, 12436, 376, 29950, 7520, 29923, 29918, 28350, 8193, 29918, 29907, 3919, 1001, 29918, 1177, 613, 13, 4706, 15359, 3366, 29940, 6614, 29879, 12436, 12633, 376, 28577, 29918, 6404, 2725, 1159, 13, 1678, 716, 29918, 7323, 353, 938, 29898, 2083, 4197, 7411, 29898, 798, 29961, 29900, 2314, 363, 1948, 297, 13, 462, 29871, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 3366, 546, 2415, 29918, 1271, 29879, 12436, 376, 1482, 29918, 7323, 1159, 12622, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 29277, 3366, 546, 2415, 29918, 1271, 29879, 12436, 13, 462, 462, 9651, 376, 29907, 1307, 1718, 29918, 6404, 2725, 1159, 13, 1678, 736, 716, 29918, 7323, 13, 13, 13, 1753, 2533, 29918, 2671, 29898, 13148, 29918, 978, 29892, 1746, 29918, 978, 1125, 13, 1678, 9995, 29903, 6762, 263, 1746, 1213, 15945, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6508, 29918, 21895, 29898, 13, 4706, 15359, 29961, 13148, 29918, 978, 1402, 376, 29950, 7520, 29923, 29918, 28350, 8193, 29918, 29907, 3919, 1001, 29918, 1177, 613, 13, 4706, 15359, 3366, 29940, 6614, 29879, 12436, 12633, 376, 28577, 29918, 6404, 2725, 1159, 13, 1678, 1746, 29918, 2083, 353, 2533, 4197, 7411, 29898, 798, 29961, 29900, 2314, 363, 1948, 297, 13, 462, 268, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 29961, 13148, 29918, 978, 1402, 1746, 29918, 978, 29897, 2314, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 29277, 29961, 13148, 29918, 978, 1402, 13, 462, 462, 9651, 376, 29907, 1307, 1718, 29918, 6404, 2725, 1159, 13, 1678, 736, 1746, 29918, 2083, 13, 13, 13, 1753, 5941, 29918, 978, 29898, 29876, 1125, 13, 1678, 9995, 7301, 586, 267, 4890, 515, 18403, 2983, 1213, 15945, 13, 1678, 736, 1014, 703, 29987, 29989, 29914, 613, 12633, 302, 29889, 6506, 703, 9162, 11119, 5783, 13, 13, 13, 1753, 679, 29918, 14273, 29898, 29876, 6614, 29918, 978, 1125, 13, 1678, 9995, 29954, 1691, 278, 18403, 15834, 6139, 515, 278, 302, 6614, 29915, 29879, 1426, 934, 29889, 13, 13, 4706, 826, 3174, 29901, 13, 9651, 302, 6614, 29918, 978, 313, 710, 1125, 278, 1024, 310, 278, 18403, 29889, 13, 4706, 16969, 278, 302, 6614, 29915, 29879, 6139, 29889, 13, 1678, 9995, 13, 1678, 13872, 29918, 1445, 353, 5941, 29918, 978, 29898, 29876, 6614, 29918, 978, 29897, 718, 11393, 3945, 29908, 13, 1678, 5153, 29918, 1445, 353, 2897, 29889, 2084, 29889, 7122, 29898, 14273, 29918, 3972, 29892, 13872, 29918, 1445, 29897, 13, 1678, 565, 451, 2897, 29889, 2084, 29889, 9933, 29898, 14273, 29918, 1445, 1125, 13, 4706, 736, 376, 8516, 29908, 13, 1678, 411, 1722, 29898, 14273, 29918, 1445, 29892, 376, 29878, 1159, 408, 285, 29901, 13, 4706, 5153, 353, 285, 29889, 949, 1220, 580, 13, 1678, 736, 5153, 13, 13, 13, 1753, 679, 29918, 276, 567, 29898, 29876, 6614, 1125, 13, 1678, 9995, 2182, 6358, 278, 21910, 1123, 567, 29889, 7638, 934, 363, 278, 21910, 29898, 29879, 29897, 322, 830, 567, 363, 1269, 302, 6614, 29889, 13, 1678, 9995, 13, 1678, 281, 3163, 353, 5159, 13, 1678, 337, 567, 353, 10518, 29889, 949, 29918, 7638, 29898, 2935, 29918, 3972, 467, 517, 29918, 8977, 580, 13, 1678, 363, 1820, 29892, 995, 297, 337, 567, 29889, 7076, 7295, 13, 4706, 565, 302, 6614, 297, 995, 29889, 5975, 7295, 13, 9651, 281, 3163, 29889, 4397, 29898, 1989, 29897, 13, 1678, 281, 3163, 29889, 6605, 580, 13, 1678, 736, 9872, 1182, 29958, 1642, 7122, 29898, 2935, 29897, 13, 13, 13, 1753, 679, 29918, 1272, 29898, 29876, 6614, 29918, 978, 1125, 13, 1678, 9995, 6558, 29879, 599, 9365, 363, 263, 2323, 18403, 491, 1024, 29889, 16969, 9657, 29889, 13, 13, 4706, 826, 3174, 29901, 13, 9651, 302, 6614, 29918, 978, 313, 710, 1125, 18403, 1024, 29889, 13, 4706, 16969, 8600, 310, 848, 16531, 515, 9365, 29889, 13, 1678, 9995, 13, 1678, 848, 353, 6571, 13, 1678, 848, 3366, 484, 1141, 4089, 6614, 29918, 978, 3108, 353, 302, 6614, 29918, 978, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 13, 4706, 15359, 3366, 29940, 6614, 29879, 12436, 13, 4706, 376, 28577, 29918, 6404, 2725, 613, 13, 4706, 376, 1170, 353, 525, 8875, 29915, 1642, 4830, 29898, 29876, 6614, 29918, 978, 876, 13, 1678, 15232, 2272, 29889, 3549, 14420, 2059, 6708, 29918, 21895, 29898, 13, 4706, 15359, 3366, 29876, 6614, 29918, 28040, 414, 12436, 13, 4706, 376, 28577, 29918, 6404, 2725, 613, 13, 4706, 376, 1170, 353, 525, 8875, 29915, 1642, 4830, 29898, 29876, 6614, 29918, 978, 876, 13, 1678, 848, 3366, 2029, 29918, 14273, 3108, 353, 679, 29918, 14273, 29898, 29876, 6614, 29918, 978, 29897, 13, 1678, 848, 3366, 1256, 29918, 342, 3108, 353, 2346, 29918, 29876, 6614, 703, 12883, 29918, 20399, 1159, 13, 1678, 848, 3366, 6203, 3108, 353, 4513, 29898, 7411, 29898, 1972, 29918, 29876, 6614, 703, 10644, 690, 1159, 511, 29871, 29896, 29897, 13, 1678, 848, 3366, 29883, 1309, 5553, 29918, 276, 567, 3108, 353, 679, 29918, 276, 567, 29898, 29876, 6614, 29918, 978, 29897, 13, 1678, 848, 3366, 862, 2039, 3108, 353, 2346, 29918, 16596, 703, 29925, 17862, 2855, 5261, 787, 613, 376, 1170, 1159, 13, 1678, 848, 3366, 6378, 29918, 562, 690, 3108, 353, 4513, 29898, 2083, 29918, 2671, 703, 29925, 17862, 2855, 5261, 787, 613, 376, 10644, 690, 4968, 29871, 29896, 29897, 13, 1678, 848, 3366, 3018, 309, 29918, 2460, 3108, 353, 679, 29918, 3018, 309, 29918, 2460, 580, 13, 1678, 848, 3366, 5467, 29918, 17470, 3108, 353, 2346, 29918, 16596, 703, 19858, 29943, 562, 9770, 613, 376, 29943, 2477, 6227, 11937, 29918, 5813, 1159, 13, 1678, 848, 3366, 816, 8789, 3108, 353, 2346, 29918, 16596, 703, 4504, 8789, 613, 376, 4504, 1507, 1159, 13, 1678, 848, 3366, 17170, 2265, 583, 3108, 353, 2346, 29918, 16596, 703, 19111, 9802, 1691, 613, 376, 1254, 29949, 1525, 29918, 5813, 1159, 13, 1678, 848, 3366, 29882, 391, 29918, 690, 3108, 353, 2346, 29918, 16596, 703, 29950, 2118, 293, 29903, 3246, 613, 376, 1170, 1159, 13, 1678, 848, 3366, 3784, 29918, 6360, 3108, 353, 1629, 13, 1678, 848, 3366, 7323, 29896, 29900, 3108, 353, 679, 29918, 7323, 2785, 580, 13, 1678, 848, 3366, 7323, 29918, 3784, 3108, 353, 679, 29918, 1482, 29918, 7323, 2785, 580, 718, 848, 3366, 7323, 29896, 29900, 3108, 29871, 396, 29091, 13, 1678, 848, 3366, 8697, 29896, 29900, 3108, 353, 2533, 29918, 2671, 703, 1955, 2725, 29918, 29906, 29900, 29896, 29946, 613, 376, 5265, 29963, 3904, 1806, 29903, 1159, 29871, 396, 29871, 29906, 29900, 29896, 29946, 13, 1678, 848, 3366, 8697, 29918, 3784, 3108, 353, 848, 3366, 8697, 29896, 29900, 3108, 718, 2533, 29918, 2671, 703, 546, 2415, 29918, 1271, 29879, 613, 376, 29881, 5872, 886, 1159, 13, 1678, 848, 3366, 1482, 29918, 3359, 3108, 353, 376, 29925, 11794, 4214, 29908, 29871, 396, 14402, 29901, 13, 1678, 848, 3366, 13075, 29918, 2640, 3108, 353, 679, 29918, 2543, 2618, 12332, 29898, 29876, 6614, 29918, 978, 29897, 13, 1678, 736, 848, 13, 13, 13, 1753, 1207, 29918, 10185, 29898, 1272, 1125, 13, 1678, 9995, 1168, 369, 1372, 9657, 310, 22320, 1000, 848, 304, 4544, 322, 14391, 385, 4544, 8722, 29889, 13, 13, 4706, 826, 3174, 29901, 13, 9651, 848, 313, 8977, 1125, 8600, 310, 848, 16531, 297, 9365, 29889, 13, 4706, 16969, 6213, 29889, 13, 1678, 9995, 13, 1678, 3472, 29918, 449, 353, 4472, 29889, 9482, 29898, 1272, 29897, 13, 1678, 714, 1445, 353, 2897, 29889, 2084, 29889, 7122, 29898, 10185, 29918, 3972, 29892, 13, 462, 965, 5941, 29918, 978, 29898, 1272, 3366, 484, 1141, 4089, 6614, 29918, 978, 20068, 718, 11393, 1420, 1159, 13, 1678, 411, 1722, 29898, 449, 1445, 29892, 376, 29893, 29890, 1159, 408, 285, 29901, 13, 4706, 285, 29889, 3539, 29898, 1420, 29918, 449, 29897, 13, 1678, 736, 13, 13, 13, 29937, 1275, 9166, 9166, 9166, 9166, 4936, 25512, 13, 29937, 27694, 13315, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 396, 5399, 393, 17525, 1863, 13, 1678, 4660, 29889, 3539, 703, 5596, 292, 23136, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 565, 451, 599, 4197, 359, 29889, 2084, 29889, 9933, 7373, 3972, 29897, 363, 903, 3972, 297, 903, 497, 29918, 3972, 29879, 29962, 1125, 13, 9651, 12020, 10663, 2392, 703, 9882, 947, 451, 1863, 29901, 6571, 1642, 4830, 7373, 3972, 876, 13, 9651, 396, 4721, 794, 738, 13331, 310, 975, 16554, 278, 11328, 29879, 13, 4706, 565, 13149, 29898, 359, 29889, 2084, 29889, 7122, 29898, 10185, 29918, 3972, 29892, 376, 10521, 5140, 5783, 322, 451, 438, 5348, 16365, 29918, 8493, 29901, 13, 9651, 12020, 10663, 2392, 703, 8493, 6811, 3539, 3295, 3606, 1159, 13, 4706, 8709, 29898, 29896, 29897, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 10663, 2392, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 16012, 4544, 322, 7315, 17475, 13, 1678, 4660, 29889, 3539, 703, 23456, 17475, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 396, 3789, 1985, 3884, 304, 376, 1356, 572, 1218, 29908, 4138, 13, 4706, 2897, 29889, 305, 3972, 29898, 6886, 29918, 3972, 29897, 13, 13, 4706, 396, 3789, 1985, 3884, 847, 432, 262, 1764, 29906, 5177, 13, 4706, 8829, 353, 16738, 29898, 12657, 29922, 2283, 3924, 10036, 29898, 6886, 29918, 3972, 876, 13, 13, 4706, 396, 4673, 4472, 3472, 4472, 934, 13, 4706, 4472, 353, 8829, 29889, 657, 29918, 6886, 29898, 10185, 29918, 6886, 29897, 13, 13, 4706, 396, 7315, 14544, 16838, 29881, 29897, 322, 12205, 848, 13, 4706, 286, 29916, 29881, 353, 15232, 2272, 29889, 20698, 29889, 3388, 6268, 29898, 1958, 29918, 6886, 29897, 13, 4706, 4489, 353, 15232, 2272, 29889, 20698, 29889, 1293, 1469, 14438, 1280, 29898, 16838, 29881, 9601, 29900, 29962, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 8960, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 8561, 8600, 310, 15359, 297, 286, 29916, 29881, 4472, 13, 1678, 4660, 29889, 3539, 703, 23456, 2910, 15359, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 15359, 353, 426, 13148, 29889, 978, 29901, 7546, 363, 7546, 297, 15232, 2272, 29889, 20698, 29889, 1293, 29931, 388, 414, 29898, 2176, 2915, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 8960, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 2391, 18403, 2983, 13, 1678, 4660, 29889, 3539, 703, 23456, 18403, 2983, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 302, 6614, 29918, 7039, 353, 518, 29876, 29961, 29900, 29962, 363, 302, 297, 15232, 2272, 29889, 1388, 29889, 7974, 19890, 29898, 29277, 3366, 29940, 6614, 29879, 12436, 13, 462, 462, 462, 965, 376, 5813, 13531, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 8960, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 16012, 3984, 29883, 848, 13, 1678, 4660, 29889, 3539, 703, 23456, 916, 20035, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 10754, 29918, 2640, 353, 10518, 29889, 949, 29918, 24633, 29898, 2543, 2247, 29918, 3972, 29892, 9869, 978, 543, 6330, 1159, 13, 4706, 2988, 353, 10518, 29889, 949, 29918, 24633, 29898, 2543, 2247, 29918, 3972, 29892, 376, 20334, 1293, 1159, 13, 4706, 23942, 353, 426, 29894, 29961, 29900, 5387, 325, 29961, 29906, 29962, 363, 413, 29892, 325, 297, 2988, 29889, 1524, 5727, 28296, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 8960, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 8561, 28723, 13, 1678, 4660, 29889, 3539, 703, 17946, 1076, 8722, 12623, 856, 1159, 13, 1678, 1018, 29901, 13, 4706, 396, 2391, 15171, 2673, 304, 1207, 599, 28723, 13, 4706, 518, 5675, 29918, 10185, 29898, 657, 29918, 1272, 29898, 29876, 6614, 876, 363, 302, 6614, 297, 731, 29898, 29876, 6614, 29918, 7039, 4638, 13, 4706, 4660, 29889, 8698, 580, 13, 1678, 5174, 8960, 408, 321, 29901, 13, 4706, 4660, 29889, 14057, 545, 580, 13, 4706, 1596, 29898, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 876, 13, 4706, 10650, 29918, 2080, 580, 13, 4706, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 14806, 599, 4544, 28723, 964, 11328, 29879, 13, 1678, 565, 19474, 12336, 29918, 8493, 29901, 13, 4706, 4660, 29889, 3539, 703, 26382, 292, 304, 13552, 856, 1159, 13, 4706, 1018, 29901, 13, 9651, 396, 14806, 599, 28723, 304, 11328, 29871, 396, 14402, 29901, 10726, 29973, 13, 9651, 518, 5140, 8504, 29889, 517, 29918, 5140, 29898, 359, 29889, 2084, 29889, 7122, 29898, 10185, 29918, 3972, 29892, 285, 876, 363, 285, 297, 13, 632, 2897, 29889, 1761, 3972, 29898, 10185, 29918, 3972, 4638, 13, 9651, 4660, 29889, 8698, 580, 13, 4706, 5174, 8960, 408, 321, 29901, 13, 9651, 4660, 29889, 14057, 545, 580, 13, 9651, 10650, 29918, 2080, 29898, 29872, 29889, 4906, 29897, 29871, 396, 11303, 29889, 2577, 2392, 29898, 10685, 29922, 5574, 29897, 13, 9651, 10876, 29889, 13322, 29898, 29896, 29897, 13, 13, 1678, 396, 14402, 29901, 5503, 13552, 29879, 669, 3472, 2066, 304, 5004, 16495, 373, 383, 3557, 13, 13, 1678, 1596, 14182, 29876, 1159, 13, 1678, 4660, 29889, 6341, 703, 17813, 19602, 376, 1270, 273, 613, 4480, 29922, 5574, 29897, 13, 2 ]
recommendations/kujikatsu/249/c.py
takelifetime/competitive-programming
0
28486
a, b, n = map(int, input().split()) x = min(b - 1, n) print(a * x // b - a * (x // b))
[ 1, 263, 29892, 289, 29892, 302, 353, 2910, 29898, 524, 29892, 1881, 2141, 5451, 3101, 13, 29916, 353, 1375, 29898, 29890, 448, 29871, 29896, 29892, 302, 29897, 13, 2158, 29898, 29874, 334, 921, 849, 289, 448, 263, 334, 313, 29916, 849, 289, 876, 2 ]
vcf/old/read_test.py
TuanjieNew/jubilant-fiesta
0
1600930
#!/usr/bin/env python # read_test.py FILE = open('wanrenInfo_snp.txt', 'r') DICFILE = open('/haplox/users/huanghuiqiang/project/wanren/VCF/vcf/caobo.final.snp.hg19_multianno.vcf', 'r') dic = {} for line in DICFILE: line = line.strip('\n') ln_ls = line.split('\t') if line[0] == '#': continue chr_pos = ln_ls[0]+'_'+str(ln_ls[1]) dic[chr_pos] = 'test' for line in FILE: count = 0 line = line.strip('\n') ln_ls = line.split('\t') if line[0] == '#': continue chrom_pos = ln_ls[0] if chrom_pos in dic.keys(): count+=1
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 1303, 29918, 1688, 29889, 2272, 13, 13, 7724, 353, 1722, 877, 11440, 1267, 3401, 29918, 29879, 9302, 29889, 3945, 742, 525, 29878, 1495, 13, 29928, 2965, 7724, 353, 1722, 11219, 29882, 481, 417, 29916, 29914, 7193, 29914, 6905, 574, 15669, 26461, 574, 29914, 4836, 29914, 11440, 1267, 29914, 8257, 29943, 29914, 29894, 6854, 29914, 1113, 711, 29877, 29889, 8394, 29889, 29879, 9302, 29889, 29882, 29887, 29896, 29929, 29918, 4713, 713, 1217, 29889, 29894, 6854, 742, 525, 29878, 1495, 13, 27774, 353, 6571, 13, 1454, 1196, 297, 360, 2965, 7724, 29901, 13, 1678, 1196, 353, 1196, 29889, 17010, 28909, 29876, 1495, 13, 1678, 301, 29876, 29918, 3137, 353, 1196, 29889, 5451, 28909, 29873, 1495, 13, 1678, 565, 1196, 29961, 29900, 29962, 1275, 16321, 2396, 13, 4706, 6773, 13, 1678, 18460, 29918, 1066, 353, 301, 29876, 29918, 3137, 29961, 29900, 10062, 15972, 18717, 710, 29898, 3083, 29918, 3137, 29961, 29896, 2314, 13, 1678, 12124, 29961, 22495, 29918, 1066, 29962, 353, 525, 1688, 29915, 13, 13, 13, 1454, 1196, 297, 24080, 29901, 13, 1678, 2302, 353, 29871, 29900, 13, 1678, 1196, 353, 1196, 29889, 17010, 28909, 29876, 1495, 13, 1678, 301, 29876, 29918, 3137, 353, 1196, 29889, 5451, 28909, 29873, 1495, 13, 1678, 565, 1196, 29961, 29900, 29962, 1275, 16321, 2396, 13, 4706, 6773, 13, 1678, 25173, 29918, 1066, 353, 301, 29876, 29918, 3137, 29961, 29900, 29962, 13, 1678, 565, 25173, 29918, 1066, 297, 12124, 29889, 8149, 7295, 13, 4706, 2302, 23661, 29896, 13, 268, 13, 268, 13, 2 ]
Examples And Benchmarks/HTTP over Raw Connection/SERVERS/http_server__http_tools.py
FI-Mihej/FI-ASockIOCore
0
12958
from simple_network.tcp_app_server import * import httptools """ Module Docstring Docstrings: http://www.python.org/dev/peps/pep-0257/ """ __author__ = 'ButenkoMS <<EMAIL>>' # ====================================================================== # ===================GLOBAL SETTINGS FOR ALL TESTS====================== # SERVER_KEYWORD = b'http server inline' SERVER_ADDRESS = ('localhost', 25000) BSC__USE_READ_WITH_FIXED_BUFFER = True # "Optimized for speed". Good for Named Clients. # BSC__USE_READ_WITH_FIXED_BUFFER = False # "Optimized for memory". Good for big amount of Unknown Clients (raw, # http, etc.) if you have small server. BSC__SOCKET_READ_FIXED_BUFFER_SIZE = 1024 ** 2 BSC__USE_NODELAY_INET = True BSC__REUSE_GATE_ADDR = True BSC__REUSE_GATE_PORT = True LINE_TRACE_ALLOWED = True # # ===================GLOBAL SETTINGS FOR ALL TESTS====================== # ====================================================================== class RawClientCheckerAllRaw(CheckIsRawConnection): def __call__(self, app_server: ASockIOCore, client_info: Connection): return True def run_http_server(): io_iteration_timeout = 0.5 # ADD SERVER GATE CONNECTIONS set_of_tcp_settings = set() tcp_settings = ConnectionSettings(ConnectionDirectionRole.server, SERVER_ADDRESS, SERVER_KEYWORD) set_of_tcp_settings.add(tcp_settings) # CREATE SERVER http_server = ASockIOCore(set_of_tcp_settings) # SET SERVER SETTINGS http_server.raw_checker_for_new_incoming_connections = RawClientCheckerAllRaw() http_server.unknown_clients_are_allowed = True http_server.should_get_client_addr_info_on_connection = False http_server.use_speed_optimized_socket_read = BSC__USE_READ_WITH_FIXED_BUFFER http_server.socket_read_fixed_buffer_size.result = BSC__SOCKET_READ_FIXED_BUFFER_SIZE http_server.use_nodelay_inet = BSC__USE_NODELAY_INET http_server.reuse_gate_addr = BSC__REUSE_GATE_ADDR http_server.reuse_gate_port = BSC__REUSE_GATE_PORT # START SERVER with asock_io_core_connect(http_server, True, backlog=1000) as server: http_server.need_to_auto_check_incoming_raw_connection = True clients_per_transport_id = dict() # RUN SERVER LOOP while True: io_iteration_result = server.io_iteration(io_iteration_timeout) # CLIENT CONNECTED for another_client_id in io_iteration_result.newly_connected_unknown_clients: clients_per_transport_id[another_client_id] = HttpClientData(another_client_id, server) # CLIENT HAVE DATA TO READ for another_client_id in io_iteration_result.clients_have_data_to_read: clients_per_transport_id[another_client_id].data_received() # CLIENT CLOSED for another_client_id in io_iteration_result.clients_with_disconnected_connection: if clients_per_transport_id[another_client_id].socket_error(): del clients_per_transport_id[another_client_id] print('Server had been Shut Down.') # ============================================================================================================== # !!!!! IMPORTANT !!!!! # NEXT CODE SHOULD BE EQUIVALENT TO ASYNCIO HTTP SERVER'S CODE FROM "https://github.com/MagicStack/vmbench" PROJECT # (BENCHMARKING TOOL FROM 'UVLOOP' DEVELOPERS) FOR FAIR COMPARISON, SO IT'S SO DIRTY. # (IT'S ALMOST EQUIVALENT: IT DOES NOT HAVE FEW CRITICAL vmbench's BUGS) _RESP_CACHE = {} class HttpRequest: __slots__ = ('_protocol', '_url', '_headers', '_version') def __init__(self, protocol, url, headers, version): self._protocol = protocol self._url = url self._headers = headers self._version = version class HttpResponse: __slots__ = ('_protocol', '_request', '_headers_sent') def __init__(self, protocol, request: HttpRequest): self._protocol = protocol self._request = request self._headers_sent = False def write(self, data): self._protocol.output_list.append(b''.join([ 'HTTP/{} 200 OK\r\n'.format( self._request._version).encode('latin-1'), b'Content-Type: text/plain\r\n', 'Content-Length: {}\r\n'.format(len(data)).encode('latin-1'), b'\r\n', data ])) class HttpClientData: __slots__ = ('server', 'output_list', 'transport_id', '_current_request', '_current_parser', '_current_url', '_current_headers', '_last_piece_of_data', '_previous_piece_of_data') def __init__(self, transport_id, server: ASockIOCore): self.server = server self.transport_id = transport_id self.output_list = list() self._current_parser = httptools.HttpRequestParser(self) self._current_headers = list() self._current_request = None self._current_url = None self._last_piece_of_data = None self._previous_piece_of_data = None def data_received(self): try: for message in self.server.get_messages_from_client(self.transport_id): # print('IN {}: {}'.format(self.transport_id, bytes(message))) self._current_parser.feed_data(message) self.server.send_messages_to_client(self.transport_id, self.output_list) except Exception as err: print('EXCEPTION:', err) self.server.mark_client_connection_as_should_be_closed_immediately(self.transport_id, False) # raise err del self.output_list[:] # self.output_list.clear() def socket_error(self): self._current_request = self._current_parser = None self.server.remove_client(self.transport_id) return True # ============================================= # ==== BEGIN of HttpRequestParser methods: ==== # def on_message_begin(self): # pass def on_url(self, url): if self._current_url: self._current_url += url else: self._current_url = url # def on_status(self, data): # pass def on_header(self, name, value): self._current_headers.append((name, value)) def on_headers_complete(self): try: self._current_request = HttpRequest( self, self._current_url, self._current_headers, self._current_parser.get_http_version()) self.handle(self._current_request, HttpResponse(self, self._current_request)) except: print('ON HEADERS COMPLETE. ID: {}. Last: {}. Previous : {}.'.format( self.transport_id, self._last_piece_of_data, self._previous_piece_of_data)) raise # def on_body(self, data): # pass # def on_message_complete(self): # pass # def on_chunk_header(self): # pass # def on_chunk_complete(self): # pass # ==== END of HttpRequestParser methods==== # ========================================= def handle(self, request, response: HttpResponse): parsed_url = httptools.parse_url(self._current_url) payload_size = parsed_url.path.decode('ascii')[1:] if not payload_size: payload_size = 1024 else: payload_size = int(payload_size) resp = _RESP_CACHE.get(payload_size) if resp is None: resp = b'X' * payload_size _RESP_CACHE[payload_size] = resp response.write(resp) self._current_request = None self._current_url = None self._current_headers = list() # print('KEEP ALIVE:', self._current_parser.should_keep_alive()) if not self._current_parser.should_keep_alive(): self.server.mark_client_connection_as_ready_to_be_closed(self.transport_id, False) if __name__ == '__main__': run_http_server()
[ 1, 515, 2560, 29918, 11618, 29889, 23981, 29918, 932, 29918, 2974, 1053, 334, 13, 5215, 1143, 415, 8789, 13, 13, 15945, 29908, 13, 7355, 28197, 1807, 13, 14526, 19651, 29901, 1732, 597, 1636, 29889, 4691, 29889, 990, 29914, 3359, 29914, 412, 567, 29914, 412, 29886, 29899, 29900, 29906, 29945, 29955, 29914, 13, 15945, 29908, 13, 13, 1649, 8921, 1649, 353, 525, 6246, 264, 2901, 4345, 3532, 26862, 6227, 6778, 29915, 13, 13, 13, 29937, 1275, 9166, 9166, 9166, 9166, 2751, 13, 29937, 1275, 9166, 29922, 29954, 28902, 1964, 11368, 29911, 4214, 29903, 15842, 15149, 17067, 1254, 29903, 9166, 2751, 1360, 13, 29937, 13, 13, 18603, 29918, 10818, 17013, 353, 289, 29915, 1124, 1923, 10583, 29915, 13, 18603, 29918, 17744, 26785, 353, 6702, 7640, 742, 29871, 29906, 29945, 29900, 29900, 29900, 29897, 13, 13, 29933, 7187, 1649, 17171, 29918, 16310, 29918, 29956, 13054, 29918, 25634, 3352, 29918, 7838, 28483, 353, 5852, 29871, 396, 376, 20624, 326, 1891, 363, 6210, 1642, 7197, 363, 405, 2795, 315, 492, 1237, 29889, 13, 29937, 350, 7187, 1649, 17171, 29918, 16310, 29918, 29956, 13054, 29918, 25634, 3352, 29918, 7838, 28483, 353, 7700, 29871, 396, 376, 20624, 326, 1891, 363, 3370, 1642, 7197, 363, 4802, 5253, 310, 853, 5203, 315, 492, 1237, 313, 1610, 29892, 13, 29937, 1732, 29892, 2992, 1846, 565, 366, 505, 2319, 1923, 29889, 13, 13, 29933, 7187, 1649, 6156, 7077, 2544, 29918, 16310, 29918, 25634, 3352, 29918, 7838, 28483, 29918, 14226, 353, 29871, 29896, 29900, 29906, 29946, 3579, 29871, 29906, 13, 13, 29933, 7187, 1649, 17171, 29918, 6632, 2287, 18799, 29918, 1177, 2544, 353, 5852, 13, 13, 29933, 7187, 1649, 1525, 17171, 29918, 29954, 3040, 29918, 3035, 8353, 353, 5852, 13, 13, 29933, 7187, 1649, 1525, 17171, 29918, 29954, 3040, 29918, 15082, 353, 5852, 13, 13, 18521, 29918, 5659, 11538, 29918, 1964, 27998, 3352, 353, 5852, 13, 13, 29937, 13, 29937, 1275, 9166, 29922, 29954, 28902, 1964, 11368, 29911, 4214, 29903, 15842, 15149, 17067, 1254, 29903, 9166, 2751, 1360, 13, 29937, 1275, 9166, 9166, 9166, 9166, 2751, 13, 13, 13, 1990, 22038, 4032, 5596, 261, 3596, 22131, 29898, 5596, 3624, 22131, 5350, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 623, 29918, 2974, 29901, 3339, 1698, 5971, 9203, 29892, 3132, 29918, 3888, 29901, 15160, 1125, 13, 4706, 736, 5852, 13, 13, 13, 1753, 1065, 29918, 1124, 29918, 2974, 7295, 13, 1678, 12013, 29918, 1524, 362, 29918, 15619, 353, 29871, 29900, 29889, 29945, 13, 13, 1678, 396, 27827, 26996, 5348, 402, 3040, 8707, 8186, 9838, 29903, 13, 1678, 731, 29918, 974, 29918, 23981, 29918, 11027, 353, 731, 580, 13, 1678, 22729, 29918, 11027, 353, 15160, 9585, 29898, 5350, 21602, 16727, 29889, 2974, 29892, 26996, 5348, 29918, 17744, 26785, 29892, 26996, 5348, 29918, 10818, 17013, 29897, 13, 1678, 731, 29918, 974, 29918, 23981, 29918, 11027, 29889, 1202, 29898, 23981, 29918, 11027, 29897, 13, 13, 1678, 396, 14602, 26996, 5348, 13, 1678, 1732, 29918, 2974, 353, 3339, 1698, 5971, 9203, 29898, 842, 29918, 974, 29918, 23981, 29918, 11027, 29897, 13, 13, 1678, 396, 11368, 26996, 5348, 11368, 29911, 4214, 29903, 13, 1678, 1732, 29918, 2974, 29889, 1610, 29918, 3198, 261, 29918, 1454, 29918, 1482, 29918, 262, 11506, 29918, 11958, 1953, 353, 22038, 4032, 5596, 261, 3596, 22131, 580, 13, 1678, 1732, 29918, 2974, 29889, 26690, 29918, 11303, 1237, 29918, 598, 29918, 24622, 353, 5852, 13, 1678, 1732, 29918, 2974, 29889, 9344, 29918, 657, 29918, 4645, 29918, 10030, 29918, 3888, 29918, 265, 29918, 9965, 353, 7700, 13, 1678, 1732, 29918, 2974, 29889, 1509, 29918, 19322, 29918, 20640, 1891, 29918, 11514, 29918, 949, 353, 350, 7187, 1649, 17171, 29918, 16310, 29918, 29956, 13054, 29918, 25634, 3352, 29918, 7838, 28483, 13, 1678, 1732, 29918, 2974, 29889, 11514, 29918, 949, 29918, 20227, 29918, 9040, 29918, 2311, 29889, 2914, 353, 350, 7187, 1649, 6156, 7077, 2544, 29918, 16310, 29918, 25634, 3352, 29918, 7838, 28483, 29918, 14226, 13, 1678, 1732, 29918, 2974, 29889, 1509, 29918, 29876, 27224, 388, 29918, 10157, 353, 350, 7187, 1649, 17171, 29918, 6632, 2287, 18799, 29918, 1177, 2544, 13, 1678, 1732, 29918, 2974, 29889, 276, 1509, 29918, 17062, 29918, 10030, 353, 350, 7187, 1649, 1525, 17171, 29918, 29954, 3040, 29918, 3035, 8353, 13, 1678, 1732, 29918, 2974, 29889, 276, 1509, 29918, 17062, 29918, 637, 353, 350, 7187, 1649, 1525, 17171, 29918, 29954, 3040, 29918, 15082, 13, 13, 1678, 396, 6850, 8322, 26996, 5348, 13, 1678, 411, 408, 1698, 29918, 601, 29918, 3221, 29918, 6915, 29898, 1124, 29918, 2974, 29892, 5852, 29892, 1250, 1188, 29922, 29896, 29900, 29900, 29900, 29897, 408, 1923, 29901, 13, 4706, 1732, 29918, 2974, 29889, 26180, 29918, 517, 29918, 6921, 29918, 3198, 29918, 262, 11506, 29918, 1610, 29918, 9965, 353, 5852, 13, 13, 4706, 13154, 29918, 546, 29918, 27882, 29918, 333, 353, 9657, 580, 13, 13, 4706, 396, 27694, 26996, 5348, 11247, 4590, 13, 4706, 1550, 5852, 29901, 13, 9651, 12013, 29918, 1524, 362, 29918, 2914, 353, 1923, 29889, 601, 29918, 1524, 362, 29898, 601, 29918, 1524, 362, 29918, 15619, 29897, 13, 13, 9651, 396, 24492, 3919, 8707, 8186, 1783, 3352, 13, 9651, 363, 1790, 29918, 4645, 29918, 333, 297, 12013, 29918, 1524, 362, 29918, 2914, 29889, 1482, 368, 29918, 18045, 29918, 26690, 29918, 11303, 1237, 29901, 13, 18884, 13154, 29918, 546, 29918, 27882, 29918, 333, 29961, 23327, 29918, 4645, 29918, 333, 29962, 353, 9056, 4032, 1469, 29898, 23327, 29918, 4645, 29918, 333, 29892, 1923, 29897, 13, 13, 9651, 396, 24492, 3919, 379, 7520, 29923, 360, 8254, 7495, 5195, 3035, 13, 9651, 363, 1790, 29918, 4645, 29918, 333, 297, 12013, 29918, 1524, 362, 29918, 2914, 29889, 11303, 1237, 29918, 17532, 29918, 1272, 29918, 517, 29918, 949, 29901, 13, 18884, 13154, 29918, 546, 29918, 27882, 29918, 333, 29961, 23327, 29918, 4645, 29918, 333, 1822, 1272, 29918, 13556, 2347, 580, 13, 13, 9651, 396, 24492, 3919, 315, 3927, 1660, 29928, 13, 9651, 363, 1790, 29918, 4645, 29918, 333, 297, 12013, 29918, 1524, 362, 29918, 2914, 29889, 11303, 1237, 29918, 2541, 29918, 2218, 18045, 29918, 9965, 29901, 13, 18884, 565, 13154, 29918, 546, 29918, 27882, 29918, 333, 29961, 23327, 29918, 4645, 29918, 333, 1822, 11514, 29918, 2704, 7295, 13, 462, 1678, 628, 13154, 29918, 546, 29918, 27882, 29918, 333, 29961, 23327, 29918, 4645, 29918, 333, 29962, 13, 13, 1678, 1596, 877, 6004, 750, 1063, 1383, 329, 9943, 29889, 1495, 13, 13, 13, 29937, 1275, 9166, 9166, 9166, 9166, 9166, 9166, 4936, 2751, 13, 29937, 462, 462, 539, 1738, 6824, 6824, 306, 3580, 8476, 13566, 1738, 6824, 6824, 13, 29937, 405, 12194, 4810, 2287, 317, 8187, 29965, 10249, 20700, 382, 29984, 3120, 20449, 1307, 20321, 7495, 3339, 29979, 15868, 5971, 7331, 26996, 5348, 29915, 29903, 4810, 2287, 3895, 376, 991, 597, 3292, 29889, 510, 29914, 19095, 293, 7264, 29914, 6925, 1785, 305, 29908, 13756, 17637, 13, 29937, 313, 29933, 1430, 3210, 1529, 29934, 29968, 4214, 7495, 5607, 3895, 525, 29965, 29963, 3927, 4590, 29915, 5012, 12064, 3927, 13171, 29903, 29897, 15842, 13515, 8193, 4810, 3580, 1718, 29902, 3094, 29892, 7791, 13315, 29915, 29903, 7791, 360, 8193, 15631, 29889, 13, 29937, 313, 1806, 29915, 29903, 14445, 29924, 3718, 382, 29984, 3120, 20449, 1307, 20321, 29901, 13315, 11662, 2890, 6058, 379, 7520, 29923, 383, 29923, 29956, 15600, 1806, 2965, 1964, 22419, 1785, 305, 29915, 29879, 350, 29965, 10749, 29897, 13, 13, 13, 29918, 1525, 5550, 29918, 29907, 2477, 9606, 353, 6571, 13, 13, 13, 1990, 9056, 3089, 29901, 13, 1678, 4770, 2536, 1862, 1649, 353, 6702, 29918, 20464, 742, 22868, 2271, 742, 22868, 13662, 742, 22868, 3259, 1495, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9608, 29892, 3142, 29892, 9066, 29892, 1873, 1125, 13, 4706, 1583, 3032, 20464, 353, 9608, 13, 4706, 1583, 3032, 2271, 353, 3142, 13, 4706, 1583, 3032, 13662, 353, 9066, 13, 4706, 1583, 3032, 3259, 353, 1873, 13, 13, 13, 1990, 9056, 5103, 29901, 13, 1678, 4770, 2536, 1862, 1649, 353, 6702, 29918, 20464, 742, 22868, 3827, 742, 22868, 13662, 29918, 18616, 1495, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9608, 29892, 2009, 29901, 9056, 3089, 1125, 13, 4706, 1583, 3032, 20464, 353, 9608, 13, 4706, 1583, 3032, 3827, 353, 2009, 13, 4706, 1583, 3032, 13662, 29918, 18616, 353, 7700, 13, 13, 1678, 822, 2436, 29898, 1311, 29892, 848, 1125, 13, 4706, 1583, 3032, 20464, 29889, 4905, 29918, 1761, 29889, 4397, 29898, 29890, 29915, 4286, 7122, 4197, 13, 9651, 525, 10493, 29914, 8875, 29871, 29906, 29900, 29900, 9280, 29905, 29878, 29905, 29876, 4286, 4830, 29898, 13, 18884, 1583, 3032, 3827, 3032, 3259, 467, 12508, 877, 5066, 262, 29899, 29896, 5477, 13, 9651, 289, 29915, 3916, 29899, 1542, 29901, 1426, 29914, 24595, 29905, 29878, 29905, 29876, 742, 13, 9651, 525, 3916, 29899, 6513, 29901, 426, 1012, 29878, 29905, 29876, 4286, 4830, 29898, 2435, 29898, 1272, 8106, 12508, 877, 5066, 262, 29899, 29896, 5477, 13, 9651, 289, 12764, 29878, 29905, 29876, 742, 13, 9651, 848, 13, 4706, 4514, 876, 13, 13, 13, 1990, 9056, 4032, 1469, 29901, 13, 1678, 4770, 2536, 1862, 1649, 353, 6702, 2974, 742, 525, 4905, 29918, 1761, 742, 525, 27882, 29918, 333, 742, 13, 462, 22868, 3784, 29918, 3827, 742, 22868, 3784, 29918, 16680, 742, 13, 462, 22868, 3784, 29918, 2271, 742, 22868, 3784, 29918, 13662, 742, 22868, 4230, 29918, 12343, 346, 29918, 974, 29918, 1272, 742, 13, 462, 22868, 24957, 29918, 12343, 346, 29918, 974, 29918, 1272, 1495, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 8608, 29918, 333, 29892, 1923, 29901, 3339, 1698, 5971, 9203, 1125, 13, 4706, 1583, 29889, 2974, 353, 1923, 13, 4706, 1583, 29889, 27882, 29918, 333, 353, 8608, 29918, 333, 13, 4706, 1583, 29889, 4905, 29918, 1761, 353, 1051, 580, 13, 4706, 1583, 3032, 3784, 29918, 16680, 353, 1143, 415, 8789, 29889, 26021, 11726, 29898, 1311, 29897, 13, 4706, 1583, 3032, 3784, 29918, 13662, 353, 1051, 580, 13, 4706, 1583, 3032, 3784, 29918, 3827, 353, 6213, 13, 4706, 1583, 3032, 3784, 29918, 2271, 353, 6213, 13, 13, 4706, 1583, 3032, 4230, 29918, 12343, 346, 29918, 974, 29918, 1272, 353, 6213, 13, 4706, 1583, 3032, 24957, 29918, 12343, 346, 29918, 974, 29918, 1272, 353, 6213, 13, 13, 1678, 822, 848, 29918, 13556, 2347, 29898, 1311, 1125, 13, 4706, 1018, 29901, 13, 9651, 363, 2643, 297, 1583, 29889, 2974, 29889, 657, 29918, 19158, 29918, 3166, 29918, 4645, 29898, 1311, 29889, 27882, 29918, 333, 1125, 13, 18884, 396, 1596, 877, 1177, 426, 6177, 6571, 4286, 4830, 29898, 1311, 29889, 27882, 29918, 333, 29892, 6262, 29898, 4906, 4961, 13, 18884, 1583, 3032, 3784, 29918, 16680, 29889, 18798, 29918, 1272, 29898, 4906, 29897, 13, 9651, 1583, 29889, 2974, 29889, 6717, 29918, 19158, 29918, 517, 29918, 4645, 29898, 1311, 29889, 27882, 29918, 333, 29892, 1583, 29889, 4905, 29918, 1761, 29897, 13, 4706, 5174, 8960, 408, 4589, 29901, 13, 9651, 1596, 877, 5746, 4741, 7982, 2725, 29901, 742, 4589, 29897, 13, 9651, 1583, 29889, 2974, 29889, 3502, 29918, 4645, 29918, 9965, 29918, 294, 29918, 9344, 29918, 915, 29918, 15603, 29918, 326, 4210, 2486, 29898, 1311, 29889, 27882, 29918, 333, 29892, 7700, 29897, 13, 9651, 396, 12020, 4589, 13, 4706, 628, 1583, 29889, 4905, 29918, 1761, 7503, 29962, 13, 4706, 396, 1583, 29889, 4905, 29918, 1761, 29889, 8551, 580, 13, 13, 1678, 822, 9909, 29918, 2704, 29898, 1311, 1125, 13, 4706, 1583, 3032, 3784, 29918, 3827, 353, 1583, 3032, 3784, 29918, 16680, 353, 6213, 13, 4706, 1583, 29889, 2974, 29889, 5992, 29918, 4645, 29898, 1311, 29889, 27882, 29918, 333, 29897, 13, 4706, 736, 5852, 13, 13, 1678, 396, 1275, 9166, 9166, 4936, 25512, 13, 1678, 396, 1275, 1360, 22815, 310, 9056, 3089, 11726, 3519, 29901, 1275, 1360, 13, 13, 1678, 396, 822, 373, 29918, 4906, 29918, 463, 29898, 1311, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 822, 373, 29918, 2271, 29898, 1311, 29892, 3142, 1125, 13, 4706, 565, 1583, 3032, 3784, 29918, 2271, 29901, 13, 9651, 1583, 3032, 3784, 29918, 2271, 4619, 3142, 13, 4706, 1683, 29901, 13, 9651, 1583, 3032, 3784, 29918, 2271, 353, 3142, 13, 13, 1678, 396, 822, 373, 29918, 4882, 29898, 1311, 29892, 848, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 822, 373, 29918, 6672, 29898, 1311, 29892, 1024, 29892, 995, 1125, 13, 4706, 1583, 3032, 3784, 29918, 13662, 29889, 4397, 3552, 978, 29892, 995, 876, 13, 13, 1678, 822, 373, 29918, 13662, 29918, 8835, 29898, 1311, 1125, 13, 4706, 1018, 29901, 13, 9651, 1583, 3032, 3784, 29918, 3827, 353, 9056, 3089, 29898, 13, 18884, 1583, 29892, 1583, 3032, 3784, 29918, 2271, 29892, 1583, 3032, 3784, 29918, 13662, 29892, 13, 18884, 1583, 3032, 3784, 29918, 16680, 29889, 657, 29918, 1124, 29918, 3259, 3101, 13, 13, 9651, 1583, 29889, 8411, 29898, 1311, 3032, 3784, 29918, 3827, 29892, 9056, 5103, 29898, 1311, 29892, 1583, 3032, 3784, 29918, 3827, 876, 13, 4706, 5174, 29901, 13, 9651, 1596, 877, 1164, 17714, 3035, 23598, 4810, 3580, 18476, 29889, 3553, 29901, 426, 1836, 9208, 29901, 426, 1836, 4721, 2366, 584, 426, 1836, 4286, 4830, 29898, 13, 18884, 1583, 29889, 27882, 29918, 333, 29892, 1583, 3032, 4230, 29918, 12343, 346, 29918, 974, 29918, 1272, 29892, 1583, 3032, 24957, 29918, 12343, 346, 29918, 974, 29918, 1272, 876, 13, 9651, 12020, 13, 13, 1678, 396, 822, 373, 29918, 2587, 29898, 1311, 29892, 848, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 396, 822, 373, 29918, 4906, 29918, 8835, 29898, 1311, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 396, 822, 373, 29918, 29812, 29918, 6672, 29898, 1311, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 396, 822, 373, 29918, 29812, 29918, 8835, 29898, 1311, 1125, 13, 1678, 396, 268, 1209, 13, 13, 1678, 396, 1275, 1360, 11056, 310, 9056, 3089, 11726, 3519, 2751, 13, 1678, 396, 1275, 9166, 9166, 2751, 25512, 13, 13, 1678, 822, 4386, 29898, 1311, 29892, 2009, 29892, 2933, 29901, 9056, 5103, 1125, 13, 4706, 21213, 29918, 2271, 353, 1143, 415, 8789, 29889, 5510, 29918, 2271, 29898, 1311, 3032, 3784, 29918, 2271, 29897, 13, 4706, 20092, 29918, 2311, 353, 21213, 29918, 2271, 29889, 2084, 29889, 13808, 877, 294, 18869, 29861, 29896, 17531, 13, 4706, 565, 451, 20092, 29918, 2311, 29901, 13, 9651, 20092, 29918, 2311, 353, 29871, 29896, 29900, 29906, 29946, 13, 4706, 1683, 29901, 13, 9651, 20092, 29918, 2311, 353, 938, 29898, 23813, 29918, 2311, 29897, 13, 4706, 4613, 353, 903, 1525, 5550, 29918, 29907, 2477, 9606, 29889, 657, 29898, 23813, 29918, 2311, 29897, 13, 4706, 565, 4613, 338, 6213, 29901, 13, 9651, 4613, 353, 289, 29915, 29990, 29915, 334, 20092, 29918, 2311, 13, 9651, 903, 1525, 5550, 29918, 29907, 2477, 9606, 29961, 23813, 29918, 2311, 29962, 353, 4613, 13, 4706, 2933, 29889, 3539, 29898, 13713, 29897, 13, 13, 4706, 1583, 3032, 3784, 29918, 3827, 353, 6213, 13, 4706, 1583, 3032, 3784, 29918, 2271, 353, 6213, 13, 4706, 1583, 3032, 3784, 29918, 13662, 353, 1051, 580, 13, 4706, 396, 1596, 877, 6059, 15488, 319, 5265, 12064, 29901, 742, 1583, 3032, 3784, 29918, 16680, 29889, 9344, 29918, 17462, 29918, 284, 573, 3101, 13, 4706, 565, 451, 1583, 3032, 3784, 29918, 16680, 29889, 9344, 29918, 17462, 29918, 284, 573, 7295, 13, 9651, 1583, 29889, 2974, 29889, 3502, 29918, 4645, 29918, 9965, 29918, 294, 29918, 2040, 29918, 517, 29918, 915, 29918, 15603, 29898, 1311, 29889, 27882, 29918, 333, 29892, 7700, 29897, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 1065, 29918, 1124, 29918, 2974, 580, 13, 2 ]
MYONN/myonn.py
bfelder/MYONN
3
144319
#!/usr/bin/env python3 import csv import datetime import os import shelve from time import time import matplotlib.pyplot as plt import numpy as np from scipy.special import expit as activation_function # sigmoid function from scipy.special import logit as inverse_activation_function import wget # CONFIG DATA_DIR = "data" DATA_FILE = "data.db" # for statistics # DEBUG = True will use smaller dataset, single run and show pictures DEBUG = False INPUT_NODES = 28**2 OUTPUT_NODES = 10 DATA_DIR = "test_data/" TRAIN_FILE = os.path.join(DATA_DIR, "mnist_train.csv") TEST_FILE = os.path.join(DATA_DIR, "mnist_test.csv") TRAINFILE_URL = "http://www.pjreddie.com/media/files/mnist_train.csv" TESTFILE_URL = "http://www.pjreddie.com/media/files/mnist_test.csv" def reversed_enumerate(sequence): return zip( reversed(range(len(sequence))), reversed(sequence), ) class NeuralNetwork: def __init__(self, hidden_layers, input_nodes, hidden_nodes, output_nodes, learning_rate): """ set number of nodes in each input, hidden, output layer """ self.lr = learning_rate # defining weights # input to hidden layer l_ih = self.__init_weights(input_nodes, hidden_nodes) # hidden to hidden layer l_hh = self.__init_weights(hidden_nodes, hidden_nodes) # hidden to output layer l_ho = self.__init_weights(hidden_nodes, output_nodes) self.layer_weights = [l_ih] for i in range(0, hidden_layers - 1): self.layer_weights.append(l_hh) self.layer_weights.append(l_ho) # closing with output layer def __init_weights(self, this_layer, next_layer): return np.random.normal(0.0, pow(next_layer, -0.5), (next_layer, this_layer)) def __calculate_outputs(self, weights, inputs): # Step 1 - calculate signals into hidden layer weighted_inputs = np.dot(weights, inputs) # calculate the signals emerging from hidden layer outputs = activation_function(weighted_inputs) return outputs def __update_weights(self, this_errors, this_outputs, previous_outputs): x = this_errors * this_outputs * (1.0 - this_outputs) updated_weights = self.lr * np.dot(x, np.transpose(previous_outputs)) return updated_weights def __propagate(self, inputs_list): # convert inputs list to 2d array inputs = np.array(inputs_list, ndmin=2).T # initialize with inputs, as "outputs from picture" outputs_list = [inputs] for i, weights in enumerate(self.layer_weights): this_output = self.__calculate_outputs(weights, outputs_list[i]) outputs_list.append(this_output) return outputs_list def train(self, inputs_list, targets_list): outputs_list = self.__propagate(inputs_list) # transpose the inputs list to a vertical array targets = np.array(targets_list, ndmin=2).T # backpropagate new_weights_rev = [] this_errors = targets - outputs_list[-1] # starting with output_errors for i, weights in reversed_enumerate(self.layer_weights): # print(i) # for weights, outputs in reversed(list(zip(self.layer_weights, outputs_list))): w_delta = self.__update_weights(this_errors, outputs_list[i + 1], outputs_list[i]) new_weight = weights + w_delta new_weights_rev.append(new_weight) this_errors = np.dot(weights.T, this_errors) # update weights self.layer_weights = new_weights_rev[::-1] # must be reversed def query(self, inputs_list): output_list = self.__propagate(inputs_list) return output_list[-1] # return final outputs # backquery the neural network # we'll use the same termnimology to each item, # eg target are the values at the right of the network, albeit used as input # eg hidden_output is the signal to the right of the middle nodes def backquery(self, targets_list): # transpose the targets list to a vertical array outputs = np.array(targets_list, ndmin=2).T for weights in reversed(self.layer_weights): # calculate the signal into the final output layer inputs = inverse_activation_function(outputs) # calculate the signal out of the hidden layer outputs = np.dot(weights.T, inputs) # scale them back to 0.01 to .99 outputs -= np.min(outputs) outputs /= np.max(outputs) outputs *= 0.98 outputs += 0.01 return outputs # HELPER FUNCTIONS ----------------------------------- def ensure_files(): if not os.path.exists(DATA_DIR): os.makedirs(DATA_DIR) if not os.path.exists(TRAIN_FILE): print("Downloading: {}".format(TRAIN_FILE)) wget.download(TRAINFILE_URL, out=DATA_DIR) if not os.path.exists(TEST_FILE): print("Downloading: {}".format(TEST_FILE)) wget.download(TESTFILE_URL, out=DATA_DIR) def scale_matrix(matrix): """ nn works best with values between 0.01 and 1 """ return matrix / 255 * 0.99 + 0.01 def import_data(file_name): with open(file_name, "r") as f: reader = csv.reader(f) for row in reader: label = int(row.pop(0)) matrix = scale_matrix(np.asfarray(row)) # .reshape((28, 28))) yield label, matrix def gen_target_array(onodes): """ generates list of lists, like: [[0.01, 0.01, 0.01, 0.01, 0.01, 0.99, 0.01, 0.01, 0.01, 0.01], ... ] """ o_list = [] for index in range(onodes): targets = np.zeros(onodes) + 0.01 targets[index] = 0.99 o_list.append(targets) return o_list def plot_matrix(matrix): fig = plt.figure() ax = fig.add_subplot(1, 1, 1) ax.set_aspect('equal') plt.imshow( matrix, interpolation='nearest', cmap=plt.cm.Greys) plt.colorbar() plt.show() def calc_accuracy(scorecard): scorecard_array = np.asarray(scorecard) accuracy = scorecard_array.sum() / scorecard_array.size return accuracy def get_sample_size(file_name): if DEBUG: return 1000 sample_size = 0 with open(file_name, "r") as f: reader = csv.reader(f) sample_size = len(list(reader)) return sample_size def best_accuracy(list): max_L = max(records, key=lambda x: x["accuracy"]) return max_L["accuracy"] def run_experiment(hidden_layers, hidden_nodes, learning_rate, epochs): # init network nn = NeuralNetwork( input_nodes=INPUT_NODES, hidden_layers=hidden_layers, hidden_nodes=hidden_nodes, output_nodes=OUTPUT_NODES, learning_rate=learning_rate ) target_ar = gen_target_array(OUTPUT_NODES) # train network training_data = import_data(TRAIN_FILE) if DEBUG: # use less training data for debug training_data = list(training_data)[1000:] t0 = time() for e in range(epochs): for record in training_data: label, matrix = record nn.train(inputs_list=matrix, targets_list=target_ar[label]) t1 = time() - t0 # test network scorecard = [] # scorecard for how well the network performs test_data = import_data(TEST_FILE) if DEBUG: # use less test data for debug test_data = list(test_data)[100:] for record in test_data: correct_label, matrix = record outputs = nn.query(matrix) label = np.argmax( outputs) # the index of the highest value corresponds to the label if (label == correct_label): # network's answer matches correct answer, add 1 to scorecard scorecard.append(1) else: # network's answer doesn't match correct answer, add 0 to scorecard scorecard.append(0) accuracy = calc_accuracy(scorecard) training_time = str(datetime.timedelta(seconds=t1)) # print some info regarding training run print("accuracy: {0:.1f}%".format(calc_accuracy(scorecard) * 100)) print("training time: {}".format(training_time)) #print("sample size: {}".format(get_sample_size(TRAIN_FILE))) print("epochs: {}".format(epochs)) print("hidden layers: {}".format(hidden_layers)) print("hidden nodes: {}".format(hidden_nodes)) print("learning rate: {}".format(learning_rate)) print("-" * 15 + "\n") if DEBUG: print("\n\nBackquerying the network") for i, t in enumerate(target_ar): image_data = nn.backquery(t) plt.imshow(image_data.reshape(28, 28), cmap='Greys', interpolation='None') plt.title("Target: " + str(i)) plt.show() else: # save current model to db if it has better accuracy d = shelve.open(DATA_FILE, writeback=True) records = d["records"] # # get best accuracy if records: # list must be non-empty current_best = best_accuracy(records) # save model only if accuracy higher than current best if accuracy > current_best: # del d["data"] # TODO: is this needed? or just writeback=True? d["model"] = nn.layer_weights # save current parameter set for later analysis records.append({ "accuracy": 0, "hidden_layers": 0, "hidden_nodes": 0, "learning_rate": 0, "training_time": training_time, "epochs": 0}) # don't forget to close db connection d.close() def init_db(): d = shelve.open(DATA_FILE, writeback=True) try: d["records"] except KeyError: d["records"] = [] # initialize records list try: d["model"] except KeyError: d["model"] = [] # initialize model list d.close() if __name__ == '__main__': ensure_files() # download training and test data if not present init_db() # make sure key value pairs are present if DEBUG: print("Running in DEBUG mode.\n\n") run_experiment(hidden_layers=0, hidden_nodes=50, learning_rate=0.2, epochs=1) else: start_time = time() print("Running combinatorial query over parameters.\n\n") for hidden_layers in range(2): for hidden_nodes in [50, 80, 150, 200, 300]: for learning_rate in [0.05, 0.1, 0.2, 0.3, 0.5]: for epochs in [2, 3, 5]: run_experiment(hidden_layers, hidden_nodes, learning_rate, epochs) time_delta = time() - start_time # print some summarizing statistics d = shelve.open(DATA_FILE, writeback=False) records = d["records"] d.close() current_best = best_accuracy(records) print("-" * 15) print("Best accuracy: {}".format()) print("Total training time: {}".format(str(datetime.timedelta(seconds=time_delta)))) print("Number of experiments: {}".format(len(records))) print("Sample size: {}".format(get_sample_size(TRAIN_FILE))) print("-" * 15) print("\n\nBest model saved to db file. Access via key \"model\" and have fun!")
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 5215, 11799, 13, 5215, 12865, 13, 5215, 2897, 13, 5215, 528, 13841, 13, 3166, 931, 1053, 931, 13, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 29889, 18732, 1053, 1518, 277, 408, 26229, 29918, 2220, 29871, 396, 4365, 29885, 3398, 740, 13, 3166, 4560, 2272, 29889, 18732, 1053, 1480, 277, 408, 16402, 29918, 11236, 362, 29918, 2220, 13, 13, 5215, 281, 657, 13, 13, 29937, 8707, 18667, 13, 14573, 29918, 9464, 353, 376, 1272, 29908, 13, 14573, 29918, 7724, 353, 376, 1272, 29889, 2585, 29908, 29871, 396, 363, 13964, 13, 13, 29937, 21681, 353, 5852, 674, 671, 7968, 8783, 29892, 2323, 1065, 322, 1510, 14956, 13, 18525, 353, 7700, 13, 1177, 12336, 29918, 6632, 2287, 29903, 353, 29871, 29906, 29947, 1068, 29906, 13, 12015, 12336, 29918, 6632, 2287, 29903, 353, 29871, 29896, 29900, 13, 13, 14573, 29918, 9464, 353, 376, 1688, 29918, 1272, 12975, 13, 29911, 4717, 1177, 29918, 7724, 353, 2897, 29889, 2084, 29889, 7122, 29898, 14573, 29918, 9464, 29892, 376, 23521, 391, 29918, 14968, 29889, 7638, 1159, 13, 18267, 29918, 7724, 353, 2897, 29889, 2084, 29889, 7122, 29898, 14573, 29918, 9464, 29892, 376, 23521, 391, 29918, 1688, 29889, 7638, 1159, 13, 13, 29911, 4717, 1177, 7724, 29918, 4219, 353, 376, 1124, 597, 1636, 29889, 29886, 29926, 1127, 16217, 29889, 510, 29914, 9799, 29914, 5325, 29914, 23521, 391, 29918, 14968, 29889, 7638, 29908, 13, 18267, 7724, 29918, 4219, 353, 376, 1124, 597, 1636, 29889, 29886, 29926, 1127, 16217, 29889, 510, 29914, 9799, 29914, 5325, 29914, 23521, 391, 29918, 1688, 29889, 7638, 29908, 13, 13, 13, 1753, 18764, 287, 29918, 15172, 29898, 16506, 1125, 13, 1678, 736, 14319, 29898, 13, 4706, 18764, 287, 29898, 3881, 29898, 2435, 29898, 16506, 876, 511, 13, 4706, 18764, 287, 29898, 16506, 511, 13, 1678, 1723, 13, 13, 13, 1990, 2448, 3631, 13724, 29901, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 7934, 29918, 29277, 29892, 1881, 29918, 18010, 29892, 7934, 29918, 18010, 29892, 1962, 29918, 18010, 29892, 6509, 29918, 10492, 1125, 13, 4706, 9995, 731, 1353, 310, 7573, 297, 1269, 1881, 29892, 7934, 29892, 1962, 7546, 9995, 13, 13, 4706, 1583, 29889, 29212, 353, 6509, 29918, 10492, 13, 13, 4706, 396, 16184, 18177, 13, 4706, 396, 1881, 304, 7934, 7546, 13, 4706, 301, 29918, 4861, 353, 1583, 17255, 2344, 29918, 705, 5861, 29898, 2080, 29918, 18010, 29892, 7934, 29918, 18010, 29897, 13, 4706, 396, 7934, 304, 7934, 7546, 13, 4706, 301, 29918, 25446, 353, 1583, 17255, 2344, 29918, 705, 5861, 29898, 10892, 29918, 18010, 29892, 7934, 29918, 18010, 29897, 13, 4706, 396, 7934, 304, 1962, 7546, 13, 4706, 301, 29918, 1251, 353, 1583, 17255, 2344, 29918, 705, 5861, 29898, 10892, 29918, 18010, 29892, 1962, 29918, 18010, 29897, 13, 13, 4706, 1583, 29889, 13148, 29918, 705, 5861, 353, 518, 29880, 29918, 4861, 29962, 13, 4706, 363, 474, 297, 3464, 29898, 29900, 29892, 7934, 29918, 29277, 448, 29871, 29896, 1125, 13, 9651, 1583, 29889, 13148, 29918, 705, 5861, 29889, 4397, 29898, 29880, 29918, 25446, 29897, 13, 13, 4706, 1583, 29889, 13148, 29918, 705, 5861, 29889, 4397, 29898, 29880, 29918, 1251, 29897, 29871, 396, 14382, 411, 1962, 7546, 13, 13, 1678, 822, 4770, 2344, 29918, 705, 5861, 29898, 1311, 29892, 445, 29918, 13148, 29892, 2446, 29918, 13148, 1125, 13, 4706, 736, 7442, 29889, 8172, 29889, 8945, 29898, 29900, 29889, 29900, 29892, 4764, 29898, 4622, 29918, 13148, 29892, 448, 29900, 29889, 29945, 511, 313, 4622, 29918, 13148, 29892, 445, 29918, 13148, 876, 13, 13, 1678, 822, 4770, 15807, 403, 29918, 4905, 29879, 29898, 1311, 29892, 18177, 29892, 10970, 1125, 13, 4706, 396, 16696, 29871, 29896, 448, 8147, 18470, 964, 7934, 7546, 13, 4706, 7688, 287, 29918, 2080, 29879, 353, 7442, 29889, 6333, 29898, 705, 5861, 29892, 10970, 29897, 13, 4706, 396, 8147, 278, 18470, 11176, 3460, 515, 7934, 7546, 13, 4706, 14391, 353, 26229, 29918, 2220, 29898, 7915, 287, 29918, 2080, 29879, 29897, 13, 4706, 736, 14391, 13, 13, 1678, 822, 4770, 5504, 29918, 705, 5861, 29898, 1311, 29892, 445, 29918, 12523, 29892, 445, 29918, 4905, 29879, 29892, 3517, 29918, 4905, 29879, 1125, 9651, 13, 4706, 921, 353, 445, 29918, 12523, 334, 445, 29918, 4905, 29879, 334, 313, 29896, 29889, 29900, 448, 445, 29918, 4905, 29879, 29897, 13, 4706, 4784, 29918, 705, 5861, 353, 1583, 29889, 29212, 334, 7442, 29889, 6333, 29898, 29916, 29892, 7442, 29889, 3286, 4220, 29898, 24957, 29918, 4905, 29879, 876, 13, 4706, 736, 4784, 29918, 705, 5861, 13, 13, 1678, 822, 4770, 7728, 351, 403, 29898, 1311, 29892, 10970, 29918, 1761, 1125, 13, 4706, 396, 3588, 10970, 1051, 304, 29871, 29906, 29881, 1409, 13, 4706, 10970, 353, 7442, 29889, 2378, 29898, 2080, 29879, 29918, 1761, 29892, 29871, 299, 1195, 29922, 29906, 467, 29911, 13, 4706, 396, 11905, 411, 10970, 29892, 408, 376, 4905, 29879, 515, 7623, 29908, 13, 4706, 14391, 29918, 1761, 353, 518, 2080, 29879, 29962, 13, 4706, 363, 474, 29892, 18177, 297, 26985, 29898, 1311, 29889, 13148, 29918, 705, 5861, 1125, 13, 9651, 445, 29918, 4905, 353, 1583, 17255, 15807, 403, 29918, 4905, 29879, 29898, 705, 5861, 29892, 14391, 29918, 1761, 29961, 29875, 2314, 13, 9651, 14391, 29918, 1761, 29889, 4397, 29898, 1366, 29918, 4905, 29897, 13, 4706, 736, 14391, 29918, 1761, 13, 13, 1678, 822, 7945, 29898, 1311, 29892, 10970, 29918, 1761, 29892, 22525, 29918, 1761, 1125, 13, 4706, 14391, 29918, 1761, 353, 1583, 17255, 7728, 351, 403, 29898, 2080, 29879, 29918, 1761, 29897, 13, 4706, 396, 1301, 4220, 278, 10970, 1051, 304, 263, 11408, 1409, 13, 4706, 22525, 353, 7442, 29889, 2378, 29898, 5182, 29879, 29918, 1761, 29892, 29871, 299, 1195, 29922, 29906, 467, 29911, 13, 13, 4706, 396, 1250, 7728, 351, 403, 13, 4706, 716, 29918, 705, 5861, 29918, 13478, 353, 5159, 13, 13, 4706, 445, 29918, 12523, 353, 22525, 448, 14391, 29918, 1761, 14352, 29896, 29962, 29871, 396, 6257, 411, 1962, 29918, 12523, 13, 13, 4706, 363, 474, 29892, 18177, 297, 18764, 287, 29918, 15172, 29898, 1311, 29889, 13148, 29918, 705, 5861, 1125, 13, 9651, 396, 1596, 29898, 29875, 29897, 13, 9651, 396, 363, 18177, 29892, 14391, 297, 18764, 287, 29898, 1761, 29898, 7554, 29898, 1311, 29889, 13148, 29918, 705, 5861, 29892, 14391, 29918, 1761, 876, 1125, 13, 9651, 281, 29918, 4181, 353, 1583, 17255, 5504, 29918, 705, 5861, 29898, 1366, 29918, 12523, 29892, 14391, 29918, 1761, 29961, 29875, 718, 29871, 29896, 1402, 14391, 29918, 1761, 29961, 29875, 2314, 13, 9651, 716, 29918, 7915, 353, 18177, 718, 281, 29918, 4181, 13, 9651, 716, 29918, 705, 5861, 29918, 13478, 29889, 4397, 29898, 1482, 29918, 7915, 29897, 13, 13, 9651, 445, 29918, 12523, 353, 7442, 29889, 6333, 29898, 705, 5861, 29889, 29911, 29892, 445, 29918, 12523, 29897, 13, 13, 4706, 396, 2767, 18177, 13, 4706, 1583, 29889, 13148, 29918, 705, 5861, 353, 716, 29918, 705, 5861, 29918, 13478, 29961, 1057, 29899, 29896, 29962, 29871, 396, 1818, 367, 18764, 287, 13, 13, 1678, 822, 2346, 29898, 1311, 29892, 10970, 29918, 1761, 1125, 13, 4706, 1962, 29918, 1761, 353, 1583, 17255, 7728, 351, 403, 29898, 2080, 29879, 29918, 1761, 29897, 13, 4706, 736, 1962, 29918, 1761, 14352, 29896, 29962, 29871, 396, 736, 2186, 14391, 13, 13, 1678, 396, 1250, 1972, 278, 19677, 3564, 13, 1678, 396, 591, 29915, 645, 671, 278, 1021, 1840, 16135, 3002, 304, 1269, 2944, 29892, 13, 1678, 396, 8087, 3646, 526, 278, 1819, 472, 278, 1492, 310, 278, 3564, 29892, 394, 6205, 1304, 408, 1881, 13, 1678, 396, 8087, 7934, 29918, 4905, 338, 278, 7182, 304, 278, 1492, 310, 278, 7256, 7573, 13, 1678, 822, 1250, 1972, 29898, 1311, 29892, 22525, 29918, 1761, 1125, 13, 13, 4706, 396, 1301, 4220, 278, 22525, 1051, 304, 263, 11408, 1409, 13, 4706, 14391, 353, 7442, 29889, 2378, 29898, 5182, 29879, 29918, 1761, 29892, 29871, 299, 1195, 29922, 29906, 467, 29911, 13, 4706, 363, 18177, 297, 18764, 287, 29898, 1311, 29889, 13148, 29918, 705, 5861, 1125, 13, 13, 9651, 396, 8147, 278, 7182, 964, 278, 2186, 1962, 7546, 13, 9651, 10970, 353, 16402, 29918, 11236, 362, 29918, 2220, 29898, 4905, 29879, 29897, 13, 13, 9651, 396, 8147, 278, 7182, 714, 310, 278, 7934, 7546, 13, 9651, 14391, 353, 7442, 29889, 6333, 29898, 705, 5861, 29889, 29911, 29892, 10970, 29897, 13, 9651, 396, 6287, 963, 1250, 304, 29871, 29900, 29889, 29900, 29896, 304, 869, 29929, 29929, 13, 9651, 14391, 22361, 7442, 29889, 1195, 29898, 4905, 29879, 29897, 13, 9651, 14391, 847, 29922, 7442, 29889, 3317, 29898, 4905, 29879, 29897, 13, 9651, 14391, 334, 29922, 29871, 29900, 29889, 29929, 29947, 13, 9651, 14391, 4619, 29871, 29900, 29889, 29900, 29896, 13, 13, 4706, 736, 14391, 13, 13, 29937, 379, 6670, 13171, 383, 28700, 29903, 448, 2683, 2683, 489, 13, 13, 13, 1753, 9801, 29918, 5325, 7295, 13, 1678, 565, 451, 2897, 29889, 2084, 29889, 9933, 29898, 14573, 29918, 9464, 1125, 13, 4706, 2897, 29889, 29885, 12535, 12935, 29898, 14573, 29918, 9464, 29897, 13, 13, 1678, 565, 451, 2897, 29889, 2084, 29889, 9933, 29898, 29911, 4717, 1177, 29918, 7724, 1125, 13, 4706, 1596, 703, 6767, 13234, 29901, 6571, 1642, 4830, 29898, 29911, 4717, 1177, 29918, 7724, 876, 13, 4706, 281, 657, 29889, 10382, 29898, 29911, 4717, 1177, 7724, 29918, 4219, 29892, 714, 29922, 14573, 29918, 9464, 29897, 13, 13, 1678, 565, 451, 2897, 29889, 2084, 29889, 9933, 29898, 18267, 29918, 7724, 1125, 13, 4706, 1596, 703, 6767, 13234, 29901, 6571, 1642, 4830, 29898, 18267, 29918, 7724, 876, 13, 4706, 281, 657, 29889, 10382, 29898, 18267, 7724, 29918, 4219, 29892, 714, 29922, 14573, 29918, 9464, 29897, 13, 13, 13, 1753, 6287, 29918, 5344, 29898, 5344, 1125, 13, 1678, 9995, 302, 29876, 1736, 1900, 411, 1819, 1546, 29871, 29900, 29889, 29900, 29896, 322, 29871, 29896, 9995, 13, 1678, 736, 4636, 847, 29871, 29906, 29945, 29945, 334, 29871, 29900, 29889, 29929, 29929, 718, 29871, 29900, 29889, 29900, 29896, 13, 13, 13, 1753, 1053, 29918, 1272, 29898, 1445, 29918, 978, 1125, 13, 13, 1678, 411, 1722, 29898, 1445, 29918, 978, 29892, 376, 29878, 1159, 408, 285, 29901, 13, 4706, 9591, 353, 11799, 29889, 16950, 29898, 29888, 29897, 13, 4706, 363, 1948, 297, 9591, 29901, 13, 9651, 3858, 353, 938, 29898, 798, 29889, 7323, 29898, 29900, 876, 13, 9651, 4636, 353, 6287, 29918, 5344, 29898, 9302, 29889, 294, 29888, 2378, 29898, 798, 876, 29871, 396, 869, 690, 14443, 3552, 29906, 29947, 29892, 29871, 29906, 29947, 4961, 13, 9651, 7709, 3858, 29892, 4636, 13, 13, 13, 1753, 2531, 29918, 5182, 29918, 2378, 29898, 265, 2631, 1125, 13, 1678, 9995, 16785, 1051, 310, 8857, 29892, 763, 29901, 13, 1678, 5519, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29929, 29929, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29896, 1402, 2023, 4514, 9995, 13, 1678, 288, 29918, 1761, 353, 5159, 13, 1678, 363, 2380, 297, 3464, 29898, 265, 2631, 1125, 13, 4706, 22525, 353, 7442, 29889, 3298, 359, 29898, 265, 2631, 29897, 718, 29871, 29900, 29889, 29900, 29896, 13, 4706, 22525, 29961, 2248, 29962, 353, 29871, 29900, 29889, 29929, 29929, 13, 4706, 288, 29918, 1761, 29889, 4397, 29898, 5182, 29879, 29897, 13, 1678, 736, 288, 29918, 1761, 13, 13, 13, 1753, 6492, 29918, 5344, 29898, 5344, 1125, 268, 13, 1678, 2537, 353, 14770, 29889, 4532, 580, 13, 1678, 4853, 353, 2537, 29889, 1202, 29918, 1491, 5317, 29898, 29896, 29892, 29871, 29896, 29892, 29871, 29896, 29897, 13, 1678, 4853, 29889, 842, 29918, 294, 1103, 877, 11745, 1495, 13, 13, 1678, 14770, 29889, 326, 4294, 29898, 13, 4706, 4636, 29892, 29694, 2433, 28502, 342, 742, 13, 4706, 274, 1958, 29922, 572, 29873, 29889, 4912, 29889, 25120, 952, 29897, 259, 13, 1678, 14770, 29889, 2780, 1646, 580, 13, 1678, 14770, 29889, 4294, 580, 13, 13, 13, 1753, 22235, 29918, 562, 2764, 4135, 29898, 13628, 7543, 1125, 13, 1678, 8158, 7543, 29918, 2378, 353, 7442, 29889, 294, 2378, 29898, 13628, 7543, 29897, 13, 1678, 13600, 353, 8158, 7543, 29918, 2378, 29889, 2083, 580, 847, 8158, 7543, 29918, 2378, 29889, 2311, 13, 1678, 736, 13600, 13, 13, 13, 1753, 679, 29918, 11249, 29918, 2311, 29898, 1445, 29918, 978, 1125, 13, 1678, 565, 21681, 29901, 13, 4706, 736, 29871, 29896, 29900, 29900, 29900, 13, 1678, 4559, 29918, 2311, 353, 29871, 29900, 13, 1678, 411, 1722, 29898, 1445, 29918, 978, 29892, 376, 29878, 1159, 408, 285, 29901, 13, 4706, 9591, 353, 11799, 29889, 16950, 29898, 29888, 29897, 13, 4706, 4559, 29918, 2311, 353, 7431, 29898, 1761, 29898, 16950, 876, 13, 1678, 736, 4559, 29918, 2311, 13, 13, 1753, 1900, 29918, 562, 2764, 4135, 29898, 1761, 1125, 13, 1678, 4236, 29918, 29931, 353, 4236, 29898, 3757, 4339, 29892, 1820, 29922, 2892, 921, 29901, 921, 3366, 562, 2764, 4135, 20068, 13, 1678, 736, 4236, 29918, 29931, 3366, 562, 2764, 4135, 3108, 13, 13, 13, 1753, 1065, 29918, 735, 15362, 29898, 10892, 29918, 29277, 29892, 7934, 29918, 18010, 29892, 6509, 29918, 10492, 29892, 21502, 12168, 1125, 13, 1678, 396, 2069, 3564, 13, 1678, 302, 29876, 353, 2448, 3631, 13724, 29898, 13, 4706, 1881, 29918, 18010, 29922, 1177, 12336, 29918, 6632, 2287, 29903, 29892, 13, 4706, 7934, 29918, 29277, 29922, 10892, 29918, 29277, 29892, 13, 4706, 7934, 29918, 18010, 29922, 10892, 29918, 18010, 29892, 13, 4706, 1962, 29918, 18010, 29922, 12015, 12336, 29918, 6632, 2287, 29903, 29892, 13, 4706, 6509, 29918, 10492, 29922, 21891, 29918, 10492, 13, 1678, 1723, 13, 13, 1678, 3646, 29918, 279, 353, 2531, 29918, 5182, 29918, 2378, 29898, 12015, 12336, 29918, 6632, 2287, 29903, 29897, 13, 13, 1678, 396, 7945, 3564, 13, 1678, 6694, 29918, 1272, 353, 1053, 29918, 1272, 29898, 29911, 4717, 1177, 29918, 7724, 29897, 13, 1678, 565, 21681, 29901, 29871, 396, 671, 3109, 6694, 848, 363, 4744, 13, 4706, 6694, 29918, 1272, 353, 1051, 29898, 26495, 29918, 1272, 9601, 29896, 29900, 29900, 29900, 17531, 13, 1678, 260, 29900, 353, 931, 580, 13, 1678, 363, 321, 297, 3464, 29898, 1022, 2878, 29879, 1125, 13, 4706, 363, 2407, 297, 6694, 29918, 1272, 29901, 13, 9651, 3858, 29892, 4636, 353, 2407, 13, 9651, 302, 29876, 29889, 14968, 29898, 2080, 29879, 29918, 1761, 29922, 5344, 29892, 22525, 29918, 1761, 29922, 5182, 29918, 279, 29961, 1643, 2314, 13, 1678, 260, 29896, 353, 931, 580, 448, 260, 29900, 13, 13, 1678, 396, 1243, 3564, 13, 1678, 8158, 7543, 353, 5159, 29871, 396, 8158, 7543, 363, 920, 1532, 278, 3564, 23233, 13, 1678, 1243, 29918, 1272, 353, 1053, 29918, 1272, 29898, 18267, 29918, 7724, 29897, 13, 1678, 565, 21681, 29901, 29871, 396, 671, 3109, 1243, 848, 363, 4744, 13, 4706, 1243, 29918, 1272, 353, 1051, 29898, 1688, 29918, 1272, 9601, 29896, 29900, 29900, 17531, 13, 1678, 363, 2407, 297, 1243, 29918, 1272, 29901, 13, 4706, 1959, 29918, 1643, 29892, 4636, 353, 2407, 13, 4706, 14391, 353, 302, 29876, 29889, 1972, 29898, 5344, 29897, 13, 4706, 3858, 353, 7442, 29889, 1191, 3317, 29898, 13, 9651, 14391, 29897, 29871, 396, 278, 2380, 310, 278, 9939, 995, 16161, 304, 278, 3858, 13, 13, 4706, 565, 313, 1643, 1275, 1959, 29918, 1643, 1125, 13, 9651, 396, 3564, 29915, 29879, 1234, 7087, 1959, 1234, 29892, 788, 29871, 29896, 304, 8158, 7543, 13, 9651, 8158, 7543, 29889, 4397, 29898, 29896, 29897, 13, 4706, 1683, 29901, 13, 9651, 396, 3564, 29915, 29879, 1234, 1838, 29915, 29873, 1993, 1959, 1234, 29892, 788, 29871, 29900, 304, 8158, 7543, 13, 9651, 8158, 7543, 29889, 4397, 29898, 29900, 29897, 13, 13, 1678, 13600, 353, 22235, 29918, 562, 2764, 4135, 29898, 13628, 7543, 29897, 13, 13, 1678, 6694, 29918, 2230, 29871, 353, 851, 29898, 12673, 29889, 9346, 287, 2554, 29898, 23128, 29922, 29873, 29896, 876, 13, 1678, 396, 1596, 777, 5235, 11211, 6694, 1065, 13, 1678, 1596, 703, 562, 2764, 4135, 29901, 426, 29900, 29901, 29889, 29896, 29888, 10560, 1642, 4830, 29898, 28667, 29918, 562, 2764, 4135, 29898, 13628, 7543, 29897, 334, 29871, 29896, 29900, 29900, 876, 13, 1678, 1596, 703, 26495, 931, 29901, 6571, 1642, 4830, 29898, 26495, 29918, 2230, 876, 13, 1678, 396, 2158, 703, 11249, 2159, 29901, 6571, 1642, 4830, 29898, 657, 29918, 11249, 29918, 2311, 29898, 29911, 4717, 1177, 29918, 7724, 4961, 13, 1678, 1596, 703, 1022, 2878, 29879, 29901, 6571, 1642, 4830, 29898, 1022, 2878, 29879, 876, 13, 1678, 1596, 703, 10892, 15359, 29901, 6571, 1642, 4830, 29898, 10892, 29918, 29277, 876, 13, 1678, 1596, 703, 10892, 7573, 29901, 6571, 1642, 4830, 29898, 10892, 29918, 18010, 876, 13, 1678, 1596, 703, 21891, 6554, 29901, 6571, 1642, 4830, 29898, 21891, 29918, 10492, 876, 13, 1678, 1596, 703, 29899, 29908, 334, 29871, 29896, 29945, 718, 6634, 29876, 1159, 13, 13, 1678, 565, 21681, 29901, 13, 4706, 1596, 14182, 29876, 29905, 29876, 5841, 1972, 292, 278, 3564, 1159, 13, 4706, 363, 474, 29892, 260, 297, 26985, 29898, 5182, 29918, 279, 1125, 13, 9651, 1967, 29918, 1272, 353, 302, 29876, 29889, 1627, 1972, 29898, 29873, 29897, 13, 9651, 14770, 29889, 326, 4294, 29898, 3027, 29918, 1272, 29889, 690, 14443, 29898, 29906, 29947, 29892, 29871, 29906, 29947, 511, 13, 462, 539, 274, 1958, 2433, 25120, 952, 742, 29694, 2433, 8516, 1495, 13, 9651, 14770, 29889, 3257, 703, 8667, 29901, 376, 718, 851, 29898, 29875, 876, 13, 9651, 14770, 29889, 4294, 580, 13, 1678, 1683, 29901, 13, 4706, 396, 4078, 1857, 1904, 304, 4833, 565, 372, 756, 2253, 13600, 13, 4706, 270, 353, 528, 13841, 29889, 3150, 29898, 14573, 29918, 7724, 29892, 2436, 1627, 29922, 5574, 29897, 13, 4706, 6475, 353, 270, 3366, 3757, 4339, 3108, 29871, 396, 13, 13, 4706, 396, 679, 1900, 13600, 13, 4706, 565, 6475, 29901, 29871, 396, 1051, 1818, 367, 1661, 29899, 6310, 13, 9651, 1857, 29918, 13318, 353, 1900, 29918, 562, 2764, 4135, 29898, 3757, 4339, 29897, 13, 9651, 396, 4078, 1904, 871, 565, 13600, 6133, 1135, 1857, 1900, 13, 9651, 565, 13600, 1405, 1857, 29918, 13318, 29901, 13, 18884, 396, 628, 270, 3366, 1272, 3108, 29871, 396, 14402, 29901, 338, 445, 4312, 29973, 470, 925, 2436, 1627, 29922, 5574, 29973, 13, 18884, 270, 3366, 4299, 3108, 353, 302, 29876, 29889, 13148, 29918, 705, 5861, 13, 13, 4706, 396, 4078, 1857, 3443, 731, 363, 2678, 7418, 13, 4706, 6475, 29889, 4397, 3319, 13, 9651, 376, 562, 2764, 4135, 1115, 29871, 29900, 29892, 13, 9651, 376, 10892, 29918, 29277, 1115, 29871, 29900, 29892, 13, 9651, 376, 10892, 29918, 18010, 1115, 29871, 29900, 29892, 13, 9651, 376, 21891, 29918, 10492, 1115, 29871, 29900, 29892, 13, 9651, 376, 26495, 29918, 2230, 1115, 6694, 29918, 2230, 29892, 13, 9651, 376, 1022, 2878, 29879, 1115, 29871, 29900, 1800, 13, 13, 4706, 396, 1016, 29915, 29873, 9566, 304, 3802, 4833, 3957, 13, 4706, 270, 29889, 5358, 580, 13, 13, 13, 1753, 2069, 29918, 2585, 7295, 13, 1678, 270, 353, 528, 13841, 29889, 3150, 29898, 14573, 29918, 7724, 29892, 2436, 1627, 29922, 5574, 29897, 13, 1678, 1018, 29901, 13, 4706, 270, 3366, 3757, 4339, 3108, 13, 1678, 5174, 7670, 2392, 29901, 13, 4706, 270, 3366, 3757, 4339, 3108, 353, 5159, 29871, 396, 11905, 6475, 1051, 13, 13, 1678, 1018, 29901, 13, 4706, 270, 3366, 4299, 3108, 13, 1678, 5174, 7670, 2392, 29901, 13, 4706, 270, 3366, 4299, 3108, 353, 5159, 29871, 396, 11905, 1904, 1051, 13, 13, 1678, 270, 29889, 5358, 580, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 9801, 29918, 5325, 580, 29871, 396, 5142, 6694, 322, 1243, 848, 565, 451, 2198, 13, 1678, 2069, 29918, 2585, 580, 29871, 396, 1207, 1854, 1820, 995, 11000, 526, 2198, 13, 1678, 565, 21681, 29901, 13, 4706, 1596, 703, 27795, 297, 21681, 4464, 7790, 29876, 29905, 29876, 1159, 13, 4706, 1065, 29918, 735, 15362, 29898, 10892, 29918, 29277, 29922, 29900, 29892, 7934, 29918, 18010, 29922, 29945, 29900, 29892, 6509, 29918, 10492, 29922, 29900, 29889, 29906, 29892, 21502, 12168, 29922, 29896, 29897, 13, 1678, 1683, 29901, 13, 4706, 1369, 29918, 2230, 353, 931, 580, 13, 4706, 1596, 703, 27795, 5769, 24737, 2346, 975, 4128, 7790, 29876, 29905, 29876, 1159, 13, 4706, 363, 7934, 29918, 29277, 297, 3464, 29898, 29906, 1125, 13, 9651, 363, 7934, 29918, 18010, 297, 518, 29945, 29900, 29892, 29871, 29947, 29900, 29892, 29871, 29896, 29945, 29900, 29892, 29871, 29906, 29900, 29900, 29892, 29871, 29941, 29900, 29900, 5387, 13, 18884, 363, 6509, 29918, 10492, 297, 518, 29900, 29889, 29900, 29945, 29892, 29871, 29900, 29889, 29896, 29892, 29871, 29900, 29889, 29906, 29892, 29871, 29900, 29889, 29941, 29892, 29871, 29900, 29889, 29945, 5387, 13, 462, 1678, 363, 21502, 12168, 297, 518, 29906, 29892, 29871, 29941, 29892, 29871, 29945, 5387, 13, 462, 4706, 1065, 29918, 735, 15362, 29898, 10892, 29918, 29277, 29892, 7934, 29918, 18010, 29892, 6509, 29918, 10492, 29892, 21502, 12168, 29897, 13, 4706, 931, 29918, 4181, 353, 931, 580, 448, 1369, 29918, 2230, 13, 13, 4706, 396, 1596, 777, 19138, 5281, 13964, 13, 4706, 270, 353, 528, 13841, 29889, 3150, 29898, 14573, 29918, 7724, 29892, 2436, 1627, 29922, 8824, 29897, 13, 4706, 6475, 353, 270, 3366, 3757, 4339, 3108, 13, 4706, 270, 29889, 5358, 580, 13, 13, 4706, 1857, 29918, 13318, 353, 1900, 29918, 562, 2764, 4135, 29898, 3757, 4339, 29897, 13, 4706, 1596, 703, 29899, 29908, 334, 29871, 29896, 29945, 29897, 13, 4706, 1596, 703, 25353, 13600, 29901, 6571, 1642, 4830, 3101, 13, 4706, 1596, 703, 11536, 6694, 931, 29901, 6571, 1642, 4830, 29898, 710, 29898, 12673, 29889, 9346, 287, 2554, 29898, 23128, 29922, 2230, 29918, 4181, 13697, 13, 4706, 1596, 703, 4557, 310, 15729, 29901, 6571, 1642, 4830, 29898, 2435, 29898, 3757, 4339, 4961, 13, 4706, 1596, 703, 17708, 2159, 29901, 6571, 1642, 4830, 29898, 657, 29918, 11249, 29918, 2311, 29898, 29911, 4717, 1177, 29918, 7724, 4961, 13, 4706, 1596, 703, 29899, 29908, 334, 29871, 29896, 29945, 29897, 13, 4706, 1596, 14182, 29876, 29905, 29876, 25353, 1904, 7160, 304, 4833, 934, 29889, 11028, 3025, 1820, 13218, 4299, 5931, 322, 505, 2090, 29991, 1159, 13, 2 ]
custom_components/ecowitt/sensor.py
synth3tk/homeassistant_ecowitt
15
51737
<gh_stars>10-100 """Support for Ecowitt Weather Stations.""" import logging import homeassistant.util.dt as dt_util from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN from homeassistant.components.sensor import SensorEntity from homeassistant.const import DEVICE_CLASS_BATTERY from homeassistant.const import DEVICE_CLASS_TIMESTAMP from homeassistant.const import PERCENTAGE from homeassistant.const import STATE_UNKNOWN from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import async_add_ecowitt_entities from . import EcowittEntity from .const import DOMAIN from .const import REG_ENTITIES from .const import SIGNAL_ADD_ENTITIES from .const import TYPE_SENSOR _LOGGER = logging.getLogger(__name__) async def async_setup_entry(hass, entry, async_add_entities): """Add sensors if new.""" def add_entities(discovery_info=None): async_add_ecowitt_entities( hass, entry, EcowittSensor, SENSOR_DOMAIN, async_add_entities, discovery_info, ) signal = f"{SIGNAL_ADD_ENTITIES}_{SENSOR_DOMAIN}" async_dispatcher_connect(hass, signal, add_entities) add_entities(hass.data[DOMAIN][entry.entry_id][REG_ENTITIES][TYPE_SENSOR]) class EcowittSensor(EcowittEntity, SensorEntity): def __init__(self, hass, entry, key, name, dc, uom, icon, sc): """Initialize the sensor.""" super().__init__(hass, entry, key, name) self._icon = icon self._uom = uom self._dc = dc self._sc = sc @property def native_value(self): """Return the state of the sensor.""" if self._key in self._ws.last_values: # The lightning time is reported in UTC, hooray. if self._dc == DEVICE_CLASS_TIMESTAMP: if not isinstance(self._ws.last_values[self._key], int): return STATE_UNKNOWN return dt_util.as_local( dt_util.utc_from_timestamp(self._ws.last_values[self._key]) ).isoformat() # Battery value is 0-5 if self._dc == DEVICE_CLASS_BATTERY and self._uom == PERCENTAGE: return self._ws.last_values[self._key] * 20.0 return self._ws.last_values[self._key] _LOGGER.warning( "Sensor %s not in last update, check range or battery", self._key ) return STATE_UNKNOWN @property def native_unit_of_measurement(self): """Return the unit of measurement.""" return self._uom @property def icon(self): """Return the icon to use in the fronend.""" return self._icon @property def device_class(self): """Return the device class.""" return self._dc @property def state_class(self): """Return the state_class of the device.""" return self._sc
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 15945, 29908, 14039, 363, 382, 20587, 986, 1334, 1624, 624, 800, 1213, 15945, 13, 5215, 12183, 13, 13, 5215, 3271, 465, 22137, 29889, 4422, 29889, 6008, 408, 11636, 29918, 4422, 13, 3166, 3271, 465, 22137, 29889, 14036, 29889, 29879, 6073, 1053, 11662, 29032, 408, 317, 1430, 29903, 1955, 29918, 3970, 29032, 13, 3166, 3271, 465, 22137, 29889, 14036, 29889, 29879, 6073, 1053, 317, 6073, 6691, 13, 3166, 3271, 465, 22137, 29889, 3075, 1053, 5012, 19059, 29918, 13875, 1799, 29918, 29933, 1299, 4945, 29979, 13, 3166, 3271, 465, 22137, 29889, 3075, 1053, 5012, 19059, 29918, 13875, 1799, 29918, 15307, 1254, 19297, 13, 3166, 3271, 465, 22137, 29889, 3075, 1053, 349, 1001, 29907, 3919, 10461, 13, 3166, 3271, 465, 22137, 29889, 3075, 1053, 6850, 3040, 29918, 3904, 29968, 6632, 16048, 13, 3166, 3271, 465, 22137, 29889, 3952, 6774, 29889, 13369, 261, 1053, 7465, 29918, 13369, 261, 29918, 6915, 13, 13, 3166, 869, 1053, 7465, 29918, 1202, 29918, 687, 340, 986, 29918, 296, 1907, 13, 3166, 869, 1053, 382, 20587, 986, 6691, 13, 3166, 869, 3075, 1053, 11662, 29032, 13, 3166, 869, 3075, 1053, 5195, 29954, 29918, 3919, 1806, 29059, 13, 3166, 869, 3075, 1053, 317, 17298, 1964, 29918, 17744, 29918, 3919, 1806, 29059, 13, 3166, 869, 3075, 1053, 323, 6959, 29918, 29903, 1430, 29903, 1955, 13, 13, 29918, 14480, 17070, 353, 12183, 29889, 657, 16363, 22168, 978, 1649, 29897, 13, 13, 13, 12674, 822, 7465, 29918, 14669, 29918, 8269, 29898, 29882, 465, 29892, 6251, 29892, 7465, 29918, 1202, 29918, 296, 1907, 1125, 13, 1678, 9995, 2528, 4771, 943, 565, 716, 1213, 15945, 13, 13, 1678, 822, 788, 29918, 296, 1907, 29898, 2218, 11911, 29891, 29918, 3888, 29922, 8516, 1125, 13, 4706, 7465, 29918, 1202, 29918, 687, 340, 986, 29918, 296, 1907, 29898, 13, 9651, 298, 465, 29892, 13, 9651, 6251, 29892, 13, 9651, 382, 20587, 986, 29903, 6073, 29892, 13, 9651, 317, 1430, 29903, 1955, 29918, 3970, 29032, 29892, 13, 9651, 7465, 29918, 1202, 29918, 296, 1907, 29892, 13, 9651, 20699, 29918, 3888, 29892, 13, 4706, 1723, 13, 13, 1678, 7182, 353, 285, 29908, 29912, 5425, 20728, 1964, 29918, 17744, 29918, 3919, 1806, 29059, 3227, 29903, 1430, 29903, 1955, 29918, 3970, 29032, 5038, 13, 1678, 7465, 29918, 13369, 261, 29918, 6915, 29898, 29882, 465, 29892, 7182, 29892, 788, 29918, 296, 1907, 29897, 13, 1678, 788, 29918, 296, 1907, 29898, 29882, 465, 29889, 1272, 29961, 3970, 29032, 3816, 8269, 29889, 8269, 29918, 333, 3816, 18166, 29918, 3919, 1806, 29059, 3816, 11116, 29918, 29903, 1430, 29903, 1955, 2314, 13, 13, 13, 1990, 382, 20587, 986, 29903, 6073, 29898, 29923, 20587, 986, 6691, 29892, 317, 6073, 6691, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 298, 465, 29892, 6251, 29892, 1820, 29892, 1024, 29892, 270, 29883, 29892, 318, 290, 29892, 9849, 29892, 885, 1125, 13, 4706, 9995, 6644, 6646, 278, 23530, 1213, 15945, 13, 4706, 2428, 2141, 1649, 2344, 12035, 29882, 465, 29892, 6251, 29892, 1820, 29892, 1024, 29897, 13, 4706, 1583, 3032, 4144, 353, 9849, 13, 4706, 1583, 3032, 29884, 290, 353, 318, 290, 13, 4706, 1583, 3032, 13891, 353, 270, 29883, 13, 4706, 1583, 3032, 1557, 353, 885, 13, 13, 1678, 732, 6799, 13, 1678, 822, 7531, 29918, 1767, 29898, 1311, 1125, 13, 4706, 9995, 11609, 278, 2106, 310, 278, 23530, 1213, 15945, 13, 4706, 565, 1583, 3032, 1989, 297, 1583, 3032, 5652, 29889, 4230, 29918, 5975, 29901, 13, 9651, 396, 450, 3578, 1076, 931, 338, 8967, 297, 17998, 29892, 5089, 272, 388, 29889, 13, 9651, 565, 1583, 3032, 13891, 1275, 5012, 19059, 29918, 13875, 1799, 29918, 15307, 1254, 19297, 29901, 13, 18884, 565, 451, 338, 8758, 29898, 1311, 3032, 5652, 29889, 4230, 29918, 5975, 29961, 1311, 3032, 1989, 1402, 938, 1125, 13, 462, 1678, 736, 6850, 3040, 29918, 3904, 29968, 6632, 16048, 13, 18884, 736, 11636, 29918, 4422, 29889, 294, 29918, 2997, 29898, 13, 462, 1678, 11636, 29918, 4422, 29889, 329, 29883, 29918, 3166, 29918, 16394, 29898, 1311, 3032, 5652, 29889, 4230, 29918, 5975, 29961, 1311, 3032, 1989, 2314, 13, 18884, 13742, 10718, 4830, 580, 13, 9651, 396, 350, 2620, 29891, 995, 338, 29871, 29900, 29899, 29945, 13, 9651, 565, 1583, 3032, 13891, 1275, 5012, 19059, 29918, 13875, 1799, 29918, 29933, 1299, 4945, 29979, 322, 1583, 3032, 29884, 290, 1275, 349, 1001, 29907, 3919, 10461, 29901, 13, 18884, 736, 1583, 3032, 5652, 29889, 4230, 29918, 5975, 29961, 1311, 3032, 1989, 29962, 334, 29871, 29906, 29900, 29889, 29900, 13, 9651, 736, 1583, 3032, 5652, 29889, 4230, 29918, 5975, 29961, 1311, 3032, 1989, 29962, 13, 4706, 903, 14480, 17070, 29889, 27392, 29898, 13, 9651, 376, 29903, 6073, 1273, 29879, 451, 297, 1833, 2767, 29892, 1423, 3464, 470, 16988, 613, 1583, 3032, 1989, 13, 4706, 1723, 13, 4706, 736, 6850, 3040, 29918, 3904, 29968, 6632, 16048, 13, 13, 1678, 732, 6799, 13, 1678, 822, 7531, 29918, 5441, 29918, 974, 29918, 26658, 358, 29898, 1311, 1125, 13, 4706, 9995, 11609, 278, 5190, 310, 20039, 1213, 15945, 13, 4706, 736, 1583, 3032, 29884, 290, 13, 13, 1678, 732, 6799, 13, 1678, 822, 9849, 29898, 1311, 1125, 13, 4706, 9995, 11609, 278, 9849, 304, 671, 297, 278, 1424, 265, 355, 1213, 15945, 13, 4706, 736, 1583, 3032, 4144, 13, 13, 1678, 732, 6799, 13, 1678, 822, 4742, 29918, 1990, 29898, 1311, 1125, 13, 4706, 9995, 11609, 278, 4742, 770, 1213, 15945, 13, 4706, 736, 1583, 3032, 13891, 13, 13, 1678, 732, 6799, 13, 1678, 822, 2106, 29918, 1990, 29898, 1311, 1125, 13, 4706, 9995, 11609, 278, 2106, 29918, 1990, 310, 278, 4742, 1213, 15945, 13, 4706, 736, 1583, 3032, 1557, 13, 2 ]
laboratorios/4-Analisis-algoritmos-2/B - Friend Circle Queries.py
yeisonbarreto/ayed-2019-1
0
155854
from sys import stdin def main(): print('Número de enteros a procesar') n = stdin.readline().strip() f = [] print('Secuencia de consultas') cont = 1 for i in range(int(n)): x = stdin.readline().strip().split(' ') if x in f: print('2') elif x[0] in f: cont += 1 f += (x[1]) elif x[1] in f: cont += 1 f += (x[0]) else: cont += 1 f += (x) print('2') print(cont) main()
[ 1, 515, 10876, 1053, 3659, 262, 13, 1753, 1667, 7295, 13, 1678, 1596, 877, 29940, 30030, 1050, 29877, 316, 3896, 359, 263, 14177, 279, 1495, 13, 1678, 302, 353, 3659, 262, 29889, 949, 1220, 2141, 17010, 580, 13, 1678, 285, 353, 5159, 13, 1678, 1596, 877, 7898, 3837, 1512, 316, 8799, 294, 1495, 13, 1678, 640, 353, 29871, 29896, 13, 1678, 363, 474, 297, 3464, 29898, 524, 29898, 29876, 22164, 13, 4706, 921, 353, 3659, 262, 29889, 949, 1220, 2141, 17010, 2141, 5451, 877, 25710, 13, 4706, 565, 921, 297, 285, 29901, 13, 9651, 1596, 877, 29906, 1495, 13, 4706, 25342, 921, 29961, 29900, 29962, 297, 285, 29901, 13, 9651, 640, 4619, 29871, 29896, 13, 9651, 285, 4619, 313, 29916, 29961, 29896, 2314, 13, 4706, 25342, 921, 29961, 29896, 29962, 297, 285, 29901, 13, 9651, 640, 4619, 29871, 29896, 13, 9651, 285, 4619, 313, 29916, 29961, 29900, 2314, 13, 4706, 1683, 29901, 13, 9651, 640, 4619, 29871, 29896, 13, 9651, 285, 4619, 313, 29916, 29897, 13, 9651, 1596, 877, 29906, 1495, 13, 1678, 1596, 29898, 1285, 29897, 13, 3396, 580, 13, 2 ]
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_telnet_mgmt_cfg.py
tkamata-test/ydk-py
0
30753
<reponame>tkamata-test/ydk-py """ Cisco_IOS_XR_ipv4_telnet_mgmt_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR ipv4\-telnet\-mgmt package configuration. This module contains definitions for the following management objects\: telnet\: Global Telnet configuration commands Copyright (c) 2013\-2016 by Cisco Systems, Inc. All rights reserved. """ import re import collections from enum import Enum from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict from ydk.errors import YPYError, YPYModelError class Telnet(object): """ Global Telnet configuration commands .. attribute:: vrfs VRF name for telnet service **type**\: :py:class:`Vrfs <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_telnet_mgmt_cfg.Telnet.Vrfs>` """ _prefix = 'ipv4-telnet-mgmt-cfg' _revision = '2015-11-09' def __init__(self): self.vrfs = Telnet.Vrfs() self.vrfs.parent = self class Vrfs(object): """ VRF name for telnet service .. attribute:: vrf VRF name for telnet service **type**\: list of :py:class:`Vrf <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_telnet_mgmt_cfg.Telnet.Vrfs.Vrf>` """ _prefix = 'ipv4-telnet-mgmt-cfg' _revision = '2015-11-09' def __init__(self): self.parent = None self.vrf = YList() self.vrf.parent = self self.vrf.name = 'vrf' class Vrf(object): """ VRF name for telnet service .. attribute:: vrf_name <key> VRF name **type**\: str **pattern:** [\\w\\\-\\.\:,\_@#%$\\+=\\\|;]+ .. attribute:: ipv4 IPv4 configuration **type**\: :py:class:`Ipv4 <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_telnet_mgmt_cfg.Telnet.Vrfs.Vrf.Ipv4>` """ _prefix = 'ipv4-telnet-mgmt-cfg' _revision = '2015-11-09' def __init__(self): self.parent = None self.vrf_name = None self.ipv4 = Telnet.Vrfs.Vrf.Ipv4() self.ipv4.parent = self class Ipv4(object): """ IPv4 configuration .. attribute:: dscp Specify the DSCP value **type**\: int **range:** 0..63 """ _prefix = 'ipv4-telnet-mgmt-cfg' _revision = '2015-11-09' def __init__(self): self.parent = None self.dscp = None @property def _common_path(self): if self.parent is None: raise YPYModelError('parent is not set . Cannot derive path.') return self.parent._common_path +'/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:ipv4' def is_config(self): ''' Returns True if this instance represents config data else returns False ''' return True def _has_data(self): if not self.is_config(): return False if self.dscp is not None: return True return False @staticmethod def _meta_info(): from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_ipv4_telnet_mgmt_cfg as meta return meta._meta_table['Telnet.Vrfs.Vrf.Ipv4']['meta_info'] @property def _common_path(self): if self.vrf_name is None: raise YPYModelError('Key property vrf_name is None') return '/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:telnet/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:vrfs/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:vrf[Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:vrf-name = ' + str(self.vrf_name) + ']' def is_config(self): ''' Returns True if this instance represents config data else returns False ''' return True def _has_data(self): if not self.is_config(): return False if self.vrf_name is not None: return True if self.ipv4 is not None and self.ipv4._has_data(): return True return False @staticmethod def _meta_info(): from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_ipv4_telnet_mgmt_cfg as meta return meta._meta_table['Telnet.Vrfs.Vrf']['meta_info'] @property def _common_path(self): return '/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:telnet/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:vrfs' def is_config(self): ''' Returns True if this instance represents config data else returns False ''' return True def _has_data(self): if not self.is_config(): return False if self.vrf is not None: for child_ref in self.vrf: if child_ref._has_data(): return True return False @staticmethod def _meta_info(): from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_ipv4_telnet_mgmt_cfg as meta return meta._meta_table['Telnet.Vrfs']['meta_info'] @property def _common_path(self): return '/Cisco-IOS-XR-ipv4-telnet-mgmt-cfg:telnet' def is_config(self): ''' Returns True if this instance represents config data else returns False ''' return True def _has_data(self): if not self.is_config(): return False if self.vrfs is not None and self.vrfs._has_data(): return True return False @staticmethod def _meta_info(): from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_ipv4_telnet_mgmt_cfg as meta return meta._meta_table['Telnet']['meta_info']
[ 1, 529, 276, 1112, 420, 29958, 11178, 314, 532, 29899, 1688, 29914, 2941, 29895, 29899, 2272, 13, 15945, 29908, 315, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 29871, 13, 13, 4013, 3883, 3743, 263, 4333, 310, 612, 19453, 15848, 13, 1454, 315, 275, 1111, 306, 3267, 29905, 29899, 29990, 29934, 10377, 29894, 29946, 29905, 29899, 28497, 1212, 29905, 29899, 29885, 29887, 4378, 3577, 5285, 29889, 13, 13, 4013, 3883, 3743, 15848, 13, 1454, 278, 1494, 10643, 3618, 29905, 29901, 13, 29871, 13547, 1212, 29905, 29901, 12002, 18815, 1212, 5285, 8260, 13, 13, 11882, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29941, 29905, 29899, 29906, 29900, 29896, 29953, 491, 315, 275, 1111, 23985, 29892, 9266, 29889, 13, 3596, 10462, 21676, 29889, 13, 13, 15945, 29908, 13, 13, 13, 5215, 337, 13, 5215, 16250, 13, 13, 3166, 14115, 1053, 1174, 398, 13, 13, 3166, 343, 8181, 29889, 8768, 1053, 2812, 2349, 29892, 612, 1293, 29892, 612, 3226, 2142, 1293, 29892, 5012, 18476, 29892, 3826, 3039, 29953, 29946, 29892, 383, 11925, 29933, 1169, 21533, 13, 13, 3166, 343, 8181, 29889, 12523, 1053, 612, 20055, 2392, 29892, 612, 20055, 3195, 2392, 13, 13, 13, 13, 13, 1990, 18815, 1212, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 12002, 18815, 1212, 5285, 8260, 13, 268, 13, 1678, 6317, 5352, 1057, 11723, 5847, 13, 268, 13, 268, 12, 29963, 29934, 29943, 1024, 363, 13547, 1212, 2669, 13, 268, 12, 1068, 1853, 1068, 29905, 29901, 259, 584, 2272, 29901, 1990, 18078, 29963, 29878, 5847, 529, 2941, 29895, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 29889, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 29889, 29911, 295, 1212, 29889, 29963, 29878, 5847, 13885, 13, 268, 13, 268, 13, 13, 1678, 9995, 13, 13, 1678, 903, 13506, 353, 525, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29915, 13, 1678, 903, 276, 4924, 353, 525, 29906, 29900, 29896, 29945, 29899, 29896, 29896, 29899, 29900, 29929, 29915, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1583, 29889, 13416, 5847, 353, 18815, 1212, 29889, 29963, 29878, 5847, 580, 13, 4706, 1583, 29889, 13416, 5847, 29889, 3560, 353, 1583, 13, 13, 13, 1678, 770, 478, 29878, 5847, 29898, 3318, 1125, 13, 4706, 9995, 13, 4706, 478, 29934, 29943, 1024, 363, 13547, 1212, 2669, 13, 308, 13, 4706, 6317, 5352, 1057, 325, 9600, 13, 308, 13, 308, 12, 29963, 29934, 29943, 1024, 363, 13547, 1212, 2669, 13, 308, 12, 1068, 1853, 1068, 29905, 29901, 1051, 310, 1678, 584, 2272, 29901, 1990, 18078, 29963, 9600, 529, 2941, 29895, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 29889, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 29889, 29911, 295, 1212, 29889, 29963, 29878, 5847, 29889, 29963, 9600, 13885, 13, 308, 13, 308, 13, 13, 4706, 9995, 13, 13, 4706, 903, 13506, 353, 525, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29915, 13, 4706, 903, 276, 4924, 353, 525, 29906, 29900, 29896, 29945, 29899, 29896, 29896, 29899, 29900, 29929, 29915, 13, 13, 4706, 822, 4770, 2344, 12035, 1311, 1125, 13, 9651, 1583, 29889, 3560, 353, 6213, 13, 9651, 1583, 29889, 29894, 9600, 353, 612, 1293, 580, 13, 9651, 1583, 29889, 29894, 9600, 29889, 3560, 353, 1583, 13, 9651, 1583, 29889, 29894, 9600, 29889, 978, 353, 525, 29894, 9600, 29915, 13, 13, 13, 4706, 770, 478, 9600, 29898, 3318, 1125, 13, 9651, 9995, 13, 9651, 478, 29934, 29943, 1024, 363, 13547, 1212, 2669, 13, 632, 13, 9651, 6317, 5352, 1057, 325, 9600, 29918, 978, 29871, 529, 1989, 29958, 13, 632, 13, 632, 12, 29963, 29934, 29943, 1024, 13, 632, 12, 1068, 1853, 1068, 29905, 29901, 29871, 851, 13, 632, 13, 632, 12, 1068, 11037, 29901, 1068, 518, 1966, 29893, 1966, 29905, 29899, 1966, 7790, 29901, 2053, 29918, 29992, 29937, 29995, 29938, 1966, 23661, 1966, 7893, 29936, 10062, 13, 632, 13, 9651, 6317, 5352, 1057, 10377, 29894, 29946, 13, 632, 13, 632, 12, 5690, 29894, 29946, 5285, 13, 632, 12, 1068, 1853, 1068, 29905, 29901, 259, 584, 2272, 29901, 1990, 18078, 29902, 29886, 29894, 29946, 529, 2941, 29895, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 29889, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 29889, 29911, 295, 1212, 29889, 29963, 29878, 5847, 29889, 29963, 9600, 29889, 29902, 29886, 29894, 29946, 13885, 13, 632, 13, 632, 13, 13, 9651, 9995, 13, 13, 9651, 903, 13506, 353, 525, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29915, 13, 9651, 903, 276, 4924, 353, 525, 29906, 29900, 29896, 29945, 29899, 29896, 29896, 29899, 29900, 29929, 29915, 13, 13, 9651, 822, 4770, 2344, 12035, 1311, 1125, 13, 18884, 1583, 29889, 3560, 353, 6213, 13, 18884, 1583, 29889, 29894, 9600, 29918, 978, 353, 6213, 13, 18884, 1583, 29889, 666, 29894, 29946, 353, 18815, 1212, 29889, 29963, 29878, 5847, 29889, 29963, 9600, 29889, 29902, 29886, 29894, 29946, 580, 13, 18884, 1583, 29889, 666, 29894, 29946, 29889, 3560, 353, 1583, 13, 13, 13, 9651, 770, 306, 29886, 29894, 29946, 29898, 3318, 1125, 13, 18884, 9995, 13, 18884, 5641, 29894, 29946, 5285, 13, 462, 13, 18884, 6317, 5352, 1057, 270, 1557, 29886, 13, 462, 13, 462, 12, 10299, 1598, 278, 360, 29903, 6271, 995, 13, 462, 12, 1068, 1853, 1068, 29905, 29901, 29871, 938, 13, 462, 13, 462, 12, 1068, 3881, 29901, 1068, 29871, 29900, 636, 29953, 29941, 13, 462, 13, 462, 13, 13, 18884, 9995, 13, 13, 18884, 903, 13506, 353, 525, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29915, 13, 18884, 903, 276, 4924, 353, 525, 29906, 29900, 29896, 29945, 29899, 29896, 29896, 29899, 29900, 29929, 29915, 13, 13, 18884, 822, 4770, 2344, 12035, 1311, 1125, 13, 462, 1678, 1583, 29889, 3560, 353, 6213, 13, 462, 1678, 1583, 29889, 29881, 1557, 29886, 353, 6213, 13, 13, 18884, 732, 6799, 13, 18884, 822, 903, 9435, 29918, 2084, 29898, 1311, 1125, 13, 462, 1678, 565, 1583, 29889, 3560, 338, 6213, 29901, 13, 462, 4706, 12020, 612, 20055, 3195, 2392, 877, 3560, 338, 451, 731, 869, 15808, 21340, 2224, 29889, 1495, 13, 13, 462, 1678, 736, 1583, 29889, 3560, 3032, 9435, 29918, 2084, 718, 29915, 29914, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 666, 29894, 29946, 29915, 13, 13, 18884, 822, 338, 29918, 2917, 29898, 1311, 1125, 13, 462, 1678, 14550, 16969, 5852, 565, 445, 2777, 11524, 2295, 848, 1683, 3639, 7700, 14550, 13, 462, 1678, 736, 5852, 13, 13, 18884, 822, 903, 5349, 29918, 1272, 29898, 1311, 1125, 13, 462, 1678, 565, 451, 1583, 29889, 275, 29918, 2917, 7295, 13, 462, 4706, 736, 7700, 13, 462, 1678, 565, 1583, 29889, 29881, 1557, 29886, 338, 451, 6213, 29901, 13, 462, 4706, 736, 5852, 13, 13, 462, 1678, 736, 7700, 13, 13, 18884, 732, 7959, 5696, 13, 18884, 822, 903, 7299, 29918, 3888, 7295, 13, 462, 1678, 515, 343, 8181, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 3032, 7299, 1053, 903, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 408, 12700, 13, 462, 1678, 736, 12700, 3032, 7299, 29918, 2371, 1839, 29911, 295, 1212, 29889, 29963, 29878, 5847, 29889, 29963, 9600, 29889, 29902, 29886, 29894, 29946, 16215, 7299, 29918, 3888, 2033, 13, 13, 9651, 732, 6799, 13, 9651, 822, 903, 9435, 29918, 2084, 29898, 1311, 1125, 13, 18884, 565, 1583, 29889, 29894, 9600, 29918, 978, 338, 6213, 29901, 13, 462, 1678, 12020, 612, 20055, 3195, 2392, 877, 2558, 2875, 325, 9600, 29918, 978, 338, 6213, 1495, 13, 13, 18884, 736, 8207, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 28497, 1212, 29914, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 13416, 5847, 29914, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 29894, 9600, 29961, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 29894, 9600, 29899, 978, 353, 525, 718, 851, 29898, 1311, 29889, 29894, 9600, 29918, 978, 29897, 718, 525, 29962, 29915, 13, 13, 9651, 822, 338, 29918, 2917, 29898, 1311, 1125, 13, 18884, 14550, 16969, 5852, 565, 445, 2777, 11524, 2295, 848, 1683, 3639, 7700, 14550, 13, 18884, 736, 5852, 13, 13, 9651, 822, 903, 5349, 29918, 1272, 29898, 1311, 1125, 13, 18884, 565, 451, 1583, 29889, 275, 29918, 2917, 7295, 13, 462, 1678, 736, 7700, 13, 18884, 565, 1583, 29889, 29894, 9600, 29918, 978, 338, 451, 6213, 29901, 13, 462, 1678, 736, 5852, 13, 13, 18884, 565, 1583, 29889, 666, 29894, 29946, 338, 451, 6213, 322, 1583, 29889, 666, 29894, 29946, 3032, 5349, 29918, 1272, 7295, 13, 462, 1678, 736, 5852, 13, 13, 18884, 736, 7700, 13, 13, 9651, 732, 7959, 5696, 13, 9651, 822, 903, 7299, 29918, 3888, 7295, 13, 18884, 515, 343, 8181, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 3032, 7299, 1053, 903, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 408, 12700, 13, 18884, 736, 12700, 3032, 7299, 29918, 2371, 1839, 29911, 295, 1212, 29889, 29963, 29878, 5847, 29889, 29963, 9600, 16215, 7299, 29918, 3888, 2033, 13, 13, 4706, 732, 6799, 13, 4706, 822, 903, 9435, 29918, 2084, 29898, 1311, 1125, 13, 13, 9651, 736, 8207, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 28497, 1212, 29914, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 13416, 5847, 29915, 13, 13, 4706, 822, 338, 29918, 2917, 29898, 1311, 1125, 13, 9651, 14550, 16969, 5852, 565, 445, 2777, 11524, 2295, 848, 1683, 3639, 7700, 14550, 13, 9651, 736, 5852, 13, 13, 4706, 822, 903, 5349, 29918, 1272, 29898, 1311, 1125, 13, 9651, 565, 451, 1583, 29889, 275, 29918, 2917, 7295, 13, 18884, 736, 7700, 13, 9651, 565, 1583, 29889, 29894, 9600, 338, 451, 6213, 29901, 13, 18884, 363, 2278, 29918, 999, 297, 1583, 29889, 29894, 9600, 29901, 13, 462, 1678, 565, 2278, 29918, 999, 3032, 5349, 29918, 1272, 7295, 13, 462, 4706, 736, 5852, 13, 13, 9651, 736, 7700, 13, 13, 4706, 732, 7959, 5696, 13, 4706, 822, 903, 7299, 29918, 3888, 7295, 13, 9651, 515, 343, 8181, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 3032, 7299, 1053, 903, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 408, 12700, 13, 9651, 736, 12700, 3032, 7299, 29918, 2371, 1839, 29911, 295, 1212, 29889, 29963, 29878, 5847, 16215, 7299, 29918, 3888, 2033, 13, 13, 1678, 732, 6799, 13, 1678, 822, 903, 9435, 29918, 2084, 29898, 1311, 1125, 13, 13, 4706, 736, 8207, 29907, 275, 1111, 29899, 25925, 29899, 29990, 29934, 29899, 666, 29894, 29946, 29899, 28497, 1212, 29899, 29885, 29887, 4378, 29899, 16859, 29901, 28497, 1212, 29915, 13, 13, 1678, 822, 338, 29918, 2917, 29898, 1311, 1125, 13, 4706, 14550, 16969, 5852, 565, 445, 2777, 11524, 2295, 848, 1683, 3639, 7700, 14550, 13, 4706, 736, 5852, 13, 13, 1678, 822, 903, 5349, 29918, 1272, 29898, 1311, 1125, 13, 4706, 565, 451, 1583, 29889, 275, 29918, 2917, 7295, 13, 9651, 736, 7700, 13, 4706, 565, 1583, 29889, 13416, 5847, 338, 451, 6213, 322, 1583, 29889, 13416, 5847, 3032, 5349, 29918, 1272, 7295, 13, 9651, 736, 5852, 13, 13, 4706, 736, 7700, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 7299, 29918, 3888, 7295, 13, 4706, 515, 343, 8181, 29889, 9794, 29889, 3476, 1111, 29918, 2363, 29918, 29916, 29878, 3032, 7299, 1053, 903, 29907, 275, 1111, 29918, 25925, 29918, 29990, 29934, 29918, 666, 29894, 29946, 29918, 28497, 1212, 29918, 29885, 29887, 4378, 29918, 16859, 408, 12700, 13, 4706, 736, 12700, 3032, 7299, 29918, 2371, 1839, 29911, 295, 1212, 16215, 7299, 29918, 3888, 2033, 13, 13, 13, 2 ]
Lib/contextlib.py
uburuntu/cpython
0
130199
<filename>Lib/contextlib.py """Utilities for with-statement contexts. See PEP 343.""" import abc import sys import _collections_abc from collections import deque from functools import wraps from types import MethodType, GenericAlias __all__ = ["asynccontextmanager", "contextmanager", "closing", "nullcontext", "AbstractContextManager", "AbstractAsyncContextManager", "AsyncExitStack", "ContextDecorator", "ExitStack", "redirect_stdout", "redirect_stderr", "suppress", "aclosing"] class AbstractContextManager(abc.ABC): """An abstract base class for context managers.""" __class_getitem__ = classmethod(GenericAlias) def __enter__(self): """Return `self` upon entering the runtime context.""" return self @abc.abstractmethod def __exit__(self, exc_type, exc_value, traceback): """Raise any exception triggered within the runtime context.""" return None @classmethod def __subclasshook__(cls, C): if cls is AbstractContextManager: return _collections_abc._check_methods(C, "__enter__", "__exit__") return NotImplemented class AbstractAsyncContextManager(abc.ABC): """An abstract base class for asynchronous context managers.""" __class_getitem__ = classmethod(GenericAlias) async def __aenter__(self): """Return `self` upon entering the runtime context.""" return self @abc.abstractmethod async def __aexit__(self, exc_type, exc_value, traceback): """Raise any exception triggered within the runtime context.""" return None @classmethod def __subclasshook__(cls, C): if cls is AbstractAsyncContextManager: return _collections_abc._check_methods(C, "__aenter__", "__aexit__") return NotImplemented class ContextDecorator(object): "A base class or mixin that enables context managers to work as decorators." def _recreate_cm(self): """Return a recreated instance of self. Allows an otherwise one-shot context manager like _GeneratorContextManager to support use as a decorator via implicit recreation. This is a private interface just for _GeneratorContextManager. See issue #11647 for details. """ return self def __call__(self, func): @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): return func(*args, **kwds) return inner class AsyncContextDecorator(object): "A base class or mixin that enables async context managers to work as decorators." def _recreate_cm(self): """Return a recreated instance of self. """ return self def __call__(self, func): @wraps(func) async def inner(*args, **kwds): async with self._recreate_cm(): return await func(*args, **kwds) return inner class _GeneratorContextManagerBase: """Shared functionality for @contextmanager and @asynccontextmanager.""" def __init__(self, func, args, kwds): self.gen = func(*args, **kwds) self.func, self.args, self.kwds = func, args, kwds # Issue 19330: ensure context manager instances have good docstrings doc = getattr(func, "__doc__", None) if doc is None: doc = type(self).__doc__ self.__doc__ = doc # Unfortunately, this still doesn't provide good help output when # inspecting the created context manager instances, since pydoc # currently bypasses the instance docstring and shows the docstring # for the class instead. # See http://bugs.python.org/issue19404 for more details. def _recreate_cm(self): # _GCMB instances are one-shot context managers, so the # CM must be recreated each time a decorated function is # called return self.__class__(self.func, self.args, self.kwds) class _GeneratorContextManager( _GeneratorContextManagerBase, AbstractContextManager, ContextDecorator, ): """Helper for @contextmanager decorator.""" def __enter__(self): # do not keep args and kwds alive unnecessarily # they are only needed for recreation, which is not possible anymore del self.args, self.kwds, self.func try: return next(self.gen) except StopIteration: raise RuntimeError("generator didn't yield") from None def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: raise RuntimeError("generator didn't stop") else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(typ, value, traceback) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise return False raise RuntimeError("generator didn't stop after throw()") class _AsyncGeneratorContextManager( _GeneratorContextManagerBase, AbstractAsyncContextManager, AsyncContextDecorator, ): """Helper for @asynccontextmanager decorator.""" def __call__(self, func): @wraps(func) async def inner(*args, **kwds): async with self.__class__(self.func, self.args, self.kwds): return await func(*args, **kwds) return inner async def __aenter__(self): # do not keep args and kwds alive unnecessarily # they are only needed for recreation, which is not possible anymore del self.args, self.kwds, self.func try: return await anext(self.gen) except StopAsyncIteration: raise RuntimeError("generator didn't yield") from None async def __aexit__(self, typ, value, traceback): if typ is None: try: await anext(self.gen) except StopAsyncIteration: return False else: raise RuntimeError("generator didn't stop") else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: await self.gen.athrow(typ, value, traceback) except StopAsyncIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: return False # Avoid suppressing if a Stop(Async)Iteration exception # was passed to athrow() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, (StopIteration, StopAsyncIteration)) and exc.__cause__ is value ): return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise return False raise RuntimeError("generator didn't stop after athrow()") def contextmanager(func): """@contextmanager decorator. Typical usage: @contextmanager def some_generator(<arguments>): <setup> try: yield <value> finally: <cleanup> This makes this: with some_generator(<arguments>) as <variable>: <body> equivalent to this: <setup> try: <variable> = <value> <body> finally: <cleanup> """ @wraps(func) def helper(*args, **kwds): return _GeneratorContextManager(func, args, kwds) return helper def asynccontextmanager(func): """@asynccontextmanager decorator. Typical usage: @asynccontextmanager async def some_async_generator(<arguments>): <setup> try: yield <value> finally: <cleanup> This makes this: async with some_async_generator(<arguments>) as <variable>: <body> equivalent to this: <setup> try: <variable> = <value> <body> finally: <cleanup> """ @wraps(func) def helper(*args, **kwds): return _AsyncGeneratorContextManager(func, args, kwds) return helper class closing(AbstractContextManager, AbstractAsyncContextManager): """Context to automatically close something at the end of a block. Code like this: with closing(<module>.open(<arguments>)) as f: <block> is equivalent to this: f = <module>.open(<arguments>) try: <block> finally: f.close() In asynchronous case, code like this: async with closing(<module>.open(<arguments>)) as f: <block> is equivalent to this: f = <module>.open(<arguments>) try: <block> finally: await f.aclose() """ def __init__(self, thing): self.thing = thing def __enter__(self): return self.thing def __exit__(self, *exc_info): self.thing.close() async def __aenter__(self): return self.thing async def __aexit__(self, *exc_info): await self.thing.aclose() class aclosing(AbstractAsyncContextManager): """Async context manager for safely finalizing an asynchronously cleaned-up resource such as an async generator, calling its ``aclose()`` method. Code like this: async with aclosing(<module>.fetch(<arguments>)) as agen: <block> is equivalent to this: agen = <module>.fetch(<arguments>) try: <block> finally: await agen.aclose() """ def __init__(self, thing): self.thing = thing async def __aenter__(self): return self.thing async def __aexit__(self, *exc_info): await self.thing.aclose() class _RedirectStream(AbstractContextManager): _stream = None def __init__(self, new_target): self._new_target = new_target # We use a list of old targets to make this CM re-entrant self._old_targets = [] def __enter__(self): self._old_targets.append(getattr(sys, self._stream)) setattr(sys, self._stream, self._new_target) return self._new_target def __exit__(self, exctype, excinst, exctb): setattr(sys, self._stream, self._old_targets.pop()) class redirect_stdout(_RedirectStream): """Context manager for temporarily redirecting stdout to another file. # How to send help() to stderr with redirect_stdout(sys.stderr): help(dir) # How to write help() to a file with open('help.txt', 'w') as f: with redirect_stdout(f): help(pow) """ _stream = "stdout" class redirect_stderr(_RedirectStream): """Context manager for temporarily redirecting stderr to another file.""" _stream = "stderr" class suppress(AbstractContextManager): """Context manager to suppress specified exceptions After the exception is suppressed, execution proceeds with the next statement following the with statement. with suppress(FileNotFoundError): os.remove(somefile) # Execution still resumes here if the file was already removed """ def __init__(self, *exceptions): self._exceptions = exceptions def __enter__(self): pass def __exit__(self, exctype, excinst, exctb): # Unlike isinstance and issubclass, CPython exception handling # currently only looks at the concrete type hierarchy (ignoring # the instance and subclass checking hooks). While Guido considers # that a bug rather than a feature, it's a fairly hard one to fix # due to various internal implementation details. suppress provides # the simpler issubclass based semantics, rather than trying to # exactly reproduce the limitations of the CPython interpreter. # # See http://bugs.python.org/issue12029 for more details return exctype is not None and issubclass(exctype, self._exceptions) class _BaseExitStack: """A base class for ExitStack and AsyncExitStack.""" @staticmethod def _create_exit_wrapper(cm, cm_exit): return MethodType(cm_exit, cm) @staticmethod def _create_cb_wrapper(callback, /, *args, **kwds): def _exit_wrapper(exc_type, exc, tb): callback(*args, **kwds) return _exit_wrapper def __init__(self): self._exit_callbacks = deque() def pop_all(self): """Preserve the context stack by transferring it to a new instance.""" new_stack = type(self)() new_stack._exit_callbacks = self._exit_callbacks self._exit_callbacks = deque() return new_stack def push(self, exit): """Registers a callback with the standard __exit__ method signature. Can suppress exceptions the same way __exit__ method can. Also accepts any object with an __exit__ method (registering a call to the method instead of the object itself). """ # We use an unbound method rather than a bound method to follow # the standard lookup behaviour for special methods. _cb_type = type(exit) try: exit_method = _cb_type.__exit__ except AttributeError: # Not a context manager, so assume it's a callable. self._push_exit_callback(exit) else: self._push_cm_exit(exit, exit_method) return exit # Allow use as a decorator. def enter_context(self, cm): """Enters the supplied context manager. If successful, also pushes its __exit__ method as a callback and returns the result of the __enter__ method. """ # We look up the special methods on the type to match the with # statement. cls = type(cm) try: _enter = cls.__enter__ _exit = cls.__exit__ except AttributeError: raise TypeError(f"'{cls.__module__}.{cls.__qualname__}' object does " f"not support the context manager protocol") from None result = _enter(cm) self._push_cm_exit(cm, _exit) return result def callback(self, callback, /, *args, **kwds): """Registers an arbitrary callback and arguments. Cannot suppress exceptions. """ _exit_wrapper = self._create_cb_wrapper(callback, *args, **kwds) # We changed the signature, so using @wraps is not appropriate, but # setting __wrapped__ may still help with introspection. _exit_wrapper.__wrapped__ = callback self._push_exit_callback(_exit_wrapper) return callback # Allow use as a decorator def _push_cm_exit(self, cm, cm_exit): """Helper to correctly register callbacks to __exit__ methods.""" _exit_wrapper = self._create_exit_wrapper(cm, cm_exit) self._push_exit_callback(_exit_wrapper, True) def _push_exit_callback(self, callback, is_sync=True): self._exit_callbacks.append((is_sync, callback)) # Inspired by discussions on http://bugs.python.org/issue13585 class ExitStack(_BaseExitStack, AbstractContextManager): """Context manager for dynamic management of a stack of exit callbacks. For example: with ExitStack() as stack: files = [stack.enter_context(open(fname)) for fname in filenames] # All opened files will automatically be closed at the end of # the with statement, even if attempts to open files later # in the list raise an exception. """ def __enter__(self): return self def __exit__(self, *exc_details): received_exc = exc_details[0] is not None # We manipulate the exception state so it behaves as though # we were actually nesting multiple with statements frame_exc = sys.exc_info()[1] def _fix_exception_context(new_exc, old_exc): # Context may not be correct, so find the end of the chain while 1: exc_context = new_exc.__context__ if exc_context is old_exc: # Context is already set correctly (see issue 20317) return if exc_context is None or exc_context is frame_exc: break new_exc = exc_context # Change the end of the chain to point to the exception # we expect it to reference new_exc.__context__ = old_exc # Callbacks are invoked in LIFO order to match the behaviour of # nested context managers suppressed_exc = False pending_raise = False while self._exit_callbacks: is_sync, cb = self._exit_callbacks.pop() assert is_sync try: if cb(*exc_details): suppressed_exc = True pending_raise = False exc_details = (None, None, None) except: new_exc_details = sys.exc_info() # simulate the stack of exceptions by setting the context _fix_exception_context(new_exc_details[1], exc_details[1]) pending_raise = True exc_details = new_exc_details if pending_raise: try: # bare "raise exc_details[1]" replaces our carefully # set-up context fixed_ctx = exc_details[1].__context__ raise exc_details[1] except BaseException: exc_details[1].__context__ = fixed_ctx raise return received_exc and suppressed_exc def close(self): """Immediately unwind the context stack.""" self.__exit__(None, None, None) # Inspired by discussions on https://bugs.python.org/issue29302 class AsyncExitStack(_BaseExitStack, AbstractAsyncContextManager): """Async context manager for dynamic management of a stack of exit callbacks. For example: async with AsyncExitStack() as stack: connections = [await stack.enter_async_context(get_connection()) for i in range(5)] # All opened connections will automatically be released at the # end of the async with statement, even if attempts to open a # connection later in the list raise an exception. """ @staticmethod def _create_async_exit_wrapper(cm, cm_exit): return MethodType(cm_exit, cm) @staticmethod def _create_async_cb_wrapper(callback, /, *args, **kwds): async def _exit_wrapper(exc_type, exc, tb): await callback(*args, **kwds) return _exit_wrapper async def enter_async_context(self, cm): """Enters the supplied async context manager. If successful, also pushes its __aexit__ method as a callback and returns the result of the __aenter__ method. """ cls = type(cm) try: _enter = cls.__aenter__ _exit = cls.__aexit__ except AttributeError: raise TypeError(f"'{cls.__module__}.{cls.__qualname__}' object does " f"not support the asynchronous context manager protocol" ) from None result = await _enter(cm) self._push_async_cm_exit(cm, _exit) return result def push_async_exit(self, exit): """Registers a coroutine function with the standard __aexit__ method signature. Can suppress exceptions the same way __aexit__ method can. Also accepts any object with an __aexit__ method (registering a call to the method instead of the object itself). """ _cb_type = type(exit) try: exit_method = _cb_type.__aexit__ except AttributeError: # Not an async context manager, so assume it's a coroutine function self._push_exit_callback(exit, False) else: self._push_async_cm_exit(exit, exit_method) return exit # Allow use as a decorator def push_async_callback(self, callback, /, *args, **kwds): """Registers an arbitrary coroutine function and arguments. Cannot suppress exceptions. """ _exit_wrapper = self._create_async_cb_wrapper(callback, *args, **kwds) # We changed the signature, so using @wraps is not appropriate, but # setting __wrapped__ may still help with introspection. _exit_wrapper.__wrapped__ = callback self._push_exit_callback(_exit_wrapper, False) return callback # Allow use as a decorator async def aclose(self): """Immediately unwind the context stack.""" await self.__aexit__(None, None, None) def _push_async_cm_exit(self, cm, cm_exit): """Helper to correctly register coroutine function to __aexit__ method.""" _exit_wrapper = self._create_async_exit_wrapper(cm, cm_exit) self._push_exit_callback(_exit_wrapper, False) async def __aenter__(self): return self async def __aexit__(self, *exc_details): received_exc = exc_details[0] is not None # We manipulate the exception state so it behaves as though # we were actually nesting multiple with statements frame_exc = sys.exc_info()[1] def _fix_exception_context(new_exc, old_exc): # Context may not be correct, so find the end of the chain while 1: exc_context = new_exc.__context__ if exc_context is old_exc: # Context is already set correctly (see issue 20317) return if exc_context is None or exc_context is frame_exc: break new_exc = exc_context # Change the end of the chain to point to the exception # we expect it to reference new_exc.__context__ = old_exc # Callbacks are invoked in LIFO order to match the behaviour of # nested context managers suppressed_exc = False pending_raise = False while self._exit_callbacks: is_sync, cb = self._exit_callbacks.pop() try: if is_sync: cb_suppress = cb(*exc_details) else: cb_suppress = await cb(*exc_details) if cb_suppress: suppressed_exc = True pending_raise = False exc_details = (None, None, None) except: new_exc_details = sys.exc_info() # simulate the stack of exceptions by setting the context _fix_exception_context(new_exc_details[1], exc_details[1]) pending_raise = True exc_details = new_exc_details if pending_raise: try: # bare "raise exc_details[1]" replaces our carefully # set-up context fixed_ctx = exc_details[1].__context__ raise exc_details[1] except BaseException: exc_details[1].__context__ = fixed_ctx raise return received_exc and suppressed_exc class nullcontext(AbstractContextManager, AbstractAsyncContextManager): """Context manager that does no additional processing. Used as a stand-in for a normal context manager, when a particular block of code is only sometimes used with a normal context manager: cm = optional_cm if condition else nullcontext() with cm: # Perform operation, using optional_cm if condition is True """ def __init__(self, enter_result=None): self.enter_result = enter_result def __enter__(self): return self.enter_result def __exit__(self, *excinfo): pass async def __aenter__(self): return self.enter_result async def __aexit__(self, *excinfo): pass
[ 1, 529, 9507, 29958, 14868, 29914, 4703, 1982, 29889, 2272, 13, 15945, 29908, 7270, 1907, 363, 411, 29899, 20788, 3030, 29879, 29889, 29871, 2823, 349, 15488, 29871, 29941, 29946, 29941, 1213, 15945, 13, 5215, 25638, 13, 5215, 10876, 13, 5215, 903, 29027, 29918, 10736, 13, 3166, 16250, 1053, 316, 802, 13, 3166, 2090, 312, 8789, 1053, 11463, 567, 13, 3166, 4072, 1053, 8108, 1542, 29892, 3251, 293, 29909, 18849, 13, 13, 1649, 497, 1649, 353, 6796, 12674, 4703, 12847, 613, 376, 4703, 12847, 613, 376, 11291, 292, 613, 376, 4304, 4703, 613, 13, 965, 376, 9118, 2677, 3260, 613, 376, 9118, 8123, 2677, 3260, 613, 13, 965, 376, 8123, 24365, 7264, 613, 376, 2677, 6185, 272, 1061, 613, 376, 24365, 7264, 613, 13, 965, 376, 17886, 29918, 25393, 613, 376, 17886, 29918, 303, 20405, 613, 376, 19303, 1253, 613, 376, 562, 5409, 292, 3108, 13, 13, 13, 1990, 25513, 2677, 3260, 29898, 10736, 29889, 19658, 1125, 13, 13, 1678, 9995, 2744, 9846, 2967, 770, 363, 3030, 767, 18150, 1213, 15945, 13, 13, 1678, 4770, 1990, 29918, 657, 667, 1649, 353, 770, 5696, 29898, 15809, 29909, 18849, 29897, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 9995, 11609, 421, 1311, 29952, 2501, 18055, 278, 10073, 3030, 1213, 15945, 13, 4706, 736, 1583, 13, 13, 1678, 732, 10736, 29889, 16595, 5696, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 5566, 29918, 1853, 29892, 5566, 29918, 1767, 29892, 9637, 1627, 1125, 13, 4706, 9995, 29934, 29874, 895, 738, 3682, 19799, 2629, 278, 10073, 3030, 1213, 15945, 13, 4706, 736, 6213, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 4770, 1491, 1990, 20849, 12035, 25932, 29892, 315, 1125, 13, 4706, 565, 1067, 29879, 338, 25513, 2677, 3260, 29901, 13, 9651, 736, 903, 29027, 29918, 10736, 3032, 3198, 29918, 23515, 29898, 29907, 29892, 376, 1649, 5893, 1649, 613, 376, 1649, 13322, 1649, 1159, 13, 4706, 736, 2216, 1888, 2037, 287, 13, 13, 13, 1990, 25513, 8123, 2677, 3260, 29898, 10736, 29889, 19658, 1125, 13, 13, 1678, 9995, 2744, 9846, 2967, 770, 363, 20489, 3030, 767, 18150, 1213, 15945, 13, 13, 1678, 4770, 1990, 29918, 657, 667, 1649, 353, 770, 5696, 29898, 15809, 29909, 18849, 29897, 13, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 9995, 11609, 421, 1311, 29952, 2501, 18055, 278, 10073, 3030, 1213, 15945, 13, 4706, 736, 1583, 13, 13, 1678, 732, 10736, 29889, 16595, 5696, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 5566, 29918, 1853, 29892, 5566, 29918, 1767, 29892, 9637, 1627, 1125, 13, 4706, 9995, 29934, 29874, 895, 738, 3682, 19799, 2629, 278, 10073, 3030, 1213, 15945, 13, 4706, 736, 6213, 13, 13, 1678, 732, 1990, 5696, 13, 1678, 822, 4770, 1491, 1990, 20849, 12035, 25932, 29892, 315, 1125, 13, 4706, 565, 1067, 29879, 338, 25513, 8123, 2677, 3260, 29901, 13, 9651, 736, 903, 29027, 29918, 10736, 3032, 3198, 29918, 23515, 29898, 29907, 29892, 376, 1649, 29874, 5893, 1649, 613, 13, 462, 462, 462, 259, 376, 1649, 29874, 13322, 1649, 1159, 13, 4706, 736, 2216, 1888, 2037, 287, 13, 13, 13, 1990, 15228, 6185, 272, 1061, 29898, 3318, 1125, 13, 1678, 376, 29909, 2967, 770, 470, 6837, 262, 393, 28936, 3030, 767, 18150, 304, 664, 408, 10200, 4097, 1213, 13, 13, 1678, 822, 903, 276, 3258, 29918, 4912, 29898, 1311, 1125, 13, 4706, 9995, 11609, 263, 337, 11600, 2777, 310, 1583, 29889, 13, 13, 4706, 2178, 1242, 385, 6467, 697, 29899, 8962, 3030, 8455, 763, 13, 4706, 903, 21575, 2677, 3260, 304, 2304, 671, 408, 13, 4706, 263, 10200, 1061, 3025, 12235, 28709, 362, 29889, 13, 13, 4706, 910, 338, 263, 2024, 5067, 925, 363, 903, 21575, 2677, 3260, 29889, 13, 4706, 2823, 2228, 396, 29896, 29896, 29953, 29946, 29955, 363, 4902, 29889, 13, 4706, 9995, 13, 4706, 736, 1583, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 3653, 1125, 13, 4706, 732, 29893, 336, 567, 29898, 9891, 29897, 13, 4706, 822, 6426, 10456, 5085, 29892, 3579, 11022, 6289, 1125, 13, 9651, 411, 1583, 3032, 276, 3258, 29918, 4912, 7295, 13, 18884, 736, 3653, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 4706, 736, 6426, 13, 13, 13, 1990, 20688, 2677, 6185, 272, 1061, 29898, 3318, 1125, 13, 1678, 376, 29909, 2967, 770, 470, 6837, 262, 393, 28936, 7465, 3030, 767, 18150, 304, 664, 408, 10200, 4097, 1213, 13, 13, 1678, 822, 903, 276, 3258, 29918, 4912, 29898, 1311, 1125, 13, 4706, 9995, 11609, 263, 337, 11600, 2777, 310, 1583, 29889, 13, 4706, 9995, 13, 4706, 736, 1583, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 3653, 1125, 13, 4706, 732, 29893, 336, 567, 29898, 9891, 29897, 13, 4706, 7465, 822, 6426, 10456, 5085, 29892, 3579, 11022, 6289, 1125, 13, 9651, 7465, 411, 1583, 3032, 276, 3258, 29918, 4912, 7295, 13, 18884, 736, 7272, 3653, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 4706, 736, 6426, 13, 13, 13, 1990, 903, 21575, 2677, 3260, 5160, 29901, 13, 1678, 9995, 21741, 9863, 363, 732, 4703, 12847, 322, 732, 12674, 4703, 12847, 1213, 15945, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3653, 29892, 6389, 29892, 9049, 6289, 1125, 13, 4706, 1583, 29889, 1885, 353, 3653, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 4706, 1583, 29889, 9891, 29892, 1583, 29889, 5085, 29892, 1583, 29889, 11022, 6289, 353, 3653, 29892, 6389, 29892, 9049, 6289, 13, 4706, 396, 26246, 29871, 29896, 29929, 29941, 29941, 29900, 29901, 9801, 3030, 8455, 8871, 505, 1781, 1574, 19651, 13, 4706, 1574, 353, 679, 5552, 29898, 9891, 29892, 376, 1649, 1514, 1649, 613, 6213, 29897, 13, 4706, 565, 1574, 338, 6213, 29901, 13, 9651, 1574, 353, 1134, 29898, 1311, 467, 1649, 1514, 1649, 13, 4706, 1583, 17255, 1514, 1649, 353, 1574, 13, 4706, 396, 11511, 29892, 445, 1603, 1838, 29915, 29873, 3867, 1781, 1371, 1962, 746, 13, 4706, 396, 16096, 292, 278, 2825, 3030, 8455, 8871, 29892, 1951, 11451, 1514, 13, 4706, 396, 5279, 491, 3364, 267, 278, 2777, 1574, 1807, 322, 3697, 278, 1574, 1807, 13, 4706, 396, 363, 278, 770, 2012, 29889, 13, 4706, 396, 2823, 1732, 597, 6152, 29879, 29889, 4691, 29889, 990, 29914, 15118, 29896, 29929, 29946, 29900, 29946, 363, 901, 4902, 29889, 13, 13, 1678, 822, 903, 276, 3258, 29918, 4912, 29898, 1311, 1125, 13, 4706, 396, 903, 8766, 9486, 8871, 526, 697, 29899, 8962, 3030, 767, 18150, 29892, 577, 278, 13, 4706, 396, 315, 29924, 1818, 367, 337, 11600, 1269, 931, 263, 10200, 630, 740, 338, 13, 4706, 396, 2000, 13, 4706, 736, 1583, 17255, 1990, 12035, 1311, 29889, 9891, 29892, 1583, 29889, 5085, 29892, 1583, 29889, 11022, 6289, 29897, 13, 13, 13, 1990, 903, 21575, 2677, 3260, 29898, 13, 1678, 903, 21575, 2677, 3260, 5160, 29892, 13, 1678, 25513, 2677, 3260, 29892, 13, 1678, 15228, 6185, 272, 1061, 29892, 13, 1125, 13, 1678, 9995, 10739, 363, 732, 4703, 12847, 10200, 1061, 1213, 15945, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 396, 437, 451, 3013, 6389, 322, 9049, 6289, 18758, 17128, 6275, 13, 4706, 396, 896, 526, 871, 4312, 363, 28709, 362, 29892, 607, 338, 451, 1950, 15128, 13, 4706, 628, 1583, 29889, 5085, 29892, 1583, 29889, 11022, 6289, 29892, 1583, 29889, 9891, 13, 4706, 1018, 29901, 13, 9651, 736, 2446, 29898, 1311, 29889, 1885, 29897, 13, 4706, 5174, 22303, 13463, 362, 29901, 13, 9651, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 7709, 1159, 515, 6213, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 2393, 29892, 995, 29892, 9637, 1627, 1125, 13, 4706, 565, 2393, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 2446, 29898, 1311, 29889, 1885, 29897, 13, 9651, 5174, 22303, 13463, 362, 29901, 13, 18884, 736, 7700, 13, 9651, 1683, 29901, 13, 18884, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 5040, 1159, 13, 4706, 1683, 29901, 13, 9651, 565, 995, 338, 6213, 29901, 13, 18884, 396, 20768, 304, 4889, 13213, 362, 577, 591, 508, 12536, 2197, 13, 18884, 396, 2649, 565, 591, 679, 278, 1021, 3682, 1250, 13, 18884, 995, 353, 2393, 580, 13, 9651, 1018, 29901, 13, 18884, 1583, 29889, 1885, 29889, 20539, 29898, 22449, 29892, 995, 29892, 9637, 1627, 29897, 13, 9651, 5174, 22303, 13463, 362, 408, 5566, 29901, 13, 18884, 396, 9179, 1253, 22303, 13463, 362, 334, 28952, 29930, 372, 29915, 29879, 278, 1021, 3682, 393, 13, 18884, 396, 471, 4502, 304, 3183, 2141, 29871, 910, 28057, 263, 22303, 13463, 362, 13, 18884, 396, 10425, 2768, 278, 376, 2541, 29908, 3229, 515, 1641, 21301, 287, 29889, 13, 18884, 736, 5566, 338, 451, 995, 13, 9651, 5174, 24875, 2392, 408, 5566, 29901, 13, 18884, 396, 3872, 29915, 29873, 337, 29899, 22692, 278, 4502, 297, 3682, 29889, 313, 15118, 29906, 29955, 29896, 29906, 29906, 29897, 13, 18884, 565, 5566, 338, 995, 29901, 13, 462, 1678, 736, 7700, 13, 18884, 396, 319, 5405, 21301, 292, 565, 263, 22303, 13463, 362, 3682, 13, 18884, 396, 471, 4502, 304, 3183, 580, 322, 2678, 21021, 964, 263, 24875, 2392, 13, 18884, 396, 313, 4149, 349, 15488, 29871, 29946, 29955, 29929, 363, 16523, 1176, 4097, 29936, 7465, 1176, 4097, 884, 13, 18884, 396, 505, 445, 6030, 467, 1205, 437, 445, 871, 565, 278, 3682, 21021, 13, 18884, 396, 491, 278, 24875, 2392, 338, 2869, 22303, 29898, 8123, 29897, 13463, 362, 313, 4149, 13, 18884, 396, 2228, 29906, 29929, 29953, 29929, 29906, 467, 13, 18884, 565, 313, 13, 462, 1678, 338, 8758, 29898, 1767, 29892, 22303, 13463, 362, 29897, 13, 462, 1678, 322, 5566, 17255, 29883, 1071, 1649, 338, 995, 13, 462, 1125, 13, 462, 1678, 736, 7700, 13, 18884, 12020, 13, 9651, 5174, 7399, 2451, 408, 5566, 29901, 13, 18884, 396, 871, 337, 29899, 22692, 565, 372, 29915, 29879, 334, 1333, 29930, 278, 3682, 393, 471, 13, 18884, 396, 4502, 304, 3183, 3285, 1363, 4770, 13322, 1649, 580, 1818, 451, 12020, 13, 18884, 396, 385, 3682, 6521, 4770, 13322, 1649, 580, 3528, 5229, 29889, 29871, 1205, 3183, 580, 13, 18884, 396, 756, 304, 12020, 278, 3682, 304, 7182, 13089, 362, 29892, 577, 445, 13, 18884, 396, 24626, 278, 25275, 749, 29635, 1546, 278, 3183, 580, 9608, 13, 18884, 396, 322, 278, 4770, 13322, 1649, 580, 9608, 29889, 13, 18884, 565, 5566, 338, 451, 995, 29901, 13, 462, 1678, 12020, 13, 18884, 736, 7700, 13, 9651, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 5040, 1156, 3183, 580, 1159, 13, 13, 1990, 903, 8123, 21575, 2677, 3260, 29898, 13, 1678, 903, 21575, 2677, 3260, 5160, 29892, 13, 1678, 25513, 8123, 2677, 3260, 29892, 13, 1678, 20688, 2677, 6185, 272, 1061, 29892, 13, 1125, 13, 1678, 9995, 10739, 363, 732, 12674, 4703, 12847, 10200, 1061, 1213, 15945, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 3653, 1125, 13, 4706, 732, 29893, 336, 567, 29898, 9891, 29897, 13, 4706, 7465, 822, 6426, 10456, 5085, 29892, 3579, 11022, 6289, 1125, 13, 9651, 7465, 411, 1583, 17255, 1990, 12035, 1311, 29889, 9891, 29892, 1583, 29889, 5085, 29892, 1583, 29889, 11022, 6289, 1125, 13, 18884, 736, 7272, 3653, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 13, 4706, 736, 6426, 13, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 396, 437, 451, 3013, 6389, 322, 9049, 6289, 18758, 17128, 6275, 13, 4706, 396, 896, 526, 871, 4312, 363, 28709, 362, 29892, 607, 338, 451, 1950, 15128, 13, 4706, 628, 1583, 29889, 5085, 29892, 1583, 29889, 11022, 6289, 29892, 1583, 29889, 9891, 13, 4706, 1018, 29901, 13, 9651, 736, 7272, 385, 1062, 29898, 1311, 29889, 1885, 29897, 13, 4706, 5174, 22303, 8123, 13463, 362, 29901, 13, 9651, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 7709, 1159, 515, 6213, 13, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 2393, 29892, 995, 29892, 9637, 1627, 1125, 13, 4706, 565, 2393, 338, 6213, 29901, 13, 9651, 1018, 29901, 13, 18884, 7272, 385, 1062, 29898, 1311, 29889, 1885, 29897, 13, 9651, 5174, 22303, 8123, 13463, 362, 29901, 13, 18884, 736, 7700, 13, 9651, 1683, 29901, 13, 18884, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 5040, 1159, 13, 4706, 1683, 29901, 13, 9651, 565, 995, 338, 6213, 29901, 13, 18884, 396, 20768, 304, 4889, 13213, 362, 577, 591, 508, 12536, 2197, 13, 18884, 396, 2649, 565, 591, 679, 278, 1021, 3682, 1250, 13, 18884, 995, 353, 2393, 580, 13, 9651, 1018, 29901, 13, 18884, 7272, 1583, 29889, 1885, 29889, 493, 798, 29898, 22449, 29892, 995, 29892, 9637, 1627, 29897, 13, 9651, 5174, 22303, 8123, 13463, 362, 408, 5566, 29901, 13, 18884, 396, 9179, 1253, 22303, 13463, 362, 334, 28952, 29930, 372, 29915, 29879, 278, 1021, 3682, 393, 13, 18884, 396, 471, 4502, 304, 3183, 2141, 29871, 910, 28057, 263, 22303, 13463, 362, 13, 18884, 396, 10425, 2768, 278, 376, 2541, 29908, 3229, 515, 1641, 21301, 287, 29889, 13, 18884, 736, 5566, 338, 451, 995, 13, 9651, 5174, 24875, 2392, 408, 5566, 29901, 13, 18884, 396, 3872, 29915, 29873, 337, 29899, 22692, 278, 4502, 297, 3682, 29889, 313, 15118, 29906, 29955, 29896, 29906, 29906, 29897, 13, 18884, 565, 5566, 338, 995, 29901, 13, 462, 1678, 736, 7700, 13, 18884, 396, 319, 5405, 21301, 292, 565, 263, 22303, 29898, 8123, 29897, 13463, 362, 3682, 13, 18884, 396, 471, 4502, 304, 17622, 798, 580, 322, 2678, 21021, 964, 263, 24875, 2392, 13, 18884, 396, 313, 4149, 349, 15488, 29871, 29946, 29955, 29929, 363, 16523, 1176, 4097, 29936, 7465, 1176, 4097, 884, 13, 18884, 396, 505, 445, 6030, 467, 1205, 437, 445, 871, 565, 278, 3682, 21021, 13, 18884, 396, 491, 278, 24875, 2392, 338, 2869, 22303, 29898, 8123, 29897, 13463, 362, 313, 4149, 13, 18884, 396, 2228, 29906, 29929, 29953, 29929, 29906, 467, 13, 18884, 565, 313, 13, 462, 1678, 338, 8758, 29898, 1767, 29892, 313, 16329, 13463, 362, 29892, 22303, 8123, 13463, 362, 876, 13, 462, 1678, 322, 5566, 17255, 29883, 1071, 1649, 338, 995, 13, 462, 1125, 13, 462, 1678, 736, 7700, 13, 18884, 12020, 13, 9651, 5174, 7399, 2451, 408, 5566, 29901, 13, 18884, 396, 871, 337, 29899, 22692, 565, 372, 29915, 29879, 334, 1333, 29930, 278, 3682, 393, 471, 13, 18884, 396, 4502, 304, 3183, 3285, 1363, 4770, 13322, 1649, 580, 1818, 451, 12020, 13, 18884, 396, 385, 3682, 6521, 4770, 13322, 1649, 580, 3528, 5229, 29889, 29871, 1205, 3183, 580, 13, 18884, 396, 756, 304, 12020, 278, 3682, 304, 7182, 13089, 362, 29892, 577, 445, 13, 18884, 396, 24626, 278, 25275, 749, 29635, 1546, 278, 3183, 580, 9608, 13, 18884, 396, 322, 278, 4770, 13322, 1649, 580, 9608, 29889, 13, 18884, 565, 5566, 338, 451, 995, 29901, 13, 462, 1678, 12020, 13, 18884, 736, 7700, 13, 9651, 12020, 24875, 2392, 703, 27959, 3282, 29915, 29873, 5040, 1156, 17622, 798, 580, 1159, 13, 13, 13, 1753, 3030, 12847, 29898, 9891, 1125, 13, 1678, 9995, 29992, 4703, 12847, 10200, 1061, 29889, 13, 13, 1678, 14213, 936, 8744, 29901, 13, 13, 4706, 732, 4703, 12847, 13, 4706, 822, 777, 29918, 27959, 29898, 29966, 25699, 29958, 1125, 13, 9651, 529, 14669, 29958, 13, 9651, 1018, 29901, 13, 18884, 7709, 529, 1767, 29958, 13, 9651, 7146, 29901, 13, 18884, 529, 14941, 786, 29958, 13, 13, 1678, 910, 3732, 445, 29901, 13, 13, 4706, 411, 777, 29918, 27959, 29898, 29966, 25699, 12948, 408, 529, 11918, 23917, 13, 9651, 529, 2587, 29958, 13, 13, 1678, 7126, 304, 445, 29901, 13, 13, 4706, 529, 14669, 29958, 13, 4706, 1018, 29901, 13, 9651, 529, 11918, 29958, 353, 529, 1767, 29958, 13, 9651, 529, 2587, 29958, 13, 4706, 7146, 29901, 13, 9651, 529, 14941, 786, 29958, 13, 1678, 9995, 13, 1678, 732, 29893, 336, 567, 29898, 9891, 29897, 13, 1678, 822, 16876, 10456, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 736, 903, 21575, 2677, 3260, 29898, 9891, 29892, 6389, 29892, 9049, 6289, 29897, 13, 1678, 736, 16876, 13, 13, 13, 1753, 7465, 4703, 12847, 29898, 9891, 1125, 13, 1678, 9995, 29992, 12674, 4703, 12847, 10200, 1061, 29889, 13, 13, 1678, 14213, 936, 8744, 29901, 13, 13, 4706, 732, 12674, 4703, 12847, 13, 4706, 7465, 822, 777, 29918, 12674, 29918, 27959, 29898, 29966, 25699, 29958, 1125, 13, 9651, 529, 14669, 29958, 13, 9651, 1018, 29901, 13, 18884, 7709, 529, 1767, 29958, 13, 9651, 7146, 29901, 13, 18884, 529, 14941, 786, 29958, 13, 13, 1678, 910, 3732, 445, 29901, 13, 13, 4706, 7465, 411, 777, 29918, 12674, 29918, 27959, 29898, 29966, 25699, 12948, 408, 529, 11918, 23917, 13, 9651, 529, 2587, 29958, 13, 13, 1678, 7126, 304, 445, 29901, 13, 13, 4706, 529, 14669, 29958, 13, 4706, 1018, 29901, 13, 9651, 529, 11918, 29958, 353, 529, 1767, 29958, 13, 9651, 529, 2587, 29958, 13, 4706, 7146, 29901, 13, 9651, 529, 14941, 786, 29958, 13, 1678, 9995, 13, 1678, 732, 29893, 336, 567, 29898, 9891, 29897, 13, 1678, 822, 16876, 10456, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 736, 903, 8123, 21575, 2677, 3260, 29898, 9891, 29892, 6389, 29892, 9049, 6289, 29897, 13, 1678, 736, 16876, 13, 13, 13, 1990, 14382, 29898, 9118, 2677, 3260, 29892, 25513, 8123, 2677, 3260, 1125, 13, 1678, 9995, 2677, 304, 6336, 3802, 1554, 472, 278, 1095, 310, 263, 2908, 29889, 13, 13, 1678, 5920, 763, 445, 29901, 13, 13, 4706, 411, 14382, 29898, 29966, 5453, 15513, 3150, 29898, 29966, 25699, 29958, 876, 408, 285, 29901, 13, 9651, 529, 1271, 29958, 13, 13, 1678, 338, 7126, 304, 445, 29901, 13, 13, 4706, 285, 353, 529, 5453, 15513, 3150, 29898, 29966, 25699, 12948, 13, 4706, 1018, 29901, 13, 9651, 529, 1271, 29958, 13, 4706, 7146, 29901, 13, 9651, 285, 29889, 5358, 580, 13, 13, 1678, 512, 20489, 1206, 29892, 775, 763, 445, 29901, 13, 13, 4706, 7465, 411, 14382, 29898, 29966, 5453, 15513, 3150, 29898, 29966, 25699, 29958, 876, 408, 285, 29901, 13, 9651, 529, 1271, 29958, 13, 13, 1678, 338, 7126, 304, 445, 29901, 13, 13, 4706, 285, 353, 529, 5453, 15513, 3150, 29898, 29966, 25699, 12948, 13, 4706, 1018, 29901, 13, 9651, 529, 1271, 29958, 13, 4706, 7146, 29901, 13, 9651, 7272, 285, 29889, 562, 2226, 580, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2655, 1125, 13, 4706, 1583, 29889, 1918, 353, 2655, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 29889, 1918, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 334, 735, 29883, 29918, 3888, 1125, 13, 4706, 1583, 29889, 1918, 29889, 5358, 580, 13, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 29889, 1918, 13, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 334, 735, 29883, 29918, 3888, 1125, 13, 4706, 7272, 1583, 29889, 1918, 29889, 562, 2226, 580, 13, 13, 13, 1990, 263, 11291, 292, 29898, 9118, 8123, 2677, 3260, 1125, 13, 1678, 9995, 8123, 3030, 8455, 363, 23511, 2186, 5281, 385, 408, 9524, 5794, 5941, 287, 29899, 786, 13, 1678, 6503, 1316, 408, 385, 7465, 15299, 29892, 5432, 967, 4954, 562, 2226, 2555, 29952, 1158, 29889, 13, 13, 1678, 5920, 763, 445, 29901, 13, 13, 4706, 7465, 411, 263, 11291, 292, 29898, 29966, 5453, 15513, 9155, 29898, 29966, 25699, 29958, 876, 408, 946, 264, 29901, 13, 9651, 529, 1271, 29958, 13, 13, 1678, 338, 7126, 304, 445, 29901, 13, 13, 4706, 946, 264, 353, 529, 5453, 15513, 9155, 29898, 29966, 25699, 12948, 13, 4706, 1018, 29901, 13, 9651, 529, 1271, 29958, 13, 4706, 7146, 29901, 13, 9651, 7272, 946, 264, 29889, 562, 2226, 580, 13, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2655, 1125, 13, 4706, 1583, 29889, 1918, 353, 2655, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 29889, 1918, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 334, 735, 29883, 29918, 3888, 1125, 13, 4706, 7272, 1583, 29889, 1918, 29889, 562, 2226, 580, 13, 13, 13, 1990, 903, 24735, 3835, 29898, 9118, 2677, 3260, 1125, 13, 13, 1678, 903, 5461, 353, 6213, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 716, 29918, 5182, 1125, 13, 4706, 1583, 3032, 1482, 29918, 5182, 353, 716, 29918, 5182, 13, 4706, 396, 1334, 671, 263, 1051, 310, 2030, 22525, 304, 1207, 445, 315, 29924, 337, 29899, 14856, 424, 13, 4706, 1583, 3032, 1025, 29918, 5182, 29879, 353, 5159, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 1583, 3032, 1025, 29918, 5182, 29879, 29889, 4397, 29898, 657, 5552, 29898, 9675, 29892, 1583, 3032, 5461, 876, 13, 4706, 731, 5552, 29898, 9675, 29892, 1583, 3032, 5461, 29892, 1583, 3032, 1482, 29918, 5182, 29897, 13, 4706, 736, 1583, 3032, 1482, 29918, 5182, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 429, 312, 668, 29892, 5566, 2611, 29892, 429, 312, 29890, 1125, 13, 4706, 731, 5552, 29898, 9675, 29892, 1583, 3032, 5461, 29892, 1583, 3032, 1025, 29918, 5182, 29879, 29889, 7323, 3101, 13, 13, 13, 1990, 6684, 29918, 25393, 7373, 24735, 3835, 1125, 13, 1678, 9995, 2677, 8455, 363, 5382, 6275, 6684, 292, 27591, 304, 1790, 934, 29889, 13, 13, 4706, 396, 1128, 304, 3638, 1371, 580, 304, 380, 20405, 13, 4706, 411, 6684, 29918, 25393, 29898, 9675, 29889, 303, 20405, 1125, 13, 9651, 1371, 29898, 3972, 29897, 13, 13, 4706, 396, 1128, 304, 2436, 1371, 580, 304, 263, 934, 13, 4706, 411, 1722, 877, 8477, 29889, 3945, 742, 525, 29893, 1495, 408, 285, 29901, 13, 9651, 411, 6684, 29918, 25393, 29898, 29888, 1125, 13, 18884, 1371, 29898, 12248, 29897, 13, 1678, 9995, 13, 13, 1678, 903, 5461, 353, 376, 25393, 29908, 13, 13, 13, 1990, 6684, 29918, 303, 20405, 7373, 24735, 3835, 1125, 13, 1678, 9995, 2677, 8455, 363, 5382, 6275, 6684, 292, 380, 20405, 304, 1790, 934, 1213, 15945, 13, 13, 1678, 903, 5461, 353, 376, 303, 20405, 29908, 13, 13, 13, 1990, 21301, 29898, 9118, 2677, 3260, 1125, 13, 1678, 9995, 2677, 8455, 304, 21301, 6790, 15283, 13, 13, 1678, 2860, 278, 3682, 338, 21301, 287, 29892, 8225, 8469, 29879, 411, 278, 2446, 13, 1678, 3229, 1494, 278, 411, 3229, 29889, 13, 13, 308, 411, 21301, 29898, 2283, 17413, 2392, 1125, 13, 632, 2897, 29889, 5992, 29898, 5372, 1445, 29897, 13, 308, 396, 11080, 918, 1603, 620, 9351, 1244, 565, 278, 934, 471, 2307, 6206, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 334, 11739, 29879, 1125, 13, 4706, 1583, 3032, 11739, 29879, 353, 15283, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 1209, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 429, 312, 668, 29892, 5566, 2611, 29892, 429, 312, 29890, 1125, 13, 4706, 396, 853, 4561, 338, 8758, 322, 338, 1491, 1990, 29892, 315, 11980, 3682, 11415, 13, 4706, 396, 5279, 871, 3430, 472, 278, 18387, 1134, 21277, 313, 647, 8253, 13, 4706, 396, 278, 2777, 322, 19481, 8454, 12422, 29879, 467, 5806, 2088, 1941, 1136, 11376, 13, 4706, 396, 393, 263, 6494, 3265, 1135, 263, 4682, 29892, 372, 29915, 29879, 263, 12558, 2898, 697, 304, 2329, 13, 4706, 396, 2861, 304, 5164, 7463, 5314, 4902, 29889, 21301, 8128, 13, 4706, 396, 278, 13682, 338, 1491, 1990, 2729, 29505, 29892, 3265, 1135, 1811, 304, 13, 4706, 396, 3721, 18532, 278, 27028, 310, 278, 315, 11980, 26997, 29889, 13, 4706, 396, 13, 4706, 396, 2823, 1732, 597, 6152, 29879, 29889, 4691, 29889, 990, 29914, 15118, 29896, 29906, 29900, 29906, 29929, 363, 901, 4902, 13, 4706, 736, 429, 312, 668, 338, 451, 6213, 322, 338, 1491, 1990, 29898, 735, 312, 668, 29892, 1583, 3032, 11739, 29879, 29897, 13, 13, 13, 1990, 903, 5160, 24365, 7264, 29901, 13, 1678, 9995, 29909, 2967, 770, 363, 25954, 7264, 322, 20688, 24365, 7264, 1213, 15945, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 3258, 29918, 13322, 29918, 17699, 29898, 4912, 29892, 7477, 29918, 13322, 1125, 13, 4706, 736, 8108, 1542, 29898, 4912, 29918, 13322, 29892, 7477, 29897, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 3258, 29918, 10702, 29918, 17699, 29898, 14035, 29892, 847, 29892, 334, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 822, 903, 13322, 29918, 17699, 29898, 735, 29883, 29918, 1853, 29892, 5566, 29892, 260, 29890, 1125, 13, 9651, 6939, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 4706, 736, 903, 13322, 29918, 17699, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1583, 3032, 13322, 29918, 14035, 29879, 353, 316, 802, 580, 13, 13, 1678, 822, 1835, 29918, 497, 29898, 1311, 1125, 13, 4706, 9995, 13504, 7143, 278, 3030, 5096, 491, 6782, 5393, 372, 304, 263, 716, 2777, 1213, 15945, 13, 4706, 716, 29918, 1429, 353, 1134, 29898, 1311, 29897, 580, 13, 4706, 716, 29918, 1429, 3032, 13322, 29918, 14035, 29879, 353, 1583, 3032, 13322, 29918, 14035, 29879, 13, 4706, 1583, 3032, 13322, 29918, 14035, 29879, 353, 316, 802, 580, 13, 4706, 736, 716, 29918, 1429, 13, 13, 1678, 822, 5503, 29898, 1311, 29892, 6876, 1125, 13, 4706, 9995, 15213, 29879, 263, 6939, 411, 278, 3918, 4770, 13322, 1649, 1158, 12608, 29889, 13, 13, 4706, 1815, 21301, 15283, 278, 1021, 982, 4770, 13322, 1649, 1158, 508, 29889, 13, 4706, 3115, 21486, 738, 1203, 411, 385, 4770, 13322, 1649, 1158, 313, 9573, 292, 263, 1246, 13, 4706, 304, 278, 1158, 2012, 310, 278, 1203, 3528, 467, 13, 4706, 9995, 13, 4706, 396, 1334, 671, 385, 443, 9917, 1158, 3265, 1135, 263, 3216, 1158, 304, 1101, 13, 4706, 396, 278, 3918, 16280, 10468, 363, 4266, 3519, 29889, 13, 4706, 903, 10702, 29918, 1853, 353, 1134, 29898, 13322, 29897, 13, 13, 4706, 1018, 29901, 13, 9651, 6876, 29918, 5696, 353, 903, 10702, 29918, 1853, 17255, 13322, 1649, 13, 4706, 5174, 23833, 2392, 29901, 13, 9651, 396, 2216, 263, 3030, 8455, 29892, 577, 5251, 372, 29915, 29879, 263, 1246, 519, 29889, 13, 9651, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 29898, 13322, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 3032, 5910, 29918, 4912, 29918, 13322, 29898, 13322, 29892, 6876, 29918, 5696, 29897, 13, 4706, 736, 6876, 29871, 396, 29408, 671, 408, 263, 10200, 1061, 29889, 13, 13, 1678, 822, 3896, 29918, 4703, 29898, 1311, 29892, 7477, 1125, 13, 4706, 9995, 2369, 2153, 278, 19056, 3030, 8455, 29889, 13, 13, 4706, 960, 9150, 29892, 884, 5503, 267, 967, 4770, 13322, 1649, 1158, 408, 263, 6939, 322, 13, 4706, 3639, 278, 1121, 310, 278, 4770, 5893, 1649, 1158, 29889, 13, 4706, 9995, 13, 4706, 396, 1334, 1106, 701, 278, 4266, 3519, 373, 278, 1134, 304, 1993, 278, 411, 13, 4706, 396, 3229, 29889, 13, 4706, 1067, 29879, 353, 1134, 29898, 4912, 29897, 13, 4706, 1018, 29901, 13, 9651, 903, 5893, 353, 1067, 29879, 17255, 5893, 1649, 13, 9651, 903, 13322, 353, 1067, 29879, 17255, 13322, 1649, 13, 4706, 5174, 23833, 2392, 29901, 13, 9651, 12020, 20948, 29898, 29888, 29908, 29915, 29912, 25932, 17255, 5453, 1649, 1836, 29912, 25932, 17255, 15380, 978, 1649, 10162, 1203, 947, 376, 13, 462, 9651, 285, 29908, 1333, 2304, 278, 3030, 8455, 9608, 1159, 515, 6213, 13, 4706, 1121, 353, 903, 5893, 29898, 4912, 29897, 13, 4706, 1583, 3032, 5910, 29918, 4912, 29918, 13322, 29898, 4912, 29892, 903, 13322, 29897, 13, 4706, 736, 1121, 13, 13, 1678, 822, 6939, 29898, 1311, 29892, 6939, 29892, 847, 29892, 334, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 9995, 15213, 29879, 385, 11472, 6939, 322, 6273, 29889, 13, 13, 4706, 15808, 21301, 15283, 29889, 13, 4706, 9995, 13, 4706, 903, 13322, 29918, 17699, 353, 1583, 3032, 3258, 29918, 10702, 29918, 17699, 29898, 14035, 29892, 334, 5085, 29892, 3579, 11022, 6289, 29897, 13, 13, 4706, 396, 1334, 3939, 278, 12608, 29892, 577, 773, 732, 29893, 336, 567, 338, 451, 8210, 29892, 541, 13, 4706, 396, 4444, 4770, 29893, 336, 2986, 1649, 1122, 1603, 1371, 411, 25956, 27988, 29889, 13, 4706, 903, 13322, 29918, 17699, 17255, 29893, 336, 2986, 1649, 353, 6939, 13, 4706, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 7373, 13322, 29918, 17699, 29897, 13, 4706, 736, 6939, 29871, 396, 29408, 671, 408, 263, 10200, 1061, 13, 13, 1678, 822, 903, 5910, 29918, 4912, 29918, 13322, 29898, 1311, 29892, 7477, 29892, 7477, 29918, 13322, 1125, 13, 4706, 9995, 10739, 304, 5149, 6036, 6939, 29879, 304, 4770, 13322, 1649, 3519, 1213, 15945, 13, 4706, 903, 13322, 29918, 17699, 353, 1583, 3032, 3258, 29918, 13322, 29918, 17699, 29898, 4912, 29892, 7477, 29918, 13322, 29897, 13, 4706, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 7373, 13322, 29918, 17699, 29892, 5852, 29897, 13, 13, 1678, 822, 903, 5910, 29918, 13322, 29918, 14035, 29898, 1311, 29892, 6939, 29892, 338, 29918, 16593, 29922, 5574, 1125, 13, 4706, 1583, 3032, 13322, 29918, 14035, 29879, 29889, 4397, 3552, 275, 29918, 16593, 29892, 6939, 876, 13, 13, 13, 29937, 512, 1028, 2859, 491, 5353, 1080, 373, 1732, 597, 6152, 29879, 29889, 4691, 29889, 990, 29914, 15118, 29896, 29941, 29945, 29947, 29945, 13, 1990, 25954, 7264, 7373, 5160, 24365, 7264, 29892, 25513, 2677, 3260, 1125, 13, 1678, 9995, 2677, 8455, 363, 7343, 10643, 310, 263, 5096, 310, 6876, 6939, 29879, 29889, 13, 13, 1678, 1152, 1342, 29901, 13, 4706, 411, 25954, 7264, 580, 408, 5096, 29901, 13, 9651, 2066, 353, 518, 1429, 29889, 5893, 29918, 4703, 29898, 3150, 29898, 29888, 978, 876, 363, 285, 978, 297, 977, 264, 1280, 29962, 13, 9651, 396, 2178, 6496, 2066, 674, 6336, 367, 5764, 472, 278, 1095, 310, 13, 9651, 396, 278, 411, 3229, 29892, 1584, 565, 14734, 304, 1722, 2066, 2678, 13, 9651, 396, 297, 278, 1051, 12020, 385, 3682, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 334, 735, 29883, 29918, 14144, 1125, 13, 4706, 4520, 29918, 735, 29883, 353, 5566, 29918, 14144, 29961, 29900, 29962, 338, 451, 6213, 13, 13, 4706, 396, 1334, 26749, 278, 3682, 2106, 577, 372, 4010, 267, 408, 2466, 13, 4706, 396, 591, 892, 2869, 17763, 292, 2999, 411, 9506, 13, 4706, 3515, 29918, 735, 29883, 353, 10876, 29889, 735, 29883, 29918, 3888, 580, 29961, 29896, 29962, 13, 4706, 822, 903, 5878, 29918, 11739, 29918, 4703, 29898, 1482, 29918, 735, 29883, 29892, 2030, 29918, 735, 29883, 1125, 13, 9651, 396, 15228, 1122, 451, 367, 1959, 29892, 577, 1284, 278, 1095, 310, 278, 9704, 13, 9651, 1550, 29871, 29896, 29901, 13, 18884, 5566, 29918, 4703, 353, 716, 29918, 735, 29883, 17255, 4703, 1649, 13, 18884, 565, 5566, 29918, 4703, 338, 2030, 29918, 735, 29883, 29901, 13, 462, 1678, 396, 15228, 338, 2307, 731, 5149, 313, 4149, 2228, 29871, 29906, 29900, 29941, 29896, 29955, 29897, 13, 462, 1678, 736, 13, 18884, 565, 5566, 29918, 4703, 338, 6213, 470, 5566, 29918, 4703, 338, 3515, 29918, 735, 29883, 29901, 13, 462, 1678, 2867, 13, 18884, 716, 29918, 735, 29883, 353, 5566, 29918, 4703, 13, 9651, 396, 10726, 278, 1095, 310, 278, 9704, 304, 1298, 304, 278, 3682, 13, 9651, 396, 591, 2149, 372, 304, 3407, 13, 9651, 716, 29918, 735, 29883, 17255, 4703, 1649, 353, 2030, 29918, 735, 29883, 13, 13, 4706, 396, 8251, 1627, 29879, 526, 22336, 297, 17705, 5800, 1797, 304, 1993, 278, 10468, 310, 13, 4706, 396, 9322, 3030, 767, 18150, 13, 4706, 21301, 287, 29918, 735, 29883, 353, 7700, 13, 4706, 28235, 29918, 22692, 353, 7700, 13, 4706, 1550, 1583, 3032, 13322, 29918, 14035, 29879, 29901, 13, 9651, 338, 29918, 16593, 29892, 26324, 353, 1583, 3032, 13322, 29918, 14035, 29879, 29889, 7323, 580, 13, 9651, 4974, 338, 29918, 16593, 13, 9651, 1018, 29901, 13, 18884, 565, 26324, 10456, 735, 29883, 29918, 14144, 1125, 13, 462, 1678, 21301, 287, 29918, 735, 29883, 353, 5852, 13, 462, 1678, 28235, 29918, 22692, 353, 7700, 13, 462, 1678, 5566, 29918, 14144, 353, 313, 8516, 29892, 6213, 29892, 6213, 29897, 13, 9651, 5174, 29901, 13, 18884, 716, 29918, 735, 29883, 29918, 14144, 353, 10876, 29889, 735, 29883, 29918, 3888, 580, 13, 18884, 396, 29611, 278, 5096, 310, 15283, 491, 4444, 278, 3030, 13, 18884, 903, 5878, 29918, 11739, 29918, 4703, 29898, 1482, 29918, 735, 29883, 29918, 14144, 29961, 29896, 1402, 5566, 29918, 14144, 29961, 29896, 2314, 13, 18884, 28235, 29918, 22692, 353, 5852, 13, 18884, 5566, 29918, 14144, 353, 716, 29918, 735, 29883, 29918, 14144, 13, 4706, 565, 28235, 29918, 22692, 29901, 13, 9651, 1018, 29901, 13, 18884, 396, 16079, 376, 22692, 5566, 29918, 14144, 29961, 29896, 18017, 1634, 6048, 1749, 16112, 13, 18884, 396, 731, 29899, 786, 3030, 13, 18884, 4343, 29918, 13073, 353, 5566, 29918, 14144, 29961, 29896, 1822, 1649, 4703, 1649, 13, 18884, 12020, 5566, 29918, 14144, 29961, 29896, 29962, 13, 9651, 5174, 7399, 2451, 29901, 13, 18884, 5566, 29918, 14144, 29961, 29896, 1822, 1649, 4703, 1649, 353, 4343, 29918, 13073, 13, 18884, 12020, 13, 4706, 736, 4520, 29918, 735, 29883, 322, 21301, 287, 29918, 735, 29883, 13, 13, 1678, 822, 3802, 29898, 1311, 1125, 13, 4706, 9995, 1888, 4210, 2486, 443, 14800, 278, 3030, 5096, 1213, 15945, 13, 4706, 1583, 17255, 13322, 12035, 8516, 29892, 6213, 29892, 6213, 29897, 13, 13, 13, 29937, 512, 1028, 2859, 491, 5353, 1080, 373, 2045, 597, 6152, 29879, 29889, 4691, 29889, 990, 29914, 15118, 29906, 29929, 29941, 29900, 29906, 13, 1990, 20688, 24365, 7264, 7373, 5160, 24365, 7264, 29892, 25513, 8123, 2677, 3260, 1125, 13, 1678, 9995, 8123, 3030, 8455, 363, 7343, 10643, 310, 263, 5096, 310, 6876, 13, 1678, 6939, 29879, 29889, 13, 13, 1678, 1152, 1342, 29901, 13, 4706, 7465, 411, 20688, 24365, 7264, 580, 408, 5096, 29901, 13, 9651, 12368, 353, 518, 20675, 5096, 29889, 5893, 29918, 12674, 29918, 4703, 29898, 657, 29918, 9965, 3101, 13, 18884, 363, 474, 297, 3464, 29898, 29945, 4638, 13, 9651, 396, 2178, 6496, 12368, 674, 6336, 367, 5492, 472, 278, 13, 9651, 396, 1095, 310, 278, 7465, 411, 3229, 29892, 1584, 565, 14734, 304, 1722, 263, 13, 9651, 396, 3957, 2678, 297, 278, 1051, 12020, 385, 3682, 29889, 13, 1678, 9995, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 3258, 29918, 12674, 29918, 13322, 29918, 17699, 29898, 4912, 29892, 7477, 29918, 13322, 1125, 13, 4706, 736, 8108, 1542, 29898, 4912, 29918, 13322, 29892, 7477, 29897, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 903, 3258, 29918, 12674, 29918, 10702, 29918, 17699, 29898, 14035, 29892, 847, 29892, 334, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 7465, 822, 903, 13322, 29918, 17699, 29898, 735, 29883, 29918, 1853, 29892, 5566, 29892, 260, 29890, 1125, 13, 9651, 7272, 6939, 10456, 5085, 29892, 3579, 11022, 6289, 29897, 13, 4706, 736, 903, 13322, 29918, 17699, 13, 13, 1678, 7465, 822, 3896, 29918, 12674, 29918, 4703, 29898, 1311, 29892, 7477, 1125, 13, 4706, 9995, 2369, 2153, 278, 19056, 7465, 3030, 8455, 29889, 13, 13, 4706, 960, 9150, 29892, 884, 5503, 267, 967, 4770, 29874, 13322, 1649, 1158, 408, 263, 6939, 322, 13, 4706, 3639, 278, 1121, 310, 278, 4770, 29874, 5893, 1649, 1158, 29889, 13, 4706, 9995, 13, 4706, 1067, 29879, 353, 1134, 29898, 4912, 29897, 13, 4706, 1018, 29901, 13, 9651, 903, 5893, 353, 1067, 29879, 17255, 29874, 5893, 1649, 13, 9651, 903, 13322, 353, 1067, 29879, 17255, 29874, 13322, 1649, 13, 4706, 5174, 23833, 2392, 29901, 13, 9651, 12020, 20948, 29898, 29888, 29908, 29915, 29912, 25932, 17255, 5453, 1649, 1836, 29912, 25932, 17255, 15380, 978, 1649, 10162, 1203, 947, 376, 13, 462, 9651, 285, 29908, 1333, 2304, 278, 20489, 3030, 8455, 9608, 29908, 13, 462, 965, 1723, 515, 6213, 13, 4706, 1121, 353, 7272, 903, 5893, 29898, 4912, 29897, 13, 4706, 1583, 3032, 5910, 29918, 12674, 29918, 4912, 29918, 13322, 29898, 4912, 29892, 903, 13322, 29897, 13, 4706, 736, 1121, 13, 13, 1678, 822, 5503, 29918, 12674, 29918, 13322, 29898, 1311, 29892, 6876, 1125, 13, 4706, 9995, 15213, 29879, 263, 1034, 449, 457, 740, 411, 278, 3918, 4770, 29874, 13322, 1649, 1158, 13, 4706, 12608, 29889, 13, 13, 4706, 1815, 21301, 15283, 278, 1021, 982, 4770, 29874, 13322, 1649, 1158, 508, 29889, 13, 4706, 3115, 21486, 738, 1203, 411, 385, 4770, 29874, 13322, 1649, 1158, 313, 9573, 292, 263, 1246, 13, 4706, 304, 278, 1158, 2012, 310, 278, 1203, 3528, 467, 13, 4706, 9995, 13, 4706, 903, 10702, 29918, 1853, 353, 1134, 29898, 13322, 29897, 13, 4706, 1018, 29901, 13, 9651, 6876, 29918, 5696, 353, 903, 10702, 29918, 1853, 17255, 29874, 13322, 1649, 13, 4706, 5174, 23833, 2392, 29901, 13, 9651, 396, 2216, 385, 7465, 3030, 8455, 29892, 577, 5251, 372, 29915, 29879, 263, 1034, 449, 457, 740, 13, 9651, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 29898, 13322, 29892, 7700, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 3032, 5910, 29918, 12674, 29918, 4912, 29918, 13322, 29898, 13322, 29892, 6876, 29918, 5696, 29897, 13, 4706, 736, 6876, 29871, 396, 29408, 671, 408, 263, 10200, 1061, 13, 13, 1678, 822, 5503, 29918, 12674, 29918, 14035, 29898, 1311, 29892, 6939, 29892, 847, 29892, 334, 5085, 29892, 3579, 11022, 6289, 1125, 13, 4706, 9995, 15213, 29879, 385, 11472, 1034, 449, 457, 740, 322, 6273, 29889, 13, 13, 4706, 15808, 21301, 15283, 29889, 13, 4706, 9995, 13, 4706, 903, 13322, 29918, 17699, 353, 1583, 3032, 3258, 29918, 12674, 29918, 10702, 29918, 17699, 29898, 14035, 29892, 334, 5085, 29892, 3579, 11022, 6289, 29897, 13, 13, 4706, 396, 1334, 3939, 278, 12608, 29892, 577, 773, 732, 29893, 336, 567, 338, 451, 8210, 29892, 541, 13, 4706, 396, 4444, 4770, 29893, 336, 2986, 1649, 1122, 1603, 1371, 411, 25956, 27988, 29889, 13, 4706, 903, 13322, 29918, 17699, 17255, 29893, 336, 2986, 1649, 353, 6939, 13, 4706, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 7373, 13322, 29918, 17699, 29892, 7700, 29897, 13, 4706, 736, 6939, 29871, 396, 29408, 671, 408, 263, 10200, 1061, 13, 13, 1678, 7465, 822, 1274, 2226, 29898, 1311, 1125, 13, 4706, 9995, 1888, 4210, 2486, 443, 14800, 278, 3030, 5096, 1213, 15945, 13, 4706, 7272, 1583, 17255, 29874, 13322, 12035, 8516, 29892, 6213, 29892, 6213, 29897, 13, 13, 1678, 822, 903, 5910, 29918, 12674, 29918, 4912, 29918, 13322, 29898, 1311, 29892, 7477, 29892, 7477, 29918, 13322, 1125, 13, 4706, 9995, 10739, 304, 5149, 6036, 1034, 449, 457, 740, 304, 4770, 29874, 13322, 1649, 13, 4706, 1158, 1213, 15945, 13, 4706, 903, 13322, 29918, 17699, 353, 1583, 3032, 3258, 29918, 12674, 29918, 13322, 29918, 17699, 29898, 4912, 29892, 7477, 29918, 13322, 29897, 13, 4706, 1583, 3032, 5910, 29918, 13322, 29918, 14035, 7373, 13322, 29918, 17699, 29892, 7700, 29897, 13, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 13, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 334, 735, 29883, 29918, 14144, 1125, 13, 4706, 4520, 29918, 735, 29883, 353, 5566, 29918, 14144, 29961, 29900, 29962, 338, 451, 6213, 13, 13, 4706, 396, 1334, 26749, 278, 3682, 2106, 577, 372, 4010, 267, 408, 2466, 13, 4706, 396, 591, 892, 2869, 17763, 292, 2999, 411, 9506, 13, 4706, 3515, 29918, 735, 29883, 353, 10876, 29889, 735, 29883, 29918, 3888, 580, 29961, 29896, 29962, 13, 4706, 822, 903, 5878, 29918, 11739, 29918, 4703, 29898, 1482, 29918, 735, 29883, 29892, 2030, 29918, 735, 29883, 1125, 13, 9651, 396, 15228, 1122, 451, 367, 1959, 29892, 577, 1284, 278, 1095, 310, 278, 9704, 13, 9651, 1550, 29871, 29896, 29901, 13, 18884, 5566, 29918, 4703, 353, 716, 29918, 735, 29883, 17255, 4703, 1649, 13, 18884, 565, 5566, 29918, 4703, 338, 2030, 29918, 735, 29883, 29901, 13, 462, 1678, 396, 15228, 338, 2307, 731, 5149, 313, 4149, 2228, 29871, 29906, 29900, 29941, 29896, 29955, 29897, 13, 462, 1678, 736, 13, 18884, 565, 5566, 29918, 4703, 338, 6213, 470, 5566, 29918, 4703, 338, 3515, 29918, 735, 29883, 29901, 13, 462, 1678, 2867, 13, 18884, 716, 29918, 735, 29883, 353, 5566, 29918, 4703, 13, 9651, 396, 10726, 278, 1095, 310, 278, 9704, 304, 1298, 304, 278, 3682, 13, 9651, 396, 591, 2149, 372, 304, 3407, 13, 9651, 716, 29918, 735, 29883, 17255, 4703, 1649, 353, 2030, 29918, 735, 29883, 13, 13, 4706, 396, 8251, 1627, 29879, 526, 22336, 297, 17705, 5800, 1797, 304, 1993, 278, 10468, 310, 13, 4706, 396, 9322, 3030, 767, 18150, 13, 4706, 21301, 287, 29918, 735, 29883, 353, 7700, 13, 4706, 28235, 29918, 22692, 353, 7700, 13, 4706, 1550, 1583, 3032, 13322, 29918, 14035, 29879, 29901, 13, 9651, 338, 29918, 16593, 29892, 26324, 353, 1583, 3032, 13322, 29918, 14035, 29879, 29889, 7323, 580, 13, 9651, 1018, 29901, 13, 18884, 565, 338, 29918, 16593, 29901, 13, 462, 1678, 26324, 29918, 19303, 1253, 353, 26324, 10456, 735, 29883, 29918, 14144, 29897, 13, 18884, 1683, 29901, 13, 462, 1678, 26324, 29918, 19303, 1253, 353, 7272, 26324, 10456, 735, 29883, 29918, 14144, 29897, 13, 13, 18884, 565, 26324, 29918, 19303, 1253, 29901, 13, 462, 1678, 21301, 287, 29918, 735, 29883, 353, 5852, 13, 462, 1678, 28235, 29918, 22692, 353, 7700, 13, 462, 1678, 5566, 29918, 14144, 353, 313, 8516, 29892, 6213, 29892, 6213, 29897, 13, 9651, 5174, 29901, 13, 18884, 716, 29918, 735, 29883, 29918, 14144, 353, 10876, 29889, 735, 29883, 29918, 3888, 580, 13, 18884, 396, 29611, 278, 5096, 310, 15283, 491, 4444, 278, 3030, 13, 18884, 903, 5878, 29918, 11739, 29918, 4703, 29898, 1482, 29918, 735, 29883, 29918, 14144, 29961, 29896, 1402, 5566, 29918, 14144, 29961, 29896, 2314, 13, 18884, 28235, 29918, 22692, 353, 5852, 13, 18884, 5566, 29918, 14144, 353, 716, 29918, 735, 29883, 29918, 14144, 13, 4706, 565, 28235, 29918, 22692, 29901, 13, 9651, 1018, 29901, 13, 18884, 396, 16079, 376, 22692, 5566, 29918, 14144, 29961, 29896, 18017, 1634, 6048, 1749, 16112, 13, 18884, 396, 731, 29899, 786, 3030, 13, 18884, 4343, 29918, 13073, 353, 5566, 29918, 14144, 29961, 29896, 1822, 1649, 4703, 1649, 13, 18884, 12020, 5566, 29918, 14144, 29961, 29896, 29962, 13, 9651, 5174, 7399, 2451, 29901, 13, 18884, 5566, 29918, 14144, 29961, 29896, 1822, 1649, 4703, 1649, 353, 4343, 29918, 13073, 13, 18884, 12020, 13, 4706, 736, 4520, 29918, 735, 29883, 322, 21301, 287, 29918, 735, 29883, 13, 13, 13, 1990, 1870, 4703, 29898, 9118, 2677, 3260, 29892, 25513, 8123, 2677, 3260, 1125, 13, 1678, 9995, 2677, 8455, 393, 947, 694, 5684, 9068, 29889, 13, 13, 1678, 501, 8485, 408, 263, 2317, 29899, 262, 363, 263, 4226, 3030, 8455, 29892, 746, 263, 3153, 13, 1678, 2908, 310, 775, 338, 871, 6041, 1304, 411, 263, 4226, 3030, 8455, 29901, 13, 13, 1678, 7477, 353, 13136, 29918, 4912, 565, 4195, 1683, 1870, 4703, 580, 13, 1678, 411, 7477, 29901, 13, 4706, 396, 27313, 5858, 29892, 773, 13136, 29918, 4912, 565, 4195, 338, 5852, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3896, 29918, 2914, 29922, 8516, 1125, 13, 4706, 1583, 29889, 5893, 29918, 2914, 353, 3896, 29918, 2914, 13, 13, 1678, 822, 4770, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 29889, 5893, 29918, 2914, 13, 13, 1678, 822, 4770, 13322, 12035, 1311, 29892, 334, 735, 29883, 3888, 1125, 13, 4706, 1209, 13, 13, 1678, 7465, 822, 4770, 29874, 5893, 12035, 1311, 1125, 13, 4706, 736, 1583, 29889, 5893, 29918, 2914, 13, 13, 1678, 7465, 822, 4770, 29874, 13322, 12035, 1311, 29892, 334, 735, 29883, 3888, 1125, 13, 4706, 1209, 13, 2 ]
examples/old-examples/GLWindow/conways_game_of_life_texel_fetch.py
asnt/moderngl
96
173260
import struct import numpy import GLWindow import ModernGL # This example is not working with NPOT Textures width, height = 640, 460 pixels = numpy.round(numpy.random.rand(width, height)).astype('float32') grid = numpy.dstack(numpy.mgrid[0:height, 0:width][::-1]).astype('int32') wnd = GLWindow.create_window(width, height) ctx = ModernGL.create_context() prog = ctx.program( ctx.vertex_shader(''' #version 330 in vec2 vert; out vec2 text; void main() { text = vert; gl_Position = vec4((vert * 2.0 - 1.0) * 1, 0.0, 1.0); } '''), ctx.fragment_shader(''' #version 330 uniform sampler2D Texture; in vec2 text; out vec4 color; void main() { color = texture(Texture, text); } '''), ]) trans = ctx.program( ctx.vertex_shader(''' #version 330 uniform sampler2D Texture; uniform int Width; uniform int Height; in ivec2 text; out float vert; #define LIVING 0.0 #define DEAD 1.0 bool cell(int x, int y) { return texelFetch(Texture, ivec2((x + Width) % Width, (y + Height) % Height), 0).r < 0.5; } void main() { bool living = cell(text.x, text.y); int neighbours = 0; if (cell(text.x - 1, text.y - 1)) neighbours++; if (cell(text.x - 1, text.y + 0)) neighbours++; if (cell(text.x - 1, text.y + 1)) neighbours++; if (cell(text.x + 1, text.y - 1)) neighbours++; if (cell(text.x + 1, text.y + 0)) neighbours++; if (cell(text.x + 1, text.y + 1)) neighbours++; if (cell(text.x + 0, text.y + 1)) neighbours++; if (cell(text.x + 0, text.y - 1)) neighbours++; if (living) { vert = (neighbours == 2 || neighbours == 3) ? LIVING : DEAD; } else { vert = (neighbours == 3) ? LIVING : DEAD; } } '''), varyings=['vert'] ) trans.uniforms['Width'].value = width trans.uniforms['Height'].value = height texture = ctx.texture((width, height), 1, pixels.tobytes(), floats=True) texture.filter = ModernGL.NEAREST texture.swizzle = 'RRR1' texture.use() vbo = ctx.buffer(struct.pack('8f', 0, 0, 0, 1, 1, 0, 1, 1)) vao = ctx.simple_vertex_array(prog, vbo, ['vert']) text = ctx.buffer(grid.tobytes()) tao = ctx.simple_vertex_array(trans, text, ['text']) pbo = ctx.buffer(reserve=pixels.nbytes) while wnd.update(): ctx.viewport = wnd.viewport tao.transform(pbo) texture.write(pbo) vao.render(ModernGL.TRIANGLE_STRIP)
[ 1, 1053, 2281, 13, 5215, 12655, 13, 13, 5215, 12729, 5907, 13, 5215, 14624, 7239, 13, 13, 29937, 910, 1342, 338, 451, 1985, 411, 405, 29925, 2891, 3992, 1973, 13, 13, 2103, 29892, 3171, 353, 29871, 29953, 29946, 29900, 29892, 29871, 29946, 29953, 29900, 13, 13, 29886, 861, 1379, 353, 12655, 29889, 14486, 29898, 23749, 29889, 8172, 29889, 9502, 29898, 2103, 29892, 3171, 8106, 579, 668, 877, 7411, 29941, 29906, 1495, 13, 7720, 353, 12655, 29889, 29881, 1429, 29898, 23749, 29889, 29885, 7720, 29961, 29900, 29901, 3545, 29892, 29871, 29900, 29901, 2103, 3816, 1057, 29899, 29896, 14664, 579, 668, 877, 524, 29941, 29906, 1495, 13, 13, 29893, 299, 353, 12729, 5907, 29889, 3258, 29918, 7165, 29898, 2103, 29892, 3171, 29897, 13, 13073, 353, 14624, 7239, 29889, 3258, 29918, 4703, 580, 13, 13, 29097, 353, 12893, 29889, 8860, 29898, 13, 1678, 12893, 29889, 369, 4776, 29918, 845, 1664, 877, 4907, 13, 4706, 396, 3259, 29871, 29941, 29941, 29900, 13, 13, 4706, 297, 9649, 29906, 4837, 29936, 13, 4706, 714, 9649, 29906, 1426, 29936, 13, 13, 4706, 1780, 1667, 580, 426, 13, 9651, 1426, 353, 4837, 29936, 13, 9651, 3144, 29918, 8003, 353, 9649, 29946, 3552, 1765, 334, 29871, 29906, 29889, 29900, 448, 29871, 29896, 29889, 29900, 29897, 334, 29871, 29896, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 416, 13, 4706, 500, 13, 1678, 14550, 511, 13, 1678, 12893, 29889, 20777, 29918, 845, 1664, 877, 4907, 13, 4706, 396, 3259, 29871, 29941, 29941, 29900, 13, 13, 4706, 9090, 3514, 20069, 29906, 29928, 3992, 545, 29936, 13, 13, 4706, 297, 9649, 29906, 1426, 29936, 13, 4706, 714, 9649, 29946, 2927, 29936, 13, 13, 4706, 1780, 1667, 580, 426, 13, 9651, 2927, 353, 18459, 29898, 21898, 29892, 1426, 416, 13, 4706, 500, 13, 1678, 14550, 511, 13, 2314, 13, 13, 3286, 353, 12893, 29889, 8860, 29898, 13, 1678, 12893, 29889, 369, 4776, 29918, 845, 1664, 877, 4907, 13, 4706, 396, 3259, 29871, 29941, 29941, 29900, 13, 13, 4706, 9090, 3514, 20069, 29906, 29928, 3992, 545, 29936, 13, 4706, 9090, 938, 21485, 29936, 13, 4706, 9090, 938, 22907, 29936, 13, 13, 4706, 297, 474, 2003, 29906, 1426, 29936, 13, 4706, 714, 5785, 4837, 29936, 13, 13, 4706, 396, 7922, 365, 5667, 4214, 29871, 29900, 29889, 29900, 13, 4706, 396, 7922, 5012, 3035, 29871, 29896, 29889, 29900, 13, 13, 4706, 6120, 3038, 29898, 524, 921, 29892, 938, 343, 29897, 426, 13, 9651, 736, 19696, 295, 20927, 29898, 21898, 29892, 474, 2003, 29906, 3552, 29916, 718, 21485, 29897, 1273, 21485, 29892, 313, 29891, 718, 22907, 29897, 1273, 22907, 511, 29871, 29900, 467, 29878, 529, 29871, 29900, 29889, 29945, 29936, 13, 4706, 500, 13, 13, 4706, 1780, 1667, 580, 426, 13, 9651, 6120, 8471, 353, 3038, 29898, 726, 29889, 29916, 29892, 1426, 29889, 29891, 416, 13, 13, 9651, 938, 22092, 2470, 353, 29871, 29900, 29936, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 448, 29871, 29896, 29892, 1426, 29889, 29891, 448, 29871, 29896, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 448, 29871, 29896, 29892, 1426, 29889, 29891, 718, 29871, 29900, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 448, 29871, 29896, 29892, 1426, 29889, 29891, 718, 29871, 29896, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 718, 29871, 29896, 29892, 1426, 29889, 29891, 448, 29871, 29896, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 718, 29871, 29896, 29892, 1426, 29889, 29891, 718, 29871, 29900, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 718, 29871, 29896, 29892, 1426, 29889, 29891, 718, 29871, 29896, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 718, 29871, 29900, 29892, 1426, 29889, 29891, 718, 29871, 29896, 876, 22092, 2470, 9107, 13, 9651, 565, 313, 3729, 29898, 726, 29889, 29916, 718, 29871, 29900, 29892, 1426, 29889, 29891, 448, 29871, 29896, 876, 22092, 2470, 9107, 13, 13, 9651, 565, 313, 29880, 4357, 29897, 426, 13, 18884, 4837, 353, 313, 484, 1141, 29890, 2470, 1275, 29871, 29906, 3830, 22092, 2470, 1275, 29871, 29941, 29897, 1577, 365, 5667, 4214, 584, 5012, 3035, 29936, 13, 9651, 500, 1683, 426, 13, 18884, 4837, 353, 313, 484, 1141, 29890, 2470, 1275, 29871, 29941, 29897, 1577, 365, 5667, 4214, 584, 5012, 3035, 29936, 13, 9651, 500, 13, 4706, 500, 13, 1678, 14550, 511, 13, 1678, 13100, 886, 29922, 1839, 1765, 2033, 13, 29897, 13, 13, 3286, 29889, 29590, 29879, 1839, 6110, 13359, 1767, 353, 2920, 13, 3286, 29889, 29590, 29879, 1839, 7011, 13359, 1767, 353, 3171, 13, 13, 726, 545, 353, 12893, 29889, 726, 545, 3552, 2103, 29892, 3171, 511, 29871, 29896, 29892, 17036, 29889, 517, 13193, 3285, 5685, 1446, 29922, 5574, 29897, 13, 726, 545, 29889, 4572, 353, 14624, 7239, 29889, 8186, 29909, 1525, 1254, 13, 726, 545, 29889, 2774, 4981, 280, 353, 525, 29934, 29934, 29934, 29896, 29915, 13, 726, 545, 29889, 1509, 580, 13, 13, 29894, 833, 353, 12893, 29889, 9040, 29898, 4984, 29889, 4058, 877, 29947, 29888, 742, 29871, 29900, 29892, 29871, 29900, 29892, 29871, 29900, 29892, 29871, 29896, 29892, 29871, 29896, 29892, 29871, 29900, 29892, 29871, 29896, 29892, 29871, 29896, 876, 13, 1564, 29877, 353, 12893, 29889, 12857, 29918, 369, 4776, 29918, 2378, 29898, 29097, 29892, 325, 833, 29892, 6024, 1765, 11287, 13, 13, 726, 353, 12893, 29889, 9040, 29898, 7720, 29889, 517, 13193, 3101, 13, 941, 29877, 353, 12893, 29889, 12857, 29918, 369, 4776, 29918, 2378, 29898, 3286, 29892, 1426, 29892, 6024, 726, 11287, 13, 29886, 833, 353, 12893, 29889, 9040, 29898, 690, 7143, 29922, 29886, 861, 1379, 29889, 29876, 13193, 29897, 13, 13, 8000, 281, 299, 29889, 5504, 7295, 13, 1678, 12893, 29889, 1493, 637, 353, 281, 299, 29889, 1493, 637, 13, 13, 1678, 260, 6241, 29889, 9067, 29898, 29886, 833, 29897, 13, 1678, 18459, 29889, 3539, 29898, 29886, 833, 29897, 13, 13, 1678, 2947, 29877, 29889, 9482, 29898, 2111, 824, 7239, 29889, 29911, 3960, 19453, 1307, 29918, 1254, 3960, 29925, 29897, 13, 2 ]
Processing.py
Christoper-Harvey/ecg-file-processing
0
113745
import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns import base64 import glob from scipy.signal import medfilt from scipy.integrate import trapz import xml.etree.ElementTree as et from datetime import date today = date.today() np.warnings.filterwarnings('ignore') sns.set(style="darkgrid") roots = [] root_names = [] for n in glob.glob('*.xml'): roots.append(et.parse(n).getroot()) root_names.append(n) def modified_z_score(intensity): median_int = np.median(intensity) mad_int = np.median([np.abs(intensity - median_int)]) if mad_int == 0: mad_int = 1 modified_z_scores = 0.6745 * (intensity - median_int) / mad_int return modified_z_scores def df_fixer(y,n): threshold = 0 x = 0 while threshold == 0: if np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), 1) > 150: if abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() < np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .98)+55: threshold = abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() + 1 elif abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() > np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .98)+55: x += 5 elif np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), 1) <= 150: if abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() < np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .992)+55: threshold = abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() + 1 elif abs(np.array(modified_z_score(np.diff(y))))[int(data.Qonset[n*12])+x:int(data.Qoffset[n*12])+30].max() > np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .992)+55: x += 5 spikes = abs(np.array(modified_z_score(np.diff(y)))) > threshold y_out = y.copy() for i in np.arange(len(spikes)): if spikes[i] != 0: y_out[i+y_out.index[0]] = None return y_out def half_df_fixer(y,n): threshold = 0 x = 0 while threshold == 0: if np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), 1) > 150: if abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() < np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .98)+60: threshold = abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() + 1 elif abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() > np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .98)+60: x += 2 elif np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), 1) <= 150: if abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() < np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .992)+60: threshold = abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() + 1 elif abs(np.array(modified_z_score(np.diff(y))))[int(half_data.Qonset[n*12])+x:int(half_data.Qoffset[n*12])+30].max() > np.nanquantile(abs(np.array(modified_z_score(np.diff(y)))), .992)+60: x += 2 spikes = abs(np.array(modified_z_score(np.diff(y)))) > threshold y_out = y.copy() for i in np.arange(len(spikes)): if spikes[i] != 0: y_out[i+y_out.index[0]] = None return y_out def hanging_line(point1, point2): a = (point2[1] - point1[1])/(np.cosh(point2[0] % 600) - np.cosh(point1[0] % 600)) b = point1[1] - a*np.cosh(point1[0] % 600) x = np.linspace(point1[0], point2[0], (point2[0] - point1[0])+1) y = a*np.cosh(x % 600) + b return (x,y) Tags = {'tags':[]} tags = {'tags':[]} for root in roots: if len(root.find('{http://www3.medical.philips.com}waveforms').getchildren()) == 2: if int(root.find('{http://www3.medical.philips.com}waveforms')[1].attrib['samplespersec']) == 1000: for elem in root.find('{http://www3.medical.philips.com}waveforms')[1]: tag = {} tag['Lead'] = elem.attrib['leadname'] if (root[6][1][0][14].text == 'Invalid' or elem[0].text == 'Invalid') and root[6].tag == '{http://www3.medical.philips.com}internalmeasurements': if root[6][1][0][14].text == None or root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][1][0][14].text == '\n ' or root[6][1][0][14].text == 'Failed': tag['Ponset'] = 0 tag['Pdur'] = 0 tag['Print'] = 0 tag['Poffset'] = 0 else: tag['Ponset'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text) tag['Pdur'] = 0 tag['Print'] = int(root[6][1][0][14].text) tag['Poffset'] = (int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text)) + 0 elif root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][1][0][14].text == None or root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Failed' or root[6][1][0][14].text == 'Failed' or (root[6][1][0][14].text == 'Invalid' or elem[0].text == 'Invalid'): tag['Ponset'] = 0 tag['Pdur'] = 0 tag['Print'] = 0 tag['Poffset'] = 0 else: tag['Ponset'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text) tag['Pdur'] = int(elem[0].text) tag['Print'] = int(root[6][1][0][14].text) tag['Poffset'] = (int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text)) + int(elem[0].text) if (root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][0][29].text == 'Invalid' or elem[4].text == 'Invalid' or root[6][1][0][18].text == 'Invalid'): tag['Qonset'] = np.nan tag['Qrsdur'] = np.nan tag['Qoffset'] = np.nan tag['Tonset'] = np.nan tag['Qtint'] = np.nan tag['Toffset'] = np.nan tag['Tdur'] = np.nan else: tag['Qonset'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) tag['Qrsdur'] = int(root[6][0][29].text) tag['Qoffset'] = tag['Qonset'] + tag['Qrsdur'] tag['Tonset'] = int(elem[4].text) tag['Qtint'] = int(root[6][1][0][18].text) tag['Toffset'] = tag['Qonset'] + tag['Qtint'] tag['Tdur'] = tag['Qoffset'] - tag['Qonset'] if root[7].tag == '{http://www3.medical.philips.com}interpretations' and root[6].tag == '{http://www3.medical.philips.com}internalmeasurements': if root[7][0][1][0].text != None and (root[7][0][1][0].text).isdigit(): tag['HeartRate'] = int(root[7][0][1][0].text) if root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[1].text != None: tag['RRint'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[1].text) if root[6][1][0][9].text != None: tag['AtrialRate'] = int(root[6][1][0][9].text) if root[6][0][15].text != None and root[6][0][15].text != 'Indeterminate': tag['QRSFrontAxis'] = int(root[6][0][15].text) if root[6][0][31].text != None and root[6][0][31].text != 'Failed': tag['QTC'] = int(root[6][0][31].text) tag['Target'] = [] for n in range(len(root[7][0][root[7][0].getchildren().index(root[7][0].find('{http://www3.medical.philips.com}statement')):])): tag['Target'].append(root[7][0][root[7][0].getchildren().index(root[7][0].find('{http://www3.medical.philips.com}statement')):][n][0].text) else: tag['HeartRate'] = np.nan tag['RRint'] = np.nan tag['AtrialRate'] = np.nan tag['QRSFrontAxis'] = np.nan tag['QTC'] = np.nan tag['Target'] = [] if root[3].tag == '{http://www3.medical.philips.com}reportinfo' and root[5].tag == '{http://www3.medical.philips.com}patient': time = root[3].attrib tag['Date'] = time['date'] tag['Time'] = time['time'] tag['Sex'] = root[5][0][6].text tag['ID'] = root[5][0][0].text tag['Name'] = root[5][0].find('{http://www3.medical.philips.com}name')[0].text + ', ' + root[5][0].find('{http://www3.medical.philips.com}name')[1].text if root[5][0].find('{http://www3.medical.philips.com}age')[0].tag == '{http://www3.medical.philips.com}dateofbirth': tag['Age'] = int(today.strftime("%Y")) - int(root[5][0].find('{http://www3.medical.philips.com}age')[0].text[0:4]) if root[5][0].find('{http://www3.medical.philips.com}age')[0].tag == '{http://www3.medical.philips.com}years': tag['Age'] = int(root[5][0].find('{http://www3.medical.philips.com}age')[0].text) tag['Waveform'] = elem[6].text # tag['LongWaveform'] = root[8][0].text tags['tags'].append(tag) else: for elem in root.find('{http://www3.medical.philips.com}waveforms')[1]: Tag = {} Tag['Lead'] = elem.attrib['leadname'] if (root[6][1][0][14].text == 'Invalid' or elem[0].text == 'Invalid') and root[6].tag == '{http://www3.medical.philips.com}internalmeasurements': if root[6][1][0][14].text == None or root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][1][0][14].text == '\n ' or root[6][1][0][14].text == 'Failed': Tag['Ponset'] = 0 Tag['Pdur'] = 0 Tag['Print'] = 0 Tag['Poffset'] = 0 else: Tag['Ponset'] = float(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text) Tag['Pdur'] = 0 Tag['Print'] = int(root[6][1][0][14].text) Tag['Poffset'] = (int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text)) + 0 elif root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][1][0][14].text == None or root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == None or root[6][1][0][14].text == 'Invalid' or elem[0].text == 'Invalid' and root[6].tag == '{http://www3.medical.philips.com}internalmeasurements': Tag['Ponset'] = 0 Tag['Pdur'] = 0 Tag['Print'] = 0 Tag['Poffset'] = 0 else: Tag['Ponset'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text) Tag['Pdur'] = int(elem[0].text) Tag['Print'] = int(root[6][1][0][14].text) Tag['Poffset'] = (int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) - int(root[6][1][0][14].text)) + int(elem[0].text) if (root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text == 'Invalid' or root[6][1][0][18].text == None or root[6][0][29].text == 'Invalid' or elem[4].text == 'Invalid' or root[6][1][0][18].text == 'Invalid'): Tag['Qonset'] = np.nan Tag['Qrsdur'] = np.nan Tag['Qoffset'] = np.nan Tag['Tonset'] = np.nan Tag['Qtint'] = np.nan Tag['Toffset'] = np.nan Tag['Tdur'] = np.nan else: Tag['Qonset'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[5].text) Tag['Qrsdur'] = int(root[6][0][29].text) Tag['Qoffset'] = Tag['Qonset'] + Tag['Qrsdur'] Tag['Tonset'] = int(elem[4].text) Tag['Qtint'] = int(root[6][1][0][18].text) Tag['Toffset'] = Tag['Qonset'] + Tag['Qtint'] Tag['Tdur'] = Tag['Qoffset'] - Tag['Qonset'] if root[7].tag == '{http://www3.medical.philips.com}interpretations' and root[6].tag == '{http://www3.medical.philips.com}internalmeasurements': if root[7][0][1][0].text != None and (root[7][0][1][0].text).isdigit(): Tag['HeartRate'] = int(root[7][0][1][0].text) if root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[1].text != None: Tag['RRint'] = int(root[7][0].find('{http://www3.medical.philips.com}globalmeasurements')[1].text) if root[6][1][0][9].text != None: Tag['AtrialRate'] = int(root[6][1][0][9].text) if root[6][0][15].text != None and root[6][0][15].text != 'Indeterminate': Tag['QRSFrontAxis'] = int(root[6][0][15].text) if root[6][0][31].text != None: Tag['QTC'] = int(root[6][0][31].text) Tag['Target'] = [] for n in range(len(root[7][0][root[7][0].getchildren().index(root[7][0].find('{http://www3.medical.philips.com}statement')):])): Tag['Target'].append(root[7][0][root[7][0].getchildren().index(root[7][0].find('{http://www3.medical.philips.com}statement')):][n][0].text) else: Tag['HeartRate'] = np.nan Tag['RRint'] = np.nan Tag['AtrialRate'] = np.nan Tag['QRSFrontAxis'] = np.nan Tag['QTC'] = np.nan Tag['Target'] = [] if root[3].tag == '{http://www3.medical.philips.com}reportinfo' and root[5].tag == '{http://www3.medical.philips.com}patient': time = root[3].attrib Tag['Date'] = time['date'] Tag['Time'] = time['time'] Tag['Sex'] = root[5][0][6].text Tag['ID'] = root[5][0][0].text Tag['Name'] = root[5][0].find('{http://www3.medical.philips.com}name')[0].text + ', ' + root[5][0].find('{http://www3.medical.philips.com}name')[1].text if len(root[5][0].find('{http://www3.medical.philips.com}age')) > 0: if root[5][0].find('{http://www3.medical.philips.com}age')[0].tag == '{http://www3.medical.philips.com}dateofbirth': Tag['Age'] = int(today.strftime("%Y")) - int(root[5][0].find('{http://www3.medical.philips.com}age')[0].text[0:4]) if root[5][0].find('{http://www3.medical.philips.com}age')[0].tag == '{http://www3.medical.philips.com}years': Tag['Age'] = int(root[5][0].find('{http://www3.medical.philips.com}age')[0].text) Tag['Waveform'] = elem[6].text # Tag['LongWaveform'] = root[8][0].text Tags['tags'].append(Tag) half_data = pd.DataFrame(Tags['tags']) data = pd.DataFrame(tags['tags']) del roots del root del elem count1000 = int(len(data)/12) count500 = int(len(half_data)/12) count = count1000 + count500 if len(data) > 0: array = np.unique(data[data.isnull().any(axis=1)][['ID', 'Date', 'Time']]) missing_data = data.loc[data['ID'].isin(array) & data['Date'].isin(array) & data['Time'].isin(array)] data.drop(missing_data.index, axis=0,inplace=True) missing_data = missing_data.reset_index(drop=True) del tag del tags data = data.reset_index(drop=True) for n in range(count1000): data.Tonset[n*12:(n+1)*12] = np.repeat(int(data.Tonset[n*12:(n+1)*12].sum()/12), 12) data.Pdur[n*12:(n+1)*12] = np.repeat(int(data.Pdur[n*12:(n+1)*12].sum()/12), 12) x = 0 p = [] for x in range(len(data.Waveform)): t = base64.b64decode(data.Waveform[x]) p.append(np.asarray(t)) x+=1 p = np.asarray(p) a = [] for i in p: o = [] for x in i: o.append(x) a.append(o) df = pd.DataFrame(a) df.insert(0, 'Lead', data['Lead']) blank = [] for n in range(count1000): blank.append(pd.pivot_table(df[(n*12):(n+1)*12], columns=df.Lead)) test = pd.concat(blank) new = [] array = [] for n in range(13): for index, num in zip(test.iloc[:, n-1][::2], test.iloc[:, n-1][1::2]): if num > 128: new.append(index - (256 * (256 - num))) elif num < 128: new.append(index + (256 * num)) elif num == 0: new.append(index) else: new.append(index) new = [] array.append(new) array = np.asarray([array[0], array[1], array[2], array[3], array[4], array[5], array[6], array[7], array[8], array[9], array[10], array[11]]) df = pd.DataFrame(array) df = pd.pivot_table(df, columns=test.columns) df = df.fillna(0) del a del p del o del t del blank del new del array for n in range(count1000): for x in range(12): if (data.Toffset[n*12]-data.RRint[n*12]) >= data.Ponset[n*12] or (data.Ponset[n*12] + data.RRint[n*12]) - data.Toffset[n*12] == 1: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - (df.iloc[:,x][n*1200:int(data.Qonset[n*12])+(n*1200)].mean() + df.iloc[:,x][int(data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 else: rrint = data.RRint[n*12] if (rrint + data.Ponset[n*12]) > 1200 and (data.Toffset[n*12]-rrint) < 0: temp = df.iloc[:,x][int(n*1200):int(data.Ponset[n*12]+(n*1200))] test = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)):int((n+1)*1200)] if test.empty == False and temp.empty == False: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - (df.iloc[:,x][n*1200:int(data.Qonset[n*12])+(n*1200)].mean() + df.iloc[:,x][int(data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 elif (rrint + data.Ponset[n*12]) > 1200 and (data.Toffset[n*12]-rrint) > 0: temp = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)-rrint):int(data.Ponset[n*12]+(n*1200))] test = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)):int((n+1)*1200)] if test.empty == False and temp.empty == False: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - (df.iloc[:,x][n*1200:int(data.Qonset[n*12])+(n*1200)].mean() + df.iloc[:,x][int(data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 elif rrint + data.Ponset[n*12] < 1200 and (data.Toffset[n*12]-rrint) < 0: temp = df.iloc[:,x][int(n*1200):int(data.Ponset[n*12]+(n*1200))] test = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)):int(rrint + data.Ponset[n*12]+(n*1200))] if test.empty == False and temp.empty == False: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - (df.iloc[:,x][n*1200:int(data.Qonset[n*12])+(n*1200)].mean() + df.iloc[:,x][int(data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 else: temp = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)-rrint):int(data.Ponset[n*12]+(n*1200))] test = df.iloc[:,x][int(data.Toffset[n*12]+(n*1200)):int(rrint + data.Ponset[n*12]+(n*1200))] if test.empty == False and temp.empty == False: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: df.iloc[:,x][n*1200:1200*(n+1)] = df.iloc[:,x][n*1200:1200*(n+1)] - (df.iloc[:,x][n*1200:int(data.Qonset[n*12])+(n*1200)].mean() + df.iloc[:,x][int(data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 unfiltered_leads = df.copy() for n in range(count1000): for inx in range(12): test = df_fixer(df.iloc[:,inx][n*1200:(n+1)*1200], n) gaps = [] lstOfNs = [] gap = [] for num in test[test.isna() == True].index: lstOfNs.append(num) if len(lstOfNs) == 1: gap.append(lstOfNs[0]) if len(lstOfNs) > 1: if lstOfNs[-1] - lstOfNs[-2] < 5: gap.append(num) elif lstOfNs[-1] - lstOfNs[-2] > 5: gaps.append(gap) gap = [] gap.append(num) gaps.append(gap) if gaps != [[]]: x = [] y = [] for g in gaps: if len(g) == 1: x.append([g[-1]+1]) y.append(test[g[-1]+1]) if np.isnan(test.iloc[0]): point1 = [g[0], test[g[-1]+1]] point2 = [g[-1]+1, test[g[-1]+1]] x_temp,y_temp = hanging_line(point1, point2) x.append(x_temp) y.append(y_temp) else: point1 = [g[0]-1, test[g[0]-1]] point2 = [g[-1]+1, test[g[-1]+1]] x_temp,y_temp = hanging_line(point1, point2) x.append(x_temp) y.append(y_temp) for i in range(len(x)): test[x[i]] = y[i] if (trapz(abs(test[int(data.Qonset[n*12]):int(data.Qoffset[n*12])]))/trapz(abs(df.iloc[:,inx][int(data.Qonset[12*n]+(1200*n)):int(data.Qoffset[12*n]+(1200*n))]))) < .60: test = df.iloc[:,inx][n*1200:(n+1)*1200] test = medfilt(test, kernel_size=9) df.iloc[:,inx][n*1200:(n+1)*1200] = test del gaps del lstOfNs del gap del test VTI_leads = df[['III', 'aVF', 'aVL', 'aVR']] df = df[['I', 'II', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6']] Unfiltered_VTI_leads = unfiltered_leads[['III', 'aVF', 'aVL', 'aVR']] unfiltered_leads = unfiltered_leads[['I', 'II', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6']] matrix = [[.38, -.07, -.13, .05, -.01, .14, .06, .54], [-.07, .93, .06, -.02, -.05, .06, -.17, .13], [.11, -.23, -.43, -.06, -.14, -.20, -.11, .31]] x = matrix[0] y = matrix[1] z = matrix[2] n = 0 xtemp = [] ytemp = [] ztemp = [] for i in range(len(df)): xtemp.append((df.iloc[n].values * x).sum()) ytemp.append((df.iloc[n].values * y).sum()) ztemp.append((df.iloc[n].values * z).sum()) n+=1 df['x'] = xtemp df['y'] = ytemp df['z'] = ztemp n = 0 xtemp = [] ytemp = [] ztemp = [] for i in range(len(unfiltered_leads)): xtemp.append((unfiltered_leads.iloc[n].values * x).sum()) ytemp.append((unfiltered_leads.iloc[n].values * y).sum()) ztemp.append((unfiltered_leads.iloc[n].values * z).sum()) n+=1 df['Unfiltered_x'] = xtemp df['Unfiltered_y'] = ytemp df['Unfiltered_z'] = ztemp del xtemp del ytemp del ztemp df['Date'] = data['Date'] df['ID'] = data['ID'] df['Time'] = data['Time'] df['Print'] = data['Print'] df['Ponset'] = data['Ponset'] df['Pdur'] = data['Pdur'] df['Poffset'] = data['Poffset'] df['Qonset'] = data['Qonset'] df['Qrsdur'] = data['Qrsdur'] df['Qtint'] = data['Qtint'] df['Qoffset'] = data['Qoffset'] df['Tonset'] = data['Tonset'] df['Tdur'] = data['Tdur'] df['Toffset'] = data['Toffset'] df['HeartRate'] = data['HeartRate'] df['QRSFrontAxis'] = data['QRSFrontAxis'] df['Sex'] = data['Sex'] df['QTC'] = data['QTC'] df['Age'] = data['Age'] df['Name'] = data['Name'] for n in range(count1000): df['Ponset'][(n*1200):(n+1)*1200] = data['Ponset'][n*12] df['Print'][(n*1200):(n+1)*1200] = data['Print'][n*12] df['Pdur'][(n*1200):(n+1)*1200] = data['Pdur'][n*12] df['Poffset'][(n*1200):(n+1)*1200] = data['Poffset'][n*12] df['Qonset'][(n*1200):(n+1)*1200] = data['Qonset'][n*12] df['Qrsdur'][(n*1200):(n+1)*1200] = data['Qrsdur'][n*12] df['Qtint'][(n*1200):(n+1)*1200] = data['Qtint'][n*12] df['Qoffset'][(n*1200):(n+1)*1200] = data['Qoffset'][n*12] df['Tonset'][(n*1200):(n+1)*1200] = data['Tonset'][n*12] df['Tdur'][(n*1200):(n+1)*1200] = data['Tdur'][n*12] df['Toffset'][(n*1200):(n+1)*1200] = data['Toffset'][n*12] df['HeartRate'][(n*1200):(n+1)*1200] = data['HeartRate'][n*12] df['QRSFrontAxis'][(n*1200):(n+1)*1200] = data['QRSFrontAxis'][n*12] df['Sex'][(n*1200):(n+1)*1200] = data['Sex'][n*12] df['QTC'][(n*1200):(n+1)*1200] = data['QTC'][n*12] df['Age'][(n*1200):(n+1)*1200] = data['Age'][n*12] df['Date'][(n*1200):(n+1)*1200] = data['Date'][12*n] df['Time'][(n*1200):(n+1)*1200] = data['Time'][12*n] df['ID'][(n*1200):(n+1)*1200] = data['ID'][12*n] df['Name'][(n*1200):(n+1)*1200] = data['Name'][12*n] df[['III', 'aVF', 'aVL', 'aVR']] = VTI_leads unfiltered_leads[['III', 'aVF', 'aVL', 'aVR']] = Unfiltered_VTI_leads df[['Unfiltered_I', 'Unfiltered_II', 'Unfiltered_III', 'Unfiltered_V1', 'Unfiltered_V2', 'Unfiltered_V3', 'Unfiltered_V4', 'Unfiltered_V5', 'Unfiltered_V6', 'Unfiltered_aVF', 'Unfiltered_aVL', 'Unfiltered_aVR']] = unfiltered_leads[['I', 'II', 'III', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'aVF', 'aVL', 'aVR']] del unfiltered_leads del VTI_leads if len(half_data) > 0: array = np.unique(half_data[half_data.isnull().any(axis=1)][['ID', 'Date', 'Time']]) missing_half_data = half_data.loc[half_data['ID'].isin(array) & half_data['Date'].isin(array) & half_data['Time'].isin(array)] half_data.drop(missing_half_data.index, axis=0,inplace=True) missing_half_data = missing_half_data.reset_index(drop=True) del Tag del Tags half_data = half_data.reset_index(drop=True) for n in range(count500): half_data.Tonset[n*12:(n+1)*12] = np.repeat(int(half_data.Tonset[n*12:(n+1)*12].sum()/12), 12) half_data.Pdur[n*12:(n+1)*12] = np.repeat(int(half_data.Pdur[n*12:(n+1)*12].sum()/12), 12) x = 0 p = [] for x in range(len(half_data.Waveform)): t = base64.b64decode(half_data.Waveform[x]) p.append(np.asarray(t)) x+=1 p = np.asarray(p) a = [] for i in p: o = [] for x in i: o.append(x) a.append(o) half_df = pd.DataFrame(a) half_df.insert(0, 'Lead', half_data['Lead']) blank = [] for n in range(count500): blank.append(pd.pivot_table(half_df[(n*12):(n+1)*12], columns=half_df.Lead)) test = pd.concat(blank) new = [] array = [] for n in range(13): for index, num in zip(test.iloc[:, n-1][::2], test.iloc[:, n-1][1::2]): if num > 128: new.append(index - (256 * (256 - num))) elif num < 128: new.append(index + (256 * num)) elif num == 0: new.append(index) else: new.append(index) new = [] array.append(new) array = np.asarray([array[0], array[1], array[2], array[3], array[4], array[5], array[6], array[7], array[8], array[9], array[10], array[11]]) half_df = pd.DataFrame(array) half_df = pd.pivot_table(half_df, columns=test.columns) half_df = half_df.fillna(0) blank = [] for n in range(count500): blank.append(half_df[(n*1200):((n+1)*1200)-600]) test = pd.concat(blank) half_df = test half_df = half_df.reset_index(drop=True) half_df = pd.pivot_table(half_df, columns=half_df.index) array = [] for i in range(count500): for x in range(12): temp = [] new = [] for n in half_df.iloc[x,i*600:(i+1)*600]: temp.append(n) if len(temp) > 1: new.append(temp[-2]) if len(temp) < 601 and len(temp) > 1: new.append((temp[-1]+temp[-2])/2) if len(temp) == 600: new.append(temp[-1]) new.append(temp[-1]) array.append(new) I = (np.asarray(array[::12])).reshape(count500*1200) II = (np.asarray(array[1::12])).reshape(count500*1200) III = (np.asarray(array[2::12])).reshape(count500*1200) V1 = (np.asarray(array[3::12])).reshape(count500*1200) V2 = (np.asarray(array[4::12])).reshape(count500*1200) V3 = (np.asarray(array[5::12])).reshape(count500*1200) V4 = (np.asarray(array[6::12])).reshape(count500*1200) V5 = (np.asarray(array[7::12])).reshape(count500*1200) V6 = (np.asarray(array[8::12])).reshape(count500*1200) aVF = (np.asarray(array[9::12])).reshape(count500*1200) aVL = (np.asarray(array[10::12])).reshape(count500*1200) aVR = (np.asarray(array[11::12])).reshape(count500*1200) half_df = pd.pivot_table(pd.DataFrame([I, II, III, V1, V2, V3, V4, V5, V6, aVF, aVL, aVR]), columns=test.columns) half_df = half_df.fillna(0) del I del II del III del V1 del V2 del V3 del V4 del V5 del V6 del aVF del aVL del aVR del a del p del o del t del blank del new del array del temp for n in range(count500): for x in range(12): if ((half_data.Toffset[n*12]-half_data.RRint[n*12]) >= half_data.Ponset[n*12]) or ((half_data.Ponset[n*12] + half_data.RRint[n*12]) - half_data.Toffset[n*12] == 1): half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - (half_df.iloc[:,x][n*1200:int(half_data.Qonset[n*12])+(n*1200)].mean() + half_df.iloc[:,x][int(half_data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 else: rrint = half_data.RRint[n*12] if (rrint + half_data.Ponset[n*12]) > 1200 and (half_data.Toffset[n*12]-rrint) < 0: temp = half_df.iloc[:,x][int(n*1200):int(half_data.Ponset[n*12]+(n*1200))] test = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)):int((n+1)*1200)] if test.empty == False and temp.empty == False: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - (half_df.iloc[:,x][n*1200:int(half_data.Qonset[n*12])+(n*1200)].mean() + half_df.iloc[:,x][int(half_data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 elif (rrint + half_data.Ponset[n*12]) > 1200 and (half_data.Toffset[n*12]-rrint) > 0: temp = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)-rrint):int(half_data.Ponset[n*12]+(n*1200))] test = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)):int((n+1)*1200)] if test.empty == False and temp.empty == False: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - (half_df.iloc[:,x][n*1200:int(half_data.Qonset[n*12])+(n*1200)].mean() + half_df.iloc[:,x][int(half_data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 elif rrint + half_data.Ponset[n*12] < 1200 and (half_data.Toffset[n*12]-rrint) < 0: temp = half_df.iloc[:,x][int(n*1200):int(half_data.Ponset[n*12]+(n*1200))] test = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)):int(rrint + half_data.Ponset[n*12]+(n*1200))] if test.empty == False and temp.empty == False: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - (half_df.iloc[:,x][n*1200:int(half_data.Qonset[n*12])+(n*1200)].mean() + half_df.iloc[:,x][int(half_data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 else: temp = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)-rrint):int(half_data.Ponset[n*12]+(n*1200))] test = half_df.iloc[:,x][int(half_data.Toffset[n*12]+(n*1200)):int(rrint + half_data.Ponset[n*12]+(n*1200))] if test.empty == False and temp.empty == False: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - ((temp[len(temp)//3:len(temp)*2//3].mean() + test[len(test)//3:len(test)*2//3].mean()) / 2) elif temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - test[len(test)//3:len(test)*2//3].mean() elif test.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - temp[len(temp)//3:len(temp)*2//3].mean() elif test.empty and temp.empty: half_df.iloc[:,x][n*1200:1200*(n+1)] = half_df.iloc[:,x][n*1200:1200*(n+1)] - (half_df.iloc[:,x][n*1200:int(half_data.Qonset[n*12])+(n*1200)].mean() + half_df.iloc[:,x][int(half_data.Qoffset[n*12])+(n*1200):(n+1)*1200].mean()) / 2 for x in range(12): half_df.iloc[:,x] = half_df.iloc[:,x]*2.5 unfiltered_half_leads = half_df.copy() for n in range(count500): for inx in range(12): test = half_df_fixer(half_df.iloc[:,inx][n*1200:(n+1)*1200], n) gaps = [] lstOfNs = [] gap = [] for num in test[test.isna() == True].index: lstOfNs.append(num) if len(lstOfNs) == 1: gap.append(lstOfNs[0]) if len(lstOfNs) > 1: if lstOfNs[-1] - lstOfNs[-2] < 5: gap.append(num) elif lstOfNs[-1] - lstOfNs[-2] > 5: gaps.append(gap) gap = [] gap.append(num) gaps.append(gap) if gaps != [[]]: x = [] y = [] for g in gaps: if len(g) == 1: x.append([g[-1]+1]) y.append(test[g[-1]+1]) if np.isnan(test.iloc[0]): point1 = [g[0], test[g[-1]+1]] point2 = [g[-1]+1, test[g[-1]+1]] x_temp,y_temp = hanging_line(point1, point2) x.append(x_temp) y.append(y_temp) else: point1 = [g[0]-1, test[g[0]-1]] point2 = [g[-1]+1, test[g[-1]+1]] x_temp,y_temp = hanging_line(point1, point2) x.append(x_temp) y.append(y_temp) for i in range(len(x)): test[x[i]] = y[i] if (trapz(abs(test[int(half_data.Qonset[n*12]):int(half_data.Qoffset[n*12])]))/trapz(abs(half_df.iloc[:,inx][int(half_data.Qonset[12*n]+(1200*n)):int(half_data.Qoffset[12*n]+(1200*n))]))) < .60: test = half_df.iloc[:,inx][n*1200:(n+1)*1200] test = medfilt(test, kernel_size=9) half_df.iloc[:,inx][n*1200:(n+1)*1200] = test del gaps del lstOfNs del gap del test half_VTI_leads = half_df[['III', 'aVF', 'aVL', 'aVR']] half_df = half_df[['I', 'II', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6']] Unfiltered_half_VTI_leads = unfiltered_half_leads[['III', 'aVF', 'aVL', 'aVR']] unfiltered_half_leads = unfiltered_half_leads[['I', 'II', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6']] matrix = [[.38, -.07, -.13, .05, -.01, .14, .06, .54], [-.07, .93, .06, -.02, -.05, .06, -.17, .13], [.11, -.23, -.43, -.06, -.14, -.20, -.11, .31]] x = matrix[0] y = matrix[1] z = matrix[2] n = 0 xtemp = [] ytemp = [] ztemp = [] for i in range(len(half_df)): xtemp.append((half_df.iloc[n].values * x).sum()) ytemp.append((half_df.iloc[n].values * y).sum()) ztemp.append((half_df.iloc[n].values * z).sum()) n+=1 half_df['x'] = xtemp half_df['y'] = ytemp half_df['z'] = ztemp x = matrix[0] y = matrix[1] z = matrix[2] n = 0 xtemp = [] ytemp = [] ztemp = [] for i in range(len(unfiltered_half_leads)): xtemp.append((unfiltered_half_leads.iloc[n].values * x).sum()) ytemp.append((unfiltered_half_leads.iloc[n].values * y).sum()) ztemp.append((unfiltered_half_leads.iloc[n].values * z).sum()) n+=1 half_df['Unfiltered_x'] = xtemp half_df['Unfiltered_y'] = ytemp half_df['Unfiltered_z'] = ztemp del xtemp del ytemp del ztemp half_df['Date'] = half_data['Date'] half_df['ID'] = half_data['ID'] half_df['Time'] = half_data['Time'] half_df['Ponset'] = half_data['Ponset'] half_df['Print'] = half_data['Print'] half_df['Pdur'] = half_data['Pdur'] half_df['Poffset'] = half_data['Poffset'] half_df['Qonset'] = half_data['Qonset'] half_df['Qrsdur'] = half_data['Qrsdur'] half_df['Qtint'] = half_data['Qtint'] half_df['Qoffset'] = half_data['Qoffset'] half_df['Tonset'] = half_data['Tonset'] half_df['Tdur'] = half_data['Tdur'] half_df['Toffset'] = half_data['Toffset'] half_df['HeartRate'] = half_data['HeartRate'] half_df['QRSFrontAxis'] = half_data['QRSFrontAxis'] half_df['Sex'] = half_data['Sex'] half_df['QTC'] = half_data['QTC'] half_df['Age'] = half_data['Age'] half_df['Name'] = half_data['Name'] for n in range(count500): half_df['Ponset'][(n*1200):(n+1)*1200] = half_data['Ponset'][n*12] half_df['Print'][(n*1200):(n+1)*1200] = half_data['Print'][n*12] half_df['Pdur'][(n*1200):(n+1)*1200] = half_data['Pdur'][n*12] half_df['Poffset'][(n*1200):(n+1)*1200] = half_data['Poffset'][n*12] half_df['Qonset'][(n*1200):(n+1)*1200] = half_data['Qonset'][n*12] half_df['Qrsdur'][(n*1200):(n+1)*1200] = half_data['Qrsdur'][n*12] half_df['Qtint'][(n*1200):(n+1)*1200] = half_data['Qtint'][n*12] half_df['Qoffset'][(n*1200):(n+1)*1200] = half_data['Qoffset'][n*12] half_df['Tonset'][(n*1200):(n+1)*1200] = half_data['Tonset'][n*12] half_df['Tdur'][(n*1200):(n+1)*1200] = half_data['Tdur'][n*12] half_df['Toffset'][(n*1200):(n+1)*1200] = half_data['Toffset'][n*12] half_df['HeartRate'][(n*1200):(n+1)*1200] = half_data['HeartRate'][n*12] half_df['QRSFrontAxis'][(n*1200):(n+1)*1200] = half_data['QRSFrontAxis'][n*12] half_df['Sex'][(n*1200):(n+1)*1200] = half_data['Sex'][n*12] half_df['QTC'][(n*1200):(n+1)*1200] = half_data['QTC'][n*12] half_df['Name'][(n*1200):(n+1)*1200] = half_data['Name'][12*n] half_df['Age'][(n*1200):(n+1)*1200] = half_data['Age'][12*n] half_df['ID'][(n*1200):(n+1)*1200] = half_data['ID'][12*n] half_df['Date'][(n*1200):(n+1)*1200] = half_data['Date'][12*n] half_df['Time'][(n*1200):(n+1)*1200] = half_data['Time'][12*n] half_df[['III', 'aVF', 'aVL', 'aVR']] = half_VTI_leads unfiltered_half_leads[['III', 'aVF', 'aVL', 'aVR']] = Unfiltered_half_VTI_leads half_df[['Unfiltered_I', 'Unfiltered_II', 'Unfiltered_III', 'Unfiltered_V1', 'Unfiltered_V2', 'Unfiltered_V3', 'Unfiltered_V4', 'Unfiltered_V5', 'Unfiltered_V6', 'Unfiltered_aVF', 'Unfiltered_aVL', 'Unfiltered_aVR']] = unfiltered_half_leads[['I', 'II', 'III', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'aVF', 'aVL', 'aVR']] del unfiltered_half_leads del half_VTI_leads if (len(half_data) > 0) and (len(data) > 0): df = pd.concat([df, half_df]) df = df.reset_index(drop=True) del half_data del data del half_df if (len(half_data) > 0) and (len(data) == 0): df = half_df del half_df del half_data if (len(half_data) == 0) and (len(data) > 0): df = df del data df['total_xyz'] = ((df.x)**2 + (df.y)**2 + (df.z)**2)**0.5 QRSVTI = [] for n in range(count): QRSVTI.append(trapz(df.total_xyz[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))])) QRSVTI = np.repeat(QRSVTI, 1200) df['QRSVTI'] = QRSVTI del QRSVTI QRStVTI = [] for n in range(count): QRStVTI.append(trapz(df.total_xyz[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))])) QRStVTI = np.repeat(QRStVTI, 1200) df['QRStVTI'] = QRStVTI del QRStVTI XVTI = [] for n in range(count): XVTI.append(trapz(abs(df.x[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) XVTI = np.repeat(XVTI, 1200) df['XVTI'] = XVTI del XVTI YVTI = [] for n in range(count): YVTI.append(trapz(abs(df.y[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) YVTI = np.repeat(YVTI, 1200) df['YVTI'] = YVTI del YVTI ZVTI = [] for n in range(count): ZVTI.append(trapz(abs(df.z[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) ZVTI = np.repeat(ZVTI, 1200) df['ZVTI'] = ZVTI del ZVTI df['QRS3DArea'] = ((df.XVTI)**2 + (df.YVTI)**2 + (df.ZVTI)**2)**0.5 XtVTI = [] for n in range(count): XtVTI.append(trapz(abs(df.x[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) XtVTI = np.repeat(XtVTI, 1200) df['XtVTI'] = XtVTI del XtVTI YtVTI = [] for n in range(count): YtVTI.append(trapz(abs(df.y[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) YtVTI = np.repeat(YtVTI, 1200) df['YtVTI'] = YtVTI del YtVTI ZtVTI = [] for n in range(count): ZtVTI.append(trapz(abs(df.z[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) ZtVTI = np.repeat(ZtVTI, 1200) df['ZtVTI'] = ZtVTI del ZtVTI df['QRSt3DArea'] = ((df.XtVTI)**2 + (df.YtVTI)**2 + (df.ZtVTI)**2)**0.5 XVTI = [] for n in range(count): XVTI.append(trapz((df.x[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) XVTI = np.repeat(XVTI, 1200) df['XVector_VTI'] = XVTI del XVTI YVTI = [] for n in range(count): YVTI.append(trapz((df.y[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) YVTI = np.repeat(YVTI, 1200) df['YVector_VTI'] = YVTI del YVTI ZVTI = [] for n in range(count): ZVTI.append(trapz((df.z[int(df.Qonset[1200*n]+(1200*n)):int(df.Qoffset[1200*n]+(1200*n))]))) ZVTI = np.repeat(ZVTI, 1200) df['ZVector_VTI'] = ZVTI del ZVTI df['QRS3DVector_Area'] = ((df.XVector_VTI)**2 + (df.YVector_VTI)**2 + (df.ZVector_VTI)**2)**0.5 XtVTI = [] for n in range(count): XtVTI.append(trapz((df.x[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) XtVTI = np.repeat(XtVTI, 1200) df['XtVector_VTI'] = XtVTI del XtVTI YtVTI = [] for n in range(count): YtVTI.append(trapz((df.y[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) YtVTI = np.repeat(YtVTI, 1200) df['YtVector_VTI'] = YtVTI del YtVTI ZtVTI = [] for n in range(count): ZtVTI.append(trapz((df.z[int(df.Qonset[1200*n]+(1200*n)):int(df.Toffset[1200*n]+(1200*n))]))) ZtVTI = np.repeat(ZtVTI, 1200) df['ZtVector_VTI'] = ZtVTI del ZtVTI df['QRSt3DVector_Area'] = ((df.XtVector_VTI)**2 + (df.YtVector_VTI)**2 + (df.ZtVector_VTI)**2)**0.5 Tamp = [] XTamp = [] YTamp = [] ZTamp = [] TpTe = [] XTpTe = [] YTpTe = [] ZTpTe = [] QpQe = [] for x in range(count): if int(df.Tonset[1200*x]+(1200*x)) > int(df.Toffset[1200*x]+(1200*x)): XTamp.append(np.nan) XTpTe.append(np.nan) YTamp.append(np.nan) YTpTe.append(np.nan) ZTamp.append(np.nan) ZTpTe.append(np.nan) Tamp.append(np.nan) TpTe.append(np.nan) Qa = [abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]])) QpQe.append(len([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]][Qa:])) elif df.Tonset[1200*x] == df.Toffset[1200*x]: XTamp.append(max([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) Ta = [abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]].index(max([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) XTpTe.append(len([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]][Ta:])) YTamp.append(max([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) Ta = [abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]].index(max([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) YTpTe.append(len([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]][Ta:])) ZTamp.append(max([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) Ta = [abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]].index(max([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) ZTpTe.append(len([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]][Ta:])) Tamp.append(max([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) Ta = [abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]].index(max([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]])) TpTe.append(len([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x))-10:int(df.Toffset[1200*x]+(1200*x))+10]][Ta:])) Qa = [abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]])) QpQe.append(len([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]][Qa:])) else: XTamp.append(max([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) Ta = [abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) XTpTe.append(len([abs(n) for n in df.x[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]][Ta:])) YTamp.append(max([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) Ta = [abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) YTpTe.append(len([abs(n) for n in df.y[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]][Ta:])) ZTamp.append(max([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) Ta = [abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) ZTpTe.append(len([abs(n) for n in df.z[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]][Ta:])) Tamp.append(max([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) Ta = [abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]])) TpTe.append(len([abs(n) for n in df.total_xyz[int(df.Tonset[1200*x]+(1200*x)):int(df.Toffset[1200*x]+(1200*x))]][Ta:])) Qa = [abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]].index(max([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]])) QpQe.append(len([abs(n) for n in df.total_xyz[int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]][Qa:])) QpQe = np.repeat(QpQe, 1200) df['QpQe'] = QpQe Tamp = np.repeat(Tamp, 1200) df['Tamp'] = Tamp XTamp = np.repeat(XTamp, 1200) df['XTamp'] = XTamp YTamp = np.repeat(YTamp, 1200) df['YTamp'] = YTamp ZTamp = np.repeat(ZTamp, 1200) df['ZTamp'] = ZTamp XTpTe = np.repeat(XTpTe, 1200) df['XTpTe'] = XTpTe YTpTe = np.repeat(YTpTe, 1200) df['YTpTe'] = YTpTe ZTpTe = np.repeat(ZTpTe, 1200) df['ZTpTe'] = ZTpTe TpTe = np.repeat(TpTe, 1200) df['TpTe'] = TpTe del Tamp del XTamp del YTamp del ZTamp del XTpTe del YTpTe del ZTpTe del TpTe del QpQe temp = df[['I', 'II', 'III', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'aVR', 'aVL', 'aVF', 'x', 'y', 'z', 'total_xyz']] Qamp = [] for x in range(count): for i in range(16): if min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) < 0 and max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) > 0: Qamp.append(max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) - min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))])) elif min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) > 0 and max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) < 0: Qamp.append(max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) - min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))])) elif min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) < 0 and max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))]) < 0: Qamp.append(min(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))])) else: Qamp.append(max(temp.iloc[:,i][int(df.Qonset[1200*x]+(1200*x)):int(df.Qoffset[1200*x]+(1200*x))])) del temp XQamp = Qamp[12::16] XQamp = np.repeat(XQamp, 1200) YQamp = Qamp[13::16] YQamp = np.repeat(YQamp, 1200) ZQamp = Qamp[14::16] ZQamp = np.repeat(ZQamp, 1200) Qamp = Qamp[15::16] Qamp = np.repeat(Qamp, 1200) df['XQamp'] = XQamp df['YQamp'] = YQamp df['ZQamp'] = ZQamp df['Qamp'] = Qamp del XQamp del YQamp del ZQamp del Qamp text_df = df[['ID', 'Name', 'Age', 'Sex', 'Date', 'Time','HeartRate','Pdur','Print','Qrsdur','Qtint','QTC','TpTe','QRSFrontAxis', 'QRSVTI','XVector_VTI', 'YVector_VTI','ZVector_VTI', 'QRStVTI', 'XtVTI','YtVTI', 'ZtVTI', 'Qamp','XQamp','YQamp', 'ZQamp','Tamp','XTamp', 'YTamp','ZTamp']] text_df = text_df[::1200] # text_df.to_csv('Entresto_Final_Data.csv', index=False) # signal_df.to_pickle('Entresto_Final_ML.pkl') text_df.to_csv('data.csv', index=False) for n in range(count): # pd.DataFrame(text_df.iloc[n,:]).T.to_csv('{}.csv'.format(root_names[n][:-4]), index=False) x = df.x[n*1200:(n+1)*1200] y = df.y[n*1200:(n+1)*1200] z = df.z[n*1200:(n+1)*1200] rms = df.total_xyz[n*1200:(n+1)*1200] fig, ((ax, ax1), (ax2, ax3)) = plt.subplots(2, 2, figsize=(15, 8)) ax.plot(x) ax.set_title('Lead X') ax1.plot(y) ax1.set_title('Lead Y') ax2.plot(z) ax2.set_title('Lead Z') ax3.plot(rms) ax3.set_title('XYZ RMS') fig.subplots_adjust(hspace=.3) fig.subplots_adjust(wspace=.1) fig.savefig('{}.png'.format(root_names[n][:-4]), dpi=1800, format='png') del df
[ 1, 1053, 12655, 408, 7442, 30004, 13, 5215, 11701, 408, 10518, 30004, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 30004, 13, 5215, 409, 370, 1398, 408, 269, 1983, 30004, 13, 5215, 2967, 29953, 29946, 30004, 13, 5215, 13149, 30004, 13, 3166, 4560, 2272, 29889, 25436, 1053, 1612, 1777, 29873, 30004, 13, 3166, 4560, 2272, 29889, 14146, 403, 1053, 26505, 29920, 30004, 13, 5215, 4903, 29889, 300, 929, 29889, 2642, 9643, 408, 634, 6756, 13, 3166, 12865, 1053, 2635, 30004, 13, 27765, 353, 2635, 29889, 27765, 26471, 13, 30004, 13, 9302, 29889, 25442, 886, 29889, 4572, 25442, 886, 877, 17281, 1495, 30004, 13, 29879, 1983, 29889, 842, 29898, 3293, 543, 26031, 7720, 1159, 30004, 13, 30004, 13, 307, 1862, 353, 5159, 30004, 13, 4632, 29918, 7039, 353, 5159, 30004, 13, 1454, 302, 297, 13149, 29889, 23705, 877, 10521, 3134, 29374, 30004, 13, 1678, 16778, 29889, 4397, 29898, 300, 29889, 5510, 29898, 29876, 467, 657, 4632, 3101, 30004, 13, 1678, 3876, 29918, 7039, 29889, 4397, 29898, 29876, 8443, 13, 30004, 13, 30004, 13, 1753, 9120, 29918, 29920, 29918, 13628, 29898, 524, 575, 537, 1125, 30004, 13, 1678, 19194, 29918, 524, 353, 7442, 29889, 2168, 713, 29898, 524, 575, 537, 8443, 13, 1678, 10395, 29918, 524, 353, 7442, 29889, 2168, 713, 4197, 9302, 29889, 6897, 29898, 524, 575, 537, 448, 19194, 29918, 524, 29897, 2314, 30004, 13, 1678, 565, 10395, 29918, 524, 1275, 29871, 29900, 29901, 30004, 13, 4706, 10395, 29918, 524, 353, 29871, 29896, 30004, 13, 1678, 9120, 29918, 29920, 29918, 1557, 2361, 353, 29871, 29900, 29889, 29953, 29955, 29946, 29945, 334, 313, 524, 575, 537, 448, 19194, 29918, 524, 29897, 847, 10395, 29918, 524, 30004, 13, 1678, 736, 9120, 29918, 29920, 29918, 1557, 2361, 30004, 13, 30004, 13, 30004, 13, 1753, 4489, 29918, 5878, 261, 29898, 29891, 29892, 29876, 1125, 30004, 13, 1678, 6756, 13, 1678, 16897, 353, 29871, 29900, 30004, 13, 1678, 921, 353, 29871, 29900, 30004, 13, 1678, 1550, 16897, 1275, 29871, 29900, 29901, 30004, 13, 4706, 6756, 13, 4706, 565, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 29871, 29896, 29897, 1405, 29871, 29896, 29945, 29900, 29901, 30004, 13, 9651, 565, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 529, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29947, 7240, 29945, 29945, 29901, 30004, 13, 18884, 16897, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 718, 29871, 29896, 30004, 13, 9651, 25342, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 1405, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29947, 7240, 29945, 29945, 29901, 30004, 13, 18884, 921, 4619, 29871, 29945, 30004, 13, 18884, 6756, 13, 18884, 6756, 13, 4706, 25342, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 29871, 29896, 29897, 5277, 29871, 29896, 29945, 29900, 29901, 30004, 13, 9651, 565, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 529, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29929, 29906, 7240, 29945, 29945, 29901, 30004, 13, 18884, 16897, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 718, 29871, 29896, 30004, 13, 9651, 25342, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 1405, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29929, 29906, 7240, 29945, 29945, 29901, 30004, 13, 18884, 921, 4619, 29871, 29945, 30004, 13, 30004, 13, 1678, 805, 29379, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 1405, 16897, 30004, 13, 1678, 343, 29918, 449, 353, 343, 29889, 8552, 26471, 13, 1678, 363, 474, 297, 7442, 29889, 279, 927, 29898, 2435, 29898, 1028, 29379, 22164, 30004, 13, 4706, 565, 805, 29379, 29961, 29875, 29962, 2804, 29871, 29900, 29901, 30004, 13, 9651, 343, 29918, 449, 29961, 29875, 29974, 29891, 29918, 449, 29889, 2248, 29961, 29900, 5262, 353, 6213, 30004, 13, 30004, 13, 1678, 736, 343, 29918, 449, 30004, 13, 30004, 13, 30004, 13, 1753, 4203, 29918, 2176, 29918, 5878, 261, 29898, 29891, 29892, 29876, 1125, 30004, 13, 1678, 6756, 13, 1678, 16897, 353, 29871, 29900, 30004, 13, 1678, 921, 353, 29871, 29900, 30004, 13, 1678, 1550, 16897, 1275, 29871, 29900, 29901, 30004, 13, 4706, 6756, 13, 4706, 565, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 29871, 29896, 29897, 1405, 29871, 29896, 29945, 29900, 29901, 30004, 13, 9651, 565, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 529, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29947, 7240, 29953, 29900, 29901, 30004, 13, 18884, 16897, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 718, 29871, 29896, 30004, 13, 9651, 25342, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 1405, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29947, 7240, 29953, 29900, 29901, 30004, 13, 18884, 921, 4619, 29871, 29906, 30004, 13, 1678, 6756, 13, 4706, 25342, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 29871, 29896, 29897, 5277, 29871, 29896, 29945, 29900, 29901, 29871, 6756, 13, 9651, 565, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 529, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29929, 29906, 7240, 29953, 29900, 29901, 30004, 13, 18884, 16897, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 718, 29871, 29896, 30004, 13, 9651, 25342, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29916, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 29974, 29941, 29900, 1822, 3317, 580, 1405, 7442, 29889, 13707, 12150, 488, 29898, 6897, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 4961, 511, 869, 29929, 29929, 29906, 7240, 29953, 29900, 29901, 30004, 13, 18884, 921, 4619, 29871, 29906, 30004, 13, 30004, 13, 1678, 805, 29379, 353, 6425, 29898, 9302, 29889, 2378, 29898, 1545, 2164, 29918, 29920, 29918, 13628, 29898, 9302, 29889, 12765, 29898, 29891, 13697, 1405, 16897, 30004, 13, 1678, 343, 29918, 449, 353, 343, 29889, 8552, 26471, 13, 1678, 363, 474, 297, 7442, 29889, 279, 927, 29898, 2435, 29898, 1028, 29379, 22164, 30004, 13, 4706, 565, 805, 29379, 29961, 29875, 29962, 2804, 29871, 29900, 29901, 30004, 13, 9651, 343, 29918, 449, 29961, 29875, 29974, 29891, 29918, 449, 29889, 2248, 29961, 29900, 5262, 353, 6213, 30004, 13, 9651, 6756, 13, 1678, 736, 343, 29918, 449, 30004, 13, 30004, 13, 30004, 13, 1753, 298, 9776, 29918, 1220, 29898, 3149, 29896, 29892, 1298, 29906, 1125, 30004, 13, 30004, 13, 1678, 263, 353, 313, 3149, 29906, 29961, 29896, 29962, 448, 1298, 29896, 29961, 29896, 2314, 14571, 9302, 29889, 3944, 29882, 29898, 3149, 29906, 29961, 29900, 29962, 1273, 29871, 29953, 29900, 29900, 29897, 448, 7442, 29889, 3944, 29882, 29898, 3149, 29896, 29961, 29900, 29962, 1273, 29871, 29953, 29900, 29900, 876, 30004, 13, 1678, 289, 353, 1298, 29896, 29961, 29896, 29962, 448, 263, 29930, 9302, 29889, 3944, 29882, 29898, 3149, 29896, 29961, 29900, 29962, 1273, 29871, 29953, 29900, 29900, 8443, 13, 1678, 921, 353, 7442, 29889, 1915, 3493, 29898, 3149, 29896, 29961, 29900, 1402, 1298, 29906, 29961, 29900, 1402, 313, 3149, 29906, 29961, 29900, 29962, 448, 1298, 29896, 29961, 29900, 2314, 29974, 29896, 8443, 13, 1678, 343, 353, 263, 29930, 9302, 29889, 3944, 29882, 29898, 29916, 1273, 29871, 29953, 29900, 29900, 29897, 718, 289, 30004, 13, 30004, 13, 1678, 736, 313, 29916, 29892, 29891, 8443, 13, 30004, 13, 30004, 13, 28089, 353, 11117, 11338, 2396, 2636, 8117, 13, 11338, 353, 11117, 11338, 2396, 2636, 8117, 13, 1454, 3876, 297, 16778, 29901, 30004, 13, 1678, 6756, 13, 1678, 565, 7431, 29898, 4632, 29889, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 27766, 9514, 2824, 657, 11991, 3101, 1275, 29871, 29906, 29901, 30004, 13, 4706, 565, 938, 29898, 4632, 29889, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 27766, 9514, 29861, 29896, 1822, 1131, 1091, 1839, 27736, 546, 3471, 11287, 1275, 29871, 29896, 29900, 29900, 29900, 29901, 30004, 13, 9651, 363, 21268, 297, 3876, 29889, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 27766, 9514, 29861, 29896, 5387, 30004, 13, 30004, 13, 18884, 4055, 353, 6571, 30004, 13, 18884, 4055, 1839, 29931, 1479, 2033, 353, 21268, 29889, 1131, 1091, 1839, 280, 328, 978, 2033, 30004, 13, 18884, 565, 313, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29900, 1822, 726, 1275, 525, 13919, 1495, 322, 3876, 29961, 29953, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 7564, 26658, 1860, 2396, 30004, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 6213, 470, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 11297, 29876, 4706, 525, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 17776, 2396, 30004, 13, 462, 4706, 4055, 1839, 29925, 787, 300, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 4055, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 4055, 1839, 11816, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 4055, 1839, 29925, 10289, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 1683, 29901, 30004, 13, 462, 4706, 4055, 1839, 29925, 787, 300, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 4706, 4055, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 4055, 1839, 11816, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 4706, 4055, 1839, 29925, 10289, 2033, 353, 313, 524, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 876, 718, 29871, 29900, 30004, 13, 30004, 13, 18884, 25342, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 6213, 470, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 17776, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 17776, 29915, 470, 313, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29900, 1822, 726, 1275, 525, 13919, 29374, 30004, 13, 462, 1678, 4055, 1839, 29925, 787, 300, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 4055, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 4055, 1839, 11816, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 4055, 1839, 29925, 10289, 2033, 353, 29871, 29900, 30004, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 4055, 1839, 29925, 787, 300, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 29925, 29881, 332, 2033, 353, 938, 29898, 20461, 29961, 29900, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 11816, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 29925, 10289, 2033, 353, 313, 524, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 876, 718, 938, 29898, 20461, 29961, 29900, 1822, 726, 8443, 13, 30004, 13, 18884, 565, 313, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29900, 3816, 29906, 29929, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29947, 1822, 726, 1275, 525, 13919, 29374, 30004, 13, 462, 1678, 4055, 1839, 29984, 787, 300, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29984, 2288, 29881, 332, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29984, 10289, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29911, 787, 300, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 17303, 524, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 1762, 600, 842, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29911, 29881, 332, 2033, 353, 7442, 29889, 13707, 30004, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 4055, 1839, 29984, 787, 300, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 29984, 2288, 29881, 332, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29906, 29929, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 29984, 10289, 2033, 353, 29871, 4055, 1839, 29984, 787, 300, 2033, 718, 29871, 4055, 1839, 29984, 2288, 29881, 332, 2033, 30004, 13, 462, 1678, 4055, 1839, 29911, 787, 300, 2033, 353, 938, 29898, 20461, 29961, 29946, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 17303, 524, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29947, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 1762, 600, 842, 2033, 353, 29871, 4055, 1839, 29984, 787, 300, 2033, 718, 4055, 1839, 17303, 524, 2033, 30004, 13, 462, 1678, 4055, 1839, 29911, 29881, 332, 2033, 353, 4055, 1839, 29984, 10289, 2033, 448, 4055, 1839, 29984, 787, 300, 2033, 30004, 13, 30004, 13, 18884, 565, 3876, 29961, 29955, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 1639, 19819, 800, 29915, 322, 3876, 29961, 29953, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 7564, 26658, 1860, 2396, 30004, 13, 462, 1678, 565, 3876, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 2804, 6213, 322, 313, 4632, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 467, 275, 26204, 7295, 4055, 1839, 3868, 442, 19907, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29896, 1822, 726, 2804, 6213, 29901, 4055, 1839, 29934, 29934, 524, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29896, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29929, 1822, 726, 2804, 6213, 29901, 4055, 1839, 29909, 3626, 284, 19907, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29929, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 2804, 6213, 322, 3876, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 2804, 525, 2568, 300, 837, 16976, 2396, 4055, 1839, 29984, 12445, 29348, 16070, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29900, 3816, 29941, 29896, 1822, 726, 2804, 6213, 322, 3876, 29961, 29953, 3816, 29900, 3816, 29941, 29896, 1822, 726, 2804, 525, 17776, 2396, 4055, 1839, 29984, 9472, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29941, 29896, 1822, 726, 8443, 13, 462, 1678, 4055, 1839, 8667, 2033, 353, 5159, 30004, 13, 462, 1678, 363, 302, 297, 3464, 29898, 2435, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 4632, 29961, 29955, 3816, 29900, 1822, 657, 11991, 2141, 2248, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 20788, 8785, 29901, 12622, 29901, 30004, 13, 462, 4706, 4055, 1839, 8667, 13359, 4397, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 4632, 29961, 29955, 3816, 29900, 1822, 657, 11991, 2141, 2248, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 20788, 8785, 29901, 3816, 29876, 3816, 29900, 1822, 726, 8443, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 4055, 1839, 3868, 442, 19907, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29934, 29934, 524, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29909, 3626, 284, 19907, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29984, 12445, 29348, 16070, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 29984, 9472, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 4055, 1839, 8667, 2033, 353, 5159, 30004, 13, 18884, 565, 3876, 29961, 29941, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 12276, 3888, 29915, 322, 3876, 29961, 29945, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 5031, 993, 2396, 30004, 13, 462, 1678, 931, 353, 3876, 29961, 29941, 1822, 1131, 1091, 30004, 13, 462, 1678, 4055, 1839, 2539, 2033, 353, 931, 1839, 1256, 2033, 30004, 13, 462, 1678, 4055, 1839, 2481, 2033, 353, 931, 1839, 2230, 2033, 30004, 13, 462, 1678, 4055, 1839, 29903, 735, 2033, 353, 3876, 29961, 29945, 3816, 29900, 3816, 29953, 1822, 726, 30004, 13, 462, 1678, 4055, 1839, 1367, 2033, 353, 3876, 29961, 29945, 3816, 29900, 3816, 29900, 1822, 726, 30004, 13, 462, 1678, 4055, 1839, 1170, 2033, 353, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 978, 29861, 29900, 1822, 726, 718, 13420, 525, 718, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 978, 29861, 29896, 1822, 726, 30004, 13, 462, 1678, 565, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 1256, 974, 29890, 7515, 2396, 30004, 13, 462, 4706, 4055, 1839, 22406, 2033, 353, 938, 29898, 27765, 29889, 710, 615, 603, 11702, 29979, 5783, 448, 938, 29898, 4632, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 726, 29961, 29900, 29901, 29946, 2314, 30004, 13, 462, 1678, 565, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 6360, 29879, 2396, 30004, 13, 462, 4706, 4055, 1839, 22406, 2033, 353, 938, 29898, 4632, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 726, 8443, 13, 18884, 4055, 1839, 29956, 1351, 689, 2033, 353, 21268, 29961, 29953, 1822, 726, 30004, 13, 1678, 396, 632, 4055, 1839, 8208, 29956, 1351, 689, 2033, 353, 3876, 29961, 29947, 3816, 29900, 1822, 726, 30004, 13, 18884, 8282, 1839, 11338, 13359, 4397, 29898, 4039, 8443, 13, 30004, 13, 4706, 1683, 29901, 30004, 13, 9651, 363, 21268, 297, 3876, 29889, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 27766, 9514, 29861, 29896, 5387, 30004, 13, 30004, 13, 18884, 10522, 353, 6571, 30004, 13, 18884, 10522, 1839, 29931, 1479, 2033, 353, 21268, 29889, 1131, 1091, 1839, 280, 328, 978, 2033, 30004, 13, 18884, 565, 313, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29900, 1822, 726, 1275, 525, 13919, 1495, 322, 3876, 29961, 29953, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 7564, 26658, 1860, 2396, 30004, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 6213, 470, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 11297, 29876, 4706, 525, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 17776, 2396, 30004, 13, 462, 4706, 10522, 1839, 29925, 787, 300, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 10522, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 10522, 1839, 11816, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 10522, 1839, 29925, 10289, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 1683, 29901, 30004, 13, 462, 4706, 10522, 1839, 29925, 787, 300, 2033, 353, 5785, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 4706, 10522, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 4706, 10522, 1839, 11816, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 4706, 10522, 1839, 29925, 10289, 2033, 353, 313, 524, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 876, 718, 29871, 29900, 30004, 13, 30004, 13, 18884, 25342, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 6213, 470, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 6213, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29900, 1822, 726, 1275, 525, 13919, 29915, 322, 3876, 29961, 29953, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 7564, 26658, 1860, 2396, 30004, 13, 462, 1678, 10522, 1839, 29925, 787, 300, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 10522, 1839, 29925, 29881, 332, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 10522, 1839, 11816, 2033, 353, 29871, 29900, 30004, 13, 462, 1678, 10522, 1839, 29925, 10289, 2033, 353, 29871, 29900, 30004, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 10522, 1839, 29925, 787, 300, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 29925, 29881, 332, 2033, 353, 938, 29898, 20461, 29961, 29900, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 11816, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 29925, 10289, 2033, 353, 313, 524, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 29897, 448, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29946, 1822, 726, 876, 718, 938, 29898, 20461, 29961, 29900, 1822, 726, 8443, 13, 30004, 13, 18884, 565, 313, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29947, 1822, 726, 1275, 6213, 470, 3876, 29961, 29953, 3816, 29900, 3816, 29906, 29929, 1822, 726, 1275, 525, 13919, 29915, 470, 21268, 29961, 29946, 1822, 726, 1275, 525, 13919, 29915, 470, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29947, 1822, 726, 1275, 525, 13919, 29374, 30004, 13, 462, 1678, 10522, 1839, 29984, 787, 300, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29984, 2288, 29881, 332, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29984, 10289, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29911, 787, 300, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 17303, 524, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 1762, 600, 842, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29911, 29881, 332, 2033, 353, 7442, 29889, 13707, 30004, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 10522, 1839, 29984, 787, 300, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29945, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 29984, 2288, 29881, 332, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29906, 29929, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 29984, 10289, 2033, 353, 29871, 10522, 1839, 29984, 787, 300, 2033, 718, 29871, 10522, 1839, 29984, 2288, 29881, 332, 2033, 30004, 13, 462, 1678, 10522, 1839, 29911, 787, 300, 2033, 353, 938, 29898, 20461, 29961, 29946, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 17303, 524, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29896, 29947, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 1762, 600, 842, 2033, 353, 29871, 10522, 1839, 29984, 787, 300, 2033, 718, 10522, 1839, 17303, 524, 2033, 30004, 13, 462, 1678, 10522, 1839, 29911, 29881, 332, 2033, 353, 10522, 1839, 29984, 10289, 2033, 448, 10522, 1839, 29984, 787, 300, 2033, 30004, 13, 30004, 13, 18884, 565, 3876, 29961, 29955, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 1639, 19819, 800, 29915, 322, 3876, 29961, 29953, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 7564, 26658, 1860, 2396, 30004, 13, 462, 1678, 565, 3876, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 2804, 6213, 322, 313, 4632, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 467, 275, 26204, 7295, 10522, 1839, 3868, 442, 19907, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 29896, 3816, 29900, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29896, 1822, 726, 2804, 6213, 29901, 10522, 1839, 29934, 29934, 524, 2033, 353, 938, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 10945, 26658, 1860, 29861, 29896, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29929, 1822, 726, 2804, 6213, 29901, 10522, 1839, 29909, 3626, 284, 19907, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29896, 3816, 29900, 3816, 29929, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 2804, 6213, 322, 3876, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 2804, 525, 2568, 300, 837, 16976, 2396, 10522, 1839, 29984, 12445, 29348, 16070, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29896, 29945, 1822, 726, 8443, 13, 462, 1678, 565, 3876, 29961, 29953, 3816, 29900, 3816, 29941, 29896, 1822, 726, 2804, 6213, 29901, 10522, 1839, 29984, 9472, 2033, 353, 938, 29898, 4632, 29961, 29953, 3816, 29900, 3816, 29941, 29896, 1822, 726, 8443, 13, 462, 1678, 10522, 1839, 8667, 2033, 353, 5159, 30004, 13, 462, 1678, 363, 302, 297, 3464, 29898, 2435, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 4632, 29961, 29955, 3816, 29900, 1822, 657, 11991, 2141, 2248, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 20788, 8785, 29901, 12622, 29901, 30004, 13, 462, 4706, 10522, 1839, 8667, 13359, 4397, 29898, 4632, 29961, 29955, 3816, 29900, 3816, 4632, 29961, 29955, 3816, 29900, 1822, 657, 11991, 2141, 2248, 29898, 4632, 29961, 29955, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 20788, 8785, 29901, 3816, 29876, 3816, 29900, 1822, 726, 8443, 13, 30004, 13, 18884, 1683, 29901, 30004, 13, 462, 1678, 10522, 1839, 3868, 442, 19907, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29934, 29934, 524, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29909, 3626, 284, 19907, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29984, 12445, 29348, 16070, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 29984, 9472, 2033, 353, 7442, 29889, 13707, 30004, 13, 462, 1678, 10522, 1839, 8667, 2033, 353, 5159, 30004, 13, 18884, 565, 3876, 29961, 29941, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 12276, 3888, 29915, 322, 3876, 29961, 29945, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 5031, 993, 2396, 30004, 13, 462, 1678, 931, 353, 3876, 29961, 29941, 1822, 1131, 1091, 30004, 13, 462, 1678, 10522, 1839, 2539, 2033, 353, 931, 1839, 1256, 2033, 30004, 13, 462, 1678, 10522, 1839, 2481, 2033, 353, 931, 1839, 2230, 2033, 30004, 13, 462, 1678, 10522, 1839, 29903, 735, 2033, 353, 3876, 29961, 29945, 3816, 29900, 3816, 29953, 1822, 726, 30004, 13, 462, 1678, 10522, 1839, 1367, 2033, 353, 3876, 29961, 29945, 3816, 29900, 3816, 29900, 1822, 726, 30004, 13, 462, 1678, 10522, 1839, 1170, 2033, 353, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 978, 29861, 29900, 1822, 726, 718, 13420, 525, 718, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 978, 29861, 29896, 1822, 726, 30004, 13, 462, 1678, 565, 7431, 29898, 4632, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 8785, 1405, 29871, 29900, 29901, 30004, 13, 462, 4706, 565, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 1256, 974, 29890, 7515, 2396, 30004, 13, 462, 9651, 10522, 1839, 22406, 2033, 353, 938, 29898, 27765, 29889, 710, 615, 603, 11702, 29979, 5783, 448, 938, 29898, 4632, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 726, 29961, 29900, 29901, 29946, 2314, 30004, 13, 462, 4706, 565, 3876, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 4039, 1275, 22372, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 6360, 29879, 2396, 30004, 13, 462, 9651, 10522, 1839, 22406, 2033, 353, 938, 29898, 4632, 29961, 29945, 3816, 29900, 1822, 2886, 877, 29912, 1124, 597, 1636, 29941, 29889, 2168, 936, 29889, 561, 2638, 567, 29889, 510, 29913, 482, 29861, 29900, 1822, 726, 8443, 13, 18884, 10522, 1839, 29956, 1351, 689, 2033, 353, 21268, 29961, 29953, 1822, 726, 30004, 13, 1678, 396, 632, 10522, 1839, 8208, 29956, 1351, 689, 2033, 353, 3876, 29961, 29947, 3816, 29900, 1822, 726, 30004, 13, 18884, 917, 1839, 11338, 13359, 4397, 29898, 8176, 8443, 13, 9651, 6756, 13, 24498, 29918, 1272, 353, 10518, 29889, 17271, 29898, 28089, 1839, 11338, 2033, 8443, 13, 1272, 353, 10518, 29889, 17271, 29898, 11338, 1839, 11338, 2033, 8443, 13, 30004, 13, 6144, 16778, 30004, 13, 6144, 3876, 30004, 13, 6144, 21268, 30004, 13, 30004, 13, 2798, 29896, 29900, 29900, 29900, 353, 938, 29898, 2435, 29898, 1272, 6802, 29896, 29906, 8443, 13, 2798, 29945, 29900, 29900, 353, 938, 29898, 2435, 29898, 24498, 29918, 1272, 6802, 29896, 29906, 8443, 13, 2798, 353, 2302, 29896, 29900, 29900, 29900, 718, 2302, 29945, 29900, 29900, 30004, 13, 30004, 13, 361, 7431, 29898, 1272, 29897, 1405, 29871, 29900, 29901, 30004, 13, 1678, 1409, 353, 7442, 29889, 13092, 29898, 1272, 29961, 1272, 29889, 275, 4304, 2141, 1384, 29898, 8990, 29922, 29896, 29897, 3816, 1839, 1367, 742, 525, 2539, 742, 525, 2481, 2033, 2314, 30004, 13, 1678, 4567, 29918, 1272, 353, 848, 29889, 2029, 29961, 1272, 1839, 1367, 13359, 275, 262, 29898, 2378, 29897, 669, 848, 1839, 2539, 13359, 275, 262, 29898, 2378, 29897, 669, 848, 1839, 2481, 13359, 275, 262, 29898, 2378, 4638, 30004, 13, 1678, 848, 29889, 8865, 29898, 27259, 29918, 1272, 29889, 2248, 29892, 9685, 29922, 29900, 29892, 262, 6689, 29922, 5574, 8443, 13, 1678, 4567, 29918, 1272, 353, 4567, 29918, 1272, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 1678, 628, 4055, 30004, 13, 1678, 628, 8282, 30004, 13, 1678, 6756, 13, 1678, 848, 353, 848, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 1678, 6756, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29896, 29900, 29900, 29900, 1125, 30004, 13, 4706, 848, 29889, 29911, 787, 300, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29962, 353, 7442, 29889, 14358, 29898, 524, 29898, 1272, 29889, 29911, 787, 300, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 1822, 2083, 580, 29914, 29896, 29906, 511, 29871, 29896, 29906, 8443, 13, 4706, 848, 29889, 29925, 29881, 332, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29962, 353, 7442, 29889, 14358, 29898, 524, 29898, 1272, 29889, 29925, 29881, 332, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 1822, 2083, 580, 29914, 29896, 29906, 511, 29871, 29896, 29906, 8443, 13, 1678, 6756, 13, 1678, 6756, 13, 1678, 921, 353, 29871, 29900, 30004, 13, 1678, 282, 353, 5159, 30004, 13, 1678, 363, 921, 297, 3464, 29898, 2435, 29898, 1272, 29889, 29956, 1351, 689, 22164, 30004, 13, 4706, 260, 353, 2967, 29953, 29946, 29889, 29890, 29953, 29946, 13808, 29898, 1272, 29889, 29956, 1351, 689, 29961, 29916, 2314, 30004, 13, 4706, 282, 29889, 4397, 29898, 9302, 29889, 294, 2378, 29898, 29873, 876, 30004, 13, 4706, 921, 23661, 29896, 30004, 13, 1678, 282, 353, 7442, 29889, 294, 2378, 29898, 29886, 8443, 13, 1678, 263, 353, 5159, 30004, 13, 30004, 13, 1678, 363, 474, 297, 282, 29901, 30004, 13, 4706, 288, 353, 5159, 30004, 13, 4706, 363, 921, 297, 474, 29901, 30004, 13, 9651, 288, 29889, 4397, 29898, 29916, 8443, 13, 4706, 263, 29889, 4397, 29898, 29877, 8443, 13, 30004, 13, 1678, 4489, 353, 10518, 29889, 17271, 29898, 29874, 8443, 13, 1678, 4489, 29889, 7851, 29898, 29900, 29892, 525, 29931, 1479, 742, 848, 1839, 29931, 1479, 2033, 8443, 13, 30004, 13, 1678, 9654, 353, 5159, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29896, 29900, 29900, 29900, 1125, 30004, 13, 4706, 9654, 29889, 4397, 29898, 15926, 29889, 29886, 11002, 29918, 2371, 29898, 2176, 15625, 29876, 29930, 29896, 29906, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 1402, 4341, 29922, 2176, 29889, 29931, 1479, 876, 30004, 13, 4706, 1243, 353, 10518, 29889, 17685, 29898, 19465, 8443, 13, 30004, 13, 1678, 716, 353, 5159, 30004, 13, 1678, 1409, 353, 5159, 30004, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 29896, 29941, 1125, 30004, 13, 4706, 363, 2380, 29892, 954, 297, 14319, 29898, 1688, 29889, 309, 542, 7503, 29892, 302, 29899, 29896, 3816, 1057, 29906, 1402, 1243, 29889, 309, 542, 7503, 29892, 302, 29899, 29896, 3816, 29896, 1057, 29906, 29962, 1125, 30004, 13, 9651, 565, 954, 1405, 29871, 29896, 29906, 29947, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 448, 313, 29906, 29945, 29953, 334, 313, 29906, 29945, 29953, 448, 954, 4961, 30004, 13, 9651, 25342, 954, 529, 29871, 29896, 29906, 29947, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 718, 313, 29906, 29945, 29953, 334, 954, 876, 30004, 13, 9651, 25342, 954, 1275, 29871, 29900, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 8443, 13, 9651, 1683, 29901, 30004, 13, 18884, 716, 29889, 4397, 29898, 2248, 8443, 13, 4706, 716, 353, 5159, 30004, 13, 4706, 1409, 29889, 4397, 29898, 1482, 8443, 13, 30004, 13, 1678, 1409, 353, 7442, 29889, 294, 2378, 4197, 2378, 29961, 29900, 1402, 1409, 29961, 29896, 1402, 1409, 29961, 29906, 1402, 1409, 29961, 29941, 1402, 1409, 29961, 29946, 1402, 1409, 29961, 29945, 1402, 1409, 29961, 29953, 1402, 1409, 29961, 29955, 1402, 1409, 29961, 29947, 1402, 1409, 29961, 29929, 1402, 1409, 29961, 29896, 29900, 1402, 1409, 29961, 29896, 29896, 24960, 30004, 13, 1678, 4489, 353, 10518, 29889, 17271, 29898, 2378, 8443, 13, 1678, 4489, 353, 10518, 29889, 29886, 11002, 29918, 2371, 29898, 2176, 29892, 4341, 29922, 1688, 29889, 13099, 8443, 13, 1678, 4489, 353, 4489, 29889, 5589, 1056, 29898, 29900, 8443, 13, 30004, 13, 1678, 628, 263, 30004, 13, 1678, 628, 282, 30004, 13, 1678, 628, 288, 30004, 13, 1678, 628, 260, 30004, 13, 1678, 628, 9654, 30004, 13, 1678, 628, 716, 30004, 13, 1678, 628, 1409, 30004, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29896, 29900, 29900, 29900, 1125, 30004, 13, 4706, 363, 921, 297, 3464, 29898, 29896, 29906, 1125, 30004, 13, 30004, 13, 9651, 565, 313, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 1272, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 2314, 6736, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 470, 313, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 718, 848, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 2314, 448, 848, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 1275, 29871, 29896, 29901, 30004, 13, 18884, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 9651, 1683, 29901, 30004, 13, 18884, 364, 29878, 524, 353, 848, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 18884, 565, 313, 21478, 524, 718, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 1405, 29871, 29896, 29906, 29900, 29900, 322, 313, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 529, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 524, 29898, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 3552, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 4638, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 30004, 13, 18884, 25342, 313, 21478, 524, 718, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 1405, 29871, 29896, 29906, 29900, 29900, 322, 313, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 1405, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 6817, 21478, 524, 1125, 524, 29898, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 3552, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 4638, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 30004, 13, 18884, 25342, 364, 29878, 524, 718, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 529, 29871, 29896, 29906, 29900, 29900, 322, 313, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 529, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 524, 29898, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 29898, 21478, 524, 718, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 18884, 1683, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 6817, 21478, 524, 1125, 524, 29898, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 29898, 21478, 524, 718, 848, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4489, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 1678, 443, 4572, 287, 29918, 280, 7925, 353, 4489, 29889, 8552, 26471, 13, 1678, 6756, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29896, 29900, 29900, 29900, 1125, 30004, 13, 4706, 363, 297, 29916, 297, 3464, 29898, 29896, 29906, 1125, 30004, 13, 30004, 13, 9651, 1243, 353, 4489, 29918, 5878, 261, 29898, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1402, 302, 8443, 13, 30004, 13, 9651, 330, 2547, 353, 5159, 30004, 13, 9651, 24471, 2776, 29940, 29879, 353, 5159, 30004, 13, 9651, 17261, 353, 5159, 30004, 13, 30004, 13, 9651, 363, 954, 297, 1243, 29961, 1688, 29889, 275, 1056, 580, 1275, 5852, 1822, 2248, 29901, 30004, 13, 30004, 13, 18884, 24471, 2776, 29940, 29879, 29889, 4397, 29898, 1949, 8443, 13, 18884, 565, 7431, 29898, 20155, 2776, 29940, 29879, 29897, 1275, 29871, 29896, 29901, 30004, 13, 462, 1678, 17261, 29889, 4397, 29898, 20155, 2776, 29940, 29879, 29961, 29900, 2314, 30004, 13, 30004, 13, 18884, 565, 7431, 29898, 20155, 2776, 29940, 29879, 29897, 1405, 29871, 29896, 29901, 30004, 13, 30004, 13, 462, 1678, 565, 24471, 2776, 29940, 29879, 14352, 29896, 29962, 448, 24471, 2776, 29940, 29879, 14352, 29906, 29962, 529, 29871, 29945, 29901, 30004, 13, 462, 4706, 17261, 29889, 4397, 29898, 1949, 8443, 13, 462, 1678, 25342, 24471, 2776, 29940, 29879, 14352, 29896, 29962, 448, 24471, 2776, 29940, 29879, 14352, 29906, 29962, 1405, 29871, 29945, 29901, 6756, 13, 462, 4706, 330, 2547, 29889, 4397, 29898, 29887, 481, 8443, 13, 462, 4706, 17261, 353, 5159, 30004, 13, 462, 4706, 17261, 29889, 4397, 29898, 1949, 8443, 13, 30004, 13, 9651, 330, 2547, 29889, 4397, 29898, 29887, 481, 8443, 13, 30004, 13, 9651, 565, 330, 2547, 2804, 518, 2636, 5387, 30004, 13, 18884, 921, 353, 5159, 30004, 13, 18884, 343, 353, 5159, 30004, 13, 18884, 363, 330, 297, 330, 2547, 29901, 30004, 13, 30004, 13, 462, 1678, 565, 7431, 29898, 29887, 29897, 1275, 29871, 29896, 29901, 30004, 13, 30004, 13, 462, 4706, 921, 29889, 4397, 4197, 29887, 14352, 29896, 10062, 29896, 2314, 30004, 13, 462, 4706, 343, 29889, 4397, 29898, 1688, 29961, 29887, 14352, 29896, 10062, 29896, 2314, 30004, 13, 30004, 13, 462, 1678, 565, 7442, 29889, 275, 13707, 29898, 1688, 29889, 309, 542, 29961, 29900, 29962, 1125, 30004, 13, 30004, 13, 462, 4706, 1298, 29896, 353, 518, 29887, 29961, 29900, 1402, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 1298, 29906, 353, 518, 29887, 14352, 29896, 10062, 29896, 29892, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 921, 29918, 7382, 29892, 29891, 29918, 7382, 353, 298, 9776, 29918, 1220, 29898, 3149, 29896, 29892, 1298, 29906, 8443, 13, 462, 4706, 921, 29889, 4397, 29898, 29916, 29918, 7382, 8443, 13, 462, 4706, 343, 29889, 4397, 29898, 29891, 29918, 7382, 8443, 13, 30004, 13, 462, 1678, 1683, 29901, 30004, 13, 30004, 13, 462, 4706, 1298, 29896, 353, 518, 29887, 29961, 29900, 29962, 29899, 29896, 29892, 1243, 29961, 29887, 29961, 29900, 29962, 29899, 29896, 5262, 30004, 13, 462, 4706, 1298, 29906, 353, 518, 29887, 14352, 29896, 10062, 29896, 29892, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 921, 29918, 7382, 29892, 29891, 29918, 7382, 353, 298, 9776, 29918, 1220, 29898, 3149, 29896, 29892, 1298, 29906, 8443, 13, 462, 4706, 921, 29889, 4397, 29898, 29916, 29918, 7382, 8443, 13, 462, 4706, 343, 29889, 4397, 29898, 29891, 29918, 7382, 8443, 13, 30004, 13, 18884, 363, 474, 297, 3464, 29898, 2435, 29898, 29916, 22164, 30004, 13, 462, 1678, 1243, 29961, 29916, 29961, 29875, 5262, 353, 343, 29961, 29875, 29962, 30004, 13, 30004, 13, 30004, 13, 9651, 565, 313, 29873, 2390, 29920, 29898, 6897, 29898, 1688, 29961, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 1125, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 12622, 29914, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 524, 29898, 1272, 29889, 29984, 787, 300, 29961, 29896, 29906, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 1272, 29889, 29984, 10289, 29961, 29896, 29906, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 529, 869, 29953, 29900, 29901, 30004, 13, 30004, 13, 18884, 1243, 353, 4489, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 30004, 13, 9651, 1243, 353, 1612, 1777, 29873, 29898, 1688, 29892, 8466, 29918, 2311, 29922, 29929, 29897, 29871, 6756, 13, 30004, 13, 9651, 4489, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 1243, 30004, 13, 1678, 6756, 13, 1678, 628, 330, 2547, 30004, 13, 1678, 628, 24471, 2776, 29940, 29879, 30004, 13, 1678, 628, 17261, 30004, 13, 1678, 628, 1243, 30004, 13, 1678, 6756, 13, 1678, 478, 24301, 29918, 280, 7925, 353, 4489, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 1678, 4489, 353, 4489, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 2033, 29962, 30004, 13, 1678, 853, 4572, 287, 29918, 29963, 24301, 29918, 280, 7925, 353, 443, 4572, 287, 29918, 280, 7925, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 1678, 443, 4572, 287, 29918, 280, 7925, 353, 443, 4572, 287, 29918, 280, 7925, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 2033, 29962, 30004, 13, 1678, 6756, 13, 1678, 4636, 353, 5519, 29889, 29941, 29947, 29892, 448, 29889, 29900, 29955, 29892, 448, 29889, 29896, 29941, 29892, 869, 29900, 29945, 29892, 448, 29889, 29900, 29896, 29892, 869, 29896, 29946, 29892, 869, 29900, 29953, 29892, 869, 29945, 29946, 1402, 30004, 13, 795, 21069, 29889, 29900, 29955, 29892, 869, 29929, 29941, 29892, 869, 29900, 29953, 29892, 448, 29889, 29900, 29906, 29892, 448, 29889, 29900, 29945, 29892, 869, 29900, 29953, 29892, 448, 29889, 29896, 29955, 29892, 869, 29896, 29941, 1402, 30004, 13, 795, 518, 29889, 29896, 29896, 29892, 448, 29889, 29906, 29941, 29892, 448, 29889, 29946, 29941, 29892, 448, 29889, 29900, 29953, 29892, 448, 29889, 29896, 29946, 29892, 448, 29889, 29906, 29900, 29892, 448, 29889, 29896, 29896, 29892, 869, 29941, 29896, 5262, 30004, 13, 30004, 13, 1678, 921, 353, 4636, 29961, 29900, 29962, 30004, 13, 1678, 343, 353, 4636, 29961, 29896, 29962, 30004, 13, 1678, 503, 353, 4636, 29961, 29906, 29962, 30004, 13, 30004, 13, 1678, 302, 353, 29871, 29900, 30004, 13, 268, 486, 3451, 353, 5159, 30004, 13, 1678, 343, 7382, 353, 5159, 30004, 13, 1678, 503, 7382, 353, 5159, 30004, 13, 1678, 363, 474, 297, 3464, 29898, 2435, 29898, 2176, 22164, 30004, 13, 30004, 13, 308, 486, 3451, 29889, 4397, 3552, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 921, 467, 2083, 3101, 30004, 13, 4706, 343, 7382, 29889, 4397, 3552, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 343, 467, 2083, 3101, 30004, 13, 4706, 503, 7382, 29889, 4397, 3552, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 503, 467, 2083, 3101, 30004, 13, 4706, 302, 23661, 29896, 30004, 13, 30004, 13, 1678, 4489, 1839, 29916, 2033, 353, 29871, 486, 3451, 30004, 13, 1678, 4489, 1839, 29891, 2033, 353, 343, 7382, 30004, 13, 1678, 4489, 1839, 29920, 2033, 353, 503, 7382, 30004, 13, 30004, 13, 1678, 302, 353, 29871, 29900, 30004, 13, 268, 486, 3451, 353, 5159, 30004, 13, 1678, 343, 7382, 353, 5159, 30004, 13, 1678, 503, 7382, 353, 5159, 30004, 13, 1678, 363, 474, 297, 3464, 29898, 2435, 29898, 348, 4572, 287, 29918, 280, 7925, 22164, 30004, 13, 30004, 13, 308, 486, 3451, 29889, 4397, 3552, 348, 4572, 287, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 921, 467, 2083, 3101, 30004, 13, 4706, 343, 7382, 29889, 4397, 3552, 348, 4572, 287, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 343, 467, 2083, 3101, 30004, 13, 4706, 503, 7382, 29889, 4397, 3552, 348, 4572, 287, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 503, 467, 2083, 3101, 30004, 13, 4706, 302, 23661, 29896, 30004, 13, 30004, 13, 1678, 4489, 1839, 2525, 4572, 287, 29918, 29916, 2033, 353, 29871, 486, 3451, 30004, 13, 1678, 4489, 1839, 2525, 4572, 287, 29918, 29891, 2033, 353, 343, 7382, 30004, 13, 1678, 4489, 1839, 2525, 4572, 287, 29918, 29920, 2033, 353, 503, 7382, 30004, 13, 1678, 6756, 13, 1678, 628, 29871, 486, 3451, 30004, 13, 1678, 628, 343, 7382, 30004, 13, 1678, 628, 503, 7382, 30004, 13, 1678, 6756, 13, 1678, 6756, 13, 1678, 4489, 1839, 2539, 2033, 353, 848, 1839, 2539, 2033, 30004, 13, 1678, 4489, 1839, 1367, 2033, 353, 848, 1839, 1367, 2033, 30004, 13, 1678, 4489, 1839, 2481, 2033, 353, 848, 1839, 2481, 2033, 30004, 13, 1678, 4489, 1839, 11816, 2033, 353, 848, 1839, 11816, 2033, 30004, 13, 1678, 4489, 1839, 29925, 787, 300, 2033, 353, 848, 1839, 29925, 787, 300, 2033, 30004, 13, 1678, 4489, 1839, 29925, 29881, 332, 2033, 353, 848, 1839, 29925, 29881, 332, 2033, 30004, 13, 1678, 4489, 1839, 29925, 10289, 2033, 353, 848, 1839, 29925, 10289, 2033, 30004, 13, 1678, 4489, 1839, 29984, 787, 300, 2033, 353, 848, 1839, 29984, 787, 300, 2033, 30004, 13, 1678, 4489, 1839, 29984, 2288, 29881, 332, 2033, 353, 848, 1839, 29984, 2288, 29881, 332, 2033, 30004, 13, 1678, 4489, 1839, 17303, 524, 2033, 353, 848, 1839, 17303, 524, 2033, 30004, 13, 1678, 4489, 1839, 29984, 10289, 2033, 353, 848, 1839, 29984, 10289, 2033, 30004, 13, 1678, 4489, 1839, 29911, 787, 300, 2033, 353, 848, 1839, 29911, 787, 300, 2033, 30004, 13, 1678, 4489, 1839, 29911, 29881, 332, 2033, 353, 848, 1839, 29911, 29881, 332, 2033, 30004, 13, 1678, 4489, 1839, 1762, 600, 842, 2033, 353, 848, 1839, 1762, 600, 842, 2033, 30004, 13, 1678, 4489, 1839, 3868, 442, 19907, 2033, 353, 848, 1839, 3868, 442, 19907, 2033, 30004, 13, 1678, 4489, 1839, 29984, 12445, 29348, 16070, 2033, 353, 848, 1839, 29984, 12445, 29348, 16070, 2033, 30004, 13, 1678, 4489, 1839, 29903, 735, 2033, 353, 848, 1839, 29903, 735, 2033, 30004, 13, 1678, 4489, 1839, 29984, 9472, 2033, 353, 848, 1839, 29984, 9472, 2033, 30004, 13, 1678, 4489, 1839, 22406, 2033, 353, 848, 1839, 22406, 2033, 30004, 13, 1678, 4489, 1839, 1170, 2033, 353, 848, 1839, 1170, 2033, 30004, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29896, 29900, 29900, 29900, 1125, 30004, 13, 4706, 4489, 1839, 29925, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29925, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 11816, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 11816, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29925, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29925, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29925, 10289, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29925, 10289, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29984, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29984, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29984, 2288, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29984, 2288, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 17303, 524, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 17303, 524, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29984, 10289, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29984, 10289, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29911, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29911, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29911, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29911, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 1762, 600, 842, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 1762, 600, 842, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 3868, 442, 19907, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 3868, 442, 19907, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29984, 12445, 29348, 16070, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29984, 12445, 29348, 16070, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29903, 735, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29903, 735, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 29984, 9472, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 29984, 9472, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 22406, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 22406, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4489, 1839, 2539, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 2539, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4489, 1839, 2481, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 2481, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4489, 1839, 1367, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 1367, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4489, 1839, 1170, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 848, 1839, 1170, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 1678, 6756, 13, 1678, 4489, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 353, 478, 24301, 29918, 280, 7925, 30004, 13, 1678, 443, 4572, 287, 29918, 280, 7925, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 353, 853, 4572, 287, 29918, 29963, 24301, 29918, 280, 7925, 30004, 13, 1678, 4489, 29961, 1839, 2525, 4572, 287, 29918, 29902, 742, 525, 2525, 4572, 287, 29918, 2687, 742, 525, 2525, 4572, 287, 29918, 5287, 742, 525, 2525, 4572, 287, 29918, 29963, 29896, 742, 525, 2525, 4572, 287, 29918, 29963, 29906, 742, 525, 2525, 4572, 287, 29918, 29963, 29941, 742, 525, 2525, 4572, 287, 29918, 29963, 29946, 742, 525, 2525, 4572, 287, 29918, 29963, 29945, 742, 525, 2525, 4572, 287, 29918, 29963, 29953, 742, 525, 2525, 4572, 287, 29918, 29874, 24460, 742, 525, 2525, 4572, 287, 29918, 29874, 29963, 29931, 742, 525, 2525, 4572, 287, 29918, 29874, 29963, 29934, 2033, 29962, 353, 443, 4572, 287, 29918, 280, 7925, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 5287, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 30004, 13, 1678, 628, 443, 4572, 287, 29918, 280, 7925, 30004, 13, 1678, 628, 478, 24301, 29918, 280, 7925, 30004, 13, 1678, 6756, 13, 1678, 6756, 13, 361, 7431, 29898, 24498, 29918, 1272, 29897, 1405, 29871, 29900, 29901, 30004, 13, 1678, 1409, 353, 7442, 29889, 13092, 29898, 24498, 29918, 1272, 29961, 24498, 29918, 1272, 29889, 275, 4304, 2141, 1384, 29898, 8990, 29922, 29896, 29897, 3816, 1839, 1367, 742, 525, 2539, 742, 525, 2481, 2033, 2314, 30004, 13, 1678, 4567, 29918, 24498, 29918, 1272, 353, 4203, 29918, 1272, 29889, 2029, 29961, 24498, 29918, 1272, 1839, 1367, 13359, 275, 262, 29898, 2378, 29897, 669, 4203, 29918, 1272, 1839, 2539, 13359, 275, 262, 29898, 2378, 29897, 669, 4203, 29918, 1272, 1839, 2481, 13359, 275, 262, 29898, 2378, 4638, 30004, 13, 1678, 4203, 29918, 1272, 29889, 8865, 29898, 27259, 29918, 24498, 29918, 1272, 29889, 2248, 29892, 9685, 29922, 29900, 29892, 262, 6689, 29922, 5574, 8443, 13, 1678, 4567, 29918, 24498, 29918, 1272, 353, 4567, 29918, 24498, 29918, 1272, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 1678, 628, 10522, 30004, 13, 1678, 628, 917, 30004, 13, 1678, 6756, 13, 1678, 4203, 29918, 1272, 353, 4203, 29918, 1272, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 4203, 29918, 1272, 29889, 29911, 787, 300, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29962, 353, 7442, 29889, 14358, 29898, 524, 29898, 24498, 29918, 1272, 29889, 29911, 787, 300, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 1822, 2083, 580, 29914, 29896, 29906, 511, 29871, 29896, 29906, 8443, 13, 4706, 4203, 29918, 1272, 29889, 29925, 29881, 332, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29962, 353, 7442, 29889, 14358, 29898, 524, 29898, 24498, 29918, 1272, 29889, 29925, 29881, 332, 29961, 29876, 29930, 29896, 29906, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 1822, 2083, 580, 29914, 29896, 29906, 511, 29871, 29896, 29906, 8443, 13, 30004, 13, 1678, 921, 353, 29871, 29900, 30004, 13, 1678, 282, 353, 5159, 30004, 13, 1678, 363, 921, 297, 3464, 29898, 2435, 29898, 24498, 29918, 1272, 29889, 29956, 1351, 689, 22164, 30004, 13, 4706, 260, 353, 2967, 29953, 29946, 29889, 29890, 29953, 29946, 13808, 29898, 24498, 29918, 1272, 29889, 29956, 1351, 689, 29961, 29916, 2314, 30004, 13, 4706, 282, 29889, 4397, 29898, 9302, 29889, 294, 2378, 29898, 29873, 876, 30004, 13, 4706, 921, 23661, 29896, 6756, 13, 1678, 282, 353, 7442, 29889, 294, 2378, 29898, 29886, 8443, 13, 1678, 263, 353, 5159, 30004, 13, 30004, 13, 1678, 363, 474, 297, 282, 29901, 30004, 13, 4706, 288, 353, 5159, 30004, 13, 4706, 363, 921, 297, 474, 29901, 30004, 13, 9651, 288, 29889, 4397, 29898, 29916, 8443, 13, 4706, 263, 29889, 4397, 29898, 29877, 8443, 13, 30004, 13, 1678, 4203, 29918, 2176, 353, 10518, 29889, 17271, 29898, 29874, 8443, 13, 1678, 4203, 29918, 2176, 29889, 7851, 29898, 29900, 29892, 525, 29931, 1479, 742, 4203, 29918, 1272, 1839, 29931, 1479, 2033, 8443, 13, 30004, 13, 1678, 9654, 353, 5159, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 9654, 29889, 4397, 29898, 15926, 29889, 29886, 11002, 29918, 2371, 29898, 24498, 29918, 2176, 15625, 29876, 29930, 29896, 29906, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 1402, 4341, 29922, 24498, 29918, 2176, 29889, 29931, 1479, 876, 30004, 13, 4706, 1243, 353, 10518, 29889, 17685, 29898, 19465, 8443, 13, 30004, 13, 1678, 716, 353, 5159, 30004, 13, 1678, 1409, 353, 5159, 30004, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 29896, 29941, 1125, 30004, 13, 4706, 363, 2380, 29892, 954, 297, 14319, 29898, 1688, 29889, 309, 542, 7503, 29892, 302, 29899, 29896, 3816, 1057, 29906, 1402, 1243, 29889, 309, 542, 7503, 29892, 302, 29899, 29896, 3816, 29896, 1057, 29906, 29962, 1125, 30004, 13, 30004, 13, 9651, 565, 954, 1405, 29871, 29896, 29906, 29947, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 448, 313, 29906, 29945, 29953, 334, 313, 29906, 29945, 29953, 448, 954, 4961, 30004, 13, 9651, 25342, 954, 529, 29871, 29896, 29906, 29947, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 718, 313, 29906, 29945, 29953, 334, 954, 876, 30004, 13, 9651, 25342, 954, 1275, 29871, 29900, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 2248, 8443, 13, 9651, 1683, 29901, 30004, 13, 18884, 716, 29889, 4397, 29898, 2248, 8443, 13, 4706, 716, 353, 5159, 30004, 13, 4706, 1409, 29889, 4397, 29898, 1482, 8443, 13, 30004, 13, 1678, 1409, 353, 7442, 29889, 294, 2378, 4197, 2378, 29961, 29900, 1402, 1409, 29961, 29896, 1402, 1409, 29961, 29906, 1402, 1409, 29961, 29941, 1402, 1409, 29961, 29946, 1402, 1409, 29961, 29945, 1402, 1409, 29961, 29953, 1402, 1409, 29961, 29955, 1402, 1409, 29961, 29947, 1402, 1409, 29961, 29929, 1402, 1409, 29961, 29896, 29900, 1402, 1409, 29961, 29896, 29896, 24960, 30004, 13, 1678, 4203, 29918, 2176, 353, 10518, 29889, 17271, 29898, 2378, 8443, 13, 30004, 13, 1678, 4203, 29918, 2176, 353, 10518, 29889, 29886, 11002, 29918, 2371, 29898, 24498, 29918, 2176, 29892, 4341, 29922, 1688, 29889, 13099, 8443, 13, 1678, 4203, 29918, 2176, 353, 4203, 29918, 2176, 29889, 5589, 1056, 29898, 29900, 8443, 13, 30004, 13, 1678, 9654, 353, 5159, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 9654, 29889, 4397, 29898, 24498, 29918, 2176, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 3552, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 6817, 29953, 29900, 29900, 2314, 30004, 13, 4706, 1243, 353, 10518, 29889, 17685, 29898, 19465, 8443, 13, 1678, 4203, 29918, 2176, 353, 1243, 30004, 13, 1678, 4203, 29918, 2176, 353, 4203, 29918, 2176, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 1678, 4203, 29918, 2176, 353, 10518, 29889, 29886, 11002, 29918, 2371, 29898, 24498, 29918, 2176, 29892, 4341, 29922, 24498, 29918, 2176, 29889, 2248, 8443, 13, 30004, 13, 30004, 13, 1678, 1409, 353, 5159, 30004, 13, 1678, 363, 474, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 363, 921, 297, 3464, 29898, 29896, 29906, 1125, 30004, 13, 9651, 5694, 353, 5159, 30004, 13, 9651, 716, 353, 5159, 30004, 13, 30004, 13, 9651, 363, 302, 297, 4203, 29918, 2176, 29889, 309, 542, 29961, 29916, 29892, 29875, 29930, 29953, 29900, 29900, 5919, 29875, 29974, 29896, 11877, 29953, 29900, 29900, 5387, 30004, 13, 18884, 5694, 29889, 4397, 29898, 29876, 8443, 13, 18884, 565, 7431, 29898, 7382, 29897, 1405, 29871, 29896, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 7382, 14352, 29906, 2314, 30004, 13, 30004, 13, 18884, 565, 7431, 29898, 7382, 29897, 529, 29871, 29953, 29900, 29896, 322, 7431, 29898, 7382, 29897, 1405, 29871, 29896, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 3552, 7382, 14352, 29896, 10062, 7382, 14352, 29906, 2314, 29914, 29906, 8443, 13, 30004, 13, 18884, 565, 7431, 29898, 7382, 29897, 1275, 29871, 29953, 29900, 29900, 29901, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 7382, 14352, 29896, 2314, 30004, 13, 462, 1678, 716, 29889, 4397, 29898, 7382, 14352, 29896, 2314, 30004, 13, 9651, 1409, 29889, 4397, 29898, 1482, 8443, 13, 30004, 13, 1678, 306, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 1944, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29896, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 4786, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29906, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29896, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29941, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29906, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29946, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29941, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29945, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29946, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29953, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29945, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29955, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 478, 29953, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29947, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 263, 24460, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29929, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 263, 29963, 29931, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29896, 29900, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 1678, 263, 29963, 29934, 353, 313, 9302, 29889, 294, 2378, 29898, 2378, 29961, 29896, 29896, 1057, 29896, 29906, 2314, 467, 690, 14443, 29898, 2798, 29945, 29900, 29900, 29930, 29896, 29906, 29900, 29900, 8443, 13, 30004, 13, 1678, 4203, 29918, 2176, 353, 10518, 29889, 29886, 11002, 29918, 2371, 29898, 15926, 29889, 17271, 4197, 29902, 29892, 1944, 29892, 4786, 29892, 478, 29896, 29892, 478, 29906, 29892, 478, 29941, 29892, 478, 29946, 29892, 478, 29945, 29892, 478, 29953, 29892, 263, 24460, 29892, 263, 29963, 29931, 29892, 263, 29963, 29934, 11724, 4341, 29922, 1688, 29889, 13099, 8443, 13, 1678, 4203, 29918, 2176, 353, 4203, 29918, 2176, 29889, 5589, 1056, 29898, 29900, 8443, 13, 1678, 6756, 13, 1678, 628, 306, 30004, 13, 1678, 628, 1944, 6756, 13, 1678, 628, 4786, 30004, 13, 1678, 628, 478, 29896, 6756, 13, 1678, 628, 478, 29906, 6756, 13, 1678, 628, 478, 29941, 6756, 13, 1678, 628, 478, 29946, 6756, 13, 1678, 628, 478, 29945, 6756, 13, 1678, 628, 478, 29953, 6756, 13, 1678, 628, 263, 24460, 30004, 13, 1678, 628, 263, 29963, 29931, 30004, 13, 1678, 628, 263, 29963, 29934, 30004, 13, 1678, 628, 263, 30004, 13, 1678, 628, 282, 30004, 13, 1678, 628, 288, 30004, 13, 1678, 628, 260, 30004, 13, 1678, 628, 9654, 30004, 13, 1678, 628, 716, 30004, 13, 1678, 628, 1409, 30004, 13, 1678, 628, 5694, 30004, 13, 1678, 6756, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 363, 921, 297, 3464, 29898, 29896, 29906, 1125, 30004, 13, 30004, 13, 9651, 565, 5135, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 24498, 29918, 1272, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 2314, 6736, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 470, 5135, 24498, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 718, 4203, 29918, 1272, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 2314, 448, 4203, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 1275, 29871, 29896, 1125, 30004, 13, 462, 1678, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 9651, 1683, 29901, 30004, 13, 18884, 364, 29878, 524, 353, 4203, 29918, 1272, 29889, 29934, 29934, 524, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 18884, 565, 313, 21478, 524, 718, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 1405, 29871, 29896, 29906, 29900, 29900, 322, 313, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 529, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 524, 29898, 24498, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 3552, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 4638, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 30004, 13, 18884, 25342, 313, 21478, 524, 718, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 1405, 29871, 29896, 29906, 29900, 29900, 322, 313, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 1405, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 6817, 21478, 524, 1125, 524, 29898, 24498, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 3552, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 4638, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 30004, 13, 18884, 25342, 364, 29878, 524, 718, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 529, 29871, 29896, 29906, 29900, 29900, 322, 313, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 29962, 29899, 21478, 524, 29897, 529, 29871, 29900, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 524, 29898, 24498, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 29898, 21478, 524, 718, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 18884, 1683, 29901, 30004, 13, 30004, 13, 462, 1678, 5694, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 6817, 21478, 524, 1125, 524, 29898, 24498, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 462, 1678, 1243, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 1762, 600, 842, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 22164, 524, 29898, 21478, 524, 718, 4203, 29918, 1272, 29889, 29925, 787, 300, 29961, 29876, 29930, 29896, 29906, 10062, 29898, 29876, 29930, 29896, 29906, 29900, 29900, 28166, 30004, 13, 30004, 13, 462, 1678, 565, 1243, 29889, 6310, 1275, 7700, 322, 5694, 29889, 6310, 1275, 7700, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5135, 7382, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 580, 718, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 3101, 847, 29871, 29906, 8443, 13, 462, 1678, 25342, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 1243, 29961, 2435, 29898, 1688, 29897, 458, 29941, 29901, 2435, 29898, 1688, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 5694, 29961, 2435, 29898, 7382, 29897, 458, 29941, 29901, 2435, 29898, 7382, 11877, 29906, 458, 29941, 1822, 12676, 26471, 13, 462, 1678, 25342, 1243, 29889, 6310, 322, 5694, 29889, 6310, 29901, 30004, 13, 462, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 29896, 29906, 29900, 29900, 16395, 29876, 29974, 29896, 4638, 448, 313, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 29901, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 29897, 1822, 12676, 580, 718, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 17108, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1822, 12676, 3101, 847, 29871, 29906, 30004, 13, 30004, 13, 1678, 363, 921, 297, 3464, 29898, 29896, 29906, 1125, 6756, 13, 4706, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 29962, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 29916, 14178, 29906, 29889, 29945, 30004, 13, 1678, 6756, 13, 1678, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 353, 4203, 29918, 2176, 29889, 8552, 26471, 13, 1678, 6756, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 30004, 13, 4706, 363, 297, 29916, 297, 3464, 29898, 29896, 29906, 1125, 30004, 13, 30004, 13, 9651, 1243, 353, 4203, 29918, 2176, 29918, 5878, 261, 29898, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 1402, 302, 8443, 13, 30004, 13, 9651, 330, 2547, 353, 5159, 30004, 13, 9651, 24471, 2776, 29940, 29879, 353, 5159, 30004, 13, 9651, 17261, 353, 5159, 30004, 13, 30004, 13, 9651, 363, 954, 297, 1243, 29961, 1688, 29889, 275, 1056, 580, 1275, 5852, 1822, 2248, 29901, 30004, 13, 30004, 13, 18884, 24471, 2776, 29940, 29879, 29889, 4397, 29898, 1949, 8443, 13, 18884, 565, 7431, 29898, 20155, 2776, 29940, 29879, 29897, 1275, 29871, 29896, 29901, 30004, 13, 462, 1678, 17261, 29889, 4397, 29898, 20155, 2776, 29940, 29879, 29961, 29900, 2314, 30004, 13, 30004, 13, 18884, 565, 7431, 29898, 20155, 2776, 29940, 29879, 29897, 1405, 29871, 29896, 29901, 30004, 13, 30004, 13, 462, 1678, 565, 24471, 2776, 29940, 29879, 14352, 29896, 29962, 448, 24471, 2776, 29940, 29879, 14352, 29906, 29962, 529, 29871, 29945, 29901, 30004, 13, 462, 4706, 17261, 29889, 4397, 29898, 1949, 8443, 13, 462, 1678, 25342, 24471, 2776, 29940, 29879, 14352, 29896, 29962, 448, 24471, 2776, 29940, 29879, 14352, 29906, 29962, 1405, 29871, 29945, 29901, 6756, 13, 462, 4706, 330, 2547, 29889, 4397, 29898, 29887, 481, 8443, 13, 462, 4706, 17261, 353, 5159, 30004, 13, 462, 4706, 17261, 29889, 4397, 29898, 1949, 8443, 13, 30004, 13, 9651, 330, 2547, 29889, 4397, 29898, 29887, 481, 8443, 13, 30004, 13, 9651, 565, 330, 2547, 2804, 518, 2636, 5387, 30004, 13, 18884, 921, 353, 5159, 30004, 13, 18884, 343, 353, 5159, 30004, 13, 18884, 363, 330, 297, 330, 2547, 29901, 30004, 13, 30004, 13, 462, 1678, 565, 7431, 29898, 29887, 29897, 1275, 29871, 29896, 29901, 30004, 13, 30004, 13, 462, 4706, 921, 29889, 4397, 4197, 29887, 14352, 29896, 10062, 29896, 2314, 30004, 13, 462, 4706, 343, 29889, 4397, 29898, 1688, 29961, 29887, 14352, 29896, 10062, 29896, 2314, 30004, 13, 30004, 13, 462, 1678, 565, 7442, 29889, 275, 13707, 29898, 1688, 29889, 309, 542, 29961, 29900, 29962, 1125, 30004, 13, 30004, 13, 462, 4706, 1298, 29896, 353, 518, 29887, 29961, 29900, 1402, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 1298, 29906, 353, 518, 29887, 14352, 29896, 10062, 29896, 29892, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 921, 29918, 7382, 29892, 29891, 29918, 7382, 353, 298, 9776, 29918, 1220, 29898, 3149, 29896, 29892, 1298, 29906, 8443, 13, 462, 4706, 921, 29889, 4397, 29898, 29916, 29918, 7382, 8443, 13, 462, 4706, 343, 29889, 4397, 29898, 29891, 29918, 7382, 8443, 13, 30004, 13, 462, 1678, 1683, 29901, 30004, 13, 30004, 13, 462, 4706, 1298, 29896, 353, 518, 29887, 29961, 29900, 29962, 29899, 29896, 29892, 1243, 29961, 29887, 29961, 29900, 29962, 29899, 29896, 5262, 30004, 13, 462, 4706, 1298, 29906, 353, 518, 29887, 14352, 29896, 10062, 29896, 29892, 1243, 29961, 29887, 14352, 29896, 10062, 29896, 5262, 30004, 13, 462, 4706, 921, 29918, 7382, 29892, 29891, 29918, 7382, 353, 298, 9776, 29918, 1220, 29898, 3149, 29896, 29892, 1298, 29906, 8443, 13, 462, 4706, 921, 29889, 4397, 29898, 29916, 29918, 7382, 8443, 13, 462, 4706, 343, 29889, 4397, 29898, 29891, 29918, 7382, 8443, 13, 30004, 13, 18884, 363, 474, 297, 3464, 29898, 2435, 29898, 29916, 22164, 30004, 13, 462, 1678, 1243, 29961, 29916, 29961, 29875, 5262, 353, 343, 29961, 29875, 29962, 30004, 13, 30004, 13, 30004, 13, 9651, 565, 313, 29873, 2390, 29920, 29898, 6897, 29898, 1688, 29961, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29876, 29930, 29896, 29906, 29962, 1125, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29876, 29930, 29896, 29906, 2314, 12622, 29914, 29873, 2390, 29920, 29898, 6897, 29898, 24498, 29918, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 524, 29898, 24498, 29918, 1272, 29889, 29984, 787, 300, 29961, 29896, 29906, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 24498, 29918, 1272, 29889, 29984, 10289, 29961, 29896, 29906, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 529, 869, 29953, 29900, 29901, 30004, 13, 30004, 13, 18884, 1243, 353, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 30004, 13, 9651, 1243, 353, 1612, 1777, 29873, 29898, 1688, 29892, 8466, 29918, 2311, 29922, 29929, 29897, 29871, 6756, 13, 30004, 13, 9651, 4203, 29918, 2176, 29889, 309, 542, 7503, 29892, 14668, 3816, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 1243, 30004, 13, 9651, 6756, 13, 1678, 628, 330, 2547, 30004, 13, 1678, 628, 24471, 2776, 29940, 29879, 30004, 13, 1678, 628, 17261, 30004, 13, 1678, 628, 1243, 30004, 13, 1678, 6756, 13, 1678, 4203, 29918, 29963, 24301, 29918, 280, 7925, 353, 4203, 29918, 2176, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 1678, 4203, 29918, 2176, 353, 4203, 29918, 2176, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 2033, 29962, 30004, 13, 1678, 853, 4572, 287, 29918, 24498, 29918, 29963, 24301, 29918, 280, 7925, 353, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 1678, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 353, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 2033, 29962, 30004, 13, 30004, 13, 1678, 4636, 353, 5519, 29889, 29941, 29947, 29892, 448, 29889, 29900, 29955, 29892, 448, 29889, 29896, 29941, 29892, 869, 29900, 29945, 29892, 448, 29889, 29900, 29896, 29892, 869, 29896, 29946, 29892, 869, 29900, 29953, 29892, 869, 29945, 29946, 1402, 30004, 13, 795, 21069, 29889, 29900, 29955, 29892, 869, 29929, 29941, 29892, 869, 29900, 29953, 29892, 448, 29889, 29900, 29906, 29892, 448, 29889, 29900, 29945, 29892, 869, 29900, 29953, 29892, 448, 29889, 29896, 29955, 29892, 869, 29896, 29941, 1402, 30004, 13, 795, 518, 29889, 29896, 29896, 29892, 448, 29889, 29906, 29941, 29892, 448, 29889, 29946, 29941, 29892, 448, 29889, 29900, 29953, 29892, 448, 29889, 29896, 29946, 29892, 448, 29889, 29906, 29900, 29892, 448, 29889, 29896, 29896, 29892, 869, 29941, 29896, 5262, 30004, 13, 30004, 13, 1678, 921, 353, 4636, 29961, 29900, 29962, 30004, 13, 1678, 343, 353, 4636, 29961, 29896, 29962, 30004, 13, 1678, 503, 353, 4636, 29961, 29906, 29962, 30004, 13, 30004, 13, 1678, 302, 353, 29871, 29900, 30004, 13, 268, 486, 3451, 353, 5159, 30004, 13, 1678, 343, 7382, 353, 5159, 30004, 13, 1678, 503, 7382, 353, 5159, 30004, 13, 1678, 363, 474, 297, 3464, 29898, 2435, 29898, 24498, 29918, 2176, 22164, 30004, 13, 30004, 13, 308, 486, 3451, 29889, 4397, 3552, 24498, 29918, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 921, 467, 2083, 3101, 30004, 13, 4706, 343, 7382, 29889, 4397, 3552, 24498, 29918, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 343, 467, 2083, 3101, 30004, 13, 4706, 503, 7382, 29889, 4397, 3552, 24498, 29918, 2176, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 503, 467, 2083, 3101, 30004, 13, 4706, 302, 23661, 29896, 30004, 13, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29916, 2033, 353, 29871, 486, 3451, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29891, 2033, 353, 343, 7382, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29920, 2033, 353, 503, 7382, 30004, 13, 30004, 13, 30004, 13, 1678, 921, 353, 4636, 29961, 29900, 29962, 30004, 13, 1678, 343, 353, 4636, 29961, 29896, 29962, 30004, 13, 1678, 503, 353, 4636, 29961, 29906, 29962, 30004, 13, 30004, 13, 30004, 13, 1678, 302, 353, 29871, 29900, 30004, 13, 268, 486, 3451, 353, 5159, 30004, 13, 1678, 343, 7382, 353, 5159, 30004, 13, 1678, 503, 7382, 353, 5159, 30004, 13, 1678, 363, 474, 297, 3464, 29898, 2435, 29898, 348, 4572, 287, 29918, 24498, 29918, 280, 7925, 22164, 30004, 13, 30004, 13, 308, 486, 3451, 29889, 4397, 3552, 348, 4572, 287, 29918, 24498, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 921, 467, 2083, 3101, 30004, 13, 4706, 343, 7382, 29889, 4397, 3552, 348, 4572, 287, 29918, 24498, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 343, 467, 2083, 3101, 30004, 13, 4706, 503, 7382, 29889, 4397, 3552, 348, 4572, 287, 29918, 24498, 29918, 280, 7925, 29889, 309, 542, 29961, 29876, 1822, 5975, 334, 503, 467, 2083, 3101, 30004, 13, 4706, 302, 23661, 29896, 30004, 13, 30004, 13, 1678, 4203, 29918, 2176, 1839, 2525, 4572, 287, 29918, 29916, 2033, 353, 29871, 486, 3451, 30004, 13, 1678, 4203, 29918, 2176, 1839, 2525, 4572, 287, 29918, 29891, 2033, 353, 343, 7382, 30004, 13, 1678, 4203, 29918, 2176, 1839, 2525, 4572, 287, 29918, 29920, 2033, 353, 503, 7382, 30004, 13, 30004, 13, 1678, 628, 29871, 486, 3451, 30004, 13, 1678, 628, 343, 7382, 30004, 13, 1678, 628, 503, 7382, 30004, 13, 1678, 6756, 13, 1678, 6756, 13, 1678, 4203, 29918, 2176, 1839, 2539, 2033, 353, 4203, 29918, 1272, 1839, 2539, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 1367, 2033, 353, 4203, 29918, 1272, 1839, 1367, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 2481, 2033, 353, 4203, 29918, 1272, 1839, 2481, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29925, 787, 300, 2033, 353, 4203, 29918, 1272, 1839, 29925, 787, 300, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 11816, 2033, 353, 4203, 29918, 1272, 1839, 11816, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29925, 29881, 332, 2033, 353, 4203, 29918, 1272, 1839, 29925, 29881, 332, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29925, 10289, 2033, 353, 4203, 29918, 1272, 1839, 29925, 10289, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29984, 787, 300, 2033, 353, 4203, 29918, 1272, 1839, 29984, 787, 300, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29984, 2288, 29881, 332, 2033, 353, 4203, 29918, 1272, 1839, 29984, 2288, 29881, 332, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 17303, 524, 2033, 353, 4203, 29918, 1272, 1839, 17303, 524, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29984, 10289, 2033, 353, 4203, 29918, 1272, 1839, 29984, 10289, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29911, 787, 300, 2033, 353, 4203, 29918, 1272, 1839, 29911, 787, 300, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29911, 29881, 332, 2033, 353, 4203, 29918, 1272, 1839, 29911, 29881, 332, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 1762, 600, 842, 2033, 353, 4203, 29918, 1272, 1839, 1762, 600, 842, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 3868, 442, 19907, 2033, 353, 4203, 29918, 1272, 1839, 3868, 442, 19907, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29984, 12445, 29348, 16070, 2033, 353, 4203, 29918, 1272, 1839, 29984, 12445, 29348, 16070, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29903, 735, 2033, 353, 4203, 29918, 1272, 1839, 29903, 735, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 29984, 9472, 2033, 353, 4203, 29918, 1272, 1839, 29984, 9472, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 22406, 2033, 353, 4203, 29918, 1272, 1839, 22406, 2033, 30004, 13, 1678, 4203, 29918, 2176, 1839, 1170, 2033, 353, 4203, 29918, 1272, 1839, 1170, 2033, 30004, 13, 30004, 13, 1678, 363, 302, 297, 3464, 29898, 2798, 29945, 29900, 29900, 1125, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29925, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29925, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 11816, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 11816, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29925, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29925, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29925, 10289, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29925, 10289, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29984, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29984, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29984, 2288, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29984, 2288, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 17303, 524, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 17303, 524, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29984, 10289, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29984, 10289, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29911, 787, 300, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29911, 787, 300, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29911, 29881, 332, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29911, 29881, 332, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 1762, 600, 842, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 1762, 600, 842, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 3868, 442, 19907, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 3868, 442, 19907, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29984, 12445, 29348, 16070, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29984, 12445, 29348, 16070, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29903, 735, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29903, 735, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 29984, 9472, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 29984, 9472, 2033, 29961, 29876, 29930, 29896, 29906, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 1170, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 1170, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 22406, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 22406, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 1367, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 1367, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 2539, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 2539, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 4706, 4203, 29918, 2176, 1839, 2481, 2033, 15625, 29876, 29930, 29896, 29906, 29900, 29900, 1125, 29898, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 353, 4203, 29918, 1272, 1839, 2481, 2033, 29961, 29896, 29906, 29930, 29876, 29962, 30004, 13, 1678, 6756, 13, 1678, 4203, 29918, 2176, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 353, 4203, 29918, 29963, 24301, 29918, 280, 7925, 30004, 13, 1678, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 29961, 1839, 5287, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 353, 853, 4572, 287, 29918, 24498, 29918, 29963, 24301, 29918, 280, 7925, 30004, 13, 1678, 4203, 29918, 2176, 29961, 1839, 2525, 4572, 287, 29918, 29902, 742, 525, 2525, 4572, 287, 29918, 2687, 742, 525, 2525, 4572, 287, 29918, 5287, 742, 525, 2525, 4572, 287, 29918, 29963, 29896, 742, 525, 2525, 4572, 287, 29918, 29963, 29906, 742, 525, 2525, 4572, 287, 29918, 29963, 29941, 742, 525, 2525, 4572, 287, 29918, 29963, 29946, 742, 525, 2525, 4572, 287, 29918, 29963, 29945, 742, 525, 2525, 4572, 287, 29918, 29963, 29953, 742, 525, 2525, 4572, 287, 29918, 29874, 24460, 742, 525, 2525, 4572, 287, 29918, 29874, 29963, 29931, 742, 525, 2525, 4572, 287, 29918, 29874, 29963, 29934, 2033, 29962, 353, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 5287, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 742, 525, 29874, 24460, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 29963, 29934, 2033, 29962, 30004, 13, 30004, 13, 1678, 628, 443, 4572, 287, 29918, 24498, 29918, 280, 7925, 30004, 13, 1678, 628, 4203, 29918, 29963, 24301, 29918, 280, 7925, 30004, 13, 30004, 13, 1678, 6756, 13, 361, 313, 2435, 29898, 24498, 29918, 1272, 29897, 1405, 29871, 29900, 29897, 322, 313, 2435, 29898, 1272, 29897, 1405, 29871, 29900, 1125, 30004, 13, 1678, 4489, 353, 10518, 29889, 17685, 4197, 2176, 29892, 4203, 29918, 2176, 2314, 30004, 13, 1678, 4489, 353, 4489, 29889, 12071, 29918, 2248, 29898, 8865, 29922, 5574, 8443, 13, 1678, 628, 4203, 29918, 1272, 30004, 13, 1678, 628, 848, 30004, 13, 1678, 628, 4203, 29918, 2176, 30004, 13, 1678, 6756, 13, 361, 313, 2435, 29898, 24498, 29918, 1272, 29897, 1405, 29871, 29900, 29897, 322, 313, 2435, 29898, 1272, 29897, 1275, 29871, 29900, 1125, 30004, 13, 1678, 4489, 353, 4203, 29918, 2176, 30004, 13, 1678, 628, 4203, 29918, 2176, 30004, 13, 1678, 628, 4203, 29918, 1272, 30004, 13, 1678, 6756, 13, 361, 313, 2435, 29898, 24498, 29918, 1272, 29897, 1275, 29871, 29900, 29897, 322, 313, 2435, 29898, 1272, 29897, 1405, 29871, 29900, 1125, 30004, 13, 1678, 4489, 353, 4489, 30004, 13, 1678, 628, 848, 30004, 13, 30004, 13, 2176, 1839, 7827, 29918, 20230, 2033, 353, 5135, 2176, 29889, 29916, 29897, 1068, 29906, 718, 313, 2176, 29889, 29891, 29897, 1068, 29906, 718, 313, 2176, 29889, 29920, 29897, 1068, 29906, 29897, 1068, 29900, 29889, 29945, 30004, 13, 30004, 13, 29984, 29934, 7597, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 660, 29934, 7597, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 2176, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 876, 12622, 30004, 13, 30004, 13, 29984, 29934, 7597, 24301, 353, 7442, 29889, 14358, 29898, 29984, 29934, 7597, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29984, 29934, 7597, 24301, 2033, 353, 660, 29934, 7597, 24301, 30004, 13, 6144, 660, 29934, 7597, 24301, 30004, 13, 30004, 13, 29984, 29934, 855, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 660, 29934, 855, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 2176, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 876, 12622, 30004, 13, 30004, 13, 29984, 29934, 855, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29984, 29934, 855, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29984, 29934, 855, 29963, 24301, 2033, 353, 660, 29934, 855, 29963, 24301, 30004, 13, 6144, 660, 29934, 855, 29963, 24301, 30004, 13, 30004, 13, 28462, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 5488, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 28462, 24301, 353, 7442, 29889, 14358, 29898, 28462, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 28462, 24301, 2033, 353, 5488, 24301, 30004, 13, 6144, 5488, 24301, 30004, 13, 30004, 13, 29979, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 612, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29979, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29979, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 29963, 24301, 2033, 353, 612, 29963, 24301, 30004, 13, 6144, 612, 29963, 24301, 30004, 13, 30004, 13, 29999, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 796, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29999, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29999, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 29963, 24301, 2033, 353, 796, 29963, 24301, 30004, 13, 6144, 796, 29963, 24301, 30004, 13, 30004, 13, 2176, 1839, 29984, 12445, 29941, 7698, 5638, 2033, 353, 5135, 2176, 29889, 28462, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29979, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29999, 29963, 24301, 29897, 1068, 29906, 29897, 1068, 29900, 29889, 29945, 30004, 13, 30004, 13, 29990, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 1060, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29990, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29990, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29990, 29873, 29963, 24301, 2033, 353, 1060, 29873, 29963, 24301, 30004, 13, 6144, 1060, 29873, 29963, 24301, 30004, 13, 30004, 13, 29979, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 612, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29979, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29979, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 29873, 29963, 24301, 2033, 353, 612, 29873, 29963, 24301, 30004, 13, 6144, 612, 29873, 29963, 24301, 30004, 13, 30004, 13, 29999, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 796, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 29898, 6897, 29898, 2176, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29999, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29999, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 29873, 29963, 24301, 2033, 353, 796, 29873, 29963, 24301, 30004, 13, 6144, 796, 29873, 29963, 24301, 30004, 13, 30004, 13, 2176, 1839, 29984, 29934, 855, 29941, 7698, 5638, 2033, 353, 5135, 2176, 29889, 29990, 29873, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29979, 29873, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29999, 29873, 29963, 24301, 29897, 1068, 29906, 29897, 1068, 29900, 29889, 29945, 30004, 13, 30004, 13, 30004, 13, 28462, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 5488, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 28462, 24301, 353, 7442, 29889, 14358, 29898, 28462, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29990, 12877, 29918, 29963, 24301, 2033, 353, 5488, 24301, 30004, 13, 6144, 5488, 24301, 30004, 13, 30004, 13, 29979, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 612, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29979, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29979, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 12877, 29918, 29963, 24301, 2033, 353, 612, 29963, 24301, 30004, 13, 6144, 612, 29963, 24301, 30004, 13, 30004, 13, 29999, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 796, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29999, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29999, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 12877, 29918, 29963, 24301, 2033, 353, 796, 29963, 24301, 30004, 13, 6144, 796, 29963, 24301, 30004, 13, 30004, 13, 2176, 1839, 29984, 12445, 29941, 29928, 12877, 29918, 13799, 2033, 353, 5135, 2176, 29889, 29990, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29979, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29999, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 29897, 1068, 29900, 29889, 29945, 30004, 13, 30004, 13, 29990, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 1060, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29990, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29990, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29990, 29873, 12877, 29918, 29963, 24301, 2033, 353, 1060, 29873, 29963, 24301, 30004, 13, 6144, 1060, 29873, 29963, 24301, 30004, 13, 30004, 13, 29979, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 612, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29979, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29979, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 29873, 12877, 29918, 29963, 24301, 2033, 353, 612, 29873, 29963, 24301, 30004, 13, 6144, 612, 29873, 29963, 24301, 30004, 13, 30004, 13, 29999, 29873, 29963, 24301, 353, 5159, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 29871, 6756, 13, 1678, 796, 29873, 29963, 24301, 29889, 4397, 29898, 29873, 2390, 29920, 3552, 2176, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29876, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29876, 28166, 4961, 30004, 13, 30004, 13, 29999, 29873, 29963, 24301, 353, 7442, 29889, 14358, 29898, 29999, 29873, 29963, 24301, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 29873, 12877, 29918, 29963, 24301, 2033, 353, 796, 29873, 29963, 24301, 30004, 13, 6144, 796, 29873, 29963, 24301, 30004, 13, 30004, 13, 2176, 1839, 29984, 29934, 855, 29941, 29928, 12877, 29918, 13799, 2033, 353, 5135, 2176, 29889, 29990, 29873, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29979, 29873, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 718, 313, 2176, 29889, 29999, 29873, 12877, 29918, 29963, 24301, 29897, 1068, 29906, 29897, 1068, 29900, 29889, 29945, 30004, 13, 30004, 13, 29911, 1160, 353, 5159, 30004, 13, 12188, 1160, 353, 5159, 30004, 13, 29979, 29911, 1160, 353, 5159, 30004, 13, 29999, 29911, 1160, 353, 5159, 30004, 13, 29911, 29886, 7141, 353, 5159, 30004, 13, 12188, 29886, 7141, 353, 5159, 30004, 13, 29979, 29911, 29886, 7141, 353, 5159, 30004, 13, 29999, 29911, 29886, 7141, 353, 5159, 30004, 13, 29984, 29886, 29984, 29872, 353, 5159, 30004, 13, 30004, 13, 1454, 921, 297, 3464, 29898, 2798, 1125, 30004, 13, 1678, 565, 938, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 1405, 938, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 30004, 13, 4706, 1060, 29911, 1160, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 1060, 29911, 29886, 7141, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 612, 29911, 1160, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 612, 29911, 29886, 7141, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 796, 29911, 1160, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 796, 29911, 29886, 7141, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 323, 1160, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 323, 29886, 7141, 29889, 4397, 29898, 9302, 29889, 13707, 8443, 13, 4706, 660, 29874, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 660, 29886, 29984, 29872, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29984, 29874, 29901, 12622, 30004, 13, 4706, 6756, 13, 1678, 25342, 4489, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 29962, 1275, 4489, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 5387, 30004, 13, 4706, 1060, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 1060, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 612, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 612, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 796, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 796, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 323, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 5262, 876, 30004, 13, 4706, 323, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29899, 29896, 29900, 29901, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 29974, 29896, 29900, 29962, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 660, 29874, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 660, 29886, 29984, 29872, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29984, 29874, 29901, 12622, 30004, 13, 4706, 6756, 13, 1678, 1683, 29901, 30004, 13, 4706, 1060, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 1060, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29916, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 612, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 612, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29891, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 796, 29911, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 796, 29911, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 29920, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 323, 1160, 29889, 4397, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 10523, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 323, 29886, 7141, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29911, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 1762, 600, 842, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29911, 29874, 29901, 12622, 30004, 13, 4706, 660, 29874, 353, 518, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 1822, 2248, 29898, 3317, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 5262, 876, 30004, 13, 4706, 660, 29886, 29984, 29872, 29889, 4397, 29898, 2435, 4197, 6897, 29898, 29876, 29897, 363, 302, 297, 4489, 29889, 7827, 29918, 20230, 29961, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 28166, 3816, 29984, 29874, 29901, 12622, 30004, 13, 1678, 6756, 13, 30004, 13, 29984, 29886, 29984, 29872, 353, 7442, 29889, 14358, 29898, 29984, 29886, 29984, 29872, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29984, 29886, 29984, 29872, 2033, 353, 660, 29886, 29984, 29872, 30004, 13, 30004, 13, 29911, 1160, 353, 7442, 29889, 14358, 29898, 29911, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29911, 1160, 2033, 353, 323, 1160, 30004, 13, 30004, 13, 12188, 1160, 353, 7442, 29889, 14358, 29898, 12188, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 12188, 1160, 2033, 353, 1060, 29911, 1160, 30004, 13, 30004, 13, 29979, 29911, 1160, 353, 7442, 29889, 14358, 29898, 29979, 29911, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 29911, 1160, 2033, 353, 612, 29911, 1160, 30004, 13, 30004, 13, 29999, 29911, 1160, 353, 7442, 29889, 14358, 29898, 29999, 29911, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 29911, 1160, 2033, 353, 796, 29911, 1160, 30004, 13, 30004, 13, 12188, 29886, 7141, 353, 7442, 29889, 14358, 29898, 12188, 29886, 7141, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 12188, 29886, 7141, 2033, 353, 1060, 29911, 29886, 7141, 30004, 13, 30004, 13, 29979, 29911, 29886, 7141, 353, 7442, 29889, 14358, 29898, 29979, 29911, 29886, 7141, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29979, 29911, 29886, 7141, 2033, 353, 612, 29911, 29886, 7141, 30004, 13, 30004, 13, 29999, 29911, 29886, 7141, 353, 7442, 29889, 14358, 29898, 29999, 29911, 29886, 7141, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29999, 29911, 29886, 7141, 2033, 353, 796, 29911, 29886, 7141, 30004, 13, 30004, 13, 29911, 29886, 7141, 353, 7442, 29889, 14358, 29898, 29911, 29886, 7141, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 2176, 1839, 29911, 29886, 7141, 2033, 353, 323, 29886, 7141, 30004, 13, 30004, 13, 6144, 323, 1160, 30004, 13, 6144, 1060, 29911, 1160, 30004, 13, 6144, 612, 29911, 1160, 30004, 13, 6144, 796, 29911, 1160, 30004, 13, 6144, 1060, 29911, 29886, 7141, 30004, 13, 6144, 612, 29911, 29886, 7141, 30004, 13, 6144, 796, 29911, 29886, 7141, 30004, 13, 6144, 323, 29886, 7141, 30004, 13, 6144, 660, 29886, 29984, 29872, 30004, 13, 30004, 13, 7382, 353, 4489, 29961, 1839, 29902, 742, 525, 2687, 742, 525, 5287, 742, 525, 29963, 29896, 742, 525, 29963, 29906, 742, 525, 29963, 29941, 742, 525, 29963, 29946, 742, 525, 29963, 29945, 742, 525, 29963, 29953, 742, 525, 29874, 29963, 29934, 742, 525, 29874, 29963, 29931, 742, 525, 29874, 24460, 742, 525, 29916, 742, 525, 29891, 742, 525, 29920, 742, 525, 7827, 29918, 20230, 2033, 29962, 30004, 13, 30004, 13, 29984, 1160, 353, 5159, 30004, 13, 1454, 921, 297, 3464, 29898, 2798, 1125, 30004, 13, 1678, 6756, 13, 1678, 363, 474, 297, 3464, 29898, 29896, 29953, 1125, 30004, 13, 30004, 13, 4706, 565, 1375, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 529, 29871, 29900, 322, 4236, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 1405, 29871, 29900, 29901, 30004, 13, 9651, 660, 1160, 29889, 4397, 29898, 3317, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 448, 1375, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 12622, 30004, 13, 30004, 13, 4706, 25342, 1375, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 1405, 29871, 29900, 322, 4236, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 529, 29871, 29900, 29901, 30004, 13, 9651, 660, 1160, 29889, 4397, 29898, 3317, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 448, 1375, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 12622, 30004, 13, 30004, 13, 4706, 25342, 1375, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 529, 29871, 29900, 322, 4236, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 2314, 529, 29871, 29900, 29901, 30004, 13, 9651, 660, 1160, 29889, 4397, 29898, 1195, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 12622, 30004, 13, 30004, 13, 4706, 1683, 29901, 30004, 13, 9651, 660, 1160, 29889, 4397, 29898, 3317, 29898, 7382, 29889, 309, 542, 7503, 29892, 29875, 3816, 524, 29898, 2176, 29889, 29984, 787, 300, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 22164, 524, 29898, 2176, 29889, 29984, 10289, 29961, 29896, 29906, 29900, 29900, 29930, 29916, 10062, 29898, 29896, 29906, 29900, 29900, 29930, 29916, 876, 12622, 30004, 13, 9651, 6756, 13, 6144, 5694, 30004, 13, 30004, 13, 29990, 29984, 1160, 353, 660, 1160, 29961, 29896, 29906, 1057, 29896, 29953, 29962, 30004, 13, 29990, 29984, 1160, 353, 7442, 29889, 14358, 29898, 29990, 29984, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 29979, 29984, 1160, 353, 660, 1160, 29961, 29896, 29941, 1057, 29896, 29953, 29962, 30004, 13, 29979, 29984, 1160, 353, 7442, 29889, 14358, 29898, 29979, 29984, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 29999, 29984, 1160, 353, 660, 1160, 29961, 29896, 29946, 1057, 29896, 29953, 29962, 30004, 13, 29999, 29984, 1160, 353, 7442, 29889, 14358, 29898, 29999, 29984, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 29984, 1160, 353, 660, 1160, 29961, 29896, 29945, 1057, 29896, 29953, 29962, 30004, 13, 29984, 1160, 353, 7442, 29889, 14358, 29898, 29984, 1160, 29892, 29871, 29896, 29906, 29900, 29900, 8443, 13, 30004, 13, 2176, 1839, 29990, 29984, 1160, 2033, 353, 1060, 29984, 1160, 30004, 13, 2176, 1839, 29979, 29984, 1160, 2033, 353, 612, 29984, 1160, 30004, 13, 2176, 1839, 29999, 29984, 1160, 2033, 353, 796, 29984, 1160, 30004, 13, 2176, 1839, 29984, 1160, 2033, 353, 660, 1160, 30004, 13, 30004, 13, 6144, 1060, 29984, 1160, 30004, 13, 6144, 612, 29984, 1160, 30004, 13, 6144, 796, 29984, 1160, 30004, 13, 6144, 660, 1160, 30004, 13, 30004, 13, 30004, 13, 30004, 13, 726, 29918, 2176, 353, 4489, 29961, 1839, 1367, 742, 525, 1170, 742, 525, 22406, 742, 525, 29903, 735, 742, 525, 2539, 742, 525, 2481, 3788, 3868, 442, 19907, 3788, 29925, 29881, 332, 3788, 11816, 3788, 29984, 2288, 29881, 332, 3788, 17303, 524, 3788, 29984, 9472, 3788, 29911, 29886, 7141, 3788, 29984, 12445, 29348, 16070, 23592, 13, 539, 525, 29984, 29934, 7597, 24301, 3788, 29990, 12877, 29918, 29963, 24301, 742, 525, 29979, 12877, 29918, 29963, 24301, 3788, 29999, 12877, 29918, 29963, 24301, 23592, 13, 539, 525, 29984, 29934, 855, 29963, 24301, 742, 525, 29990, 29873, 29963, 24301, 3788, 29979, 29873, 29963, 24301, 742, 525, 29999, 29873, 29963, 24301, 742, 6756, 13, 539, 525, 29984, 1160, 3788, 29990, 29984, 1160, 3788, 29979, 29984, 1160, 742, 525, 29999, 29984, 1160, 3788, 29911, 1160, 3788, 12188, 1160, 742, 525, 29979, 29911, 1160, 3788, 29999, 29911, 1160, 2033, 29962, 30004, 13, 30004, 13, 726, 29918, 2176, 353, 1426, 29918, 2176, 29961, 1057, 29896, 29906, 29900, 29900, 29962, 30004, 13, 30004, 13, 29937, 1426, 29918, 2176, 29889, 517, 29918, 7638, 877, 2369, 509, 4778, 29918, 15790, 29918, 1469, 29889, 7638, 742, 2380, 29922, 8824, 8443, 13, 29937, 7182, 29918, 2176, 29889, 517, 29918, 23945, 280, 877, 2369, 509, 4778, 29918, 15790, 29918, 1988, 29889, 29886, 6321, 1495, 30004, 13, 30004, 13, 726, 29918, 2176, 29889, 517, 29918, 7638, 877, 1272, 29889, 7638, 742, 2380, 29922, 8824, 8443, 13, 30004, 13, 1454, 302, 297, 3464, 29898, 2798, 1125, 30004, 13, 1678, 6756, 13, 1678, 396, 10518, 29889, 17271, 29898, 726, 29918, 2176, 29889, 309, 542, 29961, 29876, 29892, 29901, 14664, 29911, 29889, 517, 29918, 7638, 877, 29912, 1836, 7638, 4286, 4830, 29898, 4632, 29918, 7039, 29961, 29876, 3816, 13018, 29946, 11724, 2380, 29922, 8824, 8443, 13, 1678, 6756, 13, 1678, 921, 353, 4489, 29889, 29916, 29961, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 1678, 343, 353, 4489, 29889, 29891, 29961, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 1678, 503, 353, 4489, 29889, 29920, 29961, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 1678, 364, 1516, 353, 4489, 29889, 7827, 29918, 20230, 29961, 29876, 29930, 29896, 29906, 29900, 29900, 5919, 29876, 29974, 29896, 11877, 29896, 29906, 29900, 29900, 29962, 30004, 13, 30004, 13, 1678, 2537, 29892, 5135, 1165, 29892, 4853, 29896, 511, 313, 1165, 29906, 29892, 4853, 29941, 876, 353, 14770, 29889, 1491, 26762, 29898, 29906, 29892, 29871, 29906, 29892, 2537, 2311, 7607, 29896, 29945, 29892, 29871, 29947, 876, 30004, 13, 30004, 13, 1678, 4853, 29889, 5317, 29898, 29916, 8443, 13, 1678, 4853, 29889, 842, 29918, 3257, 877, 29931, 1479, 1060, 1495, 30004, 13, 30004, 13, 1678, 4853, 29896, 29889, 5317, 29898, 29891, 8443, 13, 1678, 4853, 29896, 29889, 842, 29918, 3257, 877, 29931, 1479, 612, 1495, 30004, 13, 30004, 13, 1678, 4853, 29906, 29889, 5317, 29898, 29920, 8443, 13, 1678, 4853, 29906, 29889, 842, 29918, 3257, 877, 29931, 1479, 796, 1495, 30004, 13, 30004, 13, 1678, 4853, 29941, 29889, 5317, 29898, 29878, 1516, 8443, 13, 1678, 4853, 29941, 29889, 842, 29918, 3257, 877, 18454, 29999, 390, 4345, 1495, 30004, 13, 30004, 13, 1678, 2537, 29889, 1491, 26762, 29918, 328, 5143, 29898, 14158, 21098, 29941, 8443, 13, 1678, 2537, 29889, 1491, 26762, 29918, 328, 5143, 29898, 29893, 3493, 21098, 29896, 8443, 13, 30004, 13, 1678, 2537, 29889, 7620, 1003, 877, 29912, 1836, 2732, 4286, 4830, 29898, 4632, 29918, 7039, 29961, 29876, 3816, 13018, 29946, 11724, 270, 1631, 29922, 29896, 29947, 29900, 29900, 29892, 3402, 2433, 2732, 1495, 30004, 13, 30004, 13, 6144, 4489, 2 ]
src/core/migrations/0020_auto_20181125_0510.py
metabolism-of-cities/ARCHIVED-metabolism-of-cities-platform-v3
0
176673
# Generated by Django 2.1.3 on 2018-11-25 05:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0019_auto_20181125_0501'), ] operations = [ migrations.AlterField( model_name='reference', name='title_original_language', field=models.CharField(blank=True, max_length=255, null=True), ), ]
[ 1, 396, 3251, 630, 491, 15337, 29871, 29906, 29889, 29896, 29889, 29941, 373, 29871, 29906, 29900, 29896, 29947, 29899, 29896, 29896, 29899, 29906, 29945, 29871, 29900, 29945, 29901, 29896, 29900, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, 800, 29892, 4733, 13, 13, 13, 1990, 341, 16783, 29898, 26983, 800, 29889, 29924, 16783, 1125, 13, 13, 1678, 9962, 353, 518, 13, 4706, 6702, 3221, 742, 525, 29900, 29900, 29896, 29929, 29918, 6921, 29918, 29906, 29900, 29896, 29947, 29896, 29896, 29906, 29945, 29918, 29900, 29945, 29900, 29896, 5477, 13, 1678, 4514, 13, 13, 1678, 6931, 353, 518, 13, 4706, 9725, 800, 29889, 2499, 357, 3073, 29898, 13, 9651, 1904, 29918, 978, 2433, 5679, 742, 13, 9651, 1024, 2433, 3257, 29918, 13492, 29918, 11675, 742, 13, 9651, 1746, 29922, 9794, 29889, 27890, 29898, 19465, 29922, 5574, 29892, 4236, 29918, 2848, 29922, 29906, 29945, 29945, 29892, 1870, 29922, 5574, 511, 13, 4706, 10353, 13, 1678, 4514, 13, 2 ]
spNQueenTheorem/generator.py
lightofanima/Adventures
0
166795
# This script generates a theorem for them Z3 SAT solver. The output of this program # is designed to be the input for http://rise4fun.com/z3 # The output of z3 is the coordinates of the queens for a solution to the N Queen problem :) #Prints an assert statement def zassert(x): print("( assert ( {} ) )".format(x)) #Prints a declaration def zdeclare(x, type="Int"): print("( declare-const {} {} )".format(x,type)) #Generates a Z3 proof. # N = number of queens. # G = grid size (8 = chess board) def generate(N, G) : zdeclare("N") #Nuber of queens zdeclare("G") #Board size zassert("= N {}".format(N)) #Init N zassert("= G {}".format(G)) #Init G #Generate queen names queensX = ["P{}_x".format(n) for n in range(0, N) ] queensY = ["P{}_y".format(n) for n in range(0, N) ] #Declare queens for i in range(N): zdeclare(queensX[i]) zdeclare(queensY[i]) #For each queen Position for P in range(N): #Assert bounds zassert(">= {} 0".format(queensX[P])) zassert(">= {} 0".format(queensY[P])) zassert("< {} G".format(queensX[P])) zassert("< {} G".format(queensY[P])) for PP in range(P+1, N): #Assert Horizontal and Vertical Uniqueness zassert("not ( or (= {ax} {bx} ) (= {ay} {by} ) )" .format(ax=queensX[P], bx=queensX[PP], ay=queensY[P], by=queensY[PP])) #Assert Diagonal uniqueness # / angle zassert("not ( exists (( t Int )) ( and ( and ( and ( = (+ {ax} t) {bx} ) ( >= (+ {ax} t) 0 ) ) ( < (+ {ax} t) G ) ) ( and ( and ( = (+ {ay} t) {by} ) ( >= (+ {ay} t) 0 ) ) ( < (+ {ay} t) G ) ) ) )" .format(ax=queensX[P], bx=queensX[PP], ay=queensY[P], by=queensY[PP])) # \ angle zassert("not ( exists (( t Int )) ( and ( and ( and ( = (+ {ax} t) {bx} ) ( >= (+ {ax} t) 0 ) ) ( < (+ {ax} t) G ) ) ( and ( and ( = (- {ay} t) {by} ) ( >= (- {ay} t) 0 ) ) ( < (- {ay} t) G ) ) ) )" .format(ax=queensX[P], bx=queensX[PP], ay=queensY[P], by=queensY[PP])) print("(check-sat)") print("(get-model)") #Generate proof for 8 queens on an 8x8 grid generate(8,8)
[ 1, 396, 910, 2471, 16785, 263, 9185, 363, 963, 796, 29941, 317, 1299, 899, 369, 29889, 450, 1962, 310, 445, 1824, 13, 29937, 338, 8688, 304, 367, 278, 1881, 363, 1732, 597, 29878, 895, 29946, 7692, 29889, 510, 29914, 29920, 29941, 13, 29937, 450, 1962, 310, 503, 29941, 338, 278, 10350, 310, 278, 712, 575, 363, 263, 1650, 304, 278, 405, 10470, 1108, 4248, 13, 13, 13, 29937, 4040, 9466, 385, 4974, 3229, 13, 1753, 503, 9294, 29898, 29916, 1125, 13, 1678, 1596, 703, 29898, 4974, 313, 6571, 1723, 1723, 1642, 4830, 29898, 29916, 876, 13, 13, 29937, 4040, 9466, 263, 12029, 13, 1753, 503, 7099, 8663, 29898, 29916, 29892, 1134, 543, 2928, 29908, 1125, 13, 1678, 1596, 703, 29898, 9607, 29899, 3075, 6571, 6571, 1723, 1642, 4830, 29898, 29916, 29892, 1853, 876, 13, 13, 29937, 5631, 1078, 263, 796, 29941, 5296, 29889, 13, 29937, 405, 353, 1353, 310, 712, 575, 29889, 13, 29937, 402, 353, 6856, 2159, 313, 29947, 353, 521, 404, 7613, 29897, 13, 1753, 5706, 29898, 29940, 29892, 402, 29897, 584, 13, 1678, 503, 7099, 8663, 703, 29940, 1159, 396, 29940, 11234, 310, 712, 575, 13, 1678, 503, 7099, 8663, 703, 29954, 1159, 396, 28397, 2159, 13, 1678, 503, 9294, 703, 29922, 405, 6571, 1642, 4830, 29898, 29940, 876, 396, 6644, 405, 13, 1678, 503, 9294, 703, 29922, 402, 6571, 1642, 4830, 29898, 29954, 876, 396, 6644, 402, 13, 13, 1678, 396, 5631, 403, 26624, 2983, 13, 1678, 712, 575, 29990, 353, 6796, 29925, 29912, 2403, 29916, 1642, 4830, 29898, 29876, 29897, 363, 302, 297, 3464, 29898, 29900, 29892, 405, 29897, 4514, 13, 1678, 712, 575, 29979, 353, 6796, 29925, 29912, 2403, 29891, 1642, 4830, 29898, 29876, 29897, 363, 302, 297, 3464, 29898, 29900, 29892, 405, 29897, 4514, 13, 13, 1678, 396, 6185, 8663, 712, 575, 13, 1678, 363, 474, 297, 3464, 29898, 29940, 1125, 13, 4706, 503, 7099, 8663, 29898, 802, 575, 29990, 29961, 29875, 2314, 13, 4706, 503, 7099, 8663, 29898, 802, 575, 29979, 29961, 29875, 2314, 13, 13, 1678, 396, 2831, 1269, 26624, 20627, 13, 1678, 363, 349, 297, 3464, 29898, 29940, 1125, 13, 13, 4706, 396, 14697, 13451, 13, 4706, 503, 9294, 703, 18572, 6571, 29871, 29900, 1642, 4830, 29898, 802, 575, 29990, 29961, 29925, 12622, 13, 4706, 503, 9294, 703, 18572, 6571, 29871, 29900, 1642, 4830, 29898, 802, 575, 29979, 29961, 29925, 12622, 13, 4706, 503, 9294, 28945, 29871, 6571, 402, 1642, 4830, 29898, 802, 575, 29990, 29961, 29925, 12622, 13, 4706, 503, 9294, 28945, 29871, 6571, 402, 1642, 4830, 29898, 802, 575, 29979, 29961, 29925, 12622, 13, 308, 13, 4706, 13, 13, 4706, 363, 349, 29925, 297, 3464, 29898, 29925, 29974, 29896, 29892, 405, 1125, 13, 632, 396, 14697, 6912, 7731, 322, 11198, 936, 853, 8105, 18543, 13, 9651, 503, 9294, 703, 1333, 313, 470, 11070, 426, 1165, 29913, 426, 29890, 29916, 29913, 1723, 11070, 426, 388, 29913, 426, 1609, 29913, 1723, 1723, 29908, 13, 462, 9651, 869, 4830, 29898, 1165, 29922, 802, 575, 29990, 29961, 29925, 1402, 289, 29916, 29922, 802, 575, 29990, 29961, 18009, 1402, 10156, 29922, 802, 575, 29979, 29961, 29925, 1402, 491, 29922, 802, 575, 29979, 29961, 18009, 12622, 13, 13, 9651, 396, 14697, 4671, 351, 7177, 20498, 18543, 13, 9651, 396, 847, 10696, 13, 9651, 503, 9294, 703, 1333, 313, 4864, 5135, 260, 3159, 29871, 876, 313, 322, 313, 322, 313, 322, 313, 353, 20532, 426, 1165, 29913, 260, 29897, 426, 29890, 29916, 29913, 1723, 313, 6736, 20532, 426, 1165, 29913, 260, 29897, 29871, 29900, 1723, 1723, 313, 529, 20532, 426, 1165, 29913, 260, 29897, 402, 1723, 1723, 29871, 313, 322, 313, 322, 313, 353, 20532, 426, 388, 29913, 260, 29897, 426, 1609, 29913, 1723, 313, 6736, 20532, 426, 388, 29913, 260, 29897, 29871, 29900, 1723, 1723, 313, 529, 20532, 426, 388, 29913, 260, 29897, 402, 1723, 1723, 1723, 1723, 29908, 13, 462, 1678, 869, 4830, 29898, 1165, 29922, 802, 575, 29990, 29961, 29925, 1402, 289, 29916, 29922, 802, 575, 29990, 29961, 18009, 1402, 10156, 29922, 802, 575, 29979, 29961, 29925, 1402, 491, 29922, 802, 575, 29979, 29961, 18009, 12622, 13, 462, 13, 9651, 396, 320, 10696, 13, 9651, 503, 9294, 703, 1333, 313, 4864, 5135, 260, 3159, 29871, 876, 313, 322, 313, 322, 313, 322, 313, 353, 20532, 426, 1165, 29913, 260, 29897, 426, 29890, 29916, 29913, 1723, 313, 6736, 20532, 426, 1165, 29913, 260, 29897, 29871, 29900, 1723, 1723, 313, 529, 20532, 426, 1165, 29913, 260, 29897, 402, 1723, 1723, 29871, 313, 322, 313, 322, 313, 353, 8521, 426, 388, 29913, 260, 29897, 426, 1609, 29913, 1723, 313, 6736, 8521, 426, 388, 29913, 260, 29897, 29871, 29900, 1723, 1723, 313, 529, 8521, 426, 388, 29913, 260, 29897, 402, 1723, 1723, 1723, 1723, 29908, 13, 462, 1678, 869, 4830, 29898, 1165, 29922, 802, 575, 29990, 29961, 29925, 1402, 289, 29916, 29922, 802, 575, 29990, 29961, 18009, 1402, 10156, 29922, 802, 575, 29979, 29961, 29925, 1402, 491, 29922, 802, 575, 29979, 29961, 18009, 12622, 13, 13, 268, 13, 13, 1678, 1596, 703, 29898, 3198, 29899, 29879, 271, 25760, 13, 1678, 1596, 703, 29898, 657, 29899, 4299, 25760, 13, 13, 29937, 5631, 403, 5296, 363, 29871, 29947, 712, 575, 373, 385, 29871, 29947, 29916, 29947, 6856, 13, 17158, 29898, 29947, 29892, 29947, 29897, 2 ]
mypyc/test/test_irbuild.py
aghast/mypy
0
137251
"""Test cases for IR generation.""" import os.path from mypy.test.config import test_temp_dir from mypy.test.data import DataDrivenTestCase from mypy.errors import CompileError from mypyc.common import TOP_LEVEL_NAME from mypyc.ir.func_ir import format_func from mypyc.test.testutil import ( ICODE_GEN_BUILTINS, use_custom_builtins, MypycDataSuite, build_ir_for_single_file, assert_test_output, remove_comment_lines, replace_native_int ) from mypyc.options import CompilerOptions files = [ 'irbuild-basic.test', 'irbuild-lists.test', 'irbuild-dict.test', 'irbuild-statements.test', 'irbuild-nested.test', 'irbuild-classes.test', 'irbuild-optional.test', 'irbuild-tuple.test', 'irbuild-any.test', 'irbuild-generics.test', 'irbuild-try.test', 'irbuild-set.test', 'irbuild-str.test', 'irbuild-strip-asserts.test', 'irbuild-int.test', ] class TestGenOps(MypycDataSuite): files = files base_path = test_temp_dir optional_out = True def run_case(self, testcase: DataDrivenTestCase) -> None: # Kind of hacky. Not sure if we need more structure here. options = CompilerOptions(strip_asserts='StripAssert' in testcase.name) """Perform a runtime checking transformation test case.""" with use_custom_builtins(os.path.join(self.data_prefix, ICODE_GEN_BUILTINS), testcase): expected_output = remove_comment_lines(testcase.output) expected_output = replace_native_int(expected_output) try: ir = build_ir_for_single_file(testcase.input, options) except CompileError as e: actual = e.messages else: actual = [] for fn in ir: if (fn.name == TOP_LEVEL_NAME and not testcase.name.endswith('_toplevel')): continue actual.extend(format_func(fn)) assert_test_output(testcase, actual, 'Invalid source code output', expected_output)
[ 1, 9995, 3057, 4251, 363, 23292, 12623, 1213, 15945, 13, 13, 5215, 2897, 29889, 2084, 13, 13, 3166, 590, 2272, 29889, 1688, 29889, 2917, 1053, 1243, 29918, 7382, 29918, 3972, 13, 3166, 590, 2272, 29889, 1688, 29889, 1272, 1053, 3630, 29928, 374, 854, 3057, 8259, 13, 3166, 590, 2272, 29889, 12523, 1053, 3831, 488, 2392, 13, 13, 3166, 590, 2272, 29883, 29889, 9435, 1053, 323, 4590, 29918, 1307, 29963, 6670, 29918, 5813, 13, 3166, 590, 2272, 29883, 29889, 381, 29889, 9891, 29918, 381, 1053, 3402, 29918, 9891, 13, 3166, 590, 2272, 29883, 29889, 1688, 29889, 1688, 4422, 1053, 313, 13, 1678, 306, 16524, 29918, 24647, 29918, 29933, 3120, 5850, 1177, 29903, 29892, 671, 29918, 6341, 29918, 16145, 1144, 29892, 341, 1478, 11078, 1469, 5091, 568, 29892, 2048, 29918, 381, 29918, 1454, 29918, 14369, 29918, 1445, 29892, 13, 1678, 4974, 29918, 1688, 29918, 4905, 29892, 3349, 29918, 9342, 29918, 9012, 29892, 5191, 29918, 11487, 29918, 524, 13, 29897, 13, 3166, 590, 2272, 29883, 29889, 6768, 1053, 3831, 3955, 5856, 13, 13, 5325, 353, 518, 13, 1678, 525, 381, 4282, 29899, 16121, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 21513, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 8977, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 6112, 4110, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 27420, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 13203, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 25253, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 23583, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 1384, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 4738, 1199, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 2202, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 842, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 710, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 17010, 29899, 9294, 29879, 29889, 1688, 742, 13, 1678, 525, 381, 4282, 29899, 524, 29889, 1688, 742, 13, 29962, 13, 13, 13, 1990, 4321, 15462, 29949, 567, 29898, 29924, 1478, 11078, 1469, 5091, 568, 1125, 13, 1678, 2066, 353, 2066, 13, 1678, 2967, 29918, 2084, 353, 1243, 29918, 7382, 29918, 3972, 13, 1678, 13136, 29918, 449, 353, 5852, 13, 13, 1678, 822, 1065, 29918, 4878, 29898, 1311, 29892, 1243, 4878, 29901, 3630, 29928, 374, 854, 3057, 8259, 29897, 1599, 6213, 29901, 13, 4706, 396, 13187, 310, 15833, 29891, 29889, 2216, 1854, 565, 591, 817, 901, 3829, 1244, 29889, 13, 4706, 3987, 353, 3831, 3955, 5856, 29898, 17010, 29918, 9294, 29879, 2433, 855, 6472, 14697, 29915, 297, 1243, 4878, 29889, 978, 29897, 13, 4706, 9995, 5894, 689, 263, 10073, 8454, 13852, 1243, 1206, 1213, 15945, 13, 4706, 411, 671, 29918, 6341, 29918, 16145, 1144, 29898, 359, 29889, 2084, 29889, 7122, 29898, 1311, 29889, 1272, 29918, 13506, 29892, 306, 16524, 29918, 24647, 29918, 29933, 3120, 5850, 1177, 29903, 511, 1243, 4878, 1125, 13, 9651, 3806, 29918, 4905, 353, 3349, 29918, 9342, 29918, 9012, 29898, 1688, 4878, 29889, 4905, 29897, 13, 9651, 3806, 29918, 4905, 353, 5191, 29918, 11487, 29918, 524, 29898, 9684, 29918, 4905, 29897, 13, 9651, 1018, 29901, 13, 18884, 3805, 353, 2048, 29918, 381, 29918, 1454, 29918, 14369, 29918, 1445, 29898, 1688, 4878, 29889, 2080, 29892, 3987, 29897, 13, 9651, 5174, 3831, 488, 2392, 408, 321, 29901, 13, 18884, 3935, 353, 321, 29889, 19158, 13, 9651, 1683, 29901, 13, 18884, 3935, 353, 5159, 13, 18884, 363, 7876, 297, 3805, 29901, 13, 462, 1678, 565, 313, 9144, 29889, 978, 1275, 323, 4590, 29918, 1307, 29963, 6670, 29918, 5813, 13, 462, 9651, 322, 451, 1243, 4878, 29889, 978, 29889, 1975, 2541, 877, 29918, 29873, 1991, 955, 8785, 29901, 13, 462, 4706, 6773, 13, 462, 1678, 3935, 29889, 21843, 29898, 4830, 29918, 9891, 29898, 9144, 876, 13, 13, 9651, 4974, 29918, 1688, 29918, 4905, 29898, 1688, 4878, 29892, 3935, 29892, 525, 13919, 2752, 775, 1962, 742, 13, 462, 1669, 3806, 29918, 4905, 29897, 13, 2 ]
applications/ParticleMechanicsApplication/tests/test_search_mpm_particle.py
lcirrott/Kratos
2
76864
<reponame>lcirrott/Kratos from __future__ import print_function, absolute_import, division import KratosMultiphysics import KratosMultiphysics.ParticleMechanicsApplication as KratosParticle import KratosMultiphysics.KratosUnittest as KratosUnittest class TestSearchMPMParticle(KratosUnittest.TestCase): def _generate_particle_element(self, current_model, dimension, geometry_element, is_structured, is_fine=False): KratosMultiphysics.Logger.GetDefaultOutput().SetSeverity(KratosMultiphysics.Logger.Severity.WARNING) # Initialize model part ## Material model part definition material_point_model_part = current_model.CreateModelPart("dummy_name") material_point_model_part.ProcessInfo.SetValue(KratosMultiphysics.DOMAIN_SIZE, dimension) ## Initial material model part definition initial_mesh_model_part = current_model.CreateModelPart("Initial_dummy_name") initial_mesh_model_part.ProcessInfo.SetValue(KratosMultiphysics.DOMAIN_SIZE, dimension) ## Grid model part definition grid_model_part = current_model.CreateModelPart("Background_Grid") grid_model_part.ProcessInfo.SetValue(KratosMultiphysics.DOMAIN_SIZE, dimension) # Create Background Grid sub_background = grid_model_part.CreateSubModelPart("test") if is_structured: self._create_background_nodes_structured(sub_background, dimension, geometry_element) else: self._create_background_nodes_unstructured(sub_background, dimension, geometry_element, is_fine) self._create_background_elements(sub_background,dimension, geometry_element, is_structured) # Create element and nodes sub_mp = initial_mesh_model_part.CreateSubModelPart("test") sub_mp.GetProperties()[1].SetValue(KratosParticle.PARTICLES_PER_ELEMENT, 1) if is_structured: self._create_nodes_structured(sub_mp, dimension, geometry_element) else: self._create_nodes_unstructured(sub_mp, dimension, geometry_element, is_fine) self._create_elements(sub_mp,dimension, geometry_element) # Set active KratosMultiphysics.VariableUtils().SetFlag(KratosMultiphysics.ACTIVE, True, initial_mesh_model_part.Elements) # Generate MP Elements KratosParticle.GenerateMaterialPointElement(grid_model_part, initial_mesh_model_part, material_point_model_part, False, False) def _create_nodes_structured(self, model_part, dimension, geometry_element): if geometry_element == "Triangle": model_part.CreateNewNode(1, 0.0, 0.0, 0.0) model_part.CreateNewNode(2, 1.0, 0.0, 0.0) model_part.CreateNewNode(3, 0.0, 1.0, 0.0) if (dimension == 3): model_part.CreateNewNode(4, 0.0, 0.0, 1.0) elif geometry_element == "Quadrilateral": model_part.CreateNewNode(1, -0.5, -0.5, 0.0) model_part.CreateNewNode(2, 0.5, -0.5, 0.0) model_part.CreateNewNode(3, 0.5, 0.5, 0.0) model_part.CreateNewNode(4, -0.5, 0.5, 0.0) if (dimension == 3): model_part.CreateNewNode(5, -0.5, -0.5, 1.0) model_part.CreateNewNode(6, 0.5, -0.5, 1.0) model_part.CreateNewNode(7, 0.5, 0.5, 1.0) model_part.CreateNewNode(8, -0.5, 0.5, 1.0) def _create_background_nodes_structured(self, model_part, dimension, geometry_element): self._create_nodes_structured(model_part, dimension, geometry_element) if geometry_element == "Triangle": model_part.CreateNewNode(5, 1.0, 1.0, 0.0) if (dimension == 3): model_part.CreateNewNode(6, 1.0, 0.0, 1.0) model_part.CreateNewNode(7, 0.0, 1.0, 1.0) model_part.CreateNewNode(8, 1.0, 1.0, 1.0) elif geometry_element == "Quadrilateral": model_part.CreateNewNode(9 , 1.5, -0.5, 0.0) model_part.CreateNewNode(10, 1.5, 0.5, 0.0) if (dimension == 3): model_part.CreateNewNode(11, 1.5, -0.5, 1.0) model_part.CreateNewNode(12, 1.5, 0.5, 1.0) def _create_nodes_unstructured(self, model_part, dimension, geometry_element, is_fine): if is_fine: modulus=1.e-7 else: modulus=1 if geometry_element == "Triangle": model_part.CreateNewNode(1, 0.9*modulus, 2.9*modulus, 0.0*modulus) model_part.CreateNewNode(2, 0.0*modulus, 0.0*modulus, 0.0*modulus) model_part.CreateNewNode(3, 2.9*modulus, 2.4*modulus, 0.0*modulus) if (dimension == 3): model_part.CreateNewNode(4, 0.5*modulus, 0.5*modulus, 1.5*modulus) elif geometry_element == "Quadrilateral": model_part.CreateNewNode(1, -0.734*modulus, -0.621*modulus, 0.0*modulus) model_part.CreateNewNode(2, 0.497*modulus, -0.432*modulus, 0.0*modulus) model_part.CreateNewNode(3, 0.587*modulus, 0.402*modulus, 0.0*modulus) model_part.CreateNewNode(4, -0.809*modulus, 0.522*modulus, 0.0*modulus) if (dimension == 3): model_part.CreateNewNode(5, -0.621*modulus, -0.734*modulus, 0.93*modulus) model_part.CreateNewNode(6, 0.432*modulus, -0.497*modulus, 1.11*modulus) model_part.CreateNewNode(7, 0.402*modulus, 0.587*modulus, 0.89*modulus) model_part.CreateNewNode(8, -0.522*modulus, 0.809*modulus, 1.21*modulus) def _create_background_nodes_unstructured(self, model_part, dimension, geometry_element, is_fine): self._create_nodes_unstructured(model_part, dimension, geometry_element, is_fine) if is_fine: modulus=1.e-7 else: modulus=1 if geometry_element == "Triangle": model_part.CreateNewNode(5, 2.1*modulus, 0.1*modulus, 0.0*modulus) elif geometry_element == "Quadrilateral": model_part.CreateNewNode(9, 1.343*modulus, -0.451*modulus, 0.0*modulus) model_part.CreateNewNode(10, 1.512*modulus, 0.392*modulus, 0.0*modulus) if (dimension == 3): model_part.CreateNewNode(11, 1.742*modulus, -0.620*modulus, 0.999*modulus) model_part.CreateNewNode(12, 1.520*modulus, 0.671*modulus, 1.120*modulus) def _create_elements(self, model_part, dimension, geometry_element): if geometry_element == "Triangle": if (dimension == 2): model_part.CreateNewElement("UpdatedLagrangian2D3N", 1, [1,2,3], model_part.GetProperties()[1]) if (dimension == 3): model_part.CreateNewElement("UpdatedLagrangian3D4N", 1, [1,2,3,4], model_part.GetProperties()[1]) elif geometry_element == "Quadrilateral": if (dimension == 2): model_part.CreateNewElement("UpdatedLagrangian2D4N", 1, [1,2,3,4], model_part.GetProperties()[1]) if (dimension == 3): model_part.CreateNewElement("UpdatedLagrangian3D8N", 1, [1,2,3,4,5,6,7,8], model_part.GetProperties()[1]) def _create_background_elements(self, model_part, dimension, geometry_element, is_structured): self._create_elements(model_part, dimension, geometry_element) if geometry_element == "Triangle": if (dimension == 2): model_part.CreateNewElement("UpdatedLagrangian2D3N", 2, [2,3,5], model_part.GetProperties()[1]) if (dimension == 3): if (is_structured): model_part.CreateNewElement("UpdatedLagrangian3D4N", 2, [2,8,4,6], model_part.GetProperties()[1]) model_part.CreateNewElement("UpdatedLagrangian3D4N", 3, [4,8,3,7], model_part.GetProperties()[1]) model_part.CreateNewElement("UpdatedLagrangian3D4N", 4, [2,5,3,8], model_part.GetProperties()[1]) model_part.CreateNewElement("UpdatedLagrangian3D4N", 5, [8,3,2,4], model_part.GetProperties()[1]) else: model_part.CreateNewElement("UpdatedLagrangian3D4N", 2, [2,3,5,4], model_part.GetProperties()[1]) elif geometry_element == "Quadrilateral": if (dimension == 2): model_part.CreateNewElement("UpdatedLagrangian2D4N", 2, [2,9,10,3], model_part.GetProperties()[1]) if (dimension == 3): model_part.CreateNewElement("UpdatedLagrangian3D8N", 2, [2,9,10,3,6,11,12,7], model_part.GetProperties()[1]) def _move_and_search_element(self, current_model, new_coordinate, max_num_results = 1000, specific_tolerance = 1.e-5): # Get model part material_point_model_part = current_model.GetModelPart("dummy_name") grid_model_part = current_model.GetModelPart("Background_Grid") # Apply before search for mpm in material_point_model_part.Elements: mpm.SetValue(KratosParticle.MP_COORD, new_coordinate) # Search element KratosParticle.SearchElement(grid_model_part, material_point_model_part, max_num_results, specific_tolerance) def _check_connectivity(self, current_model, expected_connectivity_node=[]): # Get model part material_point_model_part = current_model.GetModelPart("dummy_name") grid_model_part = current_model.GetModelPart("Background_Grid") # Check the searched node as expected connectivity if not expected_connectivity_node: for mpm in material_point_model_part.Elements: self.assertEqual(mpm.GetNodes(), []) else: for mpm in material_point_model_part.Elements: for i in range (len(expected_connectivity_node)): self.assertEqual(mpm.GetNode(i).Id, grid_model_part.GetNode(expected_connectivity_node[i]).Id) self.assertEqual(mpm.GetNode(i).X, grid_model_part.GetNode(expected_connectivity_node[i]).X) self.assertEqual(mpm.GetNode(i).Y, grid_model_part.GetNode(expected_connectivity_node[i]).Y) self.assertEqual(mpm.GetNode(i).Z, grid_model_part.GetNode(expected_connectivity_node[i]).Z) def test_SearchMPMParticleTriangle2DStructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Triangle", is_structured=True) new_coordinate = [0.5, 0.5, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3]) new_coordinate = [0.50001, 0.50001, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,3,5]) new_coordinate = [1.00001, 1.00001, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleTriangle3DStructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Triangle", is_structured=True) new_coordinate = [0.5, 0.25, 0.20] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [0.90, 0.55, 0.90] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,8,4,6]) new_coordinate = [0.10, 0.90, 0.55] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [4,8,3,7]) new_coordinate = [0.90, 0.90, 0.55] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,5,3,8]) new_coordinate = [0.50, 0.50, 0.50] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [8,3,2,4]) new_coordinate = [1.0001, 1.0001, 1.0001] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral2DStructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Quadrilateral", is_structured=True) new_coordinate = [-0.11111, 0.12345, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [0.6, 0.12345, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3]) new_coordinate = [1.00001, 1.00001, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral3DStructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Quadrilateral", is_structured=True) new_coordinate = [0.5, 0.25, 0.20] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4,5,6,7,8]) new_coordinate = [0.7, 0.35, 0.3] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3,6,11,12,7]) new_coordinate = [0.50001, 0.50001, 0.50001] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleTriangle2DUnstructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Triangle", is_structured=False) new_coordinate = [1.31967, 1.85246, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3]) new_coordinate = [1.72951, 0.491803, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,3,5]) new_coordinate = [3.00001, 3.00001, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleTriangle3DUnstructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Triangle", is_structured=False) new_coordinate = [1.31967, 1.85246, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [1.72951, 0.491803, 0.1] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,3,5,4]) new_coordinate = [3.00001, 3.00001, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral2DUnstructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Quadrilateral", is_structured=False) new_coordinate = [-0.11111, 0.12345, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [0.6, 0.12345, 1.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3]) new_coordinate = [1.00001, 1.00001, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral3DUnstructured(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Quadrilateral", is_structured=False) new_coordinate = [0.5, 0.25, 0.20] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4,5,6,7,8]) new_coordinate = [0.7, 0.35, 0.3] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3,6,11,12,7]) new_coordinate = [0.70001, 0.20001, 1.20001] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleTriangle2DUnstructuredFine(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Triangle", is_structured=False, is_fine=True) new_coordinate = [1.31967e-7, 1.85246e-7, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3]) new_coordinate = [1.72951e-7, 0.491803e-7, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,3,5]) new_coordinate = [3.00001e-7, 3.00001e-7, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleTriangle3DUnstructuredFine(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Triangle", is_structured=False, is_fine=True) new_coordinate = [1.31967e-7, 1.85246e-7, 1.0e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [1.72951e-7, 0.491803e-7, 0.1e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,3,5,4]) new_coordinate = [3.00001e-7, 3.00001e-7, 1.0e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral2DUnstructuredFine(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=2, geometry_element="Quadrilateral", is_structured=False, is_fine=True) new_coordinate = [-0.11111e-7, 0.12345e-7, 1.0e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4]) new_coordinate = [0.6e-7, 0.12345e-7, 1.0e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3]) new_coordinate = [1.00001e-7, 1.00001e-7, 0.0] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) def test_SearchMPMParticleQuadrilateral3DUnstructuredFine(self): current_model = KratosMultiphysics.Model() self._generate_particle_element(current_model, dimension=3, geometry_element="Quadrilateral", is_structured=False, is_fine=True) new_coordinate = [0.5e-7, 0.25e-7, 0.20e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [1,2,3,4,5,6,7,8]) new_coordinate = [0.7e-7, 0.35e-7, 0.3e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model, [2,9,10,3,6,11,12,7]) new_coordinate = [0.70001e-7, 0.20001e-7, 1.20001e-7] self._move_and_search_element(current_model, new_coordinate) self._check_connectivity(current_model) if __name__ == '__main__': KratosUnittest.main()
[ 1, 529, 276, 1112, 420, 29958, 29880, 19052, 26970, 29914, 29968, 3605, 359, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 29892, 8380, 29918, 5215, 29892, 8542, 13, 5215, 476, 3605, 359, 15329, 25105, 13, 13, 5215, 476, 3605, 359, 15329, 25105, 29889, 7439, 2512, 6816, 5083, 1199, 4873, 408, 476, 3605, 359, 7439, 2512, 13, 5215, 476, 3605, 359, 15329, 25105, 29889, 29968, 3605, 359, 2525, 27958, 408, 476, 3605, 359, 2525, 27958, 13, 13, 13, 1990, 4321, 7974, 3580, 3580, 7914, 29898, 29968, 3605, 359, 2525, 27958, 29889, 3057, 8259, 1125, 13, 13, 1678, 822, 903, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 1311, 29892, 1857, 29918, 4299, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 4984, 2955, 29892, 338, 29918, 29888, 457, 29922, 8824, 1125, 13, 4706, 476, 3605, 359, 15329, 25105, 29889, 16363, 29889, 2577, 4592, 6466, 2141, 2697, 29903, 1310, 537, 29898, 29968, 3605, 359, 15329, 25105, 29889, 16363, 29889, 29903, 1310, 537, 29889, 29956, 25614, 29897, 13, 13, 4706, 396, 25455, 1904, 760, 13, 4706, 444, 17582, 1904, 760, 5023, 13, 4706, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 353, 1857, 29918, 4299, 29889, 4391, 3195, 7439, 703, 29881, 11770, 29918, 978, 1159, 13, 4706, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29889, 7032, 3401, 29889, 2697, 1917, 29898, 29968, 3605, 359, 15329, 25105, 29889, 3970, 29032, 29918, 14226, 29892, 9927, 29897, 13, 13, 4706, 444, 17250, 5518, 1904, 760, 5023, 13, 4706, 2847, 29918, 4467, 29882, 29918, 4299, 29918, 1595, 353, 1857, 29918, 4299, 29889, 4391, 3195, 7439, 703, 15514, 29918, 29881, 11770, 29918, 978, 1159, 13, 4706, 2847, 29918, 4467, 29882, 29918, 4299, 29918, 1595, 29889, 7032, 3401, 29889, 2697, 1917, 29898, 29968, 3605, 359, 15329, 25105, 29889, 3970, 29032, 29918, 14226, 29892, 9927, 29897, 13, 13, 4706, 444, 11657, 1904, 760, 5023, 13, 4706, 6856, 29918, 4299, 29918, 1595, 353, 1857, 29918, 4299, 29889, 4391, 3195, 7439, 703, 10581, 29918, 5756, 1159, 13, 4706, 6856, 29918, 4299, 29918, 1595, 29889, 7032, 3401, 29889, 2697, 1917, 29898, 29968, 3605, 359, 15329, 25105, 29889, 3970, 29032, 29918, 14226, 29892, 9927, 29897, 13, 13, 4706, 396, 6204, 16585, 11657, 13, 4706, 1014, 29918, 7042, 353, 6856, 29918, 4299, 29918, 1595, 29889, 4391, 4035, 3195, 7439, 703, 1688, 1159, 13, 4706, 565, 338, 29918, 4984, 2955, 29901, 13, 9651, 1583, 3032, 3258, 29918, 7042, 29918, 18010, 29918, 4984, 2955, 29898, 1491, 29918, 7042, 29892, 9927, 29892, 16303, 29918, 5029, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 3032, 3258, 29918, 7042, 29918, 18010, 29918, 348, 4984, 2955, 29898, 1491, 29918, 7042, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 29888, 457, 29897, 13, 13, 4706, 1583, 3032, 3258, 29918, 7042, 29918, 17664, 29898, 1491, 29918, 7042, 29892, 6229, 2673, 29892, 16303, 29918, 5029, 29892, 338, 29918, 4984, 2955, 29897, 13, 13, 4706, 396, 6204, 1543, 322, 7573, 13, 4706, 1014, 29918, 1526, 353, 2847, 29918, 4467, 29882, 29918, 4299, 29918, 1595, 29889, 4391, 4035, 3195, 7439, 703, 1688, 1159, 13, 4706, 1014, 29918, 1526, 29889, 2577, 11857, 580, 29961, 29896, 1822, 2697, 1917, 29898, 29968, 3605, 359, 7439, 2512, 29889, 26092, 2965, 17101, 29918, 13171, 29918, 29923, 1307, 13780, 29892, 29871, 29896, 29897, 13, 4706, 565, 338, 29918, 4984, 2955, 29901, 13, 9651, 1583, 3032, 3258, 29918, 18010, 29918, 4984, 2955, 29898, 1491, 29918, 1526, 29892, 9927, 29892, 16303, 29918, 5029, 29897, 13, 4706, 1683, 29901, 13, 9651, 1583, 3032, 3258, 29918, 18010, 29918, 348, 4984, 2955, 29898, 1491, 29918, 1526, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 29888, 457, 29897, 13, 13, 4706, 1583, 3032, 3258, 29918, 17664, 29898, 1491, 29918, 1526, 29892, 6229, 2673, 29892, 16303, 29918, 5029, 29897, 13, 13, 4706, 396, 3789, 6136, 13, 4706, 476, 3605, 359, 15329, 25105, 29889, 16174, 12177, 2141, 2697, 21979, 29898, 29968, 3605, 359, 15329, 25105, 29889, 17923, 18474, 29892, 5852, 29892, 2847, 29918, 4467, 29882, 29918, 4299, 29918, 1595, 29889, 18868, 29897, 13, 13, 4706, 396, 3251, 403, 16379, 10619, 29879, 13, 4706, 476, 3605, 359, 7439, 2512, 29889, 5631, 403, 24095, 5228, 2642, 29898, 7720, 29918, 4299, 29918, 1595, 29892, 2847, 29918, 4467, 29882, 29918, 4299, 29918, 1595, 29892, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29892, 7700, 29892, 7700, 29897, 13, 13, 13, 1678, 822, 903, 3258, 29918, 18010, 29918, 4984, 2955, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 1125, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29906, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29941, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29946, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29897, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29892, 448, 29900, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29906, 29892, 259, 29900, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29941, 29892, 259, 29900, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29946, 29892, 448, 29900, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29945, 29892, 448, 29900, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29953, 29892, 259, 29900, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29955, 29892, 259, 29900, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29947, 29892, 448, 29900, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 13, 13, 1678, 822, 903, 3258, 29918, 7042, 29918, 18010, 29918, 4984, 2955, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 1125, 13, 4706, 1583, 3032, 3258, 29918, 18010, 29918, 4984, 2955, 29898, 4299, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29897, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29945, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29953, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29955, 29892, 29871, 29900, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29947, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29892, 29871, 29896, 29889, 29900, 29897, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29929, 1919, 29871, 29896, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29900, 29892, 29871, 29896, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29896, 29892, 29871, 29896, 29889, 29945, 29892, 448, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29906, 29892, 29871, 29896, 29889, 29945, 29892, 259, 29900, 29889, 29945, 29892, 29871, 29896, 29889, 29900, 29897, 13, 13, 13, 1678, 822, 903, 3258, 29918, 18010, 29918, 348, 4984, 2955, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 29888, 457, 1125, 13, 4706, 565, 338, 29918, 29888, 457, 29901, 13, 9651, 878, 14999, 29922, 29896, 29889, 29872, 29899, 29955, 13, 4706, 1683, 29901, 13, 9651, 878, 14999, 29922, 29896, 13, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29892, 29871, 29900, 29889, 29929, 29930, 1545, 14999, 29892, 29871, 29906, 29889, 29929, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29906, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29941, 29892, 29871, 29906, 29889, 29929, 29930, 1545, 14999, 29892, 29871, 29906, 29889, 29946, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29946, 29892, 29871, 29900, 29889, 29945, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29945, 29930, 1545, 14999, 29892, 29871, 29896, 29889, 29945, 29930, 1545, 14999, 29897, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29892, 448, 29900, 29889, 29955, 29941, 29946, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29953, 29906, 29896, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29906, 29892, 259, 29900, 29889, 29946, 29929, 29955, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29946, 29941, 29906, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29941, 29892, 259, 29900, 29889, 29945, 29947, 29955, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29946, 29900, 29906, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29946, 29892, 448, 29900, 29889, 29947, 29900, 29929, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29945, 29906, 29906, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29945, 29892, 448, 29900, 29889, 29953, 29906, 29896, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29955, 29941, 29946, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29929, 29941, 29930, 1545, 14999, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29953, 29892, 259, 29900, 29889, 29946, 29941, 29906, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29946, 29929, 29955, 29930, 1545, 14999, 29892, 29871, 29896, 29889, 29896, 29896, 29930, 1545, 14999, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29955, 29892, 259, 29900, 29889, 29946, 29900, 29906, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29945, 29947, 29955, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29947, 29929, 29930, 1545, 14999, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29947, 29892, 448, 29900, 29889, 29945, 29906, 29906, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29947, 29900, 29929, 29930, 1545, 14999, 29892, 29871, 29896, 29889, 29906, 29896, 29930, 1545, 14999, 29897, 13, 13, 13, 1678, 822, 903, 3258, 29918, 7042, 29918, 18010, 29918, 348, 4984, 2955, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 29888, 457, 1125, 13, 4706, 1583, 3032, 3258, 29918, 18010, 29918, 348, 4984, 2955, 29898, 4299, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 29888, 457, 29897, 13, 13, 4706, 565, 338, 29918, 29888, 457, 29901, 13, 9651, 878, 14999, 29922, 29896, 29889, 29872, 29899, 29955, 13, 4706, 1683, 29901, 13, 9651, 878, 14999, 29922, 29896, 13, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29945, 29892, 29871, 29906, 29889, 29896, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29896, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29929, 29892, 259, 29896, 29889, 29941, 29946, 29941, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29946, 29945, 29896, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29900, 29892, 29871, 29896, 29889, 29945, 29896, 29906, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29941, 29929, 29906, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29900, 29930, 1545, 14999, 29897, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29896, 29892, 29871, 29896, 29889, 29955, 29946, 29906, 29930, 1545, 14999, 29892, 448, 29900, 29889, 29953, 29906, 29900, 29930, 1545, 14999, 29892, 29871, 29900, 29889, 29929, 29929, 29929, 29930, 1545, 14999, 29897, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 4247, 29898, 29896, 29906, 29892, 29871, 29896, 29889, 29945, 29906, 29900, 29930, 1545, 14999, 29892, 259, 29900, 29889, 29953, 29955, 29896, 29930, 1545, 14999, 29892, 29871, 29896, 29889, 29896, 29906, 29900, 29930, 1545, 14999, 29897, 13, 13, 13, 1678, 822, 903, 3258, 29918, 17664, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 1125, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29906, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29906, 29928, 29941, 29940, 613, 29871, 29896, 29892, 518, 29896, 29892, 29906, 29892, 29941, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29896, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29906, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29906, 29928, 29946, 29940, 613, 29871, 29896, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29947, 29940, 613, 29871, 29896, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 29892, 29945, 29892, 29953, 29892, 29955, 29892, 29947, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 13, 13, 1678, 822, 903, 3258, 29918, 7042, 29918, 17664, 29898, 1311, 29892, 1904, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29892, 338, 29918, 4984, 2955, 1125, 13, 4706, 1583, 3032, 3258, 29918, 17664, 29898, 4299, 29918, 1595, 29892, 9927, 29892, 16303, 29918, 5029, 29897, 13, 4706, 565, 16303, 29918, 5029, 1275, 376, 29565, 2521, 1115, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29906, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29906, 29928, 29941, 29940, 613, 29871, 29906, 29892, 518, 29906, 29892, 29941, 29892, 29945, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 565, 313, 275, 29918, 4984, 2955, 1125, 13, 462, 1678, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29906, 29892, 518, 29906, 29892, 29947, 29892, 29946, 29892, 29953, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 462, 1678, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29941, 29892, 518, 29946, 29892, 29947, 29892, 29941, 29892, 29955, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 462, 1678, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29946, 29892, 518, 29906, 29892, 29945, 29892, 29941, 29892, 29947, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 462, 1678, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29945, 29892, 518, 29947, 29892, 29941, 29892, 29906, 29892, 29946, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 18884, 1683, 29901, 13, 462, 1678, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29946, 29940, 613, 29871, 29906, 29892, 518, 29906, 29892, 29941, 29892, 29945, 29892, 29946, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 4706, 25342, 16303, 29918, 5029, 1275, 376, 2182, 328, 4115, 1008, 284, 1115, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29906, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29906, 29928, 29946, 29940, 613, 29871, 29906, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 9651, 565, 313, 6229, 2673, 1275, 29871, 29941, 1125, 13, 18884, 1904, 29918, 1595, 29889, 4391, 4373, 2642, 703, 29248, 29931, 10312, 574, 713, 29941, 29928, 29947, 29940, 613, 29871, 29906, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 29892, 29953, 29892, 29896, 29896, 29892, 29896, 29906, 29892, 29955, 1402, 1904, 29918, 1595, 29889, 2577, 11857, 580, 29961, 29896, 2314, 13, 13, 13, 1678, 822, 903, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 1311, 29892, 1857, 29918, 4299, 29892, 716, 29918, 29302, 29892, 4236, 29918, 1949, 29918, 9902, 353, 29871, 29896, 29900, 29900, 29900, 29892, 2702, 29918, 25027, 261, 749, 353, 29871, 29896, 29889, 29872, 29899, 29945, 1125, 13, 4706, 396, 3617, 1904, 760, 13, 4706, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 353, 1857, 29918, 4299, 29889, 2577, 3195, 7439, 703, 29881, 11770, 29918, 978, 1159, 13, 4706, 6856, 29918, 4299, 29918, 1595, 965, 353, 1857, 29918, 4299, 29889, 2577, 3195, 7439, 703, 10581, 29918, 5756, 1159, 13, 13, 4706, 396, 2401, 368, 29871, 1434, 2740, 13, 4706, 363, 286, 3358, 297, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29889, 18868, 29901, 13, 9651, 286, 3358, 29889, 2697, 1917, 29898, 29968, 3605, 359, 7439, 2512, 29889, 3580, 29918, 3217, 25593, 29892, 716, 29918, 29302, 29897, 13, 13, 4706, 396, 11856, 1543, 13, 4706, 476, 3605, 359, 7439, 2512, 29889, 7974, 2642, 29898, 7720, 29918, 4299, 29918, 1595, 29892, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29892, 4236, 29918, 1949, 29918, 9902, 29892, 2702, 29918, 25027, 261, 749, 29897, 13, 13, 1678, 822, 903, 3198, 29918, 6915, 2068, 29898, 1311, 29892, 1857, 29918, 4299, 29892, 3806, 29918, 6915, 2068, 29918, 3177, 29922, 2636, 1125, 13, 4706, 396, 3617, 1904, 760, 13, 4706, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 353, 1857, 29918, 4299, 29889, 2577, 3195, 7439, 703, 29881, 11770, 29918, 978, 1159, 13, 4706, 6856, 29918, 4299, 29918, 1595, 965, 353, 1857, 29918, 4299, 29889, 2577, 3195, 7439, 703, 10581, 29918, 5756, 1159, 13, 13, 4706, 396, 5399, 278, 17371, 2943, 408, 3806, 4511, 2068, 13, 4706, 565, 451, 3806, 29918, 6915, 2068, 29918, 3177, 29901, 13, 9651, 363, 286, 3358, 297, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29889, 18868, 29901, 13, 18884, 1583, 29889, 9294, 9843, 29898, 1526, 29885, 29889, 2577, 20284, 3285, 518, 2314, 13, 4706, 1683, 29901, 13, 9651, 363, 286, 3358, 297, 5518, 29918, 3149, 29918, 4299, 29918, 1595, 29889, 18868, 29901, 13, 18884, 363, 474, 297, 3464, 313, 2435, 29898, 9684, 29918, 6915, 2068, 29918, 3177, 22164, 13, 462, 1678, 1583, 29889, 9294, 9843, 29898, 1526, 29885, 29889, 2577, 4247, 29898, 29875, 467, 1204, 29892, 6856, 29918, 4299, 29918, 1595, 29889, 2577, 4247, 29898, 9684, 29918, 6915, 2068, 29918, 3177, 29961, 29875, 14664, 1204, 29897, 13, 462, 1678, 1583, 29889, 9294, 9843, 29898, 1526, 29885, 29889, 2577, 4247, 29898, 29875, 467, 29990, 29892, 6856, 29918, 4299, 29918, 1595, 29889, 2577, 4247, 29898, 9684, 29918, 6915, 2068, 29918, 3177, 29961, 29875, 14664, 29990, 29897, 13, 462, 1678, 1583, 29889, 9294, 9843, 29898, 1526, 29885, 29889, 2577, 4247, 29898, 29875, 467, 29979, 29892, 6856, 29918, 4299, 29918, 1595, 29889, 2577, 4247, 29898, 9684, 29918, 6915, 2068, 29918, 3177, 29961, 29875, 14664, 29979, 29897, 13, 462, 1678, 1583, 29889, 9294, 9843, 29898, 1526, 29885, 29889, 2577, 4247, 29898, 29875, 467, 29999, 29892, 6856, 29918, 4299, 29918, 1595, 29889, 2577, 4247, 29898, 9684, 29918, 6915, 2068, 29918, 3177, 29961, 29875, 14664, 29999, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29906, 29928, 19560, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29945, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29941, 29892, 29945, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29941, 29928, 19560, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29906, 29945, 29892, 29871, 29900, 29889, 29906, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29929, 29900, 29892, 29871, 29900, 29889, 29945, 29945, 29892, 29871, 29900, 29889, 29929, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29947, 29892, 29946, 29892, 29953, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29896, 29900, 29892, 29871, 29900, 29889, 29929, 29900, 29892, 29871, 29900, 29889, 29945, 29945, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29946, 29892, 29947, 29892, 29941, 29892, 29955, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29929, 29900, 29892, 29871, 29900, 29889, 29929, 29900, 29892, 29871, 29900, 29889, 29945, 29945, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29945, 29892, 29941, 29892, 29947, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29900, 29892, 29871, 29900, 29889, 29945, 29900, 29892, 29871, 29900, 29889, 29945, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29947, 29892, 29941, 29892, 29906, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29896, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29906, 29928, 19560, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 21069, 29900, 29889, 29896, 29896, 29896, 29896, 29896, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29953, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29941, 29928, 19560, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29906, 29945, 29892, 29871, 29900, 29889, 29906, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 29892, 29945, 29892, 29953, 29892, 29955, 29892, 29947, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29955, 29892, 29871, 29900, 29889, 29941, 29945, 29892, 29871, 29900, 29889, 29941, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 29892, 29953, 29892, 29896, 29896, 29892, 29896, 29906, 29892, 29955, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29945, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29945, 29900, 29900, 29900, 29896, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29906, 29928, 2525, 4984, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 8824, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29941, 29896, 29929, 29953, 29955, 29892, 29871, 29896, 29889, 29947, 29945, 29906, 29946, 29953, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29955, 29906, 29929, 29945, 29896, 29892, 29871, 29900, 29889, 29946, 29929, 29896, 29947, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29941, 29892, 29945, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29941, 29928, 2525, 4984, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 8824, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29941, 29896, 29929, 29953, 29955, 29892, 29871, 29896, 29889, 29947, 29945, 29906, 29946, 29953, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29955, 29906, 29929, 29945, 29896, 29892, 29871, 29900, 29889, 29946, 29929, 29896, 29947, 29900, 29941, 29892, 29871, 29900, 29889, 29896, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29941, 29892, 29945, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29906, 29928, 2525, 4984, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 8824, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 21069, 29900, 29889, 29896, 29896, 29896, 29896, 29896, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29953, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29892, 29871, 29896, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29941, 29928, 2525, 4984, 2955, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 8824, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29892, 29871, 29900, 29889, 29906, 29945, 29892, 29871, 29900, 29889, 29906, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 29892, 29945, 29892, 29953, 29892, 29955, 29892, 29947, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29955, 29892, 29871, 29900, 29889, 29941, 29945, 29892, 29871, 29900, 29889, 29941, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 29892, 29953, 29892, 29896, 29896, 29892, 29896, 29906, 29892, 29955, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29955, 29900, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29906, 29900, 29900, 29900, 29896, 29892, 29871, 29896, 29889, 29906, 29900, 29900, 29900, 29896, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29906, 29928, 2525, 4984, 2955, 29943, 457, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 8824, 29892, 338, 29918, 29888, 457, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29941, 29896, 29929, 29953, 29955, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29947, 29945, 29906, 29946, 29953, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29955, 29906, 29929, 29945, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29946, 29929, 29896, 29947, 29900, 29941, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29941, 29892, 29945, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 29565, 2521, 29941, 29928, 2525, 4984, 2955, 29943, 457, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 29565, 2521, 613, 338, 29918, 4984, 2955, 29922, 8824, 29892, 338, 29918, 29888, 457, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29941, 29896, 29929, 29953, 29955, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29947, 29945, 29906, 29946, 29953, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29900, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29955, 29906, 29929, 29945, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29946, 29929, 29896, 29947, 29900, 29941, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29896, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29941, 29892, 29945, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29941, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29900, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29906, 29928, 2525, 4984, 2955, 29943, 457, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29906, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 8824, 29892, 338, 29918, 29888, 457, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 21069, 29900, 29889, 29896, 29896, 29896, 29896, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29900, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29953, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29896, 29906, 29941, 29946, 29945, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29900, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29900, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29900, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 1678, 822, 1243, 29918, 7974, 3580, 3580, 7914, 2182, 328, 4115, 1008, 284, 29941, 29928, 2525, 4984, 2955, 29943, 457, 29898, 1311, 1125, 13, 4706, 1857, 29918, 4299, 353, 476, 3605, 359, 15329, 25105, 29889, 3195, 580, 13, 4706, 1583, 3032, 17158, 29918, 1595, 2512, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 9927, 29922, 29941, 29892, 16303, 29918, 5029, 543, 2182, 328, 4115, 1008, 284, 613, 338, 29918, 4984, 2955, 29922, 8824, 29892, 338, 29918, 29888, 457, 29922, 5574, 29897, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29945, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29906, 29945, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29906, 29900, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 29892, 29945, 29892, 29953, 29892, 29955, 29892, 29947, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29955, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29941, 29945, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29941, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29892, 518, 29906, 29892, 29929, 29892, 29896, 29900, 29892, 29941, 29892, 29953, 29892, 29896, 29896, 29892, 29896, 29906, 29892, 29955, 2314, 13, 13, 4706, 716, 29918, 29302, 353, 518, 29900, 29889, 29955, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29900, 29889, 29906, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29892, 29871, 29896, 29889, 29906, 29900, 29900, 29900, 29896, 29872, 29899, 29955, 29962, 13, 4706, 1583, 3032, 11631, 29918, 392, 29918, 4478, 29918, 5029, 29898, 3784, 29918, 4299, 29892, 716, 29918, 29302, 29897, 13, 4706, 1583, 3032, 3198, 29918, 6915, 2068, 29898, 3784, 29918, 4299, 29897, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 476, 3605, 359, 2525, 27958, 29889, 3396, 580, 13, 2 ]
Hello.py
pechimuthu369/pythonapp
0
123985
<reponame>pechimuthu369/pythonapp msg="Hello World" print(msg)
[ 1, 529, 276, 1112, 420, 29958, 412, 305, 326, 2806, 29884, 29941, 29953, 29929, 29914, 4691, 932, 13, 7645, 543, 10994, 2787, 29908, 13, 2158, 29898, 7645, 29897, 2 ]
setup.py
vhdeluca/PyStacking
0
51102
from setuptools import setup, find_packages setup(name='pystacking', version='0.1.0', description='Python Machine Learning Stacking Maker', author='<NAME>', author_email='<EMAIL>', license='MIT', packages=find_packages(), python_requires=">=3.5", tests_require=['pytest'])
[ 1, 515, 731, 21245, 8789, 1053, 6230, 29892, 1284, 29918, 8318, 13, 13, 13, 14669, 29898, 978, 2433, 29886, 858, 547, 292, 742, 13, 418, 1873, 2433, 29900, 29889, 29896, 29889, 29900, 742, 13, 418, 6139, 2433, 11980, 6189, 29257, 10292, 292, 341, 5790, 742, 13, 418, 4148, 2433, 29966, 5813, 29958, 742, 13, 418, 4148, 29918, 5269, 2433, 29966, 26862, 6227, 29958, 742, 13, 418, 19405, 2433, 26349, 742, 13, 418, 9741, 29922, 2886, 29918, 8318, 3285, 13, 418, 3017, 29918, 276, 339, 2658, 543, 18572, 29941, 29889, 29945, 613, 13, 418, 6987, 29918, 12277, 29922, 1839, 2272, 1688, 11287, 13, 2 ]
server.py
IT-Department-Projects/HCI-Project
0
137884
from imports import * from utils import * from auth import * """ REST API Call to detect image in a particular picture Argument takes in image with POST Key as 'file' Returns JSON of 'face_exists' and 'number_of_faces' """ @app.route('/image_detection', methods=['GET', 'POST']) def image_detection(): # Check if a valid image file was uploaded if request.method == 'POST': if 'file' not in request.files: return redirect(request.url) file = request.files['file'] if file.filename == '': return redirect(request.url) if file and allowed_file(file.filename): # The image file seems valid! Detect faces and return the result. return detect_faces_in_image(file) # If no valid image file was uploaded, show the file upload form: return ''' <!doctype html> <title>Have you uploaded a picture yet?</title> <h1>Upload a picture and see the number of people in the picture!</h1> <form method="POST" enctype="multipart/form-data"> <input type="file" name="file"> <input type="submit" value="Upload"> </form> ''' """ REST API Call to recognise images in a particular picture Argument takes in image with POST Key as 'file' Returns JSON of 'face_exists' and 'number_of_faces' """ @app.route('/image_recongnition', methods=['GET', 'POST']) def image_recognition(): # Check if a valid image file was uploaded if request.method == 'POST': if 'file' not in request.files: return redirect(request.url) file = request.files['file'] if file.filename == '': return redirect(request.url) if file and allowed_file(file.filename): # The image file seems valid! Detect faces and return the result. return recognise_faces_in_image(file) # If no valid image file was uploaded, show the file upload form: return ''' <!doctype html> <title>Have you uploaded a picture yet?</title> <h1>Upload a picture and see the who all are the people in the picture!</h1> <form method="POST" enctype="multipart/form-data"> <input type="file" name="file"> <input type="submit" value="Upload"> </form> ''' """ REST APT to render the static page index.html """ @app.route('/') @auth.login_required def index(): return render_template('index.html', name='Cycle Project') """ Main method to run the Flask Application """ if __name__ == '__main__': # Set server address 0.0.0.0:5000/ app.run(host="0.0.0.0", port=5000, debug=True)
[ 1, 515, 24802, 1053, 334, 13, 3166, 3667, 29879, 1053, 334, 13, 3166, 4817, 1053, 334, 13, 13, 13, 15945, 29908, 13, 1525, 1254, 3450, 8251, 304, 6459, 1967, 297, 263, 3153, 7623, 13, 15730, 4893, 297, 1967, 411, 11971, 7670, 408, 525, 1445, 29915, 13, 11609, 29879, 4663, 310, 525, 2161, 29918, 9933, 29915, 322, 525, 4537, 29918, 974, 29918, 8726, 29915, 13, 15945, 29908, 13, 29992, 932, 29889, 13134, 11219, 3027, 29918, 29881, 2650, 428, 742, 3519, 29922, 1839, 7194, 742, 525, 5438, 11287, 13, 1753, 1967, 29918, 29881, 2650, 428, 7295, 13, 1678, 396, 5399, 565, 263, 2854, 1967, 934, 471, 20373, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 565, 525, 1445, 29915, 451, 297, 2009, 29889, 5325, 29901, 13, 9651, 736, 6684, 29898, 3827, 29889, 2271, 29897, 13, 13, 4706, 934, 353, 2009, 29889, 5325, 1839, 1445, 2033, 13, 13, 4706, 565, 934, 29889, 9507, 1275, 525, 2396, 13, 9651, 736, 6684, 29898, 3827, 29889, 2271, 29897, 13, 13, 4706, 565, 934, 322, 6068, 29918, 1445, 29898, 1445, 29889, 9507, 1125, 13, 9651, 396, 450, 1967, 934, 2444, 2854, 29991, 5953, 522, 17240, 322, 736, 278, 1121, 29889, 13, 9651, 736, 6459, 29918, 8726, 29918, 262, 29918, 3027, 29898, 1445, 29897, 13, 13, 1678, 396, 960, 694, 2854, 1967, 934, 471, 20373, 29892, 1510, 278, 934, 6441, 883, 29901, 13, 1678, 736, 14550, 13, 1678, 18252, 1867, 312, 668, 3472, 29958, 13, 1678, 529, 3257, 29958, 25559, 366, 20373, 263, 7623, 3447, 29973, 829, 3257, 29958, 13, 1678, 529, 29882, 29896, 29958, 17553, 263, 7623, 322, 1074, 278, 1353, 310, 2305, 297, 278, 7623, 29991, 829, 29882, 29896, 29958, 13, 1678, 529, 689, 1158, 543, 5438, 29908, 427, 312, 668, 543, 18056, 442, 29914, 689, 29899, 1272, 1013, 13, 418, 529, 2080, 1134, 543, 1445, 29908, 1024, 543, 1445, 1013, 13, 418, 529, 2080, 1134, 543, 7892, 29908, 995, 543, 17553, 1013, 13, 1678, 1533, 689, 29958, 13, 1678, 14550, 13, 13, 15945, 29908, 13, 1525, 1254, 3450, 8251, 304, 5936, 895, 4558, 297, 263, 3153, 7623, 13, 15730, 4893, 297, 1967, 411, 11971, 7670, 408, 525, 1445, 29915, 13, 11609, 29879, 4663, 310, 525, 2161, 29918, 9933, 29915, 322, 525, 4537, 29918, 974, 29918, 8726, 29915, 13, 15945, 29908, 13, 29992, 932, 29889, 13134, 11219, 3027, 29918, 276, 535, 5138, 654, 742, 3519, 29922, 1839, 7194, 742, 525, 5438, 11287, 13, 1753, 1967, 29918, 29423, 654, 7295, 13, 1678, 396, 5399, 565, 263, 2854, 1967, 934, 471, 20373, 13, 1678, 565, 2009, 29889, 5696, 1275, 525, 5438, 2396, 13, 4706, 565, 525, 1445, 29915, 451, 297, 2009, 29889, 5325, 29901, 13, 9651, 736, 6684, 29898, 3827, 29889, 2271, 29897, 13, 13, 4706, 934, 353, 2009, 29889, 5325, 1839, 1445, 2033, 13, 13, 4706, 565, 934, 29889, 9507, 1275, 525, 2396, 13, 9651, 736, 6684, 29898, 3827, 29889, 2271, 29897, 13, 13, 4706, 565, 934, 322, 6068, 29918, 1445, 29898, 1445, 29889, 9507, 1125, 13, 9651, 396, 450, 1967, 934, 2444, 2854, 29991, 5953, 522, 17240, 322, 736, 278, 1121, 29889, 13, 9651, 736, 5936, 895, 29918, 8726, 29918, 262, 29918, 3027, 29898, 1445, 29897, 13, 13, 1678, 396, 960, 694, 2854, 1967, 934, 471, 20373, 29892, 1510, 278, 934, 6441, 883, 29901, 13, 1678, 736, 14550, 13, 1678, 18252, 1867, 312, 668, 3472, 29958, 13, 1678, 529, 3257, 29958, 25559, 366, 20373, 263, 7623, 3447, 29973, 829, 3257, 29958, 13, 1678, 529, 29882, 29896, 29958, 17553, 263, 7623, 322, 1074, 278, 1058, 599, 526, 278, 2305, 297, 278, 7623, 29991, 829, 29882, 29896, 29958, 13, 1678, 529, 689, 1158, 543, 5438, 29908, 427, 312, 668, 543, 18056, 442, 29914, 689, 29899, 1272, 1013, 13, 418, 529, 2080, 1134, 543, 1445, 29908, 1024, 543, 1445, 1013, 13, 418, 529, 2080, 1134, 543, 7892, 29908, 995, 543, 17553, 1013, 13, 1678, 1533, 689, 29958, 13, 1678, 14550, 13, 13, 13, 15945, 29908, 13, 1525, 1254, 319, 7982, 304, 4050, 278, 2294, 1813, 2380, 29889, 1420, 13, 15945, 29908, 13, 29992, 932, 29889, 13134, 11219, 1495, 13, 29992, 5150, 29889, 7507, 29918, 12403, 13, 1753, 2380, 7295, 13, 1678, 736, 4050, 29918, 6886, 877, 2248, 29889, 1420, 742, 1024, 2433, 29907, 13317, 8010, 1495, 13, 13, 15945, 29908, 13, 6330, 1158, 304, 1065, 278, 2379, 1278, 8427, 13, 15945, 29908, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 396, 3789, 1923, 3211, 29871, 29900, 29889, 29900, 29889, 29900, 29889, 29900, 29901, 29945, 29900, 29900, 29900, 29914, 13, 1678, 623, 29889, 3389, 29898, 3069, 543, 29900, 29889, 29900, 29889, 29900, 29889, 29900, 613, 2011, 29922, 29945, 29900, 29900, 29900, 29892, 4744, 29922, 5574, 29897, 2 ]
logger.py
bekaaa/xgboost_tuner
0
2880
<reponame>bekaaa/xgboost_tuner<gh_stars>0 #! /usr/bin/env python import logging #--------------------------------------- class logger : ''' A ready to use logging class. All you need to do is set an object with the parameters (log_filename, directory to save it) then whenever you want to add text, type obj.add("some text"). The function obj.close() is not important, I just added it for coverage. You can edit any of the below configuration to whatever you like. ''' def __init__(self, filename, log_dir='../data/log'): self.log = None self.handler = None LOG_PATH = log_dir assert type(filename) == str or filename != '' self.logger = logging.getLogger(); self.logger.setLevel(logging.INFO) filename = LOG_PATH + str(filename) self.handler = logging.FileHandler(filename) self.handler.setLevel(logging.INFO) formatter = logging.Formatter( fmt='%(asctime)s : %(message)s', datefmt='%d-%m %H:%M' ) self.handler.setFormatter(formatter) self.logger.addHandler(self.handler) return #------------------------------------ def add(self, message): assert type(message) == str self.logger.info(message); return #------------------------------------ def close(self): self.logger.removeHandler(self.handler) return #----------------------------------------
[ 1, 529, 276, 1112, 420, 29958, 915, 1335, 7340, 29914, 29916, 29887, 17079, 29918, 29873, 348, 261, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 13, 5215, 12183, 13, 13, 29937, 2683, 2683, 26589, 13, 1990, 17927, 584, 13, 12, 12008, 13, 12, 29909, 7960, 304, 671, 12183, 770, 29889, 13, 12, 3596, 366, 817, 304, 437, 338, 731, 385, 1203, 411, 278, 4128, 313, 1188, 29918, 9507, 29892, 3884, 304, 4078, 372, 29897, 13, 12, 6098, 10940, 366, 864, 304, 788, 1426, 29892, 1134, 5446, 29889, 1202, 703, 5372, 1426, 2564, 13, 12, 1576, 740, 5446, 29889, 5358, 580, 338, 451, 4100, 29892, 306, 925, 2715, 372, 363, 23746, 29889, 13, 12, 3492, 508, 3863, 738, 310, 278, 2400, 5285, 304, 6514, 366, 763, 29889, 13, 12, 12008, 13, 12, 1753, 4770, 2344, 12035, 1311, 29892, 10422, 29892, 1480, 29918, 3972, 2433, 6995, 1272, 29914, 1188, 29374, 13, 12, 12, 1311, 29889, 1188, 353, 6213, 13, 12, 12, 1311, 29889, 13789, 353, 6213, 13, 12, 12, 14480, 29918, 10145, 353, 1480, 29918, 3972, 13, 12, 12, 9294, 1134, 29898, 9507, 29897, 1275, 851, 470, 10422, 2804, 6629, 13, 12, 12, 1311, 29889, 21707, 353, 12183, 29889, 657, 16363, 890, 13, 12, 12, 1311, 29889, 21707, 29889, 842, 10108, 29898, 21027, 29889, 11690, 29897, 13, 12, 12, 9507, 353, 25401, 29918, 10145, 718, 851, 29898, 9507, 29897, 13, 12, 12, 1311, 29889, 13789, 353, 12183, 29889, 2283, 4598, 29898, 9507, 29897, 13, 12, 12, 1311, 29889, 13789, 29889, 842, 10108, 29898, 21027, 29889, 11690, 29897, 13, 12, 12, 689, 2620, 353, 12183, 29889, 18522, 29898, 13, 12, 12, 12, 23479, 2433, 29995, 29898, 294, 312, 603, 29897, 29879, 584, 1273, 29898, 4906, 29897, 29879, 742, 13, 12, 12, 12, 1256, 23479, 2433, 29995, 29881, 19222, 29885, 1273, 29950, 16664, 29924, 29915, 13, 12, 12, 12, 29897, 13, 12, 12, 1311, 29889, 13789, 29889, 842, 18522, 29898, 689, 2620, 29897, 13, 12, 12, 1311, 29889, 21707, 29889, 1202, 4598, 29898, 1311, 29889, 13789, 29897, 13, 12, 12, 2457, 13, 12, 29937, 2683, 2683, 807, 13, 12, 1753, 788, 29898, 1311, 29892, 2643, 1125, 13, 12, 12, 9294, 1134, 29898, 4906, 29897, 1275, 851, 13, 12, 12, 1311, 29889, 21707, 29889, 3888, 29898, 4906, 416, 13, 12, 12, 2457, 13, 12, 29937, 2683, 2683, 807, 13, 12, 1753, 3802, 29898, 1311, 1125, 13, 12, 12, 1311, 29889, 21707, 29889, 5992, 4598, 29898, 1311, 29889, 13789, 29897, 13, 12, 12, 2457, 13, 12, 29937, 2683, 2683, 1378, 13, 2 ]
app/Http/python/DNVGLRPF103/DNVGLRPF103.py
asavadorndeja/sttools
0
41610
#!/usr/bin/python; import sys import ast import json import math as m import numpy as np # from scipy.interpolate import interp1d # from scipy.optimize import fsolve # Version Controller sTitle = 'DNVGL RP F103 Cathodic protection of submarine pipelines' sVersion = 'Version 1.0.0' # Define constants pi = m.pi e = m.e precision = 2 fFormat = "{:.{}f}" separate = "--------------------" Table62 = np.array([ [25, 0.050, 0.020], [50, 0.060, 0.030], [80, 0.075, 0.040], [120, 0.100, 0.060], [200, 0.130, 0.080], ]) Table63 = np.array([ ['Al-Zn-In', 30, -1.050, 2000, -1.000, 1500], ['Al-Zn-In', 60, -1.050, 1500, -1.000, 680], ['Al-Zn-In', 80, -1.000, 720, -1.000, 320], ['Zn', 30, -1.030, 780, -0.980, 750], ['Zn', 50, -1.050, 2000, -0.750, 580], ]) TableA1 = np.array([ ['Glass fibre reincored alphat enamel', True, 70, 0.01, 0.0003], ['FBE', True, 90, 0.030, 0.0003], ['FBE', False, 90, 0.030, 0.0010], ['3-layer FBE/PE', True, 80, 0.001, 0.00003], ['3-layer FBE/PE', False, 80, 0.001, 0.00003], ['3-layer FBE/PP', True, 110, 0.001, 0.00003], ['3-layer FBE/PP', False, 80, 0.001, 0.00003], ['FBE/PP Thermally insulating coating', False, 140, 0.0003, 0.00001], ['FBE/PU Thermally insulating coating', False, 70, 0.01, 0.003], ['Polychloroprene', False, 90, 0.01, 0.001], ]) TableA2 = np.array([ ['none', '4E(1) moulded PU on top bare steel (with primer)', 70, 0.30, 0.030], ['1D Adhesive Tape or 2A(1)/2A-(2) HSS (PE/PP backing) with mastic adhesive', '4E(2) moulded PU on top 1D or 2A(1)/2A(2)', 70, 0.10, 0.010], ['2B(1) HSS (backing + adhesive in PE with LE primer)', 'none', 70, 0.03, 0.003], ['2B(1) HSS (backing + adhesive in PE with LE primer)', '4E(2) moulded PU on 0.03 0.003 top 2B(1)', 70, 0.03, 0.003], ['2C (1) HSS (backing + adhesive in PP, LE primer)', 'none', 110, 0.03, 0.003], ['2C (1) HSS (backing + adhesive in PP, LE primer)', '4E(2) moulded PU on top 2B(1)', 110, 0.03, 0.003], ['3A FBE', 'none', 90, 0.10, 0.010], ['3A FBE', '4E(2) moulded PU on top', 90, 0.03, 0.003], ['2B(2) FBE with PE HSS', 'none', 70, 0.01, 0.0003], ['2B(2) FBE with PE HSS', '4E(2) moulded PU on top FBE + PE HSS', 70, 0.01, 0.0003], ['5D(1) and 5E FBE with PE applied as flame spraying or tape, respectively', 'none', 70, 0.01, 0.0003], ['2C(2) FBE with PP HSS', 'none', 140, 0.01, 0.0003], ['5A/B/C(1) FBE, PP adhesive and PP (wrapped, flame sprayed or moulded)', 'none', 140, 0.01, 0.0003], ['NA', '5C(1) Moulded PE on top FBE with PE adhesive', 70, 0.01, 0.0003], ['NA', '5C(2) Moulded PP on top FBE with PP adhesive', 140, 0.01, 0.0003], ['8A polychloroprene', 'none', 90, 0.03, 0.001], ]) # This function final mean current demand, M, in accodance with Eq. 3 of [1] def Icf(Ac, fcf, icm, k): Icf = Ac*fcf*icm*k return Icf; def fcf(a, b, t): fcf = a + b*tf return fcf; # This function return required anode mass, M, in accodance with Eq.5 of [1] def M(Icm, tf, u, e): M = (Icm*tf*8760)/(u*e) return M; def DNVGLRPF113(D, lPL, lFJ, tAmb, tAno, tf, rhoSea, aGap, aThk, aDen, aMat, coatLP, coatFJ, nJoints, burial, u=0.8): k = 1.0 EA0 = -0.85 # determine mean current demand from Table 6-2 of [1] icm = [x for x in Table62 if x[0] > tAmb][0][burial] # print(icm) if aMat == False: aMaterial = 'Al-Zn-In' else: aMaterial = 'Zn' # determine anode properties from Table 6-3 of [1] anode = [x for x in Table63 if (x[0] == aMaterial and float(x[1]) >= float(tAno)) ][0] if burial == 1: EC0 = float(anode[2]) e = float(anode[3]) else: EC0 = float(anode[4]) e = float(anode[5]) # print(anode) # print(EC0) # print(e) # determine coating breakdown factor from Table A-1 of [1] coatingPL = TableA1[coatLP] aPL = float(coatingPL[3]) bPL = float(coatingPL[4]) # print(coatingPL) # print(aPL) # print(bPL) # determine field joint coating breakdown factor from Table A-2 of [1] coatingFJ = TableA2[coatFJ] aFJ = float(coatingFJ[3]) bFJ = float(coatingFJ[4]) # print(coatingFJ) # print(aFJ) # print(bFJ) # determine coating area Acl = pi*D*(lPL)*nJoints AclPL = pi*D*(lPL-2*lFJ)*nJoints AclFJ = pi*D*(2*lFJ)*nJoints # print(AclPL) # print(AclFJ) # print(Acl) #determine mean coating breakdown factor, Eq 2 of [1] fcmPL = aPL + 0.5*bPL*tf fcmFJ = aFJ + 0.5*bFJ*tf # print(fcmPL) # print(fcmFJ) #determine mean current demand, Eq 1 of [1] IcmPL = AclPL*fcmPL*icm*k IcmFJ = AclFJ*fcmFJ*icm*k Icm = IcmPL + IcmFJ # print(IcmPL) # print(IcmFJ) # print(Icm) #determine final coating breakdown factor, Eq 4 of [1] fcfPL = aPL + bPL*tf fcfFJ = aFJ + bFJ*tf # print(fcfPL) # print(fcfFJ) #determine final coating breakdown factor, Eq 3 of [1] IcfPL = AclPL*fcfPL*icm*k IcfFJ = AclFJ*fcfFJ*icm*k Icf = IcfPL + IcfFJ # print(IcfPL) # print(IcfFJ) # print(Icf) #determine minimun required anode mass, Eq. 5 of [1] reqM = (Icm*tf*8760)/(0.80*e) reqV = reqM/aDen # print('required anode mass',reqM) # print('required anode volume', reqV) unitV = (0.25*pi*((D + 2*aThk)**2) - 0.25*pi*(D**2) - 2*aGap*aThk) massLength = reqV/unitV # print('required anode length by mass', massLength) deltaE = EC0 - EA0 reqA = (0.315*rhoSea*Icf/deltaE)**2 unitA = pi*(D+2*(1-u)*aThk) - 2*aGap areaLength = reqA/unitA # print('required anode length by area', areaLength) input = [D, lPL, lFJ, tAmb, tAno, tf, rhoSea, aGap, aThk, aDen, aMat, coatLP, coatFJ, nJoints, burial] # output = [icm, anode, coatingPL, coatingFJ, reqM, reqV, massLength, areaLength] output = [icm, reqM, reqA, massLength, areaLength] report = [] resultRaw = [input, output, report] inputJson = { 'Outer diameter, m':D, 'Length of pipeline, m':lPL, 'Length of field joint':lFJ, 'Ambient temperature, degC':tAmb, 'Design life, year':tf, 'Seawater density, kg/cu.m':rhoSea, } outPutJson = { 'No of joints, N:':nJoints, 'Mean current demand, A/Sq.m.': fFormat.format(icm, precision ), 'Min. required anode mass, kg':fFormat.format(reqM, precision ), 'Min. required surface area, Sq.m':fFormat.format(reqA, precision ), 'Min. required length by anode mass, m':fFormat.format(massLength, precision ), 'Min. required length by anode area, m':fFormat.format(areaLength, precision ), } resultJson = {'input':inputJson, 'output':outPutJson, 'report':report} result = [resultRaw, resultJson] return result; D = 273.05E-03 lPL = 12 lFJ = 0.30 tAmb = 30 tAno = 30 tf = 30 rhoSea = 1 aGap = 25E-03 aThk = 50E-03 aDen = 2700 aMat = 0 coatLP = 0 coatFJ = 0 spaceMin = 10 spaceMax = 10 burial = 1 # 1 for non burial and 2 for burial if __name__ == "__main__": D = float(sys.argv[1]) lPL = float(sys.argv[2]) lFJ = float(sys.argv[3]) tAmb = float(sys.argv[4]) tAno = float(sys.argv[5]) tf = float(sys.argv[6]) rhoSea = float(sys.argv[7]) aGap = float(sys.argv[8]) aThk = float(sys.argv[9]) aDen = float(sys.argv[10]) aMat = int(sys.argv[11]) coatLP = int(sys.argv[12]) coatFJ = int(sys.argv[13]) spaceMin = int(sys.argv[14]) spaceMax = int(sys.argv[15]) burial = int(sys.argv[16]) resultJson = [] for nJoints in range(spaceMin, spaceMax + 1): result = DNVGLRPF113(D, lPL, lFJ, tAmb, tAno, tf, rhoSea, aGap, aThk, aDen, aMat, coatLP, coatFJ, nJoints, burial) resultJson.append(result[1]) print (json.dumps(resultJson))
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29936, 13, 5215, 10876, 13, 5215, 8717, 13, 5215, 4390, 13, 13, 5215, 5844, 408, 286, 13, 5215, 12655, 408, 7442, 13, 29937, 515, 4560, 2272, 29889, 1639, 3733, 403, 1053, 1006, 29886, 29896, 29881, 13, 29937, 515, 4560, 2272, 29889, 20640, 675, 1053, 285, 2929, 345, 13, 13, 29937, 10079, 15830, 13, 29879, 7030, 353, 525, 28307, 29963, 7239, 390, 29925, 383, 29896, 29900, 29941, 315, 493, 397, 293, 13047, 310, 1014, 24556, 8450, 24210, 29915, 13, 29879, 6594, 353, 525, 6594, 29871, 29896, 29889, 29900, 29889, 29900, 29915, 13, 13, 29937, 22402, 17727, 13, 1631, 353, 286, 29889, 1631, 13, 29872, 353, 286, 29889, 29872, 13, 13, 17990, 2459, 353, 29871, 29906, 13, 29888, 5809, 353, 376, 25641, 29889, 8875, 29888, 5038, 13, 25048, 403, 353, 376, 2683, 807, 29908, 13, 13, 3562, 29953, 29906, 353, 7442, 29889, 2378, 4197, 13, 1678, 518, 29906, 29945, 29892, 29871, 29900, 29889, 29900, 29945, 29900, 29892, 29871, 29900, 29889, 29900, 29906, 29900, 1402, 13, 1678, 518, 29945, 29900, 29892, 29871, 29900, 29889, 29900, 29953, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29900, 1402, 13, 1678, 518, 29947, 29900, 29892, 29871, 29900, 29889, 29900, 29955, 29945, 29892, 29871, 29900, 29889, 29900, 29946, 29900, 1402, 13, 1678, 518, 29896, 29906, 29900, 29892, 29871, 29900, 29889, 29896, 29900, 29900, 29892, 29871, 29900, 29889, 29900, 29953, 29900, 1402, 13, 1678, 518, 29906, 29900, 29900, 29892, 29871, 29900, 29889, 29896, 29941, 29900, 29892, 29871, 29900, 29889, 29900, 29947, 29900, 1402, 13, 13, 2314, 13, 13, 3562, 29953, 29941, 353, 7442, 29889, 2378, 4197, 13, 1678, 6024, 2499, 29899, 29999, 29876, 29899, 797, 742, 29871, 29941, 29900, 29892, 448, 29896, 29889, 29900, 29945, 29900, 29892, 29871, 29906, 29900, 29900, 29900, 29892, 448, 29896, 29889, 29900, 29900, 29900, 29892, 29871, 29896, 29945, 29900, 29900, 1402, 13, 1678, 6024, 2499, 29899, 29999, 29876, 29899, 797, 742, 29871, 29953, 29900, 29892, 448, 29896, 29889, 29900, 29945, 29900, 29892, 29871, 29896, 29945, 29900, 29900, 29892, 448, 29896, 29889, 29900, 29900, 29900, 29892, 259, 29953, 29947, 29900, 1402, 13, 1678, 6024, 2499, 29899, 29999, 29876, 29899, 797, 742, 29871, 29947, 29900, 29892, 448, 29896, 29889, 29900, 29900, 29900, 29892, 259, 29955, 29906, 29900, 29892, 448, 29896, 29889, 29900, 29900, 29900, 29892, 259, 29941, 29906, 29900, 1402, 13, 1678, 6024, 29999, 29876, 742, 29871, 29941, 29900, 29892, 448, 29896, 29889, 29900, 29941, 29900, 29892, 259, 29955, 29947, 29900, 29892, 448, 29900, 29889, 29929, 29947, 29900, 29892, 259, 29955, 29945, 29900, 1402, 13, 1678, 6024, 29999, 29876, 742, 29871, 29945, 29900, 29892, 448, 29896, 29889, 29900, 29945, 29900, 29892, 29871, 29906, 29900, 29900, 29900, 29892, 448, 29900, 29889, 29955, 29945, 29900, 29892, 259, 29945, 29947, 29900, 1402, 13, 13, 2314, 13, 13, 3562, 29909, 29896, 353, 7442, 29889, 2378, 4197, 13, 1678, 6024, 29954, 605, 18755, 276, 15561, 2616, 287, 394, 561, 271, 427, 314, 295, 742, 5852, 29892, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29943, 15349, 742, 5852, 29892, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29943, 15349, 742, 7700, 29892, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 29900, 1402, 13, 1678, 6024, 29941, 29899, 13148, 383, 15349, 29914, 4162, 742, 5852, 29892, 29871, 29947, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29941, 29899, 13148, 383, 15349, 29914, 4162, 742, 7700, 29892, 29871, 29947, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29941, 29899, 13148, 383, 15349, 29914, 18009, 742, 5852, 29892, 29871, 29896, 29896, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29941, 29899, 13148, 383, 15349, 29914, 18009, 742, 7700, 29892, 29871, 29947, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29943, 15349, 29914, 18009, 498, 837, 635, 1663, 18099, 1302, 1218, 742, 7700, 29892, 29871, 29896, 29946, 29900, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29900, 29896, 1402, 13, 1678, 6024, 29943, 15349, 29914, 7056, 498, 837, 635, 1663, 18099, 1302, 1218, 742, 7700, 29892, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 7713, 3376, 5095, 459, 28593, 742, 7700, 29892, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 1402, 13, 2314, 13, 13, 3562, 29909, 29906, 353, 7442, 29889, 2378, 4197, 13, 1678, 6024, 9290, 742, 525, 29946, 29923, 29898, 29896, 29897, 286, 483, 287, 349, 29965, 373, 2246, 16079, 22973, 313, 2541, 7130, 29897, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29941, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29900, 1402, 13, 1678, 6024, 29896, 29928, 2087, 13244, 573, 323, 4085, 470, 29871, 29906, 29909, 29898, 29896, 6802, 29906, 29909, 17722, 29906, 29897, 379, 1799, 313, 4162, 29914, 18009, 27436, 29897, 411, 286, 6288, 594, 13244, 573, 742, 525, 29946, 29923, 29898, 29906, 29897, 286, 483, 287, 349, 29965, 373, 2246, 29871, 29896, 29928, 470, 29871, 29906, 29909, 29898, 29896, 6802, 29906, 29909, 29898, 29906, 29897, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29896, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29900, 1402, 13, 1678, 6024, 29906, 29933, 29898, 29896, 29897, 379, 1799, 313, 1627, 292, 718, 594, 13244, 573, 297, 349, 29923, 411, 11060, 7130, 29897, 742, 525, 9290, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29933, 29898, 29896, 29897, 379, 1799, 313, 1627, 292, 718, 594, 13244, 573, 297, 349, 29923, 411, 11060, 7130, 29897, 742, 525, 29946, 29923, 29898, 29906, 29897, 286, 483, 287, 349, 29965, 373, 29871, 29900, 29889, 29900, 29941, 29871, 29900, 29889, 29900, 29900, 29941, 2246, 29871, 29906, 29933, 29898, 29896, 29897, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29907, 313, 29896, 29897, 379, 1799, 313, 1627, 292, 718, 594, 13244, 573, 297, 349, 29925, 29892, 11060, 7130, 29897, 742, 525, 9290, 742, 29871, 29896, 29896, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29907, 313, 29896, 29897, 379, 1799, 313, 1627, 292, 718, 594, 13244, 573, 297, 349, 29925, 29892, 11060, 7130, 29897, 742, 525, 29946, 29923, 29898, 29906, 29897, 286, 483, 287, 349, 29965, 373, 2246, 29871, 29906, 29933, 29898, 29896, 29897, 742, 29871, 29896, 29896, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29941, 29909, 383, 15349, 742, 525, 9290, 742, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29896, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29900, 1402, 13, 1678, 6024, 29941, 29909, 383, 15349, 742, 525, 29946, 29923, 29898, 29906, 29897, 286, 483, 287, 349, 29965, 373, 2246, 742, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29933, 29898, 29906, 29897, 383, 15349, 411, 349, 29923, 379, 1799, 742, 525, 9290, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29933, 29898, 29906, 29897, 383, 15349, 411, 349, 29923, 379, 1799, 742, 525, 29946, 29923, 29898, 29906, 29897, 286, 483, 287, 349, 29965, 373, 2246, 383, 15349, 718, 349, 29923, 379, 1799, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29945, 29928, 29898, 29896, 29897, 322, 29871, 29945, 29923, 383, 15349, 411, 349, 29923, 7436, 408, 1652, 420, 805, 764, 292, 470, 260, 4085, 29892, 8307, 742, 525, 9290, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29906, 29907, 29898, 29906, 29897, 383, 15349, 411, 349, 29925, 379, 1799, 742, 525, 9290, 742, 29871, 29896, 29946, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29945, 29909, 29914, 29933, 29914, 29907, 29898, 29896, 29897, 383, 15349, 29892, 349, 29925, 594, 13244, 573, 322, 349, 29925, 313, 29893, 336, 2986, 29892, 1652, 420, 805, 25724, 470, 286, 483, 287, 29897, 742, 525, 9290, 742, 29871, 29896, 29946, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 3521, 742, 525, 29945, 29907, 29898, 29896, 29897, 341, 483, 287, 349, 29923, 373, 2246, 383, 15349, 411, 349, 29923, 594, 13244, 573, 742, 29871, 29955, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 3521, 742, 525, 29945, 29907, 29898, 29906, 29897, 341, 483, 287, 349, 29925, 373, 2246, 383, 15349, 411, 349, 29925, 594, 13244, 573, 742, 29871, 29896, 29946, 29900, 29892, 29871, 29900, 29889, 29900, 29896, 29892, 29871, 29900, 29889, 29900, 29900, 29900, 29941, 1402, 13, 1678, 6024, 29947, 29909, 1248, 3376, 5095, 459, 28593, 742, 525, 9290, 742, 29871, 29929, 29900, 29892, 29871, 29900, 29889, 29900, 29941, 29892, 29871, 29900, 29889, 29900, 29900, 29896, 1402, 13, 13, 2314, 13, 13, 13, 29937, 910, 740, 2186, 2099, 1857, 9667, 29892, 341, 29892, 297, 1035, 397, 749, 411, 12345, 29889, 29871, 29941, 310, 518, 29896, 29962, 13, 1753, 306, 6854, 29898, 10644, 29892, 285, 6854, 29892, 16077, 29885, 29892, 413, 1125, 13, 1678, 306, 6854, 353, 7255, 29930, 29888, 6854, 29930, 293, 29885, 29930, 29895, 13, 1678, 736, 306, 6854, 29936, 13, 13, 1753, 285, 6854, 29898, 29874, 29892, 289, 29892, 260, 1125, 13, 1678, 285, 6854, 353, 263, 718, 289, 29930, 13264, 13, 1678, 736, 285, 6854, 29936, 13, 13, 29937, 910, 740, 736, 3734, 385, 356, 4158, 29892, 341, 29892, 297, 1035, 397, 749, 411, 12345, 29889, 29945, 310, 518, 29896, 29962, 13, 1753, 341, 29898, 29902, 4912, 29892, 15886, 29892, 318, 29892, 321, 1125, 13, 1678, 341, 353, 313, 29902, 4912, 29930, 13264, 29930, 29947, 29955, 29953, 29900, 6802, 29898, 29884, 29930, 29872, 29897, 13, 1678, 736, 341, 29936, 13, 13, 13, 1753, 360, 29940, 29963, 7239, 29934, 13691, 29896, 29896, 29941, 29898, 29928, 29892, 301, 7390, 29892, 301, 29943, 29967, 29892, 260, 6833, 29890, 29892, 260, 29909, 1217, 29892, 15886, 29892, 364, 1251, 2008, 29874, 29892, 263, 29954, 481, 29892, 263, 1349, 29895, 29892, 263, 29315, 29892, 263, 9782, 29892, 24296, 13208, 29892, 24296, 29943, 29967, 29892, 302, 29967, 2461, 29879, 29892, 6866, 616, 29892, 318, 29922, 29900, 29889, 29947, 1125, 13, 13, 1678, 413, 353, 29871, 29896, 29889, 29900, 13, 1678, 382, 29909, 29900, 353, 448, 29900, 29889, 29947, 29945, 13, 13, 1678, 396, 8161, 2099, 1857, 9667, 515, 6137, 29871, 29953, 29899, 29906, 310, 518, 29896, 29962, 13, 1678, 16077, 29885, 353, 518, 29916, 363, 921, 297, 6137, 29953, 29906, 565, 921, 29961, 29900, 29962, 1405, 260, 6833, 29890, 3816, 29900, 3816, 8399, 616, 29962, 13, 1678, 396, 1596, 29898, 293, 29885, 29897, 13, 13, 1678, 565, 263, 9782, 1275, 7700, 29901, 13, 4706, 263, 24095, 353, 525, 2499, 29899, 29999, 29876, 29899, 797, 29915, 13, 1678, 1683, 29901, 13, 4706, 263, 24095, 353, 525, 29999, 29876, 29915, 13, 13, 1678, 396, 8161, 385, 356, 4426, 515, 6137, 29871, 29953, 29899, 29941, 310, 518, 29896, 29962, 13, 1678, 385, 356, 353, 518, 29916, 363, 921, 297, 6137, 29953, 29941, 565, 313, 29916, 29961, 29900, 29962, 1275, 263, 24095, 322, 5785, 29898, 29916, 29961, 29896, 2314, 6736, 5785, 29898, 29873, 29909, 1217, 876, 29871, 3816, 29900, 29962, 13, 1678, 565, 6866, 616, 1275, 29871, 29896, 29901, 13, 4706, 17522, 29900, 353, 5785, 29898, 273, 356, 29961, 29906, 2314, 13, 4706, 321, 353, 5785, 29898, 273, 356, 29961, 29941, 2314, 13, 1678, 1683, 29901, 13, 4706, 17522, 29900, 353, 5785, 29898, 273, 356, 29961, 29946, 2314, 13, 4706, 321, 353, 5785, 29898, 273, 356, 29961, 29945, 2314, 13, 1678, 396, 1596, 29898, 273, 356, 29897, 13, 1678, 396, 1596, 29898, 11206, 29900, 29897, 13, 1678, 396, 1596, 29898, 29872, 29897, 13, 13, 1678, 396, 8161, 1302, 1218, 2867, 3204, 7329, 515, 6137, 319, 29899, 29896, 310, 518, 29896, 29962, 13, 1678, 1302, 1218, 7390, 353, 6137, 29909, 29896, 29961, 1111, 271, 13208, 29962, 13, 1678, 263, 7390, 353, 5785, 29898, 1111, 1218, 7390, 29961, 29941, 2314, 13, 1678, 289, 7390, 353, 5785, 29898, 1111, 1218, 7390, 29961, 29946, 2314, 13, 1678, 396, 1596, 29898, 1111, 1218, 7390, 29897, 13, 1678, 396, 1596, 29898, 29874, 7390, 29897, 13, 1678, 396, 1596, 29898, 29890, 7390, 29897, 13, 13, 1678, 396, 8161, 1746, 14002, 1302, 1218, 2867, 3204, 7329, 515, 6137, 319, 29899, 29906, 310, 518, 29896, 29962, 13, 1678, 1302, 1218, 29943, 29967, 353, 6137, 29909, 29906, 29961, 1111, 271, 29943, 29967, 29962, 13, 1678, 263, 29943, 29967, 353, 5785, 29898, 1111, 1218, 29943, 29967, 29961, 29941, 2314, 13, 1678, 289, 29943, 29967, 353, 5785, 29898, 1111, 1218, 29943, 29967, 29961, 29946, 2314, 13, 1678, 396, 1596, 29898, 1111, 1218, 29943, 29967, 29897, 13, 1678, 396, 1596, 29898, 29874, 29943, 29967, 29897, 13, 1678, 396, 1596, 29898, 29890, 29943, 29967, 29897, 13, 13, 1678, 396, 8161, 1302, 1218, 4038, 13, 1678, 319, 695, 353, 2930, 29930, 29928, 16395, 29880, 7390, 11877, 29876, 29967, 2461, 29879, 13, 1678, 319, 695, 7390, 353, 2930, 29930, 29928, 16395, 29880, 7390, 29899, 29906, 29930, 29880, 29943, 29967, 11877, 29876, 29967, 2461, 29879, 13, 1678, 319, 695, 29943, 29967, 353, 2930, 29930, 29928, 16395, 29906, 29930, 29880, 29943, 29967, 11877, 29876, 29967, 2461, 29879, 13, 1678, 396, 1596, 29898, 29909, 695, 7390, 29897, 13, 1678, 396, 1596, 29898, 29909, 695, 29943, 29967, 29897, 13, 1678, 396, 1596, 29898, 29909, 695, 29897, 13, 13, 13, 1678, 396, 4801, 837, 457, 2099, 1302, 1218, 2867, 3204, 7329, 29892, 12345, 29871, 29906, 310, 518, 29896, 29962, 13, 1678, 285, 4912, 7390, 353, 263, 7390, 718, 29871, 29900, 29889, 29945, 29930, 29890, 7390, 29930, 13264, 13, 1678, 285, 4912, 29943, 29967, 353, 263, 29943, 29967, 718, 29871, 29900, 29889, 29945, 29930, 29890, 29943, 29967, 29930, 13264, 13, 1678, 396, 1596, 29898, 29888, 4912, 7390, 29897, 13, 1678, 396, 1596, 29898, 29888, 4912, 29943, 29967, 29897, 13, 13, 13, 1678, 396, 4801, 837, 457, 2099, 1857, 9667, 29892, 12345, 29871, 29896, 310, 518, 29896, 29962, 13, 1678, 306, 4912, 7390, 353, 319, 695, 7390, 29930, 29888, 4912, 7390, 29930, 293, 29885, 29930, 29895, 13, 1678, 306, 4912, 29943, 29967, 353, 319, 695, 29943, 29967, 29930, 29888, 4912, 29943, 29967, 29930, 293, 29885, 29930, 29895, 13, 1678, 306, 4912, 353, 306, 4912, 7390, 718, 306, 4912, 29943, 29967, 13, 1678, 396, 1596, 29898, 29902, 4912, 7390, 29897, 13, 1678, 396, 1596, 29898, 29902, 4912, 29943, 29967, 29897, 13, 1678, 396, 1596, 29898, 29902, 4912, 29897, 13, 13, 13, 1678, 396, 4801, 837, 457, 2186, 1302, 1218, 2867, 3204, 7329, 29892, 12345, 29871, 29946, 310, 518, 29896, 29962, 13, 1678, 285, 6854, 7390, 353, 263, 7390, 718, 289, 7390, 29930, 13264, 13, 1678, 285, 6854, 29943, 29967, 353, 263, 29943, 29967, 718, 289, 29943, 29967, 29930, 13264, 13, 1678, 396, 1596, 29898, 29888, 6854, 7390, 29897, 13, 1678, 396, 1596, 29898, 29888, 6854, 29943, 29967, 29897, 13, 13, 1678, 396, 4801, 837, 457, 2186, 1302, 1218, 2867, 3204, 7329, 29892, 12345, 29871, 29941, 310, 518, 29896, 29962, 13, 1678, 306, 6854, 7390, 353, 319, 695, 7390, 29930, 29888, 6854, 7390, 29930, 293, 29885, 29930, 29895, 13, 1678, 306, 6854, 29943, 29967, 353, 319, 695, 29943, 29967, 29930, 29888, 6854, 29943, 29967, 29930, 293, 29885, 29930, 29895, 13, 1678, 306, 6854, 353, 306, 6854, 7390, 718, 306, 6854, 29943, 29967, 13, 1678, 396, 1596, 29898, 29902, 6854, 7390, 29897, 13, 1678, 396, 1596, 29898, 29902, 6854, 29943, 29967, 29897, 13, 1678, 396, 1596, 29898, 29902, 6854, 29897, 13, 13, 1678, 396, 4801, 837, 457, 6260, 348, 3734, 385, 356, 4158, 29892, 12345, 29889, 29871, 29945, 310, 518, 29896, 29962, 13, 1678, 12428, 29924, 353, 313, 29902, 4912, 29930, 13264, 29930, 29947, 29955, 29953, 29900, 6802, 29898, 29900, 29889, 29947, 29900, 29930, 29872, 29897, 13, 1678, 12428, 29963, 353, 12428, 29924, 29914, 29874, 29315, 13, 1678, 396, 1596, 877, 12403, 385, 356, 4158, 742, 7971, 29924, 29897, 13, 1678, 396, 1596, 877, 12403, 385, 356, 7977, 742, 12428, 29963, 29897, 13, 13, 1678, 5190, 29963, 353, 313, 29900, 29889, 29906, 29945, 29930, 1631, 29930, 3552, 29928, 718, 29871, 29906, 29930, 29874, 1349, 29895, 29897, 1068, 29906, 29897, 448, 29871, 29900, 29889, 29906, 29945, 29930, 1631, 16395, 29928, 1068, 29906, 29897, 448, 29871, 29906, 29930, 29874, 29954, 481, 29930, 29874, 1349, 29895, 29897, 13, 1678, 4158, 6513, 353, 12428, 29963, 29914, 5441, 29963, 13, 1678, 396, 1596, 877, 12403, 385, 356, 3309, 491, 4158, 742, 4158, 6513, 29897, 13, 13, 1678, 19471, 29923, 353, 17522, 29900, 448, 382, 29909, 29900, 13, 13, 1678, 12428, 29909, 353, 313, 29900, 29889, 29941, 29896, 29945, 29930, 4650, 2008, 29874, 29930, 29902, 6854, 29914, 4181, 29923, 29897, 1068, 29906, 13, 1678, 5190, 29909, 353, 2930, 16395, 29928, 29974, 29906, 16395, 29896, 29899, 29884, 11877, 29874, 1349, 29895, 29897, 448, 29871, 29906, 29930, 29874, 29954, 481, 13, 1678, 4038, 6513, 353, 12428, 29909, 29914, 5441, 29909, 13, 1678, 396, 1596, 877, 12403, 385, 356, 3309, 491, 4038, 742, 4038, 6513, 29897, 13, 13, 1678, 1881, 353, 518, 29928, 29892, 301, 7390, 29892, 301, 29943, 29967, 29892, 260, 6833, 29890, 29892, 260, 29909, 1217, 29892, 15886, 29892, 364, 1251, 2008, 29874, 29892, 263, 29954, 481, 29892, 263, 1349, 29895, 29892, 263, 29315, 29892, 263, 9782, 29892, 24296, 13208, 29892, 24296, 29943, 29967, 29892, 302, 29967, 2461, 29879, 29892, 6866, 616, 29962, 13, 1678, 396, 1962, 353, 518, 293, 29885, 29892, 385, 356, 29892, 1302, 1218, 7390, 29892, 1302, 1218, 29943, 29967, 29892, 12428, 29924, 29892, 12428, 29963, 29892, 4158, 6513, 29892, 4038, 6513, 29962, 13, 1678, 1962, 353, 518, 293, 29885, 29892, 12428, 29924, 29892, 12428, 29909, 29892, 4158, 6513, 29892, 4038, 6513, 29962, 13, 1678, 3461, 353, 5159, 13, 13, 1678, 1121, 22131, 353, 518, 2080, 29892, 1962, 29892, 3461, 29962, 13, 13, 1678, 1881, 8148, 353, 426, 13, 4706, 525, 3744, 261, 24235, 29892, 286, 2396, 29928, 29892, 13, 4706, 525, 6513, 310, 16439, 29892, 286, 2396, 29880, 7390, 29892, 13, 4706, 525, 6513, 310, 1746, 14002, 2396, 29880, 29943, 29967, 29892, 13, 4706, 525, 6833, 29890, 993, 10430, 29892, 3587, 29907, 2396, 29873, 6833, 29890, 29892, 13, 4706, 525, 4002, 647, 2834, 29892, 1629, 2396, 13264, 29892, 13, 4706, 525, 2008, 1450, 1008, 9027, 29892, 12118, 29914, 4979, 29889, 29885, 2396, 4650, 2008, 29874, 29892, 13, 1678, 500, 13, 13, 1678, 714, 22908, 8148, 353, 426, 13, 4706, 525, 3782, 310, 14002, 29879, 29892, 405, 29901, 2396, 29876, 29967, 2461, 29879, 29892, 13, 4706, 525, 6816, 273, 1857, 9667, 29892, 319, 29914, 29903, 29939, 29889, 29885, 29889, 2396, 285, 5809, 29889, 4830, 29898, 293, 29885, 29892, 16716, 10353, 13, 4706, 525, 8140, 29889, 3734, 385, 356, 4158, 29892, 12118, 2396, 29888, 5809, 29889, 4830, 29898, 7971, 29924, 29892, 16716, 10353, 13, 4706, 525, 8140, 29889, 3734, 7101, 4038, 29892, 317, 29939, 29889, 29885, 2396, 29888, 5809, 29889, 4830, 29898, 7971, 29909, 29892, 16716, 10353, 13, 4706, 525, 8140, 29889, 3734, 3309, 491, 385, 356, 4158, 29892, 286, 2396, 29888, 5809, 29889, 4830, 29898, 25379, 6513, 29892, 16716, 10353, 13, 4706, 525, 8140, 29889, 3734, 3309, 491, 385, 356, 4038, 29892, 286, 2396, 29888, 5809, 29889, 4830, 29898, 6203, 6513, 29892, 16716, 10353, 13, 1678, 500, 13, 13, 1678, 1121, 8148, 353, 11117, 2080, 2396, 2080, 8148, 29892, 525, 4905, 2396, 449, 22908, 8148, 29892, 525, 12276, 2396, 12276, 29913, 13, 13, 1678, 1121, 353, 518, 2914, 22131, 29892, 1121, 8148, 29962, 13, 1678, 736, 1121, 29936, 13, 13, 29928, 353, 29871, 29906, 29955, 29941, 29889, 29900, 29945, 29923, 29899, 29900, 29941, 13, 29880, 7390, 353, 29871, 29896, 29906, 13, 29880, 29943, 29967, 353, 29871, 29900, 29889, 29941, 29900, 13, 29873, 6833, 29890, 353, 29871, 29941, 29900, 13, 29873, 29909, 1217, 353, 29871, 29941, 29900, 13, 13264, 353, 29871, 29941, 29900, 13, 4650, 2008, 29874, 353, 29871, 29896, 13, 29874, 29954, 481, 353, 29871, 29906, 29945, 29923, 29899, 29900, 29941, 13, 29874, 1349, 29895, 353, 29871, 29945, 29900, 29923, 29899, 29900, 29941, 13, 29874, 29315, 353, 29871, 29906, 29955, 29900, 29900, 13, 29874, 9782, 353, 29871, 29900, 13, 1111, 271, 13208, 353, 29871, 29900, 13, 1111, 271, 29943, 29967, 353, 29871, 29900, 13, 3493, 8140, 353, 29871, 29896, 29900, 13, 3493, 7976, 353, 29871, 29896, 29900, 13, 8399, 616, 353, 29871, 29896, 3986, 396, 29871, 29896, 363, 1661, 6866, 616, 322, 29871, 29906, 363, 6866, 616, 13, 13, 13, 361, 4770, 978, 1649, 1275, 376, 1649, 3396, 1649, 1115, 13, 1678, 360, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29896, 2314, 13, 1678, 301, 7390, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29906, 2314, 13, 1678, 301, 29943, 29967, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29941, 2314, 13, 1678, 260, 6833, 29890, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29946, 2314, 13, 1678, 260, 29909, 1217, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29945, 2314, 13, 1678, 15886, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29953, 2314, 13, 1678, 364, 1251, 2008, 29874, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29955, 2314, 13, 1678, 263, 29954, 481, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29947, 2314, 13, 1678, 263, 1349, 29895, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29929, 2314, 13, 1678, 263, 29315, 353, 5785, 29898, 9675, 29889, 19218, 29961, 29896, 29900, 2314, 13, 1678, 263, 9782, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29896, 2314, 13, 1678, 24296, 13208, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29906, 2314, 13, 1678, 24296, 29943, 29967, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29941, 2314, 13, 1678, 2913, 8140, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29946, 2314, 13, 1678, 2913, 7976, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29945, 2314, 13, 1678, 6866, 616, 353, 938, 29898, 9675, 29889, 19218, 29961, 29896, 29953, 2314, 13, 13, 2914, 8148, 353, 5159, 13, 13, 1454, 302, 29967, 2461, 29879, 297, 3464, 29898, 3493, 8140, 29892, 2913, 7976, 718, 29871, 29896, 1125, 13, 1678, 1121, 353, 360, 29940, 29963, 7239, 29934, 13691, 29896, 29896, 29941, 29898, 29928, 29892, 301, 7390, 29892, 301, 29943, 29967, 29892, 260, 6833, 29890, 29892, 260, 29909, 1217, 29892, 15886, 29892, 364, 1251, 2008, 29874, 29892, 263, 29954, 481, 29892, 263, 1349, 29895, 29892, 263, 29315, 29892, 263, 9782, 29892, 24296, 13208, 29892, 24296, 29943, 29967, 29892, 302, 29967, 2461, 29879, 29892, 6866, 616, 29897, 13, 1678, 1121, 8148, 29889, 4397, 29898, 2914, 29961, 29896, 2314, 13, 13, 2158, 313, 3126, 29889, 29881, 17204, 29898, 2914, 8148, 876, 13, 2 ]
python3/aoc-01-04/main.py
brunobell/aoc-2019
0
118083
import typing def get_repeat_info(n: int) -> (bool, typing.Dict): digit, is_asc, repeat, hashmap = '0', True, 0, dict() for c in str(n): if c in hashmap: hashmap[c] = hashmap[c] + 1 else: hashmap[c] = 1 if digit <= c: if digit == c: digit, is_asc, repeat = c, is_asc, repeat + 1 else: digit, is_asc, repeat = c, is_asc, 1 else: digit, is_asc, repeat = c, False, 1 return is_asc, hashmap class Solution: def is_password_part_1(self, n: int, min_: int, max_: int) -> bool: is_asc, hashmap = get_repeat_info(n) min_repeat = min([x for x in hashmap.values() if x > 1] or [1]) max_repeat = hashmap[max(hashmap.keys())] if is_asc and max_repeat <= max_ and min_repeat >= min_: return True else: return False def is_password_part_2(self, n: int, repeat: int) -> bool: is_asc, hashmap = get_repeat_info(n) valid = len([x for x in hashmap.values() if x == repeat]) > 0 if is_asc and valid: return True else: return False if __name__ == '__main__': solution = Solution() start, end = 353096, 843212 answer_1 = [] for n in range(start, end + 1): if solution.is_password_part_1(n, 2, 6): answer_1.append(n) print(f"the answer to part-1 is {len(answer_1)}") answer_2 = [] for n in range(start, end + 1): if solution.is_password_part_2(n, 2): answer_2.append(n) print(f"the answer to part-2 is {len(answer_2)}")
[ 1, 1053, 19229, 13, 13, 13, 1753, 679, 29918, 14358, 29918, 3888, 29898, 29876, 29901, 938, 29897, 1599, 313, 11227, 29892, 19229, 29889, 21533, 1125, 13, 1678, 13615, 29892, 338, 29918, 6151, 29892, 12312, 29892, 6608, 1958, 353, 525, 29900, 742, 5852, 29892, 29871, 29900, 29892, 9657, 580, 13, 1678, 363, 274, 297, 851, 29898, 29876, 1125, 13, 4706, 565, 274, 297, 6608, 1958, 29901, 13, 9651, 6608, 1958, 29961, 29883, 29962, 353, 6608, 1958, 29961, 29883, 29962, 718, 29871, 29896, 13, 4706, 1683, 29901, 13, 9651, 6608, 1958, 29961, 29883, 29962, 353, 29871, 29896, 13, 13, 4706, 565, 13615, 5277, 274, 29901, 13, 9651, 565, 13615, 1275, 274, 29901, 13, 18884, 13615, 29892, 338, 29918, 6151, 29892, 12312, 353, 274, 29892, 338, 29918, 6151, 29892, 12312, 718, 29871, 29896, 13, 9651, 1683, 29901, 13, 18884, 13615, 29892, 338, 29918, 6151, 29892, 12312, 353, 274, 29892, 338, 29918, 6151, 29892, 29871, 29896, 13, 4706, 1683, 29901, 13, 9651, 13615, 29892, 338, 29918, 6151, 29892, 12312, 353, 274, 29892, 7700, 29892, 29871, 29896, 13, 1678, 736, 338, 29918, 6151, 29892, 6608, 1958, 13, 13, 13, 1990, 24380, 29901, 13, 13, 1678, 822, 338, 29918, 5630, 29918, 1595, 29918, 29896, 29898, 1311, 29892, 302, 29901, 938, 29892, 1375, 29918, 29901, 938, 29892, 4236, 29918, 29901, 938, 29897, 1599, 6120, 29901, 13, 4706, 338, 29918, 6151, 29892, 6608, 1958, 353, 679, 29918, 14358, 29918, 3888, 29898, 29876, 29897, 13, 4706, 1375, 29918, 14358, 353, 1375, 4197, 29916, 363, 921, 297, 6608, 1958, 29889, 5975, 580, 565, 921, 1405, 29871, 29896, 29962, 470, 518, 29896, 2314, 13, 4706, 4236, 29918, 14358, 353, 6608, 1958, 29961, 3317, 29898, 8568, 1958, 29889, 8149, 3101, 29962, 13, 4706, 565, 338, 29918, 6151, 322, 4236, 29918, 14358, 5277, 4236, 29918, 322, 1375, 29918, 14358, 6736, 1375, 29918, 29901, 13, 9651, 736, 5852, 13, 4706, 1683, 29901, 13, 9651, 736, 7700, 13, 13, 1678, 822, 338, 29918, 5630, 29918, 1595, 29918, 29906, 29898, 1311, 29892, 302, 29901, 938, 29892, 12312, 29901, 938, 29897, 1599, 6120, 29901, 13, 4706, 338, 29918, 6151, 29892, 6608, 1958, 353, 679, 29918, 14358, 29918, 3888, 29898, 29876, 29897, 13, 4706, 2854, 353, 7431, 4197, 29916, 363, 921, 297, 6608, 1958, 29889, 5975, 580, 565, 921, 1275, 12312, 2314, 1405, 29871, 29900, 13, 4706, 565, 338, 29918, 6151, 322, 2854, 29901, 13, 9651, 736, 5852, 13, 4706, 1683, 29901, 13, 9651, 736, 7700, 13, 13, 13, 361, 4770, 978, 1649, 1275, 525, 1649, 3396, 1649, 2396, 13, 1678, 1650, 353, 24380, 580, 13, 1678, 1369, 29892, 1095, 353, 29871, 29941, 29945, 29941, 29900, 29929, 29953, 29892, 29871, 29947, 29946, 29941, 29906, 29896, 29906, 13, 1678, 1234, 29918, 29896, 353, 5159, 13, 1678, 363, 302, 297, 3464, 29898, 2962, 29892, 1095, 718, 29871, 29896, 1125, 13, 4706, 565, 1650, 29889, 275, 29918, 5630, 29918, 1595, 29918, 29896, 29898, 29876, 29892, 29871, 29906, 29892, 29871, 29953, 1125, 13, 9651, 1234, 29918, 29896, 29889, 4397, 29898, 29876, 29897, 13, 1678, 1596, 29898, 29888, 29908, 1552, 1234, 304, 760, 29899, 29896, 338, 426, 2435, 29898, 12011, 29918, 29896, 2915, 1159, 13, 13, 1678, 1234, 29918, 29906, 353, 5159, 13, 1678, 363, 302, 297, 3464, 29898, 2962, 29892, 1095, 718, 29871, 29896, 1125, 13, 4706, 565, 1650, 29889, 275, 29918, 5630, 29918, 1595, 29918, 29906, 29898, 29876, 29892, 29871, 29906, 1125, 13, 9651, 1234, 29918, 29906, 29889, 4397, 29898, 29876, 29897, 13, 1678, 1596, 29898, 29888, 29908, 1552, 1234, 304, 760, 29899, 29906, 338, 426, 2435, 29898, 12011, 29918, 29906, 2915, 1159, 13, 2 ]
ogreyLevelAttributesPanel.py
opengd/OgreyTool
0
154152
import wx from ogreyEntity import * from FoldPanelBar import * from ogreyScriptEditor import * import ogre.renderer.OGRE as ogre class ogreyLevelAttributesPanel(wx.Panel): def __init__(self, parent, window, resourceInformation, middle): wx.Panel.__init__(self, parent, -1, style = wx.FULL_REPAINT_ON_RESIZE) self.current = None self.Bind(wx.EVT_SIZE, self.OnSize) self.window = window self.resourceInformation = resourceInformation self.parent = parent self.middle = middle self.ogreView = None self.ogreScene = None self.selected = True def select(self, selected = True): self.selected = selected def showAttributes(self, type, object, options = None, item = None): self.current = [type, object, options, item] #self.foldPanel = FoldPanelBar(self, wx.ID_ANY, wx.DefaultPosition, # self.GetSize(), style = wx.FULL_REPAINT_ON_RESIZE) if type == "EntityInstance": EntityInstanceAttributes(self, object, options, item) if type == "Entity": EntityAttributes(self, object, options, item) if not type == None: pass #Comments(self, object, options, item) #self.Show() def Show(self, type, object, options = None, item = None): self.current = [type, object, options, item] if self.selected == True: self.foldPanel = FoldPanelBar(self, wx.ID_ANY, wx.DefaultPosition, self.GetSize(), style = wx.FULL_REPAINT_ON_RESIZE) if not self.current == None: self.showAttributes(self.current[0], self.current[1], self.current[2], self.current[3]) if not self.ogreView == None: EnviromentOptions(self, (self.ogreScene, self.ogreView), self.Level ) def bindView(self, view): self.ogreView = view self.update() def bindScene(self, scene): self.ogreScene = scene self.update() def bindLevel(self, level): self.Level = level def OnSize(self, event): self.update() def clear(self): self.DestroyChildren() def update(self, event = None): self.clear() if not self.current == None: self.clear() self.Show(self.current[0], self.current[1], self.current[2], self.current[3]) #self.Show(n, self.current[1], self.current[2], self.current[3]) def showObjectAttributes(self, Attributes, name): column = (5, 105, 205) row = 22 pan = self.foldPanel.AddFoldPanel(name, False) r = 0 tulo = wx.Panel(pan, -1, style = wx.FULL_REPAINT_ON_RESIZE) for attrib in Attributes: c = 0 for rowItem in attrib: if rowItem["type"] == "text": obj = wx.TextCtrl(tulo, -1,"", style=rowItem["style"], pos = (column[c], row*r)) if not rowItem["attribs"] == None: obj.SetDefaultStyle(rowItem["attribs"]) obj.WriteText(rowItem["value"]) obj.SetEditable(rowItem["editable"]) if not rowItem["event"] == None: obj.Bind(wx.EVT_TEXT, rowItem["event"]) elif rowItem["type"] == "bitmapbutton": modelButton = wx.BitmapButton(tulo, -1,rowItem["image"], pos = (column[c], row*r)) modelButton.Bind(wx.EVT_BUTTON, rowItem["event"]) elif rowItem["type"] == "combobox": comboBox = wx.ComboBox(tulo, -1, pos=(column[c], row*r), choices=rowItem["value"], style=rowItem["style"], size = (self.GetSizeTuple()[0] -8, -1)) comboBox.Bind(wx.EVT_COMBOBOX, rowItem["event"]) elif rowItem["type"] == "button": modelButton = wx.Button(tulo, -1,rowItem["value"], pos = (column[c], row*r)) modelButton.Bind(wx.EVT_BUTTON, rowItem["event"]) elif rowItem["type"] == "checkbox": checkbox = wx.CheckBox(tulo, -1, rowItem["value"], pos = (column[c]+5, row*r)) checkbox.Bind(wx.EVT_CHECKBOX, rowItem["event"]) checkbox.SetValue(rowItem["state"]) elif rowItem["type"] == "slider": slider = wx.Slider(tulo, -1, value = rowItem["value"], minValue = rowItem["minValue"], maxValue = rowItem["maxValue"], style = rowItem["style"], pos = (column[c], row*r)) slider.Bind(wx.EVT_SLIDER, rowItem["event"]) elif rowItem["type"] == "panel": panel = wx.Panel(tulo, -1, pos = (column[c], row*r), size = rowItem["size"], style= rowItem["style"]) panel.SetBackgroundColour(rowItem["bgcolor"]) panel.Refresh(True, None) elif rowItem["type"] == "textctrl": self.text = wx.TextCtrl(tulo, -1, rowItem["value"], pos=(column[c], row*r), size = (self.GetSizeTuple()[0] -8,rowItem["height"]),style = rowItem["style"]) self.text.Bind(wx.EVT_TEXT, rowItem["event"]) elif rowItem["type"] == "comment": text = wx.StaticText(tulo, -1,label = rowItem["label"],pos = (column[c], row*r)) elif rowItem["type"] == "empty": pass c += 1 r += 1 tulo.Fit() self.foldPanel.AddFoldPanelWindow(pan, tulo) class EntityAttributes: def __init__(self, panel, object, tree, item): self.panel = panel self.object = object self.tree = tree self.item = item self.Attributes = [ [ {"type" : "text", "editable" : False, "value" : "Name", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : False, "value" : self.object.name, "style" : wx.TE_RIGHT, "event" : self.OnEntityName, "attribs" : None}, ], [ {"type" : "text", "editable" : False, "value" : "Name", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : False, "value" : self.object.filepath, "style" : wx.TE_RIGHT, "event" : self.OnEntityName, "attribs" : None}, ], ] self.panel.showObjectAttributes(self.Attributes, "Entity") def OnEntityName(self, event): self.object.name = event.GetClientObject().GetValue() self.tree.SetItemText(self.item, self.object.name + " - Entity") class EntityInstanceAttributes: def __init__(self, panel, object, tree, item): self.panel = panel self.object = object self.tree = tree self.item = item self.Attributes = [ [ {"type" : "text", "editable" : False, "value" : "Name", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : True, "value" : self.object.name, "style" : wx.TE_RIGHT, "event" : self.OnEntityName, "attribs" : None}, ] # World Position [{"type" : "text", "editable" : False, "value" : "World Position", "style" : wx.TE_LEFT | wx.TE_RICH2 , "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)},], [{"type" : "text", "editable" : False, "value" : "X", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : True, "value" : str(self.object.position[0]), "style" : wx.TE_RIGHT, "event" : self.OnEntityPositionX, "attribs" : None}, ], [{"type" : "text", "editable" : False, "value" : "Y", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : True, "value" : str(self.object.position[1]), "style" : wx.TE_RIGHT, "event" : self.OnEntityPositionY, "attribs" : None}, ], [{"type" : "text", "editable" : False, "value" : "Z", "style" : wx.TE_LEFT | wx.TE_RICH2, "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "text", "editable" : True, "value" : str(self.object.position[2]), "style" : wx.TE_RIGHT, "event" : self.OnEntityPositionZ, "attribs" : None}, ], ] self.panel.showObjectAttributes(self.Attributes, "Entity Instance") def OnEntityName(self, event): self.object.name = event.GetClientObject().GetValue() self.tree.SetItemText(self.item, self.object.name + " - Entity Instance") def OnEntityPositionX(self, event): self.object.position.x = float(event.GetClientObject().GetValue()) #self.update() def OnEntityPositionY(self, event): self.object.position.y = float(event.GetClientObject().GetValue()) #self.update() def OnEntityPositionZ(self, event): self.object.position.z = float(event.GetClientObject().GetValue()) #self.update() class EnviromentOptions: def __init__(self, parent, window, object): self.parent = parent self.window, self.ogreView = window self.object = object self.bgcolour = wx.Colour(0,0,0) tempcolor = self.ogreView.viewport.backgroundColour self.bgcolour = wx.Colour(int(tempcolor.r*255.0),int(tempcolor.g*255.0), int(tempcolor.b*255.0)) self.ambientcolour = wx.Colour(0,0,0) tempcolor = self.window.sceneManager.ambientLight self.ambientcolour = wx.Colour(int(tempcolor.r*255.0),int(tempcolor.g*255.0), int(tempcolor.b*255.0)) self.Attributes = [ [{"type" : "text", "editable" : False, "value" : "Background Color", "style" : wx.TE_LEFT | wx.TE_RICH2 , "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "button", "value" : "Choose Colour...", "event" : self.OnChooseColor}, {"type" : "panel", "size" : (20,20), "style" : wx.SUNKEN_BORDER, "bgcolor" : self.bgcolour},], [{"type" : "text", "editable" : False, "value" : "Ambient Light Color", "style" : wx.TE_LEFT | wx.TE_RICH2 , "return" : None, "event" : None, "attribs" : wx.TextAttr(alignment = wx.TEXT_ALIGNMENT_RIGHT)}, {"type" : "button", "value" : "Choose Colour...", "event" : self.OnAmbientChooseColor}, {"type" : "panel", "size" : (20,20), "style" : wx.SUNKEN_BORDER, "bgcolor" : self.ambientcolour},], [{"type" : "empty"},], ] self.parent.showObjectAttributes(self.Attributes, "Level Enviroment") def OnChooseColor(self, event): dlg = wx.ColourDialog(self.parent) dlg.GetColourData().SetChooseFull(True) if dlg.ShowModal() == wx.ID_OK: data = dlg.GetColourData() (r, g, b) = data.GetColour().Get() #print "Changing Background color to: ", str(float(r)) ,str(float(g)),str(float(b)) self.bgcolour.Set(r, g, b) self.ogreView.viewport.backgroundColour = ((float(r)/255), (float(g)/255), (float(b)/255)) self.object.clearcolor = ((float(r)/255), (float(g)/255), (float(b)/255)) dlg.Destroy() self.parent.update() def OnAmbientChooseColor(self, event): dlg = wx.ColourDialog(self.parent) dlg.GetColourData().SetChooseFull(True) if dlg.ShowModal() == wx.ID_OK: data = dlg.GetColourData() (r, g, b) = data.GetColour().Get() #print "Changing Background color to: ", str(float(r)) ,str(float(g)),str(float(b)) self.ambientcolour.Set(r, g, b) self.window.sceneManager.ambientLight = ((float(r)/255), (float(g)/255), (float(b)/255)) self.object.ambientlight = ((float(r)/255), (float(g)/255), (float(b)/255)) dlg.Destroy() self.parent.update()
[ 1, 1053, 26437, 13, 3166, 3671, 8903, 6691, 1053, 334, 13, 3166, 383, 1025, 7490, 4297, 1053, 334, 13, 3166, 3671, 8903, 4081, 15280, 1053, 334, 13, 13, 5215, 3671, 276, 29889, 9482, 261, 29889, 29949, 29954, 1525, 408, 3671, 276, 13, 13, 1990, 3671, 8903, 10108, 15801, 7490, 29898, 23310, 29889, 7490, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3847, 29892, 3474, 29892, 6503, 20350, 29892, 7256, 1125, 13, 4706, 26437, 29889, 7490, 17255, 2344, 12035, 1311, 29892, 3847, 29892, 448, 29896, 29892, 3114, 353, 26437, 29889, 29943, 3299, 29918, 1525, 7228, 10192, 29918, 1164, 29918, 1525, 14226, 29897, 13, 4706, 1583, 29889, 3784, 353, 6213, 13, 4706, 1583, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 14226, 29892, 1583, 29889, 2951, 3505, 29897, 13, 4706, 1583, 29889, 7165, 353, 3474, 13, 4706, 1583, 29889, 10314, 20350, 353, 6503, 20350, 13, 4706, 1583, 29889, 3560, 353, 3847, 13, 4706, 1583, 29889, 17662, 353, 7256, 13, 4706, 1583, 29889, 468, 276, 1043, 353, 6213, 13, 4706, 1583, 29889, 468, 276, 23472, 353, 6213, 13, 308, 13, 4706, 1583, 29889, 8391, 353, 5852, 13, 13, 13, 1678, 822, 1831, 29898, 1311, 29892, 4629, 353, 5852, 1125, 13, 4706, 1583, 29889, 8391, 353, 4629, 13, 308, 13, 1678, 822, 1510, 15801, 29898, 1311, 29892, 1134, 29892, 1203, 29892, 3987, 353, 6213, 29892, 2944, 353, 6213, 1125, 13, 4706, 1583, 29889, 3784, 353, 518, 1853, 29892, 1203, 29892, 3987, 29892, 2944, 29962, 13, 4706, 396, 1311, 29889, 8771, 7490, 353, 383, 1025, 7490, 4297, 29898, 1311, 29892, 26437, 29889, 1367, 29918, 2190, 29979, 29892, 26437, 29889, 4592, 8003, 29892, 13, 4706, 396, 18884, 1583, 29889, 2577, 3505, 3285, 3114, 353, 26437, 29889, 29943, 3299, 29918, 1525, 7228, 10192, 29918, 1164, 29918, 1525, 14226, 29897, 13, 308, 13, 4706, 565, 1134, 1275, 376, 6691, 4998, 1115, 13, 9651, 14945, 4998, 15801, 29898, 1311, 29892, 1203, 29892, 3987, 29892, 2944, 29897, 13, 308, 13, 4706, 565, 1134, 1275, 376, 6691, 1115, 13, 9651, 14945, 15801, 29898, 1311, 29892, 1203, 29892, 3987, 29892, 2944, 29897, 13, 308, 13, 4706, 565, 451, 1134, 1275, 6213, 29901, 13, 9651, 1209, 13, 9651, 396, 1523, 1860, 29898, 1311, 29892, 1203, 29892, 3987, 29892, 2944, 29897, 13, 4706, 396, 1311, 29889, 8964, 580, 13, 13, 1678, 822, 7704, 29898, 1311, 29892, 1134, 29892, 1203, 29892, 3987, 353, 6213, 29892, 2944, 353, 6213, 1125, 13, 4706, 1583, 29889, 3784, 353, 518, 1853, 29892, 1203, 29892, 3987, 29892, 2944, 29962, 13, 4706, 565, 1583, 29889, 8391, 1275, 5852, 29901, 13, 9651, 1583, 29889, 8771, 7490, 353, 383, 1025, 7490, 4297, 29898, 1311, 29892, 26437, 29889, 1367, 29918, 2190, 29979, 29892, 26437, 29889, 4592, 8003, 29892, 13, 462, 4706, 1583, 29889, 2577, 3505, 3285, 3114, 353, 26437, 29889, 29943, 3299, 29918, 1525, 7228, 10192, 29918, 1164, 29918, 1525, 14226, 29897, 13, 9651, 565, 451, 1583, 29889, 3784, 1275, 6213, 29901, 1583, 29889, 4294, 15801, 29898, 1311, 29889, 3784, 29961, 29900, 1402, 1583, 29889, 3784, 29961, 29896, 1402, 1583, 29889, 3784, 29961, 29906, 1402, 1583, 29889, 3784, 29961, 29941, 2314, 13, 9651, 565, 451, 1583, 29889, 468, 276, 1043, 1275, 6213, 29901, 1174, 2405, 2932, 5856, 29898, 1311, 29892, 313, 1311, 29889, 468, 276, 23472, 29892, 1583, 29889, 468, 276, 1043, 511, 1583, 29889, 10108, 1723, 13, 13, 1678, 822, 7868, 1043, 29898, 1311, 29892, 1776, 1125, 13, 4706, 1583, 29889, 468, 276, 1043, 353, 1776, 13, 4706, 1583, 29889, 5504, 580, 13, 308, 13, 1678, 822, 7868, 23472, 29898, 1311, 29892, 9088, 1125, 13, 4706, 1583, 29889, 468, 276, 23472, 353, 9088, 13, 4706, 1583, 29889, 5504, 580, 13, 268, 13, 1678, 822, 7868, 10108, 29898, 1311, 29892, 3233, 1125, 13, 4706, 1583, 29889, 10108, 353, 3233, 13, 308, 13, 1678, 822, 1551, 3505, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 5504, 580, 13, 268, 13, 1678, 822, 2821, 29898, 1311, 1125, 13, 4706, 1583, 29889, 14994, 4727, 19334, 580, 13, 268, 13, 1678, 822, 2767, 29898, 1311, 29892, 1741, 353, 6213, 1125, 13, 4706, 1583, 29889, 8551, 580, 13, 13, 4706, 565, 451, 1583, 29889, 3784, 1275, 6213, 29901, 13, 9651, 1583, 29889, 8551, 580, 13, 9651, 1583, 29889, 8964, 29898, 1311, 29889, 3784, 29961, 29900, 1402, 1583, 29889, 3784, 29961, 29896, 1402, 1583, 29889, 3784, 29961, 29906, 1402, 1583, 29889, 3784, 29961, 29941, 2314, 13, 308, 13, 4706, 396, 1311, 29889, 8964, 29898, 29876, 29892, 1583, 29889, 3784, 29961, 29896, 1402, 1583, 29889, 3784, 29961, 29906, 1402, 1583, 29889, 3784, 29961, 29941, 2314, 29871, 13, 268, 13, 1678, 822, 1510, 2061, 15801, 29898, 1311, 29892, 6212, 5026, 29892, 1024, 1125, 13, 13, 4706, 1897, 353, 313, 29945, 29892, 29871, 29896, 29900, 29945, 29892, 29871, 29906, 29900, 29945, 29897, 13, 4706, 1948, 353, 29871, 29906, 29906, 308, 13, 308, 13, 4706, 7243, 353, 1583, 29889, 8771, 7490, 29889, 2528, 29943, 1025, 7490, 29898, 978, 29892, 7700, 29897, 13, 13, 4706, 364, 353, 29871, 29900, 13, 4706, 260, 7207, 353, 26437, 29889, 7490, 29898, 8357, 29892, 448, 29896, 29892, 3114, 353, 26437, 29889, 29943, 3299, 29918, 1525, 7228, 10192, 29918, 1164, 29918, 1525, 14226, 29897, 13, 13, 4706, 363, 1098, 1091, 297, 6212, 5026, 29901, 13, 9651, 274, 353, 29871, 29900, 13, 9651, 363, 1948, 2001, 297, 1098, 1091, 29901, 13, 18884, 565, 1948, 2001, 3366, 1853, 3108, 1275, 376, 726, 1115, 29871, 13, 462, 1678, 5446, 353, 26437, 29889, 1626, 18069, 29898, 29873, 7207, 29892, 448, 29896, 1699, 613, 29871, 3114, 29922, 798, 2001, 3366, 3293, 12436, 926, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 876, 13, 462, 1678, 565, 451, 1948, 2001, 3366, 1131, 1091, 29879, 3108, 1275, 6213, 29901, 5446, 29889, 2697, 4592, 5568, 29898, 798, 2001, 3366, 1131, 1091, 29879, 20068, 13, 462, 1678, 5446, 29889, 6113, 1626, 29898, 798, 2001, 3366, 1767, 20068, 13, 462, 1678, 5446, 29889, 2697, 6103, 519, 29898, 798, 2001, 3366, 5628, 519, 20068, 13, 462, 1678, 565, 451, 1948, 2001, 3366, 3696, 3108, 1275, 6213, 29901, 13, 462, 4706, 5446, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 16975, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 2966, 1958, 3092, 1115, 13, 462, 1678, 1904, 3125, 353, 26437, 29889, 15184, 3125, 29898, 29873, 7207, 29892, 448, 29896, 29892, 798, 2001, 3366, 3027, 12436, 926, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 876, 13, 462, 1678, 1904, 3125, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 29933, 2692, 29911, 1164, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 17743, 23518, 1115, 13, 462, 1678, 419, 17801, 353, 26437, 29889, 26628, 29898, 29873, 7207, 29892, 448, 29896, 29892, 926, 7607, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 511, 19995, 29922, 798, 2001, 3366, 1767, 12436, 3114, 29922, 798, 2001, 3366, 3293, 12436, 2159, 353, 313, 1311, 29889, 2577, 3505, 23215, 552, 580, 29961, 29900, 29962, 448, 29947, 29892, 448, 29896, 876, 13, 462, 1678, 419, 17801, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 19795, 8456, 8456, 29990, 29892, 1948, 2001, 3366, 3696, 20068, 13, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 3092, 1115, 13, 462, 1678, 1904, 3125, 353, 26437, 29889, 3125, 29898, 29873, 7207, 29892, 448, 29896, 29892, 798, 2001, 3366, 1767, 12436, 926, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 876, 13, 462, 1678, 1904, 3125, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 29933, 2692, 29911, 1164, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 12348, 1115, 13, 462, 1678, 12527, 353, 26437, 29889, 28360, 29898, 29873, 7207, 29892, 448, 29896, 29892, 1948, 2001, 3366, 1767, 12436, 926, 353, 313, 4914, 29961, 29883, 10062, 29945, 29892, 1948, 29930, 29878, 876, 13, 462, 1678, 12527, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 3210, 16658, 8456, 29990, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 1678, 12527, 29889, 2697, 1917, 29898, 798, 2001, 3366, 3859, 20068, 13, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 23165, 1115, 13, 462, 1678, 23889, 353, 26437, 29889, 16973, 1241, 29898, 29873, 7207, 29892, 448, 29896, 29892, 995, 353, 1948, 2001, 3366, 1767, 12436, 29871, 13, 462, 9651, 1375, 1917, 353, 1948, 2001, 3366, 1195, 1917, 12436, 4236, 1917, 353, 1948, 2001, 3366, 3317, 1917, 12436, 13, 462, 9651, 3114, 353, 1948, 2001, 3366, 3293, 12436, 926, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 876, 13, 462, 1678, 23889, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 12750, 1367, 1001, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 15119, 1115, 13, 462, 1678, 9451, 353, 26437, 29889, 7490, 29898, 29873, 7207, 29892, 448, 29896, 29892, 926, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 511, 2159, 353, 1948, 2001, 3366, 2311, 12436, 3114, 29922, 1948, 2001, 3366, 3293, 20068, 13, 462, 1678, 9451, 29889, 2697, 10581, 1625, 473, 29898, 798, 2001, 3366, 16264, 2780, 20068, 13, 462, 1678, 9451, 29889, 27132, 29898, 5574, 29892, 6213, 29897, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 726, 24220, 1115, 13, 462, 1678, 1583, 29889, 726, 353, 26437, 29889, 1626, 18069, 29898, 29873, 7207, 29892, 448, 29896, 29892, 1948, 2001, 3366, 1767, 12436, 926, 7607, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 511, 2159, 353, 313, 1311, 29889, 2577, 3505, 23215, 552, 580, 29961, 29900, 29962, 448, 29947, 29892, 798, 2001, 3366, 3545, 3108, 511, 3293, 353, 1948, 2001, 3366, 3293, 20068, 13, 462, 1678, 1583, 29889, 726, 29889, 15708, 29898, 23310, 29889, 22240, 29911, 29918, 16975, 29892, 1948, 2001, 3366, 3696, 20068, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 9342, 1115, 13, 462, 1678, 1426, 353, 26437, 29889, 17046, 1626, 29898, 29873, 7207, 29892, 448, 29896, 29892, 1643, 353, 1948, 2001, 3366, 1643, 12436, 1066, 353, 313, 4914, 29961, 29883, 1402, 1948, 29930, 29878, 876, 13, 462, 13, 18884, 25342, 1948, 2001, 3366, 1853, 3108, 1275, 376, 6310, 1115, 13, 462, 1678, 1209, 13, 462, 13, 18884, 274, 4619, 29871, 29896, 13, 9651, 364, 4619, 29871, 29896, 13, 4706, 260, 7207, 29889, 29943, 277, 580, 13, 4706, 1583, 29889, 8771, 7490, 29889, 2528, 29943, 1025, 7490, 5907, 29898, 8357, 29892, 260, 7207, 29897, 13, 13, 1990, 14945, 15801, 29901, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9451, 29892, 1203, 29892, 5447, 29892, 2944, 1125, 13, 308, 13, 4706, 1583, 29889, 15119, 353, 9451, 13, 4706, 1583, 29889, 3318, 353, 1203, 13, 4706, 1583, 29889, 8336, 353, 5447, 13, 4706, 1583, 29889, 667, 353, 2944, 13, 13, 4706, 1583, 29889, 15801, 353, 518, 13, 4706, 518, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 1170, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 1583, 29889, 3318, 29889, 978, 29892, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 1170, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 29871, 13, 4706, 21251, 13, 4706, 518, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 1170, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 1583, 29889, 3318, 29889, 1445, 2084, 29892, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 1170, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 29871, 13, 4706, 21251, 13, 4706, 4514, 13, 308, 13, 4706, 1583, 29889, 15119, 29889, 4294, 2061, 15801, 29898, 1311, 29889, 15801, 29892, 376, 6691, 1159, 13, 13, 1678, 822, 1551, 6691, 1170, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 3318, 29889, 978, 353, 1741, 29889, 2577, 4032, 2061, 2141, 2577, 1917, 580, 13, 4706, 1583, 29889, 8336, 29889, 2697, 2001, 1626, 29898, 1311, 29889, 667, 29892, 1583, 29889, 3318, 29889, 978, 718, 376, 448, 14945, 1159, 13, 13, 1990, 14945, 4998, 15801, 29901, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9451, 29892, 1203, 29892, 5447, 29892, 2944, 1125, 13, 308, 13, 4706, 1583, 29889, 15119, 353, 9451, 13, 4706, 1583, 29889, 3318, 353, 1203, 13, 4706, 1583, 29889, 8336, 353, 5447, 13, 4706, 1583, 29889, 667, 353, 2944, 13, 13, 4706, 1583, 29889, 15801, 353, 518, 13, 4706, 518, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 1170, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 5852, 29892, 376, 1767, 29908, 584, 1583, 29889, 3318, 29889, 978, 29892, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 1170, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 29871, 13, 4706, 4514, 13, 4706, 396, 2787, 20627, 308, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 14058, 20627, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 1919, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 1402, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 29990, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 5852, 29892, 376, 1767, 29908, 584, 851, 29898, 1311, 29889, 3318, 29889, 3283, 29961, 29900, 11724, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 8003, 29990, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 21251, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 29979, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 5852, 29892, 376, 1767, 29908, 584, 851, 29898, 1311, 29889, 3318, 29889, 3283, 29961, 29896, 11724, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 8003, 29979, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 21251, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 29999, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 29892, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 5852, 29892, 376, 1767, 29908, 584, 851, 29898, 1311, 29889, 3318, 29889, 3283, 29961, 29906, 11724, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 22789, 3912, 29892, 376, 3696, 29908, 584, 1583, 29889, 2951, 6691, 8003, 29999, 29892, 376, 1131, 1091, 29879, 29908, 584, 6213, 1118, 21251, 13, 4706, 4514, 13, 308, 13, 4706, 1583, 29889, 15119, 29889, 4294, 2061, 15801, 29898, 1311, 29889, 15801, 29892, 376, 6691, 2799, 749, 1159, 13, 13, 1678, 822, 1551, 6691, 1170, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 3318, 29889, 978, 353, 1741, 29889, 2577, 4032, 2061, 2141, 2577, 1917, 580, 13, 4706, 1583, 29889, 8336, 29889, 2697, 2001, 1626, 29898, 1311, 29889, 667, 29892, 1583, 29889, 3318, 29889, 978, 718, 376, 448, 14945, 2799, 749, 1159, 13, 13, 1678, 822, 1551, 6691, 8003, 29990, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 3318, 29889, 3283, 29889, 29916, 353, 5785, 29898, 3696, 29889, 2577, 4032, 2061, 2141, 2577, 1917, 3101, 13, 4706, 396, 1311, 29889, 5504, 580, 13, 1678, 822, 1551, 6691, 8003, 29979, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 3318, 29889, 3283, 29889, 29891, 353, 5785, 29898, 3696, 29889, 2577, 4032, 2061, 2141, 2577, 1917, 3101, 13, 4706, 396, 1311, 29889, 5504, 580, 13, 1678, 822, 1551, 6691, 8003, 29999, 29898, 1311, 29892, 1741, 1125, 13, 4706, 1583, 29889, 3318, 29889, 3283, 29889, 29920, 353, 5785, 29898, 3696, 29889, 2577, 4032, 2061, 2141, 2577, 1917, 3101, 13, 4706, 396, 1311, 29889, 5504, 580, 13, 13, 1990, 1174, 2405, 2932, 5856, 29901, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3847, 29892, 3474, 29892, 1203, 1125, 13, 4706, 1583, 29889, 3560, 353, 3847, 13, 4706, 1583, 29889, 7165, 29892, 1583, 29889, 468, 276, 1043, 353, 3474, 13, 4706, 1583, 29889, 3318, 353, 1203, 13, 308, 13, 4706, 1583, 29889, 16264, 1054, 473, 353, 26437, 29889, 1625, 473, 29898, 29900, 29892, 29900, 29892, 29900, 29897, 13, 4706, 5694, 2780, 353, 1583, 29889, 468, 276, 1043, 29889, 1493, 637, 29889, 7042, 1625, 473, 13, 4706, 1583, 29889, 16264, 1054, 473, 353, 26437, 29889, 1625, 473, 29898, 524, 29898, 7382, 2780, 29889, 29878, 29930, 29906, 29945, 29945, 29889, 29900, 511, 524, 29898, 7382, 2780, 29889, 29887, 29930, 29906, 29945, 29945, 29889, 29900, 511, 938, 29898, 7382, 2780, 29889, 29890, 29930, 29906, 29945, 29945, 29889, 29900, 876, 13, 13, 4706, 1583, 29889, 1117, 993, 1054, 473, 353, 26437, 29889, 1625, 473, 29898, 29900, 29892, 29900, 29892, 29900, 29897, 13, 4706, 5694, 2780, 353, 1583, 29889, 7165, 29889, 24645, 3260, 29889, 1117, 993, 20769, 13, 4706, 1583, 29889, 1117, 993, 1054, 473, 353, 26437, 29889, 1625, 473, 29898, 524, 29898, 7382, 2780, 29889, 29878, 29930, 29906, 29945, 29945, 29889, 29900, 511, 524, 29898, 7382, 2780, 29889, 29887, 29930, 29906, 29945, 29945, 29889, 29900, 511, 938, 29898, 7382, 2780, 29889, 29890, 29930, 29906, 29945, 29945, 29889, 29900, 876, 13, 308, 13, 4706, 1583, 29889, 15801, 353, 518, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 10581, 9159, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 1919, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 3092, 613, 376, 1767, 29908, 584, 376, 15954, 852, 1530, 473, 856, 613, 376, 3696, 29908, 584, 1583, 29889, 2951, 15954, 852, 3306, 1118, 13, 4706, 8853, 1853, 29908, 584, 376, 15119, 613, 376, 2311, 29908, 584, 313, 29906, 29900, 29892, 29906, 29900, 511, 376, 3293, 29908, 584, 26437, 29889, 29903, 3904, 29968, 1430, 29918, 29933, 22364, 29892, 376, 16264, 2780, 29908, 584, 1583, 29889, 16264, 1054, 473, 1118, 1402, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 726, 613, 376, 5628, 519, 29908, 584, 7700, 29892, 376, 1767, 29908, 584, 376, 6833, 29890, 993, 12790, 9159, 613, 376, 3293, 29908, 584, 26437, 29889, 4330, 29918, 28024, 891, 26437, 29889, 4330, 29918, 29934, 2965, 29950, 29906, 1919, 376, 2457, 29908, 584, 6213, 29892, 376, 3696, 29908, 584, 6213, 29892, 376, 1131, 1091, 29879, 29908, 584, 26437, 29889, 1626, 25098, 29898, 2520, 358, 353, 26437, 29889, 16975, 29918, 1964, 17298, 13780, 29918, 22789, 3912, 19230, 13, 4706, 8853, 1853, 29908, 584, 376, 3092, 613, 376, 1767, 29908, 584, 376, 15954, 852, 1530, 473, 856, 613, 376, 3696, 29908, 584, 1583, 29889, 2951, 6833, 29890, 993, 15954, 852, 3306, 1118, 13, 4706, 8853, 1853, 29908, 584, 376, 15119, 613, 376, 2311, 29908, 584, 313, 29906, 29900, 29892, 29906, 29900, 511, 376, 3293, 29908, 584, 26437, 29889, 29903, 3904, 29968, 1430, 29918, 29933, 22364, 29892, 376, 16264, 2780, 29908, 584, 1583, 29889, 1117, 993, 1054, 473, 1118, 1402, 13, 4706, 518, 6377, 1853, 29908, 584, 376, 6310, 10758, 1402, 13, 4706, 4514, 13, 308, 13, 4706, 1583, 29889, 3560, 29889, 4294, 2061, 15801, 29898, 1311, 29889, 15801, 29892, 376, 10108, 1174, 2405, 2932, 1159, 13, 13, 13, 1678, 822, 1551, 15954, 852, 3306, 29898, 1311, 29892, 1741, 1125, 13, 13, 4706, 270, 19920, 353, 26437, 29889, 1625, 473, 7647, 29898, 1311, 29889, 3560, 29897, 13, 4706, 270, 19920, 29889, 2577, 1625, 473, 1469, 2141, 2697, 15954, 852, 13658, 29898, 5574, 29897, 13, 4706, 565, 270, 19920, 29889, 8964, 19751, 580, 1275, 26437, 29889, 1367, 29918, 8949, 29901, 13, 9651, 848, 353, 270, 19920, 29889, 2577, 1625, 473, 1469, 580, 13, 9651, 313, 29878, 29892, 330, 29892, 289, 29897, 353, 848, 29889, 2577, 1625, 473, 2141, 2577, 580, 13, 9651, 396, 2158, 376, 1451, 9776, 16585, 2927, 304, 29901, 9162, 851, 29898, 7411, 29898, 29878, 876, 1919, 710, 29898, 7411, 29898, 29887, 8243, 710, 29898, 7411, 29898, 29890, 876, 13, 9651, 1583, 29889, 16264, 1054, 473, 29889, 2697, 29898, 29878, 29892, 330, 29892, 289, 29897, 13, 9651, 1583, 29889, 468, 276, 1043, 29889, 1493, 637, 29889, 7042, 1625, 473, 353, 5135, 7411, 29898, 29878, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29887, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29890, 6802, 29906, 29945, 29945, 876, 13, 9651, 1583, 29889, 3318, 29889, 8551, 2780, 353, 5135, 7411, 29898, 29878, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29887, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29890, 6802, 29906, 29945, 29945, 876, 4706, 13, 4706, 270, 19920, 29889, 14994, 4727, 580, 13, 13, 4706, 1583, 29889, 3560, 29889, 5504, 580, 13, 13, 1678, 822, 1551, 6833, 29890, 993, 15954, 852, 3306, 29898, 1311, 29892, 1741, 1125, 13, 13, 4706, 270, 19920, 353, 26437, 29889, 1625, 473, 7647, 29898, 1311, 29889, 3560, 29897, 13, 4706, 270, 19920, 29889, 2577, 1625, 473, 1469, 2141, 2697, 15954, 852, 13658, 29898, 5574, 29897, 13, 4706, 565, 270, 19920, 29889, 8964, 19751, 580, 1275, 26437, 29889, 1367, 29918, 8949, 29901, 13, 9651, 848, 353, 270, 19920, 29889, 2577, 1625, 473, 1469, 580, 13, 9651, 313, 29878, 29892, 330, 29892, 289, 29897, 353, 848, 29889, 2577, 1625, 473, 2141, 2577, 580, 13, 9651, 396, 2158, 376, 1451, 9776, 16585, 2927, 304, 29901, 9162, 851, 29898, 7411, 29898, 29878, 876, 1919, 710, 29898, 7411, 29898, 29887, 8243, 710, 29898, 7411, 29898, 29890, 876, 13, 9651, 1583, 29889, 1117, 993, 1054, 473, 29889, 2697, 29898, 29878, 29892, 330, 29892, 289, 29897, 13, 9651, 1583, 29889, 7165, 29889, 24645, 3260, 29889, 1117, 993, 20769, 353, 5135, 7411, 29898, 29878, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29887, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29890, 6802, 29906, 29945, 29945, 876, 13, 9651, 1583, 29889, 3318, 29889, 1117, 993, 4366, 353, 5135, 7411, 29898, 29878, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29887, 6802, 29906, 29945, 29945, 511, 313, 7411, 29898, 29890, 6802, 29906, 29945, 29945, 876, 4706, 13, 632, 13, 4706, 270, 19920, 29889, 14994, 4727, 580, 13, 13, 4706, 1583, 29889, 3560, 29889, 5504, 580, 2 ]
litex_boards/targets/digilent_cmod_a7.py
vacajk/litex-boards
0
67400
<gh_stars>0 #!/usr/bin/env python3 # # This file is part of LiteX-Boards. # # Copyright (c) 2021 <NAME> <<EMAIL>> # SPDX-License-Identifier: BSD-2-Clause import os import sys import argparse from migen import * from litex.build.io import CRG from litex.build.xilinx.vivado import vivado_build_args, vivado_build_argdict from litex_boards.platforms import digilent_cmod_a7 from litex.soc.cores.clock import * from litex.soc.integration.soc_core import * from litex.soc.integration.soc import SoCRegion from litex.soc.integration.builder import * from litex.soc.cores.led import LedChaser from litex.soc.interconnect import wishbone from litex.soc.integration.soc import colorer kB = 1024 mB = 1024*kB class _CRG(Module): def __init__(self, platform, sys_clk_freq): self.rst = Signal() self.clock_domains.cd_sys = ClockDomain() # # # # Clk/Rst. clk12 = platform.request("clk12") rst = platform.request("cpu_reset") # PLL. self.submodules.pll = pll = S7MMCM(speedgrade=-1) self.comb += pll.reset.eq(rst | self.rst) pll.register_clkin(clk12, 12e6) pll.create_clkout(self.cd_sys, sys_clk_freq) platform.add_false_path_constraints(self.cd_sys.clk, pll.clkin) # Ignore sys_clk to pll.clkin path created by SoC's rst. # AsyncSRAM ------------------------------------------------------------------------------------------ class AsyncSRAM(Module): def __init__(self, platform, size): addr_width = size//8 data_width = 8 self.bus = wishbone.Interface(data_width=data_width,adr_width=addr_width) issiram = platform.request("issiram") addr = issiram.addr data = issiram.data wen = issiram.wen cen = issiram.cen ######################## tristate_data = TSTriple(data_width) self.specials += tristate_data.get_tristate(data) ######################## chip_ena = self.bus.cyc & self.bus.stb & self.bus.sel[0] write_ena = (chip_ena & self.bus.we) ######################## # external write enable, # external chip enable, # internal tristate write enable ######################## self.comb += [ cen.eq(~chip_ena), wen.eq(~write_ena), tristate_data.oe.eq(write_ena) ] ######################## # address and data ######################## self.comb += [ addr.eq(self.bus.adr[:addr_width]), self.bus.dat_r.eq(tristate_data.i[:data_width]), tristate_data.o.eq(self.bus.dat_w[:data_width]) ] ######################## # generate ack ######################## self.sync += [ self.bus.ack.eq(self.bus.cyc & self.bus.stb & ~self.bus.ack), ] ######################## def addAsyncSram(soc, platform, name, origin, size): ram_bus = wishbone.Interface(data_width=soc.bus.data_width) ram = AsyncSRAM(platform,size) soc.bus.add_slave(name, ram.bus, SoCRegion(origin=origin, size=size, mode="rw")) soc.check_if_exists(name) soc.logger.info("ISSIRAM {} {} {}.".format( colorer(name), colorer("added", color="green"), soc.bus.regions[name])) setattr(soc.submodules, name, ram) # BaseSoC ------------------------------------------------------------------------------------------ class BaseSoC(SoCCore): def __init__(self, variant="a7-35", toolchain = "vivado", sys_clk_freq = int(100e6), with_led_chaser = True, **kwargs): platform = digilent_cmod_a7.Platform(variant=variant, toolchain=toolchain) # SoCCore ---------------------------------------------------------------------------------- SoCCore.__init__(self, platform, sys_clk_freq, ident = "LiteX SoC on Digilent CmodA7", **kwargs) # CRG -------------------------------------------------------------------------------------- self.submodules.crg = _CRG(platform, sys_clk_freq) addAsyncSram(self,platform,"main_ram",0x40000000,512*1024) # Leds ------------------------------------------------------------------------------------- if with_led_chaser: self.submodules.leds = LedChaser( pads = platform.request_all("user_led"), sys_clk_freq = sys_clk_freq) # Build -------------------------------------------------------------------------------------------- def main(): parser = argparse.ArgumentParser(description="LiteX SoC on CMOD A7") parser.add_argument("--toolchain", default="vivado", help="FPGA toolchain (vivado or symbiflow).") parser.add_argument("--build", action="store_true", help="Build bitstream.") parser.add_argument("--load", action="store_true", help="Load bitstream.") parser.add_argument("--variant", default="a7-35", help="Board variant (a7-35 or a7-100).") parser.add_argument("--sys-clk-freq", default=48e6, help="System clock frequency.") builder_args(parser) soc_core_args(parser) vivado_build_args(parser) args = parser.parse_args() soc = BaseSoC( variant = args.variant, toolchain = args.toolchain, sys_clk_freq = int(float(args.sys_clk_freq)), **soc_core_argdict(args) ) builder_argd = builder_argdict(args) builder = Builder(soc, **builder_argd) builder_kwargs = vivado_build_argdict(args) if args.toolchain == "vivado" else {} builder.build(**builder_kwargs, run=args.build) if args.load: prog = soc.platform.create_programmer() prog.load_bitstream(os.path.join(builder.gateware_dir, soc.build_name + ".bit")) if __name__ == "__main__": main()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 29937, 13, 29937, 910, 934, 338, 760, 310, 365, 568, 29990, 29899, 8431, 3163, 29889, 13, 29937, 13, 29937, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29906, 29896, 529, 5813, 29958, 3532, 26862, 6227, 6778, 13, 29937, 10937, 29928, 29990, 29899, 29931, 293, 1947, 29899, 12889, 29901, 350, 7230, 29899, 29906, 29899, 20216, 1509, 13, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 1852, 5510, 13, 13, 3166, 286, 2101, 1053, 334, 13, 13, 3166, 301, 568, 29916, 29889, 4282, 29889, 601, 1053, 15600, 29954, 13, 3166, 301, 568, 29916, 29889, 4282, 29889, 29916, 309, 14668, 29889, 24759, 912, 1053, 9364, 912, 29918, 4282, 29918, 5085, 29892, 9364, 912, 29918, 4282, 29918, 1191, 8977, 13, 13, 3166, 301, 568, 29916, 29918, 24691, 29889, 12120, 29879, 1053, 4697, 309, 296, 29918, 29883, 1545, 29918, 29874, 29955, 13, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 29883, 2361, 29889, 13058, 1053, 334, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 27925, 29889, 29879, 542, 29918, 3221, 1053, 334, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 27925, 29889, 29879, 542, 1053, 1105, 29907, 18457, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 27925, 29889, 16409, 1053, 334, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 29883, 2361, 29889, 839, 1053, 28934, 1451, 29440, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 1639, 6915, 1053, 6398, 15933, 13, 13, 3166, 301, 568, 29916, 29889, 29879, 542, 29889, 27925, 29889, 29879, 542, 1053, 2927, 261, 13, 13, 29895, 29933, 353, 29871, 29896, 29900, 29906, 29946, 13, 29885, 29933, 353, 29871, 29896, 29900, 29906, 29946, 29930, 29895, 29933, 13, 13, 1990, 903, 11341, 29954, 29898, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 7481, 29892, 10876, 29918, 20495, 29918, 29888, 7971, 1125, 13, 4706, 1583, 29889, 29878, 303, 353, 9954, 284, 580, 13, 4706, 1583, 29889, 13058, 29918, 3129, 2708, 29889, 2252, 29918, 9675, 353, 315, 908, 15951, 580, 13, 13, 4706, 396, 396, 396, 13, 13, 4706, 396, 2233, 29895, 29914, 29934, 303, 29889, 13, 4706, 1067, 29895, 29896, 29906, 353, 7481, 29889, 3827, 703, 20495, 29896, 29906, 1159, 13, 4706, 364, 303, 259, 353, 7481, 29889, 3827, 703, 21970, 29918, 12071, 1159, 13, 13, 4706, 396, 349, 2208, 29889, 13, 4706, 1583, 29889, 1491, 7576, 29889, 572, 29880, 353, 282, 645, 353, 317, 29955, 7428, 24494, 29898, 19322, 8228, 10457, 29896, 29897, 13, 4706, 1583, 29889, 17743, 4619, 282, 645, 29889, 12071, 29889, 1837, 29898, 29878, 303, 891, 1583, 29889, 29878, 303, 29897, 13, 4706, 282, 645, 29889, 9573, 29918, 695, 9089, 29898, 20495, 29896, 29906, 29892, 29871, 29896, 29906, 29872, 29953, 29897, 13, 4706, 282, 645, 29889, 3258, 29918, 20495, 449, 29898, 1311, 29889, 2252, 29918, 9675, 29892, 10876, 29918, 20495, 29918, 29888, 7971, 29897, 13, 4706, 7481, 29889, 1202, 29918, 4541, 29918, 2084, 29918, 13646, 29879, 29898, 1311, 29889, 2252, 29918, 9675, 29889, 20495, 29892, 282, 645, 29889, 695, 9089, 29897, 396, 18076, 487, 10876, 29918, 20495, 304, 282, 645, 29889, 695, 9089, 2224, 2825, 491, 1105, 29907, 29915, 29879, 364, 303, 29889, 13, 13, 29937, 20688, 29903, 25058, 448, 2683, 2683, 2683, 2683, 2683, 1378, 29899, 13, 13, 1990, 20688, 29903, 25058, 29898, 7355, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 7481, 29892, 2159, 1125, 13, 4706, 28915, 29918, 2103, 353, 2159, 458, 29947, 13, 4706, 848, 29918, 2103, 353, 29871, 29947, 13, 4706, 1583, 29889, 8262, 353, 6398, 15933, 29889, 10448, 29898, 1272, 29918, 2103, 29922, 1272, 29918, 2103, 29892, 7887, 29918, 2103, 29922, 10030, 29918, 2103, 29897, 13, 4706, 1721, 381, 314, 353, 7481, 29889, 3827, 703, 790, 381, 314, 1159, 13, 4706, 28915, 353, 1721, 381, 314, 29889, 10030, 13, 4706, 848, 353, 1721, 381, 314, 29889, 1272, 13, 4706, 12987, 353, 1721, 381, 314, 29889, 15556, 13, 4706, 274, 264, 353, 1721, 381, 314, 29889, 10278, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 534, 391, 403, 29918, 1272, 353, 323, 1254, 374, 552, 29898, 1272, 29918, 2103, 29897, 13, 4706, 1583, 29889, 5965, 455, 1338, 4619, 534, 391, 403, 29918, 1272, 29889, 657, 29918, 509, 391, 403, 29898, 1272, 29897, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 29830, 29918, 2386, 353, 1583, 29889, 8262, 29889, 8798, 669, 1583, 29889, 8262, 29889, 303, 29890, 669, 1583, 29889, 8262, 29889, 2838, 29961, 29900, 29962, 13, 4706, 2436, 29918, 2386, 353, 313, 305, 666, 29918, 2386, 669, 1583, 29889, 8262, 29889, 705, 29897, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 396, 7029, 2436, 9025, 29892, 29871, 13, 4706, 396, 7029, 29830, 9025, 29892, 29871, 13, 4706, 396, 7463, 534, 391, 403, 2436, 9025, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 1583, 29889, 17743, 4619, 518, 13, 9651, 274, 264, 29889, 1837, 29898, 30022, 305, 666, 29918, 2386, 511, 13, 9651, 12987, 29889, 1837, 29898, 30022, 3539, 29918, 2386, 511, 13, 9651, 534, 391, 403, 29918, 1272, 29889, 7297, 29889, 1837, 29898, 3539, 29918, 2386, 29897, 13, 4706, 4514, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 396, 3211, 322, 848, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 1583, 29889, 17743, 4619, 518, 13, 9651, 28915, 29889, 1837, 29898, 1311, 29889, 8262, 29889, 7887, 7503, 10030, 29918, 2103, 11724, 13, 9651, 1583, 29889, 8262, 29889, 4130, 29918, 29878, 29889, 1837, 29898, 509, 391, 403, 29918, 1272, 29889, 29875, 7503, 1272, 29918, 2103, 11724, 13, 9651, 534, 391, 403, 29918, 1272, 29889, 29877, 29889, 1837, 29898, 1311, 29889, 8262, 29889, 4130, 29918, 29893, 7503, 1272, 29918, 2103, 2314, 13, 4706, 4514, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 396, 5706, 263, 384, 13, 4706, 835, 13383, 4136, 29937, 13, 4706, 1583, 29889, 16593, 4619, 518, 13, 9651, 1583, 29889, 8262, 29889, 547, 29889, 1837, 29898, 1311, 29889, 8262, 29889, 8798, 669, 1583, 29889, 8262, 29889, 303, 29890, 669, 3695, 1311, 29889, 8262, 29889, 547, 511, 13, 4706, 4514, 13, 4706, 835, 13383, 4136, 29937, 13, 13, 1753, 788, 8123, 29903, 2572, 29898, 29879, 542, 29892, 7481, 29892, 1024, 29892, 3978, 29892, 2159, 1125, 13, 1678, 13472, 29918, 8262, 353, 6398, 15933, 29889, 10448, 29898, 1272, 29918, 2103, 29922, 29879, 542, 29889, 8262, 29889, 1272, 29918, 2103, 29897, 13, 1678, 13472, 268, 353, 20688, 29903, 25058, 29898, 12120, 29892, 2311, 29897, 13, 1678, 17874, 29889, 8262, 29889, 1202, 29918, 29879, 18398, 29898, 978, 29892, 13472, 29889, 8262, 29892, 1105, 29907, 18457, 29898, 12574, 29922, 12574, 29892, 2159, 29922, 2311, 29892, 4464, 543, 13975, 5783, 13, 1678, 17874, 29889, 3198, 29918, 361, 29918, 9933, 29898, 978, 29897, 13, 1678, 17874, 29889, 21707, 29889, 3888, 703, 29902, 1799, 29902, 25058, 6571, 6571, 6571, 1213, 29889, 4830, 29898, 13, 4706, 2927, 261, 29898, 978, 511, 13, 4706, 2927, 261, 703, 23959, 613, 2927, 543, 12692, 4968, 13, 4706, 17874, 29889, 8262, 29889, 1727, 1080, 29961, 978, 12622, 13, 1678, 731, 5552, 29898, 29879, 542, 29889, 1491, 7576, 29892, 1024, 29892, 13472, 29897, 13, 13, 29937, 7399, 6295, 29907, 448, 2683, 2683, 2683, 2683, 2683, 1378, 29899, 13, 13, 1990, 7399, 6295, 29907, 29898, 6295, 4174, 487, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 29871, 17305, 543, 29874, 29955, 29899, 29941, 29945, 613, 13, 4706, 5780, 14153, 539, 353, 376, 24759, 912, 613, 13, 4706, 10876, 29918, 20495, 29918, 29888, 7971, 1678, 353, 938, 29898, 29896, 29900, 29900, 29872, 29953, 511, 13, 4706, 411, 29918, 839, 29918, 27148, 261, 353, 5852, 29892, 13, 4706, 3579, 19290, 1125, 13, 13, 4706, 7481, 353, 4697, 309, 296, 29918, 29883, 1545, 29918, 29874, 29955, 29889, 21889, 29898, 19365, 29922, 19365, 29892, 5780, 14153, 29922, 10154, 14153, 29897, 13, 13, 4706, 396, 1105, 4174, 487, 448, 2683, 2683, 2683, 2683, 2683, 29899, 13, 4706, 1105, 4174, 487, 17255, 2344, 12035, 1311, 29892, 7481, 29892, 10876, 29918, 20495, 29918, 29888, 7971, 29892, 13, 9651, 2893, 353, 376, 29931, 568, 29990, 1105, 29907, 373, 10951, 309, 296, 315, 1545, 29909, 29955, 613, 13, 9651, 3579, 19290, 29897, 13, 13, 4706, 396, 15600, 29954, 448, 2683, 2683, 2683, 2683, 2683, 23648, 13, 4706, 1583, 29889, 1491, 7576, 29889, 7283, 29887, 353, 903, 11341, 29954, 29898, 12120, 29892, 10876, 29918, 20495, 29918, 29888, 7971, 29897, 13, 13, 4706, 788, 8123, 29903, 2572, 29898, 1311, 29892, 12120, 1699, 3396, 29918, 2572, 613, 29900, 29916, 29946, 29900, 29900, 29900, 29900, 29900, 29900, 29900, 29892, 29945, 29896, 29906, 29930, 29896, 29900, 29906, 29946, 29897, 308, 13, 13, 4706, 396, 365, 5779, 448, 2683, 2683, 2683, 2683, 2683, 807, 13, 4706, 565, 411, 29918, 839, 29918, 27148, 261, 29901, 13, 9651, 1583, 29889, 1491, 7576, 29889, 839, 29879, 353, 28934, 1451, 29440, 29898, 13, 18884, 282, 7925, 308, 353, 7481, 29889, 3827, 29918, 497, 703, 1792, 29918, 839, 4968, 13, 18884, 10876, 29918, 20495, 29918, 29888, 7971, 353, 10876, 29918, 20495, 29918, 29888, 7971, 29897, 13, 13, 29937, 8878, 448, 2683, 2683, 2683, 2683, 2683, 1378, 5634, 13, 13, 1753, 1667, 7295, 13, 1678, 13812, 353, 1852, 5510, 29889, 15730, 11726, 29898, 8216, 543, 29931, 568, 29990, 1105, 29907, 373, 315, 6720, 29928, 319, 29955, 1159, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 10154, 14153, 613, 1678, 2322, 543, 24759, 912, 613, 1678, 1371, 543, 26353, 12739, 5780, 14153, 313, 24759, 912, 470, 5016, 29890, 361, 677, 467, 1159, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 4282, 613, 4706, 3158, 543, 8899, 29918, 3009, 613, 1371, 543, 8893, 2586, 5461, 23157, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 1359, 613, 308, 3158, 543, 8899, 29918, 3009, 613, 1371, 543, 5896, 2586, 5461, 23157, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 19365, 613, 418, 2322, 543, 29874, 29955, 29899, 29941, 29945, 613, 268, 1371, 543, 28397, 17305, 313, 29874, 29955, 29899, 29941, 29945, 470, 263, 29955, 29899, 29896, 29900, 29900, 467, 1159, 13, 1678, 13812, 29889, 1202, 29918, 23516, 703, 489, 9675, 29899, 20495, 29899, 29888, 7971, 613, 2322, 29922, 29946, 29947, 29872, 29953, 29892, 4706, 1371, 543, 3924, 12006, 10868, 23157, 13, 13, 1678, 12856, 29918, 5085, 29898, 16680, 29897, 13, 1678, 17874, 29918, 3221, 29918, 5085, 29898, 16680, 29897, 13, 1678, 9364, 912, 29918, 4282, 29918, 5085, 29898, 16680, 29897, 13, 1678, 6389, 353, 13812, 29889, 5510, 29918, 5085, 580, 13, 13, 1678, 17874, 353, 7399, 6295, 29907, 29898, 13, 4706, 17305, 965, 353, 6389, 29889, 19365, 29892, 13, 4706, 5780, 14153, 308, 353, 6389, 29889, 10154, 14153, 29892, 13, 4706, 10876, 29918, 20495, 29918, 29888, 7971, 418, 353, 938, 29898, 7411, 29898, 5085, 29889, 9675, 29918, 20495, 29918, 29888, 7971, 8243, 13, 4706, 3579, 29879, 542, 29918, 3221, 29918, 1191, 8977, 29898, 5085, 29897, 13, 1678, 1723, 13, 13, 1678, 12856, 29918, 1191, 29881, 353, 12856, 29918, 1191, 8977, 29898, 5085, 29897, 13, 13, 1678, 12856, 353, 5373, 2700, 29898, 29879, 542, 29892, 3579, 16409, 29918, 1191, 29881, 29897, 13, 1678, 12856, 29918, 19290, 353, 9364, 912, 29918, 4282, 29918, 1191, 8977, 29898, 5085, 29897, 565, 6389, 29889, 10154, 14153, 1275, 376, 24759, 912, 29908, 1683, 6571, 13, 13, 1678, 12856, 29889, 4282, 29898, 1068, 16409, 29918, 19290, 29892, 1065, 29922, 5085, 29889, 4282, 29897, 13, 13, 1678, 565, 6389, 29889, 1359, 29901, 13, 4706, 410, 29887, 353, 17874, 29889, 12120, 29889, 3258, 29918, 8860, 1050, 580, 13, 4706, 410, 29887, 29889, 1359, 29918, 2966, 5461, 29898, 359, 29889, 2084, 29889, 7122, 29898, 16409, 29889, 17062, 2519, 29918, 3972, 29892, 17874, 29889, 4282, 29918, 978, 718, 11393, 2966, 5783, 13, 13, 361, 4770, 978, 1649, 1275, 376, 1649, 3396, 1649, 1115, 13, 1678, 1667, 580, 13, 2 ]
venv/Lib/site-packages/pymessenger/bot.py
shivamsahni/Bot-to-live
0
41116
import json import requests from requests_toolbelt import MultipartEncoder from pymessenger.graph_api import FacebookGraphApi import pymessenger.utils as utils class Bot(FacebookGraphApi): def __init__(self, *args, **kwargs): super(Bot, self).__init__(*args, **kwargs) def send_text_message(self, recipient_id, message): '''Send text messages to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/text-message Input: recipient_id: recipient id to send to message: message to send Output: Response from API as <dict> ''' payload = { 'recipient': { 'id': recipient_id }, 'message': { 'text': message } } return self.send_raw(payload) def send_message(self, recipient_id, message): '''Send text messages to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/text-message Input: recipient_id: recipient id to send to message: raw message to send Output: Response from API as <dict> ''' payload = { 'recipient': { 'id': recipient_id }, 'message': message } return self.send_raw(payload) def send_generic_message(self, recipient_id, elements): '''Send generic messages to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/generic-template Input: recipient_id: recipient id to send to elements: generic message elements to send Output: Response from API as <dict> ''' payload = { 'recipient': { 'id': recipient_id }, 'message': { "attachment": { "type": "template", "payload": { "template_type": "generic", "elements": elements } } } } return self.send_raw(payload) def send_button_message(self, recipient_id, text, buttons): '''Send text messages to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template Input: recipient_id: recipient id to send to text: text of message to send buttons: buttons to send Output: Response from API as <dict> ''' payload = { 'recipient': { 'id': recipient_id }, 'message': { "attachment": { "type": "template", "payload": { "template_type": "button", "text": text, "buttons": buttons } } } } return self.send_raw(payload) def send_image(self, recipient_id, image_path): '''Send an image to the specified recipient. Image must be PNG or JPEG or GIF (more might be supported). https://developers.facebook.com/docs/messenger-platform/send-api-reference/image-attachment Input: recipient_id: recipient id to send to image_path: path to image to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'image', 'payload': {} } } ), 'filedata': (image_path, open(image_path, 'rb')) } multipart_data = MultipartEncoder(payload) multipart_header = { 'Content-Type': multipart_data.content_type } return requests.post(self.base_url, data=multipart_data, headers=multipart_header).json() def send_image_url(self, recipient_id, image_url): '''Send an image to specified recipient using URL. Image must be PNG or JPEG or GIF (more might be supported). https://developers.facebook.com/docs/messenger-platform/send-api-reference/image-attachment Input: recipient_id: recipient id to send to image_url: url of image to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'image', 'payload': { 'url': image_url } } } ) } return self.send_raw(payload) def send_action(self, recipient_id, action): '''Send typing indicators or send read receipts to the specified recipient. Image must be PNG or JPEG. https://developers.facebook.com/docs/messenger-platform/send-api-reference/sender-actions Input: recipient_id: recipient id to send to action: action type (mark_seen, typing_on, typing_off) Output: Response from API as <dict> ''' payload = { 'recipient': { 'id': recipient_id }, 'sender_action': action } return self.send_raw(payload) def _send_payload(self, payload): ''' Deprecated, use send_raw instead ''' return self.send_raw(payload) def send_raw(self, payload): request_endpoint = '{0}/me/messages'.format(self.graph_url) response = requests.post( request_endpoint, params=self.auth_args, json=payload ) result = response.json() return result def send_audio(self, recipient_id, audio_path): '''Send audio to the specified recipient. Audio must be MP3 or WAV https://developers.facebook.com/docs/messenger-platform/send-api-reference/audio-attachment Input: recipient_id: recipient id to send to audio_path: path to audio to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'audio', 'payload': {} } } ), 'filedata': (audio_path, open(image_path, 'rb')) } multipart_data = MultipartEncoder(payload) multipart_header = { 'Content-Type': multipart_data.content_type } return requests.post(self.base_url, data=multipart_data, headers=multipart_header).json() def send_audio_url(self, recipient_id, audio_url): '''Send audio to specified recipient using URL. Audio must be MP3 or WAV https://developers.facebook.com/docs/messenger-platform/send-api-reference/audio-attachment Input: recipient_id: recipient id to send to audio_url: url of audio to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'audio', 'payload': { 'url': audio_url } } } ) } return self.send_raw(payload) def send_video(self, recipient_id, video_path): '''Send video to the specified recipient. Video should be MP4 or MOV, but supports more (https://www.facebook.com/help/218673814818907). https://developers.facebook.com/docs/messenger-platform/send-api-reference/video-attachment Input: recipient_id: recipient id to send to video_path: path to video to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'audio', 'payload': {} } } ), 'filedata': (video_path, open(image_path, 'rb')) } multipart_data = MultipartEncoder(payload) multipart_header = { 'Content-Type': multipart_data.content_type } return requests.post(self.base_url, data=multipart_data, headers=multipart_header).json() def send_video_url(self, recipient_id, video_url): '''Send video to specified recipient using URL. Video should be MP4 or MOV, but supports more (https://www.facebook.com/help/218673814818907). https://developers.facebook.com/docs/messenger-platform/send-api-reference/video-attachment Input: recipient_id: recipient id to send to video_url: url of video to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'audio', 'payload': { 'url': video_url } } } ) } return self.send_raw(payload) def send_file(self, recipient_id, file_path): '''Send file to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/file-attachment Input: recipient_id: recipient id to send to file_path: path to file to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'file', 'payload': {} } } ), 'filedata': (file_path, open(image_path, 'rb')) } multipart_data = MultipartEncoder(payload) multipart_header = { 'Content-Type': multipart_data.content_type } return requests.post(self.base_url, data=multipart_data, headers=multipart_header).json() def send_file_url(self, recipient_id, file_url): '''Send file to the specified recipient. https://developers.facebook.com/docs/messenger-platform/send-api-reference/file-attachment Input: recipient_id: recipient id to send to file_url: url of file to be sent Output: Response from API as <dict> ''' payload = { 'recipient': json.dumps( { 'id': recipient_id } ), 'message': json.dumps( { 'attachment': { 'type': 'file', 'payload': { 'url': file_url } } } ) } return self.send_raw(payload)
[ 1, 1053, 4390, 13, 13, 5215, 7274, 13, 3166, 7274, 29918, 10154, 29890, 2152, 1053, 9683, 27494, 8566, 6119, 13, 13, 3166, 282, 962, 9957, 914, 29889, 4262, 29918, 2754, 1053, 13327, 9527, 11713, 13, 5215, 282, 962, 9957, 914, 29889, 13239, 408, 3667, 29879, 13, 13, 13, 1990, 11273, 29898, 23360, 2909, 9527, 11713, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 334, 5085, 29892, 3579, 19290, 1125, 13, 4706, 2428, 29898, 29933, 327, 29892, 1583, 467, 1649, 2344, 1649, 10456, 5085, 29892, 3579, 19290, 29897, 13, 13, 1678, 822, 3638, 29918, 726, 29918, 4906, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 2643, 1125, 13, 4706, 14550, 12600, 1426, 7191, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 726, 29899, 4906, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 2643, 29901, 2643, 304, 3638, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 426, 13, 18884, 525, 333, 2396, 23957, 993, 29918, 333, 13, 9651, 2981, 13, 9651, 525, 4906, 2396, 426, 13, 18884, 525, 726, 2396, 2643, 13, 9651, 500, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 4906, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 2643, 1125, 13, 4706, 14550, 12600, 1426, 7191, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 726, 29899, 4906, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 2643, 29901, 10650, 2643, 304, 3638, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 426, 13, 18884, 525, 333, 2396, 23957, 993, 29918, 333, 13, 9651, 2981, 13, 9651, 525, 4906, 2396, 2643, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 19206, 29918, 4906, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 3161, 1125, 13, 4706, 14550, 12600, 10035, 7191, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 19206, 29899, 6886, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 3161, 29901, 10035, 2643, 3161, 304, 3638, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 426, 13, 18884, 525, 333, 2396, 23957, 993, 29918, 333, 13, 9651, 2981, 13, 9651, 525, 4906, 2396, 426, 13, 18884, 376, 14930, 358, 1115, 426, 13, 462, 1678, 376, 1853, 1115, 376, 6886, 613, 13, 462, 1678, 376, 23813, 1115, 426, 13, 462, 4706, 376, 6886, 29918, 1853, 1115, 376, 19206, 613, 13, 462, 4706, 376, 17664, 1115, 3161, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 500, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 3092, 29918, 4906, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 1426, 29892, 9828, 1125, 13, 4706, 14550, 12600, 1426, 7191, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 3092, 29899, 6886, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 1426, 29901, 1426, 310, 2643, 304, 3638, 13, 9651, 9828, 29901, 9828, 304, 3638, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 426, 13, 18884, 525, 333, 2396, 23957, 993, 29918, 333, 13, 9651, 2981, 13, 9651, 525, 4906, 2396, 426, 13, 18884, 376, 14930, 358, 1115, 426, 13, 462, 1678, 376, 1853, 1115, 376, 6886, 613, 13, 462, 1678, 376, 23813, 1115, 426, 13, 462, 4706, 376, 6886, 29918, 1853, 1115, 376, 3092, 613, 13, 462, 4706, 376, 726, 1115, 1426, 29892, 13, 462, 4706, 376, 4187, 7453, 1115, 9828, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 500, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 3027, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 1967, 29918, 2084, 1125, 13, 4706, 14550, 12600, 385, 1967, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 7084, 1818, 367, 349, 9312, 470, 435, 4162, 29954, 470, 402, 6545, 313, 5514, 1795, 367, 6969, 467, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 3027, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 1967, 29918, 2084, 29901, 2224, 304, 1967, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 3027, 742, 13, 462, 4706, 525, 23813, 2396, 6571, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 1445, 1272, 2396, 313, 3027, 29918, 2084, 29892, 1722, 29898, 3027, 29918, 2084, 29892, 525, 6050, 8785, 13, 4706, 500, 13, 4706, 6674, 442, 29918, 1272, 353, 9683, 27494, 8566, 6119, 29898, 23813, 29897, 13, 4706, 6674, 442, 29918, 6672, 353, 426, 13, 9651, 525, 3916, 29899, 1542, 2396, 6674, 442, 29918, 1272, 29889, 3051, 29918, 1853, 13, 4706, 500, 13, 4706, 736, 7274, 29889, 2490, 29898, 1311, 29889, 3188, 29918, 2271, 29892, 848, 29922, 18056, 442, 29918, 1272, 29892, 9066, 29922, 18056, 442, 29918, 6672, 467, 3126, 580, 13, 13, 1678, 822, 3638, 29918, 3027, 29918, 2271, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 1967, 29918, 2271, 1125, 13, 4706, 14550, 12600, 385, 1967, 304, 6790, 23957, 993, 773, 3988, 29889, 13, 4706, 7084, 1818, 367, 349, 9312, 470, 435, 4162, 29954, 470, 402, 6545, 313, 5514, 1795, 367, 6969, 467, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 3027, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 1967, 29918, 2271, 29901, 3142, 310, 1967, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 3027, 742, 13, 462, 4706, 525, 23813, 2396, 426, 13, 462, 9651, 525, 2271, 2396, 1967, 29918, 2271, 13, 462, 4706, 500, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 1723, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 2467, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 3158, 1125, 13, 4706, 14550, 12600, 19229, 4221, 4097, 470, 3638, 1303, 2414, 29875, 16485, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 7084, 1818, 367, 349, 9312, 470, 435, 4162, 29954, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 15452, 29899, 7387, 13, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 3158, 29901, 3158, 1134, 313, 3502, 29918, 28026, 29892, 19229, 29918, 265, 29892, 19229, 29918, 2696, 29897, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 426, 13, 18884, 525, 333, 2396, 23957, 993, 29918, 333, 13, 9651, 2981, 13, 9651, 525, 15452, 29918, 2467, 2396, 3158, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 308, 13, 1678, 822, 903, 6717, 29918, 23813, 29898, 1311, 29892, 20092, 1125, 13, 4706, 14550, 897, 17990, 630, 29892, 671, 3638, 29918, 1610, 2012, 14550, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 308, 13, 1678, 822, 3638, 29918, 1610, 29898, 1311, 29892, 20092, 1125, 13, 4706, 2009, 29918, 29734, 353, 22372, 29900, 6822, 1004, 29914, 19158, 4286, 4830, 29898, 1311, 29889, 4262, 29918, 2271, 29897, 13, 4706, 2933, 353, 7274, 29889, 2490, 29898, 13, 9651, 2009, 29918, 29734, 29892, 13, 9651, 8636, 29922, 1311, 29889, 5150, 29918, 5085, 29892, 13, 9651, 4390, 29922, 23813, 13, 4706, 1723, 13, 4706, 1121, 353, 2933, 29889, 3126, 580, 13, 4706, 736, 1121, 13, 13, 1678, 822, 3638, 29918, 18494, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 10348, 29918, 2084, 1125, 13, 4706, 14550, 12600, 10348, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 21764, 1818, 367, 16379, 29941, 470, 399, 7520, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 18494, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 10348, 29918, 2084, 29901, 2224, 304, 10348, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 18494, 742, 13, 462, 4706, 525, 23813, 2396, 6571, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 1445, 1272, 2396, 313, 18494, 29918, 2084, 29892, 1722, 29898, 3027, 29918, 2084, 29892, 525, 6050, 8785, 13, 4706, 500, 13, 4706, 6674, 442, 29918, 1272, 353, 9683, 27494, 8566, 6119, 29898, 23813, 29897, 13, 4706, 6674, 442, 29918, 6672, 353, 426, 13, 9651, 525, 3916, 29899, 1542, 2396, 6674, 442, 29918, 1272, 29889, 3051, 29918, 1853, 13, 4706, 500, 13, 4706, 736, 7274, 29889, 2490, 29898, 1311, 29889, 3188, 29918, 2271, 29892, 848, 29922, 18056, 442, 29918, 1272, 29892, 9066, 29922, 18056, 442, 29918, 6672, 467, 3126, 580, 13, 13, 1678, 822, 3638, 29918, 18494, 29918, 2271, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 10348, 29918, 2271, 1125, 13, 4706, 14550, 12600, 10348, 304, 6790, 23957, 993, 773, 3988, 29889, 13, 4706, 21764, 1818, 367, 16379, 29941, 470, 399, 7520, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 18494, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 10348, 29918, 2271, 29901, 3142, 310, 10348, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 18494, 742, 13, 462, 4706, 525, 23813, 2396, 426, 13, 462, 9651, 525, 2271, 2396, 10348, 29918, 2271, 13, 462, 4706, 500, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 1723, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 1678, 822, 3638, 29918, 9641, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 4863, 29918, 2084, 1125, 13, 4706, 14550, 12600, 4863, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 13987, 881, 367, 16379, 29946, 470, 16999, 29963, 29892, 541, 11286, 901, 313, 991, 597, 1636, 29889, 15445, 29889, 510, 29914, 8477, 29914, 29906, 29896, 29947, 29953, 29955, 29941, 29947, 29896, 29946, 29947, 29896, 29947, 29929, 29900, 29955, 467, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 9641, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 4863, 29918, 2084, 29901, 2224, 304, 4863, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 18494, 742, 13, 462, 4706, 525, 23813, 2396, 6571, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 1445, 1272, 2396, 313, 9641, 29918, 2084, 29892, 1722, 29898, 3027, 29918, 2084, 29892, 525, 6050, 8785, 13, 4706, 500, 13, 4706, 6674, 442, 29918, 1272, 353, 9683, 27494, 8566, 6119, 29898, 23813, 29897, 13, 4706, 6674, 442, 29918, 6672, 353, 426, 13, 9651, 525, 3916, 29899, 1542, 2396, 6674, 442, 29918, 1272, 29889, 3051, 29918, 1853, 13, 4706, 500, 13, 4706, 736, 7274, 29889, 2490, 29898, 1311, 29889, 3188, 29918, 2271, 29892, 848, 29922, 18056, 442, 29918, 1272, 29892, 9066, 29922, 18056, 442, 29918, 6672, 467, 3126, 580, 13, 13, 1678, 822, 3638, 29918, 9641, 29918, 2271, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 4863, 29918, 2271, 1125, 13, 4706, 14550, 12600, 4863, 304, 6790, 23957, 993, 773, 3988, 29889, 13, 4706, 13987, 881, 367, 16379, 29946, 470, 16999, 29963, 29892, 541, 11286, 901, 313, 991, 597, 1636, 29889, 15445, 29889, 510, 29914, 8477, 29914, 29906, 29896, 29947, 29953, 29955, 29941, 29947, 29896, 29946, 29947, 29896, 29947, 29929, 29900, 29955, 467, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 9641, 29899, 14930, 358, 29871, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 4863, 29918, 2271, 29901, 3142, 310, 4863, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 18494, 742, 13, 462, 4706, 525, 23813, 2396, 426, 13, 462, 9651, 525, 2271, 2396, 4863, 29918, 2271, 13, 462, 4706, 500, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 1723, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 13, 13, 1678, 822, 3638, 29918, 1445, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 934, 29918, 2084, 1125, 13, 4706, 14550, 12600, 934, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 1445, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 934, 29918, 2084, 29901, 2224, 304, 934, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 1445, 742, 13, 462, 4706, 525, 23813, 2396, 6571, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 1445, 1272, 2396, 313, 1445, 29918, 2084, 29892, 1722, 29898, 3027, 29918, 2084, 29892, 525, 6050, 8785, 13, 4706, 500, 13, 4706, 6674, 442, 29918, 1272, 353, 9683, 27494, 8566, 6119, 29898, 23813, 29897, 13, 4706, 6674, 442, 29918, 6672, 353, 426, 13, 9651, 525, 3916, 29899, 1542, 2396, 6674, 442, 29918, 1272, 29889, 3051, 29918, 1853, 13, 4706, 500, 13, 4706, 736, 7274, 29889, 2490, 29898, 1311, 29889, 3188, 29918, 2271, 29892, 848, 29922, 18056, 442, 29918, 1272, 29892, 9066, 29922, 18056, 442, 29918, 6672, 467, 3126, 580, 13, 13, 1678, 822, 3638, 29918, 1445, 29918, 2271, 29898, 1311, 29892, 23957, 993, 29918, 333, 29892, 934, 29918, 2271, 1125, 13, 4706, 14550, 12600, 934, 304, 278, 6790, 23957, 993, 29889, 13, 4706, 2045, 597, 17426, 29889, 15445, 29889, 510, 29914, 2640, 29914, 29885, 9957, 914, 29899, 12120, 29914, 6717, 29899, 2754, 29899, 5679, 29914, 1445, 29899, 14930, 358, 13, 4706, 10567, 29901, 13, 9651, 23957, 993, 29918, 333, 29901, 23957, 993, 1178, 304, 3638, 304, 13, 9651, 934, 29918, 2271, 29901, 3142, 310, 934, 304, 367, 2665, 13, 4706, 10604, 29901, 13, 9651, 13291, 515, 3450, 408, 529, 8977, 29958, 13, 4706, 14550, 13, 4706, 20092, 353, 426, 13, 9651, 525, 4361, 29886, 993, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 333, 2396, 23957, 993, 29918, 333, 13, 18884, 500, 13, 9651, 10353, 13, 9651, 525, 4906, 2396, 4390, 29889, 29881, 17204, 29898, 13, 18884, 426, 13, 462, 1678, 525, 14930, 358, 2396, 426, 13, 462, 4706, 525, 1853, 2396, 525, 1445, 742, 13, 462, 4706, 525, 23813, 2396, 426, 13, 462, 9651, 525, 2271, 2396, 934, 29918, 2271, 13, 462, 4706, 500, 13, 462, 1678, 500, 13, 18884, 500, 13, 9651, 1723, 13, 4706, 500, 13, 4706, 736, 1583, 29889, 6717, 29918, 1610, 29898, 23813, 29897, 13, 2 ]
utils/augmentations.py
kogans1107/AR_yolact
2
170501
<reponame>kogans1107/AR_yolact import torch import cv2 import numpy as np import types #from numpy import random from math import sqrt from scipy.spatial import ConvexHull import imageio import copy # Force same sequence of random numbers to be drawn by augmentations. If two # training processes are otherwise the same, i.e. same data coming in, then they # will see the same sequence of augmentations. from numpy.random import MT19937 from numpy.random import RandomState, SeedSequence rs = RandomState(MT19937(SeedSequence(123456789))) from skimage import draw from data import cfg, MEANS, STD def combine_masks(masks): object_combo = np.zeros(masks[0].shape) for m in masks: object_combo += m object_combo[object_combo > 0] = 1 return object_combo def fill_boundary(shape, bpts): t_or_f = draw.polygon2mask(shape, bpts[:,[1,0]]) mask = np.zeros_like(t_or_f, dtype=np.uint8) mask[t_or_f] = 1 return mask def intersect(box_a, box_b): max_xy = np.minimum(box_a[:, 2:], box_b[2:]) min_xy = np.maximum(box_a[:, :2], box_b[:2]) inter = np.clip((max_xy - min_xy), a_min=0, a_max=np.inf) return inter[:, 0] * inter[:, 1] def jaccard_numpy(box_a, box_b): """Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. E.g.: A ∩ B / A ∪ B = A ∩ B / (area(A) + area(B) - A ∩ B) Args: box_a: Multiple bounding boxes, Shape: [num_boxes,4] box_b: Single bounding box, Shape: [4] Return: jaccard overlap: Shape: [box_a.shape[0], box_a.shape[1]] """ inter = intersect(box_a, box_b) area_a = ((box_a[:, 2]-box_a[:, 0]) * (box_a[:, 3]-box_a[:, 1])) # [A,B] area_b = ((box_b[2]-box_b[0]) * (box_b[3]-box_b[1])) # [A,B] union = area_a + area_b - inter return inter / union # [A,B] class Compose(object): """Composes several augmentations together. Args: transforms (List[Transform]): list of transforms to compose. Example: >>> augmentations.Compose([ >>> transforms.CenterCrop(10), >>> transforms.ToTensor(), >>> ]) """ def __init__(self, transforms): self.transforms = transforms def __call__(self, img, masks=None, boxes=None, labels=None): for t in self.transforms: img, masks, boxes, labels = t(img, masks, boxes, labels) return img, masks, boxes, labels class Lambda(object): """Applies a lambda as a transform.""" def __init__(self, lambd): assert isinstance(lambd, types.LambdaType) self.lambd = lambd def __call__(self, img, masks=None, boxes=None, labels=None): return self.lambd(img, masks, boxes, labels) class ConvertFromInts(object): def __call__(self, image, masks=None, boxes=None, labels=None): return image.astype(np.float32), masks, boxes, labels class ToAbsoluteCoords(object): def __call__(self, image, masks=None, boxes=None, labels=None): height, width, channels = image.shape boxes[:, 0] *= width boxes[:, 2] *= width boxes[:, 1] *= height boxes[:, 3] *= height return image, masks, boxes, labels class ToPercentCoords(object): def __call__(self, image, masks=None, boxes=None, labels=None): height, width, channels = image.shape boxes[:, 0] /= width boxes[:, 2] /= width boxes[:, 1] /= height boxes[:, 3] /= height return image, masks, boxes, labels class Pad(object): """ Pads the image to the input width and height, filling the background with mean and putting the image in the top-left. Note: this expects im_w <= width and im_h <= height """ def __init__(self, width, height, mean=MEANS, pad_gt=True): self.mean = mean self.width = width self.height = height self.pad_gt = pad_gt def __call__(self, image, masks, boxes=None, labels=None): im_h, im_w, depth = image.shape expand_image = np.zeros( (self.height, self.width, depth), dtype=image.dtype) expand_image[:, :, :] = self.mean expand_image[:im_h, :im_w] = image if self.pad_gt: expand_masks = np.zeros( (masks.shape[0], self.height, self.width), dtype=masks.dtype) expand_masks[:,:im_h,:im_w] = masks masks = expand_masks return expand_image, masks, boxes, labels class Resize(object): """ If preserve_aspect_ratio is true, this resizes to an approximate area of max_size * max_size """ @staticmethod def calc_size_preserve_ar(img_w, img_h, max_size): """ I mathed this one out on the piece of paper. Resulting width*height = approx max_size^2 """ ratio = sqrt(img_w / img_h) w = max_size * ratio h = max_size / ratio return int(w), int(h) def __init__(self, resize_gt=True): self.resize_gt = resize_gt self.max_size = cfg.max_size self.preserve_aspect_ratio = cfg.preserve_aspect_ratio def __call__(self, image, masks, boxes, labels=None): img_h, img_w, _ = image.shape if self.preserve_aspect_ratio: width, height = Resize.calc_size_preserve_ar(img_w, img_h, self.max_size) else: width, height = self.max_size, self.max_size image = cv2.resize(image, (width, height)) if self.resize_gt: # Act like each object is a color channel masks = masks.transpose((1, 2, 0)) masks = cv2.resize(masks, (width, height)) # OpenCV resizes a (w,h,1) array to (s,s), so fix that if len(masks.shape) == 2: masks = np.expand_dims(masks, 0) else: masks = masks.transpose((2, 0, 1)) # Scale bounding boxes (which are currently absolute coordinates) boxes[:, [0, 2]] *= (width / img_w) boxes[:, [1, 3]] *= (height / img_h) # Discard boxes that are smaller than we'd like w = boxes[:, 2] - boxes[:, 0] h = boxes[:, 3] - boxes[:, 1] keep = (w > cfg.discard_box_width) * (h > cfg.discard_box_height) masks = masks[keep] boxes = boxes[keep] labels['labels'] = labels['labels'][keep] labels['num_crowds'] = (labels['labels'] < 0).sum() return image, masks, boxes, labels class RandomSaturation(object): def __init__(self, lower=0.5, upper=1.5): self.lower = lower self.upper = upper assert self.upper >= self.lower, "contrast upper must be >= lower." assert self.lower >= 0, "contrast lower must be non-negative." def __call__(self, image, masks=None, boxes=None, labels=None): if rs.randint(2): image[:, :, 1] *= rs.uniform(self.lower, self.upper) return image, masks, boxes, labels class RandomHue(object): def __init__(self, delta=18.0): assert delta >= 0.0 and delta <= 360.0 self.delta = delta def __call__(self, image, masks=None, boxes=None, labels=None): if rs.randint(2): image[:, :, 0] += rs.uniform(-self.delta, self.delta) image[:, :, 0][image[:, :, 0] > 360.0] -= 360.0 image[:, :, 0][image[:, :, 0] < 0.0] += 360.0 return image, masks, boxes, labels class RandomLightingNoise(object): def __init__(self): self.perms = ((0, 1, 2), (0, 2, 1), (1, 0, 2), (1, 2, 0), (2, 0, 1), (2, 1, 0)) def __call__(self, image, masks=None, boxes=None, labels=None): # Don't shuffle the channels please, why would you do this # if random.randint(2): # swap = self.perms[random.randint(len(self.perms))] # shuffle = SwapChannels(swap) # shuffle channels # image = shuffle(image) return image, masks, boxes, labels class ConvertColor(object): def __init__(self, current='BGR', transform='HSV'): self.transform = transform self.current = current def __call__(self, image, masks=None, boxes=None, labels=None): # print('In ConvertColor, shape is', image.shape) # print('and data type is',image.dtype) if self.current == 'BGR' and self.transform == 'HSV': image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV) elif self.current == 'HSV' and self.transform == 'BGR': image = cv2.cvtColor(image, cv2.COLOR_HSV2BGR) else: raise NotImplementedError return image, masks, boxes, labels class RandomContrast(object): def __init__(self, lower=0.5, upper=1.5): self.lower = lower self.upper = upper assert self.upper >= self.lower, "contrast upper must be >= lower." assert self.lower >= 0, "contrast lower must be non-negative." # expects float image def __call__(self, image, masks=None, boxes=None, labels=None): if rs.randint(2): alpha = rs.uniform(self.lower, self.upper) image *= alpha return image, masks, boxes, labels class RandomBrightness(object): def __init__(self, delta=32): assert delta >= 0.0 assert delta <= 255.0 self.delta = delta def __call__(self, image, masks=None, boxes=None, labels=None): if rs.randint(2): delta = rs.uniform(-self.delta, self.delta) image += delta return image, masks, boxes, labels class ToCV2Image(object): def __call__(self, tensor, masks=None, boxes=None, labels=None): return tensor.cpu().numpy().astype(np.float32).transpose((1, 2, 0)), masks, boxes, labels class ToTensor(object): def __call__(self, cvimage, masks=None, boxes=None, labels=None): return torch.from_numpy(cvimage.astype(np.float32)).permute(2, 0, 1), masks, boxes, labels class RandomSampleCrop(object): """Crop Arguments: img (Image): the image being input during training boxes (Tensor): the original bounding boxes in pt form labels (Tensor): the class labels for each bbox mode (float tuple): the min and max jaccard overlaps Return: (img, boxes, classes) img (Image): the cropped image boxes (Tensor): the adjusted bounding boxes in pt form labels (Tensor): the class labels for each bbox """ def __init__(self): self.sample_options = ( # using entire original input image None, # sample a patch s.t. MIN jaccard w/ obj in .1,.3,.4,.7,.9 (0.1, None), (0.3, None), (0.7, None), (0.9, None), # randomly sample a patch (None, None), ) def __call__(self, image, masks, boxes=None, labels=None): height, width, _ = image.shape while True: # randomly choose a mode mode = rs.choice(self.sample_options) if mode is None: return image, masks, boxes, labels min_iou, max_iou = mode if min_iou is None: min_iou = float('-inf') if max_iou is None: max_iou = float('inf') # max trails (50) for _ in range(50): current_image = image w = rs.uniform(0.3 * width, width) h = rs.uniform(0.3 * height, height) # aspect ratio constraint b/t .5 & 2 if h / w < 0.5 or h / w > 2: continue left = rs.uniform(width - w) top = rs.uniform(height - h) # convert to integer rect x1,y1,x2,y2 rect = np.array([int(left), int(top), int(left+w), int(top+h)]) # calculate IoU (jaccard overlap) b/t the cropped and gt boxes overlap = jaccard_numpy(boxes, rect) # This piece of code is bugged and does nothing: # https://github.com/amdegroot/ssd.pytorch/issues/68 # # However, when I fixed it with overlap.max() < min_iou, # it cut the mAP in half (after 8k iterations). So it stays. # # is min and max overlap constraint satisfied? if not try again if overlap.min() < min_iou and max_iou < overlap.max(): continue # cut the crop from the image current_image = current_image[rect[1]:rect[3], rect[0]:rect[2], :] # keep overlap with gt box IF center in sampled patch centers = (boxes[:, :2] + boxes[:, 2:]) / 2.0 # mask in all gt boxes that above and to the left of centers m1 = (rect[0] < centers[:, 0]) * (rect[1] < centers[:, 1]) # mask in all gt boxes that under and to the right of centers m2 = (rect[2] > centers[:, 0]) * (rect[3] > centers[:, 1]) # mask in that both m1 and m2 are true mask = m1 * m2 # [0 ... 0 for num_gt and then 1 ... 1 for num_crowds] num_crowds = labels['num_crowds'] crowd_mask = np.zeros(mask.shape, dtype=np.int32) if num_crowds > 0: crowd_mask[-num_crowds:] = 1 # have any valid boxes? try again if not # Also make sure you have at least one regular gt if not mask.any() or np.sum(1-crowd_mask[mask]) == 0: continue # take only the matching gt masks current_masks = masks[mask, :, :].copy() # take only matching gt boxes current_boxes = boxes[mask, :].copy() # take only matching gt labels labels['labels'] = labels['labels'][mask] current_labels = labels # We now might have fewer crowd annotations if num_crowds > 0: labels['num_crowds'] = np.sum(crowd_mask[mask]) # should we use the box left and top corner or the crop's current_boxes[:, :2] = np.maximum(current_boxes[:, :2], rect[:2]) # adjust to crop (by substracting crop's left,top) current_boxes[:, :2] -= rect[:2] current_boxes[:, 2:] = np.minimum(current_boxes[:, 2:], rect[2:]) # adjust to crop (by substracting crop's left,top) current_boxes[:, 2:] -= rect[:2] # crop the current masks to the same dimensions as the image current_masks = current_masks[:, rect[1]:rect[3], rect[0]:rect[2]] return current_image, current_masks, current_boxes, current_labels class Expand(object): def __init__(self, mean): self.mean = mean def __call__(self, image, masks, boxes, labels): # print('Entering Expand...') if rs.randint(2): return image, masks, boxes, labels height, width, depth = image.shape ratio = rs.uniform(1, 4) left = rs.uniform(0, width*ratio - width) top = rs.uniform(0, height*ratio - height) expand_image = np.zeros( (int(height*ratio), int(width*ratio), depth), dtype=image.dtype) expand_image[:, :, :] = self.mean expand_image[int(top):int(top + height), int(left):int(left + width)] = image image = expand_image expand_masks = np.zeros( (masks.shape[0], int(height*ratio), int(width*ratio)), dtype=masks.dtype) expand_masks[:,int(top):int(top + height), int(left):int(left + width)] = masks masks = expand_masks boxes = boxes.copy() boxes[:, :2] += (int(left), int(top)) boxes[:, 2:] += (int(left), int(top)) # print('Doen with Expand...') return image, masks, boxes, labels class NothingToSeeHere(object): # THis is my very weird idea that we should show the model the vast bleak # reaches of irrelevant image space. Does it help? WJP 14-Dec-2021 # # Oops multiboxloss is just not equipped to handle an image with no # targets. ARGH! Bolya himself said he doesn't want to make the many # required changes. def __call__(self, image, masks, boxes, labels): # print('in NTSH',labels,type(labels)) if rs.randint(20): # skip this 19 out of 20 times. return image, masks, boxes, labels h,w,d = image.shape noise = np.round(rs.uniform(low=0.0, high=256.0, size=(h, w, d))).astype(np.uint8) masks = np.ones((h,w), dtype=np.uint8) boxes = np.asarray([0,0,w,h],dtype=np.float).reshape((1,4)) labels = {'num_crowds': 0, 'labels': np.array([0.])} return noise, masks, boxes, labels class D415noise(object): # After we observed a lot of frame-to-frame variability in the output # of YOLACT imported into ACAM2, I decided to try to simulate the sensor # noise from the D415 camera we are using, to see if we could teach the # model that such noise is irrelevant. I initially went for a sophisticated # model to include all aspects of inter-pixel correlation etc., but for # now I am going to punt and see if I can get any improvement at at all # this way. WJP 1-Dec-2021 def __call__(self, image, masks, boxes, labels): if rs.randint(2): return image, masks, boxes, labels h,w,d = image.shape width = 11 # of blur kernel ksize = 66 # base_noise = rs.normal(loc=0.0, scale=3, size=(h, w, d)) ctr = ksize/2.0 w2 = width/2.0 x0 = ctr-w2; x1 = ctr+w2; y0 = ctr-1; y1 = ctr+1 # tht = rs.uniform(0,2*np.pi) # R = np.asarray([[np.cos(tht), -np.sin(tht)],[np.sin(tht), np.cos(tht)]]) # origin = np.asarray([[ctr,ctr]]) bpts = np.asarray([[x0,y0],[x1,y0],[x1,y1],[x0,y1]]) kern = fill_boundary((ksize, ksize), bpts).astype(np.float64) kern = cv2.blur(kern, (3,3)) kern = kern/np.sum(kern) xyran = np.linspace(-width/2,width/2,num=width,endpoint=True) x, y = np.meshgrid(xyran, xyran) r = np.sqrt(x*x + y*y) r[r==0] = 1 kern = np.exp(-np.power(4*r/width, 2)) ddepth = -1 # keep same dtype. Nothing to do with channels. noise = cv2.filter2D(base_noise, ddepth , kern) image += noise ; return image, masks, boxes, labels class Mover(object): # # I want to make some objects appear to have motion blur. For now, this # augmentation will move all objects in view, but for many objects, this # does not make sense; they do not actually ever move in practice. # On the other hand, through the Hololens, when the operator turns their head, # everything in the scene has some motion blur. # # WJP def __call__(self, image, masks, boxes, labels): if rs.randint(2): return image, masks, boxes, labels # # Motion is normally distributed with a std of 0.5 m/s. The FOV is about # 70 degrees wide, corresponding to 640 pixels. Camera is 0.8 m above # bench, Hololens will be about 1 meter from objects. So within 20% # or so we expect an std of 0.5 *320 * 0.9 *atan(35 deg)/30 per # sec = 2.6 pixels. # # So make the blur kernels have an std of 4. # # In other words, 0.5 m/s corresponds to about 4 pixels per frame. # h,w,d = image.shape width = np.abs(np.round(rs.normal(0,4))) + 1 # of blur kernel ksize = 33 # ctr = ksize/2.0 w2 = width/2.0 x0 = ctr-w2; x1 = ctr+w2; y0 = ctr-1; y1 = ctr+1 tht = rs.uniform(0,2*np.pi) R = np.asarray([[np.cos(tht), -np.sin(tht)],[np.sin(tht), np.cos(tht)]]) origin = np.asarray([[ctr,ctr]]) bpts = (np.asarray([[x0,y0],[x1,y0],[x1,y1],[x0,y1]])-origin) @ R \ + origin kern = fill_boundary((ksize, ksize), bpts).astype(np.float64) kern = cv2.blur(kern, (3,3)) kern = kern/np.sum(kern) ddepth = -1 # keep same dtype. Nothing to do with channels. for mask in masks: mask = mask.reshape((h,w,1)) img_blur = cv2.filter2D(image*mask, ddepth , kern); bmask = cv2.filter2D(mask.astype(np.float32), ddepth,\ kern.astype(np.float32)).reshape((h,w,1)) image = img_blur*bmask + image*(1- bmask) mask = bmask return image, masks, boxes, labels class CameraShaker(object): # # I want to make some objects appear to have motion blur. For now, this # augmentation will move all objects in view, but for many objects, this # does not make sense; they do not actually ever move in practice. # On the other hand, through the Hololens, when the operator turns their head, # everything in the scene has some motion blur. # # WJP def __call__(self, image, masks, boxes, labels): if rs.randint(2): return image, masks, boxes, labels # # Typical camera motion is ?????. NEED TO MODEL OR MEASURE TYPICAL TECHNICIAN # HEAD MOTIONS # The FOV is about # 70 degrees wide, corresponding to 640 pixels. Camera is 0.8 m above # bench, Hololens will be about 1 meter from objects. So within 20% # or so we expect an std of 0.5 *320 * 0.9 *atan(35 deg)/30 per # sec = 2.6 pixels. # # So make the blur kernels have an std of 4. # # In other words, 0.5 m/s corresponds to about 4 pixels per frame. # h,w,d = image.shape width = np.abs(np.round(rs.normal(0,4))) + 1 # of blur kernel ksize = 33 # ctr = ksize/2.0 w2 = width/2.0 x0 = ctr-w2; x1 = ctr+w2; y0 = ctr-1; y1 = ctr+1 tht = rs.uniform(0,2*np.pi) R = np.asarray([[np.cos(tht), -np.sin(tht)],[np.sin(tht), np.cos(tht)]]) origin = np.asarray([[ctr,ctr]]) bpts = (np.asarray([[x0,y0],[x1,y0],[x1,y1],[x0,y1]])-origin) @ R + origin kern = fill_boundary((ksize, ksize), bpts).astype(np.float64) kern = cv2.blur(kern, (3,3)) kern = kern/np.sum(kern) ddepth = -1 # keep same dtype. Nothing to do with channels. # print('Motion blur:', width/8, 'meters per second at',\ # int(tht*180/np.pi),'degrees') # print('image data type is',image.dtype) image = cv2.filter2D(image, ddepth , kern); for mask in masks: mask = mask.reshape((h,w,1)) mask = cv2.filter2D(mask.astype(np.float32), ddepth,\ kern.astype(np.float32)).reshape((h,w,1)) return image, masks, boxes, labels class Shrinker(object): # I want to zoom out some of our images so that objects appear smaller. # WJP def __call__(self, image, masks, boxes, labels): # if random.randint(2)<0: if rs.randint(2): return image, masks, boxes, labels ratio = rs.uniform(0.33,0.9) masksum = np.zeros(masks.shape[1:]) ioverlap = [] n_more_than_one = 0 for i, m in enumerate(masks): masksum += m nmto_new = np.sum(masksum > 1) if nmto_new > n_more_than_one: n_more_than_one = nmto_new ioverlap.append(i) # # Check all the masks that have overlap, and drop some of them until # no masks have overlap. use_mask = [True] * len(masks) if n_more_than_one > 0: for io in ioverlap: for j in range(io): if use_mask[j] and use_mask[io]: if rs.randint(2): use_mask[io] = False else: use_mask[j] = False height, width, depth = image.shape xx, yy = np.meshgrid(np.arange(width), np.arange(height)) i1dmatrix = xx*height + yy r = ratio ishrnk = np.zeros(image.shape) newmasksum = np.zeros(masks.shape[1:]) all_objs = combine_masks(masks) for imask, m in enumerate(masks): if not use_mask[imask]: masksum = masksum - m continue # skip everything for all but one of each crowd mgtz = m > 0 imgtz = np.ravel(xx[mgtz]*height + yy[mgtz]).astype(int) x0, y0 = np.mean(xx[mgtz]), np.mean(yy[mgtz]) # F collapes the coordinates of the masked pixels around # (x0, y0), by a factor r, since r < 1. # Use F to find locations of shrunken object pixels, round to nearest. F = lambda r: np.asmatrix([[ r, 0, x0*(1-r)],\ [ 0, r, y0*(1-r)],\ [ 0, 0, 1 ]]) # xmask and ymask are the coordinates of masked pixels, as rows. ymask = yy[mgtz].reshape((1,-1)) xmask = xx[mgtz].reshape((1,-1)) # v is a set augmented vectors, compatible with F, based # on masked pixels, i.e. concatenate the rows into columns, add 3rd row of 1's. # v.shape is (3,len(mgtz)) v = \ np.concatenate((xmask, ymask, np.ones(ymask.shape)), axis=0) xy_p = ((np.matmul(F(r),v))[0:2,:] + 0.5).astype(int) # I had to use np.ravel in the following to avoid what I think # is a bug in np.unique. It was giving me "per column" unique # values, when I had not asked for that. # # One thing I learned is that xy_p is a matrix, rather than an array, # which is a distinction I am not used to drawing, and it seems # to make the difference here. # iu = np.unique(np.ravel(xy_p[0,:]*height + xy_p[1,:])).astype(int) # iu are the indices to the new mask pixels. xpu = (iu // height) ypu = (iu % height) xypu = np.concatenate((xpu.reshape(1,-1), \ ypu.reshape(1,-1), \ np.ones(ypu.shape).reshape(1,-1))) Finv = np.linalg.inv(F(r)) xy_orig = np.asarray((np.matmul(Finv, xypu)[0:2,:] + 0.5).astype(int)) ffs = (xy_orig.shape)[1] x = xy_orig[0,:].reshape(ffs) y = xy_orig[1,:].reshape(ffs) xy_orig[0, x >= width] = width-1 xy_orig[0, x < 0] = 0 xy_orig[1, y >= height] = height-1 xy_orig[1, y < 0] = 0 ishrnk[ypu, xpu,:] = image[xy_orig[1,:].T, xy_orig[0,:].T,:].reshape(-1,3) # # Border pixels are those that are in the old mask (imgtz) but not in the # new mask (iu). "Border" is not really the right name. They are the pixels # left vacant when the object shrinks. # ibordset = set(imgtz) - set(iu) ibord = np.fromiter(ibordset, int, len(ibordset)) xbord = ibord // height ybord = ibord % height pts3 = np.concatenate((xbord.reshape(1,-1),\ ybord.reshape(1,-1),\ np.ones(ybord.shape).reshape(1,-1))) xy_fill = np.asarray((np.matmul(Finv, pts3)[0:2,:] + 0.5).astype(int)) fillshape = (xy_fill.shape)[1] xf = xy_fill[0,:].reshape(fillshape) yf = xy_fill[1,:].reshape(fillshape) all_good = False foldback_reduction = 10 while not all_good: wide = xf >= width xy_fill[0, wide] = (width-1) - (xf[wide]-width)//foldback_reduction neg = xf < 0 xy_fill[0, neg] = -xf[neg]//foldback_reduction high = yf >= height xy_fill[1, high] = (height-1) - (yf[high]-height)//foldback_reduction low = yf < 0 xy_fill[1, low] = -yf[low]//foldback_reduction all_good = True # just do it once for now bumpmax = 100 bump = 0 while True: i1dfill = (xy_fill[0,:]*height + xy_fill[1,:]).reshape(-1) i1dobjs = i1dmatrix[all_objs > 0].reshape(-1) i_from_objs_set = set(i1dobjs).intersection(i1dfill) if len(i_from_objs_set) == 0: break if bump > bumpmax: # too crowded!! print('Shrinker, too crowded to fill!') return image, masks, boxes, labels xy_fill[0,:] = (xy_fill[0,:] + \ np.int(np.random.uniform(0,width))) % width xy_fill[1,:] = (xy_fill[1,:] + \ np.int(np.random.uniform(0,height))) % height bump += 1 ishrnk[ybord, xbord, :] = image[xy_fill[1,:].T, \ xy_fill[0,:].T,:].reshape(-1,3) b = boxes[imask] bv = np.asarray([[b[0], b[2]], [b[1], b[3]],[1, 1]]) bvp = np.matmul(F(r), bv) xmin, ymin, xmax, ymax = bvp[0,0], bvp[1,0], bvp[0,1], bvp[1,1] boxes[imask] = np.asarray([xmin, ymin, xmax, ymax]) # Now shrink the current mask m and accumulate into newmasksum. m[:] = 0 m[ypu, xpu] = 1 newmasksum += m mss = masksum.shape allmaskcombo = np.asarray(masksum + newmasksum, dtype=np.float) allmaskcombo[allmaskcombo > 0] = 1.0 ileave_alone = (1-allmaskcombo.reshape(mss[0], mss[1], 1))*image image = (ishrnk + ileave_alone).astype(np.float32) return image, masks, boxes, labels class Twirler(object): # I want to twirl some of our objects! James saw that orientation seemed # to affect detectability. Not cool. # WJP def __call__(self, image, masks, boxes, labels): # if random.randint(2)<0: if rs.randint(2): return image, masks, boxes, labels masksum = np.zeros(masks.shape[1:]) ioverlap = [] n_more_than_one = 0 for i, m in enumerate(masks): masksum += m nmto_new = np.sum(masksum > 1) if nmto_new > n_more_than_one: n_more_than_one = nmto_new ioverlap.append(i) # # Check all the masks that have overlap, and drop some of them until # no masks have overlap. use_mask = [True] * len(masks) if n_more_than_one > 0: for io in ioverlap: for j in range(io): if use_mask[j] and use_mask[io]: if rs.randint(2): use_mask[io] = False else: use_mask[j] = False height, width, depth = image.shape xx, yy = np.meshgrid(np.arange(width), np.arange(height)) i1dmatrix = xx*height + yy itwirl = np.zeros(image.shape) newmasksum = np.zeros(masks.shape[1:]) all_objs = combine_masks(masks) for imask, m in enumerate(masks): if not use_mask[imask]: masksum = masksum - m continue # skip everything for all but one of each crowd angle = rs.uniform(-np.pi, np.pi) mgtz = m > 0 imgtz = np.ravel(xx[mgtz]*height + yy[mgtz]).astype(int) x0, y0 = np.mean(xx[mgtz]), np.mean(yy[mgtz]) # twirl center C = np.cos(angle) S = np.sin(angle) # These are the elements of the 3rd column that put the rotation # center at (x0, y0) instead of (0,0) R13 = -C*x0 - S*y0 + x0 R23 = S*x0 - C*y0 + y0 # R rotates the coordinates of the masked pixels around # (x0, y0), by angle. # Use R to find locations of twirled object pixels, round to # nearest. R = np.asmatrix([[ C, S, R13],\ [-S, C, R23],\ [ 0, 0, 1 ]]) # xmask and ymask are the coordinates of masked pixels, as rows. ymask = yy[mgtz].reshape((1,-1)) xmask = xx[mgtz].reshape((1,-1)) # v is a set augmented vectors, compatible with R, based # on masked pixels, i.e. concatenate the rows into columns, add # 3rd row of 1's. # v.shape is (3,len(mgtz)) v = \ np.concatenate((xmask, ymask, np.ones(ymask.shape)), axis=0) xy_p = ((np.matmul(R,v))[0:2,:] + 0.5).astype(int) x_ok = np.logical_and(xy_p[0,:] >= 0, xy_p[0,:] < width) y_ok = np.logical_and(xy_p[1,:] >= 0, xy_p[1,:] < height) xy_ok = np.squeeze(np.array(np.logical_and(x_ok, y_ok))) # print('xy_p shape is',xy_p.shape) # print('xy_ok shape is',xy_ok.shape) # print('squeezed xy_ok shape is',np.squeeze(xy_ok).shape) xy_p = xy_p[:, xy_ok] # I had to use np.ravel in the following to avoid what I think # is a bug in np.unique. It was giving me "per column" unique # values, when I had not asked for that. # # One thing I learned is that xy_p is a matrix, rather than an array, # which is a distinction I am not used to drawing, and it seems # to make the difference here. # iu = np.unique(np.ravel(xy_p[0,:]*height + xy_p[1,:])).astype(int) # iu are the indices to the new mask pixels. xpu = (iu // height) ypu = (iu % height) # I need to check for xy_p being in bounds, up above, rather than doing it after # the mod function which can wrap around in y, oops. # # xin_bounds = np.logical_and(xpu < width, xpu >= 0) # yin_bounds = np.logical_and(ypu < height,ypu >= 0) # in_bounds = np.logical_and(xin_bounds, yin_bounds) # xpu = xpu[in_bounds] # ypu = ypu[in_bounds] xypu = np.concatenate((xpu.reshape(1,-1), \ ypu.reshape(1,-1), \ np.ones(ypu.shape).reshape(1,-1))) Rinv = np.linalg.inv(R) xy_orig = \ np.asarray((np.matmul(Rinv, xypu)[0:2,:] + 0.5).astype(int)) ffs = (xy_orig.shape)[1] x = xy_orig[0,:].reshape(ffs) y = xy_orig[1,:].reshape(ffs) xy_orig[0, x >= width] = width-1 xy_orig[0, x < 0] = 0 xy_orig[1, y >= height] = height-1 xy_orig[1, y < 0] = 0 itwirl[ypu, xpu,:] = image[xy_orig[1,:].T,\ xy_orig[0,:].T,:].reshape(-1,3) # # Border pixels are those that are in the old mask (imgtz) but not # in the new mask (iu). "Border" is not really the right name. # They are the pixels left vacant when the object twirls. # ibordset = set(imgtz) - set(iu) ibord = np.fromiter(ibordset, int, len(ibordset)) xbord = ibord // height ybord = ibord % height pts3 = np.concatenate((xbord.reshape(1,-1),\ ybord.reshape(1,-1),\ np.ones(ybord.shape).reshape(1,-1))) xy_fill = \ np.asarray((np.matmul(Rinv, pts3)[0:2,:] + 0.5).astype(int)) fillshape = (xy_fill.shape)[1] xf = xy_fill[0,:].reshape(fillshape) yf = xy_fill[1,:].reshape(fillshape) all_good = False foldback_reduction = 10 while not all_good: wide = xf >= width xy_fill[0, wide] = \ (width-1) - (xf[wide]-width)//foldback_reduction neg = xf < 0 xy_fill[0, neg] = -xf[neg]//foldback_reduction high = yf >= height xy_fill[1, high] = \ (height-1) - (yf[high]-height)//foldback_reduction low = yf < 0 xy_fill[1, low] = -yf[low]//foldback_reduction all_good = True # just do it once for now bumpmax = 100 bump = 0 while True: i1dfill = (xy_fill[0,:]*height + xy_fill[1,:]).reshape(-1) i1dobjs = i1dmatrix[all_objs > 0].reshape(-1) i_from_objs_set = set(i1dobjs).intersection(i1dfill) if len(i_from_objs_set) == 0: break if bump > bumpmax: # too crowded!! print('Twirler, too crowded to fill!') return image, masks, boxes, labels xy_fill[0,:] = (xy_fill[0,:] + \ np.int(np.random.uniform(0,width))) % width xy_fill[1,:] = (xy_fill[1,:] + \ np.int(np.random.uniform(0,height))) % height bump += 1 itwirl[ybord, xbord, :] = image[xy_fill[1,:].T, \ xy_fill[0,:].T,:].reshape(-1,3) # The following is how I transformed boxes in Shrinker. It does not work for # Twirler, because we do not want rotated boxes, we want image-aligned # bounding boxes of rotated masks. For Shrinker, those are the same, but not here. # # b = boxes[imask] # bv = np.asarray([[b[0], b[2]], [b[1], b[3]],[1, 1]]) # bvp = np.matmul(R, bv) # xmin, ymin, xmax, ymax = bvp[0,0], bvp[1,0], bvp[0,1], bvp[1,1] # # The following is necessary in Twirler but not Shrinker # if xmin > xmax: # xmin, xmax = xmax, xmin # if ymin > ymax: # ymin, ymax = ymax, ymin # # boxes[imask] = np.asarray([xmin, ymin, xmax, ymax]) # Now twirl the current mask m and accumulate into newmasksum. m[:] = 0 m[ypu, xpu] = 1 newmasksum += m # Now that the mask is rotated, get the box. This is much more # robust than what I did above and in Shrinker. boxes[imask] = np.asarray([np.min(xpu), np.min(ypu),\ np.max(xpu), np.max(ypu)]) mss = masksum.shape allmaskcombo = np.asarray(masksum + newmasksum, dtype=np.float) allmaskcombo[allmaskcombo > 0] = 1.0 ileave_alone = (1-allmaskcombo.reshape(mss[0], mss[1], 1))*image image = (itwirl + ileave_alone).astype(np.float32) return image, masks, boxes, labels class Sheepdog(object): # I want to herd our objects into small groups. Sometimes it seems if # they are too close they become indetectable. # WJP # # Mutating these from Shrinker etc. has become clumsy. Here is a new algorithm # # Pick a pair of objects. # Compute the convex hull of 1. # Repeat: # Check each mask boundary point of the other to see if it lies in hull # take bisection step toward if no points in hull away if points in hull # until step size is too small to matter. # # When point is inside a hull, all angles formed by adjacent hull points, with # test test point as the vertex, will have the same sense, as we step around # the hull in a consistent direction. # def pt_in_hull(self, pt, hull): # both args should be torch.tensor. # only works for convex hulls dp = torch.tensor(hull - pt) Xi = dp[:,0] Yi = dp[:,1] rot_sense = torch.sign(Xi.roll(1,0)*Yi - Xi*Yi.roll(1,0)) return all(rot_sense == rot_sense[0]) def hull_pts(self, pts): CH = ConvexHull(pts) return CH.points[CH.vertices] def step_to1_from0(self, p1, p0): x1, y1 = p1; x0, y0 = p0 step = np.array([x1-x0, y1-y0]).reshape((1,2)) dist = np.sqrt(np.sum(step**2)) return step / dist, dist def pts_from_xy(self, x, y): xc = np.array(x).reshape((-1,1)) yc = np.array(y).reshape((-1,1)) pts = np.concatenate((xc,yc), 1) return pts def get_step_vector(self, pA, pB): # best step for moving object A toward object B in this context. # Just finding nearest pair of points and bringing them into contact. # # Both pA and pB are Nx2. aclose, bclose = pA[0], pB[0] mindist = 1.0e30 for a in pA: for b in pB: dist = sum((a-b)**2) if dist < mindist: mindist = dist aclose = a bclose = b return (bclose - aclose).reshape((1,2)) def __call__(self, image, masks, boxes, labels): if rs.randint(1) or masks.shape[0] < 2: return image, masks, boxes, labels # RETURN 1/3 new_image = copy.copy(image) height, width, depth = image.shape xx, yy = np.meshgrid(np.arange(width), np.arange(height)) i1dmatrix = xx*height + yy nmasks = masks.shape[0] has_overlap = [False] * nmasks i1d = [i1dmatrix[m > 0].reshape(-1) for m in masks] for i in range(nmasks-1): for j in range(i+1,nmasks): if not set(i1d[i]).isdisjoint(i1d[j]): has_overlap[i] = True has_overlap[j] = True count = 0 for hov in has_overlap: if not hov: count+=1 if count < 2: return image, masks, boxes, labels # RETURN 2/3 print('Sheepdog on the loose!') seq = np.arange(nmasks).astype(int); rs.shuffle(seq) # # I need to avoid filling vacated pixels with pieces of labeled objects. # So I need a mask that tells me all pixels belonging to any labeled # object. object_combo = combine_masks(masks) oc1d = i1dmatrix[object_combo > 0].reshape(-1) # import matplotlib.pyplot as plt # plt.imshow(object_combo) # plt.pause(0.1) # plt.show() # ilabel = labels['labels'].astype(int) for i in range(nmasks): if not has_overlap[i]: print(cfg.dataset.class_names[ilabel[seq[i]]]) first = True for imask in seq: if has_overlap[imask]: continue m = masks[imask] mgtz = m > 0 x = xx[mgtz] y = yy[mgtz] if first: first = False pts0 = self.pts_from_xy(x,y) # all object points hull0 = self.hull_pts(pts0) continue # with next imask, no else block needed pts1 = self.pts_from_xy(x,y) hull1 = self.hull_pts(pts1) step_vector = self.get_step_vector(hull1, hull0) this_move = np.round(step_vector).astype(int) hull1 += this_move hull0 = self.hull_pts(np.concatenate((hull0, hull1), 0)) pts0 = np.concatenate((pts1,pts0),0) xdest = x + this_move[0,0] ydest = y + this_move[0,1] ixgood = np.logical_and(xdest >= 0, xdest < width) iygood = np.logical_and(ydest >=0, ydest < height) good = np.logical_and(ixgood, iygood) xdest = xdest[good] ydest = ydest[good] masks[imask] = 0 masks[imask][ydest, xdest] = 1 boxes[imask] = np.asarray([np.min(xdest), np.min(ydest),\ np.max(xdest), np.max(ydest)]) new_image[ydest, xdest,:] = image[y[good], x[good], :] # Figure out which pixels are vacated by the move. Fill these with # whatever was present in the original image at the destination spot, # unless those already belong to a labeled object. # # Vacated pixels belonged to the object in the original image, but # are not present in the moved object. # xyg1d = x[good]*height + y[good] xyg1d = x*height + y xyd1d = xdest*height + ydest xyvacset = set(xyg1d) - set(xyd1d) xyvac = np.fromiter(xyvacset, int, len(xyvacset)) xvac = xyvac // height yvac = xyvac % height try_move = this_move while True: xfill = (xvac + try_move[0,0]) % width yfill = (yvac + try_move[0,1]) % height if not set(xfill*height + yfill).isdisjoint(oc1d): try_move += np.random.uniform(-50, 50, size=(1,2)).astype(np.int32) else: break new_image[yvac, xvac, :] = image[yfill, xfill, :] image = new_image return image, masks, boxes, labels # RETURN 3/3 class Shrink_XOR_Twirl(object): """ Choose between Shrinker or Twirler at random. """ def __init__(self, mean=MEANS, std=STD): self.shrink = Compose([Shrinker()]) self.twirl = Compose([Twirler()]) def __call__(self, img, masks=None, boxes=None, labels=None): # print('SHRINKER AND TWIRLER ARE TURNED OFF!!!') # return img, masks, boxes, labels if rs.randint(2): # print('Shrinking!') return self.shrink(img, masks, boxes, labels) else: # print('Twirling!') return self.twirl(img, masks, boxes, labels) class PhotoBomb(object): """ Take objects out of their lab bench context and drop them into random scenes """ def __init__(self): import glob non_iconic_path = './data/non_iconic/' self.imgfiles = glob.glob(non_iconic_path+'*.jpg') if len(self.imgfiles) > 0: self.no_files = False else: print('**************************************') print('I cannot find the PhotoBomb background files.') print('They should be in data/non_iconic/.') print('Deactivating PhotoBomb augmentation!') print('**************************************') self.no_files = True self.once_every = 8 # On average, this is invoked once every once_every images. def __call__(self, image, masks, boxes, labels): if rs.randint(self.once_every) or self.no_files: return image, masks, boxes, labels bkgfile = self.imgfiles[rs.randint(0,len(self.imgfiles))] bkg = cv2.cvtColor(imageio.imread(bkgfile), cv2.COLOR_RGB2BGR) mshape = masks[0].shape masksum = np.zeros(mshape) for m in masks: masksum += m masksum[masksum > 0] = 1.0 masksum = np.reshape(masksum, (mshape[0], mshape[1],1)) objects = image * masksum bkg = bkg * (1-masksum) non_icon_image = objects + bkg return non_icon_image, masks, boxes, labels class RandomMirror(object): def __call__(self, image, masks, boxes, labels): # print('Entering RandomMirror...') _, width, _ = image.shape if rs.randint(2): image = image[:, ::-1] masks = masks[:, :, ::-1] boxes = boxes.copy() boxes[:, 0::2] = width - boxes[:, 2::-2] # print('Done with RandomMirror...') return image, masks, boxes, labels class RandomFlip(object): def __call__(self, image, masks, boxes, labels): height , _ , _ = image.shape if rs.randint(2): image = image[::-1, :] masks = masks[:, ::-1, :] boxes = boxes.copy() boxes[:, 1::2] = height - boxes[:, 3::-2] return image, masks, boxes, labels class RandomRot90(object): def __call__(self, image, masks, boxes, labels): old_height , old_width , _ = image.shape k = rs.randint(4) image = np.rot90(image,k) masks = np.array([np.rot90(mask,k) for mask in masks]) boxes = boxes.copy() for _ in range(k): boxes = np.array([[box[1], old_width - 1 - box[2], box[3], old_width - 1 - box[0]] for box in boxes]) old_width, old_height = old_height, old_width return image, masks, boxes, labels class SwapChannels(object): """Transforms a tensorized image by swapping the channels in the order specified in the swap tuple. Args: swaps (int triple): final order of channels eg: (2, 1, 0) """ def __init__(self, swaps): self.swaps = swaps def __call__(self, image): """ Args: image (Tensor): image tensor to be transformed Return: a tensor with channels swapped according to swap """ # if torch.is_tensor(image): # image = image.data.cpu().numpy() # else: # image = np.array(image) image = image[:, :, self.swaps] return image class PhotometricDistort(object): def __init__(self): self.pd = [ RandomContrast(), ConvertColor(transform='HSV'), RandomSaturation(), RandomHue(), ConvertColor(current='HSV', transform='BGR'), RandomContrast() ] self.rand_brightness = RandomBrightness() self.rand_light_noise = RandomLightingNoise() def __call__(self, image, masks, boxes, labels): im = image.copy() im, masks, boxes, labels = self.rand_brightness(im, masks, boxes, labels) if rs.randint(2): distort = Compose(self.pd[:-1]) else: distort = Compose(self.pd[1:]) im, masks, boxes, labels = distort(im, masks, boxes, labels) return self.rand_light_noise(im, masks, boxes, labels) class PrepareMasks(object): """ Prepares the gt masks for use_gt_bboxes by cropping with the gt box and downsampling the resulting mask to mask_size, mask_size. This function doesn't do anything if cfg.use_gt_bboxes is False. """ def __init__(self, mask_size, use_gt_bboxes): self.mask_size = mask_size self.use_gt_bboxes = use_gt_bboxes def __call__(self, image, masks, boxes, labels=None): if not self.use_gt_bboxes: return image, masks, boxes, labels height, width, _ = image.shape new_masks = np.zeros((masks.shape[0], self.mask_size ** 2)) for i in range(len(masks)): x1, y1, x2, y2 = boxes[i, :] x1 *= width x2 *= width y1 *= height y2 *= height x1, y1, x2, y2 = (int(x1), int(y1), int(x2), int(y2)) # +1 So that if y1=10.6 and y2=10.9 we still have a bounding box cropped_mask = masks[i, y1:(y2+1), x1:(x2+1)] scaled_mask = cv2.resize(cropped_mask, (self.mask_size, self.mask_size)) new_masks[i, :] = scaled_mask.reshape(1, -1) # Binarize new_masks[new_masks > 0.5] = 1 new_masks[new_masks <= 0.5] = 0 return image, new_masks, boxes, labels class BackboneTransform(object): """ Transforms a BRG image made of floats in the range [0, 255] to whatever input the current backbone network needs. transform is a transform config object (see config.py). in_channel_order is probably 'BGR' but you do you, kid. """ def __init__(self, transform, mean, std, in_channel_order): self.mean = np.array(mean, dtype=np.float32) self.std = np.array(std, dtype=np.float32) self.transform = transform # Here I use "Algorithms and Coding" to convert string permutations to numbers self.channel_map = {c: idx for idx, c in enumerate(in_channel_order)} self.channel_permutation = [self.channel_map[c] for c in transform.channel_order] def __call__(self, img, masks=None, boxes=None, labels=None): img = img.astype(np.float32) if self.transform.normalize: img = (img - self.mean) / self.std elif self.transform.subtract_means: img = (img - self.mean) elif self.transform.to_float: img = img / 255 img = img[:, :, self.channel_permutation] return img.astype(np.float32), masks, boxes, labels class BaseTransform(object): """ Transorm to be used when evaluating. """ def __init__(self, mean=MEANS, std=STD): self.augment = Compose([ ConvertFromInts(), Resize(resize_gt=False), BackboneTransform(cfg.backbone.transform, mean, std, 'BGR') ]) def __call__(self, img, masks=None, boxes=None, labels=None): return self.augment(img, masks, boxes, labels) import torch.nn.functional as F class FastBaseTransform(torch.nn.Module): """ Transform that does all operations on the GPU for super speed. This doesn't suppport a lot of config settings and should only be used for production. Maintain this as necessary. """ def __init__(self): super().__init__() self.mean = torch.Tensor(MEANS).float().cuda()[None, :, None, None] self.std = torch.Tensor( STD ).float().cuda()[None, :, None, None] self.transform = cfg.backbone.transform def forward(self, img): self.mean = self.mean.to(img.device) self.std = self.std.to(img.device) # img assumed to be a pytorch BGR image with channel order [n, h, w, c] if cfg.preserve_aspect_ratio: _, h, w, _ = img.size() img_size = Resize.calc_size_preserve_ar(w, h, cfg.max_size) img_size = (img_size[1], img_size[0]) # Pytorch needs h, w else: img_size = (cfg.max_size, cfg.max_size) img = img.permute(0, 3, 1, 2).contiguous() img = F.interpolate(img, img_size, mode='bilinear', align_corners=False) if self.transform.normalize: img = (img - self.mean) / self.std elif self.transform.subtract_means: img = (img - self.mean) elif self.transform.to_float: img = img / 255 if self.transform.channel_order != 'RGB': raise NotImplementedError img = img[:, (2, 1, 0), :, :].contiguous() # Return value is in channel order [n, c, h, w] and RGB return img def do_nothing(img=None, masks=None, boxes=None, labels=None): return img, masks, boxes, labels def enable_if(condition, obj): return obj if condition else do_nothing def enable_if_else(condition, obj1, obj2): if condition: obj = obj1 else: obj = obj2 return obj class SSDAugmentation(object): """ Transform to be used when training. """ def __init__(self, mean=MEANS, std=STD): self.augment = Compose([ ConvertFromInts(), ToAbsoluteCoords(), enable_if(cfg.augment_photometric_distort, PhotometricDistort()), RandomMirror(), RandomFlip(), RandomRot90(), Resize(), Shrink_XOR_Twirl(), Mover(), CameraShaker(), D415noise(), Sheepdog(), enable_if(not cfg.preserve_aspect_ratio, \ Pad(cfg.max_size, cfg.max_size, mean)), ToPercentCoords(), PrepareMasks(cfg.mask_size, cfg.use_gt_bboxes), BackboneTransform(cfg.backbone.transform, mean, std, 'BGR')]) print('Augmentations in use:') for aug in self.augment.__dict__['transforms']: print(self.get_aug_name(aug)) def get_aug_name(self,aug): saug = str(aug) i0 = saug.rfind('.') + 1 # from the last dot.... i1 = saug.find(' ', i0) # ...to the first space return saug[i0:i1] def __call__(self, img, masks, boxes, labels): return self.augment(img, masks, boxes, labels) # enable_if_else(rs.randint(2), Twirler(), Shrinker()),
[ 1, 529, 276, 1112, 420, 29958, 29895, 468, 550, 29896, 29896, 29900, 29955, 29914, 1718, 29918, 29891, 324, 627, 13, 5215, 4842, 305, 13, 5215, 13850, 29906, 13, 5215, 12655, 408, 7442, 13, 5215, 4072, 13, 29937, 3166, 12655, 1053, 4036, 13, 3166, 5844, 1053, 18074, 2273, 13, 3166, 4560, 2272, 29889, 1028, 15238, 1053, 1281, 13809, 29950, 913, 13, 5215, 1967, 601, 13, 5215, 3509, 13, 13, 29937, 11004, 1021, 5665, 310, 4036, 3694, 304, 367, 12061, 491, 18765, 800, 29889, 960, 1023, 29871, 13, 29937, 29871, 6694, 10174, 526, 6467, 278, 1021, 29892, 474, 29889, 29872, 29889, 1021, 848, 6421, 297, 29892, 769, 896, 29871, 13, 29937, 259, 674, 1074, 278, 1021, 5665, 310, 18765, 800, 29889, 29871, 13, 13, 3166, 12655, 29889, 8172, 1053, 341, 29911, 29896, 29929, 29929, 29941, 29955, 13, 3166, 12655, 29889, 8172, 1053, 16968, 2792, 29892, 922, 287, 20529, 13, 2288, 353, 16968, 2792, 29898, 11490, 29896, 29929, 29929, 29941, 29955, 29898, 2008, 287, 20529, 29898, 29896, 29906, 29941, 29946, 29945, 29953, 29955, 29947, 29929, 4961, 29871, 13, 29871, 13, 3166, 2071, 3027, 1053, 4216, 13, 13, 3166, 848, 1053, 274, 16434, 29892, 22986, 2190, 29903, 29892, 6850, 29928, 13, 13, 1753, 14405, 29918, 13168, 29879, 29898, 13168, 29879, 1125, 13, 1678, 1203, 29918, 510, 833, 353, 7442, 29889, 3298, 359, 29898, 13168, 29879, 29961, 29900, 1822, 12181, 29897, 13, 1678, 363, 286, 297, 11105, 29879, 29901, 13, 4706, 1203, 29918, 510, 833, 4619, 286, 13, 1678, 1203, 29918, 510, 833, 29961, 3318, 29918, 510, 833, 1405, 29871, 29900, 29962, 353, 29871, 29896, 13, 1678, 736, 1203, 29918, 510, 833, 13, 13, 13, 1753, 5445, 29918, 9917, 653, 29898, 12181, 29892, 289, 16485, 1125, 13, 1678, 260, 29918, 272, 29918, 29888, 353, 4216, 29889, 3733, 17125, 29906, 13168, 29898, 12181, 29892, 289, 16485, 7503, 17094, 29896, 29892, 29900, 24960, 13, 1678, 11105, 353, 7442, 29889, 3298, 359, 29918, 4561, 29898, 29873, 29918, 272, 29918, 29888, 29892, 26688, 29922, 9302, 29889, 13470, 29947, 29897, 13, 1678, 11105, 29961, 29873, 29918, 272, 29918, 29888, 29962, 353, 29871, 29896, 13, 1678, 736, 11105, 13, 13, 1753, 25869, 29898, 1884, 29918, 29874, 29892, 3800, 29918, 29890, 1125, 13, 1678, 4236, 29918, 3594, 353, 7442, 29889, 1195, 12539, 29898, 1884, 29918, 29874, 7503, 29892, 29871, 29906, 29901, 1402, 3800, 29918, 29890, 29961, 29906, 29901, 2314, 13, 1678, 1375, 29918, 3594, 353, 7442, 29889, 27525, 398, 29898, 1884, 29918, 29874, 7503, 29892, 584, 29906, 1402, 3800, 29918, 29890, 7503, 29906, 2314, 13, 1678, 1006, 353, 7442, 29889, 24049, 3552, 3317, 29918, 3594, 448, 1375, 29918, 3594, 511, 263, 29918, 1195, 29922, 29900, 29892, 263, 29918, 3317, 29922, 9302, 29889, 7192, 29897, 13, 1678, 736, 1006, 7503, 29892, 29871, 29900, 29962, 334, 1006, 7503, 29892, 29871, 29896, 29962, 13, 13, 1753, 432, 5753, 538, 29918, 23749, 29898, 1884, 29918, 29874, 29892, 3800, 29918, 29890, 1125, 13, 1678, 9995, 20606, 29872, 278, 432, 5753, 538, 25457, 310, 1023, 6166, 310, 16273, 29889, 29871, 450, 432, 5753, 538, 25457, 13, 1678, 338, 3763, 278, 17686, 975, 9833, 310, 1023, 16273, 29889, 13, 1678, 382, 29889, 29887, 4898, 13, 4706, 319, 29871, 30766, 350, 847, 319, 29871, 30862, 350, 353, 319, 29871, 30766, 350, 847, 313, 6203, 29898, 29909, 29897, 718, 4038, 29898, 29933, 29897, 448, 319, 29871, 30766, 350, 29897, 13, 1678, 826, 3174, 29901, 13, 4706, 3800, 29918, 29874, 29901, 26905, 3216, 292, 16273, 29892, 1383, 4085, 29901, 518, 1949, 29918, 1884, 267, 29892, 29946, 29962, 13, 4706, 3800, 29918, 29890, 29901, 16740, 3216, 292, 3800, 29892, 1383, 4085, 29901, 518, 29946, 29962, 13, 1678, 7106, 29901, 13, 4706, 432, 5753, 538, 25457, 29901, 1383, 4085, 29901, 518, 1884, 29918, 29874, 29889, 12181, 29961, 29900, 1402, 3800, 29918, 29874, 29889, 12181, 29961, 29896, 5262, 13, 1678, 9995, 13, 1678, 1006, 353, 25869, 29898, 1884, 29918, 29874, 29892, 3800, 29918, 29890, 29897, 13, 1678, 4038, 29918, 29874, 353, 5135, 1884, 29918, 29874, 7503, 29892, 29871, 29906, 29962, 29899, 1884, 29918, 29874, 7503, 29892, 29871, 29900, 2314, 334, 13, 795, 313, 1884, 29918, 29874, 7503, 29892, 29871, 29941, 29962, 29899, 1884, 29918, 29874, 7503, 29892, 29871, 29896, 12622, 29871, 396, 518, 29909, 29892, 29933, 29962, 13, 1678, 4038, 29918, 29890, 353, 5135, 1884, 29918, 29890, 29961, 29906, 29962, 29899, 1884, 29918, 29890, 29961, 29900, 2314, 334, 13, 795, 313, 1884, 29918, 29890, 29961, 29941, 29962, 29899, 1884, 29918, 29890, 29961, 29896, 12622, 29871, 396, 518, 29909, 29892, 29933, 29962, 13, 1678, 9833, 353, 4038, 29918, 29874, 718, 4038, 29918, 29890, 448, 1006, 13, 1678, 736, 1006, 847, 9833, 29871, 396, 518, 29909, 29892, 29933, 29962, 13, 13, 13, 1990, 3831, 852, 29898, 3318, 1125, 13, 1678, 9995, 1523, 10590, 3196, 18765, 800, 4208, 29889, 13, 1678, 826, 3174, 29901, 13, 4706, 4327, 29879, 313, 1293, 29961, 13372, 29962, 1125, 1051, 310, 4327, 29879, 304, 27435, 29889, 13, 1678, 8741, 29901, 13, 4706, 8653, 18765, 800, 29889, 1523, 4220, 4197, 13, 4706, 8653, 268, 4327, 29879, 29889, 13409, 29907, 1336, 29898, 29896, 29900, 511, 13, 4706, 8653, 268, 4327, 29879, 29889, 1762, 29911, 6073, 3285, 13, 4706, 8653, 29871, 2314, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 4327, 29879, 1125, 13, 4706, 1583, 29889, 9067, 29879, 353, 4327, 29879, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 363, 260, 297, 1583, 29889, 9067, 29879, 29901, 13, 9651, 10153, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 353, 260, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 4706, 736, 10153, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 365, 2269, 29898, 3318, 1125, 13, 1678, 9995, 2052, 3687, 263, 14013, 408, 263, 4327, 1213, 15945, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 301, 1117, 29881, 1125, 13, 4706, 4974, 338, 8758, 29898, 29880, 1117, 29881, 29892, 4072, 29889, 9099, 1542, 29897, 13, 4706, 1583, 29889, 29880, 1117, 29881, 353, 301, 1117, 29881, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 736, 1583, 29889, 29880, 1117, 29881, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 13, 13, 1990, 14806, 4591, 2928, 29879, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 736, 1967, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 511, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 13, 1990, 1763, 4920, 14977, 7967, 4339, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 3171, 29892, 2920, 29892, 18196, 353, 1967, 29889, 12181, 13, 4706, 16273, 7503, 29892, 29871, 29900, 29962, 334, 29922, 2920, 13, 4706, 16273, 7503, 29892, 29871, 29906, 29962, 334, 29922, 2920, 13, 4706, 16273, 7503, 29892, 29871, 29896, 29962, 334, 29922, 3171, 13, 4706, 16273, 7503, 29892, 29871, 29941, 29962, 334, 29922, 3171, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 1763, 27933, 7967, 4339, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 3171, 29892, 2920, 29892, 18196, 353, 1967, 29889, 12181, 13, 4706, 16273, 7503, 29892, 29871, 29900, 29962, 847, 29922, 2920, 13, 4706, 16273, 7503, 29892, 29871, 29906, 29962, 847, 29922, 2920, 13, 4706, 16273, 7503, 29892, 29871, 29896, 29962, 847, 29922, 3171, 13, 4706, 16273, 7503, 29892, 29871, 29941, 29962, 847, 29922, 3171, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 18011, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 349, 7925, 278, 1967, 304, 278, 1881, 2920, 322, 3171, 29892, 27523, 278, 13, 1678, 3239, 411, 2099, 322, 10594, 278, 1967, 297, 278, 2246, 29899, 1563, 29889, 13, 1678, 3940, 29901, 445, 23347, 527, 29918, 29893, 5277, 2920, 322, 527, 29918, 29882, 5277, 3171, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2920, 29892, 3171, 29892, 2099, 29922, 2303, 2190, 29903, 29892, 17132, 29918, 4141, 29922, 5574, 1125, 13, 4706, 1583, 29889, 12676, 353, 2099, 13, 4706, 1583, 29889, 2103, 353, 2920, 13, 4706, 1583, 29889, 3545, 353, 3171, 13, 4706, 1583, 29889, 8305, 29918, 4141, 353, 17132, 29918, 4141, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 527, 29918, 29882, 29892, 527, 29918, 29893, 29892, 10809, 353, 1967, 29889, 12181, 13, 13, 4706, 7985, 29918, 3027, 353, 7442, 29889, 3298, 359, 29898, 13, 9651, 313, 1311, 29889, 3545, 29892, 1583, 29889, 2103, 29892, 10809, 511, 13, 9651, 26688, 29922, 3027, 29889, 29881, 1853, 29897, 13, 4706, 7985, 29918, 3027, 7503, 29892, 584, 29892, 584, 29962, 353, 1583, 29889, 12676, 13, 4706, 7985, 29918, 3027, 7503, 326, 29918, 29882, 29892, 584, 326, 29918, 29893, 29962, 353, 1967, 13, 13, 4706, 565, 1583, 29889, 8305, 29918, 4141, 29901, 13, 9651, 7985, 29918, 13168, 29879, 353, 7442, 29889, 3298, 359, 29898, 13, 18884, 313, 13168, 29879, 29889, 12181, 29961, 29900, 1402, 1583, 29889, 3545, 29892, 1583, 29889, 2103, 511, 13, 18884, 26688, 29922, 13168, 29879, 29889, 29881, 1853, 29897, 13, 9651, 7985, 29918, 13168, 29879, 7503, 29892, 29901, 326, 29918, 29882, 29892, 29901, 326, 29918, 29893, 29962, 353, 11105, 29879, 13, 9651, 11105, 29879, 353, 7985, 29918, 13168, 29879, 13, 13, 4706, 736, 7985, 29918, 3027, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 1990, 2538, 675, 29898, 3318, 1125, 13, 1678, 9995, 960, 19905, 29918, 294, 1103, 29918, 3605, 601, 338, 1565, 29892, 445, 620, 7093, 304, 385, 26368, 4038, 310, 4236, 29918, 2311, 334, 4236, 29918, 2311, 9995, 13, 13, 1678, 732, 7959, 5696, 13, 1678, 822, 22235, 29918, 2311, 29918, 4569, 7143, 29918, 279, 29898, 2492, 29918, 29893, 29892, 10153, 29918, 29882, 29892, 4236, 29918, 2311, 1125, 13, 4706, 9995, 306, 5844, 287, 445, 697, 714, 373, 278, 8424, 310, 5650, 29889, 7867, 292, 2920, 29930, 3545, 353, 2134, 29916, 4236, 29918, 2311, 29985, 29906, 9995, 13, 4706, 11959, 353, 18074, 2273, 29898, 2492, 29918, 29893, 847, 10153, 29918, 29882, 29897, 13, 4706, 281, 353, 4236, 29918, 2311, 334, 11959, 13, 4706, 298, 353, 4236, 29918, 2311, 847, 11959, 13, 4706, 736, 938, 29898, 29893, 511, 938, 29898, 29882, 29897, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 19490, 29918, 4141, 29922, 5574, 1125, 13, 4706, 1583, 29889, 21476, 29918, 4141, 353, 19490, 29918, 4141, 13, 4706, 1583, 29889, 3317, 29918, 2311, 353, 274, 16434, 29889, 3317, 29918, 2311, 13, 4706, 1583, 29889, 4569, 7143, 29918, 294, 1103, 29918, 3605, 601, 353, 274, 16434, 29889, 4569, 7143, 29918, 294, 1103, 29918, 3605, 601, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29922, 8516, 1125, 13, 4706, 10153, 29918, 29882, 29892, 10153, 29918, 29893, 29892, 903, 353, 1967, 29889, 12181, 13, 308, 13, 4706, 565, 1583, 29889, 4569, 7143, 29918, 294, 1103, 29918, 3605, 601, 29901, 13, 9651, 2920, 29892, 3171, 353, 2538, 675, 29889, 28667, 29918, 2311, 29918, 4569, 7143, 29918, 279, 29898, 2492, 29918, 29893, 29892, 10153, 29918, 29882, 29892, 1583, 29889, 3317, 29918, 2311, 29897, 13, 4706, 1683, 29901, 13, 9651, 2920, 29892, 3171, 353, 1583, 29889, 3317, 29918, 2311, 29892, 1583, 29889, 3317, 29918, 2311, 13, 13, 4706, 1967, 353, 13850, 29906, 29889, 21476, 29898, 3027, 29892, 313, 2103, 29892, 3171, 876, 13, 13, 4706, 565, 1583, 29889, 21476, 29918, 4141, 29901, 13, 9651, 396, 3185, 763, 1269, 1203, 338, 263, 2927, 8242, 13, 9651, 11105, 29879, 353, 11105, 29879, 29889, 3286, 4220, 3552, 29896, 29892, 29871, 29906, 29892, 29871, 29900, 876, 13, 9651, 11105, 29879, 353, 13850, 29906, 29889, 21476, 29898, 13168, 29879, 29892, 313, 2103, 29892, 3171, 876, 13, 632, 13, 9651, 396, 4673, 15633, 620, 7093, 263, 313, 29893, 29892, 29882, 29892, 29896, 29897, 1409, 304, 313, 29879, 29892, 29879, 511, 577, 2329, 393, 13, 9651, 565, 7431, 29898, 13168, 29879, 29889, 12181, 29897, 1275, 29871, 29906, 29901, 13, 18884, 11105, 29879, 353, 7442, 29889, 18837, 29918, 6229, 29879, 29898, 13168, 29879, 29892, 29871, 29900, 29897, 13, 9651, 1683, 29901, 13, 18884, 11105, 29879, 353, 11105, 29879, 29889, 3286, 4220, 3552, 29906, 29892, 29871, 29900, 29892, 29871, 29896, 876, 13, 13, 9651, 396, 2522, 744, 3216, 292, 16273, 313, 4716, 526, 5279, 8380, 10350, 29897, 13, 9651, 16273, 7503, 29892, 518, 29900, 29892, 29871, 29906, 5262, 334, 29922, 313, 2103, 29871, 847, 10153, 29918, 29893, 29897, 13, 9651, 16273, 7503, 29892, 518, 29896, 29892, 29871, 29941, 5262, 334, 29922, 313, 3545, 847, 10153, 29918, 29882, 29897, 13, 13, 4706, 396, 3295, 7543, 16273, 393, 526, 7968, 1135, 591, 29915, 29881, 763, 13, 4706, 281, 353, 16273, 7503, 29892, 29871, 29906, 29962, 448, 16273, 7503, 29892, 29871, 29900, 29962, 13, 4706, 298, 353, 16273, 7503, 29892, 29871, 29941, 29962, 448, 16273, 7503, 29892, 29871, 29896, 29962, 13, 13, 4706, 3013, 353, 313, 29893, 1405, 274, 16434, 29889, 2218, 7543, 29918, 1884, 29918, 2103, 29897, 334, 313, 29882, 1405, 274, 16434, 29889, 2218, 7543, 29918, 1884, 29918, 3545, 29897, 13, 4706, 11105, 29879, 353, 11105, 29879, 29961, 17462, 29962, 13, 4706, 16273, 353, 16273, 29961, 17462, 29962, 13, 4706, 11073, 1839, 21134, 2033, 353, 11073, 1839, 21134, 2033, 29961, 17462, 29962, 13, 4706, 11073, 1839, 1949, 29918, 29883, 798, 6289, 2033, 353, 313, 21134, 1839, 21134, 2033, 529, 29871, 29900, 467, 2083, 580, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 29903, 1337, 362, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 5224, 29922, 29900, 29889, 29945, 29892, 7568, 29922, 29896, 29889, 29945, 1125, 13, 4706, 1583, 29889, 13609, 353, 5224, 13, 4706, 1583, 29889, 21064, 353, 7568, 13, 4706, 4974, 1583, 29889, 21064, 6736, 1583, 29889, 13609, 29892, 376, 9996, 579, 7568, 1818, 367, 6736, 5224, 1213, 13, 4706, 4974, 1583, 29889, 13609, 6736, 29871, 29900, 29892, 376, 9996, 579, 5224, 1818, 367, 1661, 29899, 22198, 1213, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 1967, 7503, 29892, 584, 29892, 29871, 29896, 29962, 334, 29922, 20371, 29889, 29590, 29898, 1311, 29889, 13609, 29892, 1583, 29889, 21064, 29897, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 29950, 434, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 19471, 29922, 29896, 29947, 29889, 29900, 1125, 13, 4706, 4974, 19471, 6736, 29871, 29900, 29889, 29900, 322, 19471, 5277, 29871, 29941, 29953, 29900, 29889, 29900, 13, 4706, 1583, 29889, 4181, 353, 19471, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 1967, 7503, 29892, 584, 29892, 29871, 29900, 29962, 4619, 20371, 29889, 29590, 6278, 1311, 29889, 4181, 29892, 1583, 29889, 4181, 29897, 13, 9651, 1967, 7503, 29892, 584, 29892, 29871, 29900, 3816, 3027, 7503, 29892, 584, 29892, 29871, 29900, 29962, 1405, 29871, 29941, 29953, 29900, 29889, 29900, 29962, 22361, 29871, 29941, 29953, 29900, 29889, 29900, 13, 9651, 1967, 7503, 29892, 584, 29892, 29871, 29900, 3816, 3027, 7503, 29892, 584, 29892, 29871, 29900, 29962, 529, 29871, 29900, 29889, 29900, 29962, 4619, 29871, 29941, 29953, 29900, 29889, 29900, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 20769, 292, 3782, 895, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1583, 29889, 546, 1516, 353, 5135, 29900, 29892, 29871, 29896, 29892, 29871, 29906, 511, 313, 29900, 29892, 29871, 29906, 29892, 29871, 29896, 511, 13, 462, 418, 313, 29896, 29892, 29871, 29900, 29892, 29871, 29906, 511, 313, 29896, 29892, 29871, 29906, 29892, 29871, 29900, 511, 13, 462, 418, 313, 29906, 29892, 29871, 29900, 29892, 29871, 29896, 511, 313, 29906, 29892, 29871, 29896, 29892, 29871, 29900, 876, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 396, 3872, 29915, 29873, 528, 21897, 278, 18196, 3113, 29892, 2020, 723, 366, 437, 445, 13, 13, 4706, 396, 565, 4036, 29889, 9502, 524, 29898, 29906, 1125, 13, 4706, 396, 268, 17945, 353, 1583, 29889, 546, 1516, 29961, 8172, 29889, 9502, 524, 29898, 2435, 29898, 1311, 29889, 546, 1516, 28166, 13, 4706, 396, 268, 528, 21897, 353, 3925, 481, 1451, 12629, 29898, 26276, 29897, 29871, 396, 528, 21897, 18196, 13, 4706, 396, 268, 1967, 353, 528, 21897, 29898, 3027, 29897, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 14806, 3306, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1857, 2433, 29933, 14345, 742, 4327, 2433, 29950, 7597, 29374, 13, 4706, 1583, 29889, 9067, 353, 4327, 13, 4706, 1583, 29889, 3784, 353, 1857, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 29937, 4706, 1596, 877, 797, 14806, 3306, 29892, 8267, 338, 742, 1967, 29889, 12181, 29897, 13, 29937, 4706, 1596, 877, 392, 848, 1134, 338, 742, 3027, 29889, 29881, 1853, 29897, 13, 4706, 565, 1583, 29889, 3784, 1275, 525, 29933, 14345, 29915, 322, 1583, 29889, 9067, 1275, 525, 29950, 7597, 2396, 13, 9651, 1967, 353, 13850, 29906, 29889, 11023, 29873, 3306, 29898, 3027, 29892, 13850, 29906, 29889, 15032, 1955, 29918, 29933, 14345, 29906, 29950, 7597, 29897, 13, 4706, 25342, 1583, 29889, 3784, 1275, 525, 29950, 7597, 29915, 322, 1583, 29889, 9067, 1275, 525, 29933, 14345, 2396, 13, 9651, 1967, 353, 13850, 29906, 29889, 11023, 29873, 3306, 29898, 3027, 29892, 13850, 29906, 29889, 15032, 1955, 29918, 29950, 7597, 29906, 29933, 14345, 29897, 13, 4706, 1683, 29901, 13, 9651, 12020, 2216, 1888, 2037, 287, 2392, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 1168, 509, 579, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 5224, 29922, 29900, 29889, 29945, 29892, 7568, 29922, 29896, 29889, 29945, 1125, 13, 4706, 1583, 29889, 13609, 353, 5224, 13, 4706, 1583, 29889, 21064, 353, 7568, 13, 4706, 4974, 1583, 29889, 21064, 6736, 1583, 29889, 13609, 29892, 376, 9996, 579, 7568, 1818, 367, 6736, 5224, 1213, 13, 4706, 4974, 1583, 29889, 13609, 6736, 29871, 29900, 29892, 376, 9996, 579, 5224, 1818, 367, 1661, 29899, 22198, 1213, 13, 13, 1678, 396, 23347, 5785, 1967, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 15595, 353, 20371, 29889, 29590, 29898, 1311, 29889, 13609, 29892, 1583, 29889, 21064, 29897, 13, 9651, 1967, 334, 29922, 15595, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 29933, 1266, 2264, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 19471, 29922, 29941, 29906, 1125, 13, 4706, 4974, 19471, 6736, 29871, 29900, 29889, 29900, 13, 4706, 4974, 19471, 5277, 29871, 29906, 29945, 29945, 29889, 29900, 13, 4706, 1583, 29889, 4181, 353, 19471, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 19471, 353, 20371, 29889, 29590, 6278, 1311, 29889, 4181, 29892, 1583, 29889, 4181, 29897, 13, 9651, 1967, 4619, 19471, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 1763, 15633, 29906, 2940, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 12489, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 736, 12489, 29889, 21970, 2141, 23749, 2141, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 467, 3286, 4220, 3552, 29896, 29892, 29871, 29906, 29892, 29871, 29900, 8243, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 1763, 29911, 6073, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 13850, 3027, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 736, 4842, 305, 29889, 3166, 29918, 23749, 29898, 11023, 3027, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 8106, 17858, 1082, 29898, 29906, 29892, 29871, 29900, 29892, 29871, 29896, 511, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 17708, 29907, 1336, 29898, 3318, 1125, 13, 1678, 9995, 29907, 1336, 13, 1678, 11842, 9331, 29901, 13, 4706, 10153, 313, 2940, 1125, 278, 1967, 1641, 1881, 2645, 6694, 13, 4706, 16273, 313, 29911, 6073, 1125, 278, 2441, 3216, 292, 16273, 297, 19592, 883, 13, 4706, 11073, 313, 29911, 6073, 1125, 278, 770, 11073, 363, 1269, 289, 1884, 13, 4706, 4464, 313, 7411, 18761, 1125, 278, 1375, 322, 4236, 432, 5753, 538, 975, 14128, 13, 1678, 7106, 29901, 13, 4706, 313, 2492, 29892, 16273, 29892, 4413, 29897, 13, 9651, 10153, 313, 2940, 1125, 278, 8182, 2986, 1967, 13, 9651, 16273, 313, 29911, 6073, 1125, 278, 10365, 287, 3216, 292, 16273, 297, 19592, 883, 13, 9651, 11073, 313, 29911, 6073, 1125, 278, 770, 11073, 363, 1269, 289, 1884, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1583, 29889, 11249, 29918, 6768, 353, 313, 13, 9651, 396, 773, 4152, 2441, 1881, 1967, 13, 9651, 6213, 29892, 13, 9651, 396, 4559, 263, 13261, 269, 29889, 29873, 29889, 341, 1177, 432, 5753, 538, 281, 29914, 5446, 297, 869, 29896, 7671, 29941, 7671, 29946, 7671, 29955, 7671, 29929, 13, 9651, 313, 29900, 29889, 29896, 29892, 6213, 511, 13, 9651, 313, 29900, 29889, 29941, 29892, 6213, 511, 13, 9651, 313, 29900, 29889, 29955, 29892, 6213, 511, 13, 9651, 313, 29900, 29889, 29929, 29892, 6213, 511, 13, 9651, 396, 20459, 4559, 263, 13261, 13, 9651, 313, 8516, 29892, 6213, 511, 13, 4706, 1723, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 3171, 29892, 2920, 29892, 903, 353, 1967, 29889, 12181, 13, 4706, 1550, 5852, 29901, 13, 9651, 396, 20459, 6755, 263, 4464, 13, 9651, 4464, 353, 20371, 29889, 16957, 29898, 1311, 29889, 11249, 29918, 6768, 29897, 13, 9651, 565, 4464, 338, 6213, 29901, 13, 18884, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 9651, 1375, 29918, 29875, 283, 29892, 4236, 29918, 29875, 283, 353, 4464, 13, 9651, 565, 1375, 29918, 29875, 283, 338, 6213, 29901, 13, 18884, 1375, 29918, 29875, 283, 353, 5785, 877, 29899, 7192, 1495, 13, 9651, 565, 4236, 29918, 29875, 283, 338, 6213, 29901, 13, 18884, 4236, 29918, 29875, 283, 353, 5785, 877, 7192, 1495, 13, 13, 9651, 396, 4236, 1020, 2719, 313, 29945, 29900, 29897, 13, 9651, 363, 903, 297, 3464, 29898, 29945, 29900, 1125, 13, 18884, 1857, 29918, 3027, 353, 1967, 13, 13, 18884, 281, 353, 20371, 29889, 29590, 29898, 29900, 29889, 29941, 334, 2920, 29892, 2920, 29897, 13, 18884, 298, 353, 20371, 29889, 29590, 29898, 29900, 29889, 29941, 334, 3171, 29892, 3171, 29897, 13, 13, 18884, 396, 9565, 11959, 7276, 289, 29914, 29873, 869, 29945, 669, 29871, 29906, 13, 18884, 565, 298, 847, 281, 529, 29871, 29900, 29889, 29945, 470, 298, 847, 281, 1405, 29871, 29906, 29901, 13, 462, 1678, 6773, 13, 13, 18884, 2175, 353, 20371, 29889, 29590, 29898, 2103, 448, 281, 29897, 13, 18884, 2246, 353, 20371, 29889, 29590, 29898, 3545, 448, 298, 29897, 13, 13, 18884, 396, 3588, 304, 6043, 7705, 921, 29896, 29892, 29891, 29896, 29892, 29916, 29906, 29892, 29891, 29906, 13, 18884, 7705, 353, 7442, 29889, 2378, 4197, 524, 29898, 1563, 511, 938, 29898, 3332, 511, 938, 29898, 1563, 29974, 29893, 511, 938, 29898, 3332, 29974, 29882, 29897, 2314, 13, 13, 18884, 396, 8147, 22244, 29965, 313, 29926, 5753, 538, 25457, 29897, 289, 29914, 29873, 278, 8182, 2986, 322, 330, 29873, 16273, 13, 18884, 25457, 353, 432, 5753, 538, 29918, 23749, 29898, 1884, 267, 29892, 7705, 29897, 13, 13, 18884, 396, 910, 8424, 310, 775, 338, 6494, 3192, 322, 947, 3078, 29901, 13, 18884, 396, 2045, 597, 3292, 29889, 510, 29914, 314, 12163, 4632, 29914, 893, 29881, 29889, 2272, 7345, 305, 29914, 12175, 29914, 29953, 29947, 13, 18884, 396, 13, 18884, 396, 2398, 29892, 746, 306, 4343, 372, 411, 25457, 29889, 3317, 580, 529, 1375, 29918, 29875, 283, 29892, 13, 18884, 396, 372, 5700, 278, 286, 3301, 297, 4203, 313, 7045, 29871, 29947, 29895, 24372, 467, 1105, 372, 27111, 29889, 13, 18884, 396, 13, 18884, 396, 338, 1375, 322, 4236, 25457, 7276, 15787, 29973, 565, 451, 1018, 1449, 13, 18884, 565, 25457, 29889, 1195, 580, 529, 1375, 29918, 29875, 283, 322, 4236, 29918, 29875, 283, 529, 25457, 29889, 3317, 7295, 13, 462, 1678, 6773, 13, 13, 18884, 396, 5700, 278, 274, 1336, 515, 278, 1967, 13, 18884, 1857, 29918, 3027, 353, 1857, 29918, 3027, 29961, 1621, 29961, 29896, 5387, 1621, 29961, 29941, 1402, 7705, 29961, 29900, 5387, 1621, 29961, 29906, 1402, 13, 462, 462, 795, 584, 29962, 13, 13, 18884, 396, 3013, 25457, 411, 330, 29873, 3800, 10762, 4818, 297, 4559, 29881, 13261, 13, 18884, 1644, 414, 353, 313, 1884, 267, 7503, 29892, 584, 29906, 29962, 718, 16273, 7503, 29892, 29871, 29906, 29901, 2314, 847, 29871, 29906, 29889, 29900, 13, 13, 18884, 396, 11105, 297, 599, 330, 29873, 16273, 393, 2038, 322, 304, 278, 2175, 310, 1644, 414, 13, 18884, 286, 29896, 353, 313, 1621, 29961, 29900, 29962, 529, 1644, 414, 7503, 29892, 29871, 29900, 2314, 334, 313, 1621, 29961, 29896, 29962, 529, 1644, 414, 7503, 29892, 29871, 29896, 2314, 13, 13, 18884, 396, 11105, 297, 599, 330, 29873, 16273, 393, 1090, 322, 304, 278, 1492, 310, 1644, 414, 13, 18884, 286, 29906, 353, 313, 1621, 29961, 29906, 29962, 1405, 1644, 414, 7503, 29892, 29871, 29900, 2314, 334, 313, 1621, 29961, 29941, 29962, 1405, 1644, 414, 7503, 29892, 29871, 29896, 2314, 13, 13, 18884, 396, 11105, 297, 393, 1716, 286, 29896, 322, 286, 29906, 526, 1565, 13, 18884, 11105, 353, 286, 29896, 334, 286, 29906, 13, 13, 18884, 396, 518, 29900, 2023, 29871, 29900, 363, 954, 29918, 4141, 322, 769, 29871, 29896, 2023, 29871, 29896, 363, 954, 29918, 29883, 798, 6289, 29962, 13, 18884, 954, 29918, 29883, 798, 6289, 353, 11073, 1839, 1949, 29918, 29883, 798, 6289, 2033, 13, 18884, 19174, 29918, 13168, 353, 7442, 29889, 3298, 359, 29898, 13168, 29889, 12181, 29892, 26688, 29922, 9302, 29889, 524, 29941, 29906, 29897, 13, 13, 18884, 565, 954, 29918, 29883, 798, 6289, 1405, 29871, 29900, 29901, 13, 462, 1678, 19174, 29918, 13168, 14352, 1949, 29918, 29883, 798, 6289, 17531, 353, 29871, 29896, 13, 13, 18884, 396, 505, 738, 2854, 16273, 29973, 1018, 1449, 565, 451, 13, 18884, 396, 3115, 1207, 1854, 366, 505, 472, 3203, 697, 4943, 330, 29873, 13, 18884, 565, 451, 11105, 29889, 1384, 580, 470, 7442, 29889, 2083, 29898, 29896, 29899, 29883, 798, 29881, 29918, 13168, 29961, 13168, 2314, 1275, 29871, 29900, 29901, 13, 462, 1678, 6773, 13, 13, 18884, 396, 2125, 871, 278, 9686, 330, 29873, 11105, 29879, 13, 18884, 1857, 29918, 13168, 29879, 353, 11105, 29879, 29961, 13168, 29892, 584, 29892, 584, 1822, 8552, 580, 13, 13, 18884, 396, 2125, 871, 9686, 330, 29873, 16273, 13, 18884, 1857, 29918, 1884, 267, 353, 16273, 29961, 13168, 29892, 584, 1822, 8552, 580, 13, 13, 18884, 396, 2125, 871, 9686, 330, 29873, 11073, 13, 18884, 11073, 1839, 21134, 2033, 353, 11073, 1839, 21134, 2033, 29961, 13168, 29962, 13, 18884, 1857, 29918, 21134, 353, 11073, 13, 13, 18884, 396, 1334, 1286, 1795, 505, 28145, 19174, 25495, 13, 18884, 565, 954, 29918, 29883, 798, 6289, 1405, 29871, 29900, 29901, 13, 462, 1678, 11073, 1839, 1949, 29918, 29883, 798, 6289, 2033, 353, 7442, 29889, 2083, 29898, 29883, 798, 29881, 29918, 13168, 29961, 13168, 2314, 13, 13, 18884, 396, 881, 591, 671, 278, 3800, 2175, 322, 2246, 11155, 470, 278, 274, 1336, 29915, 29879, 13, 18884, 1857, 29918, 1884, 267, 7503, 29892, 584, 29906, 29962, 353, 7442, 29889, 27525, 398, 29898, 3784, 29918, 1884, 267, 7503, 29892, 584, 29906, 1402, 13, 462, 462, 462, 29871, 7705, 7503, 29906, 2314, 13, 18884, 396, 10365, 304, 274, 1336, 313, 1609, 1014, 4440, 292, 274, 1336, 29915, 29879, 2175, 29892, 3332, 29897, 13, 18884, 1857, 29918, 1884, 267, 7503, 29892, 584, 29906, 29962, 22361, 7705, 7503, 29906, 29962, 13, 13, 18884, 1857, 29918, 1884, 267, 7503, 29892, 29871, 29906, 17531, 353, 7442, 29889, 1195, 12539, 29898, 3784, 29918, 1884, 267, 7503, 29892, 29871, 29906, 29901, 1402, 13, 462, 462, 462, 29871, 7705, 29961, 29906, 29901, 2314, 13, 18884, 396, 10365, 304, 274, 1336, 313, 1609, 1014, 4440, 292, 274, 1336, 29915, 29879, 2175, 29892, 3332, 29897, 13, 18884, 1857, 29918, 1884, 267, 7503, 29892, 29871, 29906, 17531, 22361, 7705, 7503, 29906, 29962, 13, 13, 18884, 396, 274, 1336, 278, 1857, 11105, 29879, 304, 278, 1021, 13391, 408, 278, 1967, 13, 18884, 1857, 29918, 13168, 29879, 353, 1857, 29918, 13168, 29879, 7503, 29892, 7705, 29961, 29896, 5387, 1621, 29961, 29941, 1402, 7705, 29961, 29900, 5387, 1621, 29961, 29906, 5262, 13, 13, 18884, 736, 1857, 29918, 3027, 29892, 1857, 29918, 13168, 29879, 29892, 1857, 29918, 1884, 267, 29892, 1857, 29918, 21134, 13, 13, 13, 1990, 12027, 392, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2099, 1125, 13, 4706, 1583, 29889, 12676, 353, 2099, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 29937, 4706, 1596, 877, 10399, 292, 12027, 392, 856, 1495, 13, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 4706, 3171, 29892, 2920, 29892, 10809, 353, 1967, 29889, 12181, 13, 4706, 11959, 353, 20371, 29889, 29590, 29898, 29896, 29892, 29871, 29946, 29897, 13, 4706, 2175, 353, 20371, 29889, 29590, 29898, 29900, 29892, 2920, 29930, 3605, 601, 448, 2920, 29897, 13, 4706, 2246, 353, 20371, 29889, 29590, 29898, 29900, 29892, 3171, 29930, 3605, 601, 448, 3171, 29897, 13, 13, 4706, 7985, 29918, 3027, 353, 7442, 29889, 3298, 359, 29898, 13, 9651, 313, 524, 29898, 3545, 29930, 3605, 601, 511, 938, 29898, 2103, 29930, 3605, 601, 511, 10809, 511, 13, 9651, 26688, 29922, 3027, 29889, 29881, 1853, 29897, 13, 4706, 7985, 29918, 3027, 7503, 29892, 584, 29892, 584, 29962, 353, 1583, 29889, 12676, 13, 4706, 7985, 29918, 3027, 29961, 524, 29898, 3332, 1125, 524, 29898, 3332, 718, 3171, 511, 13, 462, 268, 938, 29898, 1563, 1125, 524, 29898, 1563, 718, 2920, 4638, 353, 1967, 13, 4706, 1967, 353, 7985, 29918, 3027, 13, 13, 4706, 7985, 29918, 13168, 29879, 353, 7442, 29889, 3298, 359, 29898, 13, 9651, 313, 13168, 29879, 29889, 12181, 29961, 29900, 1402, 938, 29898, 3545, 29930, 3605, 601, 511, 938, 29898, 2103, 29930, 3605, 601, 8243, 13, 9651, 26688, 29922, 13168, 29879, 29889, 29881, 1853, 29897, 13, 4706, 7985, 29918, 13168, 29879, 7503, 29892, 524, 29898, 3332, 1125, 524, 29898, 3332, 718, 3171, 511, 13, 462, 539, 938, 29898, 1563, 1125, 524, 29898, 1563, 718, 2920, 4638, 353, 11105, 29879, 13, 4706, 11105, 29879, 353, 7985, 29918, 13168, 29879, 13, 13, 4706, 16273, 353, 16273, 29889, 8552, 580, 13, 4706, 16273, 7503, 29892, 584, 29906, 29962, 4619, 313, 524, 29898, 1563, 511, 938, 29898, 3332, 876, 13, 4706, 16273, 7503, 29892, 29871, 29906, 17531, 4619, 313, 524, 29898, 1563, 511, 938, 29898, 3332, 876, 13, 13, 29937, 4706, 1596, 877, 6132, 264, 411, 29871, 12027, 392, 856, 1495, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 9531, 1762, 13393, 10605, 29898, 3318, 1125, 13, 1678, 396, 29871, 3446, 275, 338, 590, 1407, 13543, 2969, 393, 591, 881, 1510, 278, 1904, 278, 13426, 10767, 557, 29871, 13, 1678, 396, 259, 22170, 310, 28190, 1967, 2913, 29889, 5538, 372, 1371, 29973, 399, 29967, 29925, 29871, 29896, 29946, 29899, 6185, 29899, 29906, 29900, 29906, 29896, 13, 1678, 396, 13, 1678, 396, 29871, 438, 3554, 1773, 747, 2251, 6758, 338, 925, 451, 1592, 16242, 304, 4386, 385, 1967, 411, 694, 29871, 13, 1678, 396, 259, 22525, 29889, 9033, 29954, 29950, 29991, 8922, 3761, 3654, 1497, 540, 1838, 29915, 29873, 864, 304, 1207, 278, 1784, 13, 1678, 396, 259, 3734, 3620, 29889, 29871, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 29937, 4706, 1596, 877, 262, 405, 29911, 7068, 742, 21134, 29892, 1853, 29898, 21134, 876, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 29900, 1125, 396, 14383, 445, 29871, 29896, 29929, 714, 310, 29871, 29906, 29900, 3064, 29889, 29871, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 298, 29892, 29893, 29892, 29881, 353, 1967, 29889, 12181, 13, 4706, 11462, 353, 7442, 29889, 14486, 29898, 2288, 29889, 29590, 29898, 677, 29922, 29900, 29889, 29900, 29892, 1880, 29922, 29906, 29945, 29953, 29889, 29900, 29892, 2159, 7607, 29882, 29892, 281, 29892, 270, 876, 467, 579, 668, 29898, 9302, 29889, 13470, 29947, 29897, 13, 13, 4706, 11105, 29879, 353, 7442, 29889, 2873, 3552, 29882, 29892, 29893, 511, 26688, 29922, 9302, 29889, 13470, 29947, 29897, 13, 4706, 16273, 353, 7442, 29889, 294, 2378, 4197, 29900, 29892, 29900, 29892, 29893, 29892, 29882, 1402, 29881, 1853, 29922, 9302, 29889, 7411, 467, 690, 14443, 3552, 29896, 29892, 29946, 876, 13, 4706, 11073, 353, 11117, 1949, 29918, 29883, 798, 6289, 2396, 29871, 29900, 29892, 525, 21134, 2396, 7442, 29889, 2378, 4197, 29900, 29889, 2314, 29913, 13, 13, 4706, 736, 11462, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 268, 13, 13, 13, 1990, 360, 29946, 29896, 29945, 1217, 895, 29898, 3318, 1125, 13, 1678, 396, 29871, 2860, 591, 8900, 263, 3287, 310, 3515, 29899, 517, 29899, 2557, 1197, 3097, 297, 278, 1962, 29871, 13, 1678, 396, 259, 310, 612, 29949, 4375, 1783, 19673, 964, 14614, 5194, 29906, 29892, 306, 8459, 304, 1018, 304, 29611, 278, 23530, 13, 1678, 396, 259, 11462, 515, 278, 360, 29946, 29896, 29945, 10656, 591, 526, 773, 29892, 304, 1074, 565, 591, 1033, 6860, 278, 29871, 13, 1678, 396, 259, 1904, 393, 1316, 11462, 338, 28190, 29889, 306, 12919, 3512, 363, 263, 269, 3021, 4695, 630, 13, 1678, 396, 259, 1904, 304, 3160, 599, 21420, 310, 1006, 29899, 29886, 15711, 19869, 2992, 1696, 541, 363, 13, 1678, 396, 259, 1286, 306, 626, 2675, 304, 11978, 322, 1074, 565, 306, 508, 679, 738, 20414, 472, 472, 599, 13, 1678, 396, 259, 445, 982, 29889, 29871, 399, 29967, 29925, 29871, 29896, 29899, 6185, 29899, 29906, 29900, 29906, 29896, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 298, 29892, 29893, 29892, 29881, 353, 1967, 29889, 12181, 13, 13, 4706, 2920, 353, 29871, 29896, 29896, 396, 310, 1999, 332, 8466, 13, 4706, 413, 2311, 353, 29871, 29953, 29953, 29871, 396, 29871, 13, 4706, 2967, 29918, 1217, 895, 353, 20371, 29889, 8945, 29898, 2029, 29922, 29900, 29889, 29900, 29892, 6287, 29922, 29941, 29892, 2159, 7607, 29882, 29892, 281, 29892, 270, 876, 13, 13, 4706, 274, 509, 353, 413, 2311, 29914, 29906, 29889, 29900, 13, 4706, 281, 29906, 353, 2920, 29914, 29906, 29889, 29900, 13, 4706, 921, 29900, 353, 274, 509, 29899, 29893, 29906, 29936, 921, 29896, 353, 274, 509, 29974, 29893, 29906, 29936, 343, 29900, 353, 274, 509, 29899, 29896, 29936, 343, 29896, 353, 274, 509, 29974, 29896, 13, 29937, 4706, 266, 29873, 353, 20371, 29889, 29590, 29898, 29900, 29892, 29906, 29930, 9302, 29889, 1631, 29897, 13, 29937, 4706, 390, 353, 7442, 29889, 294, 2378, 4197, 29961, 9302, 29889, 3944, 29898, 386, 29873, 511, 448, 9302, 29889, 5223, 29898, 386, 29873, 29897, 16272, 9302, 29889, 5223, 29898, 386, 29873, 511, 7442, 29889, 3944, 29898, 386, 29873, 4638, 2314, 13, 29937, 4706, 3978, 353, 7442, 29889, 294, 2378, 4197, 29961, 9988, 29892, 9988, 24960, 13, 4706, 289, 16485, 353, 7442, 29889, 294, 2378, 4197, 29961, 29916, 29900, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29896, 16272, 29916, 29900, 29892, 29891, 29896, 24960, 13, 13, 4706, 413, 824, 353, 5445, 29918, 9917, 653, 3552, 2039, 675, 29892, 413, 2311, 511, 289, 16485, 467, 579, 668, 29898, 9302, 29889, 7411, 29953, 29946, 29897, 13, 4706, 413, 824, 353, 13850, 29906, 29889, 2204, 332, 29898, 22178, 29892, 313, 29941, 29892, 29941, 876, 13, 4706, 413, 824, 353, 413, 824, 29914, 9302, 29889, 2083, 29898, 22178, 29897, 13, 13, 4706, 921, 29891, 661, 353, 7442, 29889, 1915, 3493, 6278, 2103, 29914, 29906, 29892, 2103, 29914, 29906, 29892, 1949, 29922, 2103, 29892, 29734, 29922, 5574, 29897, 13, 4706, 921, 29892, 343, 353, 7442, 29889, 4467, 29882, 7720, 29898, 3594, 661, 29892, 921, 29891, 661, 29897, 13, 4706, 364, 353, 7442, 29889, 3676, 29898, 29916, 29930, 29916, 718, 343, 29930, 29891, 29897, 13, 4706, 364, 29961, 29878, 1360, 29900, 29962, 353, 29871, 29896, 13, 308, 13, 4706, 413, 824, 353, 7442, 29889, 4548, 6278, 9302, 29889, 13519, 29898, 29946, 29930, 29878, 29914, 2103, 29892, 29871, 29906, 876, 259, 13, 268, 13, 13, 4706, 270, 19488, 353, 448, 29896, 396, 3013, 1021, 26688, 29889, 9531, 304, 437, 411, 18196, 29889, 29871, 13, 4706, 11462, 353, 13850, 29906, 29889, 4572, 29906, 29928, 29898, 3188, 29918, 1217, 895, 29892, 270, 19488, 1919, 413, 824, 29897, 13, 4706, 1967, 4619, 11462, 2056, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 268, 13, 13, 1990, 341, 957, 29898, 3318, 1125, 29871, 13, 1678, 396, 13, 1678, 396, 29871, 306, 864, 304, 1207, 777, 3618, 2615, 304, 505, 10884, 1999, 332, 29889, 1152, 1286, 29892, 445, 29871, 13, 1678, 396, 259, 18765, 362, 674, 4337, 599, 3618, 297, 1776, 29892, 541, 363, 1784, 3618, 29892, 445, 29871, 13, 1678, 396, 259, 947, 451, 1207, 4060, 29936, 896, 437, 451, 2869, 3926, 4337, 297, 6944, 29889, 29871, 13, 1678, 396, 29871, 1551, 278, 916, 1361, 29892, 1549, 278, 4168, 324, 575, 29892, 746, 278, 5455, 12169, 1009, 2343, 29892, 29871, 13, 1678, 396, 259, 4129, 297, 278, 9088, 756, 777, 10884, 1999, 332, 29889, 29871, 13, 1678, 396, 13, 1678, 396, 1678, 399, 29967, 29925, 13, 268, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 396, 13, 4706, 396, 7142, 291, 338, 12891, 13235, 411, 263, 3659, 310, 29871, 29900, 29889, 29945, 286, 29914, 29879, 29889, 450, 18322, 29963, 338, 1048, 29871, 13, 4706, 396, 1678, 29955, 29900, 14496, 9377, 29892, 6590, 304, 29871, 29953, 29946, 29900, 17036, 29889, 24321, 338, 29871, 29900, 29889, 29947, 286, 2038, 29871, 13, 4706, 396, 259, 3856, 305, 29892, 4168, 324, 575, 674, 367, 1048, 29871, 29896, 11134, 515, 3618, 29889, 1105, 2629, 29871, 29906, 29900, 29995, 29871, 13, 4706, 396, 259, 470, 577, 591, 2149, 385, 3659, 310, 29871, 29900, 29889, 29945, 334, 29941, 29906, 29900, 334, 29871, 29900, 29889, 29929, 334, 23402, 29898, 29941, 29945, 3587, 6802, 29941, 29900, 639, 29871, 13, 4706, 396, 259, 5226, 353, 29871, 29906, 29889, 29953, 17036, 29889, 29871, 13, 4706, 396, 13, 4706, 396, 1105, 1207, 278, 1999, 332, 413, 824, 1379, 505, 385, 3659, 310, 29871, 29946, 29889, 29871, 13, 4706, 396, 13, 4706, 396, 512, 916, 3838, 29892, 29871, 29900, 29889, 29945, 286, 29914, 29879, 16161, 304, 1048, 29871, 29946, 17036, 639, 3515, 29889, 29871, 13, 4706, 396, 13, 4706, 298, 29892, 29893, 29892, 29881, 353, 1967, 29889, 12181, 13, 13, 4706, 2920, 353, 7442, 29889, 6897, 29898, 9302, 29889, 14486, 29898, 2288, 29889, 8945, 29898, 29900, 29892, 29946, 4961, 718, 29871, 29896, 396, 310, 1999, 332, 8466, 13, 4706, 413, 2311, 353, 29871, 29941, 29941, 29871, 396, 29871, 13, 13, 4706, 274, 509, 353, 413, 2311, 29914, 29906, 29889, 29900, 13, 4706, 281, 29906, 353, 2920, 29914, 29906, 29889, 29900, 13, 4706, 921, 29900, 353, 274, 509, 29899, 29893, 29906, 29936, 921, 29896, 353, 274, 509, 29974, 29893, 29906, 29936, 343, 29900, 353, 274, 509, 29899, 29896, 29936, 343, 29896, 353, 274, 509, 29974, 29896, 13, 4706, 266, 29873, 353, 20371, 29889, 29590, 29898, 29900, 29892, 29906, 29930, 9302, 29889, 1631, 29897, 13, 4706, 390, 353, 7442, 29889, 294, 2378, 4197, 29961, 9302, 29889, 3944, 29898, 386, 29873, 511, 448, 9302, 29889, 5223, 29898, 386, 29873, 29897, 16272, 9302, 29889, 5223, 29898, 386, 29873, 511, 7442, 29889, 3944, 29898, 386, 29873, 4638, 2314, 13, 4706, 3978, 353, 7442, 29889, 294, 2378, 4197, 29961, 9988, 29892, 9988, 24960, 13, 4706, 289, 16485, 353, 313, 9302, 29889, 294, 2378, 4197, 29961, 29916, 29900, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29896, 16272, 29916, 29900, 29892, 29891, 29896, 24960, 29899, 12574, 29897, 732, 390, 320, 13, 462, 1678, 718, 3978, 29871, 13, 13, 4706, 413, 824, 353, 5445, 29918, 9917, 653, 3552, 2039, 675, 29892, 413, 2311, 511, 289, 16485, 467, 579, 668, 29898, 9302, 29889, 7411, 29953, 29946, 29897, 13, 4706, 413, 824, 353, 13850, 29906, 29889, 2204, 332, 29898, 22178, 29892, 313, 29941, 29892, 29941, 876, 13, 4706, 413, 824, 353, 413, 824, 29914, 9302, 29889, 2083, 29898, 22178, 29897, 13, 632, 13, 308, 13, 4706, 270, 19488, 353, 448, 29896, 396, 3013, 1021, 26688, 29889, 9531, 304, 437, 411, 18196, 29889, 29871, 13, 308, 13, 4706, 363, 11105, 297, 11105, 29879, 29901, 13, 9651, 11105, 353, 11105, 29889, 690, 14443, 3552, 29882, 29892, 29893, 29892, 29896, 876, 13, 9651, 10153, 29918, 2204, 332, 353, 13850, 29906, 29889, 4572, 29906, 29928, 29898, 3027, 29930, 13168, 29892, 270, 19488, 1919, 413, 824, 416, 13, 9651, 289, 13168, 353, 13850, 29906, 29889, 4572, 29906, 29928, 29898, 13168, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 511, 270, 19488, 2053, 13, 462, 462, 413, 824, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 8106, 690, 14443, 3552, 29882, 29892, 29893, 29892, 29896, 876, 13, 268, 13, 9651, 1967, 353, 10153, 29918, 2204, 332, 29930, 5838, 1278, 718, 1967, 16395, 29896, 29899, 289, 13168, 29897, 13, 9651, 11105, 353, 289, 13168, 13, 308, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 1990, 24321, 2713, 5790, 29898, 3318, 1125, 29871, 13, 1678, 396, 13, 1678, 396, 29871, 306, 864, 304, 1207, 777, 3618, 2615, 304, 505, 10884, 1999, 332, 29889, 1152, 1286, 29892, 445, 29871, 13, 1678, 396, 259, 18765, 362, 674, 4337, 599, 3618, 297, 1776, 29892, 541, 363, 1784, 3618, 29892, 445, 29871, 13, 1678, 396, 259, 947, 451, 1207, 4060, 29936, 896, 437, 451, 2869, 3926, 4337, 297, 6944, 29889, 29871, 13, 1678, 396, 29871, 1551, 278, 916, 1361, 29892, 1549, 278, 4168, 324, 575, 29892, 746, 278, 5455, 12169, 1009, 2343, 29892, 29871, 13, 1678, 396, 259, 4129, 297, 278, 9088, 756, 777, 10884, 1999, 332, 29889, 29871, 13, 1678, 396, 13, 1678, 396, 1678, 399, 29967, 29925, 13, 268, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 396, 13, 4706, 396, 14213, 936, 10656, 10884, 338, 1577, 8773, 8773, 29889, 14693, 3352, 7495, 16999, 2287, 29931, 6323, 22986, 3289, 11499, 323, 29979, 2227, 29907, 1964, 17067, 3210, 29940, 2965, 29902, 2190, 29871, 13, 4706, 396, 259, 17714, 3035, 341, 2891, 27946, 13, 4706, 396, 259, 450, 18322, 29963, 338, 1048, 29871, 13, 4706, 396, 1678, 29955, 29900, 14496, 9377, 29892, 6590, 304, 29871, 29953, 29946, 29900, 17036, 29889, 24321, 338, 29871, 29900, 29889, 29947, 286, 2038, 29871, 13, 4706, 396, 259, 3856, 305, 29892, 4168, 324, 575, 674, 367, 1048, 29871, 29896, 11134, 515, 3618, 29889, 1105, 2629, 29871, 29906, 29900, 29995, 29871, 13, 4706, 396, 259, 470, 577, 591, 2149, 385, 3659, 310, 29871, 29900, 29889, 29945, 334, 29941, 29906, 29900, 334, 29871, 29900, 29889, 29929, 334, 23402, 29898, 29941, 29945, 3587, 6802, 29941, 29900, 639, 29871, 13, 4706, 396, 259, 5226, 353, 29871, 29906, 29889, 29953, 17036, 29889, 29871, 13, 4706, 396, 13, 4706, 396, 1105, 1207, 278, 1999, 332, 413, 824, 1379, 505, 385, 3659, 310, 29871, 29946, 29889, 29871, 13, 4706, 396, 13, 4706, 396, 512, 916, 3838, 29892, 29871, 29900, 29889, 29945, 286, 29914, 29879, 16161, 304, 1048, 29871, 29946, 17036, 639, 3515, 29889, 29871, 13, 4706, 396, 13, 4706, 298, 29892, 29893, 29892, 29881, 353, 1967, 29889, 12181, 13, 13, 4706, 2920, 353, 7442, 29889, 6897, 29898, 9302, 29889, 14486, 29898, 2288, 29889, 8945, 29898, 29900, 29892, 29946, 4961, 718, 29871, 29896, 396, 310, 1999, 332, 8466, 13, 4706, 413, 2311, 353, 29871, 29941, 29941, 29871, 396, 29871, 13, 13, 4706, 274, 509, 353, 413, 2311, 29914, 29906, 29889, 29900, 13, 4706, 281, 29906, 353, 2920, 29914, 29906, 29889, 29900, 13, 4706, 921, 29900, 353, 274, 509, 29899, 29893, 29906, 29936, 921, 29896, 353, 274, 509, 29974, 29893, 29906, 29936, 343, 29900, 353, 274, 509, 29899, 29896, 29936, 343, 29896, 353, 274, 509, 29974, 29896, 13, 4706, 266, 29873, 353, 20371, 29889, 29590, 29898, 29900, 29892, 29906, 29930, 9302, 29889, 1631, 29897, 13, 4706, 390, 353, 7442, 29889, 294, 2378, 4197, 29961, 9302, 29889, 3944, 29898, 386, 29873, 511, 448, 9302, 29889, 5223, 29898, 386, 29873, 29897, 16272, 9302, 29889, 5223, 29898, 386, 29873, 511, 7442, 29889, 3944, 29898, 386, 29873, 4638, 2314, 13, 4706, 3978, 353, 7442, 29889, 294, 2378, 4197, 29961, 9988, 29892, 9988, 24960, 13, 4706, 289, 16485, 353, 313, 9302, 29889, 294, 2378, 4197, 29961, 29916, 29900, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29900, 16272, 29916, 29896, 29892, 29891, 29896, 16272, 29916, 29900, 29892, 29891, 29896, 24960, 29899, 12574, 29897, 732, 390, 718, 3978, 29871, 13, 13, 4706, 413, 824, 353, 5445, 29918, 9917, 653, 3552, 2039, 675, 29892, 413, 2311, 511, 289, 16485, 467, 579, 668, 29898, 9302, 29889, 7411, 29953, 29946, 29897, 13, 4706, 413, 824, 353, 13850, 29906, 29889, 2204, 332, 29898, 22178, 29892, 313, 29941, 29892, 29941, 876, 13, 4706, 413, 824, 353, 413, 824, 29914, 9302, 29889, 2083, 29898, 22178, 29897, 13, 13, 4706, 270, 19488, 353, 448, 29896, 396, 3013, 1021, 26688, 29889, 9531, 304, 437, 411, 18196, 29889, 29871, 13, 13, 29937, 4706, 1596, 877, 29924, 8194, 1999, 332, 29901, 742, 2920, 29914, 29947, 29892, 525, 2527, 414, 639, 1473, 472, 742, 29905, 13, 29937, 795, 938, 29898, 386, 29873, 29930, 29896, 29947, 29900, 29914, 9302, 29889, 1631, 511, 29915, 311, 7979, 267, 1495, 13, 29937, 4706, 1596, 877, 3027, 848, 1134, 338, 742, 3027, 29889, 29881, 1853, 29897, 13, 308, 13, 4706, 1967, 353, 13850, 29906, 29889, 4572, 29906, 29928, 29898, 3027, 29892, 270, 19488, 1919, 413, 824, 416, 13, 4706, 363, 11105, 297, 11105, 29879, 29901, 13, 9651, 11105, 353, 11105, 29889, 690, 14443, 3552, 29882, 29892, 29893, 29892, 29896, 876, 13, 9651, 11105, 353, 13850, 29906, 29889, 4572, 29906, 29928, 29898, 13168, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 511, 270, 19488, 2053, 13, 462, 18884, 413, 824, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 8106, 690, 14443, 3552, 29882, 29892, 29893, 29892, 29896, 876, 268, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 317, 1092, 682, 261, 29898, 3318, 1125, 29871, 13, 1678, 396, 29871, 306, 864, 304, 19342, 714, 777, 310, 1749, 4558, 577, 393, 3618, 2615, 7968, 29889, 29871, 13, 1678, 396, 1678, 399, 29967, 29925, 13, 308, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 29937, 4706, 565, 4036, 29889, 9502, 524, 29898, 29906, 29897, 29966, 29900, 29901, 13, 632, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 11959, 353, 20371, 29889, 29590, 29898, 29900, 29889, 29941, 29941, 29892, 29900, 29889, 29929, 29897, 13, 13, 4706, 11105, 2083, 353, 7442, 29889, 3298, 359, 29898, 13168, 29879, 29889, 12181, 29961, 29896, 29901, 2314, 13, 4706, 474, 957, 6984, 353, 5159, 13, 4706, 302, 29918, 5514, 29918, 27603, 29918, 650, 353, 29871, 29900, 13, 4706, 363, 474, 29892, 286, 297, 26985, 29898, 13168, 29879, 1125, 13, 9651, 11105, 2083, 4619, 286, 13, 9651, 302, 29885, 517, 29918, 1482, 353, 7442, 29889, 2083, 29898, 13168, 2083, 1405, 29871, 29896, 29897, 13, 9651, 565, 302, 29885, 517, 29918, 1482, 1405, 302, 29918, 5514, 29918, 27603, 29918, 650, 29901, 13, 18884, 302, 29918, 5514, 29918, 27603, 29918, 650, 353, 302, 29885, 517, 29918, 1482, 13, 18884, 474, 957, 6984, 29889, 4397, 29898, 29875, 29897, 13, 4706, 396, 13, 4706, 396, 259, 5399, 599, 278, 11105, 29879, 393, 505, 25457, 29892, 322, 5768, 777, 310, 963, 2745, 29871, 13, 4706, 396, 539, 694, 11105, 29879, 505, 25457, 29889, 29871, 13, 4706, 671, 29918, 13168, 353, 518, 5574, 29962, 334, 7431, 29898, 13168, 29879, 29897, 13, 4706, 565, 302, 29918, 5514, 29918, 27603, 29918, 650, 1405, 29871, 29900, 29901, 13, 9651, 363, 12013, 297, 474, 957, 6984, 29901, 13, 18884, 363, 432, 297, 3464, 29898, 601, 1125, 13, 462, 1678, 565, 671, 29918, 13168, 29961, 29926, 29962, 322, 671, 29918, 13168, 29961, 601, 5387, 13, 462, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 462, 9651, 671, 29918, 13168, 29961, 601, 29962, 353, 7700, 13, 462, 4706, 1683, 29901, 13, 462, 9651, 671, 29918, 13168, 29961, 29926, 29962, 353, 7700, 13, 462, 632, 13, 13, 4706, 3171, 29892, 2920, 29892, 10809, 353, 1967, 29889, 12181, 13, 4706, 15473, 29892, 343, 29891, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 2103, 511, 7442, 29889, 279, 927, 29898, 3545, 876, 13, 4706, 474, 29896, 29881, 5344, 353, 15473, 29930, 3545, 718, 343, 29891, 13, 13, 4706, 364, 353, 11959, 13, 4706, 338, 1092, 29876, 29895, 353, 7442, 29889, 3298, 359, 29898, 3027, 29889, 12181, 29897, 13, 4706, 716, 13168, 2083, 353, 7442, 29889, 3298, 359, 29898, 13168, 29879, 29889, 12181, 29961, 29896, 29901, 2314, 13, 4706, 599, 29918, 711, 1315, 353, 14405, 29918, 13168, 29879, 29898, 13168, 29879, 29897, 13, 13, 4706, 363, 527, 1278, 29892, 286, 297, 26985, 29898, 13168, 29879, 1125, 13, 9651, 565, 451, 671, 29918, 13168, 29961, 326, 1278, 5387, 13, 18884, 11105, 2083, 353, 11105, 2083, 448, 286, 29871, 13, 18884, 6773, 1678, 396, 14383, 4129, 363, 599, 541, 697, 310, 1269, 19174, 13, 632, 13, 9651, 286, 4141, 29920, 353, 286, 1405, 29871, 29900, 13, 9651, 527, 4141, 29920, 353, 7442, 29889, 336, 955, 29898, 4419, 29961, 29885, 4141, 29920, 14178, 3545, 718, 343, 29891, 29961, 29885, 4141, 29920, 14664, 579, 668, 29898, 524, 29897, 13, 632, 13, 9651, 921, 29900, 29892, 343, 29900, 353, 7442, 29889, 12676, 29898, 4419, 29961, 29885, 4141, 29920, 11724, 7442, 29889, 12676, 29898, 8071, 29961, 29885, 4141, 29920, 2314, 13, 632, 13, 9651, 396, 383, 784, 433, 5547, 278, 10350, 310, 278, 11105, 287, 17036, 2820, 29871, 13, 9651, 396, 29871, 313, 29916, 29900, 29892, 343, 29900, 511, 491, 263, 7329, 364, 29892, 1951, 364, 529, 29871, 29896, 29889, 29871, 13, 9651, 396, 4803, 383, 304, 1284, 14354, 310, 528, 3389, 1717, 1203, 17036, 29892, 4513, 304, 20471, 29889, 13, 9651, 383, 353, 14013, 364, 29901, 7442, 29889, 294, 5344, 4197, 29961, 29871, 364, 29892, 268, 29900, 29892, 29871, 921, 29900, 16395, 29896, 29899, 29878, 29897, 1402, 29905, 13, 462, 462, 539, 518, 259, 29900, 29892, 1678, 364, 29892, 29871, 343, 29900, 16395, 29896, 29899, 29878, 29897, 1402, 29905, 13, 462, 462, 539, 518, 259, 29900, 29892, 268, 29900, 29892, 539, 29896, 259, 4514, 2314, 13, 632, 13, 9651, 396, 921, 13168, 322, 343, 13168, 526, 278, 10350, 310, 11105, 287, 17036, 29892, 408, 4206, 29889, 13, 9651, 343, 13168, 353, 343, 29891, 29961, 29885, 4141, 29920, 1822, 690, 14443, 3552, 29896, 6653, 29896, 876, 13, 9651, 921, 13168, 353, 15473, 29961, 29885, 4141, 29920, 1822, 690, 14443, 3552, 29896, 6653, 29896, 876, 13, 9651, 396, 325, 338, 263, 731, 18765, 287, 12047, 29892, 15878, 411, 383, 29892, 2729, 13, 9651, 396, 259, 373, 11105, 287, 17036, 29892, 474, 29889, 29872, 29889, 16125, 403, 278, 4206, 964, 4341, 29892, 788, 29871, 29941, 5499, 1948, 310, 29871, 29896, 29915, 29879, 29889, 29871, 13, 9651, 396, 325, 29889, 12181, 338, 313, 29941, 29892, 2435, 29898, 29885, 4141, 29920, 876, 13, 9651, 325, 353, 320, 13, 9651, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 13168, 29892, 343, 13168, 29892, 7442, 29889, 2873, 29898, 962, 1278, 29889, 12181, 8243, 9685, 29922, 29900, 29897, 13, 9651, 921, 29891, 29918, 29886, 353, 5135, 9302, 29889, 2922, 16109, 29898, 29943, 29898, 29878, 511, 29894, 876, 29961, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 29897, 13, 9651, 396, 306, 750, 304, 671, 7442, 29889, 336, 955, 297, 278, 1494, 304, 4772, 825, 306, 1348, 29871, 13, 9651, 396, 259, 338, 263, 6494, 297, 7442, 29889, 13092, 29889, 739, 471, 6820, 592, 376, 546, 1897, 29908, 5412, 13, 9651, 396, 259, 1819, 29892, 746, 306, 750, 451, 4433, 363, 393, 29889, 29871, 13, 9651, 396, 13, 9651, 396, 3118, 2655, 306, 10972, 338, 393, 921, 29891, 29918, 29886, 338, 263, 4636, 29892, 3265, 1135, 385, 1409, 29892, 13, 9651, 396, 259, 607, 338, 263, 21578, 306, 626, 451, 1304, 304, 11580, 29892, 322, 372, 2444, 13, 9651, 396, 259, 304, 1207, 278, 4328, 1244, 29889, 29871, 13, 9651, 396, 13, 9651, 474, 29884, 353, 7442, 29889, 13092, 29898, 9302, 29889, 336, 955, 29898, 3594, 29918, 29886, 29961, 29900, 29892, 29901, 14178, 3545, 718, 921, 29891, 29918, 29886, 29961, 29896, 29892, 29901, 2314, 467, 579, 668, 29898, 524, 29897, 13, 9651, 396, 474, 29884, 526, 278, 16285, 304, 278, 716, 11105, 17036, 29889, 29871, 13, 9651, 921, 3746, 353, 313, 5871, 849, 3171, 29897, 13, 9651, 343, 3746, 353, 313, 5871, 1273, 3171, 29897, 13, 632, 13, 9651, 921, 1478, 29884, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 3746, 29889, 690, 14443, 29898, 29896, 6653, 29896, 511, 320, 13, 462, 462, 29871, 343, 3746, 29889, 690, 14443, 29898, 29896, 6653, 29896, 511, 320, 13, 462, 462, 29871, 7442, 29889, 2873, 29898, 1478, 29884, 29889, 12181, 467, 690, 14443, 29898, 29896, 6653, 29896, 4961, 13, 632, 13, 9651, 4231, 29894, 353, 7442, 29889, 29880, 979, 29887, 29889, 11569, 29898, 29943, 29898, 29878, 876, 13, 9651, 921, 29891, 29918, 12683, 353, 7442, 29889, 294, 2378, 3552, 9302, 29889, 2922, 16109, 29898, 29943, 11569, 29892, 921, 1478, 29884, 9601, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 876, 13, 632, 13, 9651, 285, 5847, 353, 313, 3594, 29918, 12683, 29889, 12181, 9601, 29896, 29962, 13, 9651, 921, 353, 921, 29891, 29918, 12683, 29961, 29900, 29892, 29901, 1822, 690, 14443, 29898, 600, 29879, 29897, 13, 9651, 343, 353, 921, 29891, 29918, 12683, 29961, 29896, 29892, 29901, 1822, 690, 14443, 29898, 600, 29879, 29897, 13, 9651, 921, 29891, 29918, 12683, 29961, 29900, 29892, 921, 6736, 2920, 29962, 353, 2920, 29899, 29896, 13, 9651, 921, 29891, 29918, 12683, 29961, 29900, 29892, 921, 529, 29871, 29900, 29962, 353, 29871, 29900, 13, 9651, 921, 29891, 29918, 12683, 29961, 29896, 29892, 343, 6736, 3171, 29962, 353, 3171, 29899, 29896, 13, 9651, 921, 29891, 29918, 12683, 29961, 29896, 29892, 343, 529, 29871, 29900, 29962, 353, 29871, 29900, 13, 632, 13, 9651, 338, 1092, 29876, 29895, 29961, 1478, 29884, 29892, 921, 3746, 29892, 17531, 353, 1967, 29961, 3594, 29918, 12683, 29961, 29896, 29892, 29901, 1822, 29911, 29892, 921, 29891, 29918, 12683, 29961, 29900, 29892, 29901, 1822, 29911, 29892, 29901, 1822, 690, 14443, 6278, 29896, 29892, 29941, 29897, 13, 9651, 396, 13, 9651, 396, 20830, 17036, 526, 1906, 393, 526, 297, 278, 2030, 11105, 313, 2492, 17559, 29897, 541, 451, 297, 278, 13, 9651, 396, 259, 716, 11105, 313, 5871, 467, 376, 17025, 29908, 338, 451, 2289, 278, 1492, 1024, 29889, 2688, 526, 278, 17036, 13, 9651, 396, 259, 2175, 11757, 424, 746, 278, 1203, 14653, 19363, 29889, 13, 9651, 396, 13, 9651, 474, 29890, 536, 842, 353, 731, 29898, 2492, 17559, 29897, 448, 731, 29898, 5871, 29897, 13, 9651, 474, 29890, 536, 353, 7442, 29889, 3166, 1524, 29898, 747, 536, 842, 29892, 938, 29892, 7431, 29898, 747, 536, 842, 876, 13, 9651, 921, 29890, 536, 353, 474, 29890, 536, 849, 3171, 13, 9651, 343, 29890, 536, 353, 474, 29890, 536, 1273, 3171, 13, 632, 13, 9651, 282, 1372, 29941, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 29890, 536, 29889, 690, 14443, 29898, 29896, 6653, 29896, 20481, 13, 462, 462, 259, 343, 29890, 536, 29889, 690, 14443, 29898, 29896, 6653, 29896, 20481, 13, 462, 462, 259, 7442, 29889, 2873, 29898, 29891, 29890, 536, 29889, 12181, 467, 690, 14443, 29898, 29896, 6653, 29896, 4961, 13, 632, 13, 9651, 921, 29891, 29918, 5589, 353, 7442, 29889, 294, 2378, 3552, 9302, 29889, 2922, 16109, 29898, 29943, 11569, 29892, 282, 1372, 29941, 9601, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 876, 13, 9651, 5445, 12181, 353, 313, 3594, 29918, 5589, 29889, 12181, 9601, 29896, 29962, 13, 9651, 921, 29888, 353, 921, 29891, 29918, 5589, 29961, 29900, 29892, 29901, 1822, 690, 14443, 29898, 5589, 12181, 29897, 13, 9651, 343, 29888, 353, 921, 29891, 29918, 5589, 29961, 29896, 29892, 29901, 1822, 690, 14443, 29898, 5589, 12181, 29897, 13, 632, 13, 9651, 599, 29918, 16773, 353, 7700, 13, 9651, 900, 29881, 1627, 29918, 9313, 428, 353, 29871, 29896, 29900, 13, 9651, 1550, 451, 599, 29918, 16773, 29901, 13, 18884, 9377, 353, 921, 29888, 6736, 2920, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 9377, 29962, 353, 313, 2103, 29899, 29896, 29897, 448, 313, 24660, 29961, 8157, 29962, 29899, 2103, 29897, 458, 8771, 1627, 29918, 9313, 428, 13, 462, 13, 18884, 3480, 353, 921, 29888, 529, 29871, 29900, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 3480, 29962, 353, 448, 24660, 29961, 10052, 29962, 458, 8771, 1627, 29918, 9313, 428, 13, 462, 13, 18884, 1880, 353, 343, 29888, 6736, 3171, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 1880, 29962, 353, 313, 3545, 29899, 29896, 29897, 448, 313, 29891, 29888, 29961, 9812, 29962, 29899, 3545, 29897, 458, 8771, 1627, 29918, 9313, 428, 13, 462, 13, 18884, 4482, 353, 343, 29888, 529, 29871, 29900, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 4482, 29962, 353, 448, 29891, 29888, 29961, 677, 29962, 458, 8771, 1627, 29918, 9313, 428, 13, 462, 13, 18884, 599, 29918, 16773, 353, 5852, 29871, 396, 925, 437, 372, 2748, 363, 1286, 13, 632, 13, 9651, 289, 3427, 3317, 353, 29871, 29896, 29900, 29900, 13, 9651, 289, 3427, 353, 29871, 29900, 13, 9651, 1550, 5852, 29901, 13, 18884, 474, 29896, 2176, 453, 353, 313, 3594, 29918, 5589, 29961, 29900, 29892, 29901, 14178, 3545, 718, 921, 29891, 29918, 5589, 29961, 29896, 29892, 29901, 14664, 690, 14443, 6278, 29896, 29897, 13, 18884, 474, 29896, 11152, 1315, 353, 474, 29896, 29881, 5344, 29961, 497, 29918, 711, 1315, 1405, 29871, 29900, 1822, 690, 14443, 6278, 29896, 29897, 13, 18884, 474, 29918, 3166, 29918, 711, 1315, 29918, 842, 353, 731, 29898, 29875, 29896, 11152, 1315, 467, 1639, 2042, 29898, 29875, 29896, 2176, 453, 29897, 13, 632, 13, 18884, 565, 7431, 29898, 29875, 29918, 3166, 29918, 711, 1315, 29918, 842, 29897, 1275, 29871, 29900, 29901, 13, 462, 1678, 2867, 13, 462, 13, 18884, 565, 289, 3427, 1405, 289, 3427, 3317, 29901, 396, 2086, 11660, 7176, 6824, 29871, 13, 462, 1678, 1596, 877, 29903, 1092, 682, 261, 29892, 2086, 11660, 7176, 304, 5445, 29991, 1495, 13, 462, 1678, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 17531, 353, 313, 3594, 29918, 5589, 29961, 29900, 29892, 17531, 718, 320, 13, 462, 539, 7442, 29889, 524, 29898, 9302, 29889, 8172, 29889, 29590, 29898, 29900, 29892, 2103, 4961, 1273, 2920, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 17531, 353, 313, 3594, 29918, 5589, 29961, 29896, 29892, 17531, 718, 320, 13, 462, 539, 7442, 29889, 524, 29898, 9302, 29889, 8172, 29889, 29590, 29898, 29900, 29892, 3545, 4961, 1273, 3171, 13, 18884, 289, 3427, 4619, 29871, 29896, 13, 13, 632, 13, 9651, 338, 1092, 29876, 29895, 29961, 29891, 29890, 536, 29892, 921, 29890, 536, 29892, 584, 29962, 353, 1967, 29961, 3594, 29918, 5589, 29961, 29896, 29892, 29901, 1822, 29911, 29892, 320, 13, 462, 259, 921, 29891, 29918, 5589, 29961, 29900, 29892, 29901, 1822, 29911, 29892, 29901, 1822, 690, 14443, 6278, 29896, 29892, 29941, 29897, 13, 632, 13, 9651, 289, 353, 16273, 29961, 326, 1278, 29962, 13, 9651, 289, 29894, 353, 7442, 29889, 294, 2378, 4197, 29961, 29890, 29961, 29900, 1402, 289, 29961, 29906, 20526, 518, 29890, 29961, 29896, 1402, 289, 29961, 29941, 29962, 16272, 29896, 29892, 29871, 29896, 24960, 13, 9651, 289, 29894, 29886, 353, 7442, 29889, 2922, 16109, 29898, 29943, 29898, 29878, 511, 289, 29894, 29897, 13, 9651, 921, 1195, 29892, 343, 1195, 29892, 921, 3317, 29892, 343, 3317, 353, 289, 29894, 29886, 29961, 29900, 29892, 29900, 1402, 289, 29894, 29886, 29961, 29896, 29892, 29900, 1402, 289, 29894, 29886, 29961, 29900, 29892, 29896, 1402, 289, 29894, 29886, 29961, 29896, 29892, 29896, 29962, 29871, 13, 632, 13, 9651, 16273, 29961, 326, 1278, 29962, 353, 7442, 29889, 294, 2378, 4197, 29916, 1195, 29892, 343, 1195, 29892, 921, 3317, 29892, 343, 3317, 2314, 13, 13, 9651, 396, 2567, 14653, 682, 278, 1857, 11105, 286, 322, 18414, 5987, 964, 716, 13168, 2083, 29889, 29871, 13, 9651, 286, 7503, 29962, 353, 29871, 29900, 13, 9651, 286, 29961, 1478, 29884, 29892, 921, 3746, 29962, 353, 29871, 29896, 13, 9651, 716, 13168, 2083, 4619, 286, 13, 462, 268, 13, 4706, 286, 893, 353, 11105, 2083, 29889, 12181, 308, 13, 4706, 599, 13168, 510, 833, 353, 7442, 29889, 294, 2378, 29898, 13168, 2083, 718, 716, 13168, 2083, 29892, 26688, 29922, 9302, 29889, 7411, 29897, 13, 4706, 599, 13168, 510, 833, 29961, 497, 13168, 510, 833, 1405, 29871, 29900, 29962, 353, 29871, 29896, 29889, 29900, 13, 4706, 474, 280, 1351, 29918, 18785, 353, 313, 29896, 29899, 497, 13168, 510, 833, 29889, 690, 14443, 29898, 29885, 893, 29961, 29900, 1402, 286, 893, 29961, 29896, 1402, 29871, 29896, 876, 29930, 3027, 13, 308, 13, 4706, 1967, 353, 313, 728, 27539, 29895, 718, 474, 280, 1351, 29918, 18785, 467, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 462, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 268, 13, 1990, 8168, 381, 1358, 29898, 3318, 1125, 13, 1678, 396, 29871, 306, 864, 304, 3252, 5168, 777, 310, 1749, 3618, 29991, 5011, 4446, 393, 19843, 6140, 13, 1678, 396, 259, 304, 6602, 6459, 3097, 29889, 2216, 12528, 29889, 13, 1678, 396, 1678, 399, 29967, 29925, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 29937, 4706, 565, 4036, 29889, 9502, 524, 29898, 29906, 29897, 29966, 29900, 29901, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 11105, 2083, 353, 7442, 29889, 3298, 359, 29898, 13168, 29879, 29889, 12181, 29961, 29896, 29901, 2314, 13, 4706, 474, 957, 6984, 353, 5159, 13, 4706, 302, 29918, 5514, 29918, 27603, 29918, 650, 353, 29871, 29900, 13, 4706, 363, 474, 29892, 286, 297, 26985, 29898, 13168, 29879, 1125, 13, 9651, 11105, 2083, 4619, 286, 13, 9651, 302, 29885, 517, 29918, 1482, 353, 7442, 29889, 2083, 29898, 13168, 2083, 1405, 29871, 29896, 29897, 13, 9651, 565, 302, 29885, 517, 29918, 1482, 1405, 302, 29918, 5514, 29918, 27603, 29918, 650, 29901, 13, 18884, 302, 29918, 5514, 29918, 27603, 29918, 650, 353, 302, 29885, 517, 29918, 1482, 13, 18884, 474, 957, 6984, 29889, 4397, 29898, 29875, 29897, 13, 4706, 396, 13, 4706, 396, 259, 5399, 599, 278, 11105, 29879, 393, 505, 25457, 29892, 322, 5768, 777, 310, 963, 2745, 13, 4706, 396, 539, 694, 11105, 29879, 505, 25457, 29889, 13, 4706, 671, 29918, 13168, 353, 518, 5574, 29962, 334, 7431, 29898, 13168, 29879, 29897, 13, 4706, 565, 302, 29918, 5514, 29918, 27603, 29918, 650, 1405, 29871, 29900, 29901, 13, 9651, 363, 12013, 297, 474, 957, 6984, 29901, 13, 18884, 363, 432, 297, 3464, 29898, 601, 1125, 13, 462, 1678, 565, 671, 29918, 13168, 29961, 29926, 29962, 322, 671, 29918, 13168, 29961, 601, 5387, 13, 462, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 462, 9651, 671, 29918, 13168, 29961, 601, 29962, 353, 7700, 13, 462, 4706, 1683, 29901, 13, 462, 9651, 671, 29918, 13168, 29961, 29926, 29962, 353, 7700, 13, 462, 632, 13, 4706, 3171, 29892, 2920, 29892, 10809, 353, 1967, 29889, 12181, 13, 4706, 15473, 29892, 343, 29891, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 2103, 511, 7442, 29889, 279, 927, 29898, 3545, 876, 13, 4706, 474, 29896, 29881, 5344, 353, 15473, 29930, 3545, 718, 343, 29891, 13, 13, 4706, 372, 29893, 5168, 353, 7442, 29889, 3298, 359, 29898, 3027, 29889, 12181, 29897, 13, 4706, 716, 13168, 2083, 353, 7442, 29889, 3298, 359, 29898, 13168, 29879, 29889, 12181, 29961, 29896, 29901, 2314, 13, 4706, 599, 29918, 711, 1315, 353, 14405, 29918, 13168, 29879, 29898, 13168, 29879, 29897, 13, 13, 4706, 363, 527, 1278, 29892, 286, 297, 26985, 29898, 13168, 29879, 1125, 13, 9651, 565, 451, 671, 29918, 13168, 29961, 326, 1278, 5387, 13, 18884, 11105, 2083, 353, 11105, 2083, 448, 286, 13, 18884, 6773, 1678, 396, 14383, 4129, 363, 599, 541, 697, 310, 1269, 19174, 13, 9651, 10696, 353, 20371, 29889, 29590, 6278, 9302, 29889, 1631, 29892, 7442, 29889, 1631, 29897, 13, 9651, 286, 4141, 29920, 353, 286, 1405, 29871, 29900, 13, 9651, 527, 4141, 29920, 353, 7442, 29889, 336, 955, 29898, 4419, 29961, 29885, 4141, 29920, 14178, 3545, 718, 343, 29891, 29961, 29885, 4141, 29920, 14664, 579, 668, 29898, 524, 29897, 13, 9651, 921, 29900, 29892, 343, 29900, 353, 7442, 29889, 12676, 29898, 4419, 29961, 29885, 4141, 29920, 11724, 7442, 29889, 12676, 29898, 8071, 29961, 29885, 4141, 29920, 2314, 396, 3252, 5168, 4818, 13, 9651, 315, 353, 7442, 29889, 3944, 29898, 2521, 29897, 13, 9651, 317, 353, 7442, 29889, 5223, 29898, 2521, 29897, 13, 9651, 396, 4525, 526, 278, 3161, 310, 278, 29871, 29941, 5499, 1897, 393, 1925, 278, 13733, 13, 9651, 396, 259, 4818, 472, 313, 29916, 29900, 29892, 343, 29900, 29897, 2012, 310, 313, 29900, 29892, 29900, 29897, 13, 9651, 390, 29896, 29941, 353, 448, 29907, 29930, 29916, 29900, 448, 317, 29930, 29891, 29900, 718, 921, 29900, 13, 9651, 390, 29906, 29941, 353, 29871, 317, 29930, 29916, 29900, 448, 315, 29930, 29891, 29900, 718, 343, 29900, 13, 9651, 396, 390, 5731, 1078, 278, 10350, 310, 278, 11105, 287, 17036, 2820, 13, 9651, 396, 29871, 313, 29916, 29900, 29892, 343, 29900, 511, 491, 10696, 29889, 13, 9651, 396, 4803, 390, 304, 1284, 14354, 310, 3252, 381, 839, 1203, 17036, 29892, 4513, 304, 13, 9651, 396, 29871, 20471, 29889, 13, 9651, 390, 353, 7442, 29889, 294, 5344, 4197, 29961, 315, 29892, 317, 29892, 390, 29896, 29941, 1402, 29905, 13, 462, 632, 21069, 29903, 29892, 315, 29892, 390, 29906, 29941, 1402, 29905, 13, 462, 632, 518, 29871, 29900, 29892, 29871, 29900, 29892, 259, 29896, 4514, 2314, 13, 9651, 396, 921, 13168, 322, 343, 13168, 526, 278, 10350, 310, 11105, 287, 17036, 29892, 408, 4206, 29889, 13, 9651, 343, 13168, 353, 343, 29891, 29961, 29885, 4141, 29920, 1822, 690, 14443, 3552, 29896, 6653, 29896, 876, 13, 9651, 921, 13168, 353, 15473, 29961, 29885, 4141, 29920, 1822, 690, 14443, 3552, 29896, 6653, 29896, 876, 13, 9651, 396, 325, 338, 263, 731, 18765, 287, 12047, 29892, 15878, 411, 390, 29892, 2729, 13, 9651, 396, 259, 373, 11105, 287, 17036, 29892, 474, 29889, 29872, 29889, 16125, 403, 278, 4206, 964, 4341, 29892, 788, 13, 9651, 396, 1678, 29941, 5499, 1948, 310, 29871, 29896, 29915, 29879, 29889, 13, 9651, 396, 325, 29889, 12181, 338, 313, 29941, 29892, 2435, 29898, 29885, 4141, 29920, 876, 13, 9651, 325, 353, 320, 13, 9651, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 13168, 29892, 343, 13168, 29892, 7442, 29889, 2873, 29898, 962, 1278, 29889, 12181, 8243, 9685, 29922, 29900, 29897, 13, 13, 9651, 921, 29891, 29918, 29886, 353, 5135, 9302, 29889, 2922, 16109, 29898, 29934, 29892, 29894, 876, 29961, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 29897, 13, 13, 9651, 921, 29918, 554, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 3594, 29918, 29886, 29961, 29900, 29892, 17531, 6736, 29871, 29900, 29892, 921, 29891, 29918, 29886, 29961, 29900, 29892, 17531, 529, 2920, 29897, 13, 9651, 343, 29918, 554, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 3594, 29918, 29886, 29961, 29896, 29892, 17531, 6736, 29871, 29900, 29892, 921, 29891, 29918, 29886, 29961, 29896, 29892, 17531, 529, 3171, 29897, 13, 9651, 921, 29891, 29918, 554, 353, 7442, 29889, 29879, 802, 29872, 911, 29898, 9302, 29889, 2378, 29898, 9302, 29889, 1188, 936, 29918, 392, 29898, 29916, 29918, 554, 29892, 343, 29918, 554, 4961, 13, 29937, 9651, 1596, 877, 3594, 29918, 29886, 8267, 338, 742, 3594, 29918, 29886, 29889, 12181, 29897, 13, 29937, 9651, 1596, 877, 3594, 29918, 554, 8267, 338, 742, 3594, 29918, 554, 29889, 12181, 29897, 13, 29937, 9651, 1596, 877, 29879, 802, 6096, 287, 921, 29891, 29918, 554, 8267, 338, 742, 9302, 29889, 29879, 802, 29872, 911, 29898, 3594, 29918, 554, 467, 12181, 29897, 13, 9651, 921, 29891, 29918, 29886, 353, 921, 29891, 29918, 29886, 7503, 29892, 921, 29891, 29918, 554, 29962, 13, 632, 13, 9651, 396, 306, 750, 304, 671, 7442, 29889, 336, 955, 297, 278, 1494, 304, 4772, 825, 306, 1348, 13, 9651, 396, 259, 338, 263, 6494, 297, 7442, 29889, 13092, 29889, 739, 471, 6820, 592, 376, 546, 1897, 29908, 5412, 13, 9651, 396, 259, 1819, 29892, 746, 306, 750, 451, 4433, 363, 393, 29889, 13, 9651, 396, 13, 9651, 396, 3118, 2655, 306, 10972, 338, 393, 921, 29891, 29918, 29886, 338, 263, 4636, 29892, 3265, 1135, 385, 1409, 29892, 13, 9651, 396, 259, 607, 338, 263, 21578, 306, 626, 451, 1304, 304, 11580, 29892, 322, 372, 2444, 13, 9651, 396, 259, 304, 1207, 278, 4328, 1244, 29889, 13, 9651, 396, 13, 9651, 474, 29884, 353, 7442, 29889, 13092, 29898, 9302, 29889, 336, 955, 29898, 3594, 29918, 29886, 29961, 29900, 29892, 29901, 14178, 3545, 718, 921, 29891, 29918, 29886, 29961, 29896, 29892, 29901, 2314, 467, 579, 668, 29898, 524, 29897, 13, 9651, 396, 474, 29884, 526, 278, 16285, 304, 278, 716, 11105, 17036, 29889, 13, 9651, 921, 3746, 353, 313, 5871, 849, 3171, 29897, 13, 9651, 343, 3746, 353, 313, 5871, 1273, 3171, 29897, 13, 29937, 29871, 306, 817, 304, 1423, 363, 921, 29891, 29918, 29886, 1641, 297, 13451, 29892, 701, 2038, 29892, 3265, 1135, 2599, 372, 1156, 13, 29937, 268, 278, 878, 740, 607, 508, 12244, 2820, 297, 343, 29892, 288, 3554, 29889, 29871, 13, 29937, 632, 13, 29937, 9651, 921, 262, 29918, 23687, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 29916, 3746, 529, 2920, 29892, 921, 3746, 6736, 29871, 29900, 29897, 13, 29937, 9651, 343, 262, 29918, 23687, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 1478, 29884, 529, 3171, 29892, 1478, 29884, 6736, 29871, 29900, 29897, 13, 29937, 9651, 297, 29918, 23687, 29871, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 29916, 262, 29918, 23687, 29892, 343, 262, 29918, 23687, 29897, 13, 29937, 9651, 921, 3746, 353, 921, 3746, 29961, 262, 29918, 23687, 29962, 13, 29937, 9651, 343, 3746, 353, 343, 3746, 29961, 262, 29918, 23687, 29962, 13, 9651, 921, 1478, 29884, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 3746, 29889, 690, 14443, 29898, 29896, 6653, 29896, 511, 320, 13, 462, 462, 29871, 343, 3746, 29889, 690, 14443, 29898, 29896, 6653, 29896, 511, 320, 13, 462, 462, 29871, 7442, 29889, 2873, 29898, 1478, 29884, 29889, 12181, 467, 690, 14443, 29898, 29896, 6653, 29896, 4961, 13, 9651, 390, 11569, 353, 7442, 29889, 29880, 979, 29887, 29889, 11569, 29898, 29934, 29897, 13, 9651, 921, 29891, 29918, 12683, 353, 320, 13, 9651, 7442, 29889, 294, 2378, 3552, 9302, 29889, 2922, 16109, 29898, 29934, 11569, 29892, 921, 1478, 29884, 9601, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 876, 13, 9651, 285, 5847, 353, 313, 3594, 29918, 12683, 29889, 12181, 9601, 29896, 29962, 13, 9651, 921, 353, 921, 29891, 29918, 12683, 29961, 29900, 29892, 29901, 1822, 690, 14443, 29898, 600, 29879, 29897, 13, 9651, 343, 353, 921, 29891, 29918, 12683, 29961, 29896, 29892, 29901, 1822, 690, 14443, 29898, 600, 29879, 29897, 13, 9651, 921, 29891, 29918, 12683, 29961, 29900, 29892, 921, 6736, 2920, 29962, 353, 2920, 29899, 29896, 13, 9651, 921, 29891, 29918, 12683, 29961, 29900, 29892, 921, 529, 29871, 29900, 29962, 353, 29871, 29900, 13, 9651, 921, 29891, 29918, 12683, 29961, 29896, 29892, 343, 6736, 3171, 29962, 353, 3171, 29899, 29896, 13, 9651, 921, 29891, 29918, 12683, 29961, 29896, 29892, 343, 529, 29871, 29900, 29962, 353, 29871, 29900, 13, 9651, 372, 29893, 5168, 29961, 1478, 29884, 29892, 921, 3746, 29892, 17531, 353, 1967, 29961, 3594, 29918, 12683, 29961, 29896, 29892, 29901, 1822, 29911, 2053, 13, 462, 462, 539, 921, 29891, 29918, 12683, 29961, 29900, 29892, 29901, 1822, 29911, 29892, 29901, 1822, 690, 14443, 6278, 29896, 29892, 29941, 29897, 13, 9651, 396, 13, 9651, 396, 20830, 17036, 526, 1906, 393, 526, 297, 278, 2030, 11105, 313, 2492, 17559, 29897, 541, 451, 13, 9651, 396, 259, 297, 278, 716, 11105, 313, 5871, 467, 376, 17025, 29908, 338, 451, 2289, 278, 1492, 1024, 29889, 13, 9651, 396, 259, 2688, 526, 278, 17036, 2175, 11757, 424, 746, 278, 1203, 3252, 9968, 29889, 13, 9651, 396, 13, 9651, 474, 29890, 536, 842, 353, 731, 29898, 2492, 17559, 29897, 448, 731, 29898, 5871, 29897, 13, 9651, 474, 29890, 536, 353, 7442, 29889, 3166, 1524, 29898, 747, 536, 842, 29892, 938, 29892, 7431, 29898, 747, 536, 842, 876, 13, 9651, 921, 29890, 536, 353, 474, 29890, 536, 849, 3171, 13, 9651, 343, 29890, 536, 353, 474, 29890, 536, 1273, 3171, 13, 9651, 282, 1372, 29941, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 29916, 29890, 536, 29889, 690, 14443, 29898, 29896, 6653, 29896, 20481, 13, 462, 462, 259, 343, 29890, 536, 29889, 690, 14443, 29898, 29896, 6653, 29896, 20481, 13, 462, 462, 259, 7442, 29889, 2873, 29898, 29891, 29890, 536, 29889, 12181, 467, 690, 14443, 29898, 29896, 6653, 29896, 4961, 13, 9651, 921, 29891, 29918, 5589, 353, 320, 13, 9651, 7442, 29889, 294, 2378, 3552, 9302, 29889, 2922, 16109, 29898, 29934, 11569, 29892, 282, 1372, 29941, 9601, 29900, 29901, 29906, 29892, 17531, 718, 29871, 29900, 29889, 29945, 467, 579, 668, 29898, 524, 876, 13, 9651, 5445, 12181, 353, 313, 3594, 29918, 5589, 29889, 12181, 9601, 29896, 29962, 13, 9651, 921, 29888, 353, 921, 29891, 29918, 5589, 29961, 29900, 29892, 29901, 1822, 690, 14443, 29898, 5589, 12181, 29897, 13, 9651, 343, 29888, 353, 921, 29891, 29918, 5589, 29961, 29896, 29892, 29901, 1822, 690, 14443, 29898, 5589, 12181, 29897, 13, 9651, 599, 29918, 16773, 353, 7700, 13, 9651, 900, 29881, 1627, 29918, 9313, 428, 353, 29871, 29896, 29900, 13, 9651, 1550, 451, 599, 29918, 16773, 29901, 13, 18884, 9377, 353, 921, 29888, 6736, 2920, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 9377, 29962, 353, 320, 13, 18884, 313, 2103, 29899, 29896, 29897, 448, 313, 24660, 29961, 8157, 29962, 29899, 2103, 29897, 458, 8771, 1627, 29918, 9313, 428, 13, 18884, 3480, 353, 921, 29888, 529, 29871, 29900, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 3480, 29962, 353, 448, 24660, 29961, 10052, 29962, 458, 8771, 1627, 29918, 9313, 428, 13, 18884, 1880, 353, 343, 29888, 6736, 3171, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 1880, 29962, 353, 320, 13, 18884, 313, 3545, 29899, 29896, 29897, 448, 313, 29891, 29888, 29961, 9812, 29962, 29899, 3545, 29897, 458, 8771, 1627, 29918, 9313, 428, 13, 18884, 4482, 353, 343, 29888, 529, 29871, 29900, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 4482, 29962, 353, 448, 29891, 29888, 29961, 677, 29962, 458, 8771, 1627, 29918, 9313, 428, 13, 18884, 599, 29918, 16773, 353, 5852, 29871, 396, 925, 437, 372, 2748, 363, 1286, 13, 632, 13, 632, 13, 9651, 289, 3427, 3317, 353, 29871, 29896, 29900, 29900, 13, 9651, 289, 3427, 353, 29871, 29900, 13, 9651, 1550, 5852, 29901, 13, 18884, 474, 29896, 2176, 453, 353, 313, 3594, 29918, 5589, 29961, 29900, 29892, 29901, 14178, 3545, 718, 921, 29891, 29918, 5589, 29961, 29896, 29892, 29901, 14664, 690, 14443, 6278, 29896, 29897, 13, 18884, 474, 29896, 11152, 1315, 353, 474, 29896, 29881, 5344, 29961, 497, 29918, 711, 1315, 1405, 29871, 29900, 1822, 690, 14443, 6278, 29896, 29897, 13, 18884, 474, 29918, 3166, 29918, 711, 1315, 29918, 842, 353, 731, 29898, 29875, 29896, 11152, 1315, 467, 1639, 2042, 29898, 29875, 29896, 2176, 453, 29897, 13, 632, 13, 18884, 565, 7431, 29898, 29875, 29918, 3166, 29918, 711, 1315, 29918, 842, 29897, 1275, 29871, 29900, 29901, 13, 462, 1678, 2867, 13, 462, 13, 18884, 565, 289, 3427, 1405, 289, 3427, 3317, 29901, 396, 2086, 11660, 7176, 6824, 29871, 13, 462, 1678, 1596, 877, 27418, 381, 1358, 29892, 2086, 11660, 7176, 304, 5445, 29991, 1495, 13, 462, 1678, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 18884, 921, 29891, 29918, 5589, 29961, 29900, 29892, 17531, 353, 313, 3594, 29918, 5589, 29961, 29900, 29892, 17531, 718, 320, 13, 462, 539, 7442, 29889, 524, 29898, 9302, 29889, 8172, 29889, 29590, 29898, 29900, 29892, 2103, 4961, 1273, 2920, 13, 18884, 921, 29891, 29918, 5589, 29961, 29896, 29892, 17531, 353, 313, 3594, 29918, 5589, 29961, 29896, 29892, 17531, 718, 320, 13, 462, 539, 7442, 29889, 524, 29898, 9302, 29889, 8172, 29889, 29590, 29898, 29900, 29892, 3545, 4961, 1273, 3171, 13, 18884, 289, 3427, 4619, 29871, 29896, 13, 462, 13, 9651, 13, 9651, 372, 29893, 5168, 29961, 29891, 29890, 536, 29892, 921, 29890, 536, 29892, 584, 29962, 353, 1967, 29961, 3594, 29918, 5589, 29961, 29896, 29892, 29901, 1822, 29911, 29892, 320, 13, 462, 259, 921, 29891, 29918, 5589, 29961, 29900, 29892, 29901, 1822, 29911, 29892, 29901, 1822, 690, 14443, 6278, 29896, 29892, 29941, 29897, 13, 632, 13, 13, 29937, 450, 1494, 338, 920, 306, 27615, 16273, 297, 317, 1092, 682, 261, 29889, 739, 947, 451, 664, 363, 29871, 13, 29937, 259, 8168, 381, 1358, 29892, 1363, 591, 437, 451, 864, 5731, 630, 16273, 29892, 591, 864, 1967, 29899, 13671, 29871, 13, 29937, 259, 3216, 292, 16273, 310, 5731, 630, 11105, 29879, 29889, 1152, 317, 1092, 682, 261, 29892, 1906, 526, 278, 1021, 29892, 541, 451, 1244, 29889, 29871, 13, 29937, 632, 13, 29937, 9651, 289, 353, 16273, 29961, 326, 1278, 29962, 13, 29937, 9651, 289, 29894, 353, 7442, 29889, 294, 2378, 4197, 29961, 29890, 29961, 29900, 1402, 289, 29961, 29906, 20526, 518, 29890, 29961, 29896, 1402, 289, 29961, 29941, 29962, 16272, 29896, 29892, 29871, 29896, 24960, 13, 29937, 9651, 289, 29894, 29886, 353, 7442, 29889, 2922, 16109, 29898, 29934, 29892, 289, 29894, 29897, 13, 29937, 9651, 921, 1195, 29892, 343, 1195, 29892, 921, 3317, 29892, 343, 3317, 353, 289, 29894, 29886, 29961, 29900, 29892, 29900, 1402, 289, 29894, 29886, 29961, 29896, 29892, 29900, 1402, 289, 29894, 29886, 29961, 29900, 29892, 29896, 1402, 289, 29894, 29886, 29961, 29896, 29892, 29896, 29962, 13, 29937, 9651, 396, 450, 1494, 338, 5181, 297, 8168, 381, 1358, 541, 451, 317, 1092, 682, 261, 13, 29937, 9651, 565, 921, 1195, 1405, 921, 3317, 29901, 13, 29937, 18884, 921, 1195, 29892, 921, 3317, 353, 921, 3317, 29892, 921, 1195, 13, 29937, 9651, 565, 343, 1195, 1405, 343, 3317, 29901, 13, 29937, 18884, 343, 1195, 29892, 343, 3317, 353, 343, 3317, 29892, 343, 1195, 13, 29937, 632, 13, 29937, 9651, 16273, 29961, 326, 1278, 29962, 353, 7442, 29889, 294, 2378, 4197, 29916, 1195, 29892, 343, 1195, 29892, 921, 3317, 29892, 343, 3317, 2314, 13, 632, 13, 9651, 396, 2567, 3252, 5168, 278, 1857, 11105, 286, 322, 18414, 5987, 964, 716, 13168, 2083, 29889, 13, 9651, 286, 7503, 29962, 353, 29871, 29900, 13, 9651, 286, 29961, 1478, 29884, 29892, 921, 3746, 29962, 353, 29871, 29896, 13, 9651, 716, 13168, 2083, 4619, 286, 13, 632, 13, 9651, 396, 2567, 393, 278, 11105, 338, 5731, 630, 29892, 679, 278, 3800, 29889, 910, 338, 1568, 901, 29871, 13, 9651, 396, 259, 16424, 1135, 825, 306, 1258, 2038, 322, 297, 317, 1092, 682, 261, 29889, 29871, 13, 9651, 16273, 29961, 326, 1278, 29962, 353, 7442, 29889, 294, 2378, 4197, 9302, 29889, 1195, 29898, 29916, 3746, 511, 7442, 29889, 1195, 29898, 1478, 29884, 20481, 13, 462, 462, 539, 7442, 29889, 3317, 29898, 29916, 3746, 511, 7442, 29889, 3317, 29898, 1478, 29884, 29897, 2314, 13, 632, 13, 4706, 286, 893, 353, 11105, 2083, 29889, 12181, 13, 4706, 599, 13168, 510, 833, 353, 7442, 29889, 294, 2378, 29898, 13168, 2083, 718, 716, 13168, 2083, 29892, 26688, 29922, 9302, 29889, 7411, 29897, 13, 4706, 599, 13168, 510, 833, 29961, 497, 13168, 510, 833, 1405, 29871, 29900, 29962, 353, 29871, 29896, 29889, 29900, 13, 4706, 474, 280, 1351, 29918, 18785, 353, 313, 29896, 29899, 497, 13168, 510, 833, 29889, 690, 14443, 29898, 29885, 893, 29961, 29900, 1402, 286, 893, 29961, 29896, 1402, 29871, 29896, 876, 29930, 3027, 13, 4706, 1967, 353, 313, 277, 29893, 5168, 718, 474, 280, 1351, 29918, 18785, 467, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 1990, 2296, 1022, 26169, 29898, 3318, 1125, 13, 1678, 396, 29871, 306, 864, 304, 902, 29881, 1749, 3618, 964, 2319, 6471, 29889, 18512, 372, 2444, 565, 29871, 13, 1678, 396, 259, 896, 526, 2086, 3802, 896, 4953, 1399, 300, 522, 519, 29889, 29871, 13, 1678, 396, 1678, 399, 29967, 29925, 13, 1678, 396, 13, 1678, 396, 29871, 20749, 1218, 1438, 515, 317, 1092, 682, 261, 2992, 29889, 756, 4953, 1067, 6762, 29891, 29889, 2266, 338, 263, 716, 5687, 13, 1678, 396, 13, 1678, 396, 23868, 263, 5101, 310, 3618, 29889, 29871, 13, 1678, 396, 11796, 29872, 278, 18635, 298, 913, 310, 29871, 29896, 29889, 29871, 13, 1678, 396, 830, 11666, 29901, 13, 1678, 396, 1678, 5399, 1269, 11105, 10452, 1298, 310, 278, 916, 304, 1074, 565, 372, 12185, 297, 298, 913, 13, 1678, 396, 1678, 2125, 289, 895, 428, 4331, 11183, 565, 694, 3291, 297, 298, 913, 3448, 565, 3291, 297, 298, 913, 13, 1678, 396, 259, 2745, 4331, 2159, 338, 2086, 2319, 304, 4383, 29889, 29871, 13, 1678, 396, 13, 1678, 396, 1932, 1298, 338, 2768, 263, 298, 913, 29892, 599, 23619, 8429, 491, 20114, 298, 913, 3291, 29892, 411, 29871, 13, 1678, 396, 259, 1243, 1243, 1298, 408, 278, 12688, 29892, 674, 505, 278, 1021, 4060, 29892, 408, 591, 4331, 2820, 13, 1678, 396, 259, 278, 298, 913, 297, 263, 13747, 5305, 29889, 29871, 13, 1678, 396, 13, 1678, 822, 19592, 29918, 262, 29918, 29882, 913, 29898, 1311, 29892, 19592, 29892, 298, 913, 1125, 396, 1716, 6389, 881, 367, 4842, 305, 29889, 20158, 29889, 29871, 13, 4706, 396, 871, 1736, 363, 18635, 298, 913, 29879, 13, 4706, 270, 29886, 353, 4842, 305, 29889, 20158, 29898, 29882, 913, 448, 19592, 29897, 13, 4706, 1060, 29875, 353, 270, 29886, 7503, 29892, 29900, 29962, 13, 4706, 612, 29875, 353, 270, 29886, 7503, 29892, 29896, 29962, 13, 4706, 5731, 29918, 29879, 1947, 353, 4842, 305, 29889, 4530, 29898, 29990, 29875, 29889, 1245, 29898, 29896, 29892, 29900, 11877, 29979, 29875, 448, 1060, 29875, 29930, 29979, 29875, 29889, 1245, 29898, 29896, 29892, 29900, 876, 13, 4706, 736, 599, 29898, 5450, 29918, 29879, 1947, 1275, 5731, 29918, 29879, 1947, 29961, 29900, 2314, 13, 308, 13, 1678, 822, 298, 913, 29918, 16485, 29898, 1311, 29892, 282, 1372, 1125, 13, 4706, 5868, 353, 1281, 13809, 29950, 913, 29898, 16485, 29897, 13, 4706, 736, 5868, 29889, 9748, 29961, 3210, 29889, 1765, 1575, 29962, 13, 268, 13, 1678, 822, 4331, 29918, 517, 29896, 29918, 3166, 29900, 29898, 1311, 29892, 282, 29896, 29892, 282, 29900, 1125, 13, 4706, 921, 29896, 29892, 343, 29896, 353, 282, 29896, 29936, 921, 29900, 29892, 343, 29900, 353, 282, 29900, 13, 4706, 4331, 353, 7442, 29889, 2378, 4197, 29916, 29896, 29899, 29916, 29900, 29892, 343, 29896, 29899, 29891, 29900, 14664, 690, 14443, 3552, 29896, 29892, 29906, 876, 13, 4706, 1320, 353, 7442, 29889, 3676, 29898, 9302, 29889, 2083, 29898, 10568, 1068, 29906, 876, 13, 4706, 736, 4331, 847, 1320, 29892, 1320, 13, 268, 13, 1678, 822, 282, 1372, 29918, 3166, 29918, 3594, 29898, 1311, 29892, 921, 29892, 343, 1125, 13, 4706, 921, 29883, 353, 7442, 29889, 2378, 29898, 29916, 467, 690, 14443, 3552, 29899, 29896, 29892, 29896, 876, 13, 4706, 343, 29883, 353, 7442, 29889, 2378, 29898, 29891, 467, 690, 14443, 3552, 29899, 29896, 29892, 29896, 876, 13, 4706, 282, 1372, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 21791, 29892, 11078, 511, 29871, 29896, 29897, 13, 4706, 736, 282, 1372, 13, 268, 13, 1678, 822, 679, 29918, 10568, 29918, 8111, 29898, 1311, 29892, 282, 29909, 29892, 282, 29933, 1125, 13, 4706, 396, 1900, 4331, 363, 8401, 1203, 319, 11183, 1203, 350, 297, 445, 3030, 29889, 29871, 13, 4706, 396, 259, 3387, 9138, 20471, 5101, 310, 3291, 322, 20794, 963, 964, 6958, 29889, 29871, 13, 4706, 396, 13, 4706, 396, 9134, 282, 29909, 322, 282, 29933, 526, 405, 29916, 29906, 29889, 29871, 13, 4706, 1274, 2226, 29892, 289, 5358, 353, 282, 29909, 29961, 29900, 1402, 282, 29933, 29961, 29900, 29962, 13, 4706, 3458, 391, 353, 29871, 29896, 29889, 29900, 29872, 29941, 29900, 13, 4706, 363, 263, 297, 282, 29909, 29901, 13, 9651, 363, 289, 297, 282, 29933, 29901, 13, 18884, 1320, 353, 2533, 3552, 29874, 29899, 29890, 29897, 1068, 29906, 29897, 13, 18884, 565, 1320, 529, 3458, 391, 29901, 13, 462, 1678, 3458, 391, 353, 1320, 13, 462, 1678, 1274, 2226, 353, 263, 13, 462, 1678, 289, 5358, 353, 289, 13, 4706, 736, 313, 29890, 5358, 448, 1274, 2226, 467, 690, 14443, 3552, 29896, 29892, 29906, 876, 13, 308, 13, 462, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29896, 29897, 470, 11105, 29879, 29889, 12181, 29961, 29900, 29962, 529, 29871, 29906, 29901, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29871, 396, 28081, 24015, 29871, 29896, 29914, 29941, 13, 308, 13, 308, 13, 4706, 716, 29918, 3027, 353, 3509, 29889, 8552, 29898, 3027, 29897, 13, 308, 13, 4706, 3171, 29892, 2920, 29892, 10809, 353, 1967, 29889, 12181, 13, 4706, 15473, 29892, 343, 29891, 353, 7442, 29889, 4467, 29882, 7720, 29898, 9302, 29889, 279, 927, 29898, 2103, 511, 7442, 29889, 279, 927, 29898, 3545, 876, 13, 4706, 474, 29896, 29881, 5344, 353, 15473, 29930, 3545, 718, 343, 29891, 13, 308, 13, 4706, 302, 13168, 29879, 353, 11105, 29879, 29889, 12181, 29961, 29900, 29962, 13, 4706, 756, 29918, 957, 6984, 353, 518, 8824, 29962, 334, 302, 13168, 29879, 13, 4706, 474, 29896, 29881, 353, 518, 29875, 29896, 29881, 5344, 29961, 29885, 1405, 29871, 29900, 1822, 690, 14443, 6278, 29896, 29897, 363, 286, 297, 11105, 29879, 29962, 13, 4706, 363, 474, 297, 3464, 29898, 29876, 13168, 29879, 29899, 29896, 1125, 13, 9651, 363, 432, 297, 3464, 29898, 29875, 29974, 29896, 29892, 29876, 13168, 29879, 1125, 13, 18884, 565, 451, 731, 29898, 29875, 29896, 29881, 29961, 29875, 14664, 275, 2218, 12090, 29898, 29875, 29896, 29881, 29961, 29926, 29962, 1125, 13, 462, 1678, 756, 29918, 957, 6984, 29961, 29875, 29962, 353, 5852, 13, 462, 1678, 756, 29918, 957, 6984, 29961, 29926, 29962, 353, 5852, 13, 13, 4706, 2302, 353, 29871, 29900, 13, 4706, 363, 298, 586, 297, 756, 29918, 957, 6984, 29901, 13, 9651, 565, 451, 298, 586, 29901, 13, 18884, 2302, 23661, 29896, 13, 4706, 565, 2302, 529, 29871, 29906, 29901, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 396, 28081, 24015, 29871, 29906, 29914, 29941, 13, 13, 4706, 1596, 877, 13468, 1022, 26169, 373, 278, 23819, 29991, 1495, 13, 13, 4706, 19359, 353, 7442, 29889, 279, 927, 29898, 29876, 13168, 29879, 467, 579, 668, 29898, 524, 416, 20371, 29889, 845, 21897, 29898, 11762, 29897, 13, 4706, 396, 13, 4706, 396, 306, 817, 304, 4772, 27523, 11757, 630, 17036, 411, 12785, 310, 301, 24025, 3618, 29889, 29871, 13, 4706, 396, 1105, 306, 817, 263, 11105, 393, 10603, 592, 599, 17036, 23329, 304, 738, 301, 24025, 29871, 13, 4706, 396, 259, 1203, 29889, 29871, 13, 4706, 1203, 29918, 510, 833, 353, 14405, 29918, 13168, 29879, 29898, 13168, 29879, 29897, 13, 4706, 12954, 29896, 29881, 353, 474, 29896, 29881, 5344, 29961, 3318, 29918, 510, 833, 1405, 29871, 29900, 1822, 690, 14443, 6278, 29896, 29897, 13, 13, 13, 29937, 4706, 1053, 22889, 29889, 2272, 5317, 408, 14770, 13, 29937, 4706, 14770, 29889, 326, 4294, 29898, 3318, 29918, 510, 833, 29897, 13, 29937, 4706, 14770, 29889, 29886, 1071, 29898, 29900, 29889, 29896, 29897, 13, 29937, 4706, 14770, 29889, 4294, 580, 13, 29937, 308, 13, 18884, 13, 4706, 980, 1107, 353, 11073, 1839, 21134, 13359, 579, 668, 29898, 524, 29897, 13, 4706, 363, 474, 297, 3464, 29898, 29876, 13168, 29879, 1125, 13, 9651, 565, 451, 756, 29918, 957, 6984, 29961, 29875, 5387, 13, 18884, 1596, 29898, 16859, 29889, 24713, 29889, 1990, 29918, 7039, 29961, 309, 1107, 29961, 11762, 29961, 29875, 5262, 2314, 13, 13, 4706, 937, 353, 5852, 13, 4706, 363, 527, 1278, 297, 19359, 29901, 13, 9651, 565, 756, 29918, 957, 6984, 29961, 326, 1278, 5387, 13, 18884, 6773, 13, 9651, 286, 353, 11105, 29879, 29961, 326, 1278, 29962, 13, 9651, 286, 4141, 29920, 353, 286, 1405, 29871, 29900, 13, 9651, 921, 353, 15473, 29961, 29885, 4141, 29920, 29962, 13, 9651, 343, 353, 343, 29891, 29961, 29885, 4141, 29920, 29962, 13, 632, 13, 9651, 565, 937, 29901, 13, 18884, 937, 353, 7700, 13, 18884, 282, 1372, 29900, 353, 1583, 29889, 16485, 29918, 3166, 29918, 3594, 29898, 29916, 29892, 29891, 29897, 29871, 396, 599, 1203, 3291, 13, 18884, 298, 913, 29900, 353, 1583, 29889, 29882, 913, 29918, 16485, 29898, 16485, 29900, 29897, 13, 18884, 6773, 29871, 396, 411, 2446, 527, 1278, 29892, 694, 1683, 2908, 4312, 13, 13, 9651, 282, 1372, 29896, 353, 1583, 29889, 16485, 29918, 3166, 29918, 3594, 29898, 29916, 29892, 29891, 29897, 13, 9651, 298, 913, 29896, 353, 1583, 29889, 29882, 913, 29918, 16485, 29898, 16485, 29896, 29897, 13, 632, 13, 9651, 4331, 29918, 8111, 353, 1583, 29889, 657, 29918, 10568, 29918, 8111, 29898, 29882, 913, 29896, 29892, 298, 913, 29900, 29897, 13, 632, 13, 9651, 445, 29918, 11631, 353, 7442, 29889, 14486, 29898, 10568, 29918, 8111, 467, 579, 668, 29898, 524, 29897, 13, 13, 9651, 298, 913, 29896, 4619, 445, 29918, 11631, 13, 9651, 298, 913, 29900, 353, 1583, 29889, 29882, 913, 29918, 16485, 29898, 9302, 29889, 535, 29883, 2579, 403, 3552, 29882, 913, 29900, 29892, 298, 913, 29896, 511, 29871, 29900, 876, 13, 9651, 282, 1372, 29900, 353, 7442, 29889, 535, 29883, 2579, 403, 3552, 16485, 29896, 29892, 16485, 29900, 511, 29900, 29897, 13, 632, 13, 9651, 921, 7854, 353, 921, 718, 445, 29918, 11631, 29961, 29900, 29892, 29900, 29962, 13, 9651, 343, 7854, 353, 343, 718, 445, 29918, 11631, 29961, 29900, 29892, 29896, 29962, 13, 9651, 474, 29916, 16773, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 29916, 7854, 6736, 29871, 29900, 29892, 921, 7854, 529, 2920, 29897, 13, 9651, 474, 29891, 16773, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 2941, 342, 6736, 29900, 29892, 343, 7854, 529, 3171, 29897, 13, 9651, 1781, 353, 7442, 29889, 1188, 936, 29918, 392, 29898, 861, 16773, 29892, 474, 29891, 16773, 29897, 13, 9651, 921, 7854, 353, 921, 7854, 29961, 16773, 29962, 13, 9651, 343, 7854, 353, 343, 7854, 29961, 16773, 29962, 13, 632, 13, 9651, 11105, 29879, 29961, 326, 1278, 29962, 353, 29871, 29900, 13, 9651, 11105, 29879, 29961, 326, 1278, 3816, 2941, 342, 29892, 921, 7854, 29962, 353, 29871, 29896, 13, 13, 9651, 16273, 29961, 326, 1278, 29962, 353, 7442, 29889, 294, 2378, 4197, 9302, 29889, 1195, 29898, 29916, 7854, 511, 7442, 29889, 1195, 29898, 2941, 342, 20481, 13, 462, 462, 539, 7442, 29889, 3317, 29898, 29916, 7854, 511, 7442, 29889, 3317, 29898, 2941, 342, 29897, 2314, 13, 13, 9651, 716, 29918, 3027, 29961, 2941, 342, 29892, 921, 7854, 29892, 17531, 353, 1967, 29961, 29891, 29961, 16773, 1402, 921, 29961, 16773, 1402, 584, 29962, 13, 13, 9651, 396, 11479, 714, 607, 17036, 526, 11757, 630, 491, 278, 4337, 29889, 383, 453, 1438, 411, 29871, 13, 9651, 396, 259, 6514, 471, 2198, 297, 278, 2441, 1967, 472, 278, 12551, 9758, 29892, 29871, 13, 9651, 396, 259, 6521, 1906, 2307, 6852, 304, 263, 301, 24025, 1203, 29889, 29871, 13, 9651, 396, 13, 9651, 396, 478, 562, 630, 17036, 28911, 304, 278, 1203, 297, 278, 2441, 1967, 29892, 541, 29871, 13, 9651, 396, 259, 526, 451, 2198, 297, 278, 6153, 1203, 29889, 29871, 13, 29937, 9651, 921, 4790, 29896, 29881, 353, 921, 29961, 16773, 14178, 3545, 718, 343, 29961, 16773, 29962, 13, 9651, 921, 4790, 29896, 29881, 353, 921, 29930, 3545, 718, 343, 13, 9651, 921, 2941, 29896, 29881, 353, 921, 7854, 29930, 3545, 718, 343, 7854, 13, 632, 13, 9651, 921, 29891, 29894, 562, 842, 353, 731, 29898, 3594, 29887, 29896, 29881, 29897, 448, 731, 29898, 29916, 2941, 29896, 29881, 29897, 13, 9651, 921, 29891, 29894, 562, 353, 7442, 29889, 3166, 1524, 29898, 3594, 29894, 562, 842, 29892, 938, 29892, 7431, 29898, 3594, 29894, 562, 842, 876, 13, 632, 13, 9651, 921, 29894, 562, 353, 921, 29891, 29894, 562, 849, 3171, 13, 9651, 343, 29894, 562, 353, 921, 29891, 29894, 562, 1273, 3171, 13, 9651, 1018, 29918, 11631, 353, 445, 29918, 11631, 13, 9651, 1550, 5852, 29901, 13, 18884, 921, 5589, 353, 313, 29916, 29894, 562, 718, 1018, 29918, 11631, 29961, 29900, 29892, 29900, 2314, 1273, 2920, 13, 18884, 343, 5589, 353, 313, 29891, 29894, 562, 718, 1018, 29918, 11631, 29961, 29900, 29892, 29896, 2314, 1273, 3171, 13, 462, 13, 18884, 565, 451, 731, 29898, 29916, 5589, 29930, 3545, 718, 343, 5589, 467, 275, 2218, 12090, 29898, 542, 29896, 29881, 1125, 13, 462, 1678, 1018, 29918, 11631, 4619, 7442, 29889, 8172, 29889, 29590, 6278, 29945, 29900, 29892, 29871, 29945, 29900, 29892, 2159, 7607, 29896, 29892, 29906, 8106, 579, 668, 29898, 9302, 29889, 524, 29941, 29906, 29897, 13, 18884, 1683, 29901, 13, 462, 1678, 2867, 13, 462, 13, 9651, 716, 29918, 3027, 29961, 29891, 29894, 562, 29892, 921, 29894, 562, 29892, 584, 29962, 353, 1967, 29961, 29891, 5589, 29892, 921, 5589, 29892, 584, 29962, 13, 9651, 13, 632, 13, 4706, 1967, 353, 716, 29918, 3027, 13, 29871, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29871, 396, 28081, 24015, 29871, 29941, 29914, 29941, 13, 13, 1990, 317, 1092, 682, 29918, 29990, 1955, 29918, 27418, 5168, 29898, 3318, 1125, 13, 1678, 9995, 14542, 852, 1546, 317, 1092, 682, 261, 470, 8168, 381, 1358, 472, 4036, 29889, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2099, 29922, 2303, 2190, 29903, 29892, 3659, 29922, 1254, 29928, 1125, 13, 4706, 1583, 29889, 845, 29878, 682, 353, 3831, 852, 4197, 29903, 1092, 682, 261, 580, 2314, 13, 4706, 1583, 29889, 7516, 5168, 353, 3831, 852, 4197, 27418, 381, 1358, 580, 2314, 13, 418, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 29871, 13, 29937, 4706, 1596, 877, 7068, 29934, 1177, 29968, 1001, 5300, 323, 22119, 2241, 1001, 319, 1525, 323, 24015, 3352, 438, 4198, 21004, 1495, 13, 29937, 4706, 736, 10153, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 29937, 9651, 1596, 877, 29903, 1092, 18159, 29991, 1495, 13, 9651, 736, 1583, 29889, 845, 29878, 682, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 4706, 1683, 29901, 13, 29937, 9651, 1596, 877, 27418, 381, 1847, 29991, 1495, 13, 9651, 736, 1583, 29889, 7516, 5168, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 632, 13, 13, 1990, 1963, 3747, 29933, 3424, 29898, 3318, 1125, 13, 1678, 9995, 29871, 13, 1678, 11190, 3618, 714, 310, 1009, 9775, 3856, 305, 3030, 322, 5768, 963, 964, 4036, 20407, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1053, 13149, 13, 4706, 1661, 29918, 4144, 293, 29918, 2084, 353, 19283, 1272, 29914, 5464, 29918, 4144, 293, 22208, 13, 4706, 1583, 29889, 2492, 5325, 353, 13149, 29889, 23705, 29898, 5464, 29918, 4144, 293, 29918, 2084, 23097, 10521, 6173, 1495, 13, 4706, 565, 7431, 29898, 1311, 29889, 2492, 5325, 29897, 1405, 29871, 29900, 29901, 13, 9651, 1583, 29889, 1217, 29918, 5325, 353, 7700, 13, 4706, 1683, 29901, 13, 9651, 1596, 877, 7775, 7775, 2328, 1068, 1495, 13, 9651, 1596, 877, 29902, 2609, 1284, 278, 1963, 3747, 29933, 3424, 3239, 2066, 29889, 1495, 13, 9651, 1596, 877, 15597, 881, 367, 297, 848, 29914, 5464, 29918, 4144, 293, 6294, 1495, 13, 9651, 1596, 877, 2772, 11236, 1218, 1963, 3747, 29933, 3424, 18765, 362, 29991, 1495, 13, 9651, 1596, 877, 7775, 7775, 2328, 1068, 1495, 13, 9651, 1583, 29889, 1217, 29918, 5325, 353, 5852, 13, 632, 13, 632, 13, 4706, 1583, 29889, 10646, 29918, 17991, 353, 29871, 29947, 396, 1551, 6588, 29892, 445, 338, 22336, 2748, 1432, 2748, 29918, 17991, 4558, 29889, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 4706, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 1311, 29889, 10646, 29918, 17991, 29897, 470, 1583, 29889, 1217, 29918, 5325, 29901, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 3986, 13, 4706, 289, 9415, 1445, 353, 1583, 29889, 2492, 5325, 29961, 2288, 29889, 9502, 524, 29898, 29900, 29892, 2435, 29898, 1311, 29889, 2492, 5325, 28166, 13, 4706, 289, 9415, 353, 13850, 29906, 29889, 11023, 29873, 3306, 29898, 3027, 601, 29889, 326, 949, 29898, 29890, 9415, 1445, 511, 13850, 29906, 29889, 15032, 1955, 29918, 28212, 29906, 29933, 14345, 29897, 13, 308, 13, 4706, 286, 12181, 353, 11105, 29879, 29961, 29900, 1822, 12181, 13, 4706, 11105, 2083, 353, 7442, 29889, 3298, 359, 29898, 29885, 12181, 29897, 13, 4706, 363, 286, 297, 11105, 29879, 29901, 13, 9651, 11105, 2083, 4619, 286, 13, 4706, 11105, 2083, 29961, 13168, 2083, 1405, 29871, 29900, 29962, 353, 29871, 29896, 29889, 29900, 13, 4706, 11105, 2083, 353, 7442, 29889, 690, 14443, 29898, 13168, 2083, 29892, 313, 29885, 12181, 29961, 29900, 1402, 286, 12181, 29961, 29896, 1402, 29896, 876, 13, 4706, 3618, 353, 1967, 334, 11105, 2083, 13, 4706, 289, 9415, 353, 289, 9415, 334, 313, 29896, 29899, 13168, 2083, 29897, 13, 4706, 1661, 29918, 4144, 29918, 3027, 353, 3618, 718, 289, 9415, 13, 462, 13, 4706, 736, 1661, 29918, 4144, 29918, 3027, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 268, 13, 13, 13, 13, 1990, 16968, 29924, 381, 729, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 29937, 4706, 1596, 877, 10399, 292, 16968, 29924, 381, 729, 856, 1495, 13, 4706, 17117, 2920, 29892, 903, 353, 1967, 29889, 12181, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 1967, 353, 1967, 7503, 29892, 4761, 29899, 29896, 29962, 13, 9651, 11105, 29879, 353, 11105, 29879, 7503, 29892, 584, 29892, 4761, 29899, 29896, 29962, 13, 9651, 16273, 353, 16273, 29889, 8552, 580, 13, 9651, 16273, 7503, 29892, 29871, 29900, 1057, 29906, 29962, 353, 2920, 448, 16273, 7503, 29892, 29871, 29906, 1057, 29899, 29906, 29962, 13, 29937, 4706, 1596, 877, 25632, 411, 29871, 16968, 29924, 381, 729, 856, 1495, 13, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 29943, 3466, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 3171, 1919, 903, 1919, 903, 353, 1967, 29889, 12181, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 1967, 353, 1967, 29961, 1057, 29899, 29896, 29892, 584, 29962, 13, 9651, 11105, 29879, 353, 11105, 29879, 7503, 29892, 4761, 29899, 29896, 29892, 584, 29962, 13, 9651, 16273, 353, 16273, 29889, 8552, 580, 13, 9651, 16273, 7503, 29892, 29871, 29896, 1057, 29906, 29962, 353, 3171, 448, 16273, 7503, 29892, 29871, 29941, 1057, 29899, 29906, 29962, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 16968, 21281, 29929, 29900, 29898, 3318, 1125, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 2030, 29918, 3545, 1919, 2030, 29918, 2103, 1919, 903, 353, 1967, 29889, 12181, 13, 4706, 413, 353, 20371, 29889, 9502, 524, 29898, 29946, 29897, 13, 4706, 1967, 353, 7442, 29889, 5450, 29929, 29900, 29898, 3027, 29892, 29895, 29897, 13, 4706, 11105, 29879, 353, 7442, 29889, 2378, 4197, 9302, 29889, 5450, 29929, 29900, 29898, 13168, 29892, 29895, 29897, 363, 11105, 297, 11105, 29879, 2314, 13, 4706, 16273, 353, 16273, 29889, 8552, 580, 13, 4706, 363, 903, 297, 3464, 29898, 29895, 1125, 13, 9651, 16273, 353, 7442, 29889, 2378, 4197, 29961, 1884, 29961, 29896, 1402, 2030, 29918, 2103, 448, 29871, 29896, 448, 3800, 29961, 29906, 1402, 3800, 29961, 29941, 1402, 2030, 29918, 2103, 448, 29871, 29896, 448, 3800, 29961, 29900, 5262, 363, 3800, 297, 16273, 2314, 13, 9651, 2030, 29918, 2103, 29892, 2030, 29918, 3545, 353, 2030, 29918, 3545, 29892, 2030, 29918, 2103, 13, 4706, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1990, 3925, 481, 1451, 12629, 29898, 3318, 1125, 13, 1678, 9995, 4300, 9514, 263, 12489, 1891, 1967, 491, 2381, 20304, 278, 18196, 297, 278, 1797, 13, 268, 6790, 297, 278, 17945, 18761, 29889, 13, 1678, 826, 3174, 29901, 13, 4706, 2381, 2547, 313, 524, 21954, 1125, 2186, 1797, 310, 18196, 13, 9651, 8087, 29901, 313, 29906, 29892, 29871, 29896, 29892, 29871, 29900, 29897, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2381, 2547, 1125, 13, 4706, 1583, 29889, 2774, 2547, 353, 2381, 2547, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 1125, 13, 4706, 9995, 13, 4706, 826, 3174, 29901, 13, 9651, 1967, 313, 29911, 6073, 1125, 1967, 12489, 304, 367, 27615, 13, 4706, 7106, 29901, 13, 9651, 263, 12489, 411, 18196, 2381, 17280, 5034, 304, 17945, 13, 4706, 9995, 13, 4706, 396, 565, 4842, 305, 29889, 275, 29918, 20158, 29898, 3027, 1125, 13, 4706, 396, 268, 1967, 353, 1967, 29889, 1272, 29889, 21970, 2141, 23749, 580, 13, 4706, 396, 1683, 29901, 13, 4706, 396, 268, 1967, 353, 7442, 29889, 2378, 29898, 3027, 29897, 13, 4706, 1967, 353, 1967, 7503, 29892, 584, 29892, 1583, 29889, 2774, 2547, 29962, 13, 4706, 736, 1967, 13, 13, 13, 1990, 19040, 14066, 13398, 441, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 1583, 29889, 15926, 353, 518, 13, 9651, 16968, 1168, 509, 579, 3285, 13, 9651, 14806, 3306, 29898, 9067, 2433, 29950, 7597, 5477, 13, 9651, 16968, 29903, 1337, 362, 3285, 13, 9651, 16968, 29950, 434, 3285, 13, 9651, 14806, 3306, 29898, 3784, 2433, 29950, 7597, 742, 4327, 2433, 29933, 14345, 5477, 13, 9651, 16968, 1168, 509, 579, 580, 13, 4706, 4514, 13, 4706, 1583, 29889, 9502, 29918, 1182, 523, 2264, 353, 16968, 29933, 1266, 2264, 580, 13, 4706, 1583, 29889, 9502, 29918, 4366, 29918, 1217, 895, 353, 16968, 20769, 292, 3782, 895, 580, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 527, 353, 1967, 29889, 8552, 580, 13, 4706, 527, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 353, 1583, 29889, 9502, 29918, 1182, 523, 2264, 29898, 326, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 4706, 565, 20371, 29889, 9502, 524, 29898, 29906, 1125, 13, 9651, 1320, 441, 353, 3831, 852, 29898, 1311, 29889, 15926, 7503, 29899, 29896, 2314, 13, 4706, 1683, 29901, 13, 9651, 1320, 441, 353, 3831, 852, 29898, 1311, 29889, 15926, 29961, 29896, 29901, 2314, 13, 4706, 527, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 353, 1320, 441, 29898, 326, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 4706, 736, 1583, 29889, 9502, 29918, 4366, 29918, 1217, 895, 29898, 326, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 13, 1990, 349, 3445, 598, 19832, 29879, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 4721, 862, 267, 278, 330, 29873, 11105, 29879, 363, 671, 29918, 4141, 29918, 29890, 1884, 267, 491, 8182, 3262, 411, 278, 330, 29873, 3800, 13, 1678, 322, 1623, 13445, 10335, 278, 9819, 11105, 304, 11105, 29918, 2311, 29892, 11105, 29918, 2311, 29889, 910, 13, 1678, 740, 1838, 29915, 29873, 437, 3099, 565, 274, 16434, 29889, 1509, 29918, 4141, 29918, 29890, 1884, 267, 338, 7700, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 11105, 29918, 2311, 29892, 671, 29918, 4141, 29918, 29890, 1884, 267, 1125, 13, 4706, 1583, 29889, 13168, 29918, 2311, 353, 11105, 29918, 2311, 13, 4706, 1583, 29889, 1509, 29918, 4141, 29918, 29890, 1884, 267, 353, 671, 29918, 4141, 29918, 29890, 1884, 267, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29922, 8516, 1125, 13, 4706, 565, 451, 1583, 29889, 1509, 29918, 4141, 29918, 29890, 1884, 267, 29901, 13, 9651, 736, 1967, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 308, 13, 4706, 3171, 29892, 2920, 29892, 903, 353, 1967, 29889, 12181, 13, 13, 4706, 716, 29918, 13168, 29879, 353, 7442, 29889, 3298, 359, 3552, 13168, 29879, 29889, 12181, 29961, 29900, 1402, 1583, 29889, 13168, 29918, 2311, 3579, 29871, 29906, 876, 13, 13, 4706, 363, 474, 297, 3464, 29898, 2435, 29898, 13168, 29879, 22164, 13, 9651, 921, 29896, 29892, 343, 29896, 29892, 921, 29906, 29892, 343, 29906, 353, 16273, 29961, 29875, 29892, 584, 29962, 13, 9651, 921, 29896, 334, 29922, 2920, 13, 9651, 921, 29906, 334, 29922, 2920, 13, 9651, 343, 29896, 334, 29922, 3171, 13, 9651, 343, 29906, 334, 29922, 3171, 13, 9651, 921, 29896, 29892, 343, 29896, 29892, 921, 29906, 29892, 343, 29906, 353, 313, 524, 29898, 29916, 29896, 511, 938, 29898, 29891, 29896, 511, 938, 29898, 29916, 29906, 511, 938, 29898, 29891, 29906, 876, 13, 13, 9651, 396, 718, 29896, 1105, 393, 565, 343, 29896, 29922, 29896, 29900, 29889, 29953, 322, 343, 29906, 29922, 29896, 29900, 29889, 29929, 591, 1603, 505, 263, 3216, 292, 3800, 13, 9651, 8182, 2986, 29918, 13168, 353, 11105, 29879, 29961, 29875, 29892, 343, 29896, 5919, 29891, 29906, 29974, 29896, 511, 921, 29896, 5919, 29916, 29906, 29974, 29896, 4638, 13, 9651, 6287, 29881, 29918, 13168, 353, 13850, 29906, 29889, 21476, 29898, 24077, 2986, 29918, 13168, 29892, 313, 1311, 29889, 13168, 29918, 2311, 29892, 1583, 29889, 13168, 29918, 2311, 876, 13, 13, 9651, 716, 29918, 13168, 29879, 29961, 29875, 29892, 584, 29962, 353, 6287, 29881, 29918, 13168, 29889, 690, 14443, 29898, 29896, 29892, 448, 29896, 29897, 13, 308, 13, 4706, 396, 350, 18220, 675, 13, 4706, 716, 29918, 13168, 29879, 29961, 1482, 29918, 13168, 29879, 1405, 259, 29900, 29889, 29945, 29962, 353, 29871, 29896, 13, 4706, 716, 29918, 13168, 29879, 29961, 1482, 29918, 13168, 29879, 5277, 29871, 29900, 29889, 29945, 29962, 353, 29871, 29900, 13, 13, 4706, 736, 1967, 29892, 716, 29918, 13168, 29879, 29892, 16273, 29892, 11073, 13, 13, 1990, 7437, 15933, 13372, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 4103, 9514, 263, 25185, 29954, 1967, 1754, 310, 5685, 1446, 297, 278, 3464, 518, 29900, 29892, 29871, 29906, 29945, 29945, 29962, 304, 6514, 13, 1678, 1881, 278, 1857, 1250, 15933, 3564, 4225, 29889, 13, 1678, 4327, 338, 263, 4327, 2295, 1203, 313, 4149, 2295, 29889, 2272, 467, 13, 1678, 297, 29918, 12719, 29918, 2098, 338, 3117, 525, 29933, 14345, 29915, 541, 366, 437, 366, 29892, 26397, 29889, 13, 1678, 9995, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 4327, 29892, 2099, 29892, 3659, 29892, 297, 29918, 12719, 29918, 2098, 1125, 13, 4706, 1583, 29889, 12676, 353, 7442, 29889, 2378, 29898, 12676, 29892, 26688, 29922, 9302, 29889, 7411, 29941, 29906, 29897, 13, 4706, 1583, 29889, 4172, 29871, 353, 7442, 29889, 2378, 29898, 4172, 29892, 29871, 26688, 29922, 9302, 29889, 7411, 29941, 29906, 29897, 13, 4706, 1583, 29889, 9067, 353, 4327, 13, 13, 4706, 396, 2266, 306, 671, 376, 22461, 12404, 322, 315, 3689, 29908, 304, 3588, 1347, 20005, 800, 304, 3694, 13, 4706, 1583, 29889, 12719, 29918, 1958, 353, 426, 29883, 29901, 22645, 363, 22645, 29892, 274, 297, 26985, 29898, 262, 29918, 12719, 29918, 2098, 2915, 13, 4706, 1583, 29889, 12719, 29918, 546, 6149, 362, 353, 518, 1311, 29889, 12719, 29918, 1958, 29961, 29883, 29962, 363, 274, 297, 4327, 29889, 12719, 29918, 2098, 29962, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 13, 4706, 10153, 353, 10153, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 29897, 13, 13, 4706, 565, 1583, 29889, 9067, 29889, 8945, 675, 29901, 13, 9651, 10153, 353, 313, 2492, 448, 1583, 29889, 12676, 29897, 847, 1583, 29889, 4172, 13, 4706, 25342, 1583, 29889, 9067, 29889, 1491, 29873, 1461, 29918, 1004, 550, 29901, 13, 9651, 10153, 353, 313, 2492, 448, 1583, 29889, 12676, 29897, 13, 4706, 25342, 1583, 29889, 9067, 29889, 517, 29918, 7411, 29901, 13, 9651, 10153, 353, 10153, 847, 29871, 29906, 29945, 29945, 13, 13, 4706, 10153, 353, 10153, 7503, 29892, 584, 29892, 1583, 29889, 12719, 29918, 546, 6149, 362, 29962, 13, 13, 4706, 736, 10153, 29889, 579, 668, 29898, 9302, 29889, 7411, 29941, 29906, 511, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 13, 13, 1990, 7399, 13372, 29898, 3318, 1125, 13, 1678, 9995, 4103, 555, 304, 367, 1304, 746, 6161, 1218, 29889, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2099, 29922, 2303, 2190, 29903, 29892, 3659, 29922, 1254, 29928, 1125, 13, 4706, 1583, 29889, 2987, 358, 353, 3831, 852, 4197, 13, 9651, 14806, 4591, 2928, 29879, 3285, 13, 9651, 2538, 675, 29898, 21476, 29918, 4141, 29922, 8824, 511, 13, 9651, 7437, 15933, 13372, 29898, 16859, 29889, 1627, 15933, 29889, 9067, 29892, 2099, 29892, 3659, 29892, 525, 29933, 14345, 1495, 13, 308, 2314, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 4706, 736, 1583, 29889, 2987, 358, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 13, 5215, 4842, 305, 29889, 15755, 29889, 2220, 284, 408, 383, 13, 13, 1990, 23786, 5160, 13372, 29898, 7345, 305, 29889, 15755, 29889, 7355, 1125, 13, 1678, 9995, 13, 1678, 4103, 689, 393, 947, 599, 6931, 373, 278, 22796, 363, 2428, 6210, 29889, 13, 1678, 910, 1838, 29915, 29873, 1462, 637, 263, 3287, 310, 2295, 6055, 322, 881, 871, 367, 1304, 363, 5802, 29889, 13, 1678, 341, 2365, 475, 445, 408, 5181, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 13, 4706, 2428, 2141, 1649, 2344, 1649, 580, 13, 13, 4706, 1583, 29889, 12676, 353, 4842, 305, 29889, 29911, 6073, 29898, 2303, 2190, 29903, 467, 7411, 2141, 29883, 6191, 580, 29961, 8516, 29892, 584, 29892, 6213, 29892, 6213, 29962, 13, 4706, 1583, 29889, 4172, 29871, 353, 4842, 305, 29889, 29911, 6073, 29898, 6850, 29928, 13742, 7411, 2141, 29883, 6191, 580, 29961, 8516, 29892, 584, 29892, 6213, 29892, 6213, 29962, 13, 4706, 1583, 29889, 9067, 353, 274, 16434, 29889, 1627, 15933, 29889, 9067, 13, 13, 1678, 822, 6375, 29898, 1311, 29892, 10153, 1125, 13, 4706, 1583, 29889, 12676, 353, 1583, 29889, 12676, 29889, 517, 29898, 2492, 29889, 10141, 29897, 13, 4706, 1583, 29889, 4172, 29871, 353, 1583, 29889, 4172, 29889, 517, 29898, 2492, 29889, 10141, 29897, 13, 308, 13, 4706, 396, 10153, 12023, 304, 367, 263, 282, 3637, 25350, 350, 14345, 1967, 411, 8242, 1797, 518, 29876, 29892, 298, 29892, 281, 29892, 274, 29962, 13, 4706, 565, 274, 16434, 29889, 4569, 7143, 29918, 294, 1103, 29918, 3605, 601, 29901, 13, 9651, 17117, 298, 29892, 281, 29892, 903, 353, 10153, 29889, 2311, 580, 13, 9651, 10153, 29918, 2311, 353, 2538, 675, 29889, 28667, 29918, 2311, 29918, 4569, 7143, 29918, 279, 29898, 29893, 29892, 298, 29892, 274, 16434, 29889, 3317, 29918, 2311, 29897, 13, 9651, 10153, 29918, 2311, 353, 313, 2492, 29918, 2311, 29961, 29896, 1402, 10153, 29918, 2311, 29961, 29900, 2314, 396, 349, 3637, 25350, 4225, 298, 29892, 281, 13, 4706, 1683, 29901, 13, 9651, 10153, 29918, 2311, 353, 313, 16859, 29889, 3317, 29918, 2311, 29892, 274, 16434, 29889, 3317, 29918, 2311, 29897, 13, 13, 4706, 10153, 353, 10153, 29889, 17858, 1082, 29898, 29900, 29892, 29871, 29941, 29892, 29871, 29896, 29892, 29871, 29906, 467, 1285, 5526, 681, 580, 13, 4706, 10153, 353, 383, 29889, 1639, 3733, 403, 29898, 2492, 29892, 10153, 29918, 2311, 29892, 4464, 2433, 18152, 457, 279, 742, 7595, 29918, 29883, 1398, 414, 29922, 8824, 29897, 13, 13, 4706, 565, 1583, 29889, 9067, 29889, 8945, 675, 29901, 13, 9651, 10153, 353, 313, 2492, 448, 1583, 29889, 12676, 29897, 847, 1583, 29889, 4172, 13, 4706, 25342, 1583, 29889, 9067, 29889, 1491, 29873, 1461, 29918, 1004, 550, 29901, 13, 9651, 10153, 353, 313, 2492, 448, 1583, 29889, 12676, 29897, 13, 4706, 25342, 1583, 29889, 9067, 29889, 517, 29918, 7411, 29901, 13, 9651, 10153, 353, 10153, 847, 29871, 29906, 29945, 29945, 13, 308, 13, 4706, 565, 1583, 29889, 9067, 29889, 12719, 29918, 2098, 2804, 525, 28212, 2396, 13, 9651, 12020, 2216, 1888, 2037, 287, 2392, 13, 308, 13, 4706, 10153, 353, 10153, 7503, 29892, 313, 29906, 29892, 29871, 29896, 29892, 29871, 29900, 511, 584, 29892, 584, 1822, 1285, 5526, 681, 580, 13, 13, 4706, 396, 7106, 995, 338, 297, 8242, 1797, 518, 29876, 29892, 274, 29892, 298, 29892, 281, 29962, 322, 390, 7210, 13, 4706, 736, 10153, 13, 13, 1753, 437, 29918, 28450, 29898, 2492, 29922, 8516, 29892, 11105, 29879, 29922, 8516, 29892, 16273, 29922, 8516, 29892, 11073, 29922, 8516, 1125, 13, 1678, 736, 10153, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 13, 13, 13, 1753, 9025, 29918, 361, 29898, 16122, 29892, 5446, 1125, 13, 1678, 736, 5446, 565, 4195, 1683, 437, 29918, 28450, 13, 13, 1753, 9025, 29918, 361, 29918, 2870, 29898, 16122, 29892, 5446, 29896, 29892, 5446, 29906, 1125, 13, 1678, 565, 4195, 29901, 13, 4706, 5446, 353, 5446, 29896, 13, 1678, 1683, 29901, 13, 4706, 5446, 353, 5446, 29906, 13, 308, 13, 1678, 736, 5446, 13, 13, 1990, 5886, 7698, 688, 358, 362, 29898, 3318, 1125, 13, 1678, 9995, 4103, 689, 304, 367, 1304, 746, 6694, 29889, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 2099, 29922, 2303, 2190, 29903, 29892, 3659, 29922, 1254, 29928, 1125, 13, 4706, 1583, 29889, 2987, 358, 353, 3831, 852, 4197, 13, 9651, 14806, 4591, 2928, 29879, 3285, 13, 9651, 1763, 4920, 14977, 7967, 4339, 3285, 13, 9651, 9025, 29918, 361, 29898, 16859, 29889, 2987, 358, 29918, 561, 327, 14066, 29918, 5721, 441, 29892, 19040, 14066, 13398, 441, 25739, 13, 9651, 16968, 29924, 381, 729, 3285, 13, 9651, 16968, 29943, 3466, 3285, 13, 9651, 16968, 21281, 29929, 29900, 3285, 13, 9651, 2538, 675, 3285, 13, 9651, 317, 1092, 682, 29918, 29990, 1955, 29918, 27418, 5168, 3285, 13, 9651, 341, 957, 3285, 13, 9651, 24321, 2713, 5790, 3285, 13, 9651, 360, 29946, 29896, 29945, 1217, 895, 3285, 13, 9651, 2296, 1022, 26169, 3285, 13, 9651, 9025, 29918, 361, 29898, 1333, 274, 16434, 29889, 4569, 7143, 29918, 294, 1103, 29918, 3605, 601, 29892, 320, 13, 462, 418, 18011, 29898, 16859, 29889, 3317, 29918, 2311, 29892, 274, 16434, 29889, 3317, 29918, 2311, 29892, 2099, 8243, 13, 9651, 1763, 27933, 7967, 4339, 3285, 13, 9651, 349, 3445, 598, 19832, 29879, 29898, 16859, 29889, 13168, 29918, 2311, 29892, 274, 16434, 29889, 1509, 29918, 4141, 29918, 29890, 1884, 267, 511, 13, 9651, 7437, 15933, 13372, 29898, 16859, 29889, 1627, 15933, 29889, 9067, 29892, 2099, 29892, 3659, 29892, 525, 29933, 14345, 1495, 2314, 13, 308, 13, 4706, 1596, 877, 29909, 688, 358, 800, 297, 671, 29901, 1495, 13, 4706, 363, 11307, 297, 1583, 29889, 2987, 358, 17255, 8977, 1649, 1839, 9067, 29879, 2033, 29901, 13, 9651, 1596, 29898, 1311, 29889, 657, 29918, 2987, 29918, 978, 29898, 2987, 876, 13, 13, 1678, 822, 679, 29918, 2987, 29918, 978, 29898, 1311, 29892, 2987, 1125, 13, 4706, 269, 2987, 353, 851, 29898, 2987, 29897, 13, 4706, 474, 29900, 353, 269, 2987, 29889, 29878, 2886, 12839, 1495, 718, 29871, 29896, 396, 515, 278, 1833, 8329, 3045, 13, 4706, 474, 29896, 353, 269, 2987, 29889, 2886, 877, 13420, 474, 29900, 29897, 29871, 396, 29871, 2023, 517, 278, 937, 2913, 13, 4706, 736, 269, 2987, 29961, 29875, 29900, 29901, 29875, 29896, 29962, 13, 632, 13, 13, 1678, 822, 4770, 4804, 12035, 1311, 29892, 10153, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 1125, 13, 4706, 736, 1583, 29889, 2987, 358, 29898, 2492, 29892, 11105, 29879, 29892, 16273, 29892, 11073, 29897, 13, 13, 29937, 9651, 9025, 29918, 361, 29918, 2870, 29898, 2288, 29889, 9502, 524, 29898, 29906, 511, 8168, 381, 1358, 3285, 317, 1092, 682, 261, 25739, 13, 2 ]
tscli/stats/commands.py
pnemade/transtats-cli
1
169064
# Copyright 2017-2019 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import click from tscli.restapi import ConsumeAPIs from tscli.textoutput import TextOutputAPIs @click.command() @click.option( '--server-url', envvar='TRANSTATS_SERVER', help="Transtats Server URL") @click.option("--exist", is_flag=True, help="Determine if the package exist in Transtats or not.") @click.option("--health", is_flag=True, help="Get package health") @click.option( '--json', is_flag=True, envvar='JSON_OUTPUT', help="Print in JSON format") @click.argument('package-name') @click.pass_obj def package(app_context, server_url, package_name, exist, health, json): """Translation status of a package. e.g. transtats package anaconda """ api_obj = ConsumeAPIs(server_url or app_context.server_url) if json \ else TextOutputAPIs(server_url or app_context.server_url) if exist: response = api_obj.package_status(package_name, exist=True, health=None) elif health: response = api_obj.package_status(package_name, exist=None, health=True) else: response = api_obj.package_status(package_name, exist=None, health=None) if isinstance(response, dict): app_context.print_r(response) @click.command() @click.option( '--server-url', envvar='TRANSTATS_SERVER', help="Transtats Server URL") @click.option("--detail", is_flag=True, help="For individual packages grouped by languages.") @click.option("--locale", is_flag=False, help="For individual language specific output.") @click.option( '--json', is_flag=True, envvar='JSON_OUTPUT', help="Print in JSON format") @click.argument('release-slug') @click.pass_obj def release(app_context, server_url, detail, release_slug, locale, json): """Translation status of a release slug/branch. e.g. transtats release fedora-29 """ api_obj = ConsumeAPIs(server_url or app_context.server_url) if json \ else TextOutputAPIs(server_url or app_context.server_url) if detail: if locale: print("Ignoring locale option as detail option also given") response = api_obj.release_status(release_slug, locale=None, detail=True) elif locale: response = api_obj.release_status(release_slug, locale, detail=False) else: response = api_obj.release_status(release_slug) if isinstance(response, dict): app_context.print_r(response) @click.command() @click.option( '--server-url', envvar='TRANSTATS_SERVER', help="Transtats Server URL") @click.option( '--json', is_flag=True, envvar='JSON_OUTPUT', help="Print in JSON format") @click.argument('coverage-rule') @click.pass_obj def coverage(app_context, server_url, coverage_rule, json): """Translation coverage as per coverage rule. e.g. transtats coverage rhinstaller """ api_obj = ConsumeAPIs(server_url or app_context.server_url) if json \ else TextOutputAPIs(server_url or app_context.server_url) response = api_obj.rule_coverage(coverage_rule) if isinstance(response, dict): app_context.print_r(response)
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29896, 29955, 29899, 29906, 29900, 29896, 29929, 4367, 25966, 29892, 9266, 29889, 13, 29937, 2178, 26863, 2538, 9841, 29889, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947, 1496, 366, 1122, 13, 29937, 451, 671, 445, 934, 5174, 297, 752, 13036, 411, 278, 19245, 29889, 887, 1122, 4017, 13, 29937, 263, 3509, 310, 278, 19245, 472, 13, 29937, 13, 29937, 1732, 597, 1636, 29889, 4288, 29889, 990, 29914, 506, 11259, 29914, 27888, 1430, 1660, 29899, 29906, 29889, 29900, 13, 29937, 13, 29937, 25870, 3734, 491, 22903, 4307, 470, 15502, 304, 297, 5007, 29892, 7047, 13, 29937, 13235, 1090, 278, 19245, 338, 13235, 373, 385, 376, 3289, 8519, 29908, 350, 3289, 3235, 29892, 399, 1806, 8187, 2692, 13, 29937, 399, 1718, 29934, 13566, 29059, 6323, 8707, 29928, 22122, 29903, 8079, 13764, 29979, 476, 22255, 29892, 2845, 4653, 470, 2411, 2957, 29889, 2823, 278, 13, 29937, 19245, 363, 278, 2702, 4086, 14765, 1076, 11239, 322, 27028, 13, 29937, 1090, 278, 19245, 29889, 13, 13, 5215, 2828, 13, 3166, 260, 1557, 492, 29889, 5060, 2754, 1053, 2138, 2017, 8787, 29879, 13, 3166, 260, 1557, 492, 29889, 726, 4905, 1053, 3992, 6466, 8787, 29879, 13, 13, 13, 29992, 3808, 29889, 6519, 580, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 2974, 29899, 2271, 742, 8829, 1707, 2433, 26813, 17816, 29903, 29918, 18603, 742, 1371, 543, 29911, 661, 16202, 5656, 3988, 1159, 13, 29992, 3808, 29889, 3385, 703, 489, 28997, 613, 338, 29918, 15581, 29922, 5574, 29892, 13, 795, 1371, 543, 6362, 837, 457, 565, 278, 3577, 1863, 297, 323, 661, 16202, 470, 451, 23157, 13, 29992, 3808, 29889, 3385, 703, 489, 354, 4298, 613, 338, 29918, 15581, 29922, 5574, 29892, 13, 795, 1371, 543, 2577, 3577, 9045, 1159, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 3126, 742, 338, 29918, 15581, 29922, 5574, 29892, 8829, 1707, 2433, 7249, 29918, 12015, 12336, 742, 1371, 543, 11816, 297, 4663, 3402, 1159, 13, 29992, 3808, 29889, 23516, 877, 5113, 29899, 978, 1495, 13, 29992, 3808, 29889, 3364, 29918, 5415, 13, 1753, 3577, 29898, 932, 29918, 4703, 29892, 1923, 29918, 2271, 29892, 3577, 29918, 978, 29892, 1863, 29892, 9045, 29892, 4390, 1125, 13, 1678, 9995, 4300, 18411, 4660, 310, 263, 3577, 29889, 13, 539, 321, 29889, 29887, 29889, 22024, 16202, 3577, 385, 29874, 18050, 9995, 13, 1678, 7882, 29918, 5415, 353, 2138, 2017, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 565, 4390, 320, 13, 4706, 1683, 3992, 6466, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 13, 13, 1678, 565, 1863, 29901, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 5113, 29918, 4882, 29898, 5113, 29918, 978, 29892, 1863, 29922, 5574, 29892, 9045, 29922, 8516, 29897, 13, 1678, 25342, 9045, 29901, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 5113, 29918, 4882, 29898, 5113, 29918, 978, 29892, 1863, 29922, 8516, 29892, 9045, 29922, 5574, 29897, 13, 1678, 1683, 29901, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 5113, 29918, 4882, 29898, 5113, 29918, 978, 29892, 1863, 29922, 8516, 29892, 9045, 29922, 8516, 29897, 13, 1678, 565, 338, 8758, 29898, 5327, 29892, 9657, 1125, 13, 4706, 623, 29918, 4703, 29889, 2158, 29918, 29878, 29898, 5327, 29897, 13, 13, 13, 29992, 3808, 29889, 6519, 580, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 2974, 29899, 2271, 742, 8829, 1707, 2433, 26813, 17816, 29903, 29918, 18603, 742, 1371, 543, 29911, 661, 16202, 5656, 3988, 1159, 13, 29992, 3808, 29889, 3385, 703, 489, 16432, 613, 338, 29918, 15581, 29922, 5574, 29892, 13, 795, 1371, 543, 2831, 5375, 9741, 27831, 491, 10276, 23157, 13, 29992, 3808, 29889, 3385, 703, 489, 23337, 613, 338, 29918, 15581, 29922, 8824, 29892, 13, 795, 1371, 543, 2831, 5375, 4086, 2702, 1962, 23157, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 3126, 742, 338, 29918, 15581, 29922, 5574, 29892, 8829, 1707, 2433, 7249, 29918, 12015, 12336, 742, 1371, 543, 11816, 297, 4663, 3402, 1159, 13, 29992, 3808, 29889, 23516, 877, 14096, 29899, 29517, 1495, 13, 29992, 3808, 29889, 3364, 29918, 5415, 13, 1753, 6507, 29898, 932, 29918, 4703, 29892, 1923, 29918, 2271, 29892, 9493, 29892, 6507, 29918, 29517, 29892, 15068, 29892, 4390, 1125, 13, 1678, 9995, 4300, 18411, 4660, 310, 263, 6507, 2243, 688, 29914, 17519, 29889, 13, 539, 321, 29889, 29887, 29889, 22024, 16202, 6507, 21242, 2207, 29899, 29906, 29929, 9995, 13, 1678, 7882, 29918, 5415, 353, 2138, 2017, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 565, 4390, 320, 13, 4706, 1683, 3992, 6466, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 13, 13, 1678, 565, 9493, 29901, 13, 4706, 565, 15068, 29901, 13, 9651, 1596, 703, 17273, 8253, 15068, 2984, 408, 9493, 2984, 884, 2183, 1159, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 14096, 29918, 4882, 29898, 14096, 29918, 29517, 29892, 15068, 29922, 8516, 29892, 13, 462, 462, 3986, 9493, 29922, 5574, 29897, 13, 1678, 25342, 15068, 29901, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 14096, 29918, 4882, 29898, 14096, 29918, 29517, 29892, 15068, 29892, 9493, 29922, 8824, 29897, 13, 1678, 1683, 29901, 13, 4706, 2933, 353, 7882, 29918, 5415, 29889, 14096, 29918, 4882, 29898, 14096, 29918, 29517, 29897, 13, 13, 1678, 565, 338, 8758, 29898, 5327, 29892, 9657, 1125, 13, 4706, 623, 29918, 4703, 29889, 2158, 29918, 29878, 29898, 5327, 29897, 13, 13, 13, 29992, 3808, 29889, 6519, 580, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 2974, 29899, 2271, 742, 8829, 1707, 2433, 26813, 17816, 29903, 29918, 18603, 742, 1371, 543, 29911, 661, 16202, 5656, 3988, 1159, 13, 29992, 3808, 29889, 3385, 29898, 13, 1678, 525, 489, 3126, 742, 338, 29918, 15581, 29922, 5574, 29892, 8829, 1707, 2433, 7249, 29918, 12015, 12336, 742, 1371, 543, 11816, 297, 4663, 3402, 1159, 13, 29992, 3808, 29889, 23516, 877, 11911, 482, 29899, 7491, 1495, 13, 29992, 3808, 29889, 3364, 29918, 5415, 13, 1753, 23746, 29898, 932, 29918, 4703, 29892, 1923, 29918, 2271, 29892, 23746, 29918, 7491, 29892, 4390, 1125, 13, 1678, 9995, 4300, 18411, 23746, 408, 639, 23746, 5751, 29889, 13, 539, 321, 29889, 29887, 29889, 22024, 16202, 23746, 18178, 6252, 261, 9995, 13, 13, 1678, 7882, 29918, 5415, 353, 2138, 2017, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 565, 4390, 320, 13, 4706, 1683, 3992, 6466, 8787, 29879, 29898, 2974, 29918, 2271, 470, 623, 29918, 4703, 29889, 2974, 29918, 2271, 29897, 13, 13, 1678, 2933, 353, 7882, 29918, 5415, 29889, 7491, 29918, 11911, 482, 29898, 11911, 482, 29918, 7491, 29897, 13, 1678, 565, 338, 8758, 29898, 5327, 29892, 9657, 1125, 13, 4706, 623, 29918, 4703, 29889, 2158, 29918, 29878, 29898, 5327, 29897, 13, 2 ]
custom_components/here_weather/utils.py
eifinger/homeassistant-conf
60
196426
<reponame>eifinger/homeassistant-conf<gh_stars>10-100 """Utility functions for here_weather.""" from __future__ import annotations from homeassistant.const import ( CONF_UNIT_SYSTEM_METRIC, LENGTH_CENTIMETERS, LENGTH_INCHES, LENGTH_KILOMETERS, LENGTH_MILES, PRESSURE_INHG, PRESSURE_MBAR, SPEED_KILOMETERS_PER_HOUR, SPEED_MILES_PER_HOUR, TEMP_CELSIUS, TEMP_FAHRENHEIT, ) def convert_temperature_unit_of_measurement_if_needed( unit_system: str, unit_of_measurement: str ) -> str: """Convert the temperature unit of measurement to imperial if configured.""" if unit_system != CONF_UNIT_SYSTEM_METRIC: unit_of_measurement = TEMP_FAHRENHEIT return unit_of_measurement def convert_unit_of_measurement_if_needed( unit_system: str, unit_of_measurement: str | None ) -> str | None: """Convert the unit of measurement to imperial if configured.""" if unit_system != CONF_UNIT_SYSTEM_METRIC: if unit_of_measurement == TEMP_CELSIUS: unit_of_measurement = TEMP_FAHRENHEIT elif unit_of_measurement == LENGTH_CENTIMETERS: unit_of_measurement = LENGTH_INCHES elif unit_of_measurement == SPEED_KILOMETERS_PER_HOUR: unit_of_measurement = SPEED_MILES_PER_HOUR elif unit_of_measurement == PRESSURE_MBAR: unit_of_measurement = PRESSURE_INHG elif unit_of_measurement == LENGTH_KILOMETERS: unit_of_measurement = LENGTH_MILES return unit_of_measurement def get_attribute_from_here_data( here_data: list, attribute_name: str, sensor_number: int = 0 ) -> str | None: """Extract and convert data from HERE response or None if not found.""" try: state = here_data[sensor_number][attribute_name] except KeyError: return None state = convert_asterisk_to_none(state) return state def convert_asterisk_to_none(state: str) -> str | None: """Convert HERE API representation of None.""" if state == "*": return None return state
[ 1, 529, 276, 1112, 420, 29958, 29872, 361, 5621, 29914, 5184, 465, 22137, 29899, 5527, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 15945, 29908, 7270, 537, 3168, 363, 1244, 29918, 705, 1624, 1213, 15945, 13, 3166, 4770, 29888, 9130, 1649, 1053, 25495, 13, 13, 3166, 3271, 465, 22137, 29889, 3075, 1053, 313, 13, 1678, 8707, 29943, 29918, 3904, 1806, 29918, 14816, 1254, 12665, 29918, 2303, 5659, 2965, 29892, 13, 1678, 365, 1430, 29954, 4690, 29918, 29907, 3919, 8890, 4945, 29903, 29892, 13, 1678, 365, 1430, 29954, 4690, 29918, 1177, 3210, 2890, 29892, 13, 1678, 365, 1430, 29954, 4690, 29918, 29968, 29902, 3927, 2303, 4945, 29903, 29892, 13, 1678, 365, 1430, 29954, 4690, 29918, 10403, 17101, 29892, 13, 1678, 349, 26785, 11499, 29918, 1177, 29950, 29954, 29892, 13, 1678, 349, 26785, 11499, 29918, 9486, 1718, 29892, 13, 1678, 317, 4162, 3352, 29918, 29968, 29902, 3927, 2303, 4945, 29903, 29918, 13171, 29918, 8187, 4574, 29892, 13, 1678, 317, 4162, 3352, 29918, 10403, 17101, 29918, 13171, 29918, 8187, 4574, 29892, 13, 1678, 17067, 3580, 29918, 4741, 29931, 5425, 3308, 29892, 13, 1678, 17067, 3580, 29918, 4519, 20938, 1430, 9606, 1806, 29892, 13, 29897, 13, 13, 13, 1753, 3588, 29918, 12863, 1535, 29918, 5441, 29918, 974, 29918, 26658, 358, 29918, 361, 29918, 484, 19226, 29898, 13, 1678, 5190, 29918, 5205, 29901, 851, 29892, 5190, 29918, 974, 29918, 26658, 358, 29901, 851, 13, 29897, 1599, 851, 29901, 13, 1678, 9995, 18455, 278, 10430, 5190, 310, 20039, 304, 26990, 565, 13252, 1213, 15945, 13, 1678, 565, 5190, 29918, 5205, 2804, 8707, 29943, 29918, 3904, 1806, 29918, 14816, 1254, 12665, 29918, 2303, 5659, 2965, 29901, 13, 4706, 5190, 29918, 974, 29918, 26658, 358, 353, 17067, 3580, 29918, 4519, 20938, 1430, 9606, 1806, 13, 1678, 736, 5190, 29918, 974, 29918, 26658, 358, 13, 13, 13, 1753, 3588, 29918, 5441, 29918, 974, 29918, 26658, 358, 29918, 361, 29918, 484, 19226, 29898, 13, 1678, 5190, 29918, 5205, 29901, 851, 29892, 5190, 29918, 974, 29918, 26658, 358, 29901, 851, 891, 6213, 13, 29897, 1599, 851, 891, 6213, 29901, 13, 1678, 9995, 18455, 278, 5190, 310, 20039, 304, 26990, 565, 13252, 1213, 15945, 13, 1678, 565, 5190, 29918, 5205, 2804, 8707, 29943, 29918, 3904, 1806, 29918, 14816, 1254, 12665, 29918, 2303, 5659, 2965, 29901, 13, 4706, 565, 5190, 29918, 974, 29918, 26658, 358, 1275, 17067, 3580, 29918, 4741, 29931, 5425, 3308, 29901, 13, 9651, 5190, 29918, 974, 29918, 26658, 358, 353, 17067, 3580, 29918, 4519, 20938, 1430, 9606, 1806, 13, 4706, 25342, 5190, 29918, 974, 29918, 26658, 358, 1275, 365, 1430, 29954, 4690, 29918, 29907, 3919, 8890, 4945, 29903, 29901, 13, 9651, 5190, 29918, 974, 29918, 26658, 358, 353, 365, 1430, 29954, 4690, 29918, 1177, 3210, 2890, 13, 4706, 25342, 5190, 29918, 974, 29918, 26658, 358, 1275, 317, 4162, 3352, 29918, 29968, 29902, 3927, 2303, 4945, 29903, 29918, 13171, 29918, 8187, 4574, 29901, 13, 9651, 5190, 29918, 974, 29918, 26658, 358, 353, 317, 4162, 3352, 29918, 10403, 17101, 29918, 13171, 29918, 8187, 4574, 13, 4706, 25342, 5190, 29918, 974, 29918, 26658, 358, 1275, 349, 26785, 11499, 29918, 9486, 1718, 29901, 13, 9651, 5190, 29918, 974, 29918, 26658, 358, 353, 349, 26785, 11499, 29918, 1177, 29950, 29954, 13, 4706, 25342, 5190, 29918, 974, 29918, 26658, 358, 1275, 365, 1430, 29954, 4690, 29918, 29968, 29902, 3927, 2303, 4945, 29903, 29901, 13, 9651, 5190, 29918, 974, 29918, 26658, 358, 353, 365, 1430, 29954, 4690, 29918, 10403, 17101, 13, 1678, 736, 5190, 29918, 974, 29918, 26658, 358, 13, 13, 13, 1753, 679, 29918, 12715, 29918, 3166, 29918, 4150, 29918, 1272, 29898, 13, 1678, 1244, 29918, 1272, 29901, 1051, 29892, 5352, 29918, 978, 29901, 851, 29892, 23530, 29918, 4537, 29901, 938, 353, 29871, 29900, 13, 29897, 1599, 851, 891, 6213, 29901, 13, 1678, 9995, 5647, 1461, 322, 3588, 848, 515, 379, 27267, 2933, 470, 6213, 565, 451, 1476, 1213, 15945, 13, 1678, 1018, 29901, 13, 4706, 2106, 353, 1244, 29918, 1272, 29961, 29879, 6073, 29918, 4537, 3816, 12715, 29918, 978, 29962, 13, 1678, 5174, 7670, 2392, 29901, 13, 4706, 736, 6213, 13, 1678, 2106, 353, 3588, 29918, 1901, 3873, 29918, 517, 29918, 9290, 29898, 3859, 29897, 13, 1678, 736, 2106, 13, 13, 13, 1753, 3588, 29918, 1901, 3873, 29918, 517, 29918, 9290, 29898, 3859, 29901, 851, 29897, 1599, 851, 891, 6213, 29901, 13, 1678, 9995, 18455, 379, 27267, 3450, 8954, 310, 6213, 1213, 15945, 13, 1678, 565, 2106, 1275, 26345, 1115, 13, 4706, 736, 6213, 13, 1678, 736, 2106, 13, 2 ]