code
stringlengths
1
25.8M
language
stringclasses
18 values
source
stringclasses
4 values
repo
stringclasses
78 values
path
stringlengths
0
268
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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 __future__ import annotations from airflow.api_fastapi.core_api.routes.public import authenticated_router, public_router # Set of paths that are allowed to be accessible without authentication NO_AUTH_PATHS = { "/api/v2/auth/login", "/api/v2/auth/logout", "/api/v2/version", "/api/v2/monitor/health", } def test_no_auth_routes(): """ Verify that only the routes with NO_AUTH_PATHS are excluded from the `authenticated_router`. This test ensures that a router is not added to the non-authenticated router by mistake. """ paths_in_public_router = {route.path for route in public_router.routes} paths_in_authenticated_router = { f"{public_router.prefix}{route.path}" for route in authenticated_router.routes } assert paths_in_public_router - paths_in_authenticated_router == NO_AUTH_PATHS def test_routes_with_responses(): """Verify that each route in `public_router` has appropriate responses configured.""" for route in public_router.routes: if route.path in NO_AUTH_PATHS: # Routes in NO_AUTH_PATHS should not have 401 or 403 response codes assert 401 not in route.responses, f"Route {route.path} should not require auth (401)" assert 403 not in route.responses, f"Route {route.path} should not require auth (403)" else: # All other routes should have 401 and 403 responses indicating they require auth assert 401 in route.responses, f"Route {route.path} is missing 401 response" assert 403 in route.responses, f"Route {route.path} is missing 403 response" def test_invalid_routes_return_404(test_client): """Invalid routes should return a 404.""" response = test_client.get("/api/v2/nonexistent") assert response.status_code == 404 assert response.json() == {"error": "API route not found"} response = test_client.get("/api/nonexistent") assert response.status_code == 404 assert response.json() == {"error": "API route not found"}
python
github
https://github.com/apache/airflow
airflow-core/tests/unit/api_fastapi/core_api/routes/test_routes.py
# -*- coding: utf-8 -*- import os, sys, re try: from subprocess import check_output, check_call except ImportError: import subprocess as sp def check_output(*args, **kwds): kwds['stdout'] = sp.PIPE proc = sp.Popen(*args, **kwds) output = proc.stdout.read() proc.wait() if proc.returncode != 0: ex = Exception("Process had nonzero return value %d" % proc.returncode) ex.returncode = proc.returncode ex.output = output raise ex return output # Maximum allowed repository size difference (in kB) following merge. # This is used to prevent large files from being inappropriately added to # the repository history. MERGE_SIZE_LIMIT = 100 # Paths that are checked for style by flake and flake_diff FLAKE_CHECK_PATHS = ['pyqtgraph', 'examples', 'tools'] # Flake style checks -- mandatory, recommended, optional # See: http://pep8.readthedocs.org/en/1.4.6/intro.html # and https://flake8.readthedocs.org/en/2.0/warnings.html FLAKE_MANDATORY = set([ 'E101', # indentation contains mixed spaces and tabs 'E112', # expected an indented block 'E122', # continuation line missing indentation or outdented 'E125', # continuation line does not distinguish itself from next line 'E133', # closing bracket is missing indentation 'E223', # tab before operator 'E224', # tab after operator 'E242', # tab after ‘,’ 'E273', # tab after keyword 'E274', # tab before keyword 'E901', # SyntaxError or IndentationError 'E902', # IOError 'W191', # indentation contains tabs 'W601', # .has_key() is deprecated, use ‘in’ 'W602', # deprecated form of raising exception 'W603', # ‘<>’ is deprecated, use ‘!=’ 'W604', # backticks are deprecated, use ‘repr()’ ]) FLAKE_RECOMMENDED = set([ 'E124', # closing bracket does not match visual indentation 'E231', # missing whitespace after ‘,’ 'E211', # whitespace before ‘(‘ 'E261', # at least two spaces before inline comment 'E271', # multiple spaces after keyword 'E272', # multiple spaces before keyword 'E304', # blank lines found after function decorator 'F401', # module imported but unused 'F402', # import module from line N shadowed by loop variable 'F403', # ‘from module import *’ used; unable to detect undefined names 'F404', # future import(s) name after other statements 'E501', # line too long (82 > 79 characters) 'E502', # the backslash is redundant between brackets 'E702', # multiple statements on one line (semicolon) 'E703', # statement ends with a semicolon 'E711', # comparison to None should be ‘if cond is None:’ 'E712', # comparison to True should be ‘if cond is True:’ or ‘if cond:’ 'E721', # do not compare types, use ‘isinstance()’ 'F811', # redefinition of unused name from line N 'F812', # list comprehension redefines name from line N 'F821', # undefined name name 'F822', # undefined name name in __all__ 'F823', # local variable name ... referenced before assignment 'F831', # duplicate argument name in function definition 'F841', # local variable name is assigned to but never used 'W292', # no newline at end of file ]) FLAKE_OPTIONAL = set([ 'E121', # continuation line indentation is not a multiple of four 'E123', # closing bracket does not match indentation of opening bracket 'E126', # continuation line over-indented for hanging indent 'E127', # continuation line over-indented for visual indent 'E128', # continuation line under-indented for visual indent 'E201', # whitespace after ‘(‘ 'E202', # whitespace before ‘)’ 'E203', # whitespace before ‘:’ 'E221', # multiple spaces before operator 'E222', # multiple spaces after operator 'E225', # missing whitespace around operator 'E227', # missing whitespace around bitwise or shift operator 'E226', # missing whitespace around arithmetic operator 'E228', # missing whitespace around modulo operator 'E241', # multiple spaces after ‘,’ 'E251', # unexpected spaces around keyword / parameter equals 'E262', # inline comment should start with ‘# ‘ 'E301', # expected 1 blank line, found 0 'E302', # expected 2 blank lines, found 0 'E303', # too many blank lines (3) 'E401', # multiple imports on one line 'E701', # multiple statements on one line (colon) 'W291', # trailing whitespace 'W293', # blank line contains whitespace 'W391', # blank line at end of file ]) FLAKE_IGNORE = set([ # 111 and 113 are ignored because they appear to be broken. 'E111', # indentation is not a multiple of four 'E113', # unexpected indentation ]) #def checkStyle(): #try: #out = check_output(['flake8', '--select=%s' % FLAKE_TESTS, '--statistics', 'pyqtgraph/']) #ret = 0 #print("All style checks OK.") #except Exception as e: #out = e.output #ret = e.returncode #print(out.decode('utf-8')) #return ret def checkStyle(): """ Run flake8, checking only lines that are modified since the last git commit. """ test = [ 1,2,3 ] # First check _all_ code against mandatory error codes print('flake8: check all code against mandatory error set...') errors = ','.join(FLAKE_MANDATORY) cmd = ['flake8', '--select=' + errors] + FLAKE_CHECK_PATHS proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) #ret = proc.wait() output = proc.stdout.read().decode('utf-8') ret = proc.wait() printFlakeOutput(output) # Check for DOS newlines print('check line endings in all files...') count = 0 allowedEndings = set([None, '\n']) for path, dirs, files in os.walk('.'): for f in files: if os.path.splitext(f)[1] not in ('.py', '.rst'): continue filename = os.path.join(path, f) fh = open(filename, 'U') x = fh.readlines() endings = set(fh.newlines if isinstance(fh.newlines, tuple) else (fh.newlines,)) endings -= allowedEndings if len(endings) > 0: print("\033[0;31m" + "File has invalid line endings: %s" % filename + "\033[0m") ret = ret | 2 count += 1 print('checked line endings in %d files' % count) # Next check new code with optional error codes print('flake8: check new code against recommended error set...') diff = subprocess.check_output(['git', 'diff']) proc = subprocess.Popen(['flake8', '--diff', #'--show-source', '--ignore=' + errors], stdin=subprocess.PIPE, stdout=subprocess.PIPE) proc.stdin.write(diff) proc.stdin.close() output = proc.stdout.read().decode('utf-8') ret |= printFlakeOutput(output) if ret == 0: print('style test passed.') else: print('style test failed: %d' % ret) return ret def printFlakeOutput(text): """ Print flake output, colored by error category. Return 2 if there were any mandatory errors, 1 if only recommended / optional errors, and 0 if only optional errors. """ ret = 0 gotError = False for line in text.split('\n'): m = re.match(r'[^\:]+\:\d+\:\d+\: (\w+) .*', line) if m is None: print(line) else: gotError = True error = m.group(1) if error in FLAKE_MANDATORY: print("\033[0;31m" + line + "\033[0m") ret |= 2 elif error in FLAKE_RECOMMENDED: print("\033[0;33m" + line + "\033[0m") #ret |= 1 elif error in FLAKE_OPTIONAL: print("\033[0;32m" + line + "\033[0m") elif error in FLAKE_IGNORE: continue else: print("\033[0;36m" + line + "\033[0m") if not gotError: print(" [ no errors ]\n") return ret def unitTests(): """ Run all unit tests (using py.test) Return the exit code. """ try: if sys.version[0] == '3': out = check_output('PYTHONPATH=. py.test-3', shell=True) else: out = check_output('PYTHONPATH=. py.test', shell=True) ret = 0 except Exception as e: out = e.output ret = e.returncode print(out.decode('utf-8')) return ret def checkMergeSize(sourceBranch=None, targetBranch=None, sourceRepo=None, targetRepo=None): """ Check that a git merge would not increase the repository size by MERGE_SIZE_LIMIT. """ if sourceBranch is None: sourceBranch = getGitBranch() sourceRepo = '..' if targetBranch is None: if sourceBranch == 'develop': targetBranch = 'develop' targetRepo = 'https://github.com/pyqtgraph/pyqtgraph.git' else: targetBranch = 'develop' targetRepo = '..' workingDir = '__merge-test-clone' env = dict(TARGET_BRANCH=targetBranch, SOURCE_BRANCH=sourceBranch, TARGET_REPO=targetRepo, SOURCE_REPO=sourceRepo, WORKING_DIR=workingDir, ) print("Testing merge size difference:\n" " SOURCE: {SOURCE_REPO} {SOURCE_BRANCH}\n" " TARGET: {TARGET_BRANCH} {TARGET_REPO}".format(**env)) setup = """ mkdir {WORKING_DIR} && cd {WORKING_DIR} && git init && git remote add -t {TARGET_BRANCH} target {TARGET_REPO} && git fetch target {TARGET_BRANCH} && git checkout -qf target/{TARGET_BRANCH} && git gc -q --aggressive """.format(**env) checkSize = """ cd {WORKING_DIR} && du -s . | sed -e "s/\t.*//" """.format(**env) merge = """ cd {WORKING_DIR} && git pull -q {SOURCE_REPO} {SOURCE_BRANCH} && git gc -q --aggressive """.format(**env) try: print("Check out target branch:\n" + setup) check_call(setup, shell=True) targetSize = int(check_output(checkSize, shell=True)) print("TARGET SIZE: %d kB" % targetSize) print("Merge source branch:\n" + merge) check_call(merge, shell=True) mergeSize = int(check_output(checkSize, shell=True)) print("MERGE SIZE: %d kB" % mergeSize) diff = mergeSize - targetSize if diff <= MERGE_SIZE_LIMIT: print("DIFFERENCE: %d kB [OK]" % diff) return 0 else: print("\033[0;31m" + "DIFFERENCE: %d kB [exceeds %d kB]" % (diff, MERGE_SIZE_LIMIT) + "\033[0m") return 2 finally: if os.path.isdir(workingDir): shutil.rmtree(workingDir) def mergeTests(): ret = checkMergeSize() ret |= unitTests() ret |= checkStyle() if ret == 0: print("\033[0;32m" + "\nAll merge tests passed." + "\033[0m") else: print("\033[0;31m" + "\nMerge tests failed." + "\033[0m") return ret def listAllPackages(pkgroot): path = os.getcwd() n = len(path.split(os.path.sep)) subdirs = [i[0].split(os.path.sep)[n:] for i in os.walk(os.path.join(path, pkgroot)) if '__init__.py' in i[2]] return ['.'.join(p) for p in subdirs] def getInitVersion(pkgroot): """Return the version string defined in __init__.py""" path = os.getcwd() initfile = os.path.join(path, pkgroot, '__init__.py') init = open(initfile).read() m = re.search(r'__version__ = (\S+)\n', init) if m is None or len(m.groups()) != 1: raise Exception("Cannot determine __version__ from init file: '%s'!" % initfile) version = m.group(1).strip('\'\"') return version def gitCommit(name): """Return the commit ID for the given name.""" commit = check_output(['git', 'show', name], universal_newlines=True).split('\n')[0] assert commit[:7] == 'commit ' return commit[7:] def getGitVersion(tagPrefix): """Return a version string with information about this git checkout. If the checkout is an unmodified, tagged commit, then return the tag version. If this is not a tagged commit, return version-branch_name-commit_id. If this checkout has been modified, append "+" to the version. """ path = os.getcwd() if not os.path.isdir(os.path.join(path, '.git')): return None # Find last tag matching "tagPrefix.*" tagNames = check_output(['git', 'tag'], universal_newlines=True).strip().split('\n') while True: if len(tagNames) == 0: raise Exception("Could not determine last tagged version.") lastTagName = tagNames.pop() if re.match(tagPrefix+r'\d+\.\d+.*', lastTagName): break gitVersion = lastTagName.replace(tagPrefix, '') # is this commit an unchanged checkout of the last tagged version? lastTag = gitCommit(lastTagName) head = gitCommit('HEAD') if head != lastTag: branch = getGitBranch() gitVersion = gitVersion + "-%s-%s" % (branch, head[:10]) # any uncommitted modifications? modified = False status = check_output(['git', 'status', '-s'], universal_newlines=True).strip().split('\n') for line in status: if line[:2] != '??': modified = True break if modified: gitVersion = gitVersion + '+' return gitVersion def getGitBranch(): m = re.search(r'\* (.*)', check_output(['git', 'branch'], universal_newlines=True)) if m is None: return '' else: return m.group(1) def getVersionStrings(pkg): """ Returns 4 version strings: * the version string to use for this build, * version string requested with --force-version (or None) * version string that describes the current git checkout (or None). * version string in the pkg/__init__.py, The first return value is (forceVersion or gitVersion or initVersion). """ ## Determine current version string from __init__.py initVersion = getInitVersion(pkgroot='pyqtgraph') ## If this is a git checkout, try to generate a more descriptive version string try: gitVersion = getGitVersion(tagPrefix='pyqtgraph-') except: gitVersion = None sys.stderr.write("This appears to be a git checkout, but an error occurred " "while attempting to determine a version string for the " "current commit.\n") sys.excepthook(*sys.exc_info()) # See whether a --force-version flag was given forcedVersion = None for i,arg in enumerate(sys.argv): if arg.startswith('--force-version'): if arg == '--force-version': forcedVersion = sys.argv[i+1] sys.argv.pop(i) sys.argv.pop(i) elif arg.startswith('--force-version='): forcedVersion = sys.argv[i].replace('--force-version=', '') sys.argv.pop(i) ## Finally decide on a version string to use: if forcedVersion is not None: version = forcedVersion elif gitVersion is not None and getGitBranch() != 'debian': # ignore git version if this is debian branch version = gitVersion sys.stderr.write("Detected git commit; will use version string: '%s'\n" % version) else: version = initVersion return version, forcedVersion, gitVersion, initVersion from distutils.core import Command import shutil, subprocess from generateChangelog import generateDebianChangelog class DebCommand(Command): description = "build .deb package using `debuild -us -uc`" maintainer = "Luke Campagnola <luke.campagnola@gmail.com>" debTemplate = "debian" debDir = "deb_build" user_options = [] def initialize_options(self): self.cwd = None def finalize_options(self): self.cwd = os.getcwd() def run(self): version = self.distribution.get_version() pkgName = self.distribution.get_name() debName = "python-" + pkgName debDir = self.debDir assert os.getcwd() == self.cwd, 'Must be in package root: %s' % self.cwd if os.path.isdir(debDir): raise Exception('DEB build dir already exists: "%s"' % debDir) sdist = "dist/%s-%s.tar.gz" % (pkgName, version) if not os.path.isfile(sdist): raise Exception("No source distribution; run `setup.py sdist` first.") # copy sdist to build directory and extract os.mkdir(debDir) renamedSdist = '%s_%s.orig.tar.gz' % (debName, version) print("copy %s => %s" % (sdist, os.path.join(debDir, renamedSdist))) shutil.copy(sdist, os.path.join(debDir, renamedSdist)) print("cd %s; tar -xzf %s" % (debDir, renamedSdist)) if os.system("cd %s; tar -xzf %s" % (debDir, renamedSdist)) != 0: raise Exception("Error extracting source distribution.") buildDir = '%s/%s-%s' % (debDir, pkgName, version) # copy debian control structure print("copytree %s => %s" % (self.debTemplate, buildDir+'/debian')) shutil.copytree(self.debTemplate, buildDir+'/debian') # Write new changelog chlog = generateDebianChangelog(pkgName, 'CHANGELOG', version, self.maintainer) print("write changelog %s" % buildDir+'/debian/changelog') open(buildDir+'/debian/changelog', 'w').write(chlog) # build package print('cd %s; debuild -us -uc' % buildDir) if os.system('cd %s; debuild -us -uc' % buildDir) != 0: raise Exception("Error during debuild.") class DebugCommand(Command): """Just for learning about distutils.""" description = "" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): global cmd cmd = self print(self.distribution.name) print(self.distribution.version) class TestCommand(Command): description = "Run all package tests and exit immediately with informative return code." user_options = [] def run(self): sys.exit(unitTests()) def initialize_options(self): pass def finalize_options(self): pass class StyleCommand(Command): description = "Check all code for style, exit immediately with informative return code." user_options = [] def run(self): sys.exit(checkStyle()) def initialize_options(self): pass def finalize_options(self): pass class MergeTestCommand(Command): description = "Run all tests needed to determine whether the current code is suitable for merge." user_options = [] def run(self): sys.exit(mergeTests()) def initialize_options(self): pass def finalize_options(self): pass
unknown
codeparrot/codeparrot-clean
# Copyright 2013 IBM Corp. # Copyright 2013 Red Hat, 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. """Client side of the conductor RPC API.""" from oslo_config import cfg import oslo_messaging as messaging from oslo_serialization import jsonutils from oslo_versionedobjects import base as ovo_base from nova.objects import base as objects_base from nova import rpc CONF = cfg.CONF rpcapi_cap_opt = cfg.StrOpt('conductor', help='Set a version cap for messages sent to conductor services') CONF.register_opt(rpcapi_cap_opt, 'upgrade_levels') class ConductorAPI(object): """Client side of the conductor RPC API API version history: * 1.0 - Initial version. * 1.1 - Added migration_update * 1.2 - Added instance_get_by_uuid and instance_get_all_by_host * 1.3 - Added aggregate_host_add and aggregate_host_delete * 1.4 - Added migration_get * 1.5 - Added bw_usage_update * 1.6 - Added get_backdoor_port() * 1.7 - Added aggregate_get_by_host, aggregate_metadata_add, and aggregate_metadata_delete * 1.8 - Added security_group_get_by_instance and security_group_rule_get_by_security_group * 1.9 - Added provider_fw_rule_get_all * 1.10 - Added agent_build_get_by_triple * 1.11 - Added aggregate_get * 1.12 - Added block_device_mapping_update_or_create * 1.13 - Added block_device_mapping_get_all_by_instance * 1.14 - Added block_device_mapping_destroy * 1.15 - Added instance_get_all_by_filters and instance_get_all_hung_in_rebooting and instance_get_active_by_window Deprecated instance_get_all_by_host * 1.16 - Added instance_destroy * 1.17 - Added instance_info_cache_delete * 1.18 - Added instance_type_get * 1.19 - Added vol_get_usage_by_time and vol_usage_update * 1.20 - Added migration_get_unconfirmed_by_dest_compute * 1.21 - Added service_get_all_by * 1.22 - Added ping * 1.23 - Added instance_get_all Un-Deprecate instance_get_all_by_host * 1.24 - Added instance_get * 1.25 - Added action_event_start and action_event_finish * 1.26 - Added instance_info_cache_update * 1.27 - Added service_create * 1.28 - Added binary arg to service_get_all_by * 1.29 - Added service_destroy * 1.30 - Added migration_create * 1.31 - Added migration_get_in_progress_by_host_and_node * 1.32 - Added optional node to instance_get_all_by_host * 1.33 - Added compute_node_create and compute_node_update * 1.34 - Added service_update * 1.35 - Added instance_get_active_by_window_joined * 1.36 - Added instance_fault_create * 1.37 - Added task_log_get, task_log_begin_task, task_log_end_task * 1.38 - Added service name to instance_update * 1.39 - Added notify_usage_exists * 1.40 - Added security_groups_trigger_handler and security_groups_trigger_members_refresh Remove instance_get_active_by_window * 1.41 - Added fixed_ip_get_by_instance, network_get, instance_floating_address_get_all, quota_commit, quota_rollback * 1.42 - Added get_ec2_ids, aggregate_metadata_get_by_host * 1.43 - Added compute_stop * 1.44 - Added compute_node_delete * 1.45 - Added project_id to quota_commit and quota_rollback * 1.46 - Added compute_confirm_resize * 1.47 - Added columns_to_join to instance_get_all_by_host and instance_get_all_by_filters * 1.48 - Added compute_unrescue ... Grizzly supports message version 1.48. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 1.48. * 1.49 - Added columns_to_join to instance_get_by_uuid * 1.50 - Added object_action() and object_class_action() * 1.51 - Added the 'legacy' argument to block_device_mapping_get_all_by_instance * 1.52 - Pass instance objects for compute_confirm_resize * 1.53 - Added compute_reboot * 1.54 - Added 'update_cells' argument to bw_usage_update * 1.55 - Pass instance objects for compute_stop * 1.56 - Remove compute_confirm_resize and migration_get_unconfirmed_by_dest_compute * 1.57 - Remove migration_create() * 1.58 - Remove migration_get() ... Havana supports message version 1.58. So, any changes to existing methods in 1.x after that point should be done such that they can handle the version_cap being set to 1.58. * 1.59 - Remove instance_info_cache_update() * 1.60 - Remove aggregate_metadata_add() and aggregate_metadata_delete() * ... - Remove security_group_get_by_instance() and security_group_rule_get_by_security_group() * 1.61 - Return deleted instance from instance_destroy() * 1.62 - Added object_backport() * 1.63 - Changed the format of values['stats'] from a dict to a JSON string in compute_node_update() * 1.64 - Added use_slave to instance_get_all_filters() - Remove instance_type_get() - Remove aggregate_get() - Remove aggregate_get_by_host() - Remove instance_get() - Remove migration_update() - Remove block_device_mapping_destroy() * 2.0 - Drop backwards compatibility - Remove quota_rollback() and quota_commit() - Remove aggregate_host_add() and aggregate_host_delete() - Remove network_migrate_instance_start() and network_migrate_instance_finish() - Remove vol_get_usage_by_time ... Icehouse supports message version 2.0. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 2.0. * Remove instance_destroy() * Remove compute_unrescue() * Remove instance_get_all_by_filters() * Remove instance_get_active_by_window_joined() * Remove instance_fault_create() * Remove action_event_start() and action_event_finish() * Remove instance_get_by_uuid() * Remove agent_build_get_by_triple() ... Juno supports message version 2.0. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 2.0. * 2.1 - Make notify_usage_exists() take an instance object * Remove bw_usage_update() * Remove notify_usage_exists() ... Kilo supports message version 2.1. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 2.1. * Remove get_ec2_ids() * Remove service_get_all_by() * Remove service_create() * Remove service_destroy() * Remove service_update() * Remove migration_get_in_progress_by_host_and_node() * Remove aggregate_metadata_get_by_host() * Remove block_device_mapping_update_or_create() * Remove block_device_mapping_get_all_by_instance() * Remove instance_get_all_by_host() * Remove compute_node_update() * Remove compute_node_delete() * Remove security_groups_trigger_handler() * Remove task_log_get() * Remove task_log_begin_task() * Remove task_log_end_task() * Remove security_groups_trigger_members_refresh() * Remove vol_usage_update() * Remove instance_update() * 2.2 - Add object_backport_versions() * 2.3 - Add object_class_action_versions() * Remove compute_node_create() * Remove object_backport() * 3.0 - Drop backwards compatibility ... Liberty supports message version 3.0. So, any changes to existing methods in 3.x after that point should be done such that they can handle the version_cap being set to 3.0. """ VERSION_ALIASES = { 'grizzly': '1.48', 'havana': '1.58', 'icehouse': '2.0', 'juno': '2.0', 'kilo': '2.1', 'liberty': '3.0', } def __init__(self): super(ConductorAPI, self).__init__() target = messaging.Target(topic=CONF.conductor.topic, version='3.0') version_cap = self.VERSION_ALIASES.get(CONF.upgrade_levels.conductor, CONF.upgrade_levels.conductor) serializer = objects_base.NovaObjectSerializer() self.client = rpc.get_client(target, version_cap=version_cap, serializer=serializer) def provider_fw_rule_get_all(self, context): cctxt = self.client.prepare() return cctxt.call(context, 'provider_fw_rule_get_all') # TODO(hanlind): This method can be removed once oslo.versionedobjects # has been converted to use version_manifests in remotable_classmethod # operations, which will use the new class action handler. def object_class_action(self, context, objname, objmethod, objver, args, kwargs): versions = ovo_base.obj_tree_get_versions(objname) return self.object_class_action_versions(context, objname, objmethod, versions, args, kwargs) def object_class_action_versions(self, context, objname, objmethod, object_versions, args, kwargs): cctxt = self.client.prepare() return cctxt.call(context, 'object_class_action_versions', objname=objname, objmethod=objmethod, object_versions=object_versions, args=args, kwargs=kwargs) def object_action(self, context, objinst, objmethod, args, kwargs): cctxt = self.client.prepare() return cctxt.call(context, 'object_action', objinst=objinst, objmethod=objmethod, args=args, kwargs=kwargs) def object_backport_versions(self, context, objinst, object_versions): cctxt = self.client.prepare() return cctxt.call(context, 'object_backport_versions', objinst=objinst, object_versions=object_versions) class ComputeTaskAPI(object): """Client side of the conductor 'compute' namespaced RPC API API version history: 1.0 - Initial version (empty). 1.1 - Added unified migrate_server call. 1.2 - Added build_instances 1.3 - Added unshelve_instance 1.4 - Added reservations to migrate_server. 1.5 - Added the leagacy_bdm parameter to build_instances 1.6 - Made migrate_server use instance objects 1.7 - Do not send block_device_mapping and legacy_bdm to build_instances 1.8 - Add rebuild_instance 1.9 - Converted requested_networks to NetworkRequestList object 1.10 - Made migrate_server() and build_instances() send flavor objects 1.11 - Added clean_shutdown to migrate_server() """ def __init__(self): super(ComputeTaskAPI, self).__init__() target = messaging.Target(topic=CONF.conductor.topic, namespace='compute_task', version='1.0') serializer = objects_base.NovaObjectSerializer() self.client = rpc.get_client(target, serializer=serializer) def migrate_server(self, context, instance, scheduler_hint, live, rebuild, flavor, block_migration, disk_over_commit, reservations=None, clean_shutdown=True): kw = {'instance': instance, 'scheduler_hint': scheduler_hint, 'live': live, 'rebuild': rebuild, 'flavor': flavor, 'block_migration': block_migration, 'disk_over_commit': disk_over_commit, 'reservations': reservations, 'clean_shutdown': clean_shutdown} version = '1.11' if not self.client.can_send_version(version): del kw['clean_shutdown'] version = '1.10' if not self.client.can_send_version(version): kw['flavor'] = objects_base.obj_to_primitive(flavor) version = '1.6' if not self.client.can_send_version(version): kw['instance'] = jsonutils.to_primitive( objects_base.obj_to_primitive(instance)) version = '1.4' cctxt = self.client.prepare(version=version) return cctxt.call(context, 'migrate_server', **kw) def build_instances(self, context, instances, image, filter_properties, admin_password, injected_files, requested_networks, security_groups, block_device_mapping, legacy_bdm=True): image_p = jsonutils.to_primitive(image) version = '1.10' if not self.client.can_send_version(version): version = '1.9' if 'instance_type' in filter_properties: flavor = filter_properties['instance_type'] flavor_p = objects_base.obj_to_primitive(flavor) filter_properties = dict(filter_properties, instance_type=flavor_p) kw = {'instances': instances, 'image': image_p, 'filter_properties': filter_properties, 'admin_password': admin_password, 'injected_files': injected_files, 'requested_networks': requested_networks, 'security_groups': security_groups} if not self.client.can_send_version(version): version = '1.8' kw['requested_networks'] = kw['requested_networks'].as_tuples() if not self.client.can_send_version('1.7'): version = '1.5' bdm_p = objects_base.obj_to_primitive(block_device_mapping) kw.update({'block_device_mapping': bdm_p, 'legacy_bdm': legacy_bdm}) cctxt = self.client.prepare(version=version) cctxt.cast(context, 'build_instances', **kw) def unshelve_instance(self, context, instance): cctxt = self.client.prepare(version='1.3') cctxt.cast(context, 'unshelve_instance', instance=instance) def rebuild_instance(self, ctxt, instance, new_pass, injected_files, image_ref, orig_image_ref, orig_sys_metadata, bdms, recreate=False, on_shared_storage=False, host=None, preserve_ephemeral=False, kwargs=None): cctxt = self.client.prepare(version='1.8') cctxt.cast(ctxt, 'rebuild_instance', instance=instance, new_pass=new_pass, injected_files=injected_files, image_ref=image_ref, orig_image_ref=orig_image_ref, orig_sys_metadata=orig_sys_metadata, bdms=bdms, recreate=recreate, on_shared_storage=on_shared_storage, preserve_ephemeral=preserve_ephemeral, host=host)
unknown
codeparrot/codeparrot-clean
package kotlinx.coroutines.test.internal import kotlinx.coroutines.* @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") // do not remove the INVISIBLE_REFERENCE suppression: required in K2 internal actual fun Dispatchers.getTestMainDispatcher(): TestMainDispatcher = when (val mainDispatcher = Main) { is TestMainDispatcher -> mainDispatcher else -> TestMainDispatcher(mainDispatcher).also { injectMain(it) } }
kotlin
github
https://github.com/Kotlin/kotlinx.coroutines
kotlinx-coroutines-test/js/src/internal/TestMainDispatcher.kt
<?php namespace Illuminate\Support; use InvalidArgumentException; use Ramsey\Uuid\Uuid; use Ramsey\Uuid\UuidInterface; use Symfony\Component\Uid\Ulid; class BinaryCodec { /** @var array<string, array{encode: callable(UuidInterface|Ulid|string|null): ?string, decode: callable(?string): ?string}> */ protected static array $customCodecs = []; /** * Register a custom codec. */ public static function register(string $name, callable $encode, callable $decode): void { self::$customCodecs[$name] = [ 'encode' => $encode, 'decode' => $decode, ]; } /** * Encode a value to binary. */ public static function encode(UuidInterface|Ulid|string|null $value, string $format): ?string { if (blank($value)) { return null; } if (isset(self::$customCodecs[$format])) { return (self::$customCodecs[$format]['encode'])($value); } return match ($format) { 'uuid' => match (true) { $value instanceof UuidInterface => $value->getBytes(), self::isBinary($value) => $value, default => Uuid::fromString($value)->getBytes(), }, 'ulid' => match (true) { $value instanceof Ulid => $value->toBinary(), self::isBinary($value) => $value, default => Ulid::fromString($value)->toBinary(), }, default => throw new InvalidArgumentException("Format [$format] is invalid."), }; } /** * Decode a binary value to string. */ public static function decode(?string $value, string $format): ?string { if (blank($value)) { return null; } if (isset(self::$customCodecs[$format])) { return (self::$customCodecs[$format]['decode'])($value); } return match ($format) { 'uuid' => (self::isBinary($value) ? Uuid::fromBytes($value) : Uuid::fromString($value))->toString(), 'ulid' => (self::isBinary($value) ? Ulid::fromBinary($value) : Ulid::fromString($value))->toString(), default => throw new InvalidArgumentException("Format [$format] is invalid."), }; } /** * Get all available format names. * * @return list<string> */ public static function formats(): array { return array_unique([...['uuid', 'ulid'], ...array_keys(self::$customCodecs)]); } /** * Determine if the given value is binary data. */ public static function isBinary(mixed $value): bool { if (! is_string($value) || $value === '') { return false; } if (str_contains($value, "\0")) { return true; } return ! mb_check_encoding($value, 'UTF-8'); } }
php
github
https://github.com/laravel/framework
src/Illuminate/Support/BinaryCodec.php
# Calculate level completion rates via mixpanel export API # TODO: why are our 'time' fields in PST time? targetLevels = ['dungeons-of-kithgard', 'the-raised-sword', 'endangered-burl'] eventFunnel = ['Started Level', 'Saw Victory'] import sys from datetime import datetime, timedelta from mixpanel import Mixpanel try: import json except ImportError: import simplejson as json # NOTE: mixpanel dates are by day and inclusive # E.g. '2014-12-08' is any date that day, up to 2014-12-09 12am if __name__ == '__main__': if not len(sys.argv) is 3: print "Script format: <script> <api_key> <api_secret>" else: scriptStart = datetime.now() api_key = sys.argv[1] api_secret = sys.argv[2] api = Mixpanel( api_key = api_key, api_secret = api_secret ) # startDate = '2015-01-11' # endDate = '2015-01-17' startDate = '2015-01-23' endDate = '2015-01-23' # endDate = '2015-01-28' startEvent = eventFunnel[0] endEvent = eventFunnel[-1] print("Requesting data for {0} to {1}".format(startDate, endDate)) data = api.request(['export'], { 'event' : eventFunnel, 'from_date' : startDate, 'to_date' : endDate }) # Map ordering: level, user, event, day userDataMap = {} lines = data.split('\n') print "Received %d entries" % len(lines) for line in lines: try: if len(line) is 0: continue eventData = json.loads(line) eventName = eventData['event'] if not eventName in eventFunnel: print 'Unexpected event ' + eventName break if not 'properties' in eventData: continue properties = eventData['properties'] if not 'distinct_id' in properties: continue user = properties['distinct_id'] if not 'time' in properties: continue time = properties['time'] pst = datetime.fromtimestamp(int(properties['time'])) utc = pst + timedelta(0, 8 * 60 * 60) dateCreated = utc.isoformat() day = dateCreated[0:10] if day < startDate or day > endDate: print "Skipping {0}".format(day) continue if 'levelID' in properties: level = properties['levelID'] elif 'level' in properties: level = properties['level'].lower().replace(' ', '-') else: print("Unkonwn level for", eventName) print(properties) break if not level in targetLevels: continue # print level if not level in userDataMap: userDataMap[level] = {} if not user in userDataMap[level]: userDataMap[level][user] = {} if not eventName in userDataMap[level][user] or userDataMap[level][user][eventName] > day: userDataMap[level][user][eventName] = day except: print "Unexpected error:", sys.exc_info()[0] print line break # print(userDataMap) levelFunnelData = {} for level in userDataMap: for user in userDataMap[level]: funnelStartDay = None for event in userDataMap[level][user]: day = userDataMap[level][user][event] if not level in levelFunnelData: levelFunnelData[level] = {} if not day in levelFunnelData[level]: levelFunnelData[level][day] = {} if not event in levelFunnelData[level][day]: levelFunnelData[level][day][event] = 0 if eventFunnel[0] == event: levelFunnelData[level][day][event] += 1 funnelStartDay = day break if funnelStartDay: for event in userDataMap[level][user]: if not event in levelFunnelData[level][funnelStartDay]: levelFunnelData[level][funnelStartDay][event] = 0 if not eventFunnel[0] == event: levelFunnelData[level][funnelStartDay][event] += 1 for i in range(1, len(eventFunnel)): event = eventFunnel[i] if not event in levelFunnelData[level][funnelStartDay]: levelFunnelData[level][funnelStartDay][event] = 0 # print(levelFunnelData) totals = {} for level in levelFunnelData: for day in levelFunnelData[level]: if startEvent in levelFunnelData[level][day]: started = levelFunnelData[level][day][startEvent] else: started = 0 if endEvent in levelFunnelData[level][day]: finished = levelFunnelData[level][day][endEvent] else: finished = 0 if not level in totals: totals[level] = {} if not startEvent in totals[level]: totals[level][startEvent] = 0 if not endEvent in totals[level]: totals[level][endEvent] = 0 totals[level][startEvent] += started totals[level][endEvent] += finished if started > 0: print("{0}\t{1}\t{2}\t{3}\t{4}%".format(level, day, started, finished, float(finished) / started * 100)) else: print("{0}\t{1}\t{2}\t{3}\t".format(level, day, started, finished)) for level in totals: started = totals[level][startEvent] finished = totals[level][endEvent] if started > 0: print("{0}\t{1}\t{2}\t{3}%".format(level, started, finished, float(finished) / started * 100)) else: print("{0}\t{1}\t{2}\t".format(level, started, finished)) print("Script runtime: {0}".format(datetime.now() - scriptStart))
unknown
codeparrot/codeparrot-clean
W = [753, 607, 59, 501, 1283, 61, 898, 325, 508, 142, 298, 542, 42, 38, 252, 46, 92, 81, 85, 590, 239, 40, 44, 5200, 1403, 170, 34, 77, 52, 304, 120, 37, 42, 902, 125, 13, 98, 135, 30, 18, 12, 91, 460, 335, 12, 19, 12, 206, 17, 12, 13, 20, 12, 14, 11, 31, 10, 15, 10, 12, 545, 66, 11, 12, 10, 11, 12, 32, 10, 446, 30, 27, 12, 104, 29, 33, 12, 60, 58, 29, 11, 13, 87, 94, 448, 32, 11, 12, 11, 16, 178, 484, 561, 16, 26, 890, 24, 444, 23, 86, 11, 13, 10, 10, 10, 13, 20, 11, 15, 32, 12, 26, 15, 442, 11, 16, 36, 10, 462, 13, 16, 29, 29, 93, 11, 34, 12, 79, 32, 12, 18, 32, 12, 31, 34, 18, 12, 35, 13, 17, 891, 444, 453, 18, 526, 72, 26, 76, 14, 18, 21, 61, 11, 17, 60, 955, 14, 37, 46, 29, 10, 34, 40, 174, 11, 18, 454, 15, 12, 13, 10, 11, 11, 12, 62, 442, 106, 17, 17, 19, 454, 448, 12, 455, 12, 12, 88, 13, 35, 17, 11, 12, 11, 11, 11, 42, 51, 10, 14, 61, 43, 12, 109, 17, 19, 10, 94, 32, 100, 18, 19, 52, 220, 20, 14, 12, 11, 16, 28, 442, 41, 444, 12, 19, 10, 12, 37, 12, 285, 20, 24, 18, 13, 11, 10, 30, 42, 13, 12, 28, 67, 21, 14, 25, 37, 11, 12, 17, 12, 199, 10, 16, 33, 13, 17, 17, 32, 31, 41, 60, 49, 78, 38, 23, 33, 444, 10, 13, 12, 16, 29, 36, 174, 73, 43, 17, 11, 136, 11, 20, 52, 12, 13, 10, 12, 42, 129, 75, 24, 16, 12, 17, 471, 31, 25, 11, 17, 20, 32, 27, 17, 15, 28, 12, 11, 11, 47, 14, 72, 10, 93, 12, 44, 442, 355, 18, 33, 124, 44, 32, 11, 22, 18, 30, 17, 442, 45, 67, 10, 442, 23, 114, 15, 42, 59, 65, 63, 26, 14, 11, 11, 15, 18, 41, 25, 12, 13, 13, 11, 12, 24, 29, 14, 18, 13, 17, 15, 25, 14, 132, 48, 60, 17, 77, 163, 61, 43, 11, 447, 22, 46, 10, 27, 30, 26, 53, 41, 17, 451, 10, 10, 18, 30, 13, 139, 72, 19, 29, 44, 23, 11, 11, 15, 248, 26, 14, 31, 10, 11, 22, 157, 11, 10, 29, 10, 100, 18, 12, 27, 51, 22, 21, 15, 12, 11, 16, 11, 12, 15, 23, 59, 23, 14, 81, 16, 10, 10, 10, 11, 15, 59, 31, 31, 152, 30, 30, 30, 28, 18, 37, 19, 11, 31, 56, 31, 14, 10, 13, 36, 16, 11, 11, 15, 11, 10, 10, 10, 13, 17, 12, 12, 42, 23, 24, 26, 128, 14, 10, 57, 348, 10, 13, 20, 10, 11, 10, 12, 11, 18, 13, 13, 31, 10, 10, 31, 112, 135, 34, 12, 27, 12, 29, 64, 20, 11, 16, 28, 21, 14, 12, 19, 18, 10, 11, 18, 174, 10, 20, 1485, 10, 10, 26, 49, 127, 11, 15, 135, 14, 10, 11, 25, 11, 10, 10, 29, 19, 10, 20, 10, 11, 12, 21, 21, 10, 23, 17, 14, 23, 19, 41, 13, 11, 19, 11, 18, 13, 40, 10, 14, 10, 11, 16, 16, 443, 11, 15, 15, 34, 10, 12, 23, 12, 14, 10, 24, 25, 10, 16, 15, 11, 14, 12, 13, 15, 12, 12, 11, 11, 11, 10, 13, 21, 19, 12, 73, 170, 18, 16, 39, 11, 13, 12, 16, 10, 12, 34, 12, 16, 73, 29, 17, 10, 10, 13, 11, 10, 18, 11, 12, 44, 11, 10, 10, 19, 18, 14, 24, 22, 10, 20, 23, 20, 15, 11, 11, 14, 15, 12, 13, 12, 13, 10, 11, 30, 10, 11, 16, 12, 14, 12, 10, 30, 19, 148, 32, 23, 44, 31, 12, 10, 128, 15, 10, 26, 12, 11, 10, 15, 1918, 22, 11, 10, 17, 20, 30, 15, 10, 23, 13, 12, 10, 10, 25, 11, 89, 12, 11, 11, 45, 41, 14, 14, 13, 15, 28, 446, 13, 22, 13, 49, 133, 30, 10, 29, 12, 11, 16, 10, 22, 53, 91, 11, 18, 48, 13, 13, 28, 10, 43, 11, 10, 17, 126, 466, 32, 11, 103, 177, 16, 40, 16, 42, 13, 311, 54, 83, 12, 186, 912, 39, 107, 166, 28, 122, 323, 124, 12, 20, 16, 30, 21, 37, 11, 10, 13, 28, 10, 39, 284, 72, 147, 33, 69, 2060, 13, 16, 30, 615, 35, 68, 10, 14, 754, 29, 49, 43, 48, 14, 39, 221, 31, 10, 20, 17, 20, 31, 32, 95, 11, 55, 23, 222, 48, 10, 205, 17, 932, 49, 16, 30, 34, 1375, 299, 21, 12, 42, 22, 53, 33, 47, 57, 24, 106, 12, 17, 11, 157, 16, 11, 72, 72, 64, 16, 26, 11, 105, 96, 72, 10, 10, 11, 18, 16, 25, 73, 14, 24, 14, 24, 80, 12, 17, 14, 10, 14, 14, 11, 11, 34, 10, 44, 10, 16, 21, 12, 122, 13, 44, 39, 12, 25, 10, 10, 14, 267, 24, 35, 16, 19, 107, 306, 16, 65, 14, 1704, 23, 61, 11, 87, 251, 12, 470, 14, 1022, 72, 13, 19, 19, 45, 66, 30, 22, 12, 97, 25, 11, 11, 13, 11, 43, 18, 11, 12, 30, 24, 36, 80, 129, 12, 11, 13, 18, 11, 16, 36, 112, 16, 16, 15, 129, 13549, 117, 10, 18, 10, 13, 11, 13, 22, 12, 80, 347, 62, 102, 212, 1041, 372, 252, 552, 353, 62, 772, 78, 126, 73, 303, 22, 16, 114, 424, 23, 1955, 25, 10, 132, 1524, 13, 37, 28, 18, 50, 100, 79, 41, 42, 208, 27, 137, 65, 12, 23, 12, 44, 16, 27, 319, 22, 45, 42, 39, 145, 89, 153, 60, 89, 17, 493, 11, 126, 16, 181, 12, 84, 40, 146, 64, 43, 55, 71, 45, 125, 10, 17, 189, 73, 15, 67, 702, 438, 315, 89, 110, 10, 121, 57, 55, 11, 519, 31, 103, 15, 185, 51, 24, 17, 205, 35, 49, 263, 14, 594, 30, 88, 96, 53, 246, 14, 11, 77, 17, 12, 15, 58, 13, 12, 15, 30, 30, 30, 12, 26, 41, 243, 13, 11, 15, 11, 14, 23, 14, 12, 22, 11, 39, 16, 19, 69, 69, 250, 32, 20, 10, 388, 164, 201, 10, 66, 12, 134, 11, 442, 14, 11, 10, 10, 53, 972, 10, 56, 10, 75, 62, 26, 30, 26, 14, 10, 70, 19, 200, 10, 30, 12, 23, 12, 29, 21, 12, 12, 104, 15, 442, 11, 37, 146, 12, 10, 37, 593, 15, 10, 34, 43, 11, 11, 17, 237, 17, 10, 100, 22, 12, 42, 11, 10, 37, 464, 165, 56, 20, 33, 11, 13, 14, 18, 13, 58, 75, 23, 285, 18, 44, 10, 55, 37, 1259, 23, 82, 1086, 113, 75, 91, 11, 46, 16, 14, 11, 13, 479, 36, 18, 14, 293, 13, 14, 15, 22, 64, 75, 114, 22, 35, 15, 683, 19, 13, 75, 126, 12, 14, 10, 10, 422, 11, 12, 39, 14, 17, 230, 17, 10, 46, 41, 12, 23, 10, 20, 19, 587, 38, 55, 24, 43, 16, 18, 23, 24, 21, 22, 44, 10, 15, 77, 16, 61, 21, 19, 10, 15, 19, 10, 453, 24, 36, 39, 10, 60, 10, 30, 17, 10, 60, 10, 14, 12, 39, 29, 22, 24, 13, 126, 24, 40, 63, 13, 184, 21, 12, 50, 10, 52, 15, 20, 21, 245, 10, 10, 12, 109, 17, 24, 41, 15, 14, 10, 10, 15, 442, 54, 18, 92, 94, 442, 19, 31, 12, 15, 11, 28, 76, 33, 18, 11, 33, 452, 13, 55, 22, 16, 55, 441, 94, 441, 15, 13, 39, 12, 29, 17, 12, 12, 13, 10, 35, 11, 548, 546, 248, 100, 15, 214, 184, 48, 61, 322, 11, 76, 13, 44, 137, 33, 261, 37, 35, 10, 20, 10, 35, 48, 41, 100, 56, 104, 63, 109, 148, 39, 118, 43, 30, 11, 30, 28, 185, 13, 447, 41, 152, 10, 64, 94, 436, 85, 15, 13, 604, 34, 20, 27, 69, 36, 12, 16, 27, 825, 493, 81, 97, 1032, 72, 24, 20, 12, 561, 43, 81, 10, 72, 11, 27, 13, 100, 292, 23, 567, 14, 119, 51, 10, 256, 45, 36, 24, 25, 136, 10, 27, 24, 1086, 142, 361, 14, 12, 47, 270, 52, 46, 13, 21, 10, 53, 31, 10, 38, 19, 41, 12, 187, 17, 11, 122, 12, 13, 15, 94, 12, 51, 52, 115, 47, 12, 17, 1091, 127, 12, 21, 10, 15, 11, 68, 16, 153, 13, 24, 138, 32, 14, 27, 25, 20, 28, 24, 26, 10, 27, 14, 44, 20, 10, 16, 40, 13, 37, 73, 285, 13, 86, 65, 13, 110, 362, 10, 155, 11, 15, 11, 80, 82, 98, 76, 360, 13, 47, 18, 50, 25, 10, 19, 18, 241, 11, 12, 27, 10, 156, 11, 26, 11, 14, 50, 69, 28, 67, 25, 550, 18, 10, 10, 32, 10, 16, 11, 33, 66, 30, 10, 124, 384, 11, 22, 66, 44, 94, 83, 51, 374, 10, 459, 43, 40, 47, 33, 15, 11, 19, 11, 11, 31, 33, 28, 53, 28, 10, 26, 12, 29, 11, 18, 26, 51, 785, 24, 12, 10, 66, 23, 19, 12, 12, 14, 16, 27, 14, 51, 11, 42, 11, 51, 23, 78, 26, 28, 20, 14, 10, 31, 11, 74, 78, 497, 128, 10, 298, 78, 553, 189, 172, 36, 155, 28, 16, 18, 138, 21, 103, 10, 1380, 97, 44, 214, 35, 62, 190, 10, 135, 148, 68, 45, 19, 14, 10, 10, 168, 14, 17, 26, 56, 160, 37, 75, 473, 135, 22, 500, 11, 135, 71, 25, 38, 24, 12, 256, 41, 18, 17, 15, 158, 77, 16, 667, 241, 239, 11, 50, 236, 25, 179, 225, 17, 10, 14, 19, 14, 11, 43, 103, 35, 16, 75, 15, 99, 404, 36, 117, 88, 25, 799, 32, 14, 181, 57, 88, 11, 12, 27, 592, 4084, 539, 472, 26, 77, 27, 84, 57, 22, 107, 35, 174, 12, 22, 15, 13, 30, 10, 10, 64, 104, 11, 35, 174, 92, 86, 30, 13, 12, 15, 13, 11, 12, 442, 16, 30, 13, 11, 1030, 159, 10, 33, 12, 24, 261, 19, 10, 18, 11, 13, 18, 13, 26, 17, 27, 14, 11, 53, 46, 23, 15, 10, 16, 72, 31, 538, 98, 36, 261, 184, 368, 16, 42, 29, 128, 66, 101, 602, 14, 28, 10, 22, 18, 155, 21, 78, 10, 12, 16, 309, 63, 19, 58, 375, 19, 21, 21, 72, 36, 36, 96, 375, 445, 11, 136, 148, 1126, 62, 105, 452, 757, 111, 103, 12, 23, 12, 11, 10, 11, 285, 12, 111, 73, 263, 95, 235, 23, 55, 47, 79, 19, 21, 11, 12, 10, 60, 103, 44, 19, 72, 292, 161, 75, 52, 48, 154, 149, 85, 60, 10, 383, 10, 22, 13, 28, 21, 15, 108, 27, 17, 108, 71, 19, 17, 520, 54, 12, 63, 309, 50, 16, 20, 14, 11, 17, 18, 26, 12, 11, 16, 21, 88, 23, 12, 17, 11, 13, 30, 148, 17, 16, 92, 24, 11, 11, 22, 74, 55, 21, 11, 10, 14, 10, 30, 474, 12, 16, 28, 14, 25, 30, 41, 19, 15, 15, 11, 24, 25, 105, 83, 54, 58, 43, 109, 26, 763, 69, 74, 43, 21, 22, 10, 90, 18, 14, 99, 344, 92, 20, 12, 19, 106, 18, 16, 189, 60, 264, 12, 12, 64, 16, 14, 496, 56, 134, 67, 109, 21, 173, 67, 32, 33, 105, 129, 50, 13, 45, 20, 31, 417, 16, 88, 11, 20, 21, 14, 11, 41, 582, 41, 15, 31, 18, 16, 248, 34, 156, 13, 34, 72, 24, 17, 71, 28, 10, 24, 12, 11, 365, 41, 207, 13, 13, 40, 130, 17, 122, 44, 16, 22, 53, 11, 20, 18, 50, 1883, 144, 120, 23, 128, 40, 103, 46, 86, 11, 31, 14, 11, 11, 82, 26, 485, 33, 72, 10, 14, 32, 39, 26, 11, 31, 71, 17, 22, 26, 11, 19, 181, 24, 12, 10, 43, 101, 13, 125, 13, 20, 33, 88, 20, 17, 11, 30, 33, 27, 29, 59, 11, 15, 21, 246, 129, 20, 61, 23, 14, 10, 34, 49, 38, 10, 22, 11, 12, 10, 16, 10, 65, 10, 20, 82, 120, 27, 161, 25, 125, 177, 12, 123, 37, 58, 55, 16, 95, 75, 77, 301, 27, 68, 11, 110, 271, 109, 59, 12, 10, 31, 42, 169, 54, 58, 51, 11, 238, 25, 153, 12, 1348, 144, 76, 16, 11, 19, 28, 15, 132, 41, 307, 89, 73, 142, 65, 13, 34, 33, 13, 28, 14, 52, 46, 15, 28, 56, 801, 45, 123, 25, 15, 12, 188, 35, 32, 22, 31, 50, 32, 47, 12, 11, 35, 24, 34, 15, 48, 97, 60, 112, 71, 38, 96, 26, 35, 38, 17, 13, 16, 70, 53, 12, 43, 14, 10, 27, 19, 12, 19, 37, 14, 28, 13, 33, 17, 11, 12, 56, 12, 17, 39, 14, 30, 24, 447, 11, 32, 11, 16, 10, 92, 25, 23, 46, 26, 12, 10, 13, 16, 14, 19, 14, 10, 50, 27, 14, 12, 40, 12, 30, 16, 10, 16, 22, 30, 17, 16, 10, 11, 16, 43, 18, 92, 172, 13, 15, 73, 20, 20, 101, 45, 76, 41, 634, 16, 77, 19, 13, 24, 126, 207, 348, 261, 27, 1476, 43, 35, 289, 11, 11, 41, 27, 18, 83, 44, 227, 12, 89, 2743, 352, 49, 20, 17, 11, 15, 1469, 19, 27, 25, 43, 15, 261, 974, 96, 202, 94, 299, 171, 17, 319, 44, 10, 133, 16, 33, 24, 13, 11, 111, 60, 2571, 172, 11, 83, 49, 26, 15, 15, 79, 14, 878, 136, 60, 20, 21, 61, 40, 260, 45, 64, 15, 15, 26, 61, 10, 12, 10, 143, 10, 16, 190, 13, 92, 83, 10, 290, 949, 13, 29, 27, 25, 12, 58, 69, 10, 189, 16, 10, 89, 82, 10, 15, 12, 17, 59, 13, 47, 267, 274, 25, 29, 14, 13, 31, 12, 13, 22, 26, 16, 21, 73, 28, 10, 18, 12, 11, 67, 12, 15, 18, 14, 29, 325, 24, 30, 28, 10, 16, 12, 26, 12, 76, 12, 21, 23, 997, 56, 42, 73, 14, 11, 65, 16, 28, 32, 1609, 89, 275, 36, 13, 181, 135, 156, 133, 51, 21, 10, 40, 90, 376, 11, 41, 19, 89, 58, 77, 27, 106, 11, 654, 20, 60, 552, 102, 44, 106, 13, 14, 55, 28, 176, 72, 12, 17, 13, 47, 27, 19, 11, 50, 63, 13, 13, 16, 11, 11, 32, 17, 39, 11, 15, 90, 72, 10, 10, 91, 27, 51, 41, 43, 54, 6154, 76, 14, 15, 32, 60, 11, 11, 10, 11, 55, 17, 68, 204, 26, 49, 89, 93, 11, 33, 11, 72, 29, 14, 41, 15, 12, 12, 17, 17, 15, 498, 10, 12, 22, 22, 26, 14, 26, 12, 13, 237, 11, 19, 30, 13, 11, 10, 13, 111, 12, 12, 55, 20, 45, 11, 11, 11, 16, 16, 31, 691, 15, 12, 22, 17, 28, 21, 32, 11, 12, 33, 32, 71, 174, 11, 14, 20, 13, 13, 18, 17, 11, 11, 12, 14, 212, 11, 10, 11, 27, 12, 45, 11, 26, 16, 15, 14, 987, 18, 19, 15, 10, 16, 33, 29, 115, 16, 10, 17, 15, 16, 20, 28, 132, 16, 16, 26, 17, 21, 12, 13, 42, 19, 17, 13, 18, 10, 14, 45, 21, 20, 10, 24, 442, 16, 11, 14, 20, 20, 12, 14, 25, 24, 130, 260, 11, 52, 44, 12, 16, 10, 13, 17, 12, 13, 10, 32, 18, 12, 10, 14, 12, 45, 10, 10, 18, 22, 135, 62, 12, 20, 10, 23, 25, 120, 29, 14, 24, 17, 11, 18, 19, 11, 75, 45, 16, 23, 13, 22, 14, 16, 30, 42, 13, 12, 10, 12, 40, 42, 991, 11, 12, 15, 27, 59, 25, 10, 17, 39, 14, 75, 805, 10, 13, 471, 29, 10, 10, 13, 123, 10, 15, 174, 12, 104, 43, 11, 16, 94, 471, 14, 30, 18, 136, 31, 11, 55, 10, 11, 10, 29, 68, 54, 10, 15, 154, 125, 10, 118, 24, 52, 16, 43, 68, 33, 19, 29, 10, 64, 16, 32, 10, 63, 11, 11, 24, 13, 12, 10, 123, 24, 31, 17, 13, 60, 16, 899, 38, 30, 13, 275, 15, 10, 12, 17, 218, 26, 65, 4030, 76, 24, 11, 43, 10, 11, 10, 10, 30, 11, 10, 10, 15, 15, 110, 458, 22, 24, 24, 19, 21, 38, 42, 15, 18, 36, 14, 41, 10, 20, 44, 30, 11, 72, 57, 27, 103, 18, 106, 81, 59, 180, 13, 10, 17, 155, 13, 71, 178, 15, 470, 11, 10, 16, 12, 13, 16, 90, 10, 215, 674, 34, 34, 83, 72, 10, 11, 13, 74, 90, 21, 16, 226, 13, 12, 32, 2413, 76, 91, 13, 256, 13, 37, 30, 36, 14, 10, 40, 255, 37, 35, 11, 44, 20, 185, 87, 35, 10, 101, 74, 149, 15, 83, 20, 19, 10, 33, 90, 119, 22, 10, 90, 12, 90, 150, 19, 111, 36, 94, 101, 92, 18, 12, 16, 22, 12, 24, 74, 17, 10, 15, 513, 10, 131, 25, 12, 16, 40, 26, 21, 24, 11, 32, 57, 15, 10, 35, 13, 24, 28, 12, 28, 98, 17, 15, 55, 39, 111, 80, 74, 24, 42, 11, 55, 27, 10, 10, 431, 46, 342, 465, 50, 1963, 336, 14, 20, 11, 10, 27, 41, 25, 48, 11, 168, 13, 46, 117, 33, 425, 17, 27, 37, 73, 17, 22, 20, 464, 72, 333, 10, 101, 20, 78, 236, 169, 137, 24, 619, 15, 28, 45, 12, 37, 25, 55, 14, 79, 14, 13, 105, 12, 21, 25, 73, 57, 176, 79, 25, 71, 18, 25, 73, 166, 51, 10, 76, 12, 10, 46, 129, 22, 22, 15, 12, 77, 16, 16, 37, 15, 64, 66, 10, 50, 39, 20, 10, 10, 11, 45, 36, 10, 19, 13, 10, 12, 15, 14, 10, 28, 60, 19, 47, 122, 14, 29, 10, 19, 12, 27, 151, 13, 11, 20, 24, 21, 75, 67, 10, 15, 11, 28, 15, 12, 125, 45, 10, 18, 13, 10, 12, 12, 71, 10, 44, 22, 16, 12, 12, 25, 11, 11, 10, 10, 11, 31, 10, 12, 17, 16, 14, 23, 53, 13, 100, 92, 290, 75, 92, 10, 67, 12, 287, 564, 13, 74, 10, 12, 40, 29, 520, 88, 10, 444, 12, 104, 40, 12, 175, 348, 39, 294, 39, 15, 51, 11, 15, 318, 36, 14, 15, 346, 77, 38, 10, 36, 357, 15, 183, 39, 802, 10, 36, 21, 122, 108, 23, 43, 47, 11, 13, 22, 10, 84, 13, 14, 29, 379, 66, 11, 49, 47, 37, 12, 16, 57, 20, 11, 19, 1320, 17, 12, 97, 44, 14, 76, 42, 36, 18, 35, 15, 40, 13, 12, 17, 47, 11, 12, 10, 74, 16, 21, 12, 365, 242, 12, 28, 12, 23, 11, 20, 873, 18, 12, 10, 14, 17, 39, 12, 12, 10, 11, 12, 37, 29, 458, 433, 28, 15, 21, 15, 108, 75, 13, 112, 17, 26, 27, 11, 15, 36, 13, 25, 10, 55, 443, 19, 33, 17, 12, 279, 17, 31, 18, 25, 97, 33, 19, 252, 187, 44, 41, 132, 201, 193, 62, 78, 24, 37, 80, 20, 13, 25, 23, 80, 174, 49, 102, 60, 25, 11, 16, 300, 295, 183, 64, 23, 30, 22, 105, 10, 77, 120, 39, 19, 23, 60, 15, 10, 304, 109, 27, 11, 152, 14, 41, 52, 12, 12, 12, 10, 28, 12, 30, 13, 118, 10, 20, 16, 12, 179, 20, 125, 11, 10, 144, 130, 83, 132, 16, 18, 61, 41, 1311, 11, 51, 630, 13, 350, 87, 32, 31, 35, 34, 46, 119, 12, 22, 26, 123, 49, 10, 77, 13, 50, 88, 25, 166, 39, 10, 42, 71, 11, 14, 50, 12, 22, 48, 19, 89, 150, 10, 66, 50, 44, 18, 16, 104, 82, 31, 11, 25, 30, 11, 77, 68, 101, 31, 132, 25, 86, 24, 73, 42, 17, 34, 12, 11, 13, 11, 76, 12, 67, 36, 11, 27, 34, 25, 23, 28, 64, 58, 11, 70, 103, 11, 24, 137, 27, 21, 95, 15, 40, 91, 29, 442, 11, 11, 11, 13, 11, 201, 93, 164, 73, 12, 63, 20, 12, 68, 10, 10, 30, 71, 71, 22, 11, 21, 24, 47, 10, 442, 51, 69, 11, 43, 18, 10, 23, 20, 36, 48, 40, 11, 10, 12, 119, 12, 31, 397, 82, 1700, 124, 191, 457, 37, 59, 49, 151, 27, 10, 251, 43, 226, 21, 11, 56, 46, 132, 23, 32, 14, 1129, 1284, 39, 1766, 107, 485, 107, 61, 16, 78, 31, 11, 13, 25, 20, 542, 50, 487, 412, 131, 49, 100, 139, 240, 189, 71, 168, 15, 247, 160, 146, 31, 31, 13, 48, 17, 11, 1564, 12, 26, 70, 5858, 85, 58, 73, 21, 25, 22, 18, 55, 14, 10, 308, 116, 72, 70, 279, 10, 42, 63, 12, 11, 84, 30, 104, 61, 27, 53, 11, 73, 32, 58, 169, 13, 12, 19, 11, 14, 10, 14, 739, 701, 390, 12, 10, 10, 18, 23, 50, 15, 16, 22, 18, 34, 14, 12, 18, 12, 11, 12, 13, 14, 24, 11, 11, 34, 39, 15, 28, 25, 10, 31, 16, 12, 13, 21, 13, 12, 73, 11, 11, 85, 240, 11, 142, 24, 10, 12, 10, 34, 28, 20, 10, 35, 11, 12, 12, 73, 149, 12, 23, 11, 26, 15, 32, 20, 37, 441, 25, 16, 33, 12, 19, 24, 20, 12, 12, 13, 12, 49, 18, 18, 22, 10, 10, 151, 24, 12, 18, 10, 11, 19, 12, 142, 12, 16, 12, 10, 12, 23, 43, 20, 10, 12, 11, 13, 25, 15, 11, 11, 14, 174, 11, 14, 12, 76, 88, 13, 18, 13, 35, 11, 10, 13, 22, 32, 16, 32, 12, 16, 11, 12, 14, 11, 14, 11, 17, 31, 12, 16, 10, 14, 22, 12, 25, 71, 14, 13, 10, 10, 11, 15, 14, 27, 40, 45, 16, 12, 15, 14, 442, 16, 11, 17, 10, 154, 49, 25, 12, 133, 10, 18, 17, 137, 15, 16, 21, 13, 16, 10, 10, 15, 16, 10, 11, 14, 16, 16, 32, 38, 13, 11, 26, 12, 11, 15, 14, 22, 68, 21, 41, 94, 31, 21, 231, 84, 20, 31, 23, 84, 39, 104, 15, 73, 25, 160, 10, 28, 25, 66, 55, 47, 20, 180, 27, 108, 103, 28, 661, 62, 80, 65, 780, 46275, 19, 16680, 25, 232, 41, 13, 15, 10, 17, 10, 18, 175, 220, 15, 470, 152, 39, 15, 24, 155, 45, 12, 21, 56, 76, 96, 10, 10, 90, 121, 17, 51, 21, 11, 20, 12, 191, 12, 53, 12, 16, 91, 20, 17, 18, 127, 566, 85, 11, 124, 12, 21, 36, 42, 24, 1858, 19, 18, 33, 63, 35, 121, 50, 11, 342, 149, 12, 47, 78, 10, 18, 92, 187, 39, 21, 21, 15, 14, 148, 38, 16, 16, 10, 66, 11, 207, 35, 145, 142, 142, 11, 91, 19, 15, 76, 11, 311, 12, 46, 10, 57, 15, 13, 69, 10, 11, 11, 15, 24, 10, 10, 66, 16, 16, 12, 23, 85, 16, 19, 11, 49, 14, 138, 1956, 16, 13, 382, 16, 31, 60, 36, 16, 41, 16, 84, 16, 3680, 39, 76, 13, 39, 143, 64, 12, 760, 10, 12, 49, 63, 16, 13, 21, 11, 18, 60, 263, 27, 30, 73, 42, 10, 23, 125, 125, 586, 109, 35, 36, 249, 16, 11, 27, 14, 30, 219, 22, 44, 297, 14, 33, 10, 198, 57, 236, 150, 1907, 215, 163, 18, 10, 16, 127, 55, 18, 184, 413, 11, 41, 20, 10, 87, 12, 10, 14, 97, 11, 50, 35, 1629, 526, 25, 21, 219, 82, 14, 10, 20, 249, 36, 20, 10, 30, 174, 41, 13, 42, 23, 11, 275, 10, 20, 102, 65, 22, 54, 10, 32, 14, 144, 50, 11, 15, 13, 10, 16, 15, 13, 12, 26, 14, 94, 118, 24, 11, 22, 12, 204, 31, 10, 24, 13, 15, 2124, 10, 82, 35, 14, 346, 16, 18, 17, 13, 18, 48, 25, 24, 49, 55, 16, 21, 11, 10, 15, 12, 10, 147, 328, 48, 48, 72, 52, 25, 10, 373, 11, 27, 11, 11, 95, 22, 12, 11, 12, 174, 31, 17, 25, 54, 22, 30, 486, 29, 14, 140, 11, 29, 229, 10, 72, 15, 726, 122, 14, 10, 14, 75, 11, 20, 10, 60, 18, 16, 16, 11, 42, 10, 21, 75, 75, 26, 65, 16, 14, 10, 16, 15, 28, 16, 21, 11, 12, 15, 32, 51, 34, 94, 11, 12, 30, 10, 10, 10, 45, 174, 17, 31, 33, 266, 99, 10, 36, 15, 12, 18, 21, 14, 13, 10, 68, 13, 18, 15, 58, 11, 47, 105, 19, 13, 11, 12, 10, 524, 55, 536, 13, 17, 10, 21, 59, 11, 10, 240, 72, 10, 11, 21, 26, 17, 23, 21, 72, 66, 23, 18, 15, 12, 28, 47, 10, 122, 20, 10, 42, 54, 10, 73, 15, 3502, 36, 197, 340, 13, 21, 22, 10, 98, 72, 66, 48, 11, 49, 199, 72, 191, 112, 22, 32, 204, 16, 68, 40, 30, 30, 11, 131, 23, 11, 129, 98, 11, 1731, 10, 91, 10, 103, 30, 11, 195, 16, 11, 34, 11, 17, 13, 12, 196, 79, 13, 12, 55, 103, 34, 13, 50, 13, 22, 24, 12, 20, 17, 10, 16, 12, 10, 12, 15, 10, 15, 15, 13, 3574, 58, 10, 17, 23, 43, 12, 26, 12, 11, 10, 15, 21, 15, 139, 11, 10, 17, 21, 12, 465, 11, 11, 10, 13, 10, 11, 11, 18, 11, 14, 14, 10, 19, 51, 16, 17, 27, 12, 34, 10, 44, 136, 10, 12, 14, 18, 12, 12, 103, 10, 11, 11, 12, 229, 18, 14, 14, 43, 10, 13, 10, 17, 11, 12, 10, 13, 13, 15, 298, 24, 11, 224, 17, 16, 13, 83, 22, 20, 11, 20, 10, 26, 11, 11, 65, 81, 11, 10, 12, 67, 94, 11, 29, 41, 63, 25, 19, 31, 18, 16, 12, 12, 348, 16, 18, 26, 11, 16, 11, 10, 447, 11, 11, 68, 11, 11, 10, 10, 10, 13, 11, 76, 14, 12, 18, 17, 11, 128, 17, 86, 15, 19, 73, 61, 534, 14, 64, 14, 13, 52, 140, 67, 26, 11, 123, 19, 12, 50, 10, 11, 73, 16, 53, 33, 28, 15, 34, 159, 11, 13, 37, 73, 20, 48, 20, 161, 16, 19, 10, 48, 73, 10, 11, 22, 20, 85, 10, 59, 12, 79, 67, 24, 10, 10, 46, 72, 13, 35, 77, 21, 27, 15, 16, 10, 19, 15, 72, 85, 10, 11, 111, 28, 23, 15, 10, 74, 86, 47, 12, 11, 34, 11, 327, 10, 31, 24, 54, 11, 10, 15, 207, 10, 11, 20, 69, 19, 36, 72, 11, 10, 14, 10, 13, 10, 11, 21, 24, 12, 11, 359, 90, 26, 130, 73, 32, 54, 225, 52, 14, 37, 13, 14, 10, 20, 13, 12, 591, 415, 88, 26, 138, 31, 17, 324, 16, 12, 69, 84, 24, 11, 32, 153, 419, 513, 72, 16, 43, 27, 88, 22, 18, 113, 17, 52, 15, 44, 31, 110, 18, 153, 10, 17, 151, 11, 1190, 72, 123, 131, 73, 24, 30, 74, 38, 73, 98, 18, 14, 16, 31, 26, 27, 72, 72, 13, 17, 31, 17, 11, 12, 27, 58, 10, 11, 65, 13, 14, 22, 38, 18, 11, 13, 29, 130, 433, 13, 99, 1077, 62, 87, 17, 128, 83, 100, 36, 238, 22, 29, 313, 16, 50, 144, 12, 67, 69, 12, 10, 66, 19, 27, 167, 10, 32, 92, 26, 125, 14, 10, 15, 11, 63, 22, 13, 12, 11, 12, 31, 13, 20, 55, 13, 11, 10, 13, 18, 12, 21, 11, 11, 14, 62, 11, 20, 10, 20, 22, 23, 19, 18, 10, 58, 10, 11, 22, 11, 21, 74, 19, 23, 10, 11, 21, 11, 13, 35, 14, 13, 23, 11, 22, 15, 16, 10, 10, 13, 11, 10, 10, 40, 19, 21, 10, 12, 19, 21, 16, 21, 45, 35, 26, 215, 11, 10, 15, 16, 72, 11, 10, 28, 10, 17, 32, 17, 18, 46, 122, 15, 10, 15, 15, 217, 15, 18, 12, 10, 10, 16, 115, 13, 13, 13, 15, 13, 62, 27, 187, 39, 2989, 111, 827, 12, 25, 23, 18, 6829, 31, 354, 44, 144, 72, 98, 1063, 107, 58, 10, 13, 11, 119, 76, 91, 132, 82, 32, 47, 107, 26, 12, 12, 39, 732, 102, 27, 15, 24, 53, 39, 15, 56, 22, 24, 13, 15, 28, 31, 28, 19, 21, 10, 15, 10, 11, 10, 27, 11, 13, 10, 11, 18, 23, 21, 10, 636, 14, 10, 70, 18, 28, 20, 16, 11, 11, 10, 55, 22, 12, 181, 19, 28, 37, 12, 21, 381, 24, 72, 44, 23, 15, 51, 10, 22, 11, 442, 21, 140, 42, 325, 115, 11, 10, 12, 44, 30, 473, 13, 10, 12, 10, 15, 18, 469, 10, 236, 11, 10, 20, 25, 18, 13, 10, 33, 47, 11, 14, 30, 33, 24, 11, 10, 15, 15, 16, 10, 12, 22, 13, 28, 17, 34, 12, 26, 12, 14, 10, 11, 35, 77, 10, 10, 15, 167, 93, 15, 18, 21, 102, 52, 11, 36, 11, 113, 38, 34, 10, 13, 12, 18, 94, 10, 155, 12, 10, 22, 12, 19, 10, 25, 12, 15, 13, 26, 19, 39, 13, 12, 16, 16, 11, 12, 11, 10, 10, 10, 11, 133, 10, 12, 12, 84, 18, 133, 10, 84, 79, 11, 10, 10, 21, 10, 13, 27, 55, 19, 12, 25, 10, 118, 20, 15, 10, 10, 13, 15, 12, 15, 53, 10, 14, 58, 27, 33, 17, 30, 11, 17, 23, 14, 23, 12, 31, 138, 21, 52, 84, 31, 32, 32, 211, 88, 17, 18, 10, 15, 12, 10, 11, 10, 18, 174, 21, 11, 11, 16, 55, 174, 14, 18, 48, 13, 114, 10, 11, 27, 108, 10, 12, 20, 15, 331, 55, 37, 107, 85, 14, 22, 45, 43, 34, 19, 48, 51, 13, 20, 31, 12, 36, 31, 48, 76, 184, 46, 42, 41, 37, 15, 31, 22, 24, 24926, 48, 52, 18, 10, 17, 78, 11, 11, 19, 10, 15, 13, 25, 11, 11, 13, 12, 10, 10, 10, 10, 10, 10, 13, 10, 13, 17, 11, 15, 12, 21, 10, 11, 20, 17, 21, 12, 11, 15, 10, 19, 21, 10, 13, 12, 17, 20, 12, 10, 10, 60, 11, 40, 20, 28, 20, 14, 10, 43, 18, 14, 56, 428, 17, 14, 24, 22, 15, 11, 80, 59, 43, 18, 20, 31, 25, 32, 37, 22, 19, 17, 12, 298, 10, 12, 10, 12, 17, 18, 10, 11, 12, 11, 16, 17, 11, 11, 10, 13, 10, 11, 790, 730, 517, 552, 475, 428, 326, 352, 329, 256, 150, 31, 33, 67, 71, 113, 77, 45, 59, 35, 1193, 993, 1411, 858, 1256, 1185, 705, 404, 263, 266, 33, 117, 62, 55, 38, 34, 33, 74, 31, 38, 210, 241, 162, 94, 241, 177, 199, 82, 118, 142, 50, 62, 36, 167, 47, 32, 53, 33, 42, 62, 10, 147, 81, 136, 114, 69, 44, 50, 89, 64, 48, 127, 88, 49, 78, 40, 83, 86, 36, 86, 41, 32, 37, 35, 31, 34, 51, 36, 36, 33, 32, 33, 37, 50, 33, 41, 40, 38, 83, 46, 40, 11, 10, 13, 15, 13, 14, 19, 16, 10, 12, 13, 87, 34, 37, 28, 39, 32, 31, 13, 31, 21, 41, 31, 10, 11, 17, 18, 24, 26, 203, 27, 48, 38, 40, 30, 39, 160, 19, 75, 24, 21, 22, 34, 13, 12, 15, 10, 10, 13, 10, 11, 10, 18, 26, 10, 10, 22, 10, 10, 12, 15, 11, 10, 10, 11, 93, 10, 35, 11, 13, 25, 36, 14, 15, 46, 36, 14, 10, 10, 14, 13, 303, 12, 12, 16, 16, 13, 16, 24, 231, 10, 20, 13, 28, 94, 14, 10, 10, 172, 298, 45, 10, 24, 10, 12, 12, 11, 12, 14, 10, 13, 13, 11, 10, 17, 11, 16, 49, 12, 10, 10, 10, 11, 18, 11, 18, 13, 10, 10, 13, 10, 41, 12, 14, 27, 41, 33, 51, 15, 30, 14, 89, 68, 11, 10, 67, 10, 16, 24, 12, 15, 11, 20, 15, 15, 15, 10, 14, 11, 30, 12, 29, 11, 14, 10, 10, 11, 20, 11, 64, 11, 11, 17, 10, 11, 12, 10, 34, 77, 131, 29, 152, 21, 17, 11, 13, 16, 13, 14, 39, 15, 750, 11, 33, 61, 14, 12, 19, 101, 13, 13, 11, 16, 10, 15, 10, 10, 539, 31, 11, 34, 11, 10, 13, 20, 10, 22, 16, 12, 14, 12, 12, 12, 10, 13, 18, 14, 10, 10, 11, 12, 17, 16, 20, 34, 26, 17, 27, 10, 16, 10, 11, 10, 13, 12, 11, 12, 10, 11, 17, 16, 11, 67, 224, 11, 13, 11, 16, 17, 35, 12, 14, 13, 12, 11, 11, 12, 10, 12, 11, 121, 10, 11, 11, 10, 20, 156, 18, 17, 10, 26, 48, 11, 10, 10, 17, 10, 27, 11, 10, 10, 13, 53, 16, 12, 11, 22, 13, 10, 31, 10, 11, 13, 10, 26, 12, 10, 18, 13, 10, 11, 79, 21, 12, 10, 76, 22, 26, 129, 20, 15, 12, 17, 13, 1809, 70, 29, 38, 442, 442, 458, 10, 16, 10, 41, 10, 11, 13, 11, 11, 10, 11, 25, 14, 16, 10, 11, 15, 10, 12, 14, 13, 10, 12, 37, 12, 11, 11, 13, 11, 12, 10, 11, 10, 11, 10, 18, 12, 18, 22, 32, 174, 14, 11, 12, 11, 24, 27, 15, 232, 134, 18, 19, 13, 13, 13, 11, 44, 11, 10, 10, 10, 10, 11, 13, 10, 11, 13, 10, 10, 18, 13, 17, 487, 54, 14, 16, 10, 14, 13, 119, 11, 13, 13, 13, 10, 13, 11, 14, 46, 10, 14, 478, 162, 10, 29, 10, 10, 10, 37, 47, 30, 52, 19, 13, 11, 10, 51, 24, 15, 46, 15, 13, 12, 11, 14, 10, 27, 41, 11, 10, 16, 18, 162, 10, 10, 21, 48, 21, 12, 12, 19, 10, 38, 16, 12, 11, 14, 13, 34, 10, 443, 10, 16, 10, 12, 48, 10, 21, 28, 17, 48, 34, 10, 48, 11, 11, 13, 19, 21, 18, 18, 173, 10, 17, 10, 22, 13, 16, 47, 11, 18, 10, 147, 19, 20, 12, 10, 12, 15, 16, 13, 96, 12, 10, 18, 31, 16, 11, 12, 11, 560, 12, 17, 10, 15, 66, 49, 13, 67, 10, 10, 10, 10, 10, 34, 28, 21, 20, 61, 10, 14, 20, 11, 38, 10, 12, 17, 17, 19, 10, 13, 10, 10, 10, 26, 11, 12, 13, 23, 14, 14, 20, 12, 11, 31, 11, 13, 14, 11, 33, 4632, 7641, 4801, 7883, 1108, 1240, 2012, 1391, 795, 1906, 21, 887, 146, 233, 50, 27, 14, 10, 161, 12, 10, 11, 11, 12, 81, 16, 10, 17, 14, 28, 10, 11, 10, 13, 12, 23, 11, 22, 11, 17, 12, 19, 18, 11, 11, 25, 10, 10, 10, 12, 15, 16, 10, 13, 11, 30, 11, 21, 48, 15, 10, 14, 21, 12, 305, 10, 40, 11, 13, 10, 15, 11, 10, 10, 10, 10, 51, 10, 14, 16, 10, 10, 12, 11, 11, 11, 11, 14, 11, 10, 10, 13, 11, 11, 15, 17, 21, 17, 13, 12, 20, 10, 38, 25, 11, 19, 12, 21, 14, 10, 504, 23, 12, 15, 98, 16, 13, 10, 14, 10, 81, 14, 17, 13, 11, 18, 10, 10, 11, 10, 10, 10, 40, 11, 10, 33, 12, 26, 20, 44, 10, 11, 11, 20, 19, 11, 17, 16, 14, 12, 10, 10, 442, 16, 16, 10, 12, 11, 10, 26, 11, 10, 10, 11, 10, 10, 10, 72, 13, 76, 21, 65, 14, 12, 18, 39, 14, 11, 12, 10, 126, 10, 36, 15, 10, 22, 13, 10, 12, 18, 11, 13, 33, 11, 10, 10, 10, 14, 13, 20, 15, 12, 10, 11, 12, 30, 27, 15, 18, 15, 13, 10, 41, 17, 11, 20, 12, 10, 13, 13, 10, 50, 12, 10, 12, 13, 13, 10, 12, 10, 14, 10, 10, 27, 10, 17, 11, 20, 10, 12, 11, 26, 10, 23, 15, 18, 18, 14, 12, 10, 10, 12, 12, 17, 14, 11, 10, 10, 10, 19, 11, 13, 12, 15, 16, 10, 13, 34, 11, 10, 11, 13, 10, 11, 12, 12, 10, 10, 16, 10, 14, 11, 11, 12, 10, 15, 12, 11, 10, 16, 11, 10, 21, 11, 14, 15, 14, 13, 12, 11, 12, 12, 10, 16, 14, 12, 11, 11, 15, 13, 14, 16, 19, 10, 10, 13, 24, 217, 12, 20, 10, 16, 10, 13, 12, 10, 11, 12, 11, 13, 14, 11, 22, 16, 11, 34, 17, 18, 48, 18, 12, 12, 35, 51, 12, 130, 18, 575, 10, 15, 10, 48, 145, 24, 14, 21, 13, 18, 12, 21, 10, 164, 59, 13, 33, 11, 156, 10, 11, 31, 55, 12, 25, 29, 34, 17, 11, 12, 369, 11, 102, 16, 10, 17, 17, 20, 14, 10, 19, 198, 23, 52, 38, 10, 19, 17, 30, 13, 62, 25, 19, 173, 20, 65, 18, 10, 18, 82, 11, 10, 12, 10, 13, 82, 120, 25, 40, 17, 89, 13, 15, 13, 12, 11, 54, 10, 27, 13, 10, 11, 54, 11, 17, 53, 23, 51, 26, 13, 14, 31, 10, 10, 15, 63, 13, 13, 51, 11, 16, 10, 18, 10, 11, 20, 13, 75, 2304, 228, 42, 18, 13, 87, 10, 14, 13, 100, 113, 10, 32, 10, 25, 11, 13, 15, 15, 20, 52, 10, 38, 26, 32, 12, 34, 130, 10, 66, 13, 10, 147, 13, 39, 33, 12, 17, 17, 12, 20, 809, 16, 13, 10, 13, 353, 10, 10, 32, 22, 17, 132, 11, 97, 27, 19, 13, 66, 71, 14, 11, 10, 16, 136, 10, 14, 54, 20, 28, 11, 28, 10, 10, 13, 12, 10, 25, 35, 12, 26, 10, 11, 10, 59, 29, 28, 13, 27, 110, 18, 12, 14, 46, 11, 15, 23, 12, 11, 26, 26, 17, 13, 12, 21, 12, 47, 11, 10, 12, 17, 14, 46, 10, 11, 11, 14, 11, 19, 11, 23, 10, 13, 10, 218, 26, 13, 45, 10, 14, 32, 28, 276, 173, 159, 113, 58, 90, 57, 168, 123, 326, 199, 36, 72, 140, 19, 29, 121, 44, 54, 21, 81, 46, 10, 21, 65, 23, 29, 63, 81, 99, 1597, 138, 63, 97, 277, 12, 10, 26, 83, 55, 83, 35, 75, 135, 1407, 122, 15, 27, 15, 14, 65, 24, 91, 43, 57, 166, 98, 21, 22, 20, 14, 57, 17, 19, 42, 13, 30, 27, 66, 54, 97, 51, 335, 137, 10, 58, 12, 68, 101, 176, 33, 115, 81, 426, 77, 429, 13, 88, 87, 40, 106, 162, 54, 3881, 224, 964, 47, 11, 13, 165, 12, 42, 57, 24, 106, 10, 12, 129, 12, 304, 132, 15, 46, 176, 12, 206, 11, 149, 18, 26, 206, 204, 37, 11, 11, 23, 170, 50, 23, 13, 35, 178, 27, 164, 21, 26, 63, 34, 851, 93, 13, 32, 42, 136, 63, 13, 13, 23, 148, 260, 18, 46, 61, 220, 162, 10, 27, 44, 17, 14, 12, 118, 24, 20, 195, 28, 252, 130, 37, 65, 101, 158, 141, 28, 52, 14, 12, 30, 31, 39, 10, 12, 12, 225, 48, 20, 19, 235, 35, 284, 61, 569, 127, 164, 1626, 22, 104, 1066, 156, 20, 367, 28, 174, 336, 180, 350, 354, 97, 111, 86, 414, 118, 48, 30, 30, 150, 42, 51, 92, 15, 17, 72, 470, 11, 1579, 129, 99, 75, 20, 47, 118, 79, 426, 104, 33, 16, 72, 82, 73, 12, 142, 105, 26, 657, 171, 785, 26, 619, 31, 24, 28, 15, 47, 10, 18, 82, 72, 17, 15, 82, 91, 43, 42, 22, 192, 16, 10, 28, 30, 61, 40, 281, 75, 14, 41, 61, 49, 69, 33, 11, 88, 80, 14, 43, 10, 4778, 208, 18, 72, 10, 96, 61, 525, 11, 776, 27, 23, 27, 23, 21, 303, 244, 206, 524, 23, 18, 14, 73, 11, 106, 10, 18, 11, 84, 25, 15, 11, 12, 19, 19, 20, 14, 24, 30, 42, 15, 16, 12, 1049, 16, 186, 12, 31, 3413, 10, 24, 70, 13, 10, 10, 26, 42, 46, 21, 43, 30, 16, 17, 45, 20, 17, 11, 19, 81, 32, 58, 1102, 29, 103, 34, 11, 69, 50, 34, 105, 45, 14, 56, 59, 411, 54, 15, 71, 14, 10, 15, 117, 1405, 11, 119, 19, 84, 60, 43, 20, 13, 11, 17, 59, 44, 661, 11, 14, 120, 15, 14, 23, 12, 19, 66, 12, 12, 150, 10, 17, 16, 94, 18, 199, 11, 16, 20, 17, 14, 431, 21, 22, 96, 23, 16, 22, 10, 30, 12, 44, 28, 161, 15, 2789, 44, 554, 50381, 152, 22, 23, 38, 741, 78, 890, 24, 14, 14, 13, 65, 27, 88, 10, 13, 27, 58, 10, 10, 19, 41, 14, 12, 55, 12, 11, 52, 11, 14, 48, 20, 10, 19, 10, 26, 30, 12, 107, 1076, 524, 84, 14, 12, 67, 11, 19, 34, 81, 114, 34, 102, 185, 37, 10, 55, 16, 28, 12, 96, 35, 11, 77, 23, 74, 224, 10, 45, 14, 29, 11, 27, 15, 11, 10, 20, 72, 17, 12, 40, 46, 28, 56, 38, 197, 86, 10, 12, 11, 231, 282, 71, 53, 95, 30, 294, 14, 18, 21, 550, 273, 101, 23, 36, 80, 12, 24, 12, 11, 47, 55, 36, 1133, 622, 12, 186, 14, 84, 122, 10, 11, 49, 18, 45, 453, 207, 16, 121, 10, 21, 33, 78, 14, 2750, 18, 11, 103, 23, 28, 93, 29, 33, 22, 352, 10, 140, 32, 51, 12, 85, 31, 19, 14, 28, 43, 203, 361, 65, 10, 15, 22, 14, 101, 21, 18, 12, 11, 62, 10, 10, 22, 10, 13, 18, 62, 17, 242, 14, 160, 19, 27, 52, 25, 13, 72, 72, 126, 154, 1957, 113, 36, 55, 83, 18, 69, 247, 43, 45, 35, 152, 16, 12, 1033, 1615, 85, 119, 17, 12, 73, 10, 19, 61, 127, 182, 88, 44, 772, 138, 291, 50, 13, 36, 178, 29, 678, 18, 25, 506, 26, 16, 33, 59, 14, 11, 16, 72, 13, 29, 32, 14, 11, 195, 14, 147, 46, 56, 59, 13, 19, 47, 114, 106, 23, 12, 10, 20, 30, 139, 15, 16, 586, 11, 13, 92, 72, 116, 39, 81, 218, 25, 17, 12, 11, 52, 30, 22, 260, 122, 12, 44, 73, 185, 50, 52, 14, 10, 49, 14, 91, 30, 32, 37, 11, 13, 12, 10, 156, 15, 20, 124, 11, 1249, 14, 14, 62, 13, 10, 25, 11, 53, 28, 16, 15, 326, 17, 12, 75, 36, 466, 14, 11, 52, 44, 187, 161, 74, 83, 12, 214, 31, 13, 58, 26, 17, 21, 66, 31, 14, 29, 21, 33, 15, 137, 36, 137, 39, 189, 2504, 265, 25, 115, 21, 42, 46, 24, 14, 33, 13, 195, 10, 14, 13, 185, 15, 11, 85, 25, 20, 46, 775, 77, 34, 43, 30, 11, 247, 87, 22, 14, 15, 24, 14, 30, 28, 17, 18, 11, 91, 184, 136, 1268, 11, 13, 11, 11, 1659, 526, 94, 92, 44, 91, 15, 86, 20, 22, 25, 256, 115, 10, 49, 12, 15, 33, 55, 36, 15, 10, 272, 15, 17, 10, 10, 62, 152, 11, 15, 10, 18, 23, 47, 31, 13, 11, 23, 177, 14, 57, 17, 13, 28, 25, 35, 22, 13, 72, 81, 209, 11, 23, 62, 57, 153, 11, 510, 127, 615, 27, 29, 27, 10, 14, 26, 33, 32, 32, 173, 55, 33, 12, 22, 14, 18, 11, 265, 37, 10, 123, 11, 22, 10, 10, 169, 116, 37, 351, 20, 11, 15, 29, 215, 76, 47, 203, 70, 118, 131, 79, 47, 10, 12, 68, 28, 18, 51, 65, 10, 26, 336, 296, 39, 11, 24, 12, 15, 11, 48, 12, 23, 166, 19, 72, 39, 12, 10, 140, 27, 10, 17, 14, 15, 90, 40, 18, 80, 365, 13, 10, 14, 62, 20, 10, 20, 12, 46, 635, 144, 397, 83, 46, 12, 23, 10, 14, 18, 12, 33, 15, 10, 48, 13, 28, 27, 11, 25, 82, 290, 19, 18, 28, 20, 11, 38, 10, 11, 148, 1536, 13, 14, 12, 25, 112, 16, 12, 56, 10, 13, 40, 19, 60, 24, 55, 10, 80, 25, 46, 24, 11, 54, 19, 11, 357, 71, 19, 13, 33, 47, 11, 17, 1289, 134, 230, 15, 27, 82, 13, 23, 111, 842, 23, 34, 27, 261, 111, 18, 35, 12, 11, 37, 94, 10, 47, 128, 20, 23, 17, 35, 10, 30, 37, 15, 11, 34, 27, 12, 120, 312, 22, 11, 17, 12, 113, 10, 643, 132, 10, 25, 106, 281, 11, 74, 89, 22, 28, 26, 12, 11, 10, 32, 72, 16, 10, 133, 13, 87, 16, 28, 10, 78, 14, 17, 15, 13, 13, 66, 143, 110, 33, 10, 225, 16, 23, 16, 20, 54, 16, 22, 22, 13, 88, 16, 11, 21, 292, 15, 27, 27, 16, 10, 27, 49, 396, 146, 33, 15, 18, 31, 10, 10, 338, 24, 10, 138, 10, 71, 62, 72, 75, 66, 30, 11, 11, 13, 14, 454, 32, 153, 89, 23, 73, 50, 10, 11, 86, 30, 87, 14, 31, 28, 35, 166, 28, 20, 73, 10, 12, 14, 16, 13, 183, 40, 10, 10, 72, 10, 61, 26, 23, 14, 17, 10, 22, 47, 11, 25, 63, 31, 12, 183, 72, 102, 54, 17, 433, 24, 12, 11, 10, 59, 30, 86, 83, 21, 16, 29, 11, 33, 59, 12, 47, 23, 12, 243, 60, 20, 37, 14, 13, 40, 11, 285, 102, 10, 93, 597, 12, 40, 12, 44, 18, 1871, 367, 231, 1934, 3465, 33, 300, 606, 41, 152, 199, 323, 10, 35, 24, 32, 43, 18, 17, 12, 698, 161, 294, 976, 106, 82, 35, 113, 38, 50, 161, 72, 26, 10, 663, 288, 157, 142, 162, 10, 639, 71, 128, 140, 12, 63, 2022, 310, 273, 628, 218, 23, 35, 77, 12, 12, 16, 14, 28, 63, 13, 45, 88, 441, 300, 12, 15, 252, 53, 74, 12, 1259, 10, 56, 24, 19, 10, 118, 22, 30, 126, 95, 14, 132, 60, 11, 31, 41, 25, 63, 22, 84, 114, 10, 10, 460, 18, 127, 58, 69, 68, 470, 16, 156, 129, 227, 12, 149, 577, 31, 215, 36, 11, 15, 41, 2067, 104, 190, 39, 10, 1206, 117, 26, 13, 21, 96, 764, 680, 430, 204, 25, 1896, 23, 66, 207, 34, 101, 21, 16, 50, 124, 197, 147, 45, 29, 513, 67, 16, 69, 36, 10, 12, 192, 828, 22, 51, 65, 87, 30, 28, 92, 258, 27, 10, 11, 50, 12, 85, 14267, 2345, 103, 355, 11, 33, 16, 121, 80, 126, 10, 128, 218, 24, 194, 24, 145, 11, 15, 219, 813, 46, 10, 166, 49, 10, 15, 22, 125, 21, 76, 15, 19, 13, 13, 105, 36, 45, 49, 14, 23, 281, 76, 190, 537, 536, 178, 10, 73, 16, 72, 12, 73, 13, 52, 13, 90, 1275, 92, 69, 93, 619, 188, 564, 75, 57, 60, 118, 19, 12, 49, 301, 62, 604, 149, 52, 30, 162, 30, 291, 23, 50, 115, 34, 14, 2050, 29, 275, 15, 10, 256, 16, 552, 23, 20, 30, 32, 17, 904, 39, 773, 288, 64, 179, 88, 10, 13, 10, 39, 10, 39, 15, 236, 22, 15, 14, 65, 485, 106, 423, 154, 32, 12, 23, 19, 39, 38, 11, 24, 191, 13, 13, 15, 23, 94, 1767, 2399, 443, 41, 13, 201, 242, 81, 11, 12, 36, 17, 51, 60, 24, 30, 11, 49, 36, 20, 46, 15, 23, 17, 15, 79, 160, 20, 33, 218, 57, 10, 96, 36, 11, 14, 16, 16, 386, 13, 59, 15, 68, 96, 35, 122, 38, 274, 76, 34, 13, 249, 41, 748, 77, 14, 125, 12, 232, 43, 21, 10, 14, 22, 1316, 32, 2043, 425, 23, 309, 135, 268, 79, 35, 222, 177, 66, 61, 386, 1088, 301, 615, 1167, 28, 10, 12, 118, 33, 30, 28, 32, 12, 85, 464, 295, 219, 87, 35, 49, 16, 123, 14, 39, 151, 1765, 102, 144, 55, 40, 171, 222, 14, 129, 46, 136, 15, 334, 33, 62, 182, 24, 10, 13, 115, 4158, 397, 83, 470, 189, 10, 11, 10, 17, 15, 63, 258, 1801, 171, 17, 173, 30, 94, 190, 13, 19, 12, 27, 124, 76, 31, 47, 15, 21, 15, 54, 48, 45, 12, 169, 69, 69, 183, 89, 38, 100, 12, 3125, 28, 57, 25, 120, 192, 12, 50, 10, 215, 3228, 775, 22, 41, 61, 11, 48, 50, 180, 85, 81, 19, 111, 11, 46, 169, 76, 313, 148, 22, 10, 12, 50, 29, 16, 113, 19, 10, 70, 93, 19, 26, 21, 13, 129, 24, 451, 281, 154, 38, 23, 12, 10, 31, 59, 87, 12, 232, 19, 104, 57, 75, 27, 35, 41, 11, 23, 44, 25, 46, 44, 11, 502, 22, 243, 261, 10, 21, 67, 66, 31, 26, 71, 10, 19, 45, 17, 43, 49, 10, 137, 103, 61, 22, 10, 13, 503, 13, 17, 11, 225, 190, 106, 154, 43, 651, 98, 41, 55, 100, 31, 78, 26, 36, 13, 403, 14, 3741, 192, 26, 859, 25, 378, 1080, 165, 23, 53, 380, 52, 1071, 114, 227, 17, 140, 25, 73, 11, 29, 62, 12, 156, 11, 18, 16, 10, 102, 33, 18, 48, 185, 233, 15, 13, 245, 262, 229, 12, 47, 40, 85, 12, 788, 15, 47, 14, 22, 16, 95, 24, 34, 48, 38, 14, 11, 19, 56, 35, 13, 13, 367, 27, 127, 34, 37, 16, 600, 11, 13, 36, 18, 12, 243, 207, 22, 26, 59, 39, 20, 16, 298, 38, 91, 13, 15, 12, 14, 126, 80, 57, 10, 73, 17, 39, 36, 11, 25, 25, 156, 13, 11, 70, 44, 29, 35, 31, 31, 40, 42, 44, 37, 13, 11, 21, 62, 729, 34, 10, 87, 168, 24, 31, 10, 24, 44, 49, 10, 19, 117, 23, 75, 54, 51, 26, 87, 153, 101, 18, 10, 14, 12, 16, 80, 73, 237, 663, 15, 129, 11, 16, 481, 77, 14, 34, 49, 82, 26, 8980, 63, 111, 17, 39, 111, 23, 23, 25, 81, 13, 32, 15, 1753, 46, 25, 29, 24, 40, 28, 19, 40, 10, 82, 12, 15, 29, 21, 14, 37, 5571, 1157, 12, 585, 234, 241, 13, 25, 21, 73, 14, 23, 66, 16, 11, 44, 12, 12, 1216, 120, 51, 21, 23, 156, 24, 14, 10, 13, 769, 15, 12, 12, 71, 17, 34, 16, 10, 10, 18, 10, 20, 30, 58, 35, 12, 121, 30, 13, 22, 52, 34, 14, 15, 12, 78, 10, 26, 13, 11, 10, 10, 28, 41, 11, 16, 754, 30, 31, 85, 46, 205, 46, 18, 19, 68, 10, 11, 767, 64, 14, 11, 23, 189, 12, 921, 13, 14, 105, 73, 12, 13, 15, 37, 17, 17, 16, 11, 35, 21, 20, 39, 11, 62, 45, 31, 12, 21, 61, 25, 13, 16, 12, 526, 1189, 15, 383, 296, 1035, 427, 32, 10, 22, 476, 244, 125, 23, 26, 23, 10, 2653, 143, 696, 22, 26, 11, 388, 21, 58, 15, 12, 75, 11, 25, 538, 1585, 220, 65, 24, 11, 52, 13, 28, 95, 15, 33, 12, 81, 13, 42, 156, 149, 1121, 169, 73, 12, 31, 13, 28, 129, 301, 59, 22, 104, 236, 10, 12, 370, 77, 65, 90, 128, 1613, 11, 10, 1360, 721, 69, 10, 24, 2495, 142, 184, 29, 73, 110, 112, 22, 137, 17, 11, 30, 13, 35, 299, 23, 181, 718, 16, 246, 10, 17, 335, 30, 10, 14, 75, 53, 43, 103, 16, 460, 30, 14, 17, 31, 23, 25, 62, 33, 26, 102, 761, 26, 19, 95, 442, 409, 47, 11, 10, 26, 126, 92, 281, 44, 11, 64, 88, 12, 13, 30, 189, 21, 12, 44, 233, 26, 11, 41, 54, 29, 20, 13, 339, 15, 19, 77, 13, 12, 14, 20, 10, 237, 925, 97, 335, 46, 10, 759, 349, 92, 896, 136, 180, 12, 92, 317, 29, 47, 11, 791, 787, 56, 273, 115, 748, 61, 40, 171, 287, 79, 555, 176, 55, 35, 28, 46, 42, 11, 11, 102, 157, 149, 752, 25, 237, 30, 220, 70, 140, 157, 352, 71, 14, 76, 10, 17, 33, 12, 26, 37, 10, 22, 867, 926, 123, 26, 83, 106, 80, 23, 50, 115, 549, 99, 13, 32, 12, 87, 95, 192, 79, 120, 163, 190, 10, 372, 377, 86, 175, 180, 33, 15, 15, 39, 83, 32, 10, 153, 152, 91, 27, 30, 275, 24, 10, 40, 12, 15, 1117, 47, 10, 14, 181, 13, 390, 23, 54, 30, 163, 90, 14, 32, 45, 339, 77, 38, 160, 23, 162, 25, 40, 22, 230, 137, 15, 27, 67, 986, 166, 923, 496, 949, 12, 16, 165, 10, 21, 27, 14, 12, 12637, 169, 62, 74, 58, 159, 100, 10, 24, 78, 48, 22, 3676, 251, 64, 67, 52, 13, 38, 39, 95, 38, 24, 35, 55, 184, 201, 28, 19, 10, 25, 12, 14, 12, 11, 373, 11, 33, 127, 65, 29, 18, 10, 13, 1723, 10, 125, 31, 30, 354, 536, 38, 33, 10, 13, 226, 104, 26, 13, 3359, 1958, 67, 41, 301, 87, 11, 16, 51, 18, 10, 14, 59, 98, 59, 132, 10, 64, 60, 371, 10, 25, 141, 48, 33, 22, 16, 16, 1457, 45, 140, 522, 93, 16, 24, 13, 14, 13, 10, 13, 26, 206, 10486, 11, 272, 60, 13, 24, 98, 11, 28, 52, 45, 12, 16, 49, 11, 13, 10, 11, 148, 10, 21, 79, 212, 10, 14, 10, 11, 28, 1503, 41, 43, 48, 75, 10, 25, 449, 10, 99, 35, 29, 18, 51, 114, 133, 277, 71, 31, 35, 80, 14, 509, 14, 11, 13, 21, 20, 45, 197, 50, 10, 46, 14, 100, 82, 63, 15, 27, 19, 200, 110, 52, 197, 68, 90, 821, 36, 90, 35, 196, 72, 12, 37, 188, 74, 23, 18, 673, 65, 44, 87, 29, 75, 43, 70, 114, 42, 87, 18, 38, 194, 1386, 17, 20, 23, 34, 52, 276, 76, 27, 51, 83, 323, 15, 11, 81, 186, 82, 62, 96, 36, 233, 18, 10, 11, 23, 59, 10, 26, 21, 37, 24, 12, 19, 94, 12, 33, 19, 31, 13, 27, 17, 60, 12, 28, 114, 495, 157, 55, 10, 34, 14544, 1225, 32, 60, 59, 140, 13, 75, 571, 27, 288, 12, 478, 13, 12, 207, 10, 10, 22, 26, 54, 109, 26, 22, 10, 162, 38, 50, 40, 22, 96, 37, 13, 171, 26, 12, 96, 36, 52, 155, 33, 458, 50, 28, 31, 24, 225, 3481, 12, 33, 17, 61, 117, 47, 51, 37, 93, 27, 49, 14, 12, 650, 66, 40, 48, 10, 14, 17, 210, 16, 70, 83, 157, 95, 11, 1549, 17, 11, 1553, 1473, 19, 105, 107, 23, 35, 16, 20, 25, 16, 45, 1421, 41, 294, 32, 46, 10, 45, 10, 37, 11, 97, 18, 41, 12, 12, 639, 27, 16, 228, 25, 401, 15, 26, 35, 397, 33, 22, 11, 862, 78, 10, 33, 23, 42, 10, 10, 99, 12, 23, 16, 20, 152, 12, 885, 12, 45, 37, 12, 12, 29, 42, 29, 16, 52, 36, 11, 10, 11, 12, 18, 11, 10, 23, 15, 30, 14, 52, 30, 35, 13, 12, 17, 42, 15, 54, 65, 13, 20, 35, 12, 10, 11, 14, 47, 79, 15, 10, 43, 12, 18, 238, 31, 26, 41, 11, 261, 109, 103, 21, 21, 32, 134, 19, 57, 10, 32, 27, 26, 52, 10, 78, 1529, 653, 269, 266, 86, 27, 23, 180, 26, 113, 40, 86, 269, 86, 14, 76, 18, 483, 11, 27, 32, 11, 71, 57, 407, 220, 42, 39, 14, 587, 35, 228, 26, 18, 47, 29, 29, 60, 123, 61, 121, 45, 134, 155, 74, 17, 33, 128, 2719, 2390, 399, 33, 62, 20, 24, 10, 381, 154, 123, 165, 152, 385, 268, 69, 17, 137, 123, 13, 50, 43, 11, 350, 52, 789, 115, 10, 101, 30, 123, 32, 34, 114, 50, 38, 36, 12, 60, 49, 20, 30, 13, 21, 12, 350, 43, 91, 15, 38, 24, 420, 38, 88, 80, 12, 10, 49, 34, 79, 158, 193, 14, 144, 38, 65, 214, 23, 35, 41, 182, 16, 1046, 128, 13, 75, 13, 13, 76, 10, 13, 12, 23, 20, 10, 61, 337, 48, 23, 88, 21, 21, 4989, 45, 388, 10, 48, 231, 160, 32, 111, 257, 31, 12, 10, 12, 77, 29, 359, 294, 158, 792, 13, 165, 21, 691, 19, 160, 172, 157, 15, 14, 10, 21, 802, 148, 63, 85, 89, 10, 51, 230, 43, 11, 27, 42, 3389, 27, 222, 702, 231, 27, 27, 10, 512, 150, 69, 150, 112, 20, 27, 155, 98, 37, 259, 231, 35, 255, 29, 46, 27, 13, 779, 11, 13, 252, 175, 356, 22, 10, 39, 38, 25, 23, 45, 63, 78, 12, 27, 87, 203, 142, 177, 139, 49, 18, 72, 12, 12, 40, 10, 135, 10, 143, 16, 83, 21, 24, 17, 10, 81, 11, 14, 10, 55, 91, 26, 12, 111, 10, 10, 278, 335, 173, 17, 130, 56, 25, 30, 10, 95, 16, 31, 2442, 17, 98, 34, 13, 18, 74, 314, 259, 384, 133, 30, 11, 34, 14, 185, 36, 16, 15, 102, 22, 187, 163, 83, 13, 11, 341, 15, 14, 59, 33, 132, 107, 11, 87, 168, 15, 53, 25, 14, 13, 20, 70, 18, 11, 10, 60, 94, 60, 25, 18, 35, 24, 1017, 11, 18, 330, 181, 43, 199, 27, 334, 32, 67, 16, 13, 10, 21, 13, 180, 61, 122, 289, 83, 159, 49, 20, 151, 12, 10, 485, 10, 52, 26, 15, 902, 20, 51, 92, 134, 69, 12, 40, 23, 30, 49, 13, 40, 46, 25, 56, 13, 16, 594, 16, 20, 13, 11, 24, 12, 10, 89, 11, 31, 54, 87, 34, 25, 18, 13, 19, 225, 14, 19, 23, 48, 44, 16, 17, 100, 56, 75, 186, 10, 35, 80, 146, 13, 48, 69, 52, 66, 29, 39, 17, 86, 351, 16, 265, 698, 20, 132, 34, 11, 54, 178, 6384, 203, 68, 319, 12, 221, 32, 10, 151, 11, 15, 12, 18, 11, 16, 381, 43, 176, 6500, 27, 337, 12, 45, 122, 13, 10, 14, 134, 13, 75, 13, 11, 15, 11, 671, 20, 22, 30, 55, 101, 27, 30, 23, 143, 19, 101, 40, 11, 26, 10, 11, 14, 11, 15, 42, 28, 10, 99, 12, 13, 17, 14, 174, 18, 10, 266, 36, 96, 45, 166, 16, 12, 28, 11, 158, 792, 65, 27, 123, 16, 38, 24, 299, 17, 26, 148, 24, 126, 1341, 20, 14, 492, 90, 10, 21, 10, 45, 78, 208, 93, 4584, 440, 372, 16, 122, 35, 24, 39, 62, 2898, 260, 24, 1533, 70, 25, 258, 13, 39, 10, 19, 12, 202, 25, 10, 10, 12, 13, 380, 11, 23, 16, 14, 58, 11, 1137, 41, 33, 12, 230, 18, 82, 160, 21, 25, 10, 18, 13, 15, 12, 27, 55, 10, 35, 67, 49, 44, 24, 11, 66, 76, 13, 10, 18, 10, 13, 57, 12, 2421, 22, 56, 96, 307, 60, 57, 13, 35, 36, 17, 21, 12, 18, 12, 10, 141, 71, 35, 36, 62, 61, 19, 32, 10, 56, 12, 56, 47, 25, 151, 58, 65, 32, 56, 27, 38, 75, 21, 130, 4721, 94, 102, 17, 187, 30, 54, 175, 98, 11, 226, 36, 27, 146, 20, 25, 83, 245, 74, 12, 10, 42, 15, 13, 43, 84, 25, 26, 17, 11, 12, 59, 11, 18, 26, 25, 10, 168, 10, 11, 52, 38, 31, 10, 43, 19, 11, 16, 24, 527, 56, 40, 26, 12, 15, 302, 32, 10, 23, 17, 36, 11, 12, 291, 50, 27, 26, 11, 18, 84, 22, 18, 14, 10, 22, 58, 19, 2243, 159, 129, 11, 2702, 220, 23, 20001, 10, 239, 52, 42, 12, 14, 17, 70, 12, 80, 37, 83, 12, 22, 81, 12, 27, 12, 14, 56, 49, 138, 92, 177, 22, 10, 21, 27, 22, 13, 31, 18, 11, 63, 16, 24, 164, 19, 14, 145, 20, 17, 99, 43, 11, 15, 29, 34, 31, 11, 117, 521, 59, 94, 59, 254, 23, 81, 39, 10, 48, 161, 176, 457, 26, 29, 10, 61, 12, 129, 12, 10, 72, 144, 11, 10, 25, 77, 16, 16, 55, 76, 79, 10, 12, 16, 94, 23, 54, 324, 41, 15, 16, 13, 38, 34, 12, 14, 11, 21, 15, 302, 96, 21, 16, 10, 94, 45, 15, 69, 14, 18, 13, 12, 22, 12, 289, 33, 94, 18, 152, 18, 34, 171, 20, 79, 235, 13, 36, 25, 25, 10, 335, 51, 95, 1033, 241, 13, 363, 30, 58, 31, 10, 13, 22, 10, 14, 14, 19, 183, 150, 30, 254, 10, 305, 42, 1175, 12, 11, 10, 21, 12, 27, 10, 25, 33, 149, 79, 10, 56, 22, 510, 35, 22, 16, 903, 74, 25, 78, 25, 66, 47, 99, 30, 35, 11, 14, 206, 11, 57, 26, 11, 73, 79, 48, 34, 36, 82, 91, 179, 87, 35, 33, 18, 39, 12, 11, 25, 10, 17, 23, 261, 16, 10, 13, 11, 12, 17, 15, 54, 37, 14, 20, 136, 80, 24, 477, 13, 37, 13, 44, 69, 11, 1213, 57, 15, 59, 19, 12, 182, 11, 28, 58, 18, 17, 13, 11, 15, 13, 14, 155, 42, 19, 88, 53, 270, 11, 14, 12, 19, 29, 10, 71, 128, 10, 45, 116, 14, 12, 12, 21, 217, 28, 110, 12, 660, 65, 52, 6909, 11, 121, 46, 10, 759, 11, 65, 56, 65, 26, 498, 166, 18, 63, 15, 45, 18, 23, 73, 12, 26, 17, 201, 11, 16, 28, 86, 23, 30, 39, 23, 20, 313, 10, 44, 11, 408, 10, 27, 15, 14, 199, 33, 23, 22, 10, 19, 35, 16, 67, 36, 25, 26, 136, 80, 68, 95, 11, 425, 301, 26, 20, 11, 135, 33, 77, 11, 83, 15, 161, 36, 23, 36, 124, 49, 87, 77, 17, 78, 29, 86, 55, 25, 48, 33, 15, 24, 30, 19, 67, 27, 19, 31, 27, 10, 225, 25, 36, 37, 46, 52, 39, 34, 13, 882, 180, 11, 54, 76, 207, 315, 13, 10, 10, 110, 6209, 56, 31, 48, 152, 130, 184, 38, 23, 17, 12, 12, 18, 101, 29, 39, 135, 114, 36, 19, 14, 448, 11, 37, 11, 36, 11, 59, 14, 62, 145, 140, 24, 27, 15, 41, 21, 14, 11, 15, 92, 23, 166, 91, 87, 39, 26, 11, 17, 13, 68, 73, 13, 24, 117, 820, 180, 859, 137, 132, 13, 76, 14, 118, 12, 59, 10, 16, 16, 52, 303, 74, 18, 23, 11, 21, 87, 10, 33, 18, 14, 10, 34, 32, 34, 55, 34, 20, 19, 10, 93, 77, 24, 21, 48, 16, 70, 10, 14, 156, 14, 14, 44, 294, 14, 90, 20, 19, 12, 24, 10, 10, 45, 96, 65, 44, 23, 13, 68, 96, 58, 376, 2791, 13, 57, 13, 47, 11, 438, 22, 13, 15, 14, 11, 12, 32, 30, 92, 1009, 48, 30, 10, 23, 139, 86, 26, 11, 20, 46, 14, 26, 35, 62, 40, 44, 15, 475, 53, 11, 48, 280, 40, 20, 21, 119, 22, 111, 25, 11, 31, 13, 18, 35, 10, 12, 12, 22, 18, 12, 14, 92, 60, 388, 22, 42, 11, 82, 63, 37, 10, 36, 69, 15, 10, 1183, 136, 10, 267, 32, 56, 85, 43, 25, 29, 16, 12, 602, 1100, 22, 246, 56, 210, 62, 47, 35, 15, 10, 67, 31, 10, 855, 38, 655, 788, 17, 133, 15, 17, 41, 95939, 500, 1846, 8003, 511, 67, 24, 28, 18, 10, 91, 107, 96, 74, 108, 14, 31, 76, 116, 13, 16, 1721, 165, 119, 10, 11, 35, 2748, 188, 257, 101, 66, 215, 41, 14, 39, 55, 68, 37, 27, 41, 129, 19, 10, 86, 84, 92, 115, 174, 12, 10, 27, 18, 13, 25, 51, 299, 22, 23, 150, 14, 33, 17, 20, 15, 144, 203, 116, 22, 20, 13, 17, 26, 36, 14, 11, 27, 12, 76, 56, 95, 119, 14, 19, 14, 12, 24, 51, 27, 10, 13, 82, 38, 30, 16, 11, 10, 24, 23, 20, 14, 10, 13, 17, 238, 24, 144, 182, 129, 44, 53, 18, 84, 12, 23, 76, 24, 1575, 42, 82, 73, 186, 12, 26, 25, 16, 68, 521, 225, 104, 78, 16, 88, 250, 13, 77, 75, 360, 65, 9756, 788, 11, 27, 455, 36, 59, 29, 27, 135, 916, 13, 387, 32, 43, 19, 10, 22, 17, 15, 110, 25, 16, 28, 1469, 641, 17, 77, 476, 167, 547, 18, 3491, 37, 220, 12, 11, 53, 20, 91, 1661, 58, 18, 5252, 196, 1815, 1754, 22, 15, 13, 134, 61, 25, 11, 26, 120, 11, 68, 44, 28, 79, 13, 21, 13, 10, 32, 20, 12, 62, 17, 53, 11, 73, 14, 14, 53, 16, 13, 273, 14, 266, 18, 22, 32, 2249, 12, 27, 53, 155, 13, 781, 808, 184, 221, 379, 41, 109, 630, 182, 2771, 13, 57, 395, 62, 84, 32, 1409, 15, 81, 56, 843, 482, 44, 24, 14, 898, 103, 35, 26, 33, 23, 35, 179, 30, 468, 65, 83, 16, 720, 43, 11, 11, 22, 12, 23, 692, 44, 72, 2635, 1266, 639, 198, 133, 13, 14, 13, 38, 13, 26, 17, 12, 28, 22, 352, 203, 72, 32, 19, 11, 40, 59, 10, 16, 13, 95, 18, 13, 69, 747, 13, 132, 29, 59, 17, 94, 12, 29, 77, 33, 45, 100, 21, 5931, 623, 120, 831, 171, 43, 31, 417, 153, 67, 324, 185, 11, 42, 37, 23, 11, 14, 11, 24, 30, 95, 143, 23, 220, 50, 5663, 10, 96, 60, 1088, 15, 115, 357, 13, 15, 174, 67, 84, 11, 21, 67, 47, 1534, 81, 60, 13, 17, 32, 27, 37, 83, 54, 343, 111, 34, 24, 179, 18, 18, 46, 18, 35, 37, 16, 15, 10, 10, 25, 80, 12, 850, 84, 16, 26, 15, 121, 48, 80, 311, 23, 751, 155, 1243, 12, 1437, 52, 38, 13, 15, 19, 11, 10, 12, 409, 14, 59, 12, 60, 200, 202, 15, 13, 38, 10, 12, 75, 73, 147, 138, 418, 27, 399, 14, 38, 23, 10, 214, 17, 10, 13, 12, 84, 51, 14, 151, 24, 10, 62, 4384, 80, 72, 10, 758, 11, 311, 44, 749, 93, 12, 15, 36, 45, 79, 14, 15, 11, 174, 2160, 765, 122, 10, 19, 335, 103, 21, 556, 10, 11, 30, 55, 11, 39, 73, 376, 17, 444, 16, 1618, 227, 22, 32, 48, 27, 12, 12, 10, 179, 60, 409, 35, 207, 10, 11, 12, 15, 1826, 13, 822, 61, 17, 34, 10, 41, 88, 102, 293, 125, 14, 1038, 36, 18, 28, 218, 71, 11, 95, 85, 239, 506, 298, 35, 863, 101, 156, 57, 619, 48, 88, 17, 179, 57, 30, 122, 29, 107, 36, 10, 16, 11, 12, 58, 13, 18, 10, 33, 49, 20, 24, 35, 9860, 10, 25, 93, 994, 56, 280, 12, 28, 18595, 16, 126, 12, 87, 32, 42, 468, 151, 21, 28, 44, 131, 42, 309, 105, 26, 10, 24, 23, 17, 67, 680, 12, 32, 80, 31, 14, 69, 27, 1605, 412, 897, 544, 14, 428, 22, 773, 30, 47, 13, 12, 650, 209, 36, 77, 28, 10, 44, 1788, 14, 10, 39, 2042, 35, 15, 81, 865, 81, 129, 37, 45, 53, 24, 10, 33, 110, 14, 11, 1067, 25, 48, 57, 100, 312, 39, 22, 73, 11, 11, 12, 22405, 808, 27, 51, 3374, 515, 16, 138, 17, 14, 12, 31, 16, 24, 202, 61, 67, 18, 11, 445, 22, 98, 81, 14, 165, 11, 10, 46, 53, 68, 73, 43, 75, 124, 21, 14, 146, 17, 43, 108, 32, 225, 69, 19, 16, 10, 10, 305, 12, 97, 17, 10, 32, 70, 20, 19, 57, 11, 22, 15, 10, 70, 172, 10, 35, 75, 249, 57, 43, 30, 508, 49, 56, 40, 78, 49, 13, 382, 17, 20, 75, 74, 4524, 13, 12, 17, 42, 11, 13, 25, 60, 14, 40, 63, 26, 30, 67, 121, 11, 10, 14, 32, 10, 16, 14, 10, 73, 14, 69, 17, 15, 366, 16, 2856, 325, 45, 26, 24, 10, 85, 15, 39, 36, 15, 264, 55, 21, 53, 51, 4676, 26, 22, 32, 35, 108, 97, 27, 65, 17, 96, 69, 17, 1872, 138, 642, 65, 280, 23, 206, 48, 226, 1645, 52, 58, 30, 164, 37, 200, 369, 19, 20, 13, 77, 12, 60, 81, 112, 201, 116, 15, 11, 14, 11, 10, 2342, 3013, 112, 12, 126, 11, 12, 1804, 13, 24, 331, 163, 41, 36, 19, 335, 38, 17, 661, 147, 88, 27, 12, 42, 153, 13, 48, 12, 263, 37, 61, 11, 18, 25, 38, 37, 40, 16, 376, 67, 72, 84, 10, 24, 43, 104, 85, 42, 482, 33, 74, 27, 31, 38, 122, 23, 17, 1230, 389, 54, 143, 10, 19, 1225, 21, 64, 92, 12, 10, 65, 101, 27, 345, 56, 45, 13, 30, 13, 16, 27, 14, 87, 26, 26, 27, 27, 11, 130, 39, 104, 255, 12, 118, 10, 302, 85, 17, 13, 1652, 15, 70, 19, 10, 38, 781, 11, 16, 12, 86, 14, 31, 259, 35, 32, 119, 52, 10, 33, 18, 11, 22, 9004, 44, 163, 68, 10, 57, 43, 212, 2393, 236, 68, 13, 13, 11, 32, 667, 11, 28, 17, 378, 23, 16, 189, 28, 16, 13, 12, 51, 14, 15, 25, 15, 160, 22, 20, 2706, 12, 55, 15, 28, 10, 15, 40, 39, 21, 11, 22, 12, 274, 13, 162, 130, 40, 63, 20, 10, 10, 83, 10, 43, 123, 30, 13, 10, 41, 33, 1281, 12, 24, 20, 139, 10, 1007, 150, 228, 33, 15, 10, 30, 221, 11, 12, 816, 51, 867, 380, 235, 17, 73, 11, 188, 56, 18, 61, 14, 596, 1283, 401, 71, 730, 26, 57, 4099, 611, 18, 16, 10, 45, 12, 2734, 162, 6098, 476, 151, 115, 34, 1030, 249, 252, 16, 16, 107, 70, 39, 23, 19, 26, 10, 25, 206, 33, 11, 62, 109, 11, 104, 613, 455, 849, 32, 455, 83, 1832, 24, 49, 22, 64, 39, 11, 13, 116, 417, 14, 29, 176, 33, 12, 56, 13, 29, 77, 11, 209, 14, 57, 12, 1240, 95, 56, 89, 11, 49, 46, 17, 22, 24, 10, 12, 28, 71, 33, 11, 36, 32, 10, 16, 14, 10, 148, 166, 13, 11, 189, 35, 40, 26, 112, 52, 37, 65, 48, 168, 48, 52, 109, 10, 779, 10, 30, 27, 37, 340, 76, 36, 10, 49, 22, 65, 21, 29, 414, 10, 12, 14, 13, 16, 36, 26, 20, 10, 15, 18, 12, 21, 13, 17, 16, 19, 10, 19, 19, 27, 23541, 15, 515, 103, 87, 32, 17, 10, 31, 135, 18, 14, 13, 21, 240, 96, 14, 635, 78, 86, 55, 1406, 11, 74, 70, 11, 17, 56, 24, 87, 38, 24, 133, 525, 16, 189, 12, 102, 60, 14, 424, 11, 40, 129, 58, 591, 206, 107, 456, 331, 60, 1668, 44, 11, 17, 27, 11, 26, 88, 62, 12, 10, 13, 141, 13, 393, 211, 4184, 11, 26, 20, 15, 14, 53, 23, 169, 198, 10, 42, 14, 11003, 13, 23, 62, 25, 1716, 81, 28, 118, 12, 26, 51, 10, 39, 2008, 76, 111, 35, 10, 20, 1183, 22, 22, 28, 15, 11, 18, 72, 56, 19, 17, 29, 54, 21, 107, 55, 31, 16, 63, 17, 3552, 29, 16, 56, 35, 94, 165, 10, 47, 49, 1036, 29, 35, 285, 218, 10, 694, 31, 19, 130, 55, 602, 45, 29, 40, 62, 190, 131, 13, 26, 19, 13, 17, 33, 264, 301, 274, 61, 10, 43, 16, 15, 29, 18, 11, 1260, 10, 45, 771, 514, 27, 31, 73, 66, 21, 136, 46, 27, 81, 10, 12, 2694, 1468, 25, 53, 28, 12, 15, 55, 125, 189, 42, 70, 33, 40, 328, 90, 244, 14, 12, 257, 18, 11, 10, 19, 30, 11, 15, 17, 98, 12, 10, 395, 12, 429, 30, 43, 72, 13, 43, 72, 12, 15, 53, 13, 37, 72, 2503, 19, 15, 49, 31, 30, 40, 31, 11, 15, 23, 47, 189, 10, 14, 70, 30, 1125, 73, 25, 23, 10, 30, 16, 485, 37, 71, 465, 71, 21, 270, 25, 10, 31, 17, 11, 23, 39, 12, 111, 12, 47, 53, 95, 19, 18, 16, 31, 581, 45, 218, 135, 38, 70, 10, 154, 28, 101, 910, 25, 22, 654, 27, 1281, 303, 45, 185, 107, 20, 184, 544, 44, 32, 71, 11, 27, 31, 11, 144, 196, 45, 442, 231, 135, 13, 10, 45, 360, 37, 39, 10, 55, 171, 138, 16, 12, 31, 77, 74, 57, 35, 10, 190, 20, 113, 96, 12, 28, 69, 19, 135, 82, 135, 15, 15, 228, 12, 12, 15, 20, 58, 40, 27, 506, 989, 112, 95, 64, 61, 322, 15, 102, 62, 33, 81, 72, 13, 23, 11, 15, 35, 83, 12, 252, 32, 38, 42, 20, 39, 12, 837, 21, 49, 56, 152, 41, 59, 120, 2014, 159, 20, 15, 29, 19, 10, 47, 20, 27, 12, 24, 152, 76, 28, 18, 48, 42, 364, 16, 226, 83, 11, 10, 22, 52, 21, 187, 11, 86, 18, 78, 37, 54, 35, 11, 15, 72, 14, 15, 47, 14, 11, 12, 247, 51, 29, 43, 114, 73, 37, 22, 20, 13, 11, 180, 109, 47, 363, 55, 248, 23, 21, 742, 42, 13, 95, 13, 19, 161, 29, 25, 224, 175, 183, 212, 107, 96, 39, 201, 68, 476, 23, 80, 17, 189, 11, 471, 3540, 260, 217, 45, 81, 10, 21, 22, 11, 149, 84, 210, 57, 78, 23, 13, 184, 354, 235, 74, 100, 75, 105, 31, 17, 12, 60, 10, 17, 25, 12, 88, 27, 58, 130, 39, 568, 48, 188, 66, 26, 397, 10, 327, 255, 13, 99, 10, 102, 23, 10, 12, 32, 21, 463, 732, 41, 18, 54, 77, 2024, 81, 159, 15, 23, 12, 32, 10, 84, 16, 34, 69, 99, 22, 19, 36, 200, 24, 11, 19, 225, 101, 15, 11, 22, 12, 29, 44, 10, 30, 80, 59, 78, 10, 119, 16, 72, 91, 29, 117, 73, 11, 150, 243, 170, 121, 32, 12, 10, 12, 10, 10, 12, 11, 165, 323, 10, 113, 495, 41, 161, 91, 117, 16, 128, 189, 56, 10, 16, 16, 16, 28, 816, 89, 50, 95, 52, 52, 29, 36, 34488, 87, 10, 125, 22, 46, 15, 35, 86, 35, 15, 3369, 106, 87, 103, 60, 70, 73, 11, 29, 482, 45, 231, 24, 29, 16, 325, 561, 11, 10, 12, 14, 10, 116, 18, 41, 35, 26, 222, 22, 24, 17, 20, 40, 19, 161, 23, 12, 11, 57, 13, 23, 72, 35, 11, 2403, 354, 41, 11, 21, 29, 25, 17, 25, 11, 2891, 182, 44, 12, 69, 501, 141, 14, 14, 18, 55, 23, 25, 89, 98, 49, 125, 55, 67, 14, 21, 42, 22, 28, 79, 74, 923, 135, 10, 92, 53, 12, 12, 57, 30, 81, 13, 24, 32, 29, 12, 81, 67, 170, 54, 21, 268, 11, 37, 16, 110, 31, 75, 35, 73, 82, 22, 16, 27, 33, 10, 732, 13, 194, 135, 63, 899, 32, 19, 158, 41, 21, 11, 310, 791, 11, 453, 29, 11, 30, 44, 12, 12, 10, 219, 89, 173, 35, 97, 55, 302, 59, 10, 179, 52, 268, 84, 501, 67, 425, 160, 142, 542, 23, 252, 87, 240, 186, 176, 74, 68, 1137, 194, 10, 1183, 103, 125, 28, 115, 16, 28, 72, 25, 13, 266, 28, 33, 72, 18, 11, 19, 148, 584, 13, 97, 14, 47, 33, 19, 75, 17, 20, 59, 10, 11, 17, 14, 2656, 220, 10, 30, 31, 50, 22, 83, 21, 49, 85, 11, 3865, 237, 34, 909, 2281, 76, 12, 12, 97, 173, 126, 54, 28, 10, 253, 14, 952, 60, 19, 67, 276, 28, 10, 17, 15, 15, 542, 709, 906, 32, 14, 26, 11, 12, 164, 7673, 53, 161, 109, 81, 22, 28, 22, 58, 31, 107, 26, 13, 33, 13, 31, 47, 25, 39, 116, 619, 94, 18, 16, 11, 422, 42, 57, 63, 11, 156, 152, 188, 13, 13, 22, 645, 11, 70, 28, 71, 37, 10, 18, 42, 10, 27, 30, 15, 11, 111, 92, 50, 80, 266, 34, 14, 485, 10, 128, 128, 17, 18, 237, 30, 767, 17, 11, 175, 44, 15, 89, 11, 36, 41, 28, 4487, 41, 15, 108, 12, 12, 14, 35, 26, 54, 59, 67, 101, 18, 16, 10, 63, 60, 30, 17, 19, 21, 10, 42, 11, 22, 13, 12, 14, 141, 61, 11, 75, 496, 63, 43, 30, 38, 101, 13, 58, 74, 14, 45, 22, 83, 10, 25, 18, 32, 65, 132, 66, 12, 29, 555, 141, 176, 197, 217, 10, 36, 14, 96, 42, 12, 20, 28, 29, 53, 13, 28, 36, 27, 147, 22, 66, 37, 37, 20, 10, 64, 23, 85, 706, 16, 26, 54, 20, 26, 416, 31, 39, 10, 22, 22, 125, 20, 33, 10, 70, 19, 110, 89, 36, 10, 21, 27, 53, 10, 48, 20, 10, 16, 10, 16, 16, 269, 150, 25, 73, 60, 10, 12, 12, 257, 29, 11, 78, 33, 11, 72, 14, 83, 49, 26, 180, 11, 16, 11, 31, 11, 11, 50, 32, 11, 11, 31, 59, 11, 25, 81, 117, 16, 201, 15, 22, 32, 18, 129, 17, 16, 20, 266, 11, 111, 54, 17, 11, 17, 61, 10, 15, 14, 35, 21, 15, 137, 72, 41, 30, 30, 32, 13, 108, 12, 108, 14, 115, 18, 10, 11, 44, 330, 34, 63, 241, 38, 10, 39, 74, 27, 13, 134, 21, 56, 59, 2308, 30, 59, 14, 101, 100, 23, 687, 20, 31, 93, 20, 44, 10, 22, 213, 20, 88, 14, 40, 72, 60, 77, 15, 11, 66, 15, 587, 1078, 775, 201, 13, 182, 55, 92, 40, 118, 31, 28, 66, 83, 52, 1305, 95, 688, 30, 44, 175, 29, 12, 10, 10, 112, 69, 744, 496, 32, 42, 28, 39, 64, 30, 15, 20, 53, 90, 44, 13, 48, 416, 37, 328, 81, 54, 28, 13, 29, 45, 15, 11, 21, 258, 10, 20, 13, 58, 440, 13, 66, 10, 19, 32, 26, 55, 10, 58, 23, 11, 13, 84, 76, 61, 43, 31, 64, 21, 75, 340, 26, 27, 54, 10, 250, 107, 13, 64, 159, 14, 17, 138, 15, 10, 12, 20, 219, 79, 10, 57, 12, 23, 84, 102, 45, 132, 23, 194, 30, 17, 576, 20, 11, 542, 70, 214, 14, 114, 23, 13, 20, 3614, 15, 94, 1623, 54, 99, 160, 351, 434, 48, 13, 632, 13, 459, 10, 12, 75, 14, 99, 1381, 80, 46, 69, 25, 57, 13, 46, 95, 13, 47, 29, 60, 199, 764, 284, 11, 18, 22, 30, 447, 138, 14, 548, 128, 76, 12, 34, 921, 44, 50, 22, 12, 16, 11, 10, 75, 38, 21, 10, 115, 26, 242, 19, 78, 12, 15, 11, 14, 17, 909, 64, 798, 175, 97, 86, 28, 147, 92, 27, 142, 11, 17, 409, 140, 943, 54, 70, 366, 19, 127, 111, 51, 262, 1244, 103, 986, 35, 55, 22, 20, 85, 30, 1098, 10, 20, 169, 20, 65, 938, 15, 10, 12, 11, 64, 20, 12, 35, 36, 30, 361, 14, 30, 84, 12, 21, 15, 78, 11, 13, 10, 18, 155, 206, 75, 77, 14, 12, 29, 408, 108, 195, 35, 129, 40, 11, 58, 41, 31, 75, 29, 12, 11, 832, 66, 35, 18, 13, 18, 12, 21, 14, 749, 14, 75, 31, 108, 37, 367, 68, 1407, 59, 820, 423, 13, 10, 71, 111, 101, 49, 115, 27, 368, 33, 486, 16, 102, 13, 14, 16, 58, 45, 51, 63, 12, 123, 627, 355, 114, 12, 39, 18, 12, 99, 311, 13, 24, 16, 1105, 35, 16, 11, 384, 14, 12, 10, 26, 393, 66, 41, 1314, 34, 13, 86, 17, 326, 14, 368, 18, 19, 15, 24, 83, 19, 11, 25, 1215, 13, 33, 724, 363, 30, 38, 32, 12, 39, 17, 12, 27, 16, 47, 93, 84, 19, 25, 10, 35, 133, 13, 13, 16, 51, 843, 13, 441, 77, 11, 213, 28, 15, 15, 39, 16, 66, 14, 16, 116, 35, 24, 13, 115, 14, 69, 56, 488, 23, 146, 3753, 46, 207, 19, 1166, 370, 16, 74, 734, 16, 14, 116, 68, 49, 32, 32, 428, 209, 357, 61, 53, 15, 99, 10, 84, 11, 13, 834, 13, 43, 73, 439, 139, 11, 29, 98, 12, 244, 36, 15, 303, 13, 67, 25, 56, 11, 10, 47, 65, 83, 601, 93, 311, 123, 1075, 68, 99, 18, 138, 20, 204, 10, 10, 14, 2535, 75, 29, 129, 15, 28, 16, 14, 10, 20, 359, 1437, 30, 11, 22, 69, 61, 78, 2145, 79, 30, 78, 236, 86, 148, 11, 848, 13, 11, 101, 11, 627, 15, 50, 44, 55, 30, 11, 18, 18, 1949, 117, 13, 10, 11, 102, 31, 75, 51, 12, 11, 15, 168, 1396, 36, 95, 49, 26, 11, 15, 17, 273, 67, 46, 23, 40, 219, 15, 19, 322, 18, 146, 41, 72, 41, 28, 15, 77, 14, 14, 83, 1375, 37, 10, 16, 23, 2401, 57, 19, 76, 33, 58, 24, 10, 16, 28, 642, 84, 10, 12, 31, 12, 751, 37, 27, 391, 26, 28, 10, 41, 85, 47, 11, 70, 33, 24, 93, 10, 1621, 47, 64, 18, 11, 165, 112, 109, 59, 41, 17, 11, 10, 25, 133, 48, 34, 53, 30, 11, 16, 24, 45, 50, 30, 13, 19, 75, 27, 88, 911, 191, 12, 61, 134, 10, 17, 42, 225, 157, 10, 24, 15, 10, 29, 166, 126, 30, 31, 32, 50, 19, 60, 38, 98, 13, 20, 11, 44, 11, 295, 61, 69, 12, 14, 101, 12, 31, 30, 37, 362, 27, 32, 10, 14, 18, 10, 171, 23, 132, 92, 10, 14, 50, 16, 11, 36, 40, 63, 5329, 127, 15, 221, 66, 29, 13, 12, 32, 24, 14, 19, 13, 21, 11, 122, 392, 11, 21, 1324, 12, 10, 11, 34, 711, 443, 15, 13, 12, 13, 16, 208, 25, 15, 468, 10, 20, 13, 63, 47, 67, 57, 26, 31, 53, 230, 218, 23, 15, 17, 10, 22, 12, 45, 22, 15, 24, 39, 12, 202, 10, 11, 22, 68, 217, 23, 10, 34, 16, 12, 11, 11, 10, 11, 12, 64, 10, 13, 21, 15, 37, 100, 26, 14, 24, 13, 18, 12, 126, 1173, 384, 15, 14, 171, 305, 12, 84, 10, 12, 22, 37, 447, 75, 29, 46, 27, 23, 70, 310, 12, 49, 10, 13, 10, 137, 140, 241, 223, 69, 11, 105, 268, 36, 25, 26, 26, 74, 1292, 25, 238, 51, 29, 180, 36, 11, 164, 531, 90, 36, 98, 29, 21, 41, 16, 157, 475, 70, 14, 65, 7798, 129, 160, 266, 15, 219, 19, 42, 13, 13, 10, 220, 442, 162, 120, 189, 37, 36, 22, 98, 81, 97, 10, 121, 195, 53, 20, 96, 320, 40, 15, 905, 34, 61, 149, 47, 21, 39, 18, 27, 14, 311, 3284, 1662, 143, 174, 52, 25, 15, 302, 34, 23, 63, 11, 31, 13, 100, 13, 55, 26, 16, 23, 1046, 70, 14, 12, 10, 167, 28, 38, 244, 87, 10, 12, 11, 26, 55, 23, 16, 12, 31, 42, 26, 17, 11, 24, 10, 27, 14, 84, 134, 32, 26, 46, 289, 1242, 64, 13, 58, 34, 91, 323, 29, 120, 72, 162, 13, 33, 232, 14, 147833, 131, 55, 114, 1053, 1664, 727, 10, 101, 37, 12, 365, 148, 23, 10, 12, 10, 44, 13, 36, 16, 34, 110, 41, 105, 65, 35, 15, 12, 451, 17, 1583, 10, 27, 23, 3617, 12, 44, 11, 496, 1829, 42, 2450, 88, 1043, 137, 67, 176, 39, 122, 15, 95, 41, 18, 32, 30, 40, 26, 36, 228, 32, 78, 171, 59, 335, 24, 18, 21, 10, 14, 18, 370, 164, 996, 659, 39, 12, 10, 13, 29, 30, 11, 10, 23, 18, 13, 30, 145, 106, 32, 11, 37, 13, 22, 37, 37, 70, 38, 21, 94, 68, 17, 359, 18, 12, 28, 17, 37, 18, 17, 10, 35, 194, 144, 109, 230, 46, 766, 73, 171, 92, 30, 70, 43, 10, 12, 122, 49, 1171, 262, 2416, 1105, 128, 935, 41, 403, 2288, 94, 44, 13, 1104, 262, 66, 23, 43, 52, 13, 735, 522, 186, 16, 13, 11, 17, 23, 10, 19, 42, 11, 12, 1101, 25, 14, 10, 17, 109, 42, 50, 125, 16, 33, 12, 14, 10, 73, 107, 329, 39, 12, 372, 120, 31, 325, 97, 17, 96, 14, 29, 12, 135, 10, 729, 12, 50, 12376, 11, 50, 14, 456, 152, 11, 565, 92, 19, 83, 10, 714, 59, 12, 1554, 91, 10, 13, 72, 23, 18, 16, 22, 1149, 118, 29, 16, 14, 10, 13, 16, 20, 511, 222, 24, 10, 14, 57, 30, 13, 10, 1109, 107, 116, 13, 10, 11, 32, 13, 107, 62, 12, 57, 785, 48, 141, 18, 71, 22, 11, 14, 48, 55, 50, 158, 21, 56, 19, 18, 32, 2831, 109, 128, 32, 40, 10, 51, 11, 22, 1694, 13, 67, 23, 39, 15, 82, 11, 90, 12, 13, 30, 83, 523, 19, 10, 16, 20, 31, 16, 85, 23, 205, 31, 46, 244, 10, 11, 12, 11, 17, 30, 10, 55, 372, 24, 65, 38, 27, 14, 138, 32, 4173, 229, 42, 13, 16, 68, 20, 431, 504, 23, 35, 22, 26, 22, 12, 75, 1393, 32, 10, 29, 32, 13, 28, 52, 22, 16, 326, 28, 85, 46, 944, 12, 678, 499, 71, 292, 88, 12, 34, 46, 44, 19, 20, 29, 12, 17, 17, 53, 16, 18, 23, 161, 20, 467, 91, 17, 23, 18, 58, 70, 56, 14, 56, 46, 30, 42, 122, 23, 11, 15, 290, 131, 1022, 122, 649, 197, 10, 14, 152, 10, 3615, 2072, 45, 35, 99, 10, 71, 15, 54, 52, 87, 21, 182, 16, 75, 35, 110, 18, 20, 14, 10, 15, 1105, 14, 16, 14, 1616, 172, 22, 90, 21, 605, 320, 1481, 90, 754, 6628, 25, 469, 49, 46, 20, 10, 13, 28, 13, 12, 81, 156, 54, 194, 1498, 97, 57, 11, 15, 54, 16, 15, 117, 13, 29, 11, 38, 15, 10, 16, 10, 29, 12, 66, 13, 17, 16, 15, 20, 12, 16, 58, 27, 11, 3265, 58, 27, 99, 89, 10, 20, 102, 20, 104, 12, 94, 11, 25, 53, 52, 16, 50, 59, 114, 19, 23, 13, 24, 137, 35, 16, 78, 1467, 26, 78, 16, 99, 12, 12, 17, 14, 13, 115, 10, 267, 53, 139, 10, 21, 44, 941, 40, 56, 54, 47, 128, 15, 59, 10, 214, 12, 14, 474, 20, 11, 11, 82, 17, 18, 137, 11, 12, 20, 1506, 10, 13, 12, 12, 109, 191, 3172, 189, 121, 93, 108, 346, 87, 16, 12, 23, 25, 11, 13, 10, 44, 78, 67, 79, 16, 372, 89, 759, 45, 85, 37, 101, 515, 72, 53, 87, 10, 25, 12, 19, 1594, 480, 17, 55, 34, 182, 723, 10, 60, 38, 21, 50, 14, 63, 89, 19, 117, 67, 16, 11, 26, 175, 196, 21, 45, 100, 29, 66, 14, 13, 47, 54, 11, 48, 11, 20, 11, 22, 71, 154, 28, 141, 179, 10, 29, 46, 11, 15, 23, 84, 25, 100, 23, 10, 10, 24, 11, 11, 10, 12, 17, 59, 188, 143, 13, 314, 30, 150, 39, 21, 307, 763, 131, 122, 23, 18, 76, 58, 42, 32, 52, 26, 57, 11, 21, 13, 31, 10, 330, 16, 11, 11, 15, 110, 78, 10, 57, 12, 16, 216, 26, 5900, 1287, 467, 16, 81, 229, 46, 45, 9274, 145, 355, 44, 67, 13, 326, 801, 11, 33, 198, 22, 79, 11, 36, 494, 14, 32, 228, 108, 53, 29, 14, 10, 83, 36, 27, 143, 277, 37, 15, 63, 33, 10, 31, 51, 508, 11, 29, 15, 23, 18, 29, 12, 11, 227, 1876, 63, 12, 34, 73, 72, 20, 137, 93, 11, 27, 48, 23, 116, 1704, 43, 19, 341, 58, 21, 41, 14, 53, 12, 13, 22, 13, 14, 62, 88, 38, 267, 78, 11, 30, 21, 37, 105, 10, 150, 3708, 176, 126, 28, 76, 17, 4826, 568, 62, 150, 22, 72, 14, 15, 30, 10, 27, 181, 43, 11, 25, 73, 293, 135, 73, 11, 57, 11, 13, 12, 11, 175, 10, 17, 71, 110, 56, 10, 74, 12, 13, 12, 11, 15, 24, 201, 197, 113, 155, 42, 109, 129, 26, 13, 75, 10, 119, 242, 209, 18, 17, 10, 39, 41, 290, 12, 38, 97, 33, 43, 47, 65, 90, 148, 866, 47, 76, 13, 56, 11, 11, 28, 68, 13, 10, 17, 40, 26, 56, 153, 20, 74, 20, 26, 11, 24, 13, 30, 51, 14, 20, 10, 93, 56, 26, 23, 51, 16, 42, 2009, 90, 32, 195, 101, 150, 11, 61, 42, 10, 11, 64, 29, 137, 83, 485, 316, 64, 12, 11, 11, 11, 191, 34, 15, 10, 35, 17, 27, 20, 14, 11, 20, 32, 113, 74, 10, 34, 51, 33, 46, 40, 107, 17, 17, 24, 22, 21, 43, 73, 30, 11, 51, 20, 44, 242, 1218, 81, 10, 102, 77, 936, 249, 15, 13, 40, 150, 132, 48, 10, 95, 22, 20, 701, 22, 20, 51, 17, 126, 20, 156, 17, 169, 26, 16, 10, 10, 177, 20, 347, 26, 67, 53, 15, 10, 19, 68, 528, 499, 321, 158, 1236, 74, 28, 33, 142, 93, 30, 60, 30, 36, 30, 11, 121, 36, 398, 53, 11, 36, 42, 18, 105, 57, 43, 199, 45, 104, 10, 186, 15, 23, 16, 72, 23, 30, 11, 30, 20, 11, 25, 59, 162, 20, 12, 905, 119, 11, 299, 51, 10, 58, 113, 10, 22, 10, 10, 10, 58, 11, 351, 12, 13, 30, 29, 12, 14, 61, 11, 15, 18, 37, 19, 112, 66, 50, 11, 17, 10, 12, 28, 14, 27, 285, 11, 24, 12, 26, 10, 60, 11, 2225, 15, 14, 17, 103, 13, 19, 16, 153, 563, 14, 185, 40, 19, 40, 10, 113, 15, 1938, 10, 10, 10, 15, 15, 90, 10, 12, 11, 480, 30, 48, 13, 33, 18, 46, 48, 228, 45, 11, 55, 20, 43, 19, 42, 355, 12, 516, 12, 502, 39, 201, 14, 238, 967, 61, 10, 3331, 30, 12, 12, 50, 105, 10, 10, 72, 83, 101, 14, 11, 525, 10, 72, 21, 10, 12, 25, 33, 10, 11, 46, 21, 12, 72, 18, 70, 13, 102, 201, 45, 22, 17, 11, 52, 118, 10, 156, 14, 319, 20, 10, 52, 119, 10, 16, 25, 10, 15, 10, 47, 87, 32, 14, 124, 82, 82, 256, 148, 11, 11, 404, 92, 28, 221, 15, 77, 21, 42, 168, 18, 12, 39, 18, 30, 23, 10, 12, 12, 15, 64, 13, 11, 11, 29, 25, 12, 23, 23, 11, 39, 20, 11, 21, 57, 10, 12, 14, 26, 10, 12, 24, 11, 39, 13, 69, 34, 10, 237, 16, 27, 10, 26, 11, 11, 11, 31, 20, 12, 23, 21, 46, 31, 11, 13, 149, 12, 43, 24, 44, 28, 68, 60, 49, 10, 11, 18, 16, 13, 12, 20, 10, 22, 40, 11, 13, 27, 16, 10, 101, 10, 11, 10, 21, 11, 10, 11, 13, 36, 12, 11, 19, 26, 11, 12, 25, 13, 15, 13, 82, 10, 18, 16, 10, 19, 42, 20, 186, 16, 13, 25, 20, 11, 13, 15, 18, 172, 21, 12, 14, 18, 15, 12, 14, 13, 10, 14, 47, 301, 11, 10, 53, 10, 13, 147, 14, 11, 13, 11, 21, 14, 10, 12, 10, 20, 16, 15, 10, 10, 44, 67, 26, 13, 13, 20, 10, 18, 20, 12, 128, 38, 12, 17, 10, 13, 10, 13, 10, 16, 18, 26, 10, 11, 10, 10, 293, 46, 10, 33, 11, 42, 12, 54, 11, 11, 41, 23, 11, 11, 105, 11, 12, 502, 17, 31, 11, 11, 21, 10, 14, 11, 11, 11, 13, 13, 124, 13, 10, 16, 12, 44, 16, 23, 23, 20, 34, 25, 12, 10, 50, 21, 23, 72, 11, 17, 19, 35, 14, 10, 15, 12, 15, 81, 32, 572, 32, 11, 11, 11, 13, 22, 20, 14, 118, 14, 18, 20, 28, 106, 52, 167, 15, 36, 19, 39, 30, 12, 15, 41, 261, 111, 932, 181, 11, 304, 61, 50, 37, 287, 1031, 16, 123, 10, 298, 17, 89, 18, 15, 14, 11, 207, 13, 17, 24, 7997, 12, 32, 2170, 134, 466, 29, 10, 26, 45, 57, 32, 78, 96, 39, 48, 104, 21, 16, 17, 10, 37, 17, 11, 16, 70, 13, 10, 51, 25, 176, 11, 23, 17, 17, 13, 101, 46, 17, 12, 115, 28, 13, 12, 77, 32, 40, 11, 19, 10, 16, 234, 107, 32, 24, 13, 10, 66, 99, 11, 14, 24, 120, 95, 13, 314, 75, 16, 147, 137, 16, 26, 89, 22, 112, 147, 45, 10, 19, 23, 80, 31, 77, 26, 12, 146, 40, 94, 11, 11, 75, 12, 11, 136, 57, 35, 504, 54, 53, 92, 48, 69, 13, 15, 75, 143, 11, 60, 12, 20, 13, 194, 41, 448, 39, 23, 11, 11, 10, 326, 12, 14, 36, 13, 310, 27, 24, 41, 20, 46, 15, 20, 36, 34, 10, 58, 43, 75, 21, 151, 143, 64, 17, 22, 105, 10, 182, 13, 20, 11, 11, 15, 76, 49, 14, 25, 22, 13, 14, 73, 10, 18, 32, 11, 17, 13, 31, 24, 21, 182, 14, 13, 13, 28, 10, 29, 100, 43, 738, 25, 23, 19, 13, 63, 15, 37, 10, 21, 13, 12, 153, 19, 11, 17, 16, 65, 24, 44, 13, 49, 31, 102, 18, 114, 13, 34, 10, 58, 131, 22, 132, 100, 19, 10, 15, 126, 10, 10, 21, 48, 25, 37, 14, 14, 121, 491, 30, 13, 15, 44, 10, 10, 15, 68, 25, 10, 18, 16, 25, 83, 10, 14, 37, 191, 51, 865, 111, 242, 703, 16, 16, 649, 471, 75, 23, 864, 102, 97, 239, 31, 18, 80, 18, 71, 11, 62, 10, 188, 456, 13, 3374, 102, 128, 10, 15, 1008, 19, 25, 17, 44, 17, 11, 13, 22, 38, 20, 12, 10, 24, 366, 21, 21, 19, 49, 2148, 613, 586, 10, 17, 14, 11, 13, 10, 10, 24, 34, 32, 221, 44, 11, 49, 19, 27, 13, 14, 11, 10, 34, 380, 41, 32, 103, 21, 23, 346, 12, 23, 16, 108, 10, 11, 15, 95, 11, 10, 152, 37, 47, 15, 21, 254, 220, 75, 23, 10, 88, 56, 38, 28, 17, 14, 21, 52, 226, 16, 21, 34, 12, 12, 10, 13, 82, 10, 18, 49, 443, 28, 14, 30, 28, 19, 71, 13, 13, 17, 33, 81, 19, 11, 54, 16, 19, 10, 31, 14, 39, 10, 69, 10, 16, 13, 71, 19, 732, 11, 13, 12, 10, 10, 11, 88, 123, 12, 29, 66, 58, 71, 234, 247, 18, 14, 84, 30, 41, 173, 21, 14, 11, 11, 13, 151, 44, 28, 34, 23, 11, 11, 53, 32, 75, 2237, 30, 86, 39, 375, 93, 64, 14, 17, 28, 12, 183, 13, 16, 36, 26, 365, 98, 40, 75, 262, 84, 349, 18, 21, 30, 11, 16, 39, 11, 50, 251, 691, 95, 14, 23, 10, 139, 29, 14, 28, 764, 14, 27, 541, 531, 55, 27, 13, 89, 13, 27, 156, 52, 19, 25, 10, 129, 92, 33, 392, 11, 14, 32, 22, 301, 232, 39, 441, 18, 11, 14, 123, 25, 18, 18, 79, 20, 11, 104, 18, 42, 44, 224, 260, 24, 13, 35, 34, 39, 1046, 18, 17, 41, 84, 63, 12, 10, 13, 26, 10, 15, 45, 13, 10, 17, 19, 23, 51, 54, 77, 13, 66, 24, 27, 30, 15, 20, 186, 10, 19, 66, 96, 57, 68, 30, 177, 208, 22, 39, 10, 44, 14, 67, 63, 35, 10, 12, 41, 13, 15, 99, 81, 74, 11, 138, 28, 343, 13, 85, 30, 27, 11, 68, 35, 16, 42, 21, 102, 32, 29, 16, 13, 57, 116, 15, 12, 12, 394, 120, 8274, 13, 365, 64, 32, 169, 562, 14, 10, 44, 111, 680, 13, 16, 58, 212, 153, 12, 177, 45, 181, 10, 29, 13, 14, 10, 18, 49, 38, 10, 37, 121, 14, 13, 563, 12, 11, 14, 13, 17, 11, 21, 315, 16, 27, 25, 294, 22, 28, 14, 10, 20, 22, 33, 18, 82, 44, 32, 14, 190, 14, 64, 644, 15, 77, 65, 78, 45, 139, 182, 46, 149, 163, 23, 93, 40, 10, 38, 17, 12, 16, 29, 96, 738, 15, 30, 44, 12, 11, 150, 13, 35, 21, 12, 16, 71, 372, 14, 67, 21, 76, 13, 24, 44, 32, 87, 25, 75, 49, 139, 20, 75, 210, 12, 10, 12, 114, 12, 23, 13, 10, 23, 21, 39, 26, 13, 22, 11, 11, 273, 78, 40, 11, 350, 10, 14, 36, 17, 75, 80, 159, 119, 31, 22, 31, 71, 28, 39, 18, 24, 251, 12, 16, 12, 23, 112, 165, 32, 62, 38, 11, 216, 45, 93, 122, 10, 12, 16, 39, 20, 2687, 15, 11, 20, 133, 204, 47, 1030, 12, 13, 17, 106, 11, 199, 69, 19, 259, 35, 20, 13, 12, 60, 12, 92, 232, 177, 49, 29, 28, 33, 11, 16, 29, 10, 22, 30, 11, 21, 11, 34, 20, 77, 365, 11, 45, 29, 12, 24, 13, 80, 21, 104, 12, 22, 39, 34, 12, 27, 30, 47, 33, 23, 42, 19, 53, 23, 15, 245, 15, 121, 19, 103, 32, 36, 77, 103, 61, 100, 26, 114, 305, 11, 36, 2151, 11, 28, 808, 20, 116, 12, 22, 13, 378, 14, 18, 10, 10, 96, 34, 15, 150, 67, 442, 36, 32, 74, 21, 13, 23, 16, 40, 18, 372, 15, 14, 10, 38, 31, 12, 11, 13, 979, 697, 10, 92, 13, 85, 10, 12, 80, 28, 27, 84, 410, 84, 24, 13, 584, 36, 10, 18, 12, 928, 11, 112, 29, 83, 62, 35, 93, 317, 35, 15, 128, 251, 30, 48, 688, 19, 171, 338, 137, 98, 394, 75, 105, 123, 47, 49, 15, 85, 18, 350, 316, 437, 179, 244, 304, 11, 15, 18, 74, 20, 148, 204, 491, 47, 131, 128, 43, 1339, 29, 65, 69, 76, 12, 10, 15, 12, 33, 11, 10, 30, 36, 11, 136, 97, 32, 21, 15, 74, 14, 566, 21, 231, 32, 24, 14, 14, 13, 121, 10, 2326, 10, 184, 93, 54, 45, 37, 246, 102, 67, 13, 11, 13, 94, 70, 110, 34, 90, 14, 14, 98, 855, 17, 55, 90, 252, 25, 12, 70, 51, 27, 144, 14, 130, 118, 10, 223, 11, 3003, 80, 56, 19, 25, 226, 15, 16, 29, 29, 48, 175, 11, 10, 94, 12, 74, 11, 11, 38, 18, 37, 14, 42, 74, 808, 10, 57, 31, 26, 54, 11, 50, 25, 16, 21, 30, 154, 222, 4148, 1071, 135, 13, 10, 43, 15, 18, 82, 11, 715, 169, 98, 29, 13, 32, 112, 27, 188, 33, 30, 67, 10, 189, 19, 83, 61, 13, 2030, 29, 744, 50, 93, 370, 1684, 2220, 2636, 623, 892, 14, 12, 297, 313, 11, 695, 74, 22, 129, 36, 271, 75, 52, 40, 13, 20, 146, 24, 121, 466, 17, 33, 144, 1262, 41, 90, 136, 23, 10, 507, 74, 37, 92, 16, 17, 28, 28, 10, 11, 148, 10, 11, 81, 107, 38, 11, 27, 12, 12, 67, 72, 45, 17, 38, 35, 205, 62, 10, 17, 58, 29, 10, 73, 13, 11, 14, 10, 21, 30, 49, 60, 33, 224, 26, 13, 21, 27, 10, 10, 19, 162, 20, 15, 10, 26, 19, 11, 30, 24, 35, 256, 26, 10, 32, 32, 32, 34, 33, 111, 246, 429, 50, 24, 43, 150, 16, 11, 26, 10, 46, 42, 1584, 54, 13, 266, 193, 123, 42, 22, 206, 36, 92, 46, 70, 79, 34, 22, 367, 25, 74, 63, 11, 80, 10, 1540, 246, 12, 16, 229, 106, 48, 15, 60, 13, 32, 172, 17, 32, 88, 23, 13, 79, 29, 40, 10, 27, 80, 32, 164, 15, 10, 26, 43, 38, 10, 21, 187, 30, 31, 64, 29, 34, 60, 23, 65, 32, 17, 153, 75, 16, 21, 35, 12, 222, 16, 79, 18, 14, 68, 41, 76, 32, 10, 60, 10, 14, 11, 27, 40, 65, 17, 15, 31, 59, 162, 15, 13, 64, 24, 13, 13, 24, 14, 23, 84, 16, 30, 36, 302, 57, 407, 28, 18, 69, 141, 11, 486, 24, 545, 27, 52, 3013, 12, 10, 24, 1011, 654, 21, 31, 22, 11, 102, 15, 123, 599, 11, 15, 29, 33, 130, 10, 3853, 35, 94, 25, 16, 12, 16, 170, 67, 1264, 14, 13, 84, 384, 26, 91, 123, 55, 255, 15, 26, 170, 38, 13, 35, 30, 12, 30, 27, 22, 64, 23, 111, 17, 24, 21, 152, 19, 119, 39, 40, 178, 311, 47, 25, 345, 85, 31, 23, 21, 248, 94, 147, 19, 2105, 13, 39, 94, 12, 14, 14, 68, 13, 35, 15, 12, 20, 16, 11, 182, 11, 24, 553, 91, 14, 11, 10, 170, 721, 10, 12, 605, 225, 197, 32, 59, 60, 10, 11, 111, 135, 270, 19, 754, 61, 12, 12, 14, 77, 100, 73, 70, 346, 50, 35, 16, 92, 31, 23, 11, 17, 44, 44, 95, 15, 282, 13, 173, 109, 119, 13, 569, 42, 19, 18, 20, 80, 15, 29, 10, 22, 29, 11, 117, 13, 10, 54, 57, 90, 15, 12, 34, 50, 14, 295, 16, 93, 12, 96, 74, 33, 20, 17, 17, 90, 75, 272, 13, 10, 24, 12, 179, 20, 109, 16, 74, 30, 10, 31, 25, 50, 455, 25, 11, 29, 132, 46, 20, 16, 152, 74, 211, 328, 89, 13, 10, 20, 130, 13, 15, 18, 28, 63, 14, 91, 1255, 1084, 76, 85, 25, 62, 489, 12, 48, 972, 33, 10, 253, 60, 220, 181, 12, 45, 116, 84, 181, 39, 35, 178, 449, 12, 375, 73, 10, 75, 736, 394, 49, 154, 12, 133, 41, 31, 19, 117, 58, 90, 23, 12, 122, 27, 97, 81, 139, 274, 113, 43, 492, 598, 27, 122, 26, 20, 11, 21, 61, 16, 14, 10, 10, 12, 34, 553, 27, 32, 10, 110, 16, 32, 27, 35, 26, 15, 21, 51, 65, 99, 48, 15, 38, 11, 53, 13, 40, 195, 21, 55, 170, 36, 20, 30, 16, 29, 17, 10, 37, 360, 11, 24, 10, 39, 114, 14, 89, 26, 28, 156, 57, 16, 10, 67, 20, 11, 193, 884, 44, 30, 42, 17, 22, 105, 29, 500, 92, 194, 36, 55, 2720, 10, 719, 23, 229, 11, 51, 202, 10, 10, 22, 40, 407, 11, 13, 45, 10, 48, 33, 30, 167, 141, 15, 35, 107, 118, 14, 54, 13, 95, 10, 23, 81, 97, 1325, 19, 137, 22, 21, 343, 12, 18, 13, 48, 18, 13, 71, 21, 674, 146, 30, 93, 18, 31, 584, 527, 42, 31, 84, 10, 70, 14, 60, 331, 151, 22, 16, 14, 22, 11, 15, 17, 16, 309, 53, 35, 217, 28, 20, 20, 11, 25, 10, 34, 61, 91, 13, 18, 10, 28, 246, 51, 11, 48, 20, 69, 23, 20, 32, 20, 21, 17, 23, 13, 11, 938, 16, 145, 10, 69, 243, 10, 25, 4622, 30, 489, 23, 33, 13, 12, 10, 18, 59, 13, 10, 2510, 141, 220, 40, 10, 90, 36, 64, 32, 10, 343, 660, 220, 80, 70, 118, 58, 25, 143, 949, 62, 18, 204, 212, 440, 91, 20, 70, 18, 34, 15, 10, 80, 5035, 28, 228, 48, 10, 2926, 11839, 183, 14, 41, 23, 24, 63, 112, 38, 84, 35, 49, 42, 151, 61, 75, 311, 40, 53, 115, 144, 3104, 1180, 445, 88, 23, 20, 11, 70, 3602, 540, 11, 64, 64, 52, 12, 10, 10, 123, 13, 32, 43, 75, 33, 39, 14, 40, 16, 31, 11, 49, 54, 19, 95, 20, 12, 19, 30, 113, 43, 736, 34, 182, 20, 52, 40, 24, 15, 10, 26, 11, 10, 53, 165, 349, 123, 20, 10, 222, 169, 87, 30, 68, 15, 57, 12, 15, 849, 68, 173, 98, 31, 292, 2466, 13, 16, 11, 35, 35, 42, 22, 22, 42, 10, 58, 10, 11, 175, 124, 16, 17, 462, 25, 56, 44, 12, 15, 18, 22, 45, 106, 25, 177, 55, 12, 1491, 30, 13, 29, 36, 82, 26, 95, 80, 47, 15, 19, 16, 10, 12, 12, 36, 10, 42, 13, 77, 19, 12, 93, 11, 23, 17, 11, 97, 35, 11, 14, 11, 19, 20, 12, 120, 255, 156, 15, 94, 613, 32, 12, 34, 12, 12, 65, 163, 11, 83, 31, 60, 21, 35, 33, 67, 118, 13, 50, 41, 21, 14, 158, 431, 12, 30, 209, 10, 25, 126, 10, 10, 25, 268, 41, 40, 78, 72, 66, 79, 18, 16, 21, 15, 16, 91, 354, 23, 14, 21, 20, 10, 13, 318, 14, 82, 12, 17, 31, 46, 11, 885, 59, 25, 59, 67, 74, 18, 10, 47, 13, 11, 24, 456, 33, 19, 13, 68, 107, 17, 22, 127, 13, 10, 1196, 58, 57, 10, 10, 14, 49, 11, 20, 27, 29, 24, 10, 11, 12, 36, 62, 26, 108, 68, 433, 31, 10, 98, 106, 200, 34, 14, 16, 10, 10, 75, 14, 31, 15, 73, 73, 15, 121, 45, 12, 11, 135, 134, 74, 14, 10, 82, 70, 10, 15, 541, 11, 21, 11, 69, 57, 14, 38, 14, 36, 53, 25, 12, 17, 47, 286, 100, 44, 59, 15, 32, 37, 134, 22, 71, 11, 1667, 10, 14, 35, 25, 13, 76, 28, 78, 12, 256, 25, 11, 11, 192, 179, 280, 20, 11, 24, 205, 110, 19, 34, 89, 144, 39, 313, 24, 13, 37, 22, 10, 35, 3654, 16, 212, 23, 98, 35, 163, 203, 14, 73, 13, 41, 20, 73, 16, 62, 11, 18, 241, 10, 10, 76, 10, 11, 18, 70, 13, 15, 73, 80, 12, 98, 274, 10, 18, 57, 24, 11, 45, 48, 33, 10, 23, 11, 31, 12, 13, 12, 92, 44, 45, 23, 10, 135, 19, 33, 12, 957, 48, 20, 43, 58, 74, 12, 100, 146, 128, 945, 38, 34, 174, 229, 10, 38, 34, 521, 25, 81, 34, 24, 27, 757, 129, 81, 15, 10, 401, 292, 11, 10, 54, 71, 90, 1971, 105, 539, 42, 13, 5352, 320, 29, 11, 10, 25, 55, 21, 62, 16, 86, 12, 13, 11, 11, 64, 37, 24, 177, 53, 34, 29, 10, 891, 22, 34, 12, 28, 12, 96, 14, 69, 10, 25, 19, 15, 60, 46, 74, 163, 92, 41, 40, 38, 393, 346, 578, 12, 56, 21, 17, 10, 42, 22, 17, 15, 34, 13, 22, 405, 195, 339, 35, 297, 11, 18, 148, 770, 211, 55, 68, 31, 13, 96, 10, 11, 109, 13, 83, 16, 22, 15, 45, 26, 21, 33, 180, 11, 49, 10, 10, 10, 172, 93, 13, 3903, 233, 26, 106, 43, 52, 12, 10, 10, 13, 11, 674, 1944, 14, 46, 11, 17, 193, 19, 597, 29, 285, 28, 16, 142, 11, 12, 47, 1434, 41, 212, 25, 50, 60, 22, 55, 12, 217, 26, 113, 60, 30, 54, 214, 31, 25, 27, 117, 184, 397, 201, 854, 10, 36, 10, 33, 24, 140, 151, 96, 74, 214, 439, 501, 43, 27, 161, 48, 12, 13, 60, 29, 479, 35, 37, 56, 11, 137, 105, 24, 21, 12, 91, 23, 42, 13, 33, 23, 11, 224, 288, 73, 40, 15, 34, 325, 81, 18, 151, 70, 27, 142, 43, 11, 426, 26, 17, 12, 11, 37, 19, 27, 74, 14, 30, 251, 56, 92, 16, 17, 39, 26, 19, 39, 74, 17, 25, 224, 54, 175, 52, 29, 56, 22, 504, 235, 32, 10, 20, 35, 107, 18, 24, 10, 18, 73, 283, 14, 167, 39, 30, 107, 15, 46, 47, 13, 110, 11, 63, 37, 12, 23, 38, 16, 46, 58, 52, 120, 294, 33, 21, 14, 44, 10, 201, 92, 36, 13, 28, 16, 22, 14, 15, 49, 74, 45, 31, 13, 25, 14, 20, 10, 39, 33, 10, 19, 19, 46, 11, 113, 325, 46, 43, 16, 27, 11, 49, 359, 146, 65, 34, 46, 470, 49, 124, 551, 12, 14, 17, 60, 60, 30, 94, 43, 26, 12, 38, 360, 15317, 10, 34, 128, 17, 13, 13, 15, 25, 91, 107, 22, 46, 15, 506, 10, 65, 636, 27, 21, 15, 11, 16, 74, 18, 10, 43, 525, 19, 15, 10, 729, 11, 49, 11, 35, 32, 74, 10, 27, 185, 30, 19, 34, 14, 10, 18, 45, 478, 196, 745, 49, 54, 189, 44, 69330, 44, 65, 11, 12, 10, 15, 309, 65, 12, 32, 49, 123, 30, 29, 17, 26, 602, 10, 252, 50, 23, 14, 1173, 162, 598, 3626, 57, 33, 18, 138, 67, 578, 19, 393, 18, 215, 11, 44, 18, 185, 428, 285, 30, 17, 11, 19, 29, 26, 301, 32, 183, 25, 442, 29, 54, 15, 125, 114, 251, 17, 269, 35, 24, 40, 27, 49, 16, 10, 78, 28, 13, 15, 18, 13, 1125, 74, 23, 10, 17, 18, 42, 24, 13, 11, 66, 45, 30, 40, 40, 12, 15, 2290, 49, 97, 14, 272, 21, 16, 25, 13, 166, 25, 10, 12, 77, 10, 31, 10, 31, 21, 10, 57, 13, 20, 93, 29, 13, 20, 371, 45, 31, 12, 27, 11, 16, 10, 14, 94, 14, 21, 62, 34, 21, 11, 22, 33, 100, 14, 17, 13, 82, 81, 92, 116, 50, 14, 265, 113, 473, 22, 11, 56, 29, 125, 14, 16, 28, 22, 254, 189, 290, 43, 85, 10, 11, 30, 12, 53, 152, 80, 36, 18, 130, 33, 54, 52, 33, 158, 4688, 40, 56, 137, 12, 11, 12, 27, 10, 1050, 78, 44, 224, 10, 21, 192, 35, 59, 70, 451, 2846, 22, 10, 10, 25, 85, 58, 10, 25, 77, 19, 148, 102, 48, 12, 48, 135, 101, 26, 12, 10, 165, 16, 31, 10, 10, 411, 21, 10, 124, 11, 11, 32, 26, 33, 20, 28, 85, 52, 16, 13, 15, 63, 18, 44, 1315, 1002, 1446, 99, 24, 118, 10, 10, 32, 15, 204, 14, 25, 31, 12, 21, 15, 10, 57, 40, 30, 93, 11, 20, 13, 2130, 41, 43, 63, 68, 26, 25, 15, 12, 22, 329, 11, 262, 13, 12, 1617, 899, 29, 295, 12, 13, 186, 166, 107, 61, 66, 20, 17, 25, 20, 2371, 78, 1091, 33, 19, 20, 105, 57, 75, 22, 37, 17, 11, 83, 13, 105, 345, 303, 43, 126, 16, 125, 10, 48, 14, 448, 13, 24, 99, 157, 49, 79, 21, 266, 136, 230, 199, 173, 400, 10, 10, 23, 135, 53, 35, 10, 266, 32, 19, 29, 12, 28, 13, 16, 11, 10, 27, 25, 30, 802, 169, 65, 41, 11, 16, 17, 13, 15, 10, 184, 10, 77, 66, 42, 649, 790, 15, 10, 33, 19, 20, 20, 364, 573, 74, 298, 12, 59, 511, 347, 24, 25, 14, 26, 18, 67, 49, 89, 11, 17, 10, 12, 94, 256, 93, 182, 165, 22, 15, 117, 12, 44, 166, 21, 76, 1536, 97, 86, 14, 13, 281, 168, 11, 25, 15, 17, 824, 293, 625, 17, 251, 13, 45, 464, 16, 15, 141, 85, 14, 24, 47, 12, 803, 53, 24, 90, 26, 19, 21, 14, 126, 46, 77, 46, 31, 10, 15, 42, 693, 37, 157, 11, 60, 16, 67, 45, 387, 23, 13, 12, 12, 22, 19, 15, 11, 28, 182, 17, 36, 11, 299, 29, 39, 32, 27, 10, 200, 78, 46, 25, 319, 41, 42, 59, 19, 51, 836, 13, 13, 10, 120, 66, 189, 23, 734, 22, 28, 668, 46, 20, 21, 433, 16, 15, 16, 82, 32, 24, 19, 12, 116, 52, 38, 14, 23, 43, 127, 21, 92, 18, 12, 105, 15, 49, 175, 16, 76, 27, 141, 35, 10035, 33, 10, 47, 10, 11, 18, 17, 42, 40, 948, 25, 29, 10, 112, 26, 187, 107, 242, 18, 24, 12, 320, 10, 18, 1227, 245, 67, 17, 91, 70, 14, 171, 39, 10, 65, 32, 10, 16, 18, 12, 15, 17, 32, 32, 246, 15, 76, 10, 10, 211, 47, 59, 12, 2028, 22, 12, 18, 70, 12, 23, 27, 294, 320, 143, 24, 20, 833, 30, 47, 10, 29, 32, 148, 2274, 26, 278, 546, 25, 80, 46, 10, 25, 96, 182, 11, 68, 69, 12, 43, 11, 10, 11, 165, 15, 35, 27, 538, 15, 17, 16, 15, 14, 13, 74, 26, 49, 38, 11, 395, 24, 10, 18, 507, 11, 151, 17, 11, 10, 119, 26, 14, 11, 34, 28, 35, 20, 117, 22, 27, 68, 147, 14, 22, 32, 85, 53, 22, 15, 36, 83, 154, 12, 82, 35, 189, 19, 19, 29, 47, 28, 104, 94, 26, 57, 10, 278, 42, 32, 67, 10, 13, 16, 18, 11, 43, 74, 16, 35, 11, 65, 13, 25, 844, 13, 28, 33, 15, 113, 75, 12, 29, 75, 10, 14, 13, 12, 10, 59, 16, 10, 13, 782, 303, 10, 257, 11, 120, 17, 59, 544, 148, 278, 19, 257, 31, 12, 258, 49, 60, 14, 28, 15, 32, 119, 30, 40, 278, 49, 47, 62, 12, 32, 12, 92, 12, 28, 29, 154, 36, 22, 29, 89, 125, 16, 134, 618, 10, 52, 27, 101, 10, 412, 10, 343, 52, 52, 65, 33, 23, 20, 36, 91, 79, 13, 12, 109, 50, 154, 22, 13, 50, 104, 62, 24, 254, 296, 19, 37, 42, 49, 11, 1655, 2668, 2241, 13, 95, 137, 13, 959, 85, 59, 19, 13, 13, 31, 113, 12, 12, 33, 21, 53, 96, 15, 16, 22, 80, 133, 37, 33, 447, 386, 40, 10, 11, 107, 38, 11, 93, 20, 13, 12, 15, 10, 57, 17, 151, 10, 33, 78, 77, 11, 24, 10, 47, 10, 798, 95, 13, 47, 16, 23, 36, 131, 19, 270, 32, 32, 139, 11, 50, 10, 151, 1260, 36, 439, 41, 503, 36, 72, 270, 242, 17, 394, 1103, 60, 34, 83, 14, 46, 20, 51, 24, 37, 630, 11, 47, 27, 72, 27, 659, 25, 210, 394, 19, 273, 74, 10, 11, 90, 34, 10, 24, 45, 15, 27, 10, 10, 19, 29, 10, 125, 88, 10, 36, 13, 27, 39, 25, 10, 17, 27, 26, 161, 28, 415, 29, 48, 244, 68, 48, 15, 27, 903, 22, 74, 18, 3041, 46, 16, 14, 32, 31, 42, 12, 68, 123, 3510, 486, 15, 418, 244, 218, 23, 74, 10, 16, 14, 289, 26, 23, 18, 195, 461, 271, 466, 2031, 39, 66, 1550, 15, 611, 1565, 466, 173, 140, 51, 12, 144, 15, 88, 804, 391, 16, 10, 73, 32, 64, 60, 24, 37, 100, 51, 95, 142, 59, 27, 74, 16, 11, 37, 65, 354, 62, 168, 56, 18, 13, 12, 26, 29, 61, 21, 11, 188, 13, 11, 19, 18, 10, 17, 35, 4045, 12, 19, 39, 10, 38, 25, 80, 264, 60, 16, 67, 82, 38, 15, 29, 96, 18, 20, 82, 151, 27, 13, 74, 54, 16, 332, 18, 60, 24, 18, 81, 48, 24, 1068, 365, 69, 97, 116, 11, 13, 117, 143, 11, 374, 234, 79, 19, 84, 100, 26, 141, 14, 17, 10, 57, 104, 30, 54, 60, 11, 29, 51, 985, 38, 66, 31, 34, 22, 13, 12, 1008, 14, 11, 12, 10, 12, 13, 14, 13, 15, 94, 26, 14, 23, 61, 89, 55, 10, 57, 50, 10, 26, 10, 62, 31, 10, 69, 24, 12, 23, 19, 10, 73, 27, 99, 36, 28, 16, 220, 23, 108, 26, 21, 35, 53, 56, 213, 13, 12, 25, 15, 13, 21, 11, 24, 17, 17, 149, 92, 67, 27, 51, 27, 83, 10, 154, 23, 55, 13, 26, 13, 22, 10, 10, 58, 17, 11, 13, 550, 215, 13, 10, 23, 45, 12, 14, 10, 49, 11, 10, 46, 23, 37, 55, 10, 10, 142, 26, 10, 145, 17, 13, 15, 29, 31, 11, 11, 12, 11, 189, 62, 899, 40, 5026, 10, 10, 54, 19, 33, 2862, 517, 126, 31, 22, 682, 37, 370, 17, 31, 13, 51, 11, 45, 120, 3365, 22, 48, 93, 10, 137, 24, 25, 272, 19, 15, 12, 215, 191, 430, 47, 61, 49, 46, 15, 113, 110, 25, 90, 244, 86, 388, 820, 4878, 49, 72, 54, 51, 204, 12, 76, 18, 22, 153, 11, 19, 11, 1564, 28, 13, 57, 74, 12, 11, 23, 73, 74, 191, 57, 13, 30, 25, 11, 4677, 97, 42, 15, 506, 289, 22, 45, 86, 126, 12, 18, 12, 87, 74, 22, 23, 3207, 92, 726, 41, 18, 69, 39, 149, 28, 610, 119, 71, 19, 10, 19, 21, 121, 27, 18, 11, 10, 70, 115, 222, 13, 20, 77, 32, 16, 10, 28, 73, 10, 13, 231, 12, 21, 30, 106, 4712, 8247, 3671, 46, 30, 18, 14, 47, 54, 502, 49, 103, 487, 12, 34, 97, 29, 13, 61, 13, 16, 33, 10, 26, 2068, 90, 50, 124, 44, 47, 19, 51, 10, 3311, 902, 96, 79, 55, 356, 75, 16, 10, 47, 12, 84, 269, 74, 68, 33, 13, 1069, 12, 14, 14, 19, 44, 536, 58, 49, 318, 13, 22, 16, 11, 16, 25, 71, 1034, 82, 16, 15, 15, 11, 25, 14, 30, 43, 81, 49, 18, 11, 11, 66, 13, 30, 103, 15, 21, 23, 116, 224, 89, 47, 17, 10, 53, 10, 80, 17, 3635, 115, 13, 83, 10, 103, 11, 25, 190, 20, 23, 57, 28, 17, 20, 29, 65, 89, 117, 71, 20, 185, 48, 10, 78, 142, 14, 68, 750, 678, 331, 105, 288, 63, 21, 254, 1417, 76, 30, 2081, 1945, 15, 10, 966, 22, 85, 21, 64, 1984, 11, 1437, 27, 35, 11, 24, 26, 18, 280, 13, 21, 844, 44, 42, 23, 48, 20, 56, 694, 161, 21, 572, 152, 39, 17, 139, 11, 22, 17, 269, 10, 24, 53, 40, 46, 71, 23, 109, 96, 12, 14, 14, 15, 14, 42, 13, 13, 72, 151, 11614, 153, 18, 77, 32, 49, 11, 70, 198, 24, 688, 29, 30, 9111, 76, 3754, 128, 686, 58, 482, 126, 45, 235, 105, 37, 324, 57, 107, 995, 196, 148, 480, 46, 701, 14, 226, 109, 13, 89, 34, 14, 11, 10, 92, 10, 16, 10, 64, 73, 65, 43, 10, 197, 159, 24, 265, 15, 26, 463, 37, 81, 17, 19, 118, 12, 28, 15, 93, 12, 43, 42, 148, 152, 243, 138, 11, 10, 15, 14, 423, 271, 133, 27, 20, 165, 11, 76, 88, 74, 11, 18, 12, 412, 37, 14, 17, 11, 70, 224, 29, 1482, 87, 214, 162, 84, 26, 73, 143, 17, 70, 73, 11, 75, 93, 17, 28, 52, 11, 26, 38, 10, 445, 51, 10, 16, 94, 11, 119, 10, 54, 1799, 40, 11, 61, 143, 122, 11, 12, 368, 38, 15, 13, 17, 14, 17, 207, 16, 19, 12, 11, 19, 42, 46, 31, 12, 28, 13, 32, 10, 18, 59, 32, 19, 53, 11, 66, 20, 111, 51, 53, 16, 10, 10, 10, 31, 11, 12, 14, 34, 14, 179, 14, 31, 483, 12, 12, 15, 19, 39, 15, 107, 10, 17, 10, 12, 11, 14, 18, 16, 11, 10, 12, 28, 12, 110, 10, 75, 15, 15, 15, 14, 20, 17, 18, 10, 126, 170, 154, 94, 23, 74, 27, 51, 54, 10, 26, 21, 13, 14, 65, 12, 15, 10, 11, 12, 16, 10, 19, 10, 14, 27, 14, 14, 13, 15, 12, 10, 14, 12, 17, 11, 14, 14, 13, 55, 19, 32, 21, 29, 146, 37, 10, 12, 11, 16, 12, 13, 13, 20, 11, 100, 15, 56, 13, 1205, 178, 40, 10, 11, 12, 11, 12, 10, 10, 12, 177, 11, 20, 14, 31, 10, 32, 818, 122, 194, 11, 17, 13, 11, 11, 277, 10, 17, 14, 16, 12, 11, 19, 13, 10, 10, 15, 23, 13, 52, 21, 10, 10, 74, 17, 11, 13, 28, 11, 40, 12, 10, 10, 14, 14, 83, 23, 22, 23, 23, 173, 24, 94, 17, 16, 10, 10, 46, 24, 14, 13, 29, 12, 18, 28, 12, 30, 19, 13, 11, 13, 73, 11, 21, 27, 11, 19, 23, 14, 53, 10, 11, 26, 10, 13, 15, 15, 16, 32, 151, 45, 37, 38, 10, 10, 20, 60, 32, 11, 29, 19, 151, 12, 305, 71, 106, 98, 140, 86, 10, 23, 13, 19, 11, 11, 13, 21, 13, 12, 24, 11, 10, 22, 19, 11, 15, 22, 11, 54, 15, 37, 23, 10, 22, 12, 52, 17, 11, 10, 11, 25, 29, 10, 11, 10, 10, 78, 14, 12, 11, 68, 34, 10, 38, 38, 39, 39, 10, 19, 10, 10, 23, 19, 15, 12, 12, 45, 17, 11, 79, 90, 14, 25, 28, 26, 19, 111, 100, 18, 10, 10, 11, 20, 11, 14, 11, 10, 10, 16, 20, 21, 72, 12, 48, 20, 12, 16, 10, 18, 15, 12, 33, 27, 13, 11, 13, 14, 10, 56, 24, 25, 13, 17, 14, 12, 15, 17, 10, 12, 17, 12, 11, 129, 20, 111, 10, 37, 334, 16, 47, 58, 18, 10, 35, 24, 204, 143, 85, 25, 44, 17, 76, 16, 19, 1885, 67, 13, 18, 110, 33, 49, 307, 16, 13, 84, 12, 199, 34, 131, 41, 22, 43, 44, 33, 71, 10, 12, 10, 12, 11, 43, 21, 10, 11, 26, 415, 20, 51, 164, 10, 31, 46, 20, 12, 90, 11, 37, 167, 185, 69, 90, 38, 91, 14, 441, 40, 11, 13, 61, 186, 11, 86, 26, 225, 143, 13, 15, 75, 57, 20, 17, 11, 37, 57, 36, 16, 11, 16, 2923, 19, 2970, 13, 13, 43, 57, 16, 21, 329, 65, 82, 52, 12, 137, 12, 12, 91, 11, 20, 28, 30, 60, 59, 116, 280, 51, 13, 73, 10, 58, 56, 200, 427, 20, 34, 73, 89, 12, 14, 85, 79, 12, 12, 17, 550, 49, 84, 413, 38, 25, 48, 10, 42, 20, 36, 30, 195, 99, 38, 44, 10, 109, 30, 14, 41, 11, 613, 28, 78, 23, 10, 57, 13, 1951, 178, 19, 26, 11, 106, 516, 13, 17, 59, 13, 18, 10, 11, 592, 25, 178, 13, 73, 21, 54, 310, 33, 45, 125, 206, 14, 141, 2408, 10, 11, 18, 10, 14, 592, 12, 39, 35, 37, 14, 61, 93, 206, 30, 23, 11, 17, 14, 58, 146, 24, 42, 30, 15, 55, 43, 19, 760, 36, 32, 74, 239, 262, 10, 215, 25, 44, 35, 52, 121, 108, 94, 40, 10, 40, 37, 16, 105, 22, 13, 10, 10, 28, 36, 20, 142, 14, 79, 465, 86, 76, 112, 13, 35, 61, 63, 11, 22, 53, 10, 30, 12, 320, 43, 37, 115, 35, 27, 51, 10, 12, 54, 17, 19, 48, 14, 80, 302, 403, 32, 278, 75, 25, 504, 35, 69, 30, 560, 53, 26, 19, 70, 15, 25, 10, 12, 437, 10, 109, 10, 703, 11, 65, 24, 10, 122, 21, 10, 25, 10, 1125, 30, 30, 10, 13, 72, 66, 18, 13, 15, 23, 61, 109, 208, 95, 15, 78, 23, 121, 34, 21, 13, 10, 68, 11, 153, 74, 82, 12, 74, 30, 331, 31, 29, 24, 29, 405, 22, 174, 20, 55, 22, 31, 32, 59, 57, 42, 18, 22, 25, 25, 155, 14, 77, 52, 16, 10, 60, 59, 637, 1184, 11, 12, 96, 314, 535, 30, 19, 10, 13, 106, 11, 38, 2358, 16, 96, 63, 22, 30, 85, 20, 219, 31, 12, 16, 10, 134, 60, 25, 11, 36, 31, 11, 58, 80, 12, 37, 50, 25, 11, 11, 13, 203, 27, 54, 48, 17, 14, 400, 58, 21, 13, 11, 11, 285, 152, 131, 15, 11, 42, 34, 15, 542, 92, 411, 239, 172, 33, 32, 47, 15, 12, 10, 45, 10, 18, 64, 214, 46, 28, 664, 262, 33, 26, 16, 10, 10, 48, 48, 74, 11, 12, 43, 1106, 20, 18, 77, 116, 157, 10, 133, 30, 43, 30, 23, 12, 19, 21, 12, 12, 223, 190, 10, 41, 10, 54, 55, 24, 10, 24, 27, 45, 780, 47, 45, 39, 73, 18, 12, 582, 44, 145, 14, 76, 19, 21, 53, 13, 31, 29, 291, 45, 82, 12, 111, 22, 25, 11, 66, 11, 99, 28, 16, 60, 41, 106, 66, 192, 30, 58, 12, 13, 1371, 12, 13, 10, 17, 30, 124, 44, 20, 18, 10, 14, 11, 153, 147, 13, 19, 19, 18, 43, 25, 15, 89, 35, 14, 15, 11, 322, 64, 95, 16, 12, 72, 74, 45, 91, 66, 10, 72, 11, 72, 22, 16, 31, 21, 25, 44, 43, 199, 317, 27, 10, 15, 35, 25, 24, 12, 15, 161, 66, 15, 15, 15, 11, 117, 63, 13, 21, 13, 10, 33, 29, 22, 15, 35, 65, 33, 17, 51, 64, 10, 16, 10, 15, 10, 132, 74, 15, 4259, 176, 46, 52, 93, 45, 50, 27, 23, 11, 20, 108, 11, 46, 231, 312, 129, 11, 236, 43, 62, 10, 92, 737, 97, 39, 390, 10, 49, 38, 127, 15, 20, 108, 10, 12, 97, 2588, 244, 24, 218, 109, 160, 37, 365, 30, 48, 11, 13, 144, 130, 17, 12, 31, 196, 11, 30, 41, 14, 10, 94, 14, 32, 205, 41, 16, 20, 56, 33, 20, 51, 11, 19, 19, 14, 15, 13, 83, 36, 17, 60, 14, 160, 254, 13, 11, 83, 10, 21, 56, 15, 15, 237, 45, 11, 557, 27, 19, 160, 19, 54, 25, 27, 45, 17, 72, 12, 903, 12, 14, 84, 21, 19, 214, 909, 443, 16, 13, 67, 27, 12, 190, 23, 348, 134, 43, 59, 108, 65, 192, 21, 470, 12, 758, 29, 84, 86, 14, 35, 1623, 949, 11, 26, 479, 294, 13, 20, 40, 37, 147, 72, 14, 13, 34, 13, 11, 17, 40, 10, 11, 14, 38, 11, 30, 12, 193, 21, 13, 54, 23, 11, 11, 11, 17, 71, 23, 92, 54, 772, 75, 3653, 41, 25, 1048, 64, 71, 25, 14, 673, 12, 10, 27, 17, 339, 12, 269, 12, 278, 71, 206, 73, 32, 15, 22, 53, 11, 145, 22, 368, 12, 12, 287, 12, 308, 13, 52, 93, 224, 14, 12, 132, 40, 12, 72, 11, 11, 73, 56, 1444, 12, 10, 11, 159, 17, 62, 153, 27, 23, 108, 134, 247, 31, 46, 1198, 221, 33, 53, 14, 13, 56, 37, 12, 1044, 15, 13, 10, 51, 44, 10, 19, 283, 30, 388, 13, 316, 81, 314, 49, 10, 96, 518, 72, 436, 782, 59, 597, 65, 33, 13, 972, 15, 66, 12, 45, 12, 10, 28, 97, 12, 72, 277, 15, 157, 34, 47, 13, 92, 29, 28, 63, 10, 10, 17, 13, 19, 60, 321, 41, 127, 10, 11, 1559, 11, 14, 31, 46, 44, 26, 77, 155, 133, 89, 735, 116, 15, 159, 12, 54, 54, 38, 46, 138, 73, 24, 10, 285, 11, 13, 14, 50, 11, 127, 26, 506, 53, 24, 10, 66, 11, 50, 10, 84, 18, 49, 31, 72, 19, 18, 80, 64, 26, 390, 11, 11, 19, 11, 26, 304, 50, 25, 11, 11, 20, 38, 10, 12, 52, 24, 40, 24, 12, 58, 1706, 33, 10, 43, 24, 34, 30, 59, 67, 13, 16, 11, 100, 12, 38, 12, 10, 31, 31, 88, 44, 35, 54, 79, 28, 11, 16, 57, 30, 172, 14, 42, 11, 28, 51, 11, 17, 135, 11, 57, 64, 15, 10, 51, 36, 67, 47, 18, 19, 28, 41, 32, 221, 11, 28, 74, 10, 27, 129, 10, 42, 45, 82, 39, 11, 93, 42, 41, 37, 26, 95, 536, 14, 11, 21, 43, 12, 70, 165, 14, 11, 44, 60, 174, 78, 28, 12, 10, 16, 16, 24, 17, 70, 10, 10, 80, 10, 17, 11, 13, 58, 32, 24, 10, 27, 103, 22, 49, 11, 134, 11, 30, 18, 61, 270, 600, 202, 37, 86, 229, 11, 10, 10, 184, 74, 35, 15, 83, 21, 61, 701, 219, 68, 31, 10, 52, 11, 57, 35, 219, 72, 125, 10, 44, 10, 27, 38, 13, 14, 1995, 86, 1614, 350, 30, 121, 28, 30, 91, 61, 12, 26, 347, 22, 434, 17, 123, 10, 17, 94, 84, 12, 73, 11, 399, 14, 15, 42, 10, 43, 47, 116, 12, 22, 16, 19, 51, 13, 12, 20, 80, 53, 38, 578, 14, 10, 41, 124, 26, 12, 14, 27, 26, 10, 11, 18, 41, 17, 69, 12, 14, 12, 223, 667, 59, 11, 12, 17, 43, 39, 44, 18, 50, 23, 10, 38, 33, 89, 126, 13, 171, 40, 23, 115, 10, 24, 29, 23, 215, 10, 22, 19, 14, 47, 28, 62, 16, 99, 39, 11, 25, 31, 20, 255, 14, 24, 99, 26, 37, 11, 12, 26, 19, 20, 11, 15, 61, 14, 11, 18, 78, 90, 1262, 898, 14, 14, 65, 14, 20, 11, 31, 28, 23, 277, 16, 64, 61, 17, 44, 112, 10, 32, 15, 16, 10, 353, 18, 60, 451, 271, 259, 12, 10, 13, 77, 16, 25, 37, 1512, 54, 15, 12, 39, 227, 17, 22, 13, 80, 749, 79, 72, 25, 62, 389, 50, 19, 21, 14, 42, 17, 37, 48, 12, 196, 14, 23, 33, 76, 58, 48, 10, 13, 15, 87, 18, 38, 76, 13, 11, 75, 15, 12, 34, 120, 72, 28, 23, 135, 13, 22, 14, 19, 18, 31, 28, 12, 17, 33, 20, 39, 22, 258, 13, 28, 126, 11, 30, 33, 38, 31, 17, 17, 60, 20, 306, 19, 926, 494, 115, 15, 14, 16, 11, 247, 64, 43, 71, 13, 11, 38, 95, 139, 17, 24, 72, 11, 14, 168, 18, 10, 14, 107, 18, 64, 113, 29, 21, 23, 38, 12, 17, 26, 53, 48, 28, 72, 55, 35, 12, 13, 2584, 5390, 17, 11, 29, 231, 24, 80, 12, 56, 15, 98, 50, 683, 67, 20, 57, 97, 48, 27, 56, 82, 11, 25, 14, 272, 29, 55, 28, 35, 206, 23, 105, 13, 28, 391, 19, 301, 268, 26, 97, 18, 11, 12, 20, 13, 110, 44, 42, 26, 14, 28, 21, 77, 21, 47, 11, 323, 15, 13, 25, 154, 40, 28, 55, 174, 281, 23, 16, 383, 12, 122, 125, 21, 12, 424, 95, 42, 32, 15, 27, 14, 16, 10, 96, 73, 31, 638, 148, 12, 11, 41, 18, 55, 23, 212, 29, 256, 72, 25, 10, 11, 77, 31, 11, 11, 20, 433, 16, 10, 224, 29, 12, 49, 21, 146, 117, 25, 25, 69, 22, 36, 58, 10, 23, 14, 45, 25, 25, 12, 10, 28, 24, 12, 59, 23, 11, 41, 12, 203, 34, 15, 59, 260, 19, 13, 36, 174, 104, 21, 105, 20, 52, 10, 11, 13, 132, 10, 11, 60, 168, 72, 72, 195, 467, 564, 28, 218, 320, 194, 120, 1751, 100, 37, 18, 13, 203, 10, 50, 14, 91, 11, 137, 252, 10, 167, 81, 10, 76, 11, 25, 12, 17, 72, 1788, 29, 91, 117, 20, 300, 38, 84, 409, 22, 35, 409, 313, 21, 10, 59, 23, 568, 37, 102, 10, 19, 37, 28, 38, 848, 69, 56, 89, 376, 24, 49, 20, 25, 75, 51, 10, 56, 128, 509, 222, 16, 45, 18, 100, 1098, 95, 129, 80, 162, 45, 115, 18, 12, 19, 18, 58, 96, 10, 23, 26, 28, 32, 31, 10, 150, 31, 11, 38, 24, 67, 12, 41, 211, 36, 28, 39, 96, 103, 155, 149, 525, 16, 1348, 88, 34, 21, 315, 28, 33, 31, 98, 34, 11, 10, 106, 14, 129, 10, 439, 53, 30, 15, 538, 13, 13, 18, 14, 15, 233, 254, 289, 146, 66, 33, 13, 151, 15, 16, 11, 48, 22, 18, 31, 10, 161, 13, 31, 10, 11, 114, 20, 128, 27, 10, 21, 21, 94, 10, 185, 19, 526, 11, 32, 23, 11, 67, 29, 132, 18, 11, 34, 128, 308, 10, 19, 14, 11, 662, 15, 10, 26, 23, 15, 12, 17, 244, 64, 31, 157, 38, 70, 32, 329, 14, 16, 12, 25, 162, 56, 222, 28, 264, 13, 13, 14, 11, 124, 13, 477, 17, 15, 54, 12, 11, 54, 22, 17, 713, 47, 22, 15, 21, 68, 441, 28, 13, 10, 37, 10, 14, 71, 11, 20, 49, 13, 28, 16, 16, 61, 21, 11, 70, 267, 22, 12, 19, 20, 43, 50, 10, 222, 32, 30, 30, 11, 74, 47, 17, 75, 18, 17, 12, 13, 17, 256, 71, 96, 115, 12, 13, 13, 15, 11, 27, 24, 15, 11, 12, 10, 1150, 629, 21, 15, 29, 30, 12, 14, 15, 17, 18, 13, 79, 10, 146, 22, 11, 45, 10, 12, 13, 10, 12, 10, 11, 14, 33, 10, 11, 17, 32, 36, 11, 133, 14, 16, 10, 11, 138, 24, 40, 15, 19, 56, 106, 39, 35, 17, 12, 36, 33, 12, 13, 11, 25, 10, 19, 27, 10, 14, 22, 10, 17, 21, 17, 53, 10, 84, 10, 22, 21, 51, 11, 18, 30, 10, 10, 389, 19, 12, 13, 13, 12, 16, 11, 42, 14, 26, 43, 12, 12, 23, 12, 11, 10, 15, 16, 10, 13, 10, 14, 18, 20, 11, 2356, 14, 11, 20, 15, 15, 19, 17, 37, 11, 16, 10, 10, 16, 10, 11, 13, 11, 13, 22, 159, 10, 10, 46, 36, 23, 36, 12, 17, 13, 16, 11, 111, 13, 15, 55, 10, 11, 15, 13, 20, 99, 10, 55, 17, 10, 66, 13, 29, 54, 20, 10, 10, 11, 19, 13, 10, 18, 11, 20, 10, 18, 19, 10, 10, 13, 13, 10, 11, 11, 10, 10, 15, 10, 10, 10, 16, 16, 136, 16, 10, 13, 13, 20, 11, 11, 13, 24, 54, 30, 11, 14, 11, 14, 20, 17, 10, 47, 12, 16, 26, 22, 23, 12, 22, 168, 10, 10, 46, 25, 18, 10, 17, 10, 13, 14, 12, 10, 54, 12, 13, 14, 10, 13, 40, 502, 19, 34, 10, 10, 351, 32, 201, 37, 65, 59, 72, 13, 35, 14, 12, 11, 11, 10, 24, 27, 11, 10, 82, 13, 14, 17, 19, 15, 24, 29, 43, 24, 31, 10, 43, 11, 11, 14, 33, 12, 26, 11, 18, 10, 158, 10, 13, 16, 18, 50, 10, 13, 10, 13, 100, 32, 37, 24, 24, 11, 17, 12, 59, 23, 10, 10, 14, 11, 1223, 21, 11, 71, 10, 167, 14, 13, 44, 17, 12, 11, 13, 10, 12, 34, 16, 18, 13, 15, 23, 42, 11, 10, 10, 12, 16, 20, 13, 11, 19, 12, 11, 10, 10, 12, 10, 18, 33, 78, 25, 29, 20, 12, 11, 10, 13, 12, 10, 10, 28, 56, 10, 10, 11, 56, 15, 10, 11, 17, 10, 11, 168, 30, 12, 13, 20, 11, 60, 12, 12, 12, 139, 15, 10, 19, 19, 10, 10, 62, 263, 187, 147, 11, 20, 12, 10, 18, 12, 12, 17, 15, 14, 11, 68, 12, 13, 17, 17, 13, 15, 10, 17, 21, 12, 47, 18, 11, 15, 12, 10, 93, 15, 243, 13, 179, 78, 120, 19, 38, 11, 20, 30, 12, 12, 14, 16, 60, 81, 116, 11, 60, 16, 127, 17, 80, 53, 24, 23, 26, 21, 24, 189, 13, 126, 133, 16, 14, 12, 45, 41, 11, 36, 84, 46, 157, 25, 10, 16, 32, 11, 20, 69, 16, 65, 23, 75, 23, 21, 20, 10, 46, 15, 83, 14, 48, 396, 19, 19, 68, 93, 42, 11, 10, 15, 16, 10, 11, 10, 56, 14, 12, 33, 11, 11, 401, 54, 21, 13, 11, 10, 33, 12, 68, 10, 22, 12, 19, 13, 15, 11, 12, 11, 62, 790, 10, 14, 14, 27, 3825, 10, 10, 61, 15, 132, 1659, 69, 20, 12, 27, 30, 24, 16, 11, 56, 14, 62, 41, 20, 109, 72, 26, 28, 116, 24, 34, 121, 54, 233, 24, 53, 15, 10, 113, 103, 15, 176, 43, 31, 35, 13, 26, 97, 12, 75, 35, 91, 18, 24, 12, 28, 52, 155, 10, 27, 11, 24, 42, 22, 32, 20, 15, 34, 19, 15, 207, 45, 31, 67, 33, 10, 147, 10, 12, 72, 103, 12, 19, 16, 487, 34, 2425, 30, 10, 72, 42, 27, 34, 43, 70, 24, 592, 10, 57, 82, 34, 14, 14, 12, 22, 11, 71, 32, 77, 110, 10, 36, 62, 10, 11, 16, 29, 117, 69, 35, 57, 22, 480, 31, 21, 30, 30, 56, 69, 30, 253, 33, 12, 83, 102, 72, 160, 19, 316, 21, 13, 16, 59, 22, 19, 10, 12, 14, 378, 228, 87, 21, 61, 30, 92, 70, 229, 620, 374, 379, 75, 12, 88, 29, 48, 23, 22, 44, 24, 139, 31, 31, 262, 169, 126, 4949, 11, 11, 288, 77, 96, 198, 11, 48, 15, 17, 47, 22, 26, 24, 42, 53, 30, 107, 52, 686, 60, 12, 17, 59, 10, 10, 11, 22, 25, 16, 13, 10, 41, 10, 41, 187, 37, 27, 11, 45, 42, 16, 235, 26, 210, 146, 10, 16, 103, 17, 72, 5070, 1372, 510, 306, 138, 294, 30, 34, 21, 13, 72, 11, 454, 20, 26, 26, 100, 66, 14, 236, 66, 151, 31, 76, 15, 11, 83, 104, 11, 54, 20, 84, 19, 91, 201, 21, 51, 17, 47, 35, 104, 32, 144, 62, 167, 18, 42, 1930, 1399, 155, 75, 117, 11, 25, 60, 20, 332, 20, 86, 19, 31, 60, 77, 398, 25, 17, 72, 185, 10, 11, 21, 17, 12, 268, 1570, 33, 19, 37, 38, 30, 1142, 48, 13, 17, 19, 346, 131, 32, 192, 124, 38, 20, 17, 18, 19, 56, 64, 10, 14, 112, 47, 72, 15, 14, 126, 15, 10, 41, 64, 37, 14, 29, 10, 365, 101, 16, 73, 251, 161, 126, 24, 19, 26, 121, 18, 547, 117, 13, 10, 319, 53, 23, 31, 124, 24, 95, 68, 22, 11, 218, 24, 31, 31, 31, 10, 30, 18, 72, 16, 31, 75, 46, 22, 154, 16, 15, 11, 271, 82, 17, 93, 11, 47, 10, 41, 27, 118, 24, 91, 24, 12, 13, 23, 13, 67, 10, 85, 72, 20, 73, 21, 10, 10, 22, 156, 352, 103, 10, 18, 19, 10, 31, 107, 10, 60, 39, 16, 11, 12, 14, 11, 167, 1284, 1952, 323, 67, 25, 26, 34, 110, 10, 11, 27, 13, 114, 97, 36, 126, 92, 18, 16, 22, 10, 19, 30, 67, 10, 27, 10, 114, 11, 11, 10, 108, 21, 10, 31, 14, 11, 20, 16, 13, 513, 10, 10, 10, 13, 11, 10, 12, 24, 60, 36, 23, 14, 46, 11, 10, 11, 11, 15, 11, 11, 10, 47, 439, 140, 179, 11, 58, 99, 11, 10, 11, 20, 174, 10, 13, 221, 10, 41, 11, 30, 22, 22, 20, 438, 13, 47, 12, 46, 15, 14, 23, 19, 116, 33, 96, 12, 18, 26, 55, 14, 11, 13, 14, 64, 18, 10, 16, 36, 10, 15, 18, 16, 22, 45, 31, 11, 16, 54, 19, 13, 12, 24, 22, 12, 12, 15, 12, 10, 20, 14, 27, 46, 11, 10, 19, 38, 26, 12, 23, 12, 12, 11, 12, 13, 11, 40, 12, 12, 11, 10, 10, 58, 46, 16, 10, 10, 10, 11, 169, 11, 13, 157, 13, 12, 14, 23, 11, 17, 21, 20, 57, 12, 28, 22, 55, 10, 10, 18, 11, 14, 22, 12, 22, 31, 19, 16, 11, 13, 15, 11, 18, 28, 10, 31, 10, 12, 23, 29, 30, 11, 13, 20, 17, 13, 343, 23, 10, 12, 17, 10, 16, 16, 21, 13, 29, 12, 10, 10, 13, 16, 12, 14, 314, 18, 21, 32, 34, 39, 36, 69, 29, 13, 11, 16, 29, 17, 11, 10, 12, 13, 22, 10, 11, 10, 10, 10, 10, 10, 19, 22, 143, 28, 13, 22, 18, 13, 18, 21, 28, 10, 36, 79, 38, 13, 15, 10, 10, 14, 13, 12, 10, 14, 10, 11, 22, 27, 40, 10, 19, 11, 10, 25, 14, 10, 10, 14, 20, 10, 13, 10, 13, 23, 11, 12, 35, 10, 14, 24, 13, 39, 18, 10, 27, 11, 17, 138, 11, 13, 10, 11, 15, 12, 11, 14, 14, 10, 12, 13, 13, 11, 13, 16, 174, 14, 12, 11, 14, 11, 13, 10, 21, 10, 15, 10, 11, 23, 13, 11, 13, 14, 10, 11, 27, 18, 14, 14, 203, 10, 45, 19, 83, 12, 36, 15, 19, 10, 10, 19, 19, 76, 12, 46, 14, 13, 12, 18, 18, 12, 176, 117, 70, 633, 214, 17, 12, 16, 23, 329, 23, 217, 13, 176, 51, 63, 44, 401, 26, 200, 24, 14, 59, 56, 677, 70, 101, 207, 81, 14, 180, 309, 72, 16, 14, 51, 10, 23, 56, 84, 2230, 2046, 34, 22, 13, 24, 11, 147, 15, 36, 22, 83, 30, 761, 20, 244, 171, 156, 15, 21, 15, 20, 33, 10, 26, 47, 102, 4023, 20, 12, 35, 65, 11, 30, 88, 19, 48, 10, 208, 12, 14, 12, 10, 11, 26, 100, 131, 13, 110, 27, 443, 119, 12, 62, 61, 15, 509, 21, 10, 20, 13, 31, 72, 10, 10, 12, 64, 48, 16, 29, 113, 17, 27, 31, 13, 37, 53, 26, 11, 11, 11, 375, 10, 15, 29, 10, 11, 10, 123, 114, 82, 14, 14, 23, 10, 22, 66, 18, 27, 41, 16, 86, 15, 13, 38, 11, 29, 27, 19, 11, 12, 11, 24, 11, 12, 40, 10, 10, 13, 12, 12, 174, 10, 38, 14, 11, 503, 67, 15, 18, 10, 11, 15, 28, 11, 24, 11, 12, 10, 12, 29, 12, 19, 172, 59, 143, 46, 24, 10, 12, 33, 163, 10, 11, 24, 35, 27, 19, 10, 36, 174, 363, 31, 13, 20, 11, 174, 12, 11, 78, 29, 14, 188, 30, 153, 35, 30, 17, 12, 11, 12, 13, 14, 20, 17, 20, 18, 12, 11, 12, 19, 10, 14, 18, 11, 14, 11, 10, 11, 18, 11, 12, 10, 20, 13, 14, 11, 15, 12, 13, 12, 10, 18, 17, 10, 18, 11, 10, 26, 23, 12, 17, 10, 13, 11, 14, 12, 17, 24, 12, 15, 10, 19, 29, 11, 10, 32, 23, 11, 11, 14, 10, 12, 18, 18, 14, 11, 16, 18, 14, 11, 11, 91613, 228, 61, 111, 71, 33, 16, 31, 38, 17, 13, 13, 96, 19, 17, 12, 15, 11, 15, 107, 13, 13, 10, 19, 10, 13, 15, 136, 183, 10, 70, 10, 48, 181, 63, 14, 20, 110, 27, 51, 10, 23, 32, 21, 15, 16, 102, 227, 11, 21, 10, 10, 16, 19, 16, 11, 13, 11, 21, 10, 30, 24, 15, 148, 14, 19, 13, 18, 11, 26, 12, 13, 11, 10, 18, 15, 10, 12, 11, 16, 11, 19, 19, 16, 139, 23, 13, 21, 11, 11, 56, 16, 17, 26, 10, 24, 10, 12, 79, 14, 11, 16, 14, 11, 14, 11, 19, 11, 12, 13, 11, 10, 10, 20, 13, 12, 122, 25, 22, 10, 34, 19, 10, 10, 16, 19, 16, 11, 28, 27, 15, 20, 11, 10, 16, 11, 12, 30, 53, 13, 12, 12, 12, 14, 11, 52, 13, 29, 10, 14, 10, 12, 14, 13, 12, 12, 11, 18, 11, 17, 21, 11, 13, 16, 11, 11, 15, 19, 10, 12, 38, 10, 12, 11, 10, 10, 14, 25, 11, 10, 10, 13, 17, 16, 18, 19, 21, 26, 16, 15, 59, 10, 11, 10, 59, 18, 10, 21, 24, 12, 21, 23, 31, 10, 19, 16, 10, 13, 14, 12, 10, 11, 10, 10, 11, 13, 16, 27, 15, 10, 11, 10, 12, 22, 5424, 15, 51, 13, 34, 11, 18, 13, 50, 11, 28, 212, 10, 10, 11, 18, 96, 16, 94, 13, 19, 12, 10, 12, 86, 120, 37, 19, 31, 15, 20, 11, 31, 28, 17, 16, 10, 15, 31, 17, 61, 18, 14, 13, 20, 16, 12, 11, 11, 13, 11, 10, 10, 10, 10, 17, 11, 15, 16, 12, 13, 81, 17, 17, 18, 47, 22, 14, 19, 19, 27, 18, 20, 10, 10, 10, 13, 11, 11, 12, 24, 26, 22, 15, 21, 13, 16, 13, 208, 14, 24, 12, 11, 10, 11, 10, 34, 30, 224, 13, 17, 48, 17, 18, 19, 10, 10, 13, 13, 12, 13, 19, 12, 11, 27, 31, 12, 18, 16, 12, 13, 17, 17, 11, 13, 11, 21, 34, 11, 13, 27, 23, 15, 18, 15, 11, 13, 20, 10, 12, 11, 10, 13, 10, 13, 10, 11, 15, 12, 10, 14, 13, 45, 16, 16, 11, 11, 14, 20, 31, 12, 10, 11, 43, 17, 47, 32, 12, 14, 12, 12, 24, 10, 18, 14, 29, 12, 18, 10, 21, 14, 23, 74, 10, 15, 11, 16, 13, 20, 10, 18, 11, 12, 19, 27, 22, 42, 18, 10, 17, 27, 10, 10, 15, 18, 15, 12, 12, 12, 21, 15, 16, 13, 10, 17, 26, 15, 12, 16, 12, 10, 15, 16, 10, 11, 10, 12, 33, 55, 38, 19, 19, 13, 18, 12, 13, 53, 27, 35, 12, 13, 19, 10, 13, 29, 12, 29, 11, 10, 27, 12, 28, 13, 14, 15, 33, 55, 11, 12, 16, 20, 11, 32, 15, 31, 50, 11, 18, 10, 12, 10, 30, 17, 22, 10, 34, 12, 21, 13, 12, 14, 12, 13, 13, 19, 11, 11, 13, 27, 11, 10, 16, 13, 11, 17, 20, 16, 37, 13, 23, 13, 13, 10, 23, 13, 21, 15, 44, 10, 10, 12, 10, 13, 13, 11, 15, 16, 14, 39, 26, 10, 13, 15, 11, 13, 10, 33, 15, 14, 16, 29, 11, 11, 12, 12, 11, 20, 20, 17, 22, 13, 10, 149, 10, 10, 33, 10, 12, 21, 16, 11, 33, 13, 14, 38, 17, 28, 13, 45, 16, 21, 13, 11, 29, 11, 14, 16, 10, 18, 55, 12, 38, 11, 18, 15, 17, 47, 10, 13, 34, 16, 40, 18, 59, 13, 23, 12, 11, 10, 18, 28, 10, 10, 14, 39, 20, 18, 32, 37, 31, 19, 31, 20, 19, 16, 11, 10, 11, 16, 13, 10, 10, 14, 12, 21, 10, 10, 20, 14, 15, 17, 22, 17, 15, 15, 10, 10, 94, 21, 26, 12, 11, 13, 26, 10, 13, 16, 10, 13, 18, 27, 17, 13, 10, 10, 10, 12, 11, 13, 10, 10, 12, 12, 10, 10, 10, 11, 11, 10, 10, 10, 12, 10, 130, 19, 46, 15, 11, 27, 12, 23, 11, 18, 12, 10, 15, 19, 17, 21, 10, 10, 18, 10, 10, 18, 50, 11, 13, 10, 12, 12, 10, 10, 10, 12, 11, 10, 10, 14, 12, 17, 10, 13, 10, 36, 19, 12, 12, 13, 33, 11, 12, 15, 11, 10, 10, 11, 11, 29, 18, 10, 10, 36, 11, 42, 12, 10, 38, 10, 16, 17, 17, 14, 11, 11, 15, 21, 10, 10, 20, 15, 15, 10, 14, 12, 16, 47, 10, 10, 1357, 11, 22, 20, 22, 88, 35, 30, 48, 13, 28, 11, 15, 18, 12, 15, 14, 14, 19, 10, 12, 14, 26, 14, 30, 16, 15, 12, 17, 14, 10, 26, 15, 214, 14, 10, 23, 44, 10, 14, 22, 18, 34, 11, 33, 29, 11, 11, 16, 16, 17, 10, 26, 16, 10, 24, 23, 23, 10, 12, 11, 19, 16, 29, 13, 17, 267, 81, 26, 56, 12, 12, 11, 464, 14, 10, 19, 228, 59, 11, 233, 28, 15, 212, 25, 14, 15, 10, 25, 22, 13, 26, 19, 32, 19, 14, 20, 41, 24, 149, 10, 10, 10, 11, 11, 75, 10, 23, 10, 10, 15, 10, 11, 11, 10, 23, 26, 10, 18, 10, 22, 14, 13, 26, 11, 13, 17, 10, 11, 11, 13, 44, 15, 14, 10, 10, 11, 11, 14, 21, 48, 133, 99, 21, 11, 28, 14, 12, 62, 12, 10, 13, 13, 10, 11, 14, 26, 856, 24, 11, 10, 51, 13, 70, 12, 21, 18, 12, 22, 12, 10, 12, 24, 24, 83, 11, 13, 15, 11, 10, 53, 12, 11, 10, 15, 10, 15, 15, 14, 13, 32, 52, 10, 12, 11, 26, 35, 19, 17, 24, 22, 11, 16, 14, 11, 16, 14, 16, 21, 11, 12, 47, 30, 29, 11, 23, 10, 10, 11, 55, 12, 12, 12, 33, 11, 10, 10, 11, 12, 24, 12, 10, 17, 10, 23, 14, 13, 12, 11, 19, 11, 35, 15, 83, 19, 10, 99, 162, 15, 23, 36, 11, 13, 71, 16, 24, 11, 19, 904, 10, 74, 26, 11, 66, 13, 13, 35, 14, 10, 11, 17, 13, 31, 21, 13, 13, 12, 30, 13, 15, 11, 12, 11, 22, 10, 15, 10, 11, 10, 25, 44, 11, 17, 25, 10, 11, 105, 12, 21, 19, 65, 12, 19, 11, 10, 15, 22, 13, 20, 17, 19, 19, 31, 10, 36, 14, 31, 10, 33, 27, 11, 13, 15, 12, 19, 34, 11, 10, 11, 11, 11, 15, 11, 11, 10, 12, 17, 39, 27, 18, 32, 11, 10, 11, 37, 10, 10, 11, 10, 17, 10, 12, 10, 11, 10, 168, 11, 14, 13, 12, 10, 23, 15, 59, 12, 13, 27, 19, 16, 151, 11, 11, 55, 11, 19, 14, 15, 11, 13, 80, 14, 35, 19, 10, 25, 10, 25, 10, 23, 12, 10, 14, 14, 14, 13, 10, 20, 12, 24, 16, 13, 12, 11, 12, 164, 12, 10, 133, 10, 11, 10, 27, 12, 10, 11, 13, 11, 16, 11, 11, 12, 14, 14, 183, 11, 19, 10, 13, 10, 12, 10, 10, 14, 13, 12, 21, 10, 18, 10, 12, 15, 15, 27, 24, 11, 14, 13, 17, 10, 25, 19, 16, 18, 14, 12, 11, 11, 16, 14, 10, 12, 15, 11, 15, 21, 28, 11, 10, 12, 10, 12, 12, 15, 15, 11, 10, 15, 10, 10, 16, 11, 13, 12, 15, 15, 13, 30, 15, 12, 12, 12, 12, 11, 11, 24, 10, 11, 13, 20, 11, 16, 18, 20, 10, 12, 10, 144, 13, 13, 14, 13, 17, 12, 19, 20, 22, 11, 15, 10, 14, 15, 33, 10, 11, 16, 10, 12, 10, 10, 11, 10, 10, 11, 10, 10, 12, 13, 10, 11, 10, 10, 13, 481, 30, 24, 10, 14, 20, 11, 10, 26, 11, 11, 10, 16, 10, 12, 10, 17, 11, 10, 35, 13, 29, 14, 22, 10, 28, 19, 57, 15, 19, 12, 16, 21, 18, 12, 11, 12, 17, 15, 15, 13, 10, 18, 14, 11, 10, 11, 81, 15, 28, 15, 12, 14, 11, 15, 10, 10, 10, 11, 10, 11, 10, 12, 10, 13, 13, 12, 11, 13, 10, 12, 10, 10, 21, 10, 15, 10, 10, 11, 11, 18, 12, 15, 10, 11, 16, 10, 10, 12, 11, 10, 13, 12, 13, 20, 10, 12, 12, 16, 13, 11, 18, 11, 10, 19, 12, 10, 17, 10, 10, 19, 22, 40, 70, 20, 18, 11, 10, 10, 12, 10, 12, 10, 10, 23, 15, 19, 12, 14, 11, 10, 12, 17, 11, 12, 11, 10, 10, 11, 10, 10, 11, 11, 24, 27, 21, 30, 30, 34, 36, 48, 47, 55, 40, 27, 32, 25, 20, 23, 14, 11, 10, 14, 20, 14, 17, 22, 30, 19, 18, 16, 10, 10, 17, 21, 16, 10, 805, 21, 15, 12, 442, 442, 442, 13, 18, 10, 14, 11, 10, 14, 12, 10, 10, 17, 12, 10, 13, 10, 13, 12, 10, 10, 15, 12, 10, 10, 17, 11, 12, 11, 15, 13, 12, 10, 19, 10, 10, 12, 11, 12, 11, 14, 10, 13, 10, 25, 10, 14, 15, 13, 10, 12, 12, 11, 10, 10, 10, 14, 10, 10, 12, 10, 10, 13, 12, 17, 15, 12, 12, 12, 12, 18, 20, 13, 15, 11, 23, 10, 13, 11, 12, 16, 20, 18, 33, 23, 26, 38, 35, 54, 35, 36, 42, 31, 34, 14, 19, 11, 10, 13, 18, 14, 10, 21, 17, 21, 32, 28, 26, 20, 14, 12, 11, 21, 12, 17, 10, 12, 10, 11, 10, 12, 11, 11, 18, 11, 10, 15, 12, 10, 10, 19, 26, 29, 27, 23, 40, 28, 43, 49, 40, 48, 40, 44, 22, 13, 14, 17, 22, 17, 10, 20, 12, 11, 15, 23, 29, 24, 10, 11, 15, 14, 23, 21, 11, 13, 11, 13, 10, 10, 10, 12, 12, 10, 12, 12, 14, 11, 10, 10, 13, 10, 12, 19, 32, 4593, 134, 25, 10, 97, 26, 32, 15, 59, 11, 23, 26, 12, 21, 10, 29, 11, 14, 15, 10, 15, 12, 15, 14, 13, 15, 14, 11, 93, 20, 16, 101, 10, 10, 132, 44, 19, 10, 25, 11, 151, 12, 10, 57, 12, 65, 10, 11, 100, 10, 18, 10, 11, 18, 72, 11, 10, 10, 34, 12, 27, 30, 14, 11, 11, 31, 12, 12, 14, 15, 22, 11, 28, 11, 48, 19, 20, 10, 43, 19, 17, 12, 14, 11, 12, 22, 28, 39, 13, 17, 10, 12, 12, 793, 61, 10, 13, 21, 71, 13, 14, 29, 12, 11, 12, 18, 13, 13, 38, 27, 22, 19, 33, 10, 13, 10, 10, 21, 10, 54, 104, 10, 12, 24, 10, 22, 11, 11, 39, 15, 40, 17, 15, 10, 11, 10, 14, 27, 10, 13, 10, 12, 10, 10, 10, 10, 16, 10, 19, 14, 14, 506, 1130, 180, 42, 15, 138, 110, 78, 322, 150, 265, 213, 11, 14, 23, 49, 193, 179, 203, 49, 27, 212, 79, 35, 109, 196, 300, 16, 46, 35, 42, 57, 44, 23, 24, 10, 33, 13, 10, 12, 11, 11, 14, 37, 14, 13, 15, 11, 16, 11, 18, 14, 55, 13, 10, 10, 10, 10, 13, 19, 17, 31, 14, 14, 11, 63, 17, 40, 10, 20, 13, 10, 10, 13, 23, 11, 11, 15, 12, 12, 16, 4904, 16, 866, 25, 30, 23, 15, 41, 12, 14, 23, 12, 10, 15, 16, 16, 29, 13, 10, 13, 14, 27, 12, 12, 13, 11, 22, 12, 19, 13, 15, 13, 25, 17, 10, 30, 19, 11, 16, 13, 12, 13, 117, 15, 13, 15, 33, 10, 13, 339, 10, 14, 10, 25, 18, 10, 27, 13, 17, 22, 26, 12, 12, 11, 10, 343, 82, 17, 18, 19, 15, 10, 10, 10, 10, 30, 2520, 16, 20, 10, 44, 37, 14, 23, 17, 42, 31, 14, 10, 10, 17, 14, 10, 31, 63, 10, 12, 21, 21, 36, 12, 52, 13, 11, 29, 27, 21, 12, 11, 15, 223, 23, 36, 18, 27, 25, 30, 13, 12, 10, 19, 19, 20, 37, 10, 14, 12, 38, 22, 11, 10, 39, 12, 11, 19, 11, 122, 16, 17, 10, 11, 21, 17, 12, 100, 16, 12, 11, 23, 85, 10, 11, 16, 11, 12, 12, 13, 10, 10, 51, 13, 11, 12, 18, 11, 25, 19, 12, 10, 10, 49, 16, 22, 11, 23, 10, 14, 23, 12, 10, 14, 12, 12, 11, 16, 10, 15, 14, 13, 13, 57, 14, 11, 14, 32, 11, 11, 11, 19, 18, 11, 10, 14, 18, 17, 36, 18, 11, 13, 16, 11, 12, 26, 22, 15, 14, 10, 14, 12, 11, 22, 12, 27, 17, 13, 11, 16, 10, 31, 10, 13, 23, 10, 14, 13, 54, 10, 10, 10, 68, 23, 61, 11, 54, 10, 13, 30, 12, 15, 12, 11, 16, 25, 85, 87, 29, 18, 225, 11, 11, 15, 254, 16, 278, 11, 558, 28, 10, 35, 10, 15, 14, 32, 12, 41, 15, 10, 14, 18, 10, 11, 14, 11, 13, 43, 19, 18, 17, 14, 14, 10, 11, 15, 13, 12, 13, 14, 13, 16, 13, 12, 21, 20, 10, 13, 20, 15, 16, 12, 10, 26, 19, 22, 16, 31, 13, 17, 11, 13, 28, 14, 16, 11, 13, 12, 11, 14, 12, 19, 11, 14, 10, 11, 11, 17, 72, 11, 12, 27, 38, 26, 11, 10, 16, 17, 12, 13, 12, 17, 11, 11, 91, 15, 10, 10, 14, 48, 23, 18, 12, 10, 10, 11, 10, 16, 10, 11, 10, 19, 19, 134, 16, 15, 15, 12, 17, 10, 44, 12, 14, 12, 20, 16, 21, 25, 11, 11, 13, 20, 13, 66, 13, 10, 12, 11, 10, 11, 51, 14, 14, 16, 10, 13, 16, 11, 12, 22, 14, 10, 10, 14, 11, 10, 19, 10, 15, 11, 10, 11, 16, 12, 12, 15, 1216, 10, 10, 18, 16, 10, 13, 20, 13, 131, 13, 11, 13, 10, 120, 11, 52, 19, 26, 24, 13, 21, 12, 10, 10, 14, 67, 13, 12, 10, 62, 11, 72, 15, 105, 24, 16, 54, 24, 18, 38, 52, 13, 14, 38, 20, 10, 15, 21, 12, 12, 23, 41, 14, 348, 91, 17, 10, 31, 20, 22, 16, 13, 10, 35, 13, 12, 11, 316, 15, 19, 22, 11, 66, 29, 20, 11, 10, 11, 10, 11, 31, 18, 10, 15, 19, 10, 44, 15, 14, 10, 10, 34, 10, 12, 26, 10, 19, 16, 15, 12, 10, 42, 20, 13, 20, 10, 14, 11, 14, 19, 16, 13, 10, 10, 11, 12, 14, 11, 13, 14, 11, 30, 11, 13, 11, 15, 17, 10, 11, 10, 11, 11, 18, 17, 11, 34, 10, 11, 10, 11, 15, 13, 20, 12, 11, 11, 11, 23, 10, 10, 10, 10, 11, 13, 10, 12, 42, 11, 17, 12, 13, 11, 18, 12, 65, 17, 12, 10, 14, 11, 11, 12, 11, 14, 10, 13, 17, 18, 15, 11, 50, 148, 11, 15, 11, 14, 16, 12, 24, 10, 14, 10, 11, 12, 11, 49, 10, 13, 16, 23, 15, 22, 11, 11, 15, 10, 66, 10, 17, 18, 11, 11, 11, 10, 10, 12, 10, 10, 12, 10, 17, 12, 10, 14, 25, 23, 10, 11, 14, 24, 12, 13, 11, 10, 10, 11, 26, 11, 32, 10, 11, 10, 14, 19, 10, 10, 14, 12, 15, 13, 10, 12, 14, 11, 15, 12, 45, 60, 122, 206, 19, 11, 18, 17, 10, 30, 13, 38, 10, 17, 19, 13, 40, 19, 19, 14, 10, 13, 10, 10, 10, 16, 10, 13, 15, 22, 12, 20, 10, 10, 12, 16, 11, 14, 10, 18, 10, 10, 16, 14, 12, 19, 20, 11, 10, 19, 15, 15, 28, 20, 10, 16, 12, 35, 16, 29, 14, 12, 10, 14, 20, 15, 12, 16, 13, 10, 12, 11, 11, 24, 65, 12, 11, 14, 13, 11, 11, 14, 13, 12, 27, 26, 23, 11, 10, 14, 17, 18, 12, 11, 11, 10, 11, 13, 11, 12, 12, 13, 24, 20, 16, 11, 11, 16, 10, 10, 10, 14, 10, 18, 10, 12, 11, 13, 11, 24, 12, 10, 16, 26, 24, 12, 10, 12, 10, 11, 11, 10, 12, 10, 13, 10, 12, 12, 25, 13, 24, 12, 18, 17, 16, 16, 12, 12, 10, 10, 12, 15, 11, 12, 11, 10, 106, 14, 13, 17, 13, 11, 11, 12, 23, 35, 15, 31, 13, 52, 11, 11, 20, 28, 14, 10, 15, 14, 12, 15, 23, 33, 13, 14, 11, 10, 11, 10, 15, 10, 13, 10, 13, 10, 16, 16, 14, 10, 12, 11, 13, 17, 19, 10, 14, 14, 11, 28, 23, 12, 13, 11, 12, 21, 20, 357, 79, 19, 25, 19, 31, 541, 48, 10, 10, 10, 12, 26, 49, 16, 17, 14, 10, 23, 68, 17, 194, 11, 34, 20, 12, 10, 11, 149, 224, 11, 13, 93, 55, 41, 12, 15, 24, 13, 166, 11, 12, 13, 12, 15, 12, 11, 15, 11, 582, 13, 150, 10, 15, 157, 10, 38, 16, 22, 30, 12, 22, 13, 19, 19, 37, 10, 10, 10, 432, 30, 93, 17, 10, 16, 10, 92, 21, 10, 10, 10, 12, 27, 57, 11, 15, 10, 13, 22, 10, 12, 15, 11, 10, 35, 15, 25, 1426, 11, 13, 11, 15, 185, 20, 11, 15, 18, 17, 84, 54, 125, 21, 10, 20, 17, 11, 45, 30, 26, 27, 24, 12, 17, 10, 14, 60, 77, 47, 25, 16, 41, 10, 14, 10, 19, 13, 12, 25, 10, 13, 13, 700, 13, 12, 37, 42, 13, 66, 99, 199, 504, 11, 661, 21, 29, 18, 11, 29, 11, 14, 24, 331, 231, 3982, 28, 23, 43, 90, 12, 29, 72, 107, 17, 1215, 421, 240, 24, 25, 11, 25, 136, 84, 73, 12, 57, 173, 30, 171, 21, 41, 13, 12, 26, 28, 14, 62, 38, 22, 10, 17, 11, 34, 198, 103, 35, 346, 113, 643, 25, 112, 12, 25, 11, 143, 56, 677, 48, 69, 16, 14, 148, 134, 86, 48, 46, 81, 28, 18, 28, 35, 32, 13, 114, 55, 46, 50, 95, 12, 17, 109, 11, 23, 1240, 13, 52, 24, 57, 13, 75, 41, 13, 14, 43, 30, 40, 50, 69, 191, 49, 42, 12, 1774, 14, 80, 13, 30, 20, 11, 18, 61, 39, 252, 947, 241, 19, 95, 23, 163, 19, 218, 23, 59, 27, 31, 20, 11, 31, 110, 28, 186, 12, 10, 14, 28, 156, 435, 15, 77, 62, 288, 43, 13, 45, 10, 75, 10, 87, 34, 60, 5188, 64, 25, 96, 46, 165, 14, 10, 73, 33, 12, 200, 122, 42, 20, 10, 19, 106, 121, 363, 98, 111, 98, 615, 8064, 107, 12, 12, 16, 13, 19, 65, 50, 234, 23, 45, 244, 547, 25, 16, 43, 20, 11, 29, 72, 244, 152, 10333, 173, 61, 19, 24, 38, 1101, 13, 65, 61, 40, 147, 26, 12, 83, 54, 259, 33, 63, 11, 12, 63, 68, 79, 17, 26, 38, 10, 15, 29, 43, 100, 24, 44, 16, 29, 10, 30, 23, 29, 231, 113, 31, 29, 13, 26, 11, 17, 27, 52, 12, 166, 32, 35, 12, 35, 68, 101, 31, 57, 38, 179, 136, 41, 19, 96, 83, 83, 58, 30, 37, 23, 40, 276, 15, 39, 11, 120, 756, 22, 23, 86, 14, 27, 43, 12, 48, 40, 27, 74, 68, 13, 16, 19, 12, 10, 707, 21, 116, 19, 343, 573, 31, 11, 24, 184, 11, 26, 10, 12, 262, 49, 21, 72, 21, 17, 13, 26, 47, 18, 74, 11, 42, 65, 16, 13, 5713, 26, 78, 21, 11, 45, 2985, 13, 175, 27, 10, 25, 20, 10, 309, 12, 181, 132, 10, 43, 27, 25, 32, 81, 16, 95, 10, 131, 1238, 133, 16, 28, 178, 11, 24, 16, 232, 19, 11, 335, 575, 14, 15, 60, 3095, 38, 25, 22, 36, 151, 124, 121, 11, 62, 10, 13, 23, 165, 73, 10, 15, 12, 77, 13, 36, 10, 17, 15, 15, 6471, 10, 71, 30, 87, 39, 45, 11, 10, 54, 20, 81, 431, 11, 29, 114, 11, 108, 10, 58, 59, 405, 16, 176, 36, 35, 16, 20, 11, 74, 22, 13, 12, 32, 45, 28, 20, 83, 12, 10, 16, 233, 12, 11, 88, 15, 404, 70, 110, 136, 17, 43, 16, 12, 54, 423, 92, 11, 74, 24, 450, 27, 34, 11, 269, 28, 10, 10, 54, 74, 104, 33, 19, 11, 12, 14, 215, 57, 354, 16, 30, 57, 12, 19, 128, 14, 15, 62, 18, 13, 51, 40, 33, 40, 23, 20, 30, 17, 19, 255, 324, 19, 33, 490, 300, 171, 23, 106, 49, 491, 26, 33, 109, 34, 44, 16, 19, 78, 311, 981, 161, 5266, 122, 1096, 192, 2696, 31, 41, 123, 124, 210, 394, 787, 54, 45, 366, 85, 141, 99, 761, 148, 11, 244, 193, 31, 42, 14, 11, 45, 28, 14, 20, 28, 3606, 22, 31, 32, 18, 26, 75, 63, 46, 41, 90, 168, 70, 1160, 78, 24, 86, 51, 640, 21, 10, 49, 12, 12, 21, 23, 11, 18, 376, 136, 22, 22, 12, 25, 1258, 321, 585, 10, 12, 11, 10, 28, 11, 11, 10, 1813, 15, 14, 53, 26, 195, 308, 11, 385, 122, 14, 248, 62, 15, 49, 32, 1038, 124, 64, 12, 11, 194, 26, 11, 146, 237, 19, 345, 13, 46, 10, 18, 137, 46, 32, 150, 293, 15, 163, 12, 143, 70, 87, 19, 54, 67, 28, 252, 893, 76, 15, 24, 10, 209, 185, 33, 144, 22, 298, 191, 14, 88, 170, 718, 46, 10, 94, 44, 31, 26, 10, 114, 10, 98, 29, 94, 119, 79, 15, 10, 32, 33, 174, 12, 191, 32, 235, 60, 10, 34, 86, 11, 10, 113, 65, 57, 280, 21, 20, 15, 72, 234, 14, 26, 16, 119, 53, 73, 21, 370, 84, 21, 72, 110, 18, 130, 28, 16, 100, 54, 14, 30, 73, 42, 16, 734, 11, 12, 11, 16, 166, 39, 24, 34, 36, 73, 323, 668, 109, 65, 10, 26, 24, 140, 11, 33, 188, 11, 83, 26, 13, 91, 42, 13, 67, 27, 28, 70, 22, 27, 15, 15, 17, 117, 15, 10, 83, 16, 26, 63, 78, 17, 291, 341, 73, 35, 23, 19, 44, 12, 53, 1319, 49, 23, 29, 15, 68, 30, 17, 13, 11, 42, 31, 31, 77, 10, 18, 18, 77, 28, 14, 16, 11, 25, 225, 11, 36, 21, 23, 12, 25, 62, 86, 14, 67, 17, 10, 48, 115, 20, 16, 493, 108, 72, 19, 108, 831, 632, 32, 4182, 167, 827, 2890, 796, 298, 10, 12, 2892, 47, 16, 47, 14, 231, 177, 17, 46, 47, 224, 241, 10, 15, 25, 133, 23, 15, 746, 156, 21, 247, 12, 13, 26, 83, 23, 85, 13, 13, 15, 30, 39, 10, 98, 212, 34, 133, 46, 51, 13, 26, 42, 12, 16, 2233, 10, 30, 30, 15, 11, 47, 38, 150, 1533, 34, 57, 103, 159, 71, 188, 943, 51, 3128, 54, 62, 188, 43, 777, 34, 199, 13, 52, 35, 69, 100, 50, 14, 13, 19, 13, 187, 44, 24, 31, 20, 14, 11, 44, 15, 43, 64, 94, 14, 14, 132, 42, 21, 49, 25, 22, 10, 10, 864, 53, 35, 10, 11, 18, 20, 18, 21, 22, 12, 18, 10, 22, 30, 83, 32, 604, 17, 32, 181, 66, 623, 38, 24, 17, 35, 14, 20, 50, 16, 17, 67, 107, 29, 18, 13, 43, 15, 35, 29, 17, 12, 49, 173, 12, 26, 11, 10, 22, 73, 22, 14, 28, 286, 300, 79, 72, 13, 25, 168, 48, 194, 21, 23, 197, 185, 11, 97, 29, 369, 32, 13, 92, 193, 45, 10, 56, 1690, 28, 73, 20, 285, 10, 15, 20, 17, 37, 10, 16, 13, 247, 1183, 150, 11, 13, 11, 25, 407, 13, 79, 16, 172, 13, 66, 50, 10, 55, 34, 28, 59, 72, 21, 10, 22, 19, 105, 28, 24, 35, 16, 113, 60, 16, 13, 16, 80, 44, 52, 132, 28, 10, 124, 18, 51, 89, 16, 34, 25, 26, 144, 20, 72, 18, 88, 122, 28, 10, 11, 37, 42, 23, 190, 38, 11, 3366, 10, 30, 10, 310, 13, 11, 77, 20, 10, 35, 17, 130, 136, 61, 10, 39, 58, 33, 49, 813, 146, 20, 26, 52, 530, 65, 10, 57, 205, 26, 153, 22, 40, 29, 14, 17, 76, 10, 13, 468, 31, 21, 50, 31, 21, 146, 31, 214, 62, 30, 592, 11, 133, 43, 295, 29, 16, 33, 48, 10, 12, 25, 27, 17, 214, 63, 15, 11, 38, 46, 24, 42, 20, 30, 13, 107, 27, 30, 396, 10, 19, 664, 188, 116, 30, 13, 14, 273, 12, 10, 16, 25, 12, 28, 27, 114, 12, 11, 16, 55, 47, 24, 20, 135, 25, 10, 14, 13447, 15, 12, 10, 30, 12, 13, 221, 79, 76, 72, 11, 281, 24, 35, 12, 17, 37, 22, 14, 10, 45, 131, 31, 27, 15, 13, 125, 50, 13, 60, 87, 2486, 42, 228, 74, 32, 477, 12, 12, 545, 10, 15, 12, 84, 73, 23, 12, 5545, 1606, 10, 10, 11, 15, 36, 46, 16, 11, 173, 14, 39, 117, 14, 15, 77, 76, 13, 145, 78, 11, 121, 30, 74, 136, 963, 124, 10, 13, 84, 26, 166, 51, 11, 23, 29, 274, 1550, 153, 37, 49, 108, 21, 11, 17, 76, 18, 20, 37, 98, 15, 31, 72, 72, 20, 20, 237, 11, 121, 13, 21, 72, 4003, 10, 785, 72, 347, 18, 40, 43, 31, 64, 83, 1874, 49, 10, 16, 174, 21, 19269, 12, 53, 96, 10, 12, 31, 14, 10, 14, 67, 101, 47, 64, 22, 74, 52, 36, 20, 690, 28, 33, 30, 179, 13, 11, 17, 12, 72, 656, 12, 30, 10, 11, 16, 13, 13, 1761, 67, 18, 32, 58, 15, 45, 236, 10, 42, 20, 18, 72, 22, 85, 39, 22, 11, 15, 10, 12, 147, 15, 1455, 62, 10, 890, 10, 25, 31, 22, 376, 72, 34, 239, 39, 12, 45, 15057, 27, 16, 247, 18, 79, 40, 10, 12, 274, 58, 25, 19, 45, 20, 63, 27, 30, 5089, 52, 24, 78, 14, 63, 73, 19, 26, 183, 15, 14, 282, 12, 15, 10, 829, 83, 72, 72, 66, 10, 1209, 19, 613, 78, 23, 135, 18, 30, 3213, 34, 18, 21, 39, 56, 27, 25, 10, 25, 17, 186, 106, 18, 51, 182, 60, 12, 18, 10, 182, 11, 15, 10, 53, 747, 11, 43, 12, 254, 72, 18, 36, 81, 10, 12, 49, 77, 73, 20, 11, 14, 76, 82, 85, 12, 85, 31, 43, 14, 66, 434, 23, 43, 10, 261, 13, 18, 118, 23, 35, 11, 35, 141, 45, 23, 36, 12, 10, 183, 50, 252, 113, 73, 30, 33, 12, 87, 38, 11, 14, 73, 436, 27, 98, 18, 28, 50, 470, 18, 36, 135, 10, 13, 761, 40, 170, 105, 35, 14, 83, 60, 46, 12, 11, 40, 37, 10, 10, 18, 10, 50, 36, 10, 20, 33, 1153, 11, 10, 17, 157, 23, 55, 12, 28, 38, 22, 10, 25, 17, 78, 16, 88, 159, 73, 13, 10, 10, 258, 72, 72, 47, 20, 1376, 1240, 56, 23, 46, 58, 129, 20, 1329, 71, 57, 128, 96, 133, 225, 11, 74, 88, 11, 186, 15, 54, 186, 12, 340, 154, 168, 49, 13, 305, 60, 97, 79, 379, 69, 12, 13, 13, 13, 14, 32, 31, 72, 13, 24, 54, 287, 335, 50, 584, 59, 31, 73, 23, 72, 278, 35, 15, 32, 11, 24, 243, 11, 30187, 30, 17, 110, 549, 69, 2469, 81, 24, 11, 102, 17, 14110, 12, 39, 170, 12, 276, 73, 63, 11, 309, 132, 82, 12, 73, 87, 18, 13, 56, 107, 23, 87, 10, 10, 14, 11, 27, 32, 22, 350, 11, 11, 44, 24, 167, 21, 55, 46, 16, 74, 21, 137, 85, 34, 22, 34, 12, 13, 22, 11, 43, 81, 16, 27, 11, 48, 16, 64, 60, 22, 19, 80, 10, 71, 114, 167, 38, 40, 13, 154, 11, 22, 50, 22, 83, 45, 53, 261, 207, 67, 590, 23, 11, 45, 67, 305, 19, 15, 14, 355, 439, 1516, 209, 10, 23, 11, 17, 20, 90, 665, 21, 11, 43, 13, 55, 12, 12, 119, 1046, 26, 32, 16, 1366, 65, 25, 10, 13, 167, 10, 35, 87, 94, 108, 60, 10, 83, 21, 187, 66, 14, 13, 14, 114, 21, 142, 157, 99, 1296, 13, 12, 48, 12, 91, 14, 65, 17, 10, 31, 29, 37, 79, 25, 16, 27, 43, 266, 53, 53, 952, 59, 380, 10, 32, 12, 10, 502, 24, 86, 39, 21, 11, 47, 11, 12, 1280, 38, 14, 11, 26, 12, 411, 25, 11, 101, 59, 10, 30, 15, 16, 3325, 23, 32, 348, 20, 2165, 28, 13, 23, 16, 105, 10, 40, 63, 37, 74, 10, 11, 673, 42, 13, 26, 10, 55, 14, 11, 12, 178, 17, 10, 21, 85, 546, 154, 47, 52, 49, 19, 208, 31, 70, 76, 669, 104, 20, 10, 21, 52, 54, 11, 17, 20, 22, 14, 416, 111, 180, 35, 40, 72, 43, 78, 11, 27, 10, 142, 73, 824, 121, 10, 327, 54, 51, 39, 32, 12687, 20, 247, 11, 320, 33, 164, 22, 68, 10, 805, 140, 12, 12, 25, 20, 191, 26, 22, 10, 186, 22, 20, 11, 124, 15, 14, 1422, 98, 114, 11, 2247, 14, 607, 22, 188, 790, 435, 12, 23, 50, 202, 854, 16, 206, 114, 16, 12, 69, 22, 82, 152, 11, 28, 50, 27, 17, 18, 10, 11, 31, 10, 17, 26, 26, 53, 13, 54, 404, 33, 34, 29, 238, 160, 11, 63, 10, 52, 11, 11, 791, 32, 95, 13, 18, 19, 56, 28, 10, 18, 19, 14, 24, 12, 25, 27, 16, 66, 18, 14, 10, 20, 20, 11, 32, 62, 11, 24, 100, 11, 31, 72, 13, 12, 11, 1958, 14, 235, 14, 2797, 12, 62, 54, 22, 14, 52, 145, 261, 446, 12, 87, 80, 13, 24, 1003, 27, 10, 2267, 11, 43, 19, 129, 11, 153, 11, 32, 205, 11, 159, 19, 16, 45, 62, 11, 26, 60, 20, 78, 94, 12, 78, 152, 21, 147, 14, 23, 200, 697, 130, 59, 10, 11, 11, 150, 31, 79, 17, 37, 87, 14, 11, 115, 12, 44, 20, 765, 44, 24, 162, 11, 13, 210, 39, 25, 195, 12, 345, 28, 12, 62, 27, 10, 42, 14, 107, 288, 29, 267, 151, 37, 1993, 12, 29, 12, 19, 255, 905, 11, 5069, 438, 16, 625, 24, 103, 11, 14, 12, 58, 52, 66, 117, 24, 975, 12, 35, 12, 31, 43, 37, 13, 16, 48, 27, 34, 70, 86, 42, 17, 28, 58, 52, 116, 16, 335, 12, 1123, 14, 119, 11, 24, 30, 77, 11, 7115, 71, 62, 1049, 67, 53, 18, 10, 417, 609, 275, 20, 26, 13, 1580, 452, 65, 32, 10, 537, 10, 1275, 10, 11, 10, 20, 63, 1758, 69, 85, 93, 94, 540, 152, 140, 13, 12, 570, 160, 780, 14, 90, 16, 19, 68, 16, 24, 15, 139, 45, 13, 32, 39, 27, 29, 79, 52, 56, 31, 29, 13, 575, 61, 26, 11, 86, 34, 37, 57, 10, 22, 11, 14, 13, 11, 103, 25, 24, 60, 314, 18222, 61, 43, 29, 26, 267, 40, 11, 15, 51, 15, 11, 78, 10, 16, 157, 19, 38, 21, 357, 97, 61, 65, 373, 151, 16, 12, 48, 30, 28, 13, 74, 11, 46, 64, 71, 13, 47, 90, 10, 11, 71, 174, 27, 21, 60, 21, 87, 75, 168, 13, 12, 11, 16, 37, 230, 33, 46, 12, 29, 293, 90, 29, 271, 13, 26, 15, 35, 14, 23, 10, 448, 18, 13, 114, 27, 19, 11, 16, 66, 39, 520, 21, 2141, 10, 368, 14, 76, 241, 111, 18, 18, 16, 192, 118, 20, 127, 11, 297, 65, 26, 84, 44, 71, 140, 33, 15, 35, 23, 77, 38, 33, 25, 73, 12, 172, 1882, 18, 135, 28, 12, 13, 11, 3132, 11, 32, 30, 606, 137, 79, 15, 38, 10, 21, 75, 340, 197, 175, 396, 18, 11, 14, 83, 12, 26, 125, 37, 118, 13151, 198, 13490, 464, 144, 15, 773, 441, 4963, 16, 118, 305, 39, 776, 253, 107, 109, 303, 37, 290, 4721, 271, 3121, 32, 31, 103, 20, 11, 10, 179, 178, 445, 57, 634, 566, 42, 12, 125, 1314, 858, 18, 235, 35, 47, 79, 68, 142, 24, 15, 45, 40, 71, 24, 90, 401, 78, 18, 50, 554, 10, 535, 116, 513, 103, 33, 42, 124, 117, 189, 20, 20, 56, 16, 80, 139, 10, 86, 613, 10, 173, 49, 22, 22, 103, 172, 12, 68, 31, 35, 52, 23, 45, 18, 78, 38, 21, 141, 181, 97, 16, 651, 45, 91, 123, 243, 132, 124, 1486, 43, 84, 11, 18, 230, 30, 25, 59, 13, 13, 79, 75, 133, 10, 76, 11, 137, 58, 20, 19, 71, 31, 62, 11, 11, 190, 10, 57, 46, 15, 236, 21, 744, 42, 14, 12, 81, 27, 10, 85, 257, 32, 10, 58, 74, 23, 13, 74, 118, 740, 141, 296, 133, 70, 15, 2806, 268, 166, 27, 420, 258, 87, 11, 10, 12, 15, 125, 88, 58, 154, 66, 91, 33, 17, 11, 25, 200, 1021, 27, 36, 11, 16, 42, 35, 186, 53, 3359, 120, 33, 86, 39, 68, 215, 12, 24, 14, 55, 86, 89, 10, 70, 27, 99, 19, 12, 377, 70, 18, 11, 44, 1292, 84, 10, 18, 121, 11, 101, 50, 189, 29, 11, 1249, 34, 26, 129, 12, 28, 178, 12, 10, 279, 44, 163, 16, 124, 12, 34, 40, 15, 14, 70, 10, 26, 175, 36, 29, 10, 14, 1043, 37, 60, 179, 225, 82, 53, 21, 518, 37, 12, 20, 67, 23, 19, 44, 13, 26, 17, 23, 16, 46, 63, 59, 500, 31, 192, 55, 45, 78, 45, 12, 32, 20, 16, 30, 12, 125, 270, 31, 13, 74, 12, 68, 33, 30, 24, 314, 66, 31, 10, 35, 20, 10, 23, 32, 33, 1042, 317, 10, 132, 164, 1037, 196, 13, 53, 24, 190, 17, 22, 19, 64, 1114, 128, 10, 442, 94, 16, 15, 145, 10, 107, 83, 132, 30, 102, 19, 18, 71, 28, 12, 22, 74, 12, 35, 17, 14, 10, 91, 18, 14, 56, 10, 10, 27, 10, 58, 13, 24, 87, 48, 10, 22, 20, 167, 186, 24, 305, 70, 50, 24, 24, 93, 30, 25, 38, 116, 12, 62, 11, 238, 319, 35, 10, 164, 11, 11, 27, 16, 26, 37, 24, 10, 90, 30, 21, 14, 26, 108, 174, 15, 11, 81, 28, 11, 30, 97, 17, 45, 14, 17, 122, 21, 49, 18, 59, 42, 94, 16, 33, 16, 59, 29, 30, 52, 63, 69, 20, 103, 19, 25, 12, 31, 2021, 26, 81, 147, 12, 19, 177, 10, 713, 30, 73, 20, 38, 36, 46, 10, 33, 11, 27, 239, 36, 244, 23, 10, 11, 14, 73, 23, 39, 28, 77, 29, 46, 964, 12, 88, 110, 57, 11, 52, 23, 96, 8217, 29, 1132, 26, 24, 29, 76, 13, 11, 24, 14, 19, 11, 44, 499, 514, 19, 14, 46, 58, 2507, 34, 32, 42, 56, 46, 39, 4437, 33, 159, 13, 11, 49, 346, 13, 112, 290, 42, 35, 12, 77, 12, 19, 15, 10, 11, 139, 27, 12, 145, 39, 1499, 137, 14, 85, 75, 151, 24, 11, 24, 81, 550, 44, 26, 19, 18, 19, 96, 10, 177, 11, 32, 22, 36, 58, 486, 200, 12, 125, 65, 18, 108, 54, 51, 287, 32, 25, 10, 10, 11, 39, 987, 25, 15, 192, 19, 28, 114, 12, 726, 10, 90, 35, 127, 72, 223, 13, 1452, 17, 37, 43, 396, 42, 22, 11, 34, 27, 204, 22, 45, 12, 264, 14, 22, 174, 10, 165, 18, 1257, 21, 38, 237, 77, 60, 40, 30, 165, 43, 548, 33, 26, 21, 141, 36, 21, 83, 815, 41, 10, 16, 17, 63, 78, 56, 16, 10, 11, 13, 221, 15537, 344, 48, 11, 40, 22, 13, 14, 112, 11, 40, 57, 30, 22, 115, 36, 99, 78, 78, 98, 12, 234, 65, 57, 114, 1910, 236, 63, 35, 15, 556, 13, 25, 10, 513, 12, 128, 744, 190, 1168, 11, 62, 116, 652, 74, 28, 19, 94, 28, 16, 13, 54, 21, 63, 38, 10, 126, 97, 240, 98, 336, 25, 29, 28, 14, 11, 111, 23, 48, 19, 390, 11, 14, 113, 85, 38, 11, 14, 29, 13, 13, 21, 177, 120, 24, 191, 43, 44, 11, 10, 23, 13, 20, 15, 32, 21, 37, 12, 67, 18, 15, 19, 15, 11, 155, 14, 10, 41, 22, 12, 61, 10, 346, 64, 15, 547, 74, 49, 15, 36, 10, 11, 522, 65, 23, 10, 83, 20, 322, 1013, 30, 15, 144, 51, 234, 16, 159, 94, 30, 271, 30, 12355, 417, 29, 60, 12, 14, 13, 41, 39, 87, 12, 16, 12, 19, 16, 115, 1090, 11, 53, 15, 132, 92, 10, 222, 84, 20, 14, 39, 13, 55, 26, 34, 59, 1467, 40, 27, 87, 11, 684, 35, 11, 14, 70, 28, 32, 374, 10, 185, 12, 21, 21, 45, 25, 14, 23, 13, 11, 22, 10, 39, 106, 380, 90, 222, 42, 12, 33, 46, 135, 23, 18, 14, 39, 23, 24, 97, 96, 14, 34, 27, 87, 21, 61, 22, 13, 18, 25, 24, 234, 66, 44, 10, 15, 163, 50, 10, 16, 10, 11, 10, 115, 11, 50, 20, 11, 507, 44, 226, 73, 31, 278, 87, 50, 126, 24, 48, 356, 22, 12, 1205, 94, 1156, 181, 30, 16, 31, 51, 1985, 15, 136, 31, 55, 21, 149, 55, 64, 29, 14, 35, 10, 26, 51, 7824, 12, 14, 18, 24, 29, 88, 26, 31, 35, 93, 25, 30, 38, 80, 11, 79, 29, 7390, 45, 12, 31, 13, 40, 58, 12, 20, 204, 54, 18, 37, 54, 72, 21, 30, 120, 12, 19, 12, 13, 97, 14, 58, 71, 37, 395, 24, 117, 291, 128, 48, 662, 12, 47, 61, 3383, 42, 138, 76, 13, 88, 13, 53, 136, 36, 23, 12, 162, 13, 13, 12, 745, 161, 45, 188, 13, 49, 10, 78, 25, 10252, 2272, 797, 12, 11, 103, 470, 70, 39, 332, 59, 29, 51, 539, 11, 24, 18, 11, 17, 46, 41, 140, 20, 24, 41, 145, 82, 20, 32, 49, 50, 96, 36, 127, 22, 13, 21, 39, 30, 10, 31, 76, 10, 17, 19, 92, 521, 139, 52, 20, 42, 10, 11, 72, 85, 17, 20, 10, 112, 15, 74, 38, 76, 10, 14, 141, 10, 283, 53, 221, 143, 18, 77, 54, 10, 11, 51, 289, 34, 13, 13, 15, 333, 21, 52, 18, 74, 45, 119, 74, 193, 44, 21, 15, 351, 13, 80, 283, 234, 147, 21, 96, 10, 74, 56, 14, 685, 12, 10, 19, 64, 22, 31, 73, 12, 38, 210, 38, 22, 21, 19, 17, 77, 61, 149, 15, 23, 61, 42, 30, 34, 20, 19, 24, 44, 131, 53, 31, 12, 56, 63, 17, 13, 59, 183, 10, 73, 111, 92, 81, 55, 189, 13, 43, 812, 1107, 269, 26, 61, 26, 224, 1078, 96, 35, 13, 49, 15, 32, 96, 53, 27, 23, 586, 10, 28, 19, 1755, 30, 11, 20, 51, 18, 27, 36, 14, 678, 13, 18, 33, 23, 22, 11, 990, 141, 118, 450, 150, 11, 11, 256, 37, 42, 85, 90, 14, 416, 163, 806, 22, 22, 12, 75, 226, 10, 167, 33, 123, 125, 54, 512, 263, 326, 6199, 118, 600, 200, 2854, 31, 504, 14, 23, 305, 12, 32, 12, 23, 70, 13, 506, 64, 23, 42, 14, 72, 320, 206, 21, 15, 12, 27, 13, 338, 31, 52, 68, 10, 126, 14, 66, 412, 52, 17, 16, 21, 27, 12, 13, 78, 10, 647, 99, 340, 44, 27, 11, 420, 34, 86, 15, 30, 35, 177, 51, 44, 67, 28, 84, 57, 449, 271, 70, 25, 40, 3787, 10, 495, 21, 57, 2579, 51, 364, 50, 696, 36, 213, 56, 489, 42, 20, 76, 157, 60, 81, 52, 12, 212, 219, 17, 12, 75, 10, 51, 41, 11, 20, 14, 388, 51, 15, 137, 15, 88, 27, 14, 11, 28, 11, 36, 17, 29, 267, 11, 10, 82, 11, 68, 10, 14, 92, 153, 83, 18, 10, 29, 341, 132, 412, 28, 19, 20, 1590, 13, 252, 11, 11, 76, 61, 14, 98, 11, 18, 96, 61, 98, 2065, 23, 10, 21, 10, 13, 445, 1363, 11, 15, 90, 17, 40, 23, 29, 11, 40, 13, 15, 20, 85, 28, 14, 56, 200, 68, 53, 30, 12, 68, 10, 24, 10, 257, 25, 75, 21, 11, 83, 42, 96, 80, 43, 10, 13, 61, 161, 127, 37, 141, 21, 20, 308, 44, 36, 24, 15, 32, 15, 12, 18, 10, 23, 76, 42, 14, 59, 58, 30, 161, 10, 13, 12, 10, 13, 13, 42, 31, 10, 49, 11, 455, 63, 10, 22, 24, 35, 13, 28, 174, 93, 49, 71, 13, 54, 374, 13, 115, 55, 88, 576, 12, 10, 89, 46, 37, 68, 26, 13, 23, 17, 16, 41, 89, 248, 18, 47, 11, 12, 69, 24, 31, 16, 29, 84, 16, 11, 10, 72, 119, 186, 57, 119, 26, 13, 43, 14, 16, 27, 207, 12, 21, 18, 58, 18, 13, 15, 171, 554, 141, 13, 39, 113, 50, 10, 14, 10, 10, 15, 47, 25, 153, 209, 59, 11, 24, 10, 36, 42, 12, 31, 210, 16, 78, 17, 239, 23, 10, 12, 13, 10, 1552, 12, 17, 15, 18, 247, 10, 17, 516, 22, 80, 14, 21, 54, 77, 28, 18, 5624, 30, 145, 12, 82, 75, 173, 12, 15, 156, 362, 67, 169, 47, 36, 22, 18, 13, 31, 23, 43, 11, 11, 45, 93, 31, 15, 28, 26, 71, 10, 31, 299, 11, 142, 57, 14, 87, 11, 10, 14, 44, 20, 362, 31, 147, 312, 17, 30, 25, 766, 215, 12, 21, 86, 15, 11, 13, 16, 17, 23, 185, 53, 14, 33, 19, 22, 16, 18, 16, 12, 27, 16, 35, 11, 59, 14, 30, 18, 19, 11, 12, 54, 14, 15, 72, 135, 230, 13, 6508, 538, 15, 22, 14, 135, 15, 2467, 26, 2826, 33, 546, 92, 78, 16, 41, 186, 27, 12, 27, 671, 66, 118, 58, 11, 11, 12, 22, 22, 13, 178, 42, 12, 41, 64, 21, 49, 25, 12, 472, 10, 11, 10, 180, 73, 122, 139, 12, 13, 73, 21, 10, 22, 37, 466, 18, 24, 37, 207, 11, 18, 18, 23, 40, 26, 669, 110, 881, 14, 2562, 24, 10, 180, 170, 27, 27, 34, 21, 23, 13, 27, 11, 17, 12, 76, 101, 38, 13, 339, 17, 65, 17, 19, 27, 84, 94, 22, 152, 10, 160, 12, 22, 16, 45, 1498, 10, 12, 62, 71, 15, 10, 13, 13, 48, 17, 12, 38, 11, 35, 27, 13, 56, 88, 2540, 87, 11, 36, 116, 37, 27, 43, 21, 191, 23, 14, 27, 14, 94, 15, 20, 73, 175, 17, 126, 31, 61, 10, 76, 11, 37, 22, 28, 225, 16, 306, 28, 20, 77, 15, 58, 19, 17, 179, 13, 239, 154, 10, 19, 20, 13, 31, 30, 16, 74, 195, 115, 1788, 178, 69, 113, 144, 151, 36, 33, 518, 37, 15, 17, 16, 47, 37, 13, 43, 21, 25, 14, 41, 21, 49, 26, 17, 17, 27, 10, 12, 23, 20, 32, 78, 31, 28, 12, 31, 12, 42, 11, 47, 17, 12, 13, 269, 45, 217, 10, 11, 15, 45, 10, 374, 18, 137, 69, 22, 68, 86, 11, 11, 11, 18, 23, 103, 24, 26, 32, 18, 49, 19, 14, 59, 27, 18, 65, 63, 47, 65, 65, 13, 21, 488, 14, 22, 18, 529, 10, 20, 68, 219, 1818, 2065, 34, 630, 48, 34, 10, 401, 98, 119, 26, 58, 74, 116, 104, 49, 30, 11, 13, 13, 17, 12, 105, 19, 11, 89, 142, 68, 115, 105, 54, 35, 155, 43, 33, 1495, 17, 72, 13, 86, 157, 621, 19, 64, 23, 70, 13, 10, 327, 40, 17, 180, 14, 35, 28, 32, 27, 93, 635, 10, 25, 14, 12, 10, 23, 12, 1140, 29, 17, 33, 10, 11, 193, 121, 30, 13, 11, 22, 11, 13, 44, 120, 329, 10329, 66, 581, 53, 53, 138, 53, 13, 200, 58, 26, 20, 17, 20, 12, 61, 33, 10, 92, 39, 178, 482, 26, 19, 41, 24, 22, 32, 10, 154, 41, 94, 25, 121, 261, 23, 14, 70, 30, 10, 16, 104, 363, 272, 62, 113, 17, 1685, 69, 68, 54, 101, 110, 21, 27, 94, 41, 381, 49, 61, 12, 58, 28, 16, 93, 15, 44, 10, 2023, 24, 20, 27, 11, 57, 116, 39, 14, 47, 190, 21, 35, 14, 83, 10, 12, 15, 126, 21, 11, 17, 12, 135, 32, 25, 715, 143, 47, 40, 21, 13, 215, 11, 54, 14, 150, 12, 36, 176, 263, 10, 233, 67, 20, 78, 29, 96, 11, 41, 93, 60, 160, 12, 20, 33, 10, 3442, 99, 5528, 64, 10, 18, 27, 10, 92, 884, 29, 108, 13, 472, 34, 549, 48, 88, 58, 37, 11, 200, 14, 15, 27, 236, 13, 10, 20, 171, 430, 253, 20, 19, 37, 14, 134, 13, 14, 13, 10, 10, 20, 24, 109, 11, 1426, 190, 27, 22, 15, 143, 211, 109, 86, 21, 60, 10, 37, 28, 86, 113, 28, 39, 27, 21, 125, 29, 22, 440, 11, 91, 38, 23, 242, 25, 150, 88, 618, 15, 40, 29, 13, 10, 18, 112, 20, 35, 22, 832, 27, 93, 30, 123, 116, 168, 426, 12, 12, 11, 10, 10, 21, 35, 10, 11, 407, 13, 16, 87, 125, 33, 13, 49, 54, 26, 12, 11, 45, 79, 17, 12, 489, 24, 11, 40, 67, 119, 15, 21, 55, 75, 47, 63, 27, 10, 11, 15, 17, 12, 16, 10, 28, 12, 19, 20, 12, 48, 47, 62, 19, 118, 19, 30, 10, 40, 46, 470, 30, 391, 12, 152, 61, 23, 21, 44, 27, 10, 11, 10, 12, 10, 10, 24, 60, 55, 99, 11, 10, 11, 80, 33, 46, 11, 11, 467, 17, 174, 95, 17, 200, 673, 202, 104, 134, 69, 12, 107, 51, 66, 154, 33, 106, 24, 497, 127, 196, 307, 88, 86, 33, 171, 35, 80, 21, 1281, 112, 92, 12, 131, 25, 12, 33, 190, 489, 10, 44, 23, 323, 58, 11, 116, 135, 49, 33, 18, 12, 10, 33, 134, 469, 52, 467, 373, 32, 216, 88, 136, 2118, 330, 44, 13, 18, 14, 13, 153, 230, 33, 12, 17, 178, 135, 30, 29, 12, 120, 37, 399, 16, 25, 56, 15, 135, 115, 33, 57, 11, 16, 10, 76, 559, 83, 47, 196, 75, 10, 145, 14, 23, 421, 23, 10, 12, 12, 18, 83, 2063, 1145, 1958, 429, 54, 92, 58, 75, 12, 76, 27, 4749, 1469, 1741, 100, 141, 226, 470, 81, 205, 40, 26, 37, 64, 65, 148, 49, 33, 37, 28, 306, 325, 29, 11, 417, 1138, 686, 44, 14, 12, 43, 17, 39, 41, 17, 16, 48, 14, 217, 99, 23, 26, 11, 10, 25, 63, 22, 12, 14, 14, 44, 75, 17, 75, 75, 75, 75, 75, 340, 1856, 17, 26, 172, 47, 16, 172, 153, 40, 145, 73, 12, 26, 40, 12, 60, 14, 15, 6569, 468, 296, 107, 293, 46, 182, 28, 10, 81, 501, 172, 21, 213, 200, 36, 10, 711, 12, 158, 41, 16, 168, 2138, 39, 141, 19, 2193, 70, 123, 268, 48, 36, 241, 21, 21, 17, 64, 64, 69, 10, 11, 84, 84, 77, 116, 22, 29, 133, 39, 49, 504, 23, 42, 16, 25, 13, 44, 29, 464, 16, 10, 12, 179, 75, 75, 92, 11031, 27, 124, 111, 1076, 14, 12, 23, 49, 118, 237, 12, 64, 22, 84, 129, 11, 16, 280, 105, 267, 14, 106, 12, 21, 14, 54, 355, 35, 11, 12, 177, 22, 124, 64, 16, 216, 77, 19, 10, 143, 73, 20, 124, 54, 208, 61, 54, 13, 10, 31, 450, 204, 177, 15, 27, 13, 41, 23, 562, 1502, 1163, 13, 75, 300, 181, 73, 120, 43, 19, 107, 37, 38, 10, 27, 10, 1414, 805, 30, 37, 10, 71, 6028, 21, 153, 39, 57, 38, 10, 14, 10, 114, 10, 110, 27, 31, 49, 64, 21, 85, 11, 58, 12, 17, 39, 59, 15, 96, 18, 311, 10, 37, 27, 31, 34, 12, 11, 14, 32, 23, 550, 11, 47, 14, 18, 312, 146, 17, 64, 50, 15, 11, 183, 106, 19, 15, 11, 26, 16, 14, 18, 17, 20, 11, 11, 89, 14, 75, 46, 15, 41, 75, 76, 39, 272, 265, 17, 6495, 2530, 39, 33, 39, 157, 623, 28, 52, 52, 45, 19, 257, 12, 12, 41, 33, 11, 276, 53, 253, 19, 12, 31, 12, 11, 14, 13, 14, 303, 20, 13, 110, 64, 96, 50, 15, 176, 11, 17, 68, 19, 14, 12, 57, 163, 20, 13, 170, 10, 14, 14, 30, 12, 17, 20, 15, 27, 73, 19, 78, 11, 19, 224, 31, 415, 30, 139, 239, 45, 13, 39, 10, 11, 35, 12, 12, 11, 26, 15, 19, 555, 118, 757, 101, 36, 77, 11, 10, 12, 32, 26, 10, 10, 12, 56, 1023, 186, 581, 37, 19, 24, 95, 534, 52, 25, 23, 24, 246, 1397, 29, 598, 458, 278, 10, 86, 35, 25, 60, 42, 3465, 38, 16, 83, 10, 323, 46, 90, 13, 12, 58, 21, 37, 11, 608, 21, 432, 70, 1038, 24, 147, 12, 62, 11, 182, 83, 24, 10, 112, 29, 209, 22, 17, 1062, 165, 14, 1309, 46, 699, 26, 21, 94, 93, 65, 172, 17, 27, 23, 13, 40, 49, 142, 103, 3136, 31, 25, 37, 30, 16, 10, 177, 12, 58, 26, 39, 24, 959, 849, 13, 11, 10, 24, 1529, 13, 26, 61, 15, 53, 1164, 86, 14, 27, 12, 22, 12, 16, 12, 109, 89, 2156, 12, 12, 58, 12, 13, 17, 15, 70, 112, 30, 17, 17, 32, 43, 10, 74, 56, 31, 227, 214, 11, 44, 10, 21, 18, 14, 73, 18, 13, 24, 22, 13, 145, 730, 86, 138, 157, 14, 13, 80, 76, 113, 239, 18, 15, 22, 16, 70, 137, 16, 16, 35, 11, 25, 20, 152, 27, 23, 24, 15, 11, 178, 15, 47, 25, 630, 14, 113, 135, 37, 619, 43, 345, 118, 378, 59, 212, 78, 42, 119, 365, 13, 25, 12, 1081, 20, 14, 14, 12, 19, 1395, 114, 50, 15, 38, 17, 16, 741, 324, 123, 147, 14, 106, 11, 18, 17, 71, 13, 28, 15, 46, 17, 70, 12, 12, 309, 47, 24, 54, 10, 110, 528, 20, 14, 11, 14, 10, 39, 25, 15, 44, 134, 41, 14, 33, 23, 60, 11, 11, 126, 40, 37, 279, 16, 55, 14, 259, 152, 11, 14, 77, 56, 12, 11, 122, 15, 92, 11, 11, 113, 65, 16, 13, 78, 23, 33, 15, 18, 85, 16, 502, 23, 14, 10, 124, 185, 278, 460, 28, 50, 50, 15, 154, 14, 11, 25, 25, 39, 238, 939, 410, 78, 21, 244, 182, 7320, 34, 94, 36, 27, 107, 13, 386, 102, 16, 11, 1345, 11, 39, 14, 10, 14, 128, 246, 80, 17, 43, 26, 400, 15, 13, 245, 11, 10, 90, 438, 11, 286, 26, 23, 21, 43, 12, 1419, 14, 14, 32, 55, 204, 24, 99, 35, 109, 74, 33, 404, 42, 15, 51, 12, 30, 44, 39, 22, 383, 23, 35, 10, 364, 12, 370, 398, 31, 230, 13, 61, 25, 12, 28, 27, 148, 11, 33, 21, 484, 139, 95, 86, 31, 14, 39, 38, 1042, 125, 64, 77, 281, 577, 13, 34, 8208, 10, 20, 23, 36, 55, 23, 23, 70, 26, 141, 159, 19, 25, 11, 15, 64, 13, 11, 36, 22, 24, 16, 23, 16, 24, 27, 40, 71, 229, 35, 66, 38, 14, 10, 11, 39, 11, 2979, 49, 203, 194, 101, 261, 203, 186, 18, 17, 30, 18, 12, 857, 10, 30, 16, 13, 317, 66, 10, 37, 17, 71, 190, 134, 33, 11, 11, 12, 116, 45, 22, 77, 85, 15, 448, 14, 14, 11, 10, 18, 13, 10, 395, 201, 58, 1744, 192, 78, 217, 14, 90, 13616, 11, 41, 20, 155, 36, 11, 57, 10, 555, 13, 12, 20, 12, 54, 11, 285, 13, 13, 188, 130, 10, 189, 39, 23, 23, 18, 12, 12, 12, 315, 21, 15, 101, 37, 13, 33, 45, 16, 29, 77, 32, 20, 45, 28, 13, 21, 84, 47, 30, 331, 12, 12, 155, 48, 31, 34, 32, 17, 176, 71, 339, 10, 14, 10, 42, 196, 2973, 11, 379, 13, 61, 41, 10, 2281, 204, 11, 24, 221, 281, 24, 14, 168, 55, 18, 13, 22, 63, 28, 18, 15, 12, 26, 92, 11, 44, 45, 30, 112, 37, 25, 23, 49, 13, 85, 12, 35, 13, 39, 100, 141, 778, 17, 322, 1042, 590, 56, 19, 198, 44, 13, 11, 334, 97, 36, 39, 180, 50, 39, 133, 94, 146, 101, 40, 567, 10, 24, 75, 43, 2661, 10, 275, 31, 35, 72, 339, 131, 20, 18, 79, 231, 20, 225, 19, 57, 205, 12, 2497, 266, 133, 657, 194, 81, 52, 61, 137, 13, 19, 847, 10, 44, 158, 33, 64, 12, 90, 10, 56, 1084, 75, 15, 11, 185, 166, 62, 52, 102, 14, 75, 46, 10, 12, 23, 189, 31, 21, 32, 12, 19, 17, 11, 127, 25, 17, 23, 11, 12, 44, 18, 93, 36, 370, 13, 12, 10, 15, 901, 14, 41, 43, 10, 25, 55, 68, 16, 30, 72, 81, 23, 19, 13, 113, 58, 101, 59, 49, 52, 203, 138, 11, 86, 363, 30, 34, 124, 20, 18, 15, 10, 20, 31, 829, 37, 79, 14, 1646, 118, 117, 408, 33, 10, 133, 100, 237, 337, 478, 56, 92, 28, 12, 319, 79, 10, 12, 33098, 30, 450, 22, 12, 372, 23, 51, 35, 3923, 22, 26, 39, 40, 26, 26, 38, 65, 270, 39, 135, 292, 25, 127, 355, 34, 40, 17, 17, 80, 28, 70, 38, 55, 81, 62, 34, 38, 43, 14, 291, 19, 3207, 11, 269, 18, 89, 45, 28, 30, 25, 10, 28, 491, 236, 1901, 55, 19, 125, 43, 88, 280, 4667, 39, 57, 22, 148, 24, 207, 13, 254, 240, 25, 38, 76, 175, 48, 193, 20, 40, 338, 16, 13, 133, 12, 12, 12, 21, 36, 38, 10, 13, 48, 37, 163, 27, 23, 33, 43, 91, 80, 19, 37, 82, 16, 17, 30, 26, 77, 547, 38, 88, 54, 35, 12, 40, 10, 13, 54, 22, 58, 13, 126, 299, 31, 51, 30, 12, 10, 42, 95, 355, 10, 30, 114, 85, 41, 1044, 45, 840, 25, 83, 47, 20, 1022, 162, 116, 39, 68, 43, 45, 15, 34, 24, 2415, 3773, 220, 55, 1092, 147, 11, 18, 90, 26, 12, 54, 408, 314, 135, 48, 187, 187, 35, 15, 10, 26, 557, 327, 22, 22, 234, 27, 21, 39, 104, 39, 173, 51, 171, 121, 355, 16, 171, 41, 66, 11, 2527, 13, 377, 20, 21, 22, 75, 1203, 169, 13, 128, 15, 11, 19, 1163, 1370, 135, 10, 44, 120, 12, 66, 16, 14, 12, 27, 24, 18, 145, 11, 261, 60, 14, 25, 58, 10, 10, 14, 29, 10, 18, 735, 115, 440, 41, 11, 10, 58, 397, 55, 20, 14, 83, 46, 65, 13, 19, 60, 77, 14, 149, 222, 12, 16, 20, 104, 25, 1368, 42, 547, 46, 241, 41, 48, 98, 49, 110, 10, 16, 23, 12, 15, 15, 23, 77, 12, 681, 12, 391, 83, 12, 614, 268, 2515, 1442, 21, 20, 46, 174, 576, 32, 26, 92, 1513, 282, 5026, 10, 215, 42, 7091, 37, 322, 11, 241, 205, 27, 16, 28, 24, 194, 18, 109, 18, 85, 13, 12, 12, 10, 5387, 20, 26, 64, 46, 132, 10, 17, 300, 86, 14, 161, 19, 38, 26, 23, 52, 10, 12, 11, 83, 186, 80, 109, 87, 53, 276, 10, 19, 11, 22, 18, 20, 216, 10, 335, 38, 108, 13, 35, 10, 78, 193, 45, 31, 53, 96, 98, 20, 63, 357, 22, 13, 147, 1302, 934, 27, 1764, 15, 10, 90, 938, 11, 34, 10, 11, 11, 10, 13, 82, 19, 114, 24, 10, 12, 42, 73, 126, 18, 17, 50, 67, 69, 51, 47, 213, 14, 14, 48, 10, 15, 50, 15, 1464, 16, 13, 10, 20, 14, 11, 58, 150, 10, 68, 24, 78, 260, 11, 1358, 1021, 10, 16, 200, 17, 72, 12, 15, 23, 22, 10, 16, 42, 1424, 15, 24, 10, 34, 587, 83, 11, 32, 18, 14, 131, 95, 69, 27, 145, 345, 36, 145, 160, 10, 126, 19, 105, 24, 47, 12, 89, 42, 85, 38, 1753, 2021, 17, 44, 14, 1697, 23, 51, 72, 26, 113, 10, 11, 17, 55, 80, 12, 429, 16, 21, 12, 15, 24, 50, 14, 79, 62, 38, 61, 92, 10, 18, 66, 35, 22, 27, 12, 487, 22, 20, 32, 87, 29, 47, 321, 16, 243, 446, 13, 20, 96, 125, 10, 10, 24, 33, 83, 23, 13, 128, 11, 26, 13, 138, 85, 18, 66, 126, 23, 13, 11, 10, 62, 11, 47, 24, 1760, 16, 22, 235, 171, 13, 46, 40, 41, 114, 23, 85, 87, 13, 35, 34, 13, 20, 32, 12, 369, 10, 10, 13, 33, 31, 22, 50, 24, 83, 12, 872, 33, 113, 60, 15, 22, 10, 35, 77, 460, 44, 112, 14, 102, 27, 108, 41, 84, 44, 11, 14, 236, 24, 10, 13, 91, 38, 21, 133, 164, 18, 16, 67, 258, 152, 36, 31, 17, 35, 28, 13, 15, 11, 43, 24, 203, 20, 52, 18, 24, 14, 19, 118, 73, 91, 22, 21, 51, 59, 24, 21, 28, 75, 47, 13, 101, 122, 21, 62, 10, 77, 12, 15, 34, 117, 18, 11, 288, 215, 18, 14, 121, 21, 56, 1556, 93, 10, 75, 36, 26, 11, 12, 395, 26, 116, 26, 17, 43, 32, 12, 58, 12, 20, 10, 20, 90, 10, 26, 18, 20, 13, 38, 35, 127, 11, 15, 12, 10, 18, 12, 379, 171, 14, 112, 82, 236, 126, 23, 300, 236, 160, 1048, 32, 82, 11, 30, 76, 21, 86, 14, 71, 35, 166, 33, 31, 20, 28, 19, 111, 39, 60, 162, 66, 17, 59, 21, 290, 10, 153, 23, 161, 21, 459, 10, 53, 26, 41, 21, 299, 91, 424, 412, 35, 13, 199, 37, 11, 44, 2357, 22, 80, 525, 387, 112, 33, 12, 481, 26, 40, 10, 11, 67, 13, 13, 359, 24, 15, 18, 37, 10, 64, 64, 64, 33, 1646, 496, 490, 15, 2688, 12, 120, 391, 549, 19, 11, 29, 16, 25, 84, 166, 11, 179, 30, 21, 14, 12, 133, 472, 11, 11, 12, 11, 43, 12, 11, 204, 100, 24, 41, 37, 59, 36, 16, 33, 43, 10, 15, 13, 22, 269, 197, 10, 14, 14, 22, 30, 52, 166, 111, 16, 22, 76, 30, 16, 17, 12, 21, 15, 112, 11, 76, 27, 258, 21, 69, 77, 40, 13, 16, 23, 28, 24, 234, 153, 18, 16, 23, 202, 22, 105, 46, 10, 44, 91, 27, 112, 11, 34, 100, 12, 18, 32, 67, 10, 2660, 148, 343, 11, 27, 45, 32, 27, 11, 50, 14, 83, 13, 10, 23, 126, 12, 72, 7232, 30, 13, 15, 12, 27, 396, 164, 82, 28, 389, 24, 520, 15, 242, 15, 26, 32, 17, 24, 18, 50, 10, 15, 21, 780, 12, 36, 152, 29, 79, 138, 318, 31, 48, 90, 13, 27, 24, 39, 10, 67, 15, 35, 87, 12, 403, 88, 35, 13, 11, 57, 106, 63, 34, 39, 18, 16, 2538, 78, 418, 32, 121, 30, 39, 143, 11, 68, 265, 25, 18, 54, 14, 340, 23, 13, 20, 60, 16, 10, 15, 31, 13, 20, 44, 73, 12, 62, 200, 20, 58, 103, 12, 24, 45, 19, 146, 31, 16, 14, 60, 17, 32, 256, 12, 10, 205, 292, 38, 11, 14, 1182, 59, 20, 411, 13, 80, 11, 22, 24, 33, 58, 10, 43, 56, 12, 396, 30, 17, 33, 60, 58, 275, 25, 15, 17, 103, 10, 33, 151, 74, 16, 306, 11, 57, 32, 19, 33, 18, 56, 16, 45, 178, 145, 89, 22, 88, 259, 30, 15, 12, 33, 73, 191, 355, 10, 235, 87, 16, 12, 133, 21, 215, 119, 13, 355, 255, 23, 78, 97, 49, 20, 30, 16, 25, 308, 15, 11, 134, 146, 11, 16, 10, 72, 10, 14, 19, 13, 72, 3825, 15, 65, 39, 297, 13, 132, 35, 131, 36, 31, 16, 88, 101, 21, 21, 53, 16, 33, 13, 26, 10, 21, 21, 67, 23, 10, 16, 16, 56, 12, 30, 24, 22, 12, 50, 232, 20, 49, 32, 21, 27, 14, 14, 17, 24, 30, 61, 60, 18, 37, 441, 167, 270, 127, 12, 691, 13, 25, 11, 10, 11, 10, 17, 707, 187, 552, 261, 87, 21, 77, 18, 10, 144, 18, 40, 78, 73, 59, 41, 81, 49, 12, 30, 1072, 109, 26, 15, 16, 205, 241, 146, 10, 10, 29, 15, 13, 12, 18, 30, 10, 12, 12, 113, 469, 34, 21, 891, 1576, 20, 143, 23, 13, 14, 59, 14, 18, 28, 446, 13, 18, 12, 417, 17, 21, 35, 25, 19, 14, 109, 19, 33, 92, 11, 14, 24, 37, 88, 15, 17, 15, 14, 17, 10, 29, 14, 113, 166, 37, 38, 104, 134, 10, 14, 19, 113, 14, 71, 12, 49, 15, 246, 11, 23, 16, 12, 17, 30, 698, 15, 289, 23, 51, 51, 18, 31, 10, 10, 14, 19, 10, 23, 47, 19, 67, 453, 67, 22, 263, 14, 11, 63, 22, 11, 50, 1084, 603, 13, 17, 103, 13, 88, 72, 27, 30, 12, 11, 85, 10, 18, 200, 172, 19, 49, 173, 82, 15, 220, 10, 523, 15, 229, 16, 15, 37, 10, 38, 14, 18, 12, 17, 27, 25, 31, 14, 13, 11, 374, 64, 10, 27, 709, 17, 41, 10, 35, 52, 32, 400, 10, 10, 35, 37, 34, 366, 23, 112, 20, 110, 21, 324, 37, 16, 47, 14, 59, 10, 16, 22, 44, 13, 98, 212, 29, 21, 30, 52, 17, 223, 28, 15, 1136, 157, 13, 12, 15, 10, 12, 12, 12, 36, 28, 40, 10, 25, 556, 46, 23, 13, 1034, 33, 123, 12, 11, 27, 12, 10, 29, 2363, 30, 25, 780, 31, 11, 69, 6159, 16, 13, 55, 12, 16, 15, 56, 22, 27, 16, 177, 1377, 50, 33, 28, 254, 32, 11, 77, 51, 19, 24, 15, 1217, 10, 24, 11, 11, 86, 72, 12733, 77, 20, 14, 12, 21, 12, 10, 11, 10, 15, 445, 12, 599, 45, 28, 12, 2413, 171, 203, 260, 124, 26, 43, 138, 29, 10, 36, 22, 17, 56, 12, 18, 38, 80, 78, 22, 1370, 47, 8628, 132, 49, 10, 51, 22, 2281, 295, 439, 781, 139, 82, 16, 10, 15, 189, 66, 18, 14, 63, 206, 23, 73, 16, 257, 19, 46, 21, 44, 30, 11, 244, 112, 10, 10, 10, 35, 29, 18, 10, 88, 165, 42, 29, 19, 10, 48, 11, 11, 12, 14, 47, 10, 85, 1605, 54, 431, 21, 85, 18, 318, 15, 10, 10, 653, 45, 44, 10, 44, 84, 12, 94, 134, 12, 12, 277, 11, 10, 11, 635, 104, 1189, 26, 15, 138, 17, 131, 27, 12, 10, 17, 54, 12, 20, 62, 18, 54, 16, 12, 699, 127, 12, 104, 67, 48, 170, 1015, 66, 10, 54, 23, 72, 109, 16, 118, 59, 23, 2249, 1616, 53, 10, 16, 93, 240, 79, 69, 72, 155, 26, 22, 164, 18, 10, 84, 836, 92, 73, 15, 23, 49, 25, 25, 23, 86, 110, 26, 11, 71, 13, 15, 36, 32, 199, 35, 273, 73, 330, 574, 25, 45, 30, 12, 384, 21, 272, 11, 24, 332, 62, 165, 11, 32, 346, 103, 39, 266, 12, 21, 12, 10, 10, 15, 53, 26, 10, 17, 22, 12, 14, 58, 12, 21, 10, 22, 25, 10, 155, 119, 13, 32, 14, 228, 195, 13, 32, 50, 16, 40, 10, 10, 12, 18, 10, 69, 96, 22, 36, 11, 29, 19, 11, 38, 845, 10, 10, 29, 26, 154, 81, 29, 27, 137, 21, 24, 81, 19, 10, 34, 56, 32, 69, 59, 26, 11, 62, 17, 27, 219, 70, 18, 290, 20, 10, 31, 134, 143, 40, 194, 30, 18, 62, 10, 36, 314, 26, 265, 39, 78, 22, 13, 45, 21, 32, 33, 17, 13, 113, 42, 25, 20, 12, 40, 68, 40, 275, 1412, 161, 1122, 10, 19, 56, 61, 112, 35, 13, 18, 10, 10, 23, 48, 21, 91, 15, 12, 136, 13, 12, 25, 10, 155, 30, 21, 101, 165, 39, 486, 75, 15, 10, 14, 23, 19, 26, 12, 34, 53, 189, 21, 41, 42, 79, 10, 238, 10, 76, 69, 374, 12, 91, 12, 36, 46, 328, 16, 11, 311, 95, 103, 60, 41, 27, 228, 67, 241, 13, 19, 11, 14, 10, 63, 27, 16, 22, 11, 40, 13, 436, 93, 98, 120, 54, 119, 13, 93, 125, 290, 17, 141, 22, 12, 31, 594, 12, 10, 23, 24, 305, 13, 120, 20, 10, 62, 41, 10, 41, 157, 62, 77, 87, 30, 8598, 18, 25, 59, 17, 11, 30, 1906, 84, 22, 18, 41, 91, 96, 34, 12, 11, 10, 21, 83, 290, 48, 41, 892, 1023, 1053, 843, 11, 14, 10, 23, 21, 14, 10, 24, 77, 97, 46, 30, 60, 22, 24, 35, 10, 16, 60, 18, 55, 1804, 168, 74, 25, 17, 285, 35, 53, 14, 21, 25, 21, 15, 11, 122, 19, 120, 54, 11, 23, 20, 32, 13, 32, 50, 160, 13, 20, 27, 23, 26, 10, 47, 77, 125, 61, 31, 41, 213, 51, 7221, 42, 14, 27, 12, 10, 24, 110, 11, 19, 74, 11, 37, 63, 11, 44, 147, 32, 917, 71, 20, 93, 84, 13, 12, 82, 583, 312, 108, 102, 10, 72, 10, 10, 59, 69, 2103, 10, 60, 259, 16, 11, 11, 12, 41, 4377, 581, 40, 187, 12, 11, 193, 15, 10, 528, 508, 23, 42, 35, 38, 31, 10, 60, 50, 10, 10, 156, 119, 14, 20, 39, 18, 69, 268, 50, 32, 98, 59, 435, 17, 138, 20, 81, 32, 84, 12, 69, 49, 11, 600, 58, 11, 67, 27, 12, 38, 63, 77, 17, 14, 30, 110, 847, 98, 20, 35, 84, 58, 11, 46, 46, 13, 44, 19, 62, 12, 10, 17, 24, 15, 34, 127, 15, 40, 59, 79, 10, 21, 670, 57, 48, 12, 17, 30, 11, 80, 139, 56, 31, 91, 23, 36, 60, 131, 97, 680, 19, 38, 66, 10, 20, 45, 11, 11, 12, 10, 105, 17, 11, 989, 11, 12, 53, 162, 60, 20, 10, 46, 16, 49, 11, 16, 10, 11, 149, 42, 21, 12, 10, 20, 16, 78, 59, 61, 30, 14, 160, 7511, 224, 2189, 267, 207, 688, 15, 121, 13, 16, 11, 16, 16, 330, 20, 15, 33, 216, 69, 18, 52, 11, 86, 14, 452, 11, 42, 14, 15, 20, 10, 94, 10, 172, 16, 17, 13, 33, 202, 247, 10, 11, 103, 17, 39, 12, 31, 12, 10, 29, 49, 16, 16, 11, 20, 19, 12, 14, 23, 58, 25, 157, 15, 83, 50, 76, 86, 37, 26, 12, 155, 1049, 37, 22, 53, 1565, 72, 53, 15, 87, 389, 97, 19, 310, 35, 34, 10, 17, 25, 12, 19, 31, 1140, 10, 301, 43, 30, 347, 3562, 10, 12, 18, 10, 50, 25, 102, 13, 24, 1666, 89, 29, 42, 50, 73, 10, 11, 22, 15, 2079, 130, 174, 97, 19, 13, 27, 66, 996, 935, 88, 996, 14, 28, 48, 32, 1911, 58, 1389, 124, 15, 243, 28, 51, 10, 878, 549, 44, 220, 173, 14, 54, 39, 54, 80, 35, 11, 42, 10, 51, 10, 433, 15, 47, 69, 11, 11, 29, 45, 20, 13, 81, 105, 59, 14, 47, 55, 11, 21, 111, 28, 27, 4933, 25, 14, 16, 10, 16, 519, 39, 20, 11, 23, 33, 47, 11, 13, 40, 31, 87, 364, 50, 35, 16, 11, 35, 429, 30, 18, 91, 10, 10, 18, 512, 11, 10, 105, 12, 30, 11, 55, 54, 18, 142, 143, 12, 30, 2177, 12, 12, 202, 1902, 525, 43, 11, 77, 19, 15, 12, 67, 75, 458, 490, 91, 38, 123, 322, 260, 17, 29, 86, 66, 13, 22, 284, 40, 13, 16, 11, 48, 13, 39, 10, 10, 10, 11, 19, 11, 86, 29, 20, 17, 14, 193, 15, 73, 73, 74, 78, 20, 162, 36, 15, 14, 28, 349, 12, 7595, 131, 839, 84, 301, 11, 881, 2007, 197, 20, 867, 12, 199, 2338, 29, 102, 35, 2718, 116, 39, 30, 13, 53, 27, 44, 15, 14, 36, 114, 33, 86, 52, 158, 150, 19, 14, 87, 54, 224, 30, 86, 196, 15, 60, 12, 780, 35, 10, 239, 525, 14, 17, 220, 31, 528, 161, 129, 10, 42, 46, 13, 3676, 145, 87, 32, 23, 20, 19, 151, 318, 14, 18, 1089, 27, 72, 15, 13, 26, 15, 96, 71, 46, 2238, 21, 516, 14, 18, 471, 11, 11, 132, 55, 11, 11, 101, 174, 21, 31, 33, 33, 21, 14, 36, 20, 19, 232, 5111, 10, 135, 522, 22, 17, 114, 12, 10, 38, 29, 105, 12, 52, 11, 393, 22, 17, 10, 15, 32, 80, 125, 15, 16, 14, 105, 10, 64, 294, 61, 13, 32, 19, 21, 77, 10, 413, 10, 10, 16, 13, 38, 149, 136, 22, 15, 11, 21, 13, 116, 13, 12, 12, 11, 14, 31, 21, 11, 11, 12, 134, 41, 47, 216, 285, 31, 53, 789, 2648, 41, 470, 39, 13, 10, 32, 61, 11, 10, 56, 14, 192, 12, 13, 34, 13, 22, 21, 10, 17, 78, 17, 20, 18, 27, 61, 49, 90, 14, 36, 28, 10, 103, 26, 11, 65, 16, 25, 13, 12, 36, 10, 60, 39, 37, 16, 14, 13, 24, 15, 27, 43, 800, 41, 10, 40, 10, 42, 11, 13, 17, 10, 110, 36, 65, 19, 12, 156, 113, 162, 1841, 11, 32, 33, 17, 11, 21, 10, 13, 68, 50, 37, 29, 24, 424, 10, 522, 59, 34, 17, 12, 16, 15, 29, 14, 61, 11, 17, 10, 26, 32, 17, 42, 39, 16, 1684, 30, 139, 32, 50, 20, 167, 13, 4125, 11, 17, 17, 25, 16, 55, 11, 88, 15, 41, 79, 243, 107, 16, 11, 26, 50, 22, 160, 11, 13, 135, 100, 22, 58, 30, 14, 10, 10, 169, 38, 10, 17, 34, 101, 38, 51, 30, 11, 11, 17, 809, 386, 16, 228, 1999, 15, 17, 84, 33, 10, 135, 12, 319, 17, 25, 15, 487, 662, 16, 195, 23, 22, 3255, 32, 1136, 128, 20, 10, 24, 53, 10, 27, 12, 24, 11, 111, 2105, 20, 10, 13, 277, 11, 22, 26, 102, 73, 10, 16, 387, 3672, 91, 10, 17, 44, 304, 79, 30, 582, 13, 267, 19, 75, 31, 13, 17, 42, 15, 13, 36, 10, 13, 52, 21, 221, 29, 13, 325, 105, 123, 132, 403, 16, 10, 438, 41, 910, 30, 15, 1438, 21, 21, 106, 126, 858, 10, 34, 135, 13, 14, 13, 10, 10, 13, 23, 13, 77, 19, 17, 1990, 14, 199, 366, 861, 49, 12, 96, 31, 25, 947, 42, 68, 15, 14, 37, 25, 401, 12, 12, 12, 16, 1497, 147, 38, 60, 17, 10, 38, 30, 36, 110, 11, 60, 10, 32, 12, 14, 142, 431, 176, 115, 18, 103, 65, 60, 14, 44, 17, 29, 127, 45, 10, 39, 105, 13, 13, 391, 16, 13, 10, 96, 21, 77, 10, 27, 14, 11, 21, 17, 801, 81, 65, 11, 23, 62, 130, 19, 186, 31, 41, 174, 20, 142, 20, 79, 11, 12, 213, 14, 29, 98, 63, 23, 32, 6722, 204, 209, 25, 15, 11, 145, 12, 20, 27, 25, 10, 29, 18, 29, 158, 35, 39, 10, 14, 156, 360, 90, 2382, 211, 38, 30, 39, 11, 71, 18, 51, 84, 93, 96, 77, 30, 59, 108, 10, 39, 10, 78, 10, 33, 18, 19, 13, 44, 11, 134, 31, 20, 150, 20, 27, 146, 754, 10, 75, 16, 55, 216, 54, 14, 59, 15, 139, 164, 16, 11, 17, 331, 366, 272, 71, 16, 71, 312, 21, 19, 140, 21, 1179, 14, 168, 13, 10, 15, 7425, 115, 512, 91, 72, 14, 23, 45, 86, 154, 66, 24, 13, 5087, 30, 58, 385, 64, 22, 18, 132, 23, 11, 15, 184, 15, 749, 60, 89, 10, 1764, 211, 208, 51, 13, 19, 18, 12, 23, 17, 10, 146, 63, 64, 11, 218, 847, 233, 21, 96, 26, 59, 1155, 103, 20, 10, 179, 21, 140, 1263, 232, 12, 22, 11, 2160, 1140, 10, 72, 15, 1282, 31, 26, 14, 370, 474, 178, 1069, 10, 19, 27, 75, 30, 11, 892, 109, 64, 293, 174, 113, 203, 2468, 26, 10, 10, 224, 59, 12, 153, 11, 39, 83, 10, 10, 56, 3160, 772, 39, 10, 121, 3432, 13, 411, 15, 517, 240, 650, 12, 95, 43, 224, 41, 14, 23, 12, 5864, 416, 2184, 15, 11, 818, 250, 12, 16, 13, 14, 73, 37, 2270, 12, 11, 17, 166, 262, 727, 40, 174, 10, 12, 53, 153, 61, 48, 19, 1411, 46, 39, 32, 470, 22, 15, 25, 560, 586, 14, 28, 85, 127, 20, 11, 11, 134, 12, 138, 28, 11, 75, 13, 574, 78, 35, 1462, 31, 12, 21, 232, 4374, 29, 71, 10, 74, 50, 285, 97, 126, 28, 32, 75, 11, 14, 28, 222, 10, 24, 104, 120, 40, 168, 157, 12, 307, 123, 51, 33, 75, 114, 18, 13, 254, 13, 922, 14, 55, 18, 40, 84, 14, 49, 409, 10, 474, 47, 10, 33, 81, 188, 899, 14, 11, 734, 14, 16, 24, 12, 14, 11, 25, 147, 168, 410, 1426, 61, 33, 18, 23, 40, 10, 147, 81, 63, 238, 12, 39, 25, 16, 112, 24, 35, 416, 49, 140, 11, 13, 180, 67, 13, 76, 27, 10, 164, 14, 33, 16, 38, 348, 105, 67, 158, 13, 21, 21, 34, 10, 31, 35, 29, 11, 16, 20, 17, 16, 101, 27, 10, 11, 72, 85, 12, 48, 14, 12, 17, 11, 655, 33, 33, 33, 53, 11, 295, 31, 33, 114, 20, 142, 10, 221, 12, 39, 12, 43, 10, 302, 15, 2252, 209, 41, 13, 16, 39, 21, 158, 12, 22, 12, 36, 20, 23, 11, 71, 93, 15, 477, 16, 1638, 17, 13, 87, 51, 35, 315, 61, 338, 10, 90, 15, 29, 13, 27, 49, 29, 68, 21, 22, 44, 10, 43, 18, 45, 11, 50, 41, 18, 18, 14, 13, 12, 32, 212, 173, 12, 138, 735, 12, 30, 4528, 39, 10, 32, 33, 49, 11, 14, 10, 42, 37, 52, 620, 27, 34, 23, 11, 33, 63, 23, 22, 103, 1882, 15, 26, 16, 29, 15, 16, 16, 192, 60, 38, 21, 36, 52, 66, 34, 16, 10, 12, 20, 14, 36, 29, 44, 144, 1345, 19, 213, 146, 82, 14, 363, 155, 16, 27, 11, 32, 28, 110, 16, 23, 77, 16, 23, 57, 17, 23, 14, 224, 115, 14, 68, 15, 37, 192, 29, 10, 1989, 132, 192, 73, 29, 94, 19, 23, 936, 76, 11, 26, 12, 38, 15, 107, 10, 10, 21, 11, 18, 24, 132, 16, 37, 49, 176, 83, 24, 10, 412, 12, 12, 10, 13, 14, 707, 15, 147, 13, 19, 574, 12, 50, 46, 305, 81, 55, 26, 26, 17, 34, 10, 100, 15, 25, 14, 19, 17, 15, 13, 45, 14, 95, 250, 10, 11, 111, 15, 17, 55, 98, 15, 32, 12, 10, 517, 53, 10, 10, 77, 168, 31, 14, 308, 25, 62, 11, 36, 209, 673, 10, 65, 29, 29, 36, 33, 116, 20, 22, 93, 104, 971, 241, 2344, 43, 11, 1244, 31, 13, 19, 155, 10, 204, 27, 63, 16, 41, 48, 115, 208, 16, 41, 17, 86, 11, 169, 24, 30, 13, 58, 10, 19, 10, 45, 10, 29, 12, 70, 12, 14, 39, 15, 607, 132, 20, 209, 14, 160, 22, 11, 407, 79, 23, 41, 19, 142, 13, 52, 64, 109, 48, 38, 191, 17, 2712, 10, 27, 21, 32, 11, 69, 10, 60, 58, 28, 16, 437, 22, 65, 67, 10, 21, 24, 28, 32, 50, 96, 20, 15, 46, 309, 12, 72, 107, 28, 14, 45, 51, 17, 20, 13, 11, 14, 109, 23, 37, 24, 918, 3769, 751, 15, 15, 10, 12, 42, 43, 10, 146, 236, 503, 2246, 387, 329, 118, 19, 29, 10, 1837, 12, 38, 233, 72, 19, 203, 10, 13, 10, 97, 169, 1008, 1199, 255, 846, 64, 50, 15, 10, 14, 704, 469, 15, 25, 11, 14, 11, 34, 377, 11, 13, 15, 652, 11, 51, 25, 11, 80, 17, 291, 35, 19, 20, 15, 73, 37, 10, 39, 20, 16, 22, 151, 71, 55, 12, 2772, 25, 358, 16, 97, 99, 16, 231, 13, 29, 93, 27, 34, 15, 118, 11, 506, 13, 13, 11, 39, 34, 12, 2175, 16, 11, 59, 687, 17, 12, 84, 10, 20, 14, 15, 26, 18, 52, 12, 14, 11, 20, 71, 36, 1267, 16, 40, 26, 11, 2893, 10, 1065, 15, 26, 20, 23, 1393, 11, 57, 14, 30, 4082, 927, 230, 452, 881, 18, 10, 158, 32, 64, 57, 55, 428, 72, 35, 24, 69, 84, 19, 10547, 88, 90, 69, 47, 39, 39, 123, 3007, 2949, 11, 119, 32, 14, 56, 40, 11, 11, 21, 47, 12, 57, 179, 10, 115, 21, 14, 16, 14, 49, 59, 146, 10, 132, 115, 25, 52, 179, 99, 29, 32, 11, 24, 27, 11, 14, 470, 46, 26, 14, 76, 48, 28, 3448, 12, 53, 73, 21, 3210, 347, 12, 151, 14, 65, 129, 13, 17, 36, 35, 88, 2138, 1112, 962, 105, 12, 177, 11, 16, 18, 11, 11, 10, 36, 23, 65, 94, 24, 43, 18, 44, 50, 441, 16, 18, 174, 1141, 15, 420, 31, 73, 36, 14, 127, 37, 34, 26, 174, 38, 37, 173, 743, 19, 31, 21, 1199, 60, 34, 87, 17, 33, 22, 64, 2146, 25, 174, 28, 127, 28, 30, 85, 232, 24, 19, 183, 638, 17, 19, 104, 18, 11, 24, 15, 29, 30, 21, 172, 2192, 13, 263, 30, 10, 1237, 17, 48, 11, 17, 54, 33, 12, 9656, 13, 33, 125, 5971, 293, 720, 56, 151, 17, 50, 10, 22, 14, 10, 26, 11, 375, 42, 12, 26, 1780, 528, 25, 50, 347, 31, 22, 53, 14, 61, 182, 14, 59, 716, 11, 18, 16, 17, 37, 18, 90, 680, 10, 185, 44, 23, 15, 34, 23, 10, 27, 42, 18, 10, 10, 10, 11, 11, 39, 51, 14, 185, 153, 22, 19, 159, 34, 73, 19, 70, 67, 13, 10, 316, 17, 4303, 424, 24, 85, 19, 1028, 145, 14, 41, 11, 18, 633, 82, 36, 11, 10, 180, 17, 11, 11, 275, 380, 17, 290, 330, 10, 24, 21, 127, 79, 16, 66, 11, 14, 50, 15, 28, 59, 17, 119, 497, 23, 10, 46, 18, 249, 21, 115, 151, 103, 11, 10, 46, 10, 35, 14, 10, 15, 10, 12, 30, 42, 354, 22, 10, 46, 13, 265, 69, 14, 20, 15, 21, 59, 11, 14, 11, 114, 27, 22, 335, 16, 39, 37, 27, 31, 14, 58, 22, 27, 15, 23, 33, 74, 15, 11, 212, 138, 122, 11, 32, 208, 135, 24, 100, 191, 125, 11, 280, 42, 58, 107, 20, 20, 10, 33, 36, 41, 16, 23, 25, 54, 11, 80, 20, 26, 16, 10, 10, 12, 246, 45, 10, 530, 15, 10, 10, 117, 52, 26, 69, 89, 10, 10, 16, 35, 50, 13, 22, 38, 12, 11, 41, 213, 107, 30, 19, 18, 121, 39, 15, 12, 13, 27, 19, 65, 57, 13, 16, 85, 29, 118, 72, 835, 14, 26, 38, 180, 114, 20, 18, 53, 649, 57, 20, 11, 31, 90, 13, 12, 75, 100, 10, 24, 25, 11, 105, 17, 12, 745, 5856, 49, 19, 32, 106, 1578, 608, 30, 10, 12, 15, 11, 23, 21, 63, 46, 173, 59, 28, 152, 110, 31, 87, 422, 224, 66, 41, 11, 13, 15, 10, 10, 268, 53, 57, 14, 15, 13, 11, 12, 15, 19, 233, 65, 79, 49, 21, 10, 50, 2116, 11, 13, 39, 17, 16, 50, 10, 10, 28, 11, 94, 324, 10, 105, 31, 13, 80, 18, 23, 828, 69, 14, 11, 40, 76, 22, 14, 160, 16, 11, 518, 51, 33, 17, 21, 22, 255, 19, 15, 16, 382, 148, 10, 66, 116, 34, 166, 10, 16, 511, 40, 135, 30, 13, 136, 24, 11, 16, 22, 135, 132, 158, 65, 108, 381, 13, 62, 17, 11, 29, 47, 45, 22, 218, 70, 22, 17, 84, 28, 27, 13, 20, 13, 3352, 183, 12, 386, 18, 37, 1794, 18, 129, 79, 1521, 15, 19, 22, 41, 11, 72, 31, 34, 16, 13, 21, 13, 14, 72, 17, 11, 40, 58, 63, 72, 494, 65, 133, 13, 23, 13, 672, 92, 14, 20, 19, 13, 12, 11, 14, 22, 24, 273, 17, 16, 83, 60, 27, 10, 10, 175, 20, 15, 27, 38, 125, 48, 37, 13, 33, 84, 24, 219, 112, 686, 590, 40, 129, 38, 10, 131, 10, 11, 450, 30, 60, 75, 20, 29, 135, 45, 82, 10, 197, 76, 55, 52, 153, 19, 193, 314, 12, 46, 25, 14, 16, 3554, 23, 33, 11, 27, 18, 39, 52, 10, 78, 23, 18, 14, 12, 16, 15, 25, 58, 27, 172, 28, 21, 5242, 131, 39, 12, 16, 465, 94, 13, 85, 139, 40, 3801, 37, 10, 1247, 45, 44, 38, 71, 115, 45, 11, 11, 39, 48, 71, 87, 202, 30, 122, 15, 129, 259, 36, 53, 12, 10, 34, 33, 47, 22, 13, 70, 15, 1535, 95, 13, 11, 56, 130, 15, 15, 17, 74, 106, 17, 14, 10, 74, 12, 83, 163, 67, 14, 14, 87, 15, 146, 132, 15, 11, 18, 11, 17, 86, 15, 15, 14, 428, 21, 26, 12, 34, 10, 62, 18, 29, 11, 17, 77, 22, 2364, 640, 83, 23, 19, 33, 249, 75, 89, 30, 195, 26, 13, 19, 12, 38, 61, 12, 251, 20, 875, 882, 14, 3448, 26, 20, 15, 37, 39, 185, 25, 16, 46, 59, 11, 10, 181, 52, 25, 77, 32, 34, 197, 319, 26, 329, 12, 34, 25, 44, 21, 40, 12, 10, 16, 17, 240, 44, 24, 60, 33, 55, 370, 496, 32, 10, 31, 12, 15, 60, 1787, 10, 64, 132, 545, 10, 244, 12, 36, 10, 11, 62, 12, 34, 18, 33, 12, 11, 10, 16, 2737, 47, 59, 10, 36, 18, 11, 32, 203, 34, 554, 143, 117, 45, 79, 89, 17, 14, 16, 13, 72, 15, 43, 63, 326, 59, 99, 17, 11, 16, 42, 85, 41, 46, 10, 21, 20, 11, 16, 66, 30, 25, 72, 41, 26, 69, 22, 28, 19, 782, 58, 18, 27, 27, 61, 631, 12, 131, 45, 10, 558, 31, 27, 24, 22, 11, 74, 45, 146, 111, 129, 572, 55, 22, 157, 183, 20, 22, 14, 81, 62, 47, 12, 39, 59, 70, 157, 11, 14, 10, 67, 60, 46, 78, 27, 19, 1410, 161, 11, 34, 10, 11, 58, 22, 16, 62, 16, 40, 34, 10, 90, 10, 127, 13, 54, 261, 81, 12, 91, 123, 10, 48, 27, 12, 66, 20, 31, 12, 60, 65, 27, 36, 104, 41, 177, 54, 44, 30, 14, 70, 136, 15, 144, 36, 141, 214, 72, 28, 12, 18, 14, 65, 157, 85, 11, 70, 74, 91, 14, 79, 21, 18, 22, 19, 97, 14, 52, 13, 18, 77, 10, 649, 10, 48, 61, 10, 11, 10, 69, 29, 18, 25, 176, 216, 2699, 13, 326, 87, 63, 233, 10, 100, 22, 19, 32, 109, 19, 1169, 24, 17, 56, 134, 166, 57, 100, 203, 37, 26, 49, 33, 394, 63, 10, 49, 15, 26, 22, 250, 25, 19, 14, 49, 48, 74, 84, 35, 16, 11, 41, 18, 11, 88, 73, 23, 16, 10, 20, 12, 54, 18, 680, 11, 24, 20, 42, 13, 11, 186, 142, 22, 15, 73, 18, 259, 2652, 15, 19, 27, 36, 198, 16, 15, 850, 16, 28, 37, 10, 16, 12, 88, 116, 13, 30, 176, 21, 74, 10, 38, 23, 52, 21, 18, 10, 11, 603, 12, 19, 10, 89, 52, 43, 20, 20, 221, 12, 88, 11, 72, 20, 64, 289, 44, 96, 68, 180, 11, 28, 12, 12, 30, 14, 26, 10, 21, 12, 69, 26, 18, 55, 33, 390, 27, 89, 66, 62, 10, 360, 10, 56, 19, 157, 127, 4440, 31, 16, 16, 66, 21, 10, 18, 108, 534, 18, 144, 97, 113, 12, 48, 21, 319, 14, 10, 12, 21, 868, 22, 53, 51, 17, 10, 10, 293, 118, 110, 77, 64, 25, 301, 18, 202, 42, 15, 29, 55, 96, 16, 13, 20, 14, 294, 28, 10, 18, 11, 40, 90, 151, 45, 131, 13, 27, 137, 50, 182, 361, 76, 12, 229, 29, 29, 57, 14, 34, 73, 102, 10, 61, 59, 16, 690, 69, 187, 15, 10, 32, 103, 236, 176, 22, 11, 22, 10, 13, 130, 54, 72, 12, 10, 22, 28, 264, 14, 10, 36, 33, 31, 14, 50, 36, 11, 17, 24, 617, 47, 18, 425, 70, 18, 40, 72, 10, 21, 23, 101, 68, 14, 373, 288, 17, 16, 52, 117, 12, 11, 13, 16, 23, 33, 21, 21, 34, 175, 358, 29, 15, 44, 18, 159, 83, 79, 38, 154, 17, 664, 55, 418, 22, 26, 11, 79, 53, 428, 51, 33, 14, 12, 210, 11, 30, 34, 23, 21, 2299, 51, 36, 56, 30, 10, 10, 11, 57, 12, 10, 15, 28, 733, 69, 36, 40, 51, 60, 14, 10, 17, 71, 32, 24, 11, 11, 35, 1970, 20, 33, 52, 86, 18, 32, 27, 17, 80, 111, 18, 57, 20, 13, 41, 20, 292, 17, 807, 19, 14, 405, 326, 2048, 149, 62, 37, 50, 10, 11, 11, 24, 29, 33, 13, 22, 15, 61, 11, 25, 30, 15, 13, 64, 68, 43, 29, 36, 27, 20, 15, 22, 17, 25, 15, 12, 239, 40, 13, 13, 18, 51, 25, 11, 24, 13, 56, 18, 43, 196, 23, 31, 11, 18, 98, 59, 23, 12, 38, 10, 10, 10, 3963, 10, 84, 138, 26, 17, 16, 14, 11, 21, 14, 39, 133, 54, 32, 155, 24, 72, 16, 13, 16, 12, 271, 42, 18, 10, 57, 35, 120, 93, 44, 25, 39, 11, 88, 97, 22, 59, 26, 19, 22, 18, 12, 53, 30, 57, 13, 148, 50, 41, 11, 53, 90, 157, 33, 225, 44, 36, 112, 74, 11, 183, 48, 32, 556, 2501, 101, 17, 32, 13, 41, 40, 12, 23, 524, 91, 685, 11, 93, 414, 12, 10, 22, 103, 17, 29, 16, 65, 10, 69, 63, 100, 47, 73, 62, 31, 11, 63, 10, 29, 10, 22, 15, 19, 38, 103, 26, 38, 10, 110, 36, 10, 13, 20, 10, 3021, 10, 29, 14, 7057, 15, 21, 60, 31, 708, 12, 55, 88, 14, 81, 12, 64, 677, 117, 10, 19, 21, 65, 111, 39, 17, 1176, 153, 15, 16, 13, 62, 404, 33, 87, 50, 37, 11, 67, 90, 146, 1342, 432, 1272, 126, 16, 109, 21, 22, 134, 23, 16, 25, 13, 29, 60, 10, 140, 22, 304, 10, 14, 64, 27, 16, 100, 84, 10, 29, 10, 522, 24, 34, 14, 419, 503, 50, 46, 786, 14, 318, 608, 86, 40, 19, 14, 47, 20, 112, 11, 791, 30, 61, 11, 11, 12, 10, 11, 26, 68, 10, 31, 42, 77, 465, 55, 50, 162, 20, 67, 90, 80, 262, 24, 11, 63, 189, 26, 13, 14, 141, 11, 14, 152, 166, 15, 65, 12, 263, 426, 42, 10, 44, 107, 17, 21, 278, 87, 12, 42, 243, 89, 35, 115, 10, 150, 20, 12, 266, 19, 11, 134, 22, 14, 2601, 85, 10, 60, 200, 88, 20, 10, 58, 17, 19, 42, 119, 13, 22, 54, 58, 29, 13, 62, 381, 19, 10, 10, 524, 19, 14, 147, 12, 112, 11, 56, 588, 11, 10, 3018, 16, 27, 17, 10, 86, 256, 28, 137, 35, 264, 162, 45, 578, 46, 59, 14, 576, 102, 60, 21, 44, 215, 12, 14, 61, 39, 119, 186, 895, 14, 98, 63, 93, 122, 81, 1241, 11, 277, 88, 215, 33, 13, 32, 15, 74, 44, 71, 123, 52, 13, 10, 11, 10, 36, 83, 142, 12, 23, 11, 57, 16, 443, 13, 15, 12, 36, 31, 10, 64, 105, 18, 254, 156, 22, 22, 30, 16, 11, 664, 949, 56, 21, 30, 176, 15, 609, 21, 240, 31, 31, 210, 30, 24, 17, 56, 10, 72, 57, 46, 139, 24, 20, 15, 25, 8428, 71, 264, 33, 55, 19, 14, 13, 15, 93, 15, 68, 28, 25, 35, 40, 114, 14, 118, 59, 127, 593, 295, 33, 17, 22, 12, 53, 42, 231, 1043, 13, 13, 25, 10, 13, 11, 43, 18, 936, 20, 231, 13, 15, 37, 73, 16, 13, 2880, 14, 11, 14, 12, 18, 86, 11, 126, 316, 31, 12, 12, 24, 405, 11, 13, 13, 13, 46, 87, 25, 10, 98, 90, 31, 11, 17, 11, 11, 21, 36, 11, 37, 17, 33, 17, 51, 21, 12, 11, 79, 25, 11, 25, 17, 18, 1406, 29, 29, 54, 28, 20, 112, 49, 49, 20, 134, 24, 56, 39, 642, 70, 54, 10, 13, 11, 17, 2196, 126, 16, 28, 15, 67, 20, 64, 11, 18, 10, 58, 28, 39, 145, 128, 284, 52, 187, 10, 155, 66, 11, 125, 13, 136, 349, 43, 6352, 191, 46, 47, 165, 48, 30, 64, 31, 12, 11, 382, 102, 22703, 119, 23, 245, 36, 15, 121, 10, 514, 57, 12, 15, 82, 14, 10, 13, 85, 10, 56, 46, 59, 669, 14, 25, 121, 29, 11, 20, 10, 116, 16, 287, 32, 11, 16, 338, 10, 27, 442, 18, 118, 17, 13, 10, 45, 282, 31, 13, 28, 50, 89, 13, 54, 15, 132, 23, 11, 213, 10, 176, 18, 55, 188, 16, 135, 60, 10, 10, 11, 18, 14, 12, 139, 72, 36, 150, 39, 15, 32, 19, 12, 31, 829, 16, 43, 34, 1203, 18, 10, 23, 14, 566, 12, 25, 14, 93, 11, 12, 223, 28, 12, 357, 324, 53, 72, 107, 16, 191, 21, 12, 130, 43, 24, 11, 11, 12, 20, 45, 17, 22, 86, 11, 10, 12, 12, 12, 16, 10, 24, 24, 15, 51, 45, 121, 196, 14, 43, 68, 18, 11, 10, 2666, 145, 523, 27, 12, 17, 165, 33, 1194, 10, 25, 64, 31, 90, 36, 518, 64, 12, 20, 23, 20, 73, 13, 11, 81, 2198, 415, 125, 141, 72, 61, 433, 91, 1977, 53, 79, 38, 10, 10, 280, 102, 70, 30, 15, 29, 12, 102, 10, 17, 15, 16, 30, 13, 32, 125, 10, 17, 336, 633, 443, 9394, 28, 58, 181, 45, 100, 157, 24, 22, 16, 26, 26, 47, 329, 72, 30, 32, 10, 10, 18, 192, 14, 14, 26, 599, 12, 14, 1363, 93, 4760, 21, 140, 151, 349, 43, 33, 39, 93, 45, 10, 42, 693, 25, 127, 17, 14, 37, 24, 59, 45, 117, 13, 15, 73, 129, 17, 12, 882, 17, 11, 387, 17, 38, 854, 123, 139, 485, 16, 25, 85, 54, 41, 100, 41, 73, 59, 163, 19, 42, 84, 28, 13, 29, 413, 11, 25, 87, 156, 17, 15, 19, 11, 103, 171, 45, 52, 473, 23, 35, 20, 11, 29, 25, 14, 64, 97, 299, 45, 110, 15, 12, 23, 13, 74, 86, 25, 29, 43, 25, 10, 73, 10, 56, 41, 124, 92, 239, 88, 289, 20, 126, 13, 18, 18, 25, 37, 593, 82, 32, 72, 11, 20, 204, 60, 10, 257, 28, 12, 24, 30, 30, 19, 567, 57, 133, 29, 3143, 17, 22, 134, 32, 30, 16, 18, 14, 23, 20, 70, 29, 15, 2563, 50, 26, 170, 19, 13, 29, 73, 35, 31, 22, 363, 13, 204, 15, 107, 10, 10, 59, 26, 37, 10, 12, 15, 510, 24, 14, 257, 16, 22, 14, 113, 12, 16, 13, 31, 13, 4053, 1562, 25, 14, 16, 55, 96, 47, 100, 136, 10, 1563, 69, 22, 103, 11, 37, 13, 13, 1484, 33, 13, 67, 102, 63, 178, 116, 24, 37, 22, 91, 17, 10, 46, 133, 23, 11, 32, 121, 2290, 62, 41, 11, 22, 11, 23, 27, 260, 26, 12, 39, 75, 42, 18, 12, 55, 25, 54, 23, 31, 35, 36, 22, 15, 656, 14, 112, 16, 14, 27, 16, 42, 2472, 53, 65, 12, 31, 71, 423, 22, 19, 30, 42, 17, 15, 29, 77, 70, 78, 79, 21, 11, 14, 13, 10, 18, 18, 19, 704, 10, 147, 16, 12, 79, 12, 272, 31, 20, 105, 33, 14, 12, 10, 18, 37, 13, 18, 12, 199, 11, 17, 39, 13, 100, 21, 14, 20, 93, 22, 397, 18, 142, 13, 19, 1099, 21, 18, 12, 13, 25, 20, 186, 80, 10, 157, 15, 42, 43, 200, 45, 32, 33, 27, 48, 50, 28, 15, 401, 10, 16, 10, 230, 20, 29, 74, 12, 118, 54, 163, 59, 58, 21, 458, 26, 66, 14, 15, 219, 17, 15, 75, 17, 17, 230, 76, 174, 170, 214, 245, 11, 70, 90, 34, 23, 192, 55, 7702, 428, 435, 50, 25, 6962, 33, 29, 142, 71, 145, 23, 13, 25, 36, 10, 81, 90, 11, 67, 241, 240, 71, 32, 15, 46, 65, 65, 87, 26, 1096, 14, 12, 16, 15, 13, 39, 12, 10, 52, 171, 10, 15, 42, 58, 12, 106, 19, 15, 14, 224, 33, 10, 31, 104, 162, 52, 72, 75, 92, 133, 52, 12, 38, 81, 11, 42, 12, 225, 147, 12, 676, 16, 1559, 285, 159, 131, 12, 148, 18, 27, 12, 52, 29, 656, 25, 22, 23, 117, 24, 221, 580, 17, 10, 75, 14, 10, 10, 43, 33, 11, 32, 10, 76, 46, 10, 11, 133, 8923, 51, 581, 97, 11, 101, 106, 251, 11, 23, 43, 37, 17, 79, 20, 30, 374, 29, 171, 10, 25, 327, 11, 64, 60, 27, 124, 304, 54, 17, 25, 51, 14, 10, 120, 36, 558, 20, 16, 21, 20, 89, 434, 63, 11, 62, 23, 316, 24, 57, 20, 10, 29, 42, 10, 20, 12, 42, 41, 1406, 10, 121, 51, 18, 232, 337, 361, 116, 93, 97, 14, 31, 17, 1579, 32, 10, 6947, 82, 56, 13, 48, 27, 19, 11, 98, 13, 13, 222, 78, 86, 14, 42, 10, 22, 301, 31, 1786, 127, 38, 12, 10454, 112, 66, 42, 27, 49, 92, 25, 11, 11, 19, 10, 12, 160, 447, 207, 138, 23, 27, 15, 56, 23, 73, 91, 16, 11, 228, 328, 11, 97, 16, 13, 12, 10, 69, 10, 66, 30, 23, 71, 12, 16, 76, 58, 435, 12, 47, 339, 11, 21, 40, 15, 53, 49, 48, 20, 19, 39, 21, 27, 45, 19, 15, 34, 16, 32, 36, 57, 266, 61, 5474, 82, 17, 45, 135, 98, 30, 26, 22, 13, 12, 157, 98, 200, 12, 209, 10, 1785, 45, 225, 10, 59, 18, 19, 11, 70, 23, 15, 141, 11, 13, 13, 34, 31, 162, 68, 202, 445, 35, 50, 19, 12, 10, 56, 48, 968, 18, 56, 54, 41, 51, 75, 20, 26, 100, 88, 10, 23, 256, 28, 19, 76, 453, 137, 53, 58, 16, 12, 16, 37, 15, 351, 277, 18, 76, 1028, 385, 13, 45, 48, 11, 14, 22, 37, 57, 11, 39, 13, 38, 18, 196, 30, 11, 21, 80, 66, 71, 22, 220, 42, 28, 20, 20, 11, 130, 434, 55, 11, 130, 20, 18, 21, 1335, 34, 27, 44, 10, 416, 30, 23, 135, 14, 139, 10, 325, 37, 20, 852, 168, 29, 82, 91, 1098, 16, 333, 64, 584, 56, 41, 17, 35, 10, 8097, 29, 399, 24, 19, 11, 1334, 21, 1675, 65, 16, 91, 170, 21, 30, 145, 22, 10, 18, 173, 25, 151, 23, 26, 204, 20, 942, 10, 410, 338, 101, 1385, 15, 19, 26, 11, 56, 12, 20, 29, 12, 41, 68, 248, 37, 868, 77, 25, 50, 31, 432, 16, 12, 20, 13, 247, 33, 23, 19, 10, 26, 44, 11, 23, 513, 120, 53, 56, 12, 196, 14, 35, 16, 247, 23, 10, 72, 80, 46, 677, 13, 49, 30, 10, 45, 17, 13, 15, 25, 12, 41, 12, 39, 15, 13, 30, 121, 23, 15, 10, 43, 10, 60, 61, 10, 13, 11, 14, 60, 374, 64, 1649, 14, 65, 62, 10, 99, 23, 6376, 1438, 130, 112, 11, 12, 38, 66, 10, 13, 30, 44, 46, 20, 23, 66, 19, 60, 13, 11, 13, 12, 13, 28, 95, 114, 34, 73, 717, 25, 19, 10, 13, 66, 15, 33, 13, 78, 18, 250, 33, 11, 203, 17, 28, 39, 130, 12, 1045, 91, 81, 15, 12, 24, 30, 56, 15, 20, 30, 20, 100, 15, 13, 791, 19, 16, 12, 64, 65, 43, 41, 11, 78, 19, 101, 45, 72, 214, 15, 48, 25, 21, 13, 33, 26, 11, 146, 1041, 15, 224, 30, 973, 21, 38, 37, 10, 14, 13, 17, 14, 152, 34, 26, 1982, 125, 11, 19, 30, 23, 4903, 475, 24, 106, 13, 11, 118, 11, 110, 10, 323, 22, 39, 32, 809, 39, 26, 54, 42, 63, 40, 28, 36, 78, 419, 34, 338, 33, 32, 512, 76, 73, 10, 166, 187, 129, 39, 21, 25, 29, 20, 38, 48, 305, 17, 116, 15, 12, 84, 11, 11, 31, 12, 34, 10, 21, 22, 19, 42, 10, 11, 102, 11, 12, 14, 22, 17, 21, 107, 18, 703, 34, 58, 14, 11, 12, 26, 14, 91, 23, 23, 898, 11, 40, 162, 28, 59, 23, 28, 188, 14, 68, 11, 21, 110, 131, 69, 11, 97, 96, 13, 16, 25, 13, 10, 41, 321, 18, 1184, 93, 55, 40, 12, 1340, 499, 12, 317, 26, 18, 27, 221, 17, 14, 15, 10, 551, 14, 1863, 196, 10, 14, 26, 11, 14, 29, 13, 17, 25, 11, 118, 1405, 11, 26, 114, 14, 47, 19, 13, 215, 10, 16, 13, 13, 358, 14, 11, 29, 163, 46, 47, 20, 25, 111, 49, 15, 21, 10, 104, 12, 67, 208, 32, 72, 285, 12, 14, 55, 39, 910, 10, 40, 113, 10, 36, 21, 10, 1696, 16, 12, 14, 51, 33, 12, 12, 203, 39, 2762, 63, 58, 44, 22, 51, 14, 113, 71, 11, 109, 55, 10, 10, 12, 10, 36, 27, 139, 141, 25, 43, 38, 164, 62, 25, 116, 19, 36, 39, 25, 249, 46, 384, 44, 303, 11, 24, 15, 11, 72, 26, 185, 37, 22, 30, 56, 17, 48, 32, 32, 1019, 27, 161, 57, 29, 33, 38, 16, 11, 10, 89, 492, 66, 66, 16, 308, 88, 46, 12, 16, 82, 44, 12, 12, 80, 10, 11, 10, 21, 32, 36, 14, 85, 13, 77, 216, 13, 12, 19, 87, 1364, 28, 12, 38, 10, 30, 66, 39, 256, 143, 73, 11, 22, 10, 53, 82, 992, 18, 97, 33, 10, 49, 34, 104, 19, 238, 11, 15, 38, 36, 10, 344, 10, 59, 24, 11, 105, 62, 18, 12, 13, 16, 46, 1858, 31, 40, 12, 39, 13, 159, 33, 41, 218, 30, 24, 10, 59, 49, 116, 11, 30, 13, 18, 47, 161, 10, 24, 60, 243, 502, 49, 12, 10, 11, 16, 40, 28, 60, 7144, 210, 114, 60, 27, 141, 26, 57, 222, 28, 22, 24, 46, 76, 20, 24, 58, 23, 11, 25, 75, 19, 41, 10, 10, 42, 28, 11, 65, 114, 1519, 64, 350, 12, 11, 10, 43, 15, 30, 18, 117, 10, 18, 35, 26, 11, 98, 86, 39, 237, 168, 11, 680, 13, 25, 463, 105, 87, 177, 47, 17, 10, 81, 27, 19, 19, 235, 88, 65, 12, 26, 290, 67, 100, 29, 10, 16, 44, 18, 37, 769, 19, 193, 209, 14, 101, 52, 17, 35, 31, 50, 44, 57, 79, 10, 12, 1278, 19, 251, 11, 28, 26, 46, 161, 21, 72, 118, 70, 322, 41, 116, 13, 33, 10, 52, 502, 11, 13, 140, 16, 12, 10, 135, 321, 126, 10, 16, 19, 23, 36, 26, 15, 63, 12, 13, 43, 69, 13, 15, 13, 13, 11, 10, 40, 13, 14, 22, 10, 11, 11, 103, 161, 54, 161, 33, 165, 47, 72, 20, 22, 13, 67, 19, 788, 371, 42, 26, 33, 10, 20, 46, 86, 84, 29, 58, 114, 18, 17, 129, 70, 168, 17, 47, 11, 164, 70, 11, 34, 11, 28, 41, 10, 90, 12, 76, 23, 12, 15, 14, 26, 11, 34, 12, 16, 15, 13, 217, 1209, 23, 57, 19, 77, 87, 18, 12, 38, 545, 14, 46, 15, 10, 212, 673, 27, 19, 136, 42, 16, 87, 20, 14, 46, 11, 13, 20, 19, 37, 47, 20, 297, 10, 480, 48, 44, 10, 16, 122, 14, 576, 19, 15, 83, 11, 34, 42, 114, 24, 36, 45, 11, 123, 20, 69, 17, 13, 93, 10, 11, 25, 27, 55, 530, 64, 28, 12, 45, 42, 485, 44, 267, 10, 38, 23, 64, 11, 64, 24, 52, 216, 76, 12, 70, 14, 33, 29, 183, 246, 149, 23, 22, 43, 12, 10, 25, 47, 51, 31, 27, 364, 10, 30, 12, 20, 31, 18, 10, 27, 47, 11, 30, 74, 58, 3634, 134, 63, 13, 236, 41, 11, 517, 47, 12, 12, 16937, 7620, 351, 4206, 1569, 21, 3866, 247, 307, 47, 17268, 819, 116, 11, 13, 785, 10, 20, 144, 18, 20, 25, 118, 16, 12, 82, 12, 22, 64, 16, 112, 50, 389, 129, 40, 129, 86, 210, 11, 89, 31, 24, 60, 14, 15, 20, 16, 26, 21, 436, 879, 25, 59, 108, 32, 93, 48, 1381, 1503, 38, 1353, 24, 17, 69, 14, 17, 44, 13, 18, 11, 20, 73, 37, 15, 23, 46, 534, 12, 15, 50, 53, 16, 43, 70, 148, 18, 18, 93, 13, 92, 612, 1123, 12, 89, 14, 2023, 120, 33, 44, 12, 134, 83, 15, 7318, 95, 51, 133, 388, 21, 18, 42, 10, 19, 26, 13, 81, 15, 84, 12, 13, 40, 11, 17, 14, 42, 88, 22, 82, 79, 15, 27, 86, 12, 259, 46, 16, 24, 12, 91, 12, 27, 324, 25, 118, 463, 24, 19, 25, 1762, 12, 22, 17, 238, 19, 196, 38, 10, 11, 29, 18, 5910, 115, 272, 610, 29, 52, 172, 37, 3730, 23, 168, 10, 14, 10, 15, 44, 17, 21, 39, 13, 11, 52, 19, 11, 11, 17, 23, 64, 130, 50, 13, 44, 10, 406, 26, 31, 65, 10, 66, 11, 178, 162, 24, 48, 115, 14, 221, 1007, 208, 84, 2721, 247, 229, 357, 18, 132, 56, 51, 24, 13, 57, 53, 241, 25, 142, 34, 68, 20, 21, 39, 99, 20, 1378, 10, 369, 57, 72, 30, 80, 78, 13, 42, 10, 10, 18, 32, 33, 118, 17, 451, 496, 74, 1348, 1305, 20, 120, 15, 13, 496, 223, 12, 11, 78, 42, 14, 67, 60, 59, 17, 16, 45, 10, 255, 93, 36, 11, 287, 60, 2319, 257, 15, 14, 19, 22, 14, 73, 597, 153, 12, 221, 32, 334, 37, 16, 20, 31, 135, 81, 325, 16, 27, 91, 20, 30, 493, 13, 34, 436, 12, 71, 133, 14, 191, 19, 25, 10, 39, 10, 57, 50, 94, 30, 62, 15, 15, 12, 14, 17, 13, 33, 188, 23, 52, 119, 332, 10, 13, 19, 30, 11, 2233, 20, 10, 27, 23, 28, 28, 87, 53, 25, 22, 23, 47, 650, 42, 15, 20, 631, 63, 14, 23, 161, 190, 13, 580, 70, 22, 11, 10, 29, 51, 10, 107, 24, 13, 10, 28, 73, 12, 28, 528, 21, 11, 10, 15, 360, 17, 11, 32, 31, 73, 30, 66, 59, 28, 10, 625, 255, 19, 297, 11, 20, 73, 267, 374, 48, 523, 14, 69, 22, 61, 650, 30, 358, 53, 16, 16, 15, 27, 189, 35, 27, 304, 76, 15, 32, 317, 19, 15, 14, 50, 38, 387, 10, 79, 12, 54, 34, 118, 319, 10, 10, 47, 72, 24, 22, 48, 438, 18, 16, 19, 12, 25, 17, 49, 77, 196, 56, 279, 11, 22, 10, 196, 43, 46, 12, 18, 23, 34, 65, 207, 21, 76, 20, 18, 21, 21, 325, 46, 16, 10, 30, 217, 19, 249, 272, 30, 14, 10, 24, 114, 79, 32, 31, 175, 30, 11, 19, 15, 37, 660, 10, 22, 1078, 13, 19, 13, 90, 16, 149, 296, 217, 17, 15, 10, 17, 14, 142, 371, 19, 12, 77, 15, 76, 16, 30, 29, 25, 46, 70, 12, 33, 32, 16, 22, 879, 10, 12, 66, 29, 24, 36, 11, 33, 30, 22, 14, 337, 21, 12, 94, 124, 212, 987, 49, 29, 218, 10, 11, 18, 72, 91, 283, 11, 158, 19, 10, 48, 10, 17, 1385, 47, 15, 11, 192, 19, 12, 34, 28, 16, 72, 312, 38, 29, 21, 10, 10, 10, 24, 82, 12, 12, 10, 33, 10, 56, 11, 13, 142, 19, 95, 20, 14, 11, 19, 49, 511, 21, 33, 16, 26, 26, 16, 22, 585, 33, 120, 19, 67, 15, 24, 13, 26, 11, 83, 392, 10, 10, 17, 26, 10, 28, 32, 58, 98, 26, 12, 17, 14, 26, 113, 1729, 12, 11, 11, 13, 95, 10, 36, 20, 22, 19, 15, 1219, 142, 118, 59, 781, 164, 66, 15617, 295, 29, 12, 27, 314, 133, 13, 1976, 56, 160, 1035, 14, 214, 128, 16, 86, 20, 21, 90, 15, 349, 83, 60, 29, 137, 30, 16, 11, 45, 31, 21, 20, 12, 25, 13, 10, 147, 12, 15, 10, 47, 43, 117, 27, 59, 41, 40, 15, 123, 19, 23, 33, 16, 10, 59, 15, 19, 117, 295, 26, 16, 11, 11, 17, 10, 22, 343, 105, 2052, 34, 132, 23, 2667, 61, 238, 115, 14, 31, 60, 103, 184, 1954, 11, 28, 31, 45, 80, 14, 158, 119, 17, 29, 11, 19, 266, 105, 10, 58, 10, 10, 48, 13, 36, 27, 66, 21, 21, 12, 39, 101, 13, 19, 360, 517, 62, 11, 138, 77, 17, 10, 11, 72, 60, 10, 11, 207, 10, 11, 14, 86, 10, 65, 10, 16, 35, 30, 16, 12, 446, 62, 17, 41, 454, 15, 14, 30, 12, 31, 266, 17, 20, 58, 42, 17, 65, 10, 10, 11, 10, 10, 17, 517, 42, 16, 13, 64, 20, 43, 42, 28, 229, 95, 107, 16, 67, 41, 29, 110, 14, 11, 11, 76, 89, 12, 53, 17, 24, 43, 17, 20, 25, 215, 16, 16, 2110, 36, 53, 20, 13, 70, 41, 70, 30, 28, 818, 160, 13, 34, 20, 10, 64, 594, 21, 38, 26, 13, 13, 88, 13, 81, 52, 11, 13, 11, 29, 12, 12, 77, 12, 453, 26, 24, 15, 19, 11, 56, 10, 42, 266, 154, 13, 103, 103, 10, 27, 76, 13, 175, 68, 51, 15, 3989, 21, 58, 54, 112, 32, 93, 28, 89, 90, 10, 1196, 18, 69, 45, 86, 39, 121, 57, 24, 35, 37, 12, 17, 72, 17, 80, 18, 37, 57, 287, 16, 64, 32, 13, 91, 77, 244, 824, 34, 286, 26, 11, 15, 208, 16, 16, 37, 16, 10, 241, 210, 31, 14, 21, 132, 11, 14, 26, 151, 10, 90, 58, 20, 146, 87, 11, 17, 54, 39, 37, 863, 21, 82, 65, 10, 36, 13, 11, 24, 87, 22, 11, 17, 11, 29, 15, 71, 21, 11, 24, 10, 13, 21, 10, 10, 13, 18, 17, 46, 64, 120, 86, 46, 17, 11, 132, 66, 21, 20, 135, 21, 11, 182, 80, 15, 67, 12, 24, 30, 10, 26, 27, 133, 48, 11, 21, 45, 28, 22, 39, 22, 12, 39, 116, 42, 114, 26, 18, 25, 14, 16, 15, 16, 2438, 28, 36, 13, 17, 15, 22, 73, 68, 11, 47, 26, 12, 145, 159, 29, 81, 11, 92, 40, 34, 164, 48, 24, 87, 15, 68, 23, 22, 363, 28, 102, 45, 12, 14, 85, 20, 15, 27, 31, 24, 10, 11, 19, 223, 23, 10, 28, 20, 2094, 12, 3474, 15, 10, 164, 50, 40, 10, 12, 231, 13, 67, 19, 14, 41, 11, 27, 27, 30, 44, 23, 23, 11, 43, 42, 36, 25, 44, 14, 25, 17, 141, 129, 35, 103, 12, 121, 10, 32, 12, 21, 765, 16, 623, 586, 18, 37, 12, 168, 706, 102, 31, 142, 117, 43, 124, 10, 14, 16, 19, 18, 67, 16, 41, 41, 108, 45, 18, 16, 21, 13, 10, 116, 10, 302, 16, 1557, 36, 22, 45, 236, 27, 154, 232, 41, 28, 538, 13, 398, 46, 151, 64, 523, 39, 55, 29, 88, 19, 20, 11, 12, 150, 2342, 68, 41, 1905, 33, 28, 28, 32, 27, 663, 49, 41, 23, 24, 121, 22, 252, 12, 22, 29, 22, 12, 23, 16, 361, 15, 170, 2163, 319, 8233, 33167, 3874, 39, 10, 18, 155, 11, 75, 105, 33, 134, 15, 41, 18, 66, 16, 41, 37, 19, 28, 436, 1669, 12, 57, 15, 192, 149, 22, 245, 75, 11, 75, 32, 12, 22, 23, 14, 568, 19, 168, 44, 369, 30, 3090, 21, 25, 14, 10, 41, 10, 12, 57, 860, 32, 29, 19, 33, 11, 25, 12, 354, 80, 39, 134, 38, 41, 47, 258, 52, 76, 10, 26, 20, 106, 25, 10, 27, 75, 103, 29, 19, 11, 188, 13, 292, 11, 21, 10, 57, 24, 41, 43, 19, 37, 12, 20, 162, 49, 47, 1679, 12, 76, 10, 46, 34, 150, 48, 24, 22, 17, 19, 220, 46, 30, 27, 10, 66, 25, 32, 290, 47, 11, 103, 10, 13, 28, 22, 24, 68, 16, 10, 31, 10, 37, 746, 43, 11, 27, 27, 37, 67, 1980, 11, 12, 21, 12, 62, 49, 209, 29, 31, 237, 1371, 44, 14, 11, 13, 14, 18, 356, 30, 31, 72, 23, 11, 15, 14, 11, 13, 73, 49, 75, 13, 12, 37, 129, 541, 11, 21, 37, 65, 264, 250, 25, 14, 14, 49, 128, 18, 44, 91, 79, 26, 514, 13, 16, 12, 201, 17, 15, 129, 18, 16, 13, 11, 36, 2421, 113, 156, 12, 22, 58, 37, 19, 14, 15, 10, 127, 12, 50, 12, 93, 19, 53, 16, 19, 10, 38, 11, 29, 11, 29, 10, 50, 13, 72, 10, 11, 12, 79, 14, 147, 65, 21, 1062, 460, 12, 11, 832, 44, 41, 12, 35, 38, 32, 29, 74, 152, 29, 10, 42, 31, 14, 16, 13, 10, 50, 882, 19, 35, 90, 10, 68, 2096, 25, 21, 90, 112, 51, 185, 43, 15, 13, 421, 21, 392, 117, 44, 10, 22, 30, 237, 52, 20, 79, 10, 14, 79, 21, 36, 219, 80, 159, 107, 10, 194, 208, 12, 77, 38, 23, 52, 81, 21, 351, 54, 10, 18, 36, 37, 86, 152, 12, 10, 36, 14, 11, 117, 75, 520, 18, 19, 15, 13, 145, 236, 13, 23, 152, 55, 13, 79, 10, 42, 1178, 41, 13, 95, 33, 30, 10, 17, 11, 47, 13, 26, 14, 16, 11, 67, 74, 116, 11, 15, 28, 27, 54, 13, 38, 10, 10, 80, 68, 102, 196, 24, 535, 16, 82, 50, 21, 44, 39, 508, 64, 22, 10, 107, 334, 249, 36, 51, 113, 12, 20, 13, 26, 13, 121, 76, 22, 20, 14, 72, 25, 150, 543, 3380, 19, 39, 13, 77, 39, 110, 166, 26, 158, 12, 131, 15, 10, 29, 26, 16, 266, 11, 16, 19, 540, 23, 119, 21, 29, 295, 549, 21, 15, 414, 15, 2606, 159, 24, 18, 81, 10, 839, 18, 14, 10, 17, 67, 59, 26, 12, 13, 15, 20, 21, 12, 45, 72, 52, 13, 35, 29, 106, 114, 84, 103, 19, 10, 51, 17, 23, 119, 12, 40, 15, 14, 34, 15, 39, 219, 29, 26, 47, 168, 35, 142, 10, 11, 154, 12, 109, 1463, 56, 644, 14, 107, 14, 27, 15, 11, 13, 2341, 12, 12, 57, 225, 227, 237, 134, 40, 54, 13, 122, 3608, 66, 264, 75, 36, 56, 60, 21, 159, 21, 22, 45, 32, 16, 12, 38, 44, 28, 16, 17, 11, 37, 519, 139, 25, 12, 48, 27, 27, 13, 10, 11, 11, 37, 22, 29, 187, 1099, 19, 18, 11, 10, 761, 33, 57, 27, 72, 25, 68, 70, 43, 60, 12, 23, 1132, 915, 10, 79, 12, 94, 52, 21, 277, 13, 26, 13, 24, 209, 26, 31, 36, 164, 68, 14, 19, 17, 45, 10, 45, 232, 36, 13, 12, 71, 17, 26, 28, 16, 14, 26, 10, 12, 21, 14, 109, 13, 19, 127, 24, 141, 149, 10, 47, 31, 42, 29, 34, 15, 10, 2175, 22, 11, 27, 864, 12, 13, 43, 13, 16, 27, 25, 104, 86, 17, 78, 54, 30, 696, 57, 13, 1762, 27, 14, 42, 27, 11, 12, 11, 67, 30, 41, 96, 25, 96, 10, 16, 49, 34, 21, 193, 247, 77, 69, 31, 27, 23, 13, 1540, 15, 234, 28, 10, 10, 26, 45, 17, 30, 26, 31, 24, 29, 23, 14, 25, 10, 63, 207, 172, 18, 73, 23, 17, 661, 34, 16, 1157, 15, 10, 15, 31, 41, 20, 53, 11, 50, 14, 648, 20, 15, 35, 104, 16, 18, 55, 233, 87, 29, 10, 63, 10, 11, 27, 14, 187, 48, 43, 48, 318, 31, 46, 90, 11, 11, 10, 184, 90, 21, 23, 26, 18, 28, 31, 20, 37, 18, 12, 903, 14, 21, 12, 12, 16, 11, 13, 24, 14, 13, 10, 345, 13, 11, 15, 10, 19, 37, 11, 10, 16, 13, 10, 14, 27, 134, 18, 18, 12, 13, 15, 15, 19, 10, 12, 19, 14, 20, 14, 13, 30, 13, 16, 14, 10, 1356, 38, 111, 10, 15, 12, 103, 65, 13, 10, 319, 19, 140, 203, 15, 130, 11, 11, 56, 20, 16, 18, 11, 25, 15, 14, 10, 10, 13, 12, 10, 10, 20, 22, 25, 24, 18, 12, 10, 264, 11, 15, 19, 26, 22, 17, 18, 23, 15, 14, 18, 14, 44, 13, 10, 20, 20, 11, 12, 10, 10, 10, 10, 13, 13, 10, 12, 10, 15, 10, 13, 12, 12, 11, 10, 10, 12, 19, 17, 13, 48, 20, 48, 11, 18, 10, 14, 10, 12, 10, 12, 11, 13, 173, 17, 10, 12, 10, 90, 28, 52, 11, 14, 15, 16, 12, 10, 12, 11, 10, 10, 14, 28, 24, 11, 11, 10, 11, 11, 12, 10, 12, 38, 10, 13, 27, 22, 16, 15, 77, 24, 52, 179, 100, 36, 15, 31, 10, 14, 14, 11, 16, 16, 15, 24, 20, 14, 11, 19, 1453, 540, 22, 627, 19, 31, 389, 91, 238, 15, 13, 179, 590, 59, 336, 10, 93, 11, 163, 396, 58, 61, 11, 22, 64, 125, 49, 10, 129, 24, 18, 53, 39, 122, 30, 746, 67, 25, 3814, 20, 29, 51, 1626, 27, 16, 408, 10, 16, 2225, 23, 14, 3300, 135, 10, 167, 16, 72, 40, 865, 59, 14, 11, 13, 31, 24, 933, 403, 44, 26, 2360, 123, 31, 91, 36, 21, 18, 23, 31, 104, 47, 18, 38, 44, 103, 26, 32, 10, 40, 47, 12, 17, 18, 11, 74, 22, 42, 45, 219, 12, 111, 14, 27, 10, 336, 101, 106, 23, 53, 23, 16, 202, 10, 10, 77, 10, 226, 30, 12, 275, 334, 10, 28, 27, 62, 55, 41, 47, 14, 25, 61, 10, 313, 2193, 59, 84, 12, 13, 17, 24, 10, 25, 84, 92, 25, 26, 160, 70, 207, 12, 10, 12, 45, 16, 11, 28, 19, 20, 26, 14, 18, 55, 10, 153, 10, 2014, 1304, 32, 37, 12, 17, 32, 30, 58, 13, 10, 11, 14, 103, 589, 11, 685, 19, 31, 12, 473, 31, 22, 186, 50, 168, 17, 64, 202, 1790, 14, 70, 16, 360, 26, 12, 10, 25, 11, 14, 58, 72, 78, 22, 34, 59, 142, 33, 12, 12, 23, 46, 25, 10, 48, 88, 330, 59, 16, 38, 15, 17, 146, 40, 36, 13, 13, 11, 10, 10, 45, 26, 96, 75, 18, 12, 115, 415, 15, 55, 66, 230, 11, 11, 30, 86, 10, 32, 46, 15, 11, 1028, 33, 34, 31, 158, 62, 15, 18, 18, 12, 29, 15, 25, 17, 31, 11, 15, 27, 96, 120, 45, 13, 27, 22, 14, 15, 826, 56, 62, 13, 63, 83, 14, 54, 20, 74, 13, 19, 19, 118, 770, 20, 14, 862, 24, 12, 33, 18, 37, 25, 39, 12, 19, 833, 187, 14, 163, 70, 111, 26, 55, 22, 14, 23, 112, 25, 12, 213, 10, 76, 45, 12, 89, 157, 12, 27, 156, 133, 12, 10, 77, 13, 13, 10, 12, 23, 11, 14, 44, 2256, 10, 15, 26, 17, 37, 32, 28, 59, 26, 39, 11, 49, 20, 21, 40, 22, 28, 93, 76, 10, 52, 37, 14, 51, 12, 38, 124, 170, 7153, 12, 15, 14, 45, 30, 36, 23, 10219, 46, 12, 33, 26, 16, 10, 1249, 28, 136, 160, 1671, 13, 28, 23, 78, 233, 557, 11, 69, 29, 13, 655, 12, 390, 315, 10, 37, 34, 15, 1065, 93, 70, 37, 395, 34, 301, 91, 13, 54, 18, 136, 22, 205, 50, 12, 803, 107, 46, 94, 11, 58, 38, 14, 15, 11, 47, 21, 155, 78, 62, 14, 80, 32, 19, 22, 28, 26, 210, 91, 10, 11, 65, 64, 46, 13, 110, 14, 393, 2506, 44, 236, 2208, 13, 38, 14, 89, 58, 11, 385, 10, 3333, 15, 48, 83, 34, 79, 59, 34, 298, 32, 124, 18, 60, 29, 37, 35, 15, 41, 129, 38, 50, 27, 10, 25, 75, 10, 16, 38, 52, 75, 60, 22, 92, 102, 13, 177, 89, 60, 20, 742, 59, 76, 10, 10, 266, 63, 10, 12, 18, 11, 36, 14, 14, 574, 10, 586, 20, 13, 218, 31, 57, 12, 56, 150, 117, 136, 15, 10, 20, 273, 20, 10, 35, 19, 177, 10, 17, 533, 10, 32, 91, 26, 93, 45, 25, 970, 24, 11, 10, 24, 31, 11, 119, 5083, 18, 15, 14, 13, 136, 49, 60, 2866, 18, 10, 16, 24, 11, 26, 13, 529, 99, 64, 28, 65, 12, 1601, 15, 258, 65, 283, 722, 87, 29, 12, 75, 113, 17, 236, 66, 158, 14, 40, 72, 760, 35, 148, 81, 16, 18, 757, 52, 40, 20, 92, 26, 21, 10, 13, 32, 47, 46, 15, 10, 24, 11, 84, 14, 14, 31, 26, 258, 30, 34, 30, 11, 56, 36, 146, 140, 1232, 353, 65, 97, 1246, 15, 138, 280, 36, 45, 38, 11, 49, 69, 172, 10, 32, 10, 12, 13, 11, 25, 27, 11, 31, 43, 34, 66, 22, 24, 37, 169, 59, 14, 14, 162, 35, 96, 90, 12, 13, 38, 31, 10, 57, 23, 22, 185, 20, 99, 43, 651, 10, 34, 43, 14, 43, 25, 10, 14, 26, 50, 12, 30, 27, 17, 13, 250, 260, 15, 46, 41, 280, 156, 49, 335, 17, 11, 86, 509, 15, 34, 10, 10, 26, 12, 1616, 87, 20, 22, 542, 12, 14, 1216, 180, 2832, 13, 17, 159, 18, 79, 42, 662, 23, 12, 10, 29, 31, 21, 75, 13, 13, 44, 10, 16, 17, 56, 30, 37, 11, 287, 439, 56, 81, 131, 12, 21, 10, 11, 211, 22, 41, 33, 89, 247, 15, 77, 31, 13, 26, 29, 63, 26, 230, 30, 176, 45, 26, 36, 44, 41, 80, 25, 76, 12, 20, 33, 31, 23, 40, 69, 17, 15, 44, 59, 14, 145, 667, 39, 47, 46, 10, 11, 18, 53, 140, 61, 32, 862, 26, 26, 40, 11, 14, 49, 77, 10, 21, 19, 114, 142, 483, 10, 43, 20, 23, 29, 10, 174, 28, 12, 511, 155, 11, 93, 14, 10, 63, 15, 179, 12, 21, 76, 749, 31, 262, 11, 116, 184, 19, 23, 321, 13, 12, 13, 144, 44, 150, 1429, 105, 30, 15, 142, 240, 167, 13, 19, 26, 10, 10, 12, 24, 1960, 1204, 22, 18, 13, 78, 20, 18, 126, 77, 32, 92, 91, 79, 30, 10, 13, 30, 49, 13, 30, 67, 18, 79, 16, 28, 27, 25, 31, 24, 74, 45, 13, 19, 12, 180, 30, 64, 12, 29, 10, 26, 1197, 18, 14, 10, 45, 85, 182, 253, 50, 142, 17, 93, 1972, 11, 31, 13, 11, 13, 14, 29, 35, 193, 14, 25, 32, 94, 180, 70, 21, 116, 18, 65, 12, 40, 35, 86, 198, 28, 11, 11, 143, 47, 10, 66, 78, 111, 1229, 1044, 70, 51, 123, 86, 14, 51, 1108, 381, 151, 862, 38, 35, 105, 23, 19, 14, 44, 29, 10, 19, 378, 41, 27, 10, 23, 12, 156, 32, 34, 289, 52, 34, 22, 27, 118, 27, 164, 37, 52, 29, 164, 17, 120, 12, 55, 11, 35, 25, 67, 11, 14, 107, 11, 12, 21, 22, 14, 107, 63, 398, 31, 29, 2044, 57, 27, 422, 22, 74, 26, 6835, 79, 13, 34, 10, 15, 24, 14, 38, 175, 40, 14, 10, 50, 35, 98, 22, 145, 30, 12, 20, 99, 11, 37, 195, 10, 54, 52, 242, 28, 18, 76, 68, 75, 16, 13, 12, 25, 35, 10, 62, 22, 25, 21, 57, 10, 16, 11, 34, 13, 17, 18, 15, 74, 15, 14, 11, 40, 329, 11, 28, 11, 14, 13, 18, 10, 18, 23, 30, 24, 13, 116, 14, 47, 286, 26, 33, 38, 12, 35, 26, 13, 36, 2222, 85, 74, 13, 302, 48, 157, 64, 13, 10, 16, 13, 22, 81, 36, 91, 35, 33, 10, 15, 13, 74, 112, 16, 71, 33, 74, 21, 38, 71, 37, 61, 10, 13, 85, 19, 18, 76, 34, 98, 15, 34, 36, 47, 37, 31, 25, 19, 14, 20, 42, 45, 1046, 101, 40, 46, 14, 16, 36, 15, 12, 62, 109, 39, 46, 14, 25, 207, 32, 27, 11, 44, 1647, 325, 13, 18, 15, 12, 20, 28, 13, 19, 10, 11, 55, 27, 33, 114, 15, 23, 35, 16, 11, 245, 143, 64, 28, 11, 138, 16, 90, 11, 13, 12, 64, 22, 13, 358, 27, 13, 14, 112, 359, 109, 1844, 148, 55, 27, 68, 37, 41, 28, 11, 1888, 21, 18, 15, 27, 10, 17, 14, 11, 15, 134, 49, 21, 70, 19, 34, 12, 97, 11, 181, 20, 28, 13, 18, 113, 20, 55, 15, 23, 39, 17, 23, 251, 28, 81, 80, 12, 18, 74, 40, 52, 16, 579, 89, 38, 29, 1033, 66, 70, 54, 11, 243, 160, 68, 21, 19, 57, 13, 13, 73, 142, 42, 15, 10, 221, 10, 64, 13, 51, 10, 12, 31, 896, 48, 11, 93, 140, 27, 34, 124, 13, 93, 11, 13, 81, 23, 21, 37, 28, 11, 29, 96, 31, 32, 11, 14, 15, 107, 29, 20, 26, 16, 104, 13, 82, 177, 15, 17, 11, 12, 37, 14, 19, 173, 74, 36, 117, 16, 13, 298, 11, 16, 13, 140, 107, 13, 11, 21, 107, 685, 12, 13280, 28, 20, 18, 36, 13, 16, 67, 22, 10, 11, 20, 103, 16, 13, 93, 213, 11, 69, 18, 56, 12, 73, 57, 22, 37, 11, 13, 29, 27, 78, 341, 120, 63, 11, 3657, 61, 1653, 25, 13, 10, 12, 21, 41, 1301, 110, 89, 20, 154, 52, 10, 25, 275, 76, 26, 48, 12, 40, 36, 56, 14, 76, 367, 17151, 20, 31, 50, 154, 33, 10, 465, 80, 79, 34, 74, 10, 12, 4469, 73, 1152, 206, 313, 82, 10, 10, 14, 56, 2134, 18, 13, 10, 57, 15, 36, 12, 14, 24, 363, 38, 10, 12, 407, 45, 44, 10, 208, 10, 72, 103, 270, 15, 11, 13, 10, 60, 49, 2070, 12, 519, 335, 48, 93, 136, 46, 499, 24, 148, 11, 27, 230, 36, 38, 1283, 212, 46, 173, 12, 28, 79, 62, 14, 34, 181, 74, 115, 10, 41, 1177, 56, 122, 11, 38, 48, 55, 14, 120, 91, 225, 615, 55, 10, 20, 107, 294, 113, 12, 449, 12, 12, 78, 252, 70, 15, 300, 48, 37, 41, 13, 52, 10, 22, 12, 31, 50, 10, 24, 442, 20, 52, 49, 30, 59, 20, 11, 272, 18, 35, 1444, 16, 2361, 11, 17, 12, 70, 57, 12, 138, 38, 195, 11, 12, 279, 16, 207, 13, 276, 12, 333, 19, 32, 10, 59, 14, 34, 4862, 10, 17, 31, 85, 10, 20, 15, 136, 12, 13, 26, 201, 11, 18, 32, 26, 115, 48, 26, 14, 45, 72, 11, 12, 11, 71, 10, 41, 555, 14, 29, 105, 106, 91, 14, 13, 11, 10, 44, 16, 35, 11, 15, 23, 31, 62, 17, 61, 113, 329, 33, 10, 122, 25, 146, 10, 29, 191, 37, 20, 30, 19, 24, 11, 90, 18, 54, 25816, 150, 79, 84, 45, 323, 10, 34, 15, 108, 495, 477, 36, 64, 92, 11, 11, 41, 18, 43, 12, 1075, 32, 126, 57, 22, 32, 1824, 50, 28, 11, 25, 22, 19, 11, 22, 91, 10, 100, 52, 77, 87, 33, 79, 2993, 14, 16, 44, 21, 131, 506, 60, 13, 15, 118, 15, 52, 32, 15, 10, 57, 67, 14, 15, 25, 10, 21, 267, 21, 12, 14, 11, 38, 5569, 14, 14, 79, 90, 19, 25, 41, 10, 27, 262, 43, 10, 24, 40, 350, 90, 6610, 313, 14, 113, 11, 67, 14, 127, 928, 58, 18, 10, 20, 95, 67, 10, 61, 10, 26, 52, 30, 154, 310, 88, 10, 13, 112, 121, 377, 193, 34, 26, 29, 19, 10, 12, 227, 17, 14, 24, 30, 26, 66, 21, 23, 80, 74, 234, 19, 44, 58, 51, 25, 33, 10, 10, 158, 22, 3155, 946, 67, 15, 37, 17, 16, 115, 84, 14, 15, 20, 32, 45, 45, 10, 17, 107, 80, 34, 11, 12, 168, 41, 39, 21, 31, 32, 258, 64, 22, 46, 13, 21, 13, 34, 12, 22, 93, 10, 104, 13, 45, 21, 19, 12, 242, 14, 17, 12, 17, 78, 12, 27, 16, 24, 12, 15, 95, 12, 20, 31, 17, 13, 176, 40, 15, 52, 23, 60, 10, 28, 12, 21, 10, 11, 1102, 69, 115, 16, 17, 30, 18, 12, 16, 10, 11, 427, 116, 13, 10, 14, 125, 34, 172, 13, 74, 53, 75, 105, 74, 85, 12, 10, 11, 24, 30, 13, 14, 13, 15, 42, 31, 18, 19, 22, 35, 48, 28, 18, 92, 37, 20, 10, 209, 53, 63, 77, 38, 10, 12, 251, 393, 198, 12, 35, 58, 20, 134, 16, 17, 15, 445, 11, 12, 14, 838, 34, 410, 24, 511, 40, 18, 32, 17, 74, 254, 14, 51, 74, 81, 10, 25, 25, 34, 66, 17, 16, 10, 208, 61, 24, 249, 34, 149, 16, 21, 81, 15, 12, 12, 48, 101, 213, 41, 28, 45, 27, 19, 35, 10, 37, 96, 181, 324, 26, 53, 176, 10, 39, 14, 24, 68, 38, 12, 59, 16, 45, 89, 17, 12, 84, 2373, 752, 112, 13, 16, 12, 65, 67, 17, 10, 46, 18, 11, 96, 32, 13, 16, 23, 55, 21, 19, 115, 17, 228, 456, 35, 25, 10, 37, 31, 47, 346, 34, 16, 12, 12, 38, 10, 41, 16, 10, 25, 21, 18, 42, 19, 10, 177, 17, 33, 101, 14, 283, 74, 16, 13, 74, 15, 368, 25, 510, 79, 13, 315, 463, 10, 14, 22, 6215, 182, 21, 58, 35, 72, 22, 132, 1306, 2873, 154, 11, 118, 22, 26, 15, 23, 11, 53, 10, 125, 82, 239, 36, 14, 11, 14, 13, 19, 12, 409, 10, 57, 23, 11, 127, 11, 21, 687, 47, 10, 18, 80, 32, 11, 120, 187, 53, 106, 10, 11, 13, 59, 21, 147, 2140, 247, 447, 89, 189, 22, 48, 18, 48, 19, 48, 45, 18, 7787, 405, 77, 16, 11, 14, 127, 78, 10, 11, 12, 62, 537, 92, 30, 20, 17, 15, 51, 118, 72, 30, 74, 124, 64, 10, 43, 10, 74, 64, 61, 82, 57, 10, 551, 61, 17, 20, 96, 37, 10, 10, 14, 10, 60, 12, 73, 44, 65, 58, 32, 15, 28, 101, 179, 28, 91, 11, 13, 135, 54, 36, 14, 59, 234, 25, 41, 59, 10, 13, 113, 13, 20, 12, 295, 28, 10, 695, 110, 40, 80, 14, 15, 14, 16, 35, 10, 16, 426, 330, 13, 16, 34, 36, 24, 27, 31, 23, 10, 92, 13, 30, 40, 10, 11, 11, 16, 93, 13, 215, 43, 24, 48, 291, 28, 132, 31, 25, 13, 14, 28, 18, 51, 11, 10, 75, 41, 91, 30, 66, 31, 10, 10, 26, 197, 461, 13, 40, 21, 10, 87, 40, 81, 48, 14, 13, 296, 24, 10, 68, 83, 14, 74, 14, 77, 52, 216, 10, 23, 60, 134, 243, 15, 11, 15, 33, 13, 18, 15, 818, 28, 193, 10, 11, 159, 148, 8819, 18, 66, 124, 10, 721, 25, 17, 65, 10, 11, 15, 12, 42, 193, 249, 48, 146, 54, 17, 47, 13, 51, 59, 27, 115, 27, 31, 31, 14, 216, 131, 18, 13, 39, 11, 861, 10, 18, 10, 12, 10, 73, 32, 115, 15, 31, 132, 38, 16, 45, 10, 20, 28, 13, 47, 167, 58, 621, 165, 24, 33, 18, 63, 41, 32, 40, 32, 14, 27, 25, 77, 155, 10, 13, 17, 13, 12, 104, 177, 12, 21, 16, 51, 43, 36, 10, 638, 35, 10, 977, 42, 68, 12, 18, 25, 15, 19, 13, 11, 13, 17, 91, 28, 11, 12, 77, 73, 21, 132, 39, 12, 10, 27, 189, 28, 49, 19, 11, 3548, 129, 25, 15, 43, 14, 10, 57, 69, 22, 14, 12, 195, 618, 21, 52, 12, 31, 328, 11, 391, 16, 360, 102, 21, 56, 177, 14, 71, 47, 25, 88, 12, 34, 17, 27, 56, 16, 243, 133, 235, 807, 151, 10, 23, 20, 14, 16, 25, 51, 10, 16, 375, 12, 14, 54, 80, 14, 66, 15, 12, 10, 31, 45, 14, 10, 20, 26, 22, 87, 5292, 32, 294, 47, 14, 42, 138, 109, 81, 23, 243, 91, 115, 12, 26, 48, 35, 11, 10, 2305, 59, 47, 41, 15, 25, 191, 14, 36, 54, 22, 52, 12, 28, 11, 104, 11, 34, 50, 98, 10, 50, 12, 15, 443, 23, 22, 14, 12, 12, 14, 8848, 48, 10, 164, 14, 33, 120, 147, 84, 685, 25, 30, 300, 25, 35, 53, 38, 232, 10, 20, 19, 98, 18, 11, 80, 37, 10, 10, 57, 39, 12, 26, 13, 13, 30, 19, 54, 226, 67, 164, 10, 41, 15, 15, 80, 262, 403, 92, 10, 31, 31, 16, 27, 23, 985, 147, 172, 364, 51, 11, 65, 144, 15, 218, 68, 19, 43, 381, 12, 10, 118, 14, 16, 34, 52, 14, 81, 13, 21, 457, 23, 152, 11, 11, 13, 12, 24, 37, 11, 47, 58, 21, 21, 12, 2132, 10, 165, 14, 13, 16, 273, 38, 228, 20, 10, 24, 15, 12, 46, 38, 10, 98, 10, 10, 13, 25, 122, 131, 46, 54, 16, 390, 147, 339, 35, 25, 22, 12, 92, 28, 86, 1261, 80, 155, 15, 16, 152, 10, 12, 12, 26, 171, 14, 75, 31, 36, 13, 13, 34, 187, 30, 24, 145, 127, 19, 14, 35, 16, 22, 18, 563, 17029, 217, 14, 12, 16, 54, 41, 103, 21, 78, 141, 23, 98, 17, 26, 12, 67, 792, 473, 15, 10, 80, 25, 541, 32, 69, 35, 20, 19, 162, 259, 67, 63, 26, 165, 335, 49, 62, 131, 20, 59, 413, 32, 18, 245, 10, 79, 32, 46, 21, 26, 15, 193, 74, 21, 67, 83, 13, 20, 47, 78, 31, 73, 35, 30, 128, 30, 30, 30, 134, 106, 18, 13, 10, 17, 11, 22, 12, 10, 143, 10, 11, 74, 28, 19, 16, 12, 13, 19, 208, 32, 54, 48, 45, 12, 10, 31, 59, 27, 107, 10, 73, 10, 10, 476, 22, 194, 13, 31, 23, 21, 20, 28, 10, 10, 46, 13, 43, 35, 16, 66, 44, 101, 174, 73, 15, 152, 23, 25, 34, 98, 24, 10, 17, 11, 105, 10, 25, 114, 421, 18, 78, 20, 37, 70, 779, 34, 22, 41, 34, 32, 17, 37, 23, 20, 14, 12, 50, 28, 55, 13, 282, 92, 35, 32, 11, 48, 42, 24, 14, 22, 13, 27, 37, 10, 41, 30, 24, 65, 10, 10, 25, 133, 221, 17, 31, 566, 19, 10, 22, 33, 25, 37, 17, 20, 27, 10, 20, 97, 356, 10, 35, 21, 18, 66, 16, 236, 12, 13, 10, 18, 196, 17, 25, 227, 13, 48, 118, 26, 13, 39, 83, 14, 10, 16, 200, 145, 13, 22, 626, 38, 10, 88, 40, 43, 12, 21, 23, 48, 10, 25, 24, 11, 38, 20, 18, 10, 18, 15, 18, 31, 1541, 35, 17, 21, 63, 83, 528, 129, 118, 717, 24, 53, 115, 324, 13, 10, 25, 27, 21, 17, 14, 499, 12, 20, 119, 12, 46, 40, 23, 51, 11, 16, 12, 119, 313, 11, 333, 16, 122, 14, 12, 21, 10, 12, 11, 25, 20, 132, 35, 20, 78, 35, 10, 22, 84, 39, 14, 12, 114, 37, 38, 110, 11, 232, 62, 15, 19, 73, 143, 73, 73, 20, 73, 24, 11, 14, 122, 42, 56, 11, 11, 12, 25, 16, 113, 214, 21, 101, 15, 32, 27, 36, 15, 16, 10, 74, 83, 31, 83, 83, 17, 13, 337, 13, 49, 31, 125, 65, 32, 23, 10, 1769, 10, 158, 365, 10, 14, 25, 25, 237, 10, 73, 12, 11, 19, 14, 67, 14, 39, 16, 155, 1044, 10, 15, 22, 15, 37, 33, 19, 18, 31, 378, 24, 75, 407, 26, 97, 19, 33, 13, 262, 10, 29, 54, 169, 15, 17, 55, 158, 13, 20, 17, 36, 17, 20, 26, 26, 28, 10, 21, 91, 23, 15, 30, 14, 13, 16, 324, 23, 10, 25, 55, 68, 50, 12, 15, 200, 32, 10, 11, 35, 12, 30, 214, 237, 99, 10, 109, 92, 12, 26, 22, 54, 162, 59, 35, 27, 55, 31, 12, 105, 12, 135, 97, 89, 23, 10, 33, 15, 12, 18, 17, 16, 55, 41, 104, 83, 23, 19, 29, 12, 7209, 34, 81, 28, 14, 14, 12, 10, 267, 388, 12, 15, 21, 20, 160, 943, 57, 11, 580, 11, 10, 18, 312, 45, 137, 10, 294, 39, 15, 153, 603, 13, 15, 23, 10, 81, 50, 14, 41, 91, 44, 2641, 22, 10, 109, 11, 31, 12, 20, 48, 88, 618, 239, 41, 17, 41, 18, 31, 15, 117, 300, 13, 201, 112, 18, 65, 245, 13, 24, 39, 11, 163, 11, 30, 28, 16, 202, 16, 209, 12, 54, 26, 389, 15, 11, 10, 19, 18, 913, 77, 11, 10, 104, 18, 11, 11, 14, 41, 44, 12, 10, 85, 15, 15, 13, 92, 62, 10, 30, 23, 26, 29, 189, 831, 12, 16, 10, 12, 14, 10, 35, 21, 14, 67, 6756, 57, 13, 53, 32, 13, 10, 13, 65, 15, 27, 14, 43, 19, 261, 13, 366, 116, 267, 14, 253, 139, 17, 12, 57, 13, 11, 288, 25, 27, 37, 44, 44, 11, 30, 15265, 65, 108, 48, 27, 382, 16, 92, 312, 11, 11, 20, 1134, 38, 74, 80, 15, 43, 201, 11, 49, 63, 153, 12, 50, 14, 17, 28, 266, 18, 29, 14, 31, 24, 24, 16, 56, 69, 44, 58, 201, 10, 16, 42, 104, 501, 16, 13, 17, 15, 77, 10, 30, 10, 13, 13, 10, 17, 23, 33, 74, 17, 13, 36, 85, 51, 89, 31, 25, 10, 11, 24, 16, 14, 41, 19, 149, 11, 87, 31, 71, 12, 17, 18, 21, 15, 16, 11, 213, 10, 28, 14, 17, 225, 15, 14, 281, 127, 78, 47, 13, 138, 11, 74, 48, 33, 71, 75, 553, 1094, 129, 10, 34, 62, 281, 1906, 13, 11, 314, 53, 97, 37, 260, 11, 25, 11, 46, 92, 728, 92, 16, 19, 16, 12, 15, 50, 19, 221, 21, 39, 11, 34, 706, 13, 158, 15, 135, 19, 519, 12, 127, 915, 24, 18, 76, 224, 33, 47, 125, 30, 1055, 599, 17, 71, 36, 56, 17, 105, 380, 17, 84, 13, 28, 12, 19, 183, 31, 10, 40, 27, 157, 18, 351, 106, 482, 40, 25, 36, 98, 11, 21, 2290, 225, 44, 18, 31, 18, 37, 15, 11, 314, 14, 14, 30, 56, 326, 75, 15, 16, 50, 55, 13, 13, 216, 53, 336, 10, 34, 95, 11, 16, 24, 11, 10, 41, 58, 20, 638, 12, 16, 41, 13, 49, 74, 37, 168, 22, 111, 18, 31, 46, 15, 13, 10, 11, 10, 13, 21, 2135, 10, 10, 306, 22, 19, 119, 113, 11, 113, 50, 19, 112, 83, 426, 48, 11, 76, 36, 29, 30, 34, 161, 10, 28, 108, 19, 86, 1824, 39, 86, 12, 43, 113, 12, 20, 22, 70, 52, 10, 44, 75, 66, 227, 16, 130, 442, 16, 91, 111, 91, 91, 16, 149, 19, 22, 29, 13, 13, 80, 194, 14, 14, 73, 14, 110, 22, 17, 57, 272, 59, 20, 121, 42, 14, 275, 11, 41, 16, 203, 11, 22, 14, 83, 35, 13, 17, 13, 87, 29, 41, 29, 6682, 22, 426, 14, 1120, 16, 15, 93, 25, 34, 10, 10, 21, 39, 20, 10, 12, 57, 12, 35, 15, 12, 13, 258, 14, 14, 161, 12, 13, 12, 10, 333, 14, 39, 35, 13, 12, 22, 10, 36, 13, 16, 21, 30, 738, 44, 47, 12, 13, 14, 15, 217, 115, 46, 40, 216, 16, 12, 628, 50, 4527, 83, 40, 86, 27, 13, 1315, 15, 22, 40, 13, 158, 63, 56, 35, 59, 47, 54, 96, 10, 42, 150, 27, 1476, 3070, 12, 76, 35, 16, 598, 325, 151, 69, 24, 17, 322, 10, 76, 142, 117, 21, 59, 120, 119, 495, 57, 59, 88, 14, 57, 257, 23, 79, 41, 10, 13, 39, 28, 18, 10, 12, 10, 174, 48, 390, 24, 39, 41, 11, 93, 13, 10, 30, 142, 29, 75, 10, 15, 57, 23, 18, 22, 75, 55, 20, 22, 12, 52, 16, 97, 27, 26, 27, 17, 44, 146, 13, 25, 126, 23, 93, 54, 41, 22, 720, 5067, 584, 997, 77, 10, 15, 55, 43, 74, 83, 39, 80, 18, 18, 11, 259, 10, 27, 317, 93, 28, 144, 10, 26, 16, 47, 12, 40, 99, 63, 452, 105, 198, 142, 191, 18, 29, 240, 29, 69, 17, 49, 146, 67, 163, 13, 15, 56, 17, 144, 10, 16, 22, 75, 505, 121, 506, 34, 16, 2015, 14, 704, 42, 34, 52, 10, 38, 63, 37, 40, 11, 11, 15, 126, 43, 498, 11, 61, 22, 46, 858, 93, 30, 18, 19, 18, 11, 23, 11, 12, 134, 93, 19, 11, 2256, 31, 10, 76, 58, 12, 34, 25, 86, 18, 45, 10, 52, 10, 16, 33, 15, 203, 182, 49, 47, 57, 54, 10, 11, 19, 13, 24, 26, 16, 13, 10, 273, 39, 43, 57, 14, 20, 115, 116, 15, 89, 14, 14, 10, 21, 10, 20, 16, 12, 11, 31, 51, 79, 584, 128, 31, 46, 11, 10, 414, 25, 11, 66, 120, 85, 78, 74, 46, 24, 11, 30, 25, 32, 25, 63, 95, 12, 15, 295, 85, 12, 49, 11, 17, 24, 825, 334, 27, 76, 35, 26, 20, 11, 13, 10, 43, 11, 74, 24, 892, 129, 24, 10, 78, 208, 104, 925, 13, 13, 25, 30, 11, 1045, 25, 72, 22, 1949, 580, 51, 63, 1485, 22, 74, 31, 10, 47, 13, 15, 126, 791, 144, 34, 53, 117, 88, 10, 23, 11, 33, 11, 18, 164, 64, 14, 33, 36, 18, 150, 11, 10, 11, 12, 12, 15, 15, 11, 30, 79, 12, 18, 2672, 74, 33, 10, 12, 13, 15, 47, 676, 35, 380, 12, 1041, 41, 14, 32, 50, 24, 55, 40, 13, 135, 26, 16, 88, 25, 10, 13, 1433, 32, 90, 107, 69, 106, 18, 11, 11, 32, 16, 67, 83, 11, 42, 12, 442, 22, 11, 27, 17, 14, 10, 12, 16, 73, 164, 192, 10, 24, 118, 110, 11, 96, 95, 21, 48, 15, 19, 48, 12, 114, 10, 139, 491, 223, 45, 19, 11, 14, 42, 10, 291, 1456, 16, 1222, 39, 189, 11, 878, 11, 330, 10, 19, 353, 18, 3878, 33, 14, 66, 39, 21, 44, 17, 82, 95, 11, 10, 117, 30, 15, 99, 33, 1734, 407, 14, 10, 82, 167, 10, 25, 56, 16, 15, 12, 40, 48, 11, 12, 16, 546, 162, 41, 10, 22, 15, 29, 14, 4859, 36, 98, 119, 10, 119, 11, 530, 17, 358, 93, 15, 12, 39, 26, 139, 17, 27, 26, 17, 12, 31, 927, 30, 11, 31, 84, 258, 13, 168, 30, 30, 17, 14, 478, 48, 18, 243, 10, 239, 409, 34, 12, 11, 40, 23, 11, 26, 39, 102, 54, 115, 29, 49, 18, 27, 11, 24, 27, 15, 94, 11, 10, 179, 12, 13, 11, 13, 36, 432, 16, 27, 17, 13, 13, 14, 36, 68, 51, 15, 35, 190, 104, 24, 18, 67, 33, 409, 12, 19, 62, 72, 21, 71, 51, 18, 17, 43, 20, 12, 12, 109, 84, 12, 16, 13, 11, 16, 11, 20, 12, 26, 17, 225, 66, 98, 172, 185, 58, 82, 176, 21, 11, 12, 37, 164, 12, 10, 562, 113, 67, 34, 12, 122, 169, 71, 17, 30, 509, 44, 11, 15, 12, 717, 41, 12, 215, 260, 13, 15, 34, 30, 129, 22, 43, 1027, 398, 240, 108, 28, 26, 10, 35, 14, 22, 19, 126, 137, 24, 10, 10, 12, 37, 30, 31, 22, 19, 20, 23, 28, 358, 13, 11, 467, 10, 425, 13, 13, 779, 12, 18, 10, 13, 11, 36, 106, 52, 61, 31, 18, 22, 12, 54, 80, 11, 151, 10, 287, 41, 13, 162, 14, 452, 86, 27, 45, 26, 66, 12, 16, 55, 19, 16, 47, 61, 400, 104, 59, 24, 15, 10, 12, 225, 217, 24, 4500, 61, 12, 14, 196, 14, 33, 230, 31, 136, 10, 73, 18, 33, 98, 206, 20, 31, 30, 336, 14, 51, 17, 159, 40, 35, 10, 88, 14, 56, 35, 18, 63, 36, 55, 19, 230, 222, 31, 19, 125, 16, 46, 128, 56, 25, 39, 16, 11, 20, 74, 91, 189, 45, 30, 39, 237, 12, 11, 14, 32, 187, 30, 17, 32, 274, 14, 346, 63, 72, 172, 16, 51, 59, 134, 11, 47, 34, 479, 238, 120, 205, 26, 18, 21, 32, 434, 183, 10, 13, 41, 10, 331, 12, 155, 10, 11, 20, 31, 53, 15, 10, 10, 12, 169, 11, 168, 10, 11, 561, 18, 122, 63, 14, 50, 194, 14, 32, 52, 57, 37, 56, 53, 14, 10, 25, 84, 56, 27, 16, 153, 264, 202, 81, 1106, 10, 74, 41, 17, 10, 11, 10, 956, 16, 49, 10, 69, 841, 2144, 80, 17, 23, 502, 11, 10, 76, 12, 76, 1611, 15, 12, 48, 24, 15, 10, 13, 282, 23, 36, 61, 66, 19, 17, 327, 29, 10, 11, 320, 27, 119, 98, 27, 124, 10, 48, 34, 21, 195, 13, 59, 113, 22, 15, 56, 19, 18, 21, 71, 14, 1737, 10, 19, 22, 38, 1385, 28, 22, 20, 88, 64, 96, 12, 21, 307, 11, 267, 174, 121, 573, 114, 3672, 5412, 416, 241, 19698, 62, 12, 237, 110, 95, 15, 16, 24, 18, 166, 10, 55, 14, 32, 394, 21, 11, 565, 219, 12, 18, 139, 52, 834, 12, 128, 88, 283, 796, 197, 11, 18, 26, 20, 23, 206, 12, 112, 305, 771, 267, 76, 12, 10, 13, 111, 107, 145, 147, 36, 12, 27, 305, 13, 12, 193, 48, 199, 21, 31, 61, 77, 256, 10, 395, 28, 182, 327, 31, 2260, 10, 72, 166, 12, 14, 451, 25, 36, 10, 37, 10, 12, 160, 428, 12, 18, 14, 36, 49, 17, 683, 164, 64, 147, 12, 20, 197, 133, 11, 26, 26, 31, 65, 116, 14, 70, 170, 2688, 50, 14, 69, 62, 43, 88, 329, 18, 10, 277, 14, 12, 40, 23, 106, 28, 40, 23, 35, 9443, 29, 467, 25, 13, 23, 12, 87, 13, 13, 13, 43, 32, 14, 44, 10, 12, 63, 33, 464, 11, 16, 90, 40, 21, 18, 26, 23, 37, 18, 78, 86, 82, 44, 206, 26, 15, 11, 13, 117, 18, 17, 19, 139, 102, 12, 72, 34, 59, 133, 15, 47, 43, 15, 24, 14, 119, 14, 31, 108, 40, 10, 1308, 187, 124, 34, 54, 39, 12, 76, 13, 79, 27, 36, 22, 27, 11, 83, 10, 12, 67, 20, 13, 15, 85, 13, 120, 23, 11, 11, 11, 408, 10, 193, 17, 11, 12, 51, 14, 10, 14, 13, 21, 52, 39, 15, 14, 16, 12, 22, 391, 14, 17, 41, 11, 15, 91, 11, 30, 146, 204, 33, 43, 48, 19, 17, 15, 59, 26, 14, 19, 14, 1931, 13, 10, 44, 21, 40, 18, 1273, 46, 23, 18, 57, 15, 15, 14, 37, 83, 23, 93, 47, 86, 39, 20, 19, 1936, 75, 287, 5005, 361, 1333, 12, 30, 19, 107, 50, 39, 55, 10, 12, 169, 115, 33, 127, 17, 21, 63, 14, 11, 28, 30, 31, 95, 87, 86, 12, 20, 51, 492, 137, 89, 29, 66, 12, 18, 14, 12, 22, 30, 37, 31, 187, 15, 25, 12, 25, 401, 92, 16, 30, 18, 82, 31, 10, 12, 16, 13, 10, 71, 11, 38, 10, 13, 38, 15, 34, 31, 28, 99, 13, 11, 31, 158, 20, 112, 1102, 15, 10, 40, 687, 53, 240, 18, 13, 147, 11, 1399, 10, 20, 22, 72, 1420, 16, 35, 281, 13, 32, 63, 80, 10, 86, 241, 38, 143, 163, 2697, 3036, 60, 26, 10, 11, 66, 30, 10, 26, 16, 40, 12, 11, 33, 1043, 989, 892, 28, 15, 11, 30, 16, 10, 21, 15, 48, 11, 12, 211, 47, 42, 23, 22, 42, 16, 10, 29, 38, 13, 81, 25, 40, 13, 27, 14, 180, 26, 66, 11, 10, 15, 62, 20, 10, 13, 38, 11, 17, 22, 12, 11, 52, 577, 21, 13, 10, 16, 10, 11, 128, 58, 19, 17, 16, 84, 13, 11, 16, 214, 105, 24, 325, 454, 419, 644, 166, 46, 14, 43, 93, 32, 16, 21, 16, 89, 38, 250, 12, 20, 351, 23, 94, 36, 23, 27, 26, 31, 21, 17, 34, 13, 537, 16, 119, 68, 192, 59, 18, 100, 19, 62, 132, 56, 13, 78, 32, 21, 48, 221, 14, 14, 11, 19, 30, 11, 12, 58, 35, 49, 72, 28, 20, 16, 12, 10, 52, 40, 20, 17, 11, 59, 11, 22, 22, 42, 31, 19, 11, 127, 111, 14, 15, 166, 10, 12, 103, 28, 19, 11, 29, 137, 274, 19, 17, 38, 16, 10, 79, 68, 394, 32, 10, 15, 10, 1126, 435, 10, 17, 23, 22, 98, 10, 10, 19, 453, 37, 16, 255, 19, 12, 265, 18, 247, 11, 165, 59, 103, 47, 17, 11, 155, 13, 158, 36, 482, 101, 59, 155, 1535, 11, 73, 89, 22, 43, 18, 32, 39, 72, 11, 34, 101, 11, 35, 13, 89, 70, 21, 44, 26, 47, 17, 47, 13, 61, 10, 54, 10, 171, 48, 17, 54, 294, 167, 18, 86, 648, 148, 1608, 129, 220, 37, 27, 11, 11, 15, 1573, 272, 49, 31, 19, 93, 129, 53, 147, 200, 38, 17, 16, 35, 31, 67, 79, 17, 21, 66, 997, 2899, 1860, 16, 24, 408, 62, 33, 20, 1768, 39, 229, 41, 110, 62, 20, 79, 23, 34, 34, 32, 21, 106, 76, 69, 6974, 445, 84, 108, 100, 2045, 143, 10, 10, 33, 11, 17, 26, 31, 56, 22, 24, 110, 35, 162, 78, 15, 923, 84, 37, 12, 11, 32, 11, 32, 36, 27, 50, 20, 10, 12, 77, 292, 23, 24, 21, 105, 22, 12, 105, 27, 235, 11, 34, 324, 153, 14, 62, 31, 11, 22, 70, 23, 61, 10, 10, 13, 27, 57, 51, 763, 69, 20, 43, 464, 22, 235, 14, 18, 40, 56, 63, 189, 10, 10, 10, 31, 5780, 263, 14, 17, 14, 1242, 24, 64, 195, 29, 30, 324, 74, 155, 19, 10, 10, 68, 11, 49, 11, 17, 109, 13, 12, 41, 379, 12, 11, 12, 29, 62, 125, 10, 270, 10, 13, 45, 12, 18, 60, 13, 646, 29, 17, 17, 18, 11, 53, 410, 46, 14, 24, 13, 49, 165, 1225, 295, 97, 44, 94, 26, 12, 162, 87, 73, 43, 12, 49, 70, 43, 178, 65, 234, 293, 98, 58, 24, 23, 16, 75, 99, 595, 138, 47, 29, 84, 20, 45, 79, 25, 72, 60, 98, 10, 66, 292, 32, 51, 13, 39, 10, 137, 43, 137, 10, 16, 53, 284, 1403, 211, 134, 48, 24, 623, 59, 930, 18, 14, 48, 73, 12, 277, 22, 11, 2958, 19, 51, 235, 271, 24, 20, 14048, 60, 414, 158, 91, 748, 61, 252, 50, 25, 516, 7218, 614, 32, 21, 125, 192, 10, 131, 105, 17, 12, 36, 10, 14, 12, 178, 11, 265, 26, 227, 12, 429, 61, 27, 186, 50, 301, 14, 3127, 10, 246, 101, 332, 278, 14, 195, 3658, 63, 328, 11, 57, 14, 392, 31, 38, 17, 79, 20, 71, 14, 2334, 402, 78, 12, 29, 24, 12, 12, 10, 13, 450, 22, 122, 21, 13, 32, 4973, 16, 10, 547, 10398, 2913, 227, 224, 73, 17, 19, 73, 5277, 87, 26, 19, 177, 97, 12, 81, 73, 75, 1890, 229, 20, 39, 448, 137, 10, 23, 255, 12, 19, 33, 15, 101, 444, 181, 16, 243, 91, 36, 119, 45, 90, 681, 49, 82, 14, 12, 21, 11, 85, 21, 14, 22, 31, 82, 71, 1386, 52, 13, 71, 269, 45, 1061, 37, 23, 30, 108, 100, 396, 41, 84, 42, 10, 50, 111, 65, 25, 198, 74, 10, 14, 73, 19, 11, 13, 13, 278, 19, 85, 50, 158, 284, 1552, 281, 344, 71, 156, 150, 4268, 216, 41, 1852, 10, 10, 136, 550, 775, 27, 30, 10, 213, 452, 44, 16, 58, 256, 239, 154, 38, 124, 273, 57, 32, 1938, 29, 16, 38, 17, 990, 18, 152, 10, 78, 44, 17, 42, 44, 1261, 40, 128, 3709, 283, 476, 13, 1398, 136, 12, 10, 1222, 166, 84, 73, 73, 34, 78, 41, 38, 12, 24, 78, 21, 38, 12, 63, 54, 30, 74, 25, 48, 85, 76, 13, 19, 11, 13, 40, 195, 18, 11, 59, 19, 36, 30, 251, 53, 426, 1054, 4579, 42, 64, 60, 17, 74, 14, 13, 186, 279, 18, 11, 256, 26, 19, 33, 64, 95, 11, 26, 60, 327, 60, 1152, 171, 24, 121, 179, 743, 78, 20, 1863, 34, 21, 10, 50, 43, 15, 34, 15, 159, 49, 815, 14, 47, 1660, 12, 52, 139, 34, 21, 25, 10, 25, 2587, 41, 27, 24, 37, 98, 31, 58, 646, 11, 26, 52, 32, 75, 157, 79, 11, 79, 12, 22, 66, 26, 15, 2534, 47, 35, 75, 21, 31, 749, 11, 71, 41, 18, 72, 25, 10, 11, 19, 393, 24, 26, 114, 80, 19, 10, 15, 64, 59, 10, 45, 1041, 7334, 273, 31, 2325, 67, 20, 81, 84, 26, 35, 172, 10, 101, 56, 15, 39, 134, 357, 11, 36, 14, 10, 4613, 778, 2171, 1218, 63, 10, 12, 27179, 49, 14, 547, 112, 161, 15, 17, 125, 103, 73, 12, 46, 127, 40, 42, 69, 213, 98, 33, 67, 170, 11, 10, 20, 796, 81, 58, 12, 13, 11, 15, 73, 2145, 54, 37, 725, 20, 59, 13, 21, 38, 11, 427, 20, 432, 17, 1061, 222, 13, 188, 10, 16, 103, 258, 65, 1080, 30, 95, 124, 79, 29, 41, 743, 75, 10, 10, 70, 10, 92, 52, 19, 61, 16, 13, 710, 11, 28, 122, 79, 218, 27, 37, 49, 12, 33, 15, 40, 15, 106, 11, 40, 15, 1999, 2633, 35, 14, 3736, 635, 112, 1739, 29, 31, 431, 28, 28, 99, 67, 70, 937, 81, 121, 58, 254, 10, 61, 27, 54, 27, 10, 20, 34, 132, 26, 49, 10, 53, 73, 46, 71, 12, 34, 160, 20, 13, 11, 25, 19, 38, 128, 12, 43, 404, 285, 23, 11, 16, 11, 41, 53, 12, 50, 39, 58, 22, 1458, 1777, 14, 18, 38, 165, 44, 23, 1366, 74, 23, 125, 37, 16, 5232, 25, 33, 885, 10, 54, 27, 71, 756, 44, 419, 468, 11, 11, 33, 16, 43, 23, 151, 31, 73, 73, 74, 58, 25, 22, 136, 102, 59, 35, 179, 16, 19, 13, 11, 122, 15, 23, 31, 15, 400, 12, 15, 13, 25, 13, 12, 31, 31, 17, 12, 18, 12, 11, 19, 271, 31, 14, 11, 93, 11, 15, 12, 53, 16, 11, 22, 13, 15, 20, 11, 12, 18, 11, 92, 21, 11, 10, 14, 10, 10, 11, 10, 12, 96, 10, 13, 15, 14, 11, 14, 11, 24, 11, 14, 11, 15, 14, 11, 10, 10, 10, 11, 16, 11, 10, 10, 14, 10, 1148, 15, 11, 19, 15, 59, 14, 31, 44, 12, 307, 44, 14, 15, 14, 17, 13, 12, 10, 14, 24, 182, 10, 45, 10, 11, 24, 483, 10, 24, 34, 21, 188, 226, 10, 10, 39, 12, 14, 104, 13, 10, 307, 28, 11, 10, 16, 20, 28, 12, 11, 17, 17, 11, 10, 98, 38, 10, 10, 11, 10, 11, 35, 136, 15, 18, 20, 13, 10, 12, 11, 14, 11, 13, 10, 11, 12, 18, 83, 17, 10, 14, 26, 24, 28, 121, 11, 10, 29, 27, 10, 15, 16, 32, 18, 13, 17, 10, 16, 13, 14, 14, 17, 11, 12, 36, 18, 23, 10, 12, 16, 25, 11, 10, 10, 107, 19, 16, 11, 21, 11, 36, 14, 10, 137, 10, 13, 14, 10, 10, 26, 10, 10, 13, 10, 14, 101, 12, 10, 11, 17, 11, 10, 12, 11, 50, 19, 14, 14, 19, 69, 66, 39, 14, 44, 14, 10, 38, 19, 18, 17, 32, 12, 14, 12, 10, 11, 10, 10, 11, 23, 10, 10, 14, 53, 13, 11, 10, 671, 12, 143, 10, 26, 95, 33, 54, 46, 16, 74, 28, 17, 13, 280, 26, 12, 11, 13, 11, 11, 20, 11, 11, 11, 32, 350, 10, 12, 11, 16, 17, 18, 60, 16, 25, 18, 10, 16, 15, 16, 12, 13, 15, 13, 11, 16, 29, 12, 18, 21, 15, 13, 14, 10, 34, 481, 12, 13, 210, 20, 10, 21, 482, 15, 11, 14, 36, 12, 20, 17, 10, 10, 16, 96, 16, 13, 57, 11, 24, 19, 12, 17, 10, 20, 50, 12, 40, 60, 333, 12, 473, 27, 10, 24, 187, 10, 13, 15, 11, 11, 20, 10, 11, 26, 15, 488, 18, 24, 10, 10, 20, 12, 11, 14, 16, 48, 25, 202, 214, 13, 419, 88, 11, 25, 234, 10, 11, 11, 98, 10, 316, 11, 14, 29, 10, 48, 10, 125, 12, 13, 15, 15, 19, 16, 21, 16, 21, 28, 19, 13, 20, 17, 13, 12, 14, 16, 14, 18, 13, 27, 16, 19, 14, 19, 10, 10, 174, 200, 13, 15, 34, 10, 26, 12, 17, 22, 53, 19, 24, 26, 44, 16, 82, 156, 29, 251, 12, 454, 10, 13, 140, 524, 116, 56, 12, 38, 526, 13, 21, 18, 30, 11, 11, 18, 161, 21, 44, 11, 117, 10, 28, 218, 57, 258, 12, 14, 477, 21, 72, 61, 27, 179, 45, 12, 21, 373, 142, 77, 21, 95, 16, 11, 12, 10, 59, 31, 17, 110, 10, 21, 91, 16, 25, 37, 10, 79, 1443, 87, 19, 33, 190, 113, 102, 17, 49, 23, 21, 10, 42, 33, 65, 68, 12, 34, 12, 12, 1339, 27, 19, 10, 18, 207, 68, 82, 78, 92, 49, 10, 35, 13, 11, 39, 13, 41, 19, 14, 26, 53, 33, 151, 37, 29, 22, 11, 11, 12, 59, 59, 73, 157, 16, 10, 16, 19, 36, 10, 10, 19, 10, 10, 11, 14, 22, 19, 4382, 11, 1424, 10, 59, 41, 12, 17, 29, 1260, 74, 10, 83, 17, 31, 43, 29, 88, 11, 12, 24, 48, 121, 24, 35, 11, 216, 11, 17, 80, 100, 46, 106, 10, 12, 121, 11, 11, 45, 127, 48, 47, 12, 30, 216, 93, 19, 35, 22, 27, 10, 10, 130, 56, 46, 174, 11, 151, 1036, 15, 12, 15, 43, 59, 19, 10, 116, 17, 261, 22, 330, 19, 964, 135, 18, 14, 711, 12, 148, 23, 113, 88, 312, 76, 92, 11, 173, 51, 184, 31, 238, 29, 250, 13, 46, 22, 17, 16, 25, 13, 67, 34, 21, 29, 20, 23, 44, 25, 29, 11, 20, 65, 121, 43, 41, 40, 11, 75, 31, 26, 41, 30, 343, 28, 1737, 199, 270, 114, 78, 32, 18, 202, 95, 112, 27, 10, 38, 74, 25, 146, 37, 14, 13, 457, 11, 66, 14, 29, 62, 109, 34, 16, 29, 2117, 73772, 17, 15, 32, 51, 60, 1344, 54, 256, 16, 27, 11, 123, 125, 19, 14, 10, 632, 53, 11, 73, 55, 19, 10, 64, 30, 109, 30, 42, 15, 643, 103, 42, 27, 17, 12, 22, 30, 103, 130, 10, 30, 35, 194, 13, 242, 18, 4418, 309, 93, 10, 1797, 10, 15, 40, 502, 45, 92, 14, 104, 15, 16, 24, 15, 90, 25, 18, 11, 10, 12, 12, 11, 13, 10, 30, 28, 26, 66, 754, 19, 1430, 123, 33, 307, 51, 1370, 66, 30, 36, 10, 76, 27, 119, 562, 462, 15, 24, 25, 16, 11, 18, 41, 22, 29, 50, 35, 20, 1564, 13, 315, 12, 15, 12, 215, 908, 22, 12, 11, 38, 29, 33, 20, 33, 16, 34, 130, 17, 10, 61, 11, 30, 30, 491, 43, 11, 590, 40, 60, 280, 12, 70, 16, 55, 45, 12, 27, 55, 66, 16, 30, 27, 66, 658, 22, 100, 171, 11, 199, 10, 36, 40, 163, 60, 4009, 498, 18, 17, 728, 29, 23, 13, 262, 74, 15, 253, 12, 10, 20, 475, 19, 237, 1007, 11, 11, 11, 56, 18, 547, 33, 12, 204, 1990, 52, 246, 26, 43, 26, 26, 210, 2410, 44, 31, 176, 33, 59, 11, 269, 135, 51, 18, 67, 84, 17, 1835, 66, 17, 44, 13, 371, 35, 12, 43, 651, 10, 18, 120, 22, 115, 15, 30, 14, 58, 17, 12, 38, 70, 536, 41, 13, 77, 64, 41, 111, 573, 17, 15, 64, 21, 27, 21, 12, 28, 77, 14, 54, 32, 14, 10, 22, 14, 64, 117, 72, 799, 72, 18, 489, 12, 18, 20, 24, 41, 11, 782, 10, 14, 943, 119, 15, 10, 936, 12, 13, 276, 15, 14, 154, 15, 16, 40, 15, 148, 87, 17, 22, 1198, 296, 31, 43, 16, 38, 11, 11, 173, 25, 16, 18, 27, 227, 34, 59, 16, 20, 43, 37, 10, 10, 20, 14, 24, 2177, 32, 10, 22, 191, 29, 10, 15, 10, 82, 20, 14, 11, 23, 100, 52, 11, 23, 156, 15, 10, 10, 63, 71, 14, 16, 410, 10, 261, 15, 59, 15, 19, 14, 50, 18, 40, 85, 22, 15, 25, 13, 19, 341, 14, 107, 1506, 28, 10, 22, 15, 10, 10, 54, 347, 24, 12, 18, 109, 71, 32, 135, 101, 107, 336, 17, 11, 56, 3368, 14, 195, 408, 331, 365, 35, 58, 36, 62, 81, 11, 121, 16, 34, 48, 105, 14, 18, 13, 142, 30, 12, 12, 85, 17, 75, 93, 36, 380, 11, 52, 18, 160, 3477, 46, 23, 1883, 86, 13, 43, 27, 15, 321, 69, 36, 120, 16, 84, 10, 376, 33, 104, 12, 22, 22, 50, 73, 67, 99, 13, 101, 62, 221, 34, 14, 116, 24, 102, 25, 66, 103, 181, 25, 49, 63, 14, 11, 33, 322, 10, 45, 10, 11, 219, 10, 115, 14, 66, 57, 11, 20, 66, 55, 171, 59, 41, 33, 77, 194, 53, 32, 13, 10, 66, 50, 16, 24, 18, 32, 17, 23, 806, 252, 50, 149, 13, 52, 97, 270, 38, 118, 14, 15, 13, 48, 22, 730, 14, 2284, 123, 13, 11, 53, 31, 31, 31, 29, 72, 81, 23, 16, 11, 435, 266, 68, 55, 87, 69, 57, 29, 47, 59, 86, 102, 60, 88, 31, 41, 11, 17, 61, 13, 32, 15, 10, 34, 157, 452, 159, 59, 27, 12, 351, 11, 13, 11, 16, 11, 173, 73, 31, 31, 11, 72, 14, 20, 17, 28, 12, 46, 49, 150, 181, 31, 853, 32, 30, 48, 57, 38, 393, 100, 12, 11, 15, 920, 24, 27, 31, 151, 31, 49, 11, 11, 12, 27, 34, 168, 13, 27, 11, 227, 10, 38, 248, 10, 61, 28, 95, 50, 36, 15, 111, 851, 911, 22, 12, 16, 26, 72, 29, 264, 10, 26, 40, 73, 100, 47, 307, 46, 25, 104, 16, 295, 425, 30, 42, 22, 42, 11, 11, 1386, 18, 272, 57, 796, 32, 449, 61, 15, 32, 11, 38, 1774, 27, 2177, 50, 28, 64, 10, 17, 453, 60, 49, 10, 13, 20, 22, 11, 167, 272, 13, 11, 21, 248, 10, 58, 146, 12, 23, 27, 25, 112, 16, 180, 95, 13, 25, 90, 40, 28, 12, 15, 58, 10, 32, 26, 19, 31, 337, 11, 13, 10, 238, 1167, 535, 169, 10, 11, 577, 123, 201, 22, 178, 50, 15, 26, 14, 39, 15, 97, 16, 28, 32, 56, 29, 94, 33, 1983, 34, 20, 14, 264, 19, 33, 101, 14, 74, 16, 449, 65, 24, 27, 49, 249, 15, 107, 120, 14, 148, 89, 23, 49, 10, 42, 51, 10, 389, 12, 25, 10, 410, 224, 23, 45, 156, 25, 25, 17, 15, 12, 13, 16, 12, 13, 37, 53, 88, 11, 57, 667, 122, 29, 186, 10, 17, 26, 27, 68, 78, 14, 19, 10, 33, 47, 13, 20, 135, 20, 45, 15, 69, 15, 808, 23, 16, 26, 41, 85, 64, 19, 10, 22, 92, 745, 15, 20, 69, 18, 31, 15, 75, 18, 208, 105, 55, 42, 12, 104, 21, 22, 13, 12, 51, 21, 180, 18, 41, 90, 10, 16, 10, 10, 11, 14, 21, 86, 25, 35, 10, 48, 14, 172, 76, 772, 28, 78, 14, 10, 28, 140, 13, 31, 94, 23, 392, 43, 101, 28, 14, 33, 19, 74, 11, 43, 79, 13, 20, 20, 10, 11, 13, 11, 27, 55, 12, 10, 201, 13, 41, 35, 31, 18, 10, 418, 13, 12, 16, 11, 41, 103, 20, 938, 332, 102, 146, 11, 10, 25, 31, 5706, 139, 48, 159, 15, 38, 100, 99, 85, 536, 18, 10, 134, 32, 112, 10, 30, 11, 21, 21, 10, 97, 30, 19, 20, 32, 32, 39, 20, 60, 30, 13, 120, 127, 279, 66, 17, 10, 94, 10, 96, 10, 11, 261, 34, 11, 141, 37, 16, 11, 12, 103, 13, 395, 20, 11, 57, 904, 32, 129, 38, 20, 12, 37, 15, 76, 4087, 76, 94, 79, 63, 19, 20, 11, 41, 22, 12, 11, 14, 88, 26, 131, 72, 21, 15, 10, 115, 63, 21, 213, 144, 13, 36, 12, 50, 19, 33, 13, 11, 24, 43, 12, 16, 21, 10, 38, 51, 569, 11, 13, 38, 10, 13, 53, 80, 20, 44, 331, 16, 26, 26, 81, 35, 64, 21, 92, 195, 269, 35, 73, 143, 26, 11, 13, 41, 10, 15, 113, 399, 16, 32, 11, 135, 11, 10, 33, 325, 11, 13, 24, 15, 295, 11, 17, 22, 25, 695, 38, 12, 61, 92, 24, 10, 10, 11, 10, 289, 11, 38, 189, 11, 30, 14, 107, 17, 53, 45, 20, 358, 1428, 14, 18, 25, 30, 13, 217, 1004, 17, 15, 21, 17, 16, 23, 54, 140, 96, 20, 68, 43, 29, 57, 18, 560, 244, 256, 49, 15, 12, 1110, 1011, 18, 11, 17, 21, 17, 28, 15, 2585, 77, 146, 29, 57, 13, 12, 30, 11, 525, 27, 26, 89, 17, 17, 284, 10, 23, 10, 14, 70, 117, 11, 10, 13, 80, 19, 32, 961, 16, 17, 12, 11, 30, 108, 81, 72, 66, 59, 11, 239, 13, 12, 12, 75, 12, 69, 31, 42, 12, 84, 42, 10, 138, 640, 14, 22, 72, 21, 19, 63, 178, 14, 41, 350, 507, 46, 731, 67, 11, 36, 208, 23, 15, 202, 10, 679, 25, 18, 101, 19, 31, 68, 252, 26, 28, 674, 34, 11, 722, 110, 13, 27, 37, 470, 81, 601, 12, 50, 115, 11, 99, 12, 87, 24, 299, 24, 16, 69, 64, 19, 13, 31, 16, 52, 10, 83, 34, 22, 71, 11, 23, 58, 52, 10, 10, 20, 12, 110, 65, 25, 16, 10, 463, 43, 16, 60, 72, 28, 37, 298, 71, 35, 85, 42, 136, 31, 26, 11, 10, 25, 31, 12, 45, 253, 39, 19, 16, 33, 72, 269, 51, 40, 120, 14, 50, 11, 69, 14, 664, 32, 26, 25, 10, 35, 69, 60, 10, 114, 49, 16, 30, 10, 99, 58, 22, 16, 698, 21, 13, 308, 28, 38, 27, 10, 52, 30, 25, 17, 18, 101, 16, 12, 110, 27, 25, 17, 50, 20, 22, 93, 10, 12, 11, 12, 75, 11, 24, 12, 13, 41, 96, 20, 105, 15, 83, 12, 73, 51, 31, 61, 407, 32, 306, 89, 232, 338, 298, 26, 73, 37, 10, 285, 87, 11, 14, 10, 133, 22, 192, 191, 11, 23, 15, 15, 12, 19, 13, 27, 10, 111, 60, 10, 13, 13, 12, 581, 73, 10, 59, 194, 242, 72, 10, 18, 74, 25, 72, 91, 15, 401, 53, 11, 19, 11, 13, 20, 11, 46, 15, 19, 15, 196, 461, 12, 49, 79, 10, 32, 50, 43, 17, 27, 461, 332, 52, 48, 1469, 100, 11, 162, 19, 42, 25, 36, 180, 16, 68, 794, 20, 68, 26, 48, 47, 12, 12, 11, 78, 16, 56, 11, 22, 11, 174, 18, 88, 11, 14, 26, 103, 54, 25, 4429, 14, 10, 12, 10, 19, 11, 12, 38, 47, 62, 76, 21, 11, 71, 11, 92, 11, 13, 11, 15, 14, 13, 44, 21, 17, 58, 15, 43, 12, 11, 19, 21, 18, 20, 11, 11, 13, 11, 24, 701, 175, 350, 175, 53, 19, 13, 23, 34, 24, 11, 18, 19, 13, 13, 10, 11, 16, 11, 20, 10, 30, 10, 17, 84, 15, 13, 10, 10, 12, 10, 19, 74, 29, 11, 14, 11, 11, 12, 11, 11, 10, 51, 15, 19, 13, 15, 10, 10, 11, 10, 10, 19, 10, 12, 10, 17, 15, 10, 18, 11, 12, 24, 13, 13, 14, 15, 16, 87, 19, 24, 10, 14, 11, 12, 10, 14, 197, 29, 14, 10, 12, 27, 11, 13, 10, 10, 14, 11, 11, 12, 478, 10, 25, 50, 17, 10, 12, 11, 15, 29, 15, 15, 26, 15, 11, 17, 76, 23, 26, 13, 16, 14, 19, 15, 11, 14, 31, 15, 12, 10, 22, 10, 21, 24, 10, 12, 10, 13, 10, 23, 12, 11, 14, 11, 20, 16, 44, 403, 55, 31, 12, 15, 10, 17, 11, 14, 18, 10, 12, 10, 24, 11, 13, 16, 11, 11, 21, 16, 15, 10, 12, 14, 27, 36, 37, 15, 12, 11, 16, 29, 27, 18, 47, 12, 10, 38, 13, 13, 13, 17, 14, 13, 14, 14, 21, 23, 11, 20, 25, 11, 222, 11, 46, 10, 27, 10, 11, 181, 11, 10, 31, 11, 10, 14, 13, 12, 21, 16, 21, 16, 19, 21, 19, 16, 11, 11, 15, 15, 42, 27, 16, 92, 13, 15, 317, 12, 94, 33, 12, 18, 40, 20, 22, 18, 90, 10, 10, 11, 25, 248, 22, 67, 17, 21, 175, 11, 826, 19, 19, 10, 10, 10, 11, 12, 30, 12, 18, 12, 10, 16, 27, 12, 49, 10, 351, 10, 11, 11, 13, 19, 14, 44, 25, 70, 15, 11, 1042, 10, 13, 46, 14, 37, 10, 54, 14, 10, 65, 101, 155, 12, 18, 10, 13, 10, 10, 11, 55, 12, 12, 51, 49, 10, 19, 24, 12, 19, 11, 11, 10, 11, 26, 20, 17, 98, 255, 52, 161, 270, 16, 1407, 24, 10, 22, 10, 42, 48, 125, 17, 12, 37, 14, 11, 13, 63, 14, 15, 183, 18, 103, 13, 10, 13, 11, 16, 14, 29, 51, 18, 16, 12, 66, 21, 23, 14, 11, 35, 56, 19, 519, 12, 28, 15, 37, 21, 10, 115, 13, 14, 13, 19, 15, 31, 15, 154, 11, 13, 16, 17, 16, 10, 13, 17, 15, 20, 25, 16, 21, 19, 11, 17, 26, 16, 16, 10, 12, 11, 10, 10, 14, 10, 12, 11, 11, 16, 16, 10, 12, 1167, 12, 12, 20, 25, 14, 13, 16, 22, 10, 23, 10, 17, 12, 17, 17, 16, 21, 13, 1190, 35, 367, 226, 37, 13, 110, 333, 847, 21, 25, 30, 150, 14, 14, 136, 118, 59, 26, 16, 13, 16, 12, 60, 31, 30, 1602, 567, 282, 23, 11, 13, 27, 16, 29, 13, 12, 24, 10, 33, 11, 174, 12, 37, 20, 26, 12, 66, 12, 10, 13, 87, 112, 139, 14, 92, 217, 89, 87, 98, 137, 11, 15, 25, 229, 12, 28, 15, 27, 97, 21, 23, 17, 101, 99, 14, 22, 37, 42, 42, 28, 12, 13, 13, 11, 43, 12, 10, 14, 12, 176, 61, 10, 59, 44, 55, 45, 21, 28, 18, 11, 170, 20, 28, 13, 61, 37, 441, 401, 443, 32, 22, 121, 68, 105, 45, 38, 43, 10, 25, 21, 115, 13, 22, 12, 16, 54, 11, 210, 670, 11, 11, 55, 486, 12, 44, 30, 17, 57, 15, 40, 35, 117, 61, 297, 131, 19, 22, 579, 143, 21, 23, 11, 11, 24, 35, 117, 11, 130, 14, 85, 30, 41, 30, 12, 231, 171, 38, 110, 49, 71, 30, 19, 36, 77, 17, 28, 15, 20, 18, 15, 21, 17, 118, 267, 12, 19, 27, 11, 21, 795, 10, 36, 15, 94, 143, 1145, 382, 1361, 21, 10, 170, 34, 17, 218, 30, 11, 78, 17, 23, 11, 37, 51, 45, 10, 51, 5368, 10, 30, 64, 88, 2127, 133, 152, 27, 30, 20, 16, 34, 20, 2670, 16, 46, 181, 698, 51, 17, 15, 18, 180, 13, 24, 45, 22, 35, 60, 18, 37, 53, 11, 30, 26, 79, 35, 17, 20, 19, 10, 1612, 11, 34, 425, 14, 13, 186, 56, 21, 73, 21, 148, 37, 32, 95, 84, 17, 39, 209, 10, 10, 118, 24, 12, 72, 11, 72, 28, 138, 158, 42, 13, 306, 103, 24, 38, 15, 14, 58, 10, 14, 332, 57, 24, 13, 85, 63, 20, 47, 72, 55, 89, 88, 35, 13, 75, 106, 24, 17, 96, 342, 10, 29, 13, 100, 21, 12, 24, 73, 71, 10, 27, 18, 72, 30, 13, 20, 49, 110, 11, 15, 131, 1048, 160, 16, 66, 155, 67, 10, 69, 24, 11, 73, 31, 31, 643, 10, 31, 31, 29, 27, 13, 72, 27, 17, 29, 35, 120, 13, 117, 13, 574, 12, 11, 13, 12, 26, 28, 10, 32, 217, 10, 10, 10, 46, 11, 15, 13, 20, 15, 44, 45, 10, 11, 14, 12, 10, 13, 15, 14, 15, 22, 10, 10, 89, 12, 10, 35, 11, 24, 12, 21, 18, 14, 10, 43, 10, 15, 35, 20, 10, 51, 47, 14, 12, 45, 11, 13, 32, 12, 22, 10, 11, 10, 88, 18, 14, 10, 34, 22, 11, 21, 26, 15, 11, 11, 27, 11, 16, 10, 10, 12, 12, 12, 151, 11, 198, 18, 10, 11, 190, 19, 34, 10, 15, 30, 10, 11, 19, 10, 18, 20, 15, 11, 14, 28, 12, 21, 25, 145, 17, 14, 20, 17, 20, 18, 15, 15, 12, 15, 22, 14, 21, 12, 31, 10, 179, 11, 10, 11, 143, 10, 12, 14, 13, 16, 15, 16, 14, 29, 195, 582, 14, 16, 17, 10, 71, 16, 15, 23, 96, 10, 13, 21, 34, 20, 365, 796, 20, 12, 11, 11, 18, 16, 12, 11, 10, 16, 33, 28, 10, 15, 10, 20, 43, 10, 12, 17, 19, 12, 13, 11, 12, 13, 661, 22, 21, 11, 14, 57, 177, 11, 12, 11, 11, 27, 20, 10, 10, 15, 11, 14, 20, 25, 21, 10, 16, 21, 23, 17, 37, 11, 10, 10, 16, 32, 18, 14, 10, 13, 702, 14, 45, 53, 56, 10, 21, 10, 15, 21, 40, 17, 10, 13, 34, 11, 10, 138, 15, 13, 207, 10, 15, 10, 10, 20, 14, 11, 11, 11, 27, 10, 11, 10, 10, 16, 12, 12, 15, 157, 10, 38, 10, 11, 11, 13, 269, 289, 14, 33, 11, 11, 14, 10, 10, 16, 165, 10, 16, 11, 23, 10, 30, 46, 10, 41, 35, 10, 11, 10, 13, 10, 13, 18, 14, 20, 11, 19, 13, 12, 12, 12, 14, 43, 12, 13, 181, 29, 10, 63, 287, 11, 11, 11, 22, 64, 31, 65, 13, 49, 52, 270, 112, 47, 22, 10, 60, 19, 91, 59, 28, 2460, 867, 40, 15, 73, 16, 40, 43, 348, 4718, 71, 255, 201, 12, 21, 14, 70, 19, 13, 94, 27, 73, 45, 74, 16, 12, 316, 27, 62, 11, 15, 33, 18, 52, 15, 12, 15, 19, 56, 39, 14, 52, 20, 270, 3665, 58, 74, 73, 23, 24, 12, 72, 635, 14, 20, 336, 16, 969, 16, 42, 11, 69, 87, 10, 22, 10, 37, 91, 10, 13, 35, 11, 11, 12, 10, 36, 12, 13, 14, 25, 23, 118, 14, 19, 14, 23, 35, 16, 43, 36, 39, 129, 19, 10, 13, 112, 16, 15, 17, 20, 518, 15, 55, 115, 41, 48, 11, 12, 18, 5755, 78, 31, 26, 28, 15, 17, 12, 24, 18, 29, 56, 30, 24, 49, 21, 21, 32, 26, 33, 147, 36, 46, 85, 18, 22, 10, 92, 52, 87, 104, 84, 122, 125, 114, 59, 25, 18, 27, 29, 27, 34, 39, 39, 64, 64, 70, 98, 74, 86, 114, 156, 170, 177, 187, 281, 219, 222, 153, 154, 87, 130, 96, 61, 59, 47, 38, 16, 15, 18, 18, 20, 25, 19, 33, 11, 16, 23, 19, 14, 26, 14, 12, 29, 11, 23, 17, 12, 12, 10, 16, 11, 10, 12, 11, 10, 23, 17, 15, 23, 41, 44, 42, 77, 74, 65, 115, 78, 46, 11, 18, 12, 16, 20, 24, 48, 36, 51, 54, 50, 81, 85, 93, 93, 111, 108, 120, 159, 166, 182, 174, 134, 133, 124, 102, 75, 41, 33, 32, 33, 14, 15, 12, 11, 13, 20, 23, 23, 27, 18, 12, 12, 10, 20, 16, 30, 13, 18, 87, 12, 22, 10, 15, 16, 20, 49, 26, 140, 143, 120, 113, 68, 44, 43, 36, 39, 38, 38, 69, 80, 82, 96, 58, 32, 11, 11, 13, 19, 12, 24, 24, 34, 43, 60, 44, 66, 70, 65, 72, 90, 142, 133, 142, 177, 173, 19, 23, 20, 14, 10, 11, 13, 11, 16, 13, 14, 13, 16, 16, 22, 717, 58, 13, 17, 10, 43, 32, 14, 25, 11, 28, 19, 12, 19, 19, 14, 14, 11, 52, 26, 36, 61, 54, 43, 61, 36, 24, 42, 36, 40, 48, 53, 61, 74, 71, 98, 113, 90, 84, 40, 65, 41, 42, 33, 20, 17, 34, 10, 14, 17, 22, 23, 24, 32, 43, 37, 13, 14, 19, 17, 18, 22, 13, 11, 13, 13, 20, 44, 128, 11, 16, 63, 41, 30, 39, 40, 68, 45, 57, 96, 92, 63, 36, 11, 16, 23, 12, 14, 21, 25, 22, 18, 29, 16, 17, 20, 18, 15, 20, 24, 25, 32, 31, 39, 46, 46, 54, 44, 74, 65, 65, 79, 127, 115, 109, 80, 65, 61, 42, 52, 44, 22, 30, 24, 11, 10, 16, 13, 18, 33, 14, 27, 36, 32, 52, 18, 11, 14, 23, 15, 17, 18, 17, 21, 12, 60, 63, 39, 61, 48, 59, 57, 42, 34, 11, 13, 17, 15, 18, 18, 18, 27, 39, 37, 39, 55, 40, 39, 65, 39, 65, 83, 83, 94, 101, 95, 56, 63, 52, 45, 42, 32, 16, 22, 33, 11, 10, 14, 14, 10, 11, 107, 103, 115, 128, 150, 154, 207, 213, 193, 242, 192, 146, 152, 120, 119, 129, 69, 56, 44, 27, 26, 29, 53, 55, 47, 64, 56, 47, 27, 13, 19, 26, 31, 28, 43, 53, 53, 52, 79, 76, 80, 19, 16, 10, 11, 11, 15, 16, 15, 13, 19, 22, 16, 24, 14, 35, 10, 11, 10, 20, 22, 10, 15, 10, 41, 33, 39, 53, 54, 58, 80, 95, 61, 81, 88, 68, 67, 63, 48, 60, 33, 27, 43, 45, 38, 37, 52, 63, 81, 78, 85, 63, 29, 31, 13, 25, 18, 28, 10, 10, 13, 22, 11, 14, 15, 24, 28, 32, 28, 32, 35, 11, 10, 11, 16, 22, 20, 11, 15, 21, 37, 55, 22, 39, 61, 39, 71, 80, 65, 28, 11, 14, 14, 11, 15, 23, 13, 20, 20, 11, 13, 15, 25, 17, 17, 23, 27, 28, 32, 53, 65, 48, 46, 61, 69, 75, 71, 88, 89, 88, 87, 70, 52, 57, 41, 31, 26, 22, 25, 10, 10, 24, 23, 10, 25, 31, 33, 41, 55, 60, 82, 61, 42, 23, 10, 36, 47, 40, 46, 62, 86, 79, 79, 81, 79, 94, 77, 68, 56, 44, 22, 19, 17, 12, 42, 10, 13, 14, 13, 17, 10, 13, 12, 12, 19, 20, 20, 20, 17, 16, 36, 12, 11, 11, 10, 14, 12, 16, 12, 12, 13, 10, 16, 21, 17, 20, 16, 69, 68, 76, 80, 72, 114, 118, 125, 130, 160, 40, 44, 56, 64, 58, 92, 134, 84, 31, 13, 22, 13, 11, 17, 17, 21, 31, 40, 45, 51, 148, 120, 116, 130, 87, 69, 39, 35, 32, 27, 19, 22, 19, 13, 17, 10, 10, 12, 11, 24, 13, 13, 11, 13, 10, 10, 10, 19, 10, 17, 11, 12, 13, 37, 26, 49, 57, 49, 99, 99, 76, 49, 21, 56, 64, 67, 88, 99, 130, 158, 146, 158, 180, 180, 118, 119, 91, 85, 71, 53, 49, 33, 25, 11, 19, 18, 20, 31, 29, 37, 52, 54, 16, 19, 15, 10, 12, 16, 10, 13, 13, 10, 14, 12, 13, 14, 12, 14, 22, 11, 30, 20, 44, 59, 62, 87, 87, 66, 34, 12, 39, 57, 71, 77, 74, 105, 138, 150, 163, 137, 139, 128, 92, 88, 82, 64, 40, 24, 26, 26, 12, 20, 16, 19, 15, 29, 36, 41, 40, 10, 12, 18, 10, 18, 11, 11, 12, 20, 22, 11, 11, 12, 13, 15, 20, 13, 51, 32, 47, 57, 71, 60, 85, 64, 51, 11, 15, 21, 14, 19, 14, 26, 17, 42, 48, 54, 66, 58, 70, 65, 103, 104, 131, 161, 154, 180, 158, 143, 115, 81, 90, 64, 51, 42, 23, 28, 13, 17, 18, 16, 13, 14, 12, 11, 10, 14, 12, 17, 12, 13, 17, 14, 10, 13, 10, 21, 33, 37, 38, 76, 68, 100, 91, 64, 58, 17, 11, 18, 13, 20, 17, 23, 22, 35, 33, 52, 42, 59, 55, 63, 81, 110, 113, 139, 126, 148, 149, 129, 103, 108, 82, 49, 35, 32, 25, 34, 11, 11, 12, 12, 12, 19, 10, 13, 13, 175, 10, 15, 10, 10, 13, 18, 27, 62, 50, 48, 58, 59, 94, 89, 41, 21, 14, 12, 17, 17, 16, 20, 27, 39, 30, 48, 56, 57, 59, 58, 75, 76, 96, 141, 115, 147, 150, 113, 105, 100, 73, 71, 41, 27, 20, 27, 31, 28, 10, 11, 11, 13, 22, 43, 37, 61, 41, 51, 91, 110, 73, 43, 13, 10, 15, 12, 13, 17, 54, 75, 79, 68, 85, 104, 106, 184, 142, 125, 134, 110, 121, 98, 75, 75, 47, 40, 20, 24, 10, 12, 10, 23, 25, 26, 37, 27, 36, 21, 14, 10, 17, 12, 14, 16, 21, 15, 11, 12, 12, 13, 16, 14, 39, 31, 30, 54, 70, 89, 97, 59, 53, 11, 56, 54, 68, 71, 101, 100, 143, 138, 129, 166, 136, 129, 130, 86, 66, 61, 54, 18, 32, 37, 16, 20, 27, 48, 34, 43, 51, 11, 14, 11, 10, 10, 10, 11, 19, 20, 23, 25, 36, 51, 65, 76, 66, 68, 42, 13, 10, 18, 19, 11, 60, 46, 83, 79, 91, 99, 124, 151, 154, 167, 159, 129, 99, 109, 77, 60, 44, 28, 29, 17, 22, 16, 15, 30, 38, 41, 48, 10, 15, 11, 10, 12, 57, 35, 27, 16, 98, 78, 72, 52, 49, 47, 34, 26, 11, 140, 12, 10, 16, 24, 43, 53, 64, 53, 59, 81, 89, 74, 44, 11, 13, 78, 55, 18, 18, 13, 15, 13, 16, 11, 14, 14, 20, 15, 23, 29, 35, 38, 39, 52, 56, 53, 62, 68, 74, 107, 89, 90, 13, 11, 27, 15, 10, 12, 15, 17, 10, 17, 26, 11, 10, 18, 15, 10, 18, 16, 20, 15, 26, 32, 17, 49, 41, 30, 33, 49, 44, 44, 38, 69, 81, 116, 122, 63, 47, 10, 15, 18, 12, 19, 17, 37, 15, 40, 48, 50, 47, 53, 50, 54, 60, 61, 81, 70, 102, 109, 81, 75, 47, 58, 41, 31, 27, 23, 28, 34, 39, 29, 30, 13, 13, 14, 11, 10, 11, 17, 10, 11, 14, 23, 13, 11, 15, 21, 15, 11, 13, 21, 15, 37, 24, 39, 45, 61, 88, 87, 41, 36, 10, 33, 58, 46, 46, 39, 66, 83, 80, 94, 93, 84, 87, 70, 67, 39, 41, 28, 36, 18, 30, 13, 16, 11, 18, 18, 28, 37, 34, 24, 194, 55, 12, 20, 74, 12, 13, 14, 22, 11, 10, 13, 24, 10, 10, 14, 10, 10, 25, 13, 15, 23, 29, 16, 39, 30, 49, 46, 56, 33, 55, 56, 71, 78, 75, 99, 90, 81, 59, 57, 58, 56, 28, 31, 22, 29, 17, 52, 33, 46, 52, 50, 52, 56, 37, 23, 12, 20, 19, 17, 20, 10, 10, 11, 12, 14, 13, 19, 15, 21, 34, 43, 60, 76, 105, 88, 106, 88, 50, 14, 40, 49, 44, 51, 56, 59, 62, 64, 97, 85, 83, 72, 56, 46, 50, 39, 29, 25, 22, 32, 21, 17, 12, 14, 14, 15, 14, 11, 23, 24, 27, 32, 26, 10, 10, 13, 13, 17, 13, 10, 44, 46, 36, 45, 82, 95, 63, 54, 32, 10, 14, 11, 12, 20, 26, 17, 20, 32, 37, 43, 45, 59, 70, 56, 52, 76, 76, 82, 101, 123, 88, 65, 72, 60, 48, 32, 27, 17, 29, 35, 15, 10, 11, 15, 13, 17, 10, 20, 13, 15, 17, 18, 22, 19, 34, 32, 35, 49, 41, 45, 58, 58, 65, 74, 91, 81, 82, 75, 78, 66, 48, 33, 28, 17, 21, 17, 24, 31, 25, 41, 39, 43, 48, 56, 38, 27, 10, 20, 49, 17, 24, 11, 11, 16, 12, 15, 15, 39, 34, 50, 43, 70, 71, 94, 81, 85, 97, 87, 76, 47, 37, 39, 34, 37, 21, 13, 28, 27, 26, 50, 52, 53, 54, 65, 32, 25, 13, 23, 18, 21, 19, 15, 18, 29, 25, 31, 37, 11, 12, 11, 16, 13, 15, 16, 11, 46, 34, 16, 42, 41, 43, 61, 29, 17, 54, 44, 58, 47, 53, 59, 76, 70, 87, 104, 96, 60, 78, 54, 46, 33, 23, 17, 19, 29, 10, 10, 12, 13, 23, 30, 23, 41, 45, 24, 10, 13, 10, 31, 31, 46, 47, 48, 65, 65, 44, 30, 10, 47, 43, 41, 64, 72, 65, 57, 82, 97, 87, 68, 60, 68, 54, 43, 29, 28, 42, 20, 27, 15, 16, 21, 17, 21, 24, 43, 52, 10, 11, 13, 16, 11, 11, 17, 307120, 175, 302, 513, 80, 241, 77, 217, 215, 14, 17, 41, 24, 10, 113, 328, 20, 16, 22, 123, 20, 21, 11, 85, 13, 37, 62, 10, 11, 26, 10, 18, 11, 10, 19, 12, 13, 11, 15, 10, 13, 46, 14, 20, 44, 33, 10310, 26, 14, 14, 26, 26, 10, 37, 22, 81, 81, 57, 38, 38, 27, 34, 37, 25, 39, 38, 38, 45, 52, 25, 24, 17, 17, 21, 14, 30, 14, 16, 25, 18, 20, 31, 29, 33, 38, 43, 62, 47, 49, 51, 66, 82, 110, 92, 24, 19, 94, 71, 12, 10, 15, 15, 20, 11, 19, 10, 33, 13, 10, 287, 24, 40, 19, 32, 50, 69, 57, 15, 11, 39, 37, 56, 48, 60, 45, 79, 84, 84, 76, 77, 60, 54, 64, 33, 36, 30, 12, 224, 26, 12, 13, 17, 20, 31, 26, 37, 31, 42, 10, 11, 11, 10, 11, 22, 18, 15, 14, 21, 12, 14, 3225, 14, 156, 16, 24, 25, 14, 10, 10, 22, 11, 152, 10, 32, 37, 46, 34, 15, 36, 19, 48, 15, 14, 125, 56, 17, 4446, 59, 15, 13, 40, 25, 40, 24, 19, 17, 11, 103, 11, 12, 30, 20, 12, 10, 396, 10, 10, 12, 65, 1737, 16, 18, 73, 38, 79, 11, 17, 23, 21, 34, 61, 16, 56, 26, 15, 20, 41, 65, 21, 20, 10, 17, 14, 10, 19, 38, 53, 10, 12, 1061, 11, 35, 18, 78, 10, 24, 17, 12, 55, 15, 19, 11, 11, 12, 15, 23, 10, 11, 18, 13, 16, 13, 10, 34, 88, 23, 17, 17, 113, 103, 74, 86, 63, 48, 37, 35, 36, 37, 42, 43, 45, 44, 74, 52, 49, 17, 22, 10, 17, 50, 42, 41, 49, 60, 69, 61, 84, 101, 132, 10, 19, 20, 22, 32, 43, 38, 17, 27, 34, 10, 10, 10, 11, 12, 14, 10, 12, 12, 12, 10, 13, 24, 15, 16, 39, 15, 47, 33, 52, 93, 99, 66, 38, 13, 16, 19, 17, 14, 23, 25, 24, 19, 42, 36, 54, 58, 76, 68, 107, 106, 129, 128, 130, 154, 141, 115, 115, 91, 87, 66, 39, 33, 34, 27, 14, 15, 10, 15, 13, 13, 11, 11, 12, 16, 11, 16, 11, 10, 12, 10, 16, 16, 10, 14, 22, 41, 38, 53, 53, 68, 87, 65, 42, 19, 14, 14, 17, 19, 21, 21, 32, 29, 41, 50, 35, 53, 66, 65, 70, 90, 137, 100, 132, 143, 139, 122, 116, 111, 69, 70, 60, 32, 21, 22, 16, 11, 12, 15, 10, 10, 17, 12, 10, 10, 13, 15, 13, 14, 11, 40, 48, 41, 45, 65, 80, 67, 19, 12, 11, 13, 14, 16, 16, 29, 25, 25, 34, 26, 59, 45, 75, 96, 83, 97, 96, 149, 155, 151, 110, 107, 78, 82, 58, 60, 53, 30, 23, 14, 26, 18, 20, 16, 10, 15, 10, 10, 10, 12, 10, 15, 25, 21, 58, 45, 53, 66, 93, 76, 44, 16, 17, 11, 14, 14, 13, 14, 19, 16, 19, 13, 23, 21, 28, 45, 41, 33, 49, 44, 65, 50, 95, 70, 95, 123, 157, 132, 154, 124, 115, 100, 88, 65, 45, 17, 27, 34, 24, 18, 14, 14, 21, 11, 10, 12, 11, 10, 15, 14, 11, 13, 13, 10, 11, 13, 17, 21, 37, 32, 55, 77, 72, 65, 46, 42, 15, 55, 62, 75, 76, 95, 100, 127, 122, 142, 129, 163, 112, 118, 77, 64, 45, 38, 24, 34, 40, 12, 13, 26, 17, 26, 28, 27, 50, 41, 19, 15, 11, 13, 13, 10, 13, 13, 29, 34, 36, 55, 52, 79, 79, 70, 32, 10, 69, 49, 61, 72, 87, 78, 123, 140, 162, 175, 143, 129, 108, 91, 73, 73, 45, 27, 24, 28, 14, 13, 17, 19, 24, 29, 25, 47, 44, 12, 10, 10, 10, 10, 10, 11, 11, 14, 10, 10, 12, 10, 27, 10, 12, 139, 114, 111, 88, 82, 56, 40, 28, 29, 14, 36, 21, 64, 70, 69, 77, 113, 76, 60, 15, 40, 37, 71, 77, 67, 92, 105, 118, 104, 160, 16, 20, 14, 20, 24, 29, 30, 45, 51, 15, 20, 11, 14, 15, 10, 14, 12, 21, 25, 31, 35, 57, 70, 61, 53, 38, 15, 13, 12, 10, 12, 21, 19, 17, 33, 31, 31, 51, 49, 67, 62, 83, 111, 105, 107, 121, 159, 140, 121, 74, 62, 67, 53, 30, 26, 27, 18, 10, 17, 12, 92, 17, 17, 10, 10, 14035, 27, 141, 45, 37, 18, 25, 59, 16, 16, 22, 43, 135, 128, 102, 96, 75, 56, 44, 36, 15, 68, 18, 35, 13, 19, 18, 18, 17, 51, 39, 36, 54, 56, 97, 105, 64, 42, 10, 186, 62, 59, 52, 60, 76, 103, 135, 133, 175, 12, 22, 17, 19, 19, 32, 27, 40, 39, 39, 17, 19, 23, 14, 14, 16, 13, 11, 11, 17, 12, 11, 31, 10, 17, 12, 11, 27, 395, 34, 17, 25, 24, 20, 21, 20, 1007, 16, 26, 42, 28, 14, 27, 34, 25, 35, 45, 41, 50, 56, 95, 79, 58, 45, 12, 14, 22, 20, 11, 25, 25, 30, 43, 46, 47, 57, 55, 73, 100, 112, 87, 132, 133, 190, 159, 114, 105, 115, 88, 60, 38, 19, 29, 27, 29, 24, 29, 33, 40, 10, 15, 10, 10, 11, 11, 10, 12, 11, 13, 14, 10, 11, 10, 11, 12, 12, 13, 10, 15, 10, 24, 21, 11, 19, 24, 21, 28, 37, 41, 47, 60, 38, 74, 88, 94, 121, 151, 138, 124, 87, 106, 100, 68, 65, 32, 22, 21, 16, 208, 30, 28, 38, 47, 51, 60, 58, 27, 16, 17, 27, 14, 12, 10, 10, 16, 15, 18, 19, 15, 11, 10, 21, 31, 32, 30, 30, 57, 58, 58, 61, 79, 66, 46, 44, 40, 15, 29, 13, 10, 24, 37, 18, 18, 21, 24, 35, 30, 39, 23, 14, 15, 14, 20, 16, 24, 26, 37, 25, 11, 14, 11, 10, 10, 10, 11, 141, 120, 113, 114, 88, 82, 85, 45, 24, 190, 17, 19, 35, 32, 24, 54, 59, 58, 44, 66, 65, 78, 92, 106, 115, 158, 138, 145, 125, 139, 15, 23, 17, 37, 58, 59, 39, 15, 15, 12, 13, 12, 11, 14, 10, 13, 18, 16, 19, 13, 23, 23, 24, 14, 12, 15, 27, 17, 13, 27, 32, 40, 30, 38, 30, 49, 63, 69, 67, 22, 16, 22, 53, 43, 43, 39, 35, 29, 74, 53, 36, 26, 35, 40, 26, 22, 26, 10, 23, 11, 14, 23, 28, 29, 31, 14, 10, 12, 12, 10, 16, 13, 10, 11, 11, 15, 17, 18, 61, 71, 45, 51, 29, 26, 17, 18, 13, 15, 32, 28, 38, 36, 39, 44, 57, 54, 75, 78, 14, 22, 35, 37, 39, 42, 59, 29, 31, 11, 17, 14, 20, 30, 17, 20, 36, 15, 12, 19, 10, 15, 27, 41, 45, 44, 51, 44, 64, 56, 147, 58, 10, 20, 10, 12, 17, 11, 18, 20, 29, 66, 49, 43, 56, 39, 34, 23, 16, 13, 16, 28, 27, 24, 30, 36, 51, 70, 35, 20, 12, 10, 11, 10, 13, 11, 10, 23, 35, 52, 39, 36, 41, 54, 68, 75, 77, 41, 44, 51, 34, 29, 31, 18, 26, 12, 24, 24, 20, 26, 28, 42, 52, 47, 35, 25, 13, 11, 15, 14, 13, 11, 16, 124, 32, 28, 14, 15, 12, 36, 38, 30, 35, 34, 37, 39, 69, 76, 60, 14, 25, 40, 27, 37, 31, 53, 34, 18, 53, 57, 60, 43, 37, 29, 20, 15, 19, 14, 12, 10, 10, 15, 14, 13, 15, 21, 29, 21, 5430, 52, 18, 16, 240, 43, 18, 10, 103, 32, 48, 80, 57, 56, 50, 34, 30, 18, 46, 47, 57, 63, 59, 73, 88, 80, 155, 95, 76, 64, 52, 65, 51, 45, 24, 24, 19, 67, 13, 15, 12, 21, 14, 12, 14, 11, 11, 18, 12, 27, 24, 44, 76, 38, 38, 12, 10, 18, 41, 15, 12, 12, 83, 14, 61, 12, 38, 31, 79, 89, 70, 44, 44, 32, 24, 34, 32, 158, 20, 11, 22, 15, 59, 64, 59, 49, 62, 69, 89, 86, 99, 96, 41, 37, 46, 67, 54, 53, 58, 38, 28, 13, 14, 18, 21, 24, 23, 26, 37, 23, 27, 28, 41, 11, 12, 12, 11, 40, 11, 52, 13, 16, 13, 42, 12, 14, 11, 12, 38, 29, 41, 50, 64, 63, 62, 53, 26, 14, 14, 16, 24, 12, 22, 30, 39, 42, 44, 43, 48, 39, 60, 72, 67, 72, 92, 102, 94, 81, 92, 73, 64, 41, 28, 40, 24, 18, 38, 252, 12, 19, 12, 17, 19, 17, 14, 16, 20, 10, 13, 18, 18, 14, 29, 104, 11, 15, 11, 29, 24, 10, 10, 10, 12, 10, 15, 15, 20, 24, 19, 25, 21, 35, 48, 45, 40, 43, 28, 11, 10, 14, 23, 11, 25, 19, 25, 45, 28, 63, 28, 44, 53, 57, 59, 85, 81, 92, 92, 75, 72, 61, 39, 36, 25, 32, 27, 21, 28, 55, 35, 42, 72, 54, 77, 59, 36, 33, 35, 20, 25, 22, 20, 12, 16, 10, 14, 17, 25, 11, 10, 10, 22, 11, 14, 12, 17, 11, 16, 11, 25, 15, 28, 34, 27, 30, 26, 48, 40, 41, 43, 65, 77, 66, 102, 90, 45, 35, 41, 49, 78, 80, 86, 69, 46, 17, 80, 65, 79, 47, 38, 26, 28, 23, 26, 42, 16, 12, 11, 17, 15, 11, 11, 10, 13, 28, 12, 13, 11, 10, 10, 42, 38, 29, 36, 58, 49, 58, 38, 37, 10, 21, 16, 13, 12, 10, 27, 27, 39, 40, 53, 62, 50, 43, 56, 61, 65, 82, 90, 87, 107, 74, 61, 80, 58, 35, 35, 19, 25, 21, 20, 12, 15, 14, 14, 13, 14, 12, 13, 11, 39, 30, 56, 55, 51, 63, 76, 78, 65, 90, 85, 71, 61, 54, 48, 52, 23, 27, 35, 19, 32, 33, 28, 49, 60, 69, 55, 53, 25, 11, 16, 22, 14, 14, 30, 26, 31, 44, 30, 30, 10, 13, 17, 12, 17, 11, 11, 10, 22, 13, 15, 39, 47, 44, 46, 65, 70, 69, 88, 102, 102, 75, 71, 56, 46, 43, 46, 30, 24, 17, 34, 33, 29, 48, 44, 55, 51, 46, 33, 27, 11, 12, 13, 18, 14, 23, 14, 34, 32, 10, 10, 14, 11, 18, 10, 19, 12, 24, 50, 56, 51, 73, 81, 60, 72, 90, 84, 64, 83, 47, 46, 34, 32, 36, 14, 13, 24, 34, 29, 25, 37, 28, 61, 59, 30, 16, 17, 10, 16, 17, 19, 18, 24, 29, 37, 17, 15, 13, 10, 32, 40, 48, 66, 50, 74, 64, 76, 106, 97, 86, 72, 40, 59, 31, 25, 14, 20, 17, 20, 34, 25, 34, 52, 39, 54, 45, 30, 19, 21, 10, 22, 18, 20, 35, 33, 28, 11, 16, 33, 44, 49, 38, 60, 64, 69, 63, 93, 81, 77, 53, 54, 47, 56, 37, 31, 12, 16, 16, 17, 29, 25, 24, 32, 40, 37, 27, 20, 17, 19, 14, 12, 23, 20, 30, 32, 34, 13, 12, 13, 10, 14, 10, 34, 17, 42, 11, 13, 26, 35, 14, 19, 18, 10, 49, 50, 110, 16, 36, 10, 13, 19, 27, 45, 29, 17, 21, 10, 10, 12, 22, 14, 151, 32, 10, 25, 36, 12, 14, 17, 97, 100, 63, 98, 55, 72, 64, 86, 86, 136, 58, 45, 44, 58, 69, 44, 38, 49, 49, 41, 49, 51, 137, 32, 42, 41, 41, 50, 57, 49, 11, 17, 14, 10, 12, 39, 10, 11, 10, 15, 94, 35, 19, 24, 24, 11, 12, 11, 13, 116, 47, 78, 88, 47, 37, 43, 59, 69, 83, 107, 42, 74, 76, 58, 41, 34, 29, 37, 44, 134, 40, 35, 38, 37, 53, 41, 58, 64, 50, 10, 16, 20, 13, 34, 18, 38, 32, 10, 11, 16, 32, 10, 10, 11, 10, 57, 30, 56, 79, 94, 56, 41, 39, 42, 60, 59, 84, 82, 37, 48, 64, 26, 45, 42, 41, 37, 30, 52, 34, 44, 129, 28, 36, 38, 55, 50, 36, 155, 10, 12, 11, 14, 26, 25, 11, 10, 26, 10, 16, 14, 17, 19, 67, 52, 68, 73, 46, 28, 39, 30, 55, 62, 77, 30, 84, 87, 72, 40, 38, 41, 33, 35, 38, 38, 40, 121, 31, 31, 55, 37, 41, 39, 16, 12, 10, 10, 64, 17, 17, 28, 23, 11, 38, 19, 14, 13, 52, 59, 54, 66, 27, 33, 38, 22, 43, 40, 71, 49, 96, 98, 66, 36, 31, 26, 31, 21, 31, 32, 135, 51, 39, 22, 39, 37, 40, 42, 12, 13, 19, 11, 53, 13, 13, 77, 19, 10, 15, 31, 20, 12, 44, 62, 45, 64, 25, 14, 27, 26, 25, 39, 43, 41, 52, 63, 64, 69, 30, 36, 30, 23, 84, 28, 38, 41, 29, 38, 22, 15, 35, 22, 15, 21, 33, 12, 12, 26, 19, 32, 35, 51, 55, 33, 18, 18, 16, 13, 27, 32, 46, 57, 46, 72, 47, 39, 24, 16, 23, 76, 15, 28, 25, 22, 21, 36, 25, 24, 23, 15, 10, 23, 37, 17, 14, 32, 41, 36, 37, 16, 19, 13, 21, 18, 18, 40, 56, 34, 80, 44, 48, 48, 30, 20, 15, 83, 24, 15, 22, 17, 29, 28, 32, 19, 23, 43, 13, 10, 13, 13, 13, 10, 20, 27, 46, 43, 18, 14, 15, 14, 13, 15, 23, 43, 17, 26, 37, 33, 46, 38, 32, 25, 101, 25, 11, 20, 22, 28, 17, 19, 19, 41, 14, 10, 15, 13, 11, 18, 25, 48, 26, 17, 11, 16, 12, 17, 12, 28, 41, 23, 26, 54, 42, 37, 32, 16, 17, 60, 23, 26, 25, 20, 14, 24, 16, 13, 19, 17, 22, 11, 96, 18, 15, 30, 25, 39, 43, 55, 80, 88, 59, 14, 14, 13, 19, 34, 39, 23, 28, 10, 77, 74, 52, 53, 36, 25, 16, 20, 10, 11, 11, 10, 10, 12, 16, 11, 14, 10, 14, 12, 10, 12, 14, 13, 17, 38, 27, 34, 44, 47, 62, 77, 67, 10, 10, 24, 19, 23, 22, 24, 19, 26, 82, 63, 56, 64, 41, 28, 22, 19, 13, 13, 15, 10, 11, 10, 10, 17, 13, 14, 12, 25, 27, 26, 43, 52, 56, 64, 58, 75, 102, 12, 11, 21, 27, 21, 33, 31, 14, 11, 112, 70, 75, 40, 54, 47, 18, 19, 15, 12, 14, 10, 13, 15, 13, 13, 10, 24, 16, 22, 15, 35, 44, 51, 44, 61, 61, 54, 13, 17, 18, 23, 26, 22, 19, 29, 14, 10, 14, 15, 73, 72, 45, 54, 46, 26, 33, 13, 10, 14, 13, 12, 15, 10, 12, 12, 100, 18, 28, 24, 33, 36, 37, 69, 66, 100, 76, 21, 13, 10, 23, 24, 38, 39, 12, 82, 55, 59, 51, 40, 27, 23, 12, 13, 12, 10, 11, 10, 11, 10, 19, 16, 19, 10, 15, 12, 19, 20, 21, 33, 40, 34, 49, 63, 87, 72, 15, 14, 22, 18, 15, 25, 31, 17, 74, 49, 64, 41, 35, 35, 22, 13, 14, 11, 11, 10, 15, 11, 15, 12, 10, 10, 19, 10, 15, 28, 26, 24, 38, 33, 39, 64, 59, 71, 89, 60, 57, 54, 61, 51, 31, 17, 14, 12, 23, 19, 24, 44, 46, 20, 15, 14, 12, 13, 10, 10, 16, 24, 11, 11, 11, 19, 11, 18, 20, 25, 34, 53, 47, 51, 61, 79, 71, 12, 10, 11, 18, 20, 18, 25, 28, 21, 64, 62, 57, 42, 34, 36, 19, 12, 15, 11, 14, 12, 12, 14, 14, 10, 12, 24, 15, 14, 17, 21, 19, 26, 24, 44, 49, 57, 52, 19, 13, 18, 31, 21, 25, 23, 78, 58, 44, 59, 46, 23, 20, 10, 13, 13, 13, 12, 11, 15, 13, 34, 50, 114, 72, 83, 91, 102, 174, 109, 65, 44, 36, 59, 42, 36, 77, 56, 46, 47, 31, 53, 77, 28, 32, 57, 46, 41, 47, 37, 46, 42, 41, 20, 10, 16, 56, 19, 10, 19, 12, 11, 15, 10, 11, 66, 69, 52, 82, 57, 57, 115, 92, 82, 51, 36, 53, 60, 50, 66, 44, 50, 25, 41, 45, 47, 41, 45, 63, 40, 41, 43, 50, 41, 41, 36, 35, 39, 29, 10, 11, 53, 148, 54, 73, 130, 87, 61, 42, 47, 47, 52, 42, 52, 47, 48, 47, 40, 38, 37, 30, 95, 29, 32, 36, 32, 38, 28, 41, 47, 24, 10, 47, 11, 11, 28, 23, 11, 15, 14, 12, 11, 37, 57, 68, 91, 68, 44, 42, 80, 105, 95, 64, 46, 59, 41, 47, 36, 29, 35, 43, 32, 39, 29, 102, 30, 35, 34, 21, 38, 31, 36, 31, 40, 24, 10, 16, 37, 10, 20, 11, 50, 125, 57, 81, 134, 115, 123, 50, 40, 50, 34, 52, 60, 44, 48, 46, 41, 35, 45, 40, 83, 25, 33, 32, 35, 44, 58, 35, 41, 23, 38, 17, 29, 16, 10, 13, 10, 49, 13, 11, 23, 44, 115, 70, 72, 91, 51, 54, 46, 30, 37, 51, 37, 44, 45, 42, 42, 32, 42, 41, 22, 60, 28, 35, 28, 27, 38, 32, 40, 27, 23, 36, 18, 18, 14, 38, 11, 17, 20, 31, 33, 23, 34, 24, 18, 18, 17, 93, 22, 65, 64, 45, 26, 23, 21, 22, 19, 58, 19, 18, 15, 17, 26, 15, 19, 26, 21, 20, 11, 12, 13, 13, 33, 23, 33, 14, 16, 15, 19, 12, 14, 20, 17, 15, 13, 11, 16, 21, 12, 23, 11, 14, 15, 14, 12, 13, 15, 14, 11, 12, 10, 11, 10, 15, 18, 20, 10, 17, 73, 20, 10, 12, 10, 14, 54, 12, 10, 11, 18, 100, 16, 16, 12, 17, 11, 10, 18, 16, 21, 24, 35, 28, 51, 56, 64, 89, 87, 84, 70, 76, 57, 56, 47, 48, 15, 12, 10, 13, 13, 12, 15, 30, 31, 37, 12, 18, 21, 16, 15, 17, 10, 16, 12, 20, 18, 12, 14, 12, 14, 12, 15, 22, 31, 33, 26, 38, 64, 77, 78, 87, 70, 189, 24, 85, 79, 50, 32, 26, 18, 12, 22, 34, 42, 34, 28, 10, 20, 14, 24, 14, 12, 12, 14, 16, 14, 10, 11, 14, 14, 15, 21, 17, 19, 26, 44, 38, 50, 67, 63, 72, 76, 19, 18, 19, 27, 19, 38, 28, 33, 20, 90, 69, 73, 41, 36, 30, 28, 15, 19, 25, 18, 12, 14, 10, 10, 25, 81, 102, 70, 47, 56, 43, 22, 23, 11, 12, 29, 35, 39, 34, 62, 78, 75, 79, 80, 113, 936, 11, 12, 12, 11, 14, 28, 26, 24, 23, 31, 10, 14, 10, 13, 22, 14, 12, 12, 10, 11, 12, 11, 11, 43, 12, 20, 15, 29, 18, 14, 11, 11, 10, 10, 10, 68, 14, 15, 12, 12, 12, 15, 21, 14, 25, 18, 12, 13, 27, 15, 17, 16, 18, 27, 32, 10, 14, 10, 13, 49, 17, 17, 19, 25, 27, 15, 10, 12, 22, 17, 21, 17, 16, 12, 19, 18, 28, 22, 62, 21, 12, 11, 16, 15, 18, 11, 16, 15, 10, 14, 21, 17, 30, 10, 10, 17, 14, 20, 12, 25, 10, 19, 15, 20, 12, 49, 10, 12, 11, 18, 14, 23, 15, 10, 12, 10, 11, 24, 21, 11, 11, 40, 12, 10, 10, 11, 15, 10, 11, 12, 11, 16, 12, 11, 15, 11, 17, 12, 28, 28, 16, 11, 11, 11, 20, 20, 10, 22, 12, 42, 10, 15, 14, 14, 59, 11, 31, 13, 40, 10, 16, 11, 16, 13, 17, 17, 23, 10, 11, 12, 19, 10, 25, 16, 26, 14, 17, 19, 12, 20, 14, 10, 22, 27, 10, 12, 11, 43, 15, 10, 27, 41, 16, 23, 10, 11, 21, 11, 12, 17, 22, 11, 10, 10, 11, 108, 11, 12, 38, 12, 11, 12, 31, 20, 37, 33, 19, 13, 103, 16, 13, 20, 12, 10, 12, 13, 46, 11, 22, 17, 22, 29, 37, 30, 37, 19, 50, 25, 15, 18, 10, 14, 10, 23, 12, 10, 12, 14, 10, 10, 11, 15, 10, 11, 10, 11, 49, 38, 16, 13, 14, 10, 13, 12, 11, 19, 10, 10, 19, 91, 11, 18, 14, 11, 59, 13, 10, 66, 11, 10, 44, 17, 10, 14, 13, 12, 18, 14, 11, 20, 3077, 42, 41, 12, 14, 12, 15, 14, 11, 23, 89, 26, 10, 35, 21, 32, 24, 31, 34, 33, 91, 57, 77, 89, 109, 81, 70, 67, 18, 38, 17, 30, 31, 37, 32, 43, 64, 62, 62, 114, 81, 91, 129, 134, 158, 180, 193, 250, 236, 212, 195, 162, 118, 116, 105, 87, 41, 69, 48, 19, 42, 26, 29, 14, 21, 15, 12, 12, 17, 13, 18, 17, 26, 33, 12, 10, 15, 11, 10, 11, 10, 306, 36, 22, 17, 18, 20, 11, 12, 12, 18, 18, 32, 19, 33, 16, 22, 15, 28, 20, 47, 168, 64, 84, 67, 83, 84, 80, 36, 12, 26, 12, 13, 24, 33, 40, 41, 40, 61, 49, 35, 158, 136, 134, 117, 94, 107, 58, 48, 25, 64, 77, 81, 107, 111, 102, 118, 156, 180, 188, 28, 20, 22, 13, 11, 17, 12, 12, 10, 15, 11, 18, 26, 64, 11, 16, 70, 61, 14, 30, 19, 26, 20, 16, 18, 31, 25, 22, 15, 15, 36, 28, 108, 37, 48, 74, 90, 100, 120, 88, 32, 14, 20, 14, 19, 34, 36, 34, 29, 49, 47, 60, 65, 82, 85, 77, 142, 155, 145, 160, 171, 205, 178, 166, 158, 112, 73, 58, 66, 28, 25, 37, 35, 29, 24, 20, 27, 19, 16, 13, 10, 14, 20, 16, 16, 12, 13, 12, 26, 12, 11, 14, 22, 15, 12, 25, 23, 48, 43, 56, 86, 76, 30, 22, 11, 52, 22, 16, 12, 17, 39, 14, 15, 12, 13, 43, 65, 42, 47, 55, 82, 76, 82, 84, 84, 74, 76, 48, 58, 46, 42, 29, 24, 24, 41, 12, 14, 17, 20, 30, 25, 26, 29, 34, 40, 11, 15, 15, 10, 19, 13, 23, 27, 16, 17, 51, 56, 30, 38, 45, 57, 46, 48, 30, 16, 16, 14, 11, 20, 14, 12, 12, 11, 15, 12, 12, 12, 32, 14, 29, 27, 35, 49, 47, 56, 58, 39, 49, 53, 83, 84, 112, 80, 64, 76, 59, 42, 41, 30, 24, 19, 29, 10, 10, 11, 19, 19, 19, 14, 14, 17, 25, 18, 22, 15, 19, 19, 17, 28, 17, 11, 10, 13, 12, 51, 35, 41, 45, 60, 98, 86, 40, 21, 16, 71, 13, 12, 23, 21, 16, 32, 44, 38, 28, 56, 59, 48, 63, 84, 62, 82, 94, 114, 82, 67, 53, 50, 55, 41, 23, 31, 22, 19, 12, 18, 23, 36, 63, 37, 36, 54, 42, 47, 25, 17, 19, 12, 19, 20, 25, 27, 29, 43, 41, 53, 52, 57, 63, 77, 88, 79, 100, 115, 133, 124, 166, 162, 171, 154, 113, 113, 127, 90, 76, 86, 41, 31, 23, 18, 11, 32, 15, 15, 12, 12, 12, 16, 21, 10, 10, 13, 12, 17, 12, 22, 20, 23, 23, 10, 10, 10, 22, 15, 19, 15, 10, 12, 13, 15, 89, 77, 56, 62, 58, 45, 33, 36, 25, 21, 38, 40, 56, 58, 46, 78, 67, 51, 45, 13, 13, 11, 13, 22, 21, 28, 31, 29, 28, 43, 45, 49, 46, 61, 38, 46, 64, 66, 81, 10, 10, 14, 10, 22, 19, 10, 16, 10, 15, 13, 18, 13, 14, 10, 11, 27, 12, 18, 16, 21, 34, 33, 29, 34, 44, 47, 54, 50, 64, 73, 80, 97, 95, 75, 64, 67, 44, 41, 46, 25, 32, 38, 24, 22, 21, 20, 52, 30, 50, 49, 46, 21, 11, 11, 11, 25, 10, 10, 16, 16, 44, 50, 47, 35, 53, 69, 67, 70, 90, 94, 82, 78, 54, 57, 34, 56, 31, 17, 30, 57, 26, 27, 37, 47, 67, 68, 68, 36, 38, 14, 14, 17, 11, 13, 14, 13, 12, 14, 15, 15, 25, 27, 27, 34, 13, 13, 10, 35, 16, 15, 13, 28, 11, 10, 258, 60, 40, 45, 43, 65, 58, 77, 35, 14, 12, 11, 11, 18, 23, 26, 25, 34, 34, 38, 46, 50, 62, 62, 61, 97, 91, 124, 112, 115, 130, 132, 109, 68, 52, 60, 45, 21, 29, 27, 16, 18, 13, 10, 13, 10, 12, 11, 14, 17, 13, 10, 208, 26, 45, 54, 75, 52, 66, 56, 46, 15, 13, 13, 16, 16, 14, 16, 16, 15, 24, 18, 35, 45, 40, 47, 45, 53, 69, 82, 93, 101, 102, 112, 143, 114, 98, 123, 97, 72, 68, 53, 24, 27, 25, 12, 18, 13, 11, 11, 11, 12, 12, 10, 17, 15, 16, 10, 14, 46, 29, 54, 48, 41, 57, 69, 71, 44, 11, 45, 53, 75, 87, 90, 96, 91, 103, 135, 151, 158, 123, 100, 100, 84, 53, 50, 20, 13, 21, 14, 17, 13, 11, 13, 22, 33, 38, 42, 10, 11, 11, 15, 14, 14, 13, 11, 17, 11, 10, 13, 16, 11, 16, 16, 15, 38, 58, 68, 58, 83, 87, 103, 106, 137, 130, 129, 125, 133, 93, 64, 58, 38, 28, 25, 32, 24, 19, 34, 37, 69, 104, 100, 74, 32, 12, 14, 14, 31, 21, 24, 28, 29, 40, 14, 11, 12, 18, 16, 11, 11, 13, 19, 34, 36, 40, 41, 39, 71, 90, 62, 34, 19, 48, 50, 52, 73, 81, 65, 93, 121, 151, 136, 144, 99, 102, 91, 87, 94, 31, 28, 31, 20, 17, 19, 29, 17, 22, 48, 33, 12, 10, 14, 10, 11, 15, 11, 16, 16, 33, 12, 10, 10, 37, 22, 43, 45, 58, 78, 77, 50, 46, 17, 54, 35, 54, 63, 93, 82, 102, 118, 128, 154, 135, 122, 93, 89, 68, 58, 50, 34, 15, 20, 20, 13, 12, 26, 25, 30, 30, 30, 16, 10, 12, 18, 12, 15, 24, 35, 33, 33, 45, 52, 84, 74, 30, 11, 13, 15, 13, 12, 16, 16, 17, 30, 41, 42, 59, 69, 56, 72, 71, 93, 111, 129, 146, 142, 131, 118, 121, 120, 59, 74, 46, 22, 16, 15, 10, 11, 11, 12, 11, 14, 10, 13, 10, 10, 17, 34, 23, 25, 32, 41, 65, 88, 45, 29, 12, 41, 46, 55, 65, 70, 78, 94, 107, 117, 154, 114, 117, 100, 78, 66, 34, 41, 31, 10, 23, 11, 15, 17, 18, 13, 19, 18, 15, 29, 23, 46, 12, 15, 12, 10, 14, 21, 11, 51, 52, 63, 60, 79, 91, 109, 117, 112, 114, 23, 35, 18, 43, 65, 63, 77, 45, 33, 10, 12, 15, 12, 24, 28, 35, 21, 36, 104, 121, 84, 108, 48, 44, 29, 25, 25, 11, 10, 11, 10, 12, 312, 76, 17, 10, 15, 15, 13, 13, 72, 16, 12, 11, 10, 11, 49, 51, 28, 75, 49, 87, 111, 53, 45, 11, 20, 17, 24, 12, 16, 18, 17, 11, 13, 12, 2269, 12, 11, 14, 11, 15, 16, 23, 21, 28, 27, 34, 42, 50, 46, 49, 52, 58, 53, 84, 82, 102, 93, 102, 84, 90, 50, 47, 56, 25, 14, 13, 30, 12, 13, 11, 10, 21, 13, 15, 24, 28, 82, 74, 70, 54, 37, 32, 28, 27, 12, 16, 57, 41, 128, 65, 67, 75, 91, 48, 27, 17, 17, 10, 20, 18, 17, 26, 18, 25, 34, 32, 40, 52, 64, 57, 63, 88, 90, 82, 114, 92, 11, 20, 16, 13, 13, 18, 17, 13, 11, 11, 20, 11, 13, 11, 12, 19, 20, 12, 11, 11, 14, 46, 49, 50, 71, 36, 69, 67, 43, 27, 16, 16, 12, 10, 11, 17, 19, 31, 39, 53, 47, 43, 56, 62, 63, 74, 83, 88, 93, 108, 122, 102, 83, 52, 54, 48, 43, 40, 33, 19, 37, 20, 25, 23, 25, 35, 40, 28, 33, 42, 29, 24, 19, 21, 11, 18, 19, 11, 16, 13, 11, 19, 17, 20, 14, 12, 12, 40, 32, 34, 59, 43, 69, 57, 47, 35, 12, 12, 13, 15, 15, 19, 23, 27, 39, 34, 41, 57, 53, 59, 55, 80, 82, 77, 73, 93, 92, 109, 65, 66, 42, 38, 44, 28, 28, 54, 28, 11, 15, 15, 12, 15, 10, 13, 22, 16, 19, 35, 33, 31, 51, 89, 68, 90, 54, 25, 19, 61, 45, 49, 50, 84, 73, 85, 99, 84, 109, 79, 75, 76, 66, 43, 43, 42, 28, 37, 45, 14, 16, 11, 26, 29, 32, 31, 37, 33, 25, 10, 14, 11, 12, 14, 12, 11, 24, 11, 13, 13, 29, 15, 11, 10, 24, 18, 11, 10, 11, 37, 60, 49, 61, 85, 62, 71, 66, 98, 87, 87, 88, 78, 66, 44, 33, 28, 24, 21, 37, 33, 42, 54, 50, 55, 102, 69, 44, 30, 11, 15, 16, 17, 20, 32, 27, 42, 45, 13, 12, 11, 12, 15, 12, 10, 10, 22, 11, 26, 15, 16, 15, 27, 17, 26, 28, 41, 40, 53, 40, 54, 42, 49, 56, 67, 76, 84, 75, 50, 39, 42, 46, 61, 66, 71, 42, 24, 82, 74, 67, 68, 47, 36, 27, 28, 28, 36, 12, 12, 10, 11, 26, 23, 41, 36, 46, 69, 46, 30, 27, 13, 22, 13, 20, 15, 19, 34, 33, 31, 33, 49, 56, 44, 44, 50, 51, 72, 92, 69, 65, 84, 65, 64, 47, 49, 36, 28, 16, 21, 25, 19, 303, 10, 11, 45, 47, 45, 44, 51, 63, 81, 71, 98, 96, 95, 74, 62, 53, 59, 34, 46, 18, 24, 30, 34, 50, 61, 34, 40, 73, 50, 37, 26, 14, 13, 13, 25, 29, 28, 23, 35, 51, 16, 12, 10, 12, 14, 16, 11, 35, 40, 36, 43, 51, 51, 54, 57, 20, 55, 50, 39, 62, 54, 66, 72, 75, 111, 113, 67, 68, 62, 60, 44, 35, 38, 23, 19, 17, 14, 10, 13, 22, 14, 21, 19, 21, 39, 36, 11, 19, 18, 18, 29, 83, 60, 47, 50, 45, 34, 35, 26, 30, 54, 51, 43, 66, 64, 76, 66, 90, 73, 43, 44, 58, 103, 49, 45, 35, 29, 16, 16, 12, 13, 18, 20, 21, 24, 25, 43, 11, 11, 12, 14, 19, 49, 52, 46, 37, 63, 77, 41, 72, 87, 78, 95, 90, 64, 36, 41, 30, 29, 16, 19, 39, 25, 26, 28, 32, 46, 49, 45, 38, 22, 20, 19, 22, 17, 25, 29, 22, 34, 42, 27, 11, 11, 10, 17, 12, 17, 11, 53, 21, 20, 48, 13, 12, 10, 10, 11, 15, 16, 11, 26, 23, 45, 50, 69, 87, 100, 108, 90, 32, 30, 19, 34, 55, 66, 57, 70, 89, 106, 110, 115, 98, 96, 66, 63, 42, 40, 21, 26, 10, 20, 23, 21, 13, 13, 10, 10, 11, 13, 10, 21, 14, 19, 13, 14, 10, 18, 18, 12, 12, 20, 22, 43, 39, 56, 46, 64, 87, 73, 86, 12, 10, 16, 12, 29, 22, 40, 33, 31, 80, 47, 68, 51, 42, 44, 20, 17, 10, 16, 17, 12, 17, 13, 10, 10, 21, 14, 17, 18, 10, 10, 11, 11, 17, 30, 39, 31, 30, 45, 52, 54, 75, 53, 85, 87, 86, 87, 51, 38, 21, 33, 10, 13, 10, 12, 17, 37, 28, 33, 29, 23, 10, 11, 10, 13, 21, 18, 16, 16, 11, 23, 19, 26, 23, 45, 30, 51, 63, 83, 83, 82, 76, 70, 89, 70, 40, 36, 27, 15, 10, 13, 11, 21, 38, 30, 34, 24, 11, 16, 11, 17, 16, 19, 15, 15, 13, 14, 10, 16, 12, 16, 18, 12, 22, 19, 23, 31, 35, 54, 64, 61, 90, 95, 12, 14, 17, 13, 34, 43, 27, 23, 12, 11, 11, 11, 11, 83, 72, 73, 44, 58, 33, 27, 20, 13, 11, 15, 13, 13, 10, 19, 14, 24, 17, 27, 32, 50, 53, 61, 95, 90, 93, 16, 11, 16, 22, 18, 21, 35, 25, 22, 89, 65, 63, 49, 42, 40, 12, 11, 15, 11, 11, 14, 21, 11, 12, 13, 22, 14, 23, 21, 19, 40, 44, 40, 36, 50, 69, 86, 96, 18, 22, 18, 15, 12, 29, 28, 42, 13, 85, 72, 64, 53, 50, 30, 17, 12, 13, 15, 10, 11, 11, 13, 11, 15, 14, 14, 19, 19, 18, 33, 34, 36, 60, 73, 62, 76, 101, 10, 11, 15, 31, 20, 11, 29, 28, 13, 65, 75, 76, 64, 60, 38, 24, 10, 10, 11, 15, 10, 13, 11, 19, 11, 21, 16, 14, 13, 31, 39, 29, 47, 53, 46, 72, 71, 15, 13, 10, 20, 28, 30, 28, 28, 76, 55, 49, 45, 48, 43, 29, 13, 10, 11, 10, 14, 11, 12, 15, 12, 10, 11, 20, 13, 22, 20, 12, 11, 13, 14, 15, 10, 15, 13, 21, 16, 15, 10, 30, 27, 23, 36, 22, 35, 53, 39, 16, 25, 21, 29, 35, 64, 51, 65, 89, 118, 123, 103, 78, 69, 72, 44, 35, 22, 13, 10, 11, 24, 28, 15, 29, 23, 16, 13, 15, 15, 18, 17, 10, 12, 11, 11, 16, 10, 15, 10, 13, 13, 14, 18, 28, 23, 27, 37, 39, 47, 57, 69, 87, 104, 112, 82, 98, 64, 73, 63, 43, 19, 12, 10, 24, 22, 14, 16, 44, 23, 36, 38, 18, 17, 18, 17, 14, 15, 12, 10, 10, 10, 16, 17, 21, 10, 10, 13, 18, 15, 12, 13, 10, 14, 19, 16, 26, 37, 38, 52, 55, 74, 78, 104, 114, 22, 17, 13, 25, 22, 37, 37, 32, 19, 104, 84, 68, 40, 48, 35, 21, 19, 10, 18, 23, 19, 18, 18, 10, 10, 14, 15, 16, 29, 22, 37, 40, 59, 39, 56, 74, 71, 81, 84, 86, 82, 75, 102, 104, 72, 48, 41, 27, 14, 11, 14, 20, 19, 12, 23, 29, 34, 12, 14, 11, 11, 13, 14, 10, 15, 369, 23, 16, 10, 30, 11, 27, 14, 19, 20, 17, 27, 16, 10, 16, 12, 11, 15, 25, 10, 12, 16, 21, 13, 16, 12, 21, 10, 20, 31, 19, 12, 13, 1570, 14, 21, 11, 10, 16, 13, 14, 10, 10, 15, 19, 11, 20, 11, 10, 17, 12, 28, 18, 13, 10, 13, 13, 14, 12, 10, 12, 10, 12, 21, 17, 15, 10, 10, 16, 27, 278, 91, 74, 80, 44, 60, 359, 79, 42, 15, 15, 40, 17, 49, 22, 18, 32, 58, 16, 11, 21, 16, 63, 15, 13, 13, 14, 10, 1310, 11, 10, 17, 11, 16, 60, 38, 14, 22, 11, 16, 34, 41, 38, 22, 11, 11, 18, 10, 34, 14, 16, 11, 38, 10, 11, 119, 12, 11, 1091, 30, 30, 25, 16, 11, 15, 18, 14, 19, 11, 32, 33, 40, 35, 35, 36, 43, 16, 13, 12, 12, 12, 19, 11, 10, 17, 13, 11, 21, 30, 45, 61, 29, 35, 16, 12, 11, 12, 15, 13, 11, 12, 15, 12, 11, 15, 12, 11, 12, 13, 18, 46, 18, 10, 19, 14, 12, 16, 10, 17, 10, 12, 39, 11, 11, 11, 10, 10, 14, 10, 24, 10, 10, 23, 10, 10, 10, 198, 27, 17, 10, 2195, 12, 2225, 11, 14, 10, 31, 22, 14, 71, 72, 10, 16, 290, 10, 125, 30, 22, 178, 42, 14, 15, 18, 10, 11, 24, 19, 12, 10, 20, 35, 25, 31, 25, 10, 10, 10, 14, 11, 16, 27, 36, 39, 49, 59, 70, 67, 96, 89, 87, 55, 45, 52, 47, 36, 27, 11, 12, 11, 14, 20, 10, 20, 13, 13, 16, 15, 11, 11, 11, 20, 26, 12, 12, 19, 19, 30, 48, 28, 18, 16, 28, 44, 35, 49, 38, 52, 64, 85, 89, 84, 10, 10, 15, 11, 16, 19, 81, 92, 78, 62, 68, 25, 22, 19, 17, 13, 16, 15, 20, 20, 12, 10, 14, 10, 25, 18, 29, 26, 28, 45, 64, 59, 74, 87, 13, 15, 10, 13, 34, 34, 28, 23, 18, 12, 89, 74, 60, 48, 32, 35, 20, 18, 13, 10, 12, 10, 14, 18, 20, 15, 11, 12, 32, 13, 11, 10, 12, 15, 14, 12, 27, 19, 30, 41, 52, 53, 66, 68, 75, 73, 21, 11, 20, 16, 18, 31, 40, 23, 14, 85, 69, 83, 49, 46, 36, 13, 18, 12, 10, 11, 18, 18, 19, 16, 11, 11, 14, 17, 13, 10, 12, 12, 13, 32, 21, 35, 35, 33, 59, 40, 92, 62, 79, 18, 16, 21, 16, 23, 37, 33, 14, 12, 87, 69, 82, 52, 52, 33, 20, 11, 19, 28, 23, 29, 19, 28, 22, 33, 36, 40, 54, 67, 83, 77, 10, 20, 19, 12, 19, 33, 25, 16, 10, 10, 10, 10, 11, 13, 74, 50, 65, 46, 43, 34, 31, 10, 15, 43, 16, 15, 13, 10, 10, 15, 11, 16, 10, 27, 30, 28, 25, 42, 43, 51, 73, 100, 85, 13, 10, 11, 23, 15, 36, 39, 25, 10, 11, 10, 11, 10, 15, 82, 62, 68, 50, 46, 43, 24, 16, 16, 10, 21, 13, 16, 10, 13, 23, 15, 28, 29, 31, 32, 40, 44, 52, 66, 68, 76, 14, 11, 11, 14, 12, 17, 10, 13, 23, 42, 14, 87, 85, 57, 46, 43, 44, 14, 11, 11, 11, 18, 22, 21, 11, 11, 10, 11, 19, 26, 21, 24, 34, 46, 58, 56, 88, 88, 92, 10, 11, 16, 93, 82, 61, 58, 62, 41, 22, 16, 11, 18, 14, 28, 29, 21, 26, 12, 13, 15, 11, 17, 20, 30, 11, 16, 12, 11, 11, 13, 10, 15, 12, 18, 10, 15, 19, 104, 95, 87, 50, 34, 31, 24, 13, 14, 42, 38, 36, 41, 54, 67, 82, 68, 100, 119, 15, 13, 20, 14, 29, 24, 32, 32, 11, 12, 10, 14, 14, 19, 23, 28, 49, 21, 16, 11, 10, 11, 12, 11, 16, 11, 11, 10, 15, 10, 10, 12, 10, 20, 23, 30, 30, 34, 31, 54, 38, 53, 66, 91, 101, 80, 78, 64, 59, 68, 35, 19, 11, 13, 11, 14, 12, 10, 22, 24, 18, 44, 37, 13, 15, 11, 23, 13, 15, 10, 13, 14, 18, 14, 26, 12, 38, 18, 48, 12, 15, 11, 11, 17, 11, 18, 11, 14, 21, 16, 14, 23, 43, 28, 29, 61, 53, 74, 74, 92, 102, 11, 21, 31, 23, 38, 30, 32, 11, 98, 69, 54, 53, 43, 44, 32, 15, 14, 23, 27, 17, 12, 15, 20, 19, 18, 25, 22, 34, 46, 50, 60, 70, 77, 82, 87, 103, 82, 83, 90, 88, 82, 41, 15, 17, 15, 14, 17, 19, 10, 19, 26, 28, 15, 11, 10, 20, 35, 217, 12, 13, 46, 27, 23, 16, 49, 40, 19, 15, 14, 18, 22, 18, 27, 15, 14, 14, 13, 13, 11, 28, 2946, 15, 21, 27, 17, 20, 10, 15, 10, 10, 20, 13, 10, 19, 20, 10, 18, 10, 12, 13, 12, 16, 11, 17, 21, 38, 25, 21, 11, 10, 23, 28, 18, 13, 11, 13, 14, 13, 11, 10, 13, 12, 18, 10, 14, 10, 11, 21, 15, 17, 15, 13, 12, 13, 14, 24, 21, 26, 42, 33, 36, 38, 37, 36, 20, 14, 11, 20, 13, 10, 10, 24, 21, 11, 11, 10, 11, 15, 17, 151, 28, 22, 11, 66, 53, 13, 13, 14, 16, 14, 10, 23, 13, 10, 12, 12, 10, 10, 19, 11, 10, 13, 24, 44, 35, 14, 14, 10, 10, 11, 12, 18, 29, 12, 10, 11, 12, 49, 20, 11, 11, 12, 21, 11, 15, 10, 10, 10, 16, 10, 14, 10, 162, 653, 75, 32, 13, 59, 13, 46, 16, 19, 31, 49, 11, 13, 12, 12, 204, 964, 51, 43, 12, 12, 10, 21, 59, 10, 10, 10, 35, 11, 25, 18, 32, 13, 10, 21, 55, 10, 10, 23, 10, 10, 10, 20, 31, 11, 19, 29, 20, 18, 33, 37, 65, 71, 82, 96, 91, 93, 68, 60, 43, 34, 45, 27, 16, 10, 12, 12, 11, 12, 18, 16, 12, 21, 35, 30, 25, 20, 10, 17, 13, 15, 18, 13, 10, 14, 12, 10, 10, 11, 11, 10, 10, 13, 35, 15, 29, 45, 51, 48, 66, 69, 65, 99, 21, 10, 15, 29, 26, 19, 40, 14, 92, 63, 72, 56, 39, 29, 31, 12, 13, 15, 10, 14, 11, 20, 15, 12, 14, 12, 12, 10, 11, 36, 26, 22, 43, 44, 22, 11, 24, 26, 30, 27, 37, 41, 55, 48, 68, 93, 84, 70, 64, 70, 48, 28, 33, 18, 10, 11, 17, 13, 11, 14, 11, 11, 12, 16, 21, 17, 12, 24, 29, 31, 44, 67, 44, 60, 88, 96, 100, 15, 20, 16, 19, 35, 46, 33, 14, 94, 68, 65, 46, 41, 39, 16, 10, 12, 19, 16, 16, 12, 10, 18, 13, 18, 16, 14, 21, 30, 35, 39, 53, 65, 53, 83, 77, 10, 21, 20, 16, 32, 25, 24, 29, 10, 82, 82, 53, 51, 36, 44, 20, 16, 11, 10, 13, 11, 11, 11, 19, 13, 13, 17, 13, 18, 21, 25, 31, 29, 20, 58, 76, 79, 63, 88, 14, 12, 10, 14, 19, 21, 35, 30, 17, 82, 68, 69, 52, 48, 26, 24, 17, 16, 11, 10, 15, 20, 15, 12, 13, 15, 26, 16, 30, 34, 45, 55, 46, 67, 98, 85, 11, 16, 25, 16, 17, 17, 27, 40, 14, 96, 66, 72, 63, 35, 39, 16, 13, 10, 11, 15, 16, 11, 11, 12, 12, 24, 15, 13, 14, 15, 22, 19, 16, 28, 54, 38, 41, 59, 75, 58, 14, 10, 12, 11, 15, 30, 31, 26, 11, 70, 59, 77, 64, 43, 34, 30, 16, 10, 24, 13, 14, 14, 24, 34, 41, 46, 40, 46, 51, 70, 64, 82, 12, 21, 20, 29, 29, 29, 21, 72, 77, 75, 53, 46, 31, 29, 12, 10, 15, 10, 15, 10, 15, 10, 46, 24, 10, 14, 13, 13, 11, 10, 12, 15, 11, 16, 15, 26, 44, 28, 44, 48, 59, 72, 96, 103, 106, 16, 14, 19, 20, 31, 32, 51, 45, 11, 108, 69, 66, 63, 37, 42, 17, 12, 13, 25, 20, 18, 20, 12, 12, 14, 11, 12, 15, 12, 11, 11, 14, 15, 10, 14, 10, 102, 85, 61, 58, 51, 37, 20, 15, 28, 23, 44, 52, 61, 62, 65, 76, 73, 109, 14, 16, 17, 25, 18, 29, 33, 30, 20, 12, 13, 16, 11, 11, 16, 15, 17, 10, 11, 12, 17, 19, 20, 11, 11, 16, 10, 11, 10, 18, 28, 24, 29, 35, 39, 65, 65, 82, 89, 74, 16, 10, 15, 14, 26, 27, 39, 37, 17, 86, 75, 67, 54, 60, 38, 27, 12, 11, 18, 10, 16, 10, 10, 10, 15, 18, 15, 46, 34, 32, 45, 50, 54, 52, 85, 62, 86, 81, 99, 83, 91, 72, 36, 40, 18, 15, 11, 12, 22, 13, 21, 22, 33, 33, 10, 10, 12, 12, 12, 22, 1601, 12, 14, 15, 25, 10, 12, 12, 19, 14, 11, 12, 10, 24, 13, 23, 186, 12, 10, 26, 23, 12, 12, 12, 18, 14, 11, 13, 14, 14, 12, 18, 25, 15, 18, 16, 16, 10, 17, 13, 19, 25, 14, 14, 14, 11, 15, 4716, 11, 57, 2366, 147, 11, 11, 12, 310, 30, 30, 12, 591, 224, 16, 18, 10, 12, 19, 73, 20, 12, 18, 12, 14, 22, 22, 37, 38, 45, 25, 28, 37, 117, 32, 25, 24, 22, 13, 17, 10, 11, 24, 12, 11, 10, 19, 14, 19, 10, 10, 23, 10, 17, 32, 30, 45, 20, 31, 10, 10, 12, 12, 37, 10, 13, 14, 26, 10, 12, 11, 11, 10, 11, 11, 13, 13, 14, 10, 12, 19, 11, 10, 10, 16, 13, 13, 16, 11, 15, 12, 12, 13, 18, 12, 10, 10, 12, 10, 73, 20, 14, 20, 23, 15, 12, 21, 10, 11, 11, 14, 18, 13, 11, 17, 10, 13, 18, 27, 16, 24, 38, 45, 35, 10, 35, 33, 38, 43, 43, 51, 69, 85, 100, 85, 81, 81, 74, 53, 49, 39, 19, 10, 19, 10, 16, 14, 14, 16, 14, 11, 16, 14, 11, 13, 11, 16, 16, 14, 21, 21, 25, 32, 26, 63, 47, 60, 72, 66, 16, 12, 19, 17, 26, 47, 30, 17, 68, 61, 63, 50, 45, 29, 28, 14, 10, 16, 15, 12, 20, 14, 15, 11, 13, 11, 19, 24, 18, 50, 30, 56, 42, 49, 76, 83, 75, 61, 44, 65, 47, 40, 30, 15, 13, 14, 18, 25, 33, 29, 23, 12, 11, 13, 10, 11, 10, 14, 13, 13, 13, 21, 27, 27, 39, 33, 46, 47, 59, 50, 71, 11, 10, 12, 11, 25, 24, 45, 23, 91, 90, 66, 52, 36, 27, 22, 10, 11, 10, 11, 12, 15, 25, 13, 13, 12, 11, 22, 18, 28, 30, 35, 38, 54, 49, 89, 71, 17, 13, 14, 12, 15, 22, 41, 38, 21, 76, 91, 55, 57, 37, 39, 20, 17, 13, 19, 12, 10, 11, 10, 12, 12, 14, 21, 20, 20, 41, 46, 45, 44, 49, 65, 72, 74, 63, 66, 50, 38, 48, 26, 10, 10, 13, 18, 17, 21, 24, 22, 23, 10, 14, 11, 13, 15, 10, 10, 10, 17, 13, 35, 18, 29, 28, 16, 34, 29, 41, 47, 70, 16, 10, 10, 15, 17, 26, 28, 27, 12, 75, 47, 51, 38, 38, 40, 19, 13, 16, 13, 10, 11, 10, 14, 25, 23, 23, 27, 45, 56, 44, 53, 78, 53, 18, 10, 21, 28, 45, 26, 16, 83, 53, 60, 48, 41, 24, 25, 10, 11, 11, 10, 11, 10, 17, 12, 16, 32, 20, 28, 35, 44, 44, 68, 56, 58, 77, 81, 50, 34, 27, 25, 13, 10, 11, 12, 11, 20, 10, 23, 36, 26, 20, 16, 10, 10, 12, 14, 15, 11, 16, 14, 27, 31, 25, 34, 44, 41, 44, 69, 107, 92, 11, 11, 28, 21, 30, 22, 36, 25, 19, 74, 95, 56, 60, 48, 39, 20, 20, 21, 23, 13, 11, 11, 10, 12, 14, 20, 16, 10, 10, 16, 13, 13, 12, 11, 86, 96, 72, 62, 52, 28, 33, 18, 23, 60, 33, 35, 39, 53, 68, 63, 91, 82, 13, 18, 18, 27, 23, 54, 25, 18, 13, 13, 16, 17, 12, 14, 18, 11, 14, 12, 10, 18, 29, 29, 34, 47, 54, 52, 79, 62, 89, 18, 17, 21, 23, 36, 42, 33, 33, 23, 12, 13, 11, 13, 11, 17, 19, 85, 84, 74, 57, 39, 42, 12, 12, 15, 17, 10, 17, 10, 14, 17, 16, 15, 31, 152, 19, 19, 17, 12, 15, 10, 12, 14, 22, 26, 32, 42, 49, 54, 61, 76, 84, 97, 100, 80, 80, 62, 71, 36, 33, 21, 13, 11, 12, 13, 15, 25, 21, 17, 28, 32, 11, 10, 1339, 11, 12, 11, 11, 12, 12, 17, 12, 11, 10, 13, 15, 26, 12, 18, 28, 22, 30, 32, 33, 43, 34, 50, 32, 20, 21, 15, 16, 12, 10, 13, 15, 20, 32, 33, 22, 39, 34, 29, 42, 12, 16, 17, 11, 10, 10, 18, 16, 19, 13, 11, 11, 11, 10, 11, 15, 10, 16, 10, 13, 12, 12, 10, 10, 10, 11, 17, 12, 17, 10, 10, 10, 10, 10, 14, 10, 10, 12, 11, 13, 12, 12, 11, 11, 35, 39, 10, 11, 18, 25, 20, 14, 10, 11, 10, 10, 13, 10, 10, 13, 10, 29, 30, 27, 37, 35, 58, 48, 71, 57, 104, 11, 19, 13, 19, 31, 38, 39, 32, 82, 65, 86, 58, 56, 44, 28, 16, 18, 12, 13, 15, 12, 17, 25, 12, 16, 23, 30, 36, 48, 49, 58, 58, 67, 80, 12, 11, 15, 16, 12, 29, 39, 23, 20, 15, 10, 14, 14, 16, 85, 78, 69, 52, 50, 35, 16, 16, 11, 16, 13, 13, 12, 13, 10, 12, 12, 27, 16, 28, 39, 43, 36, 59, 68, 64, 80, 13, 13, 12, 10, 27, 17, 24, 30, 14, 72, 69, 66, 44, 36, 40, 22, 15, 10, 10, 10, 14, 12, 11, 13, 11, 16, 16, 15, 16, 22, 46, 38, 35, 44, 38, 65, 79, 77, 78, 49, 51, 63, 38, 45, 25, 10, 10, 11, 12, 13, 18, 29, 32, 18, 24, 11, 10, 14, 10, 10, 12, 16, 12, 10, 11, 13, 15, 15, 18, 30, 44, 49, 53, 64, 67, 78, 82, 12, 12, 13, 19, 11, 84, 63, 66, 49, 21, 26, 26, 20, 10, 12, 14, 10, 24, 28, 28, 34, 14, 12, 12, 11, 10, 28, 20, 24, 16, 19, 24, 23, 49, 38, 59, 65, 78, 82, 17, 14, 16, 25, 35, 44, 22, 10, 83, 47, 58, 54, 39, 39, 25, 11, 14, 12, 15, 15, 11, 26, 26, 29, 20, 43, 43, 47, 47, 79, 88, 14, 20, 16, 26, 32, 33, 20, 13, 64, 58, 66, 44, 46, 39, 13, 20, 15, 14, 14, 12, 12, 20, 11, 13, 14, 28, 29, 27, 40, 58, 49, 59, 82, 95, 64, 89, 66, 68, 66, 44, 22, 19, 14, 17, 19, 29, 22, 19, 13, 20, 19, 10, 13, 11, 13, 11, 11, 22, 17, 12, 23, 26, 28, 40, 56, 40, 58, 73, 84, 68, 54, 41, 59, 33, 24, 18, 16, 17, 15, 20, 11, 31, 17, 10, 10, 23, 12, 13, 12, 13, 12, 19, 12, 15, 13, 10, 13, 13, 18, 32, 19, 23, 34, 56, 55, 59, 63, 79, 103, 104, 74, 70, 75, 39, 46, 27, 14, 15, 11, 20, 10, 10, 18, 26, 54, 32, 36, 13, 16, 11, 11, 13, 18, 15, 16, 10, 11, 10, 13, 13, 11, 14, 10, 16, 10, 19, 23, 24, 36, 38, 47, 63, 76, 97, 111, 96, 16, 12, 17, 24, 24, 33, 51, 42, 12, 71, 75, 78, 55, 44, 41, 14, 11, 27, 10, 10, 10, 17, 17, 16, 16, 25, 12, 19, 10, 10, 10, 11, 17, 15, 11, 11, 13, 11, 21, 22, 12, 24, 28, 41, 51, 58, 68, 71, 89, 90, 11, 14, 13, 14, 18, 21, 36, 22, 99, 87, 68, 68, 76, 24, 12, 12, 14, 22, 10, 11, 11, 11, 15, 21, 28, 38, 40, 39, 59, 53, 67, 94, 99, 79, 114, 98, 99, 73, 88, 62, 57, 34, 20, 13, 11, 13, 13, 15, 11, 21, 15, 27, 21, 15, 17, 12, 11, 15, 12, 10, 13, 14, 17, 19, 15, 15, 10, 14, 10, 31, 181, 1150, 14, 14, 10, 10, 11, 15, 17, 22, 19, 15, 36, 23, 23, 38, 32, 43, 19, 17, 22, 11, 18, 18, 10, 12, 12, 14, 11, 11, 20, 10, 29, 26, 18, 28, 22, 16, 10, 18, 10, 11, 13, 12, 18, 11, 10, 11, 10, 23, 10, 20, 10, 10, 36, 15, 11, 17, 12, 24, 17, 16, 14, 12, 16, 49, 30, 12, 30, 37, 14, 18, 23, 33, 27, 24, 42, 45, 79, 82, 75, 13, 33, 12, 17, 23, 36, 39, 22, 10, 71, 74, 55, 46, 40, 34, 36, 10, 14, 10, 11, 12, 17, 13, 10, 10, 10, 11, 14, 20, 14, 11, 12, 13, 10, 12, 27, 36, 28, 42, 37, 59, 49, 62, 66, 91, 17, 10, 15, 23, 46, 25, 16, 71, 65, 86, 42, 43, 20, 13, 11, 17, 10, 13, 17, 19, 18, 13, 15, 20, 23, 27, 25, 38, 58, 48, 61, 72, 79, 81, 69, 67, 46, 57, 32, 23, 14, 14, 13, 13, 13, 22, 30, 27, 35, 19, 24, 13, 15, 20, 14, 10, 15, 12, 20, 13, 14, 11, 20, 24, 33, 29, 37, 46, 68, 60, 91, 90, 12, 12, 14, 22, 24, 49, 34, 23, 10, 12, 10, 11, 16, 12, 72, 72, 65, 55, 45, 37, 16, 21, 12, 12, 12, 10, 14, 24, 16, 20, 19, 30, 27, 29, 46, 55, 54, 58, 68, 72, 92, 80, 52, 68, 38, 38, 30, 18, 15, 10, 15, 16, 14, 11, 25, 35, 31, 10, 11, 11, 23, 18, 17, 12, 10, 12, 13, 13, 15, 21, 26, 25, 29, 47, 47, 46, 55, 68, 10, 12, 14, 11, 14, 18, 28, 24, 17, 77, 75, 52, 43, 27, 35, 26, 14, 10, 10, 12, 10, 15, 21, 11, 17, 10, 10, 16, 13, 15, 29, 24, 41, 39, 53, 74, 79, 58, 76, 59, 76, 49, 43, 37, 29, 12, 13, 11, 16, 22, 26, 22, 20, 11, 20, 11, 10, 11, 11, 19, 13, 12, 10, 15, 14, 10, 17, 14, 22, 21, 27, 22, 18, 13, 15, 24, 24, 34, 22, 49, 45, 63, 77, 76, 72, 54, 55, 50, 41, 38, 23, 12, 10, 16, 10, 10, 13, 15, 26, 23, 25, 39, 39, 50, 50, 76, 64, 79, 12, 10, 13, 20, 22, 23, 23, 70, 75, 64, 53, 40, 27, 18, 10, 11, 10, 13, 10, 12, 16, 21, 16, 33, 31, 47, 28, 49, 56, 65, 86, 97, 97, 11, 75, 78, 45, 67, 60, 30, 16, 13, 11, 14, 19, 21, 22, 22, 44, 30, 16, 18, 10, 12, 17, 10, 16, 22, 17, 15, 17, 14, 11, 10, 10, 12, 11, 15, 11, 12, 20, 24, 18, 33, 26, 43, 28, 57, 81, 80, 77, 98, 78, 52, 72, 38, 28, 15, 13, 13, 11, 15, 26, 27, 25, 17, 20, 21, 12, 15, 15, 16, 13, 13, 10, 22, 18, 10, 10, 15, 23, 20, 28, 35, 20, 49, 59, 65, 55, 93, 79, 20, 15, 12, 20, 27, 32, 52, 36, 10, 91, 83, 64, 51, 54, 42, 28, 11, 12, 19, 15, 10, 11, 12, 12, 19, 20, 13, 32, 20, 59, 30, 56, 41, 75, 87, 68, 90, 105, 80, 95, 64, 69, 59, 37, 11, 11, 10, 10, 11, 20, 23, 19, 23, 10, 15, 10, 19, 11, 13, 13, 12, 12, 13, 13, 16, 12, 15, 10, 14, 11, 15, 161, 17, 37, 35, 13, 21, 13, 13, 13, 12, 12, 12, 10, 18, 1046, 11, 10, 15, 11, 15, 15, 22, 15, 28, 27, 36, 35, 23, 23, 29, 23, 17, 19, 169, 11, 12, 10, 11, 19, 13, 14, 11, 11, 18, 12, 16, 20, 37, 34, 34, 15, 11, 15, 10, 13, 11, 11, 10, 10, 16, 10, 22, 25, 10, 10, 13, 10, 11, 12, 25, 15, 11, 21, 19, 10, 18, 35, 10, 13, 12, 12, 10, 10, 20, 10, 17, 12, 12, 15, 17, 10, 1293, 45, 74, 74, 82, 148, 191, 171, 138, 70, 49, 58, 50, 58, 70, 78, 88, 117, 133, 109, 112, 127, 90, 90, 65, 51, 51, 28, 24, 28, 11, 14, 19, 15, 22, 28, 34, 44, 41, 11, 15, 16, 13, 10, 14, 18, 15, 17, 11, 20, 10, 10, 1784, 29, 30, 28, 77, 72, 82, 96, 67, 40, 42, 37, 43, 49, 50, 84, 79, 88, 139, 119, 111, 84, 75, 73, 61, 48, 38, 34, 23, 16, 15, 11, 11, 14, 10, 10, 11, 11, 14, 12, 18, 21, 14, 22, 36, 26, 10, 10, 32, 26, 23, 40, 41, 96, 83, 99, 56, 40, 12, 11, 14, 10, 16, 38, 42, 34, 52, 69, 79, 80, 84, 85, 107, 130, 121, 99, 63, 65, 46, 49, 22, 22, 16, 10, 12, 22, 19, 10, 19, 27, 20, 29, 12, 19, 12, 10, 11, 10, 11, 10, 23, 31, 31, 51, 38, 84, 90, 133, 67, 33, 13, 11, 10, 36, 31, 65, 47, 72, 73, 97, 90, 114, 106, 129, 96, 99, 107, 66, 57, 46, 28, 13, 22, 15, 11, 12, 25, 16, 16, 27, 24, 30, 11, 10, 29, 21, 36, 35, 69, 52, 92, 95, 79, 48, 10, 10, 13, 10, 38, 39, 38, 37, 59, 86, 83, 85, 100, 122, 127, 101, 110, 82, 65, 50, 46, 22, 13, 14, 11, 14, 15, 11, 16, 36, 21, 29, 15, 13, 10, 13, 10, 10, 29, 18, 26, 33, 66, 73, 98, 91, 71, 40, 38, 25, 26, 53, 47, 60, 78, 89, 105, 109, 134, 115, 84, 92, 73, 51, 50, 27, 23, 13, 11, 11, 10, 23, 15, 16, 14, 25, 14, 25, 32, 18, 10, 11, 13, 44, 18, 26, 32, 33, 57, 56, 83, 58, 41, 13, 12, 17, 36, 35, 50, 57, 56, 80, 103, 104, 115, 111, 119, 89, 80, 73, 65, 63, 58, 22, 17, 12, 14, 11, 14, 20, 22, 25, 30, 34, 10, 36, 24, 23, 47, 44, 50, 85, 89, 32, 15, 20, 27, 44, 45, 54, 58, 80, 87, 105, 135, 132, 80, 94, 67, 43, 40, 26, 20, 11, 16, 14, 13, 16, 12, 13, 18, 20, 35, 13, 19, 11, 10, 26, 23, 25, 34, 48, 77, 67, 54, 31, 32, 34, 49, 44, 53, 55, 75, 116, 94, 120, 87, 84, 82, 92, 50, 46, 27, 29, 20, 14, 11, 12, 14, 13, 18, 17, 22, 39, 44, 15, 32, 19, 10, 12, 11, 10, 11, 12, 14, 16, 37, 13, 27, 36, 48, 56, 67, 58, 37, 20, 53, 40, 36, 54, 58, 75, 85, 122, 116, 104, 113, 114, 85, 61, 54, 43, 36, 24, 17, 16, 13, 14, 19, 10, 12, 27, 27, 28, 13, 15, 14, 10, 12, 11, 30, 16, 37, 38, 29, 50, 56, 89, 41, 11, 11, 19, 11, 16, 13, 33, 42, 50, 63, 61, 72, 68, 112, 90, 125, 125, 92, 91, 72, 49, 31, 43, 13, 22, 14, 12, 19, 14, 18, 23, 23, 17, 40, 12, 21, 10, 11, 15, 10, 33, 15, 35, 27, 31, 19, 52, 51, 51, 41, 10, 33, 30, 37, 44, 69, 71, 74, 60, 99, 91, 93, 90, 54, 60, 45, 36, 21, 15, 13, 13, 11, 23, 21, 23, 17, 10, 11, 11, 11, 15, 10, 12, 16, 27, 25, 28, 42, 31, 35, 32, 52, 36, 46, 60, 47, 106, 85, 82, 73, 56, 66, 58, 39, 37, 26, 16, 11, 16, 13, 19, 25, 15, 28, 33, 34, 26, 13, 13, 25, 27, 24, 31, 35, 36, 35, 42, 67, 67, 51, 34, 45, 20, 35, 18, 12, 19, 11, 15, 13, 20, 29, 22, 39, 50, 23, 11, 17, 11, 12, 12, 21, 29, 10, 10, 17, 12, 20, 22, 26, 37, 48, 61, 48, 21, 19, 16, 19, 39, 22, 41, 44, 37, 44, 61, 43, 36, 42, 21, 31, 26, 25, 13, 11, 17, 10, 17, 12, 11, 11, 14, 16, 22, 18, 26, 27, 33, 30, 33, 41, 51, 52, 55, 50, 39, 24, 22, 16, 15, 20, 10, 14, 29, 32, 32, 43, 32, 21, 14, 10, 10, 17, 12, 14, 20, 11, 18, 35, 34, 32, 34, 34, 40, 39, 42, 13, 14, 17, 31, 19, 45, 48, 31, 11, 44, 39, 60, 29, 24, 26, 29, 18, 11, 11, 15, 10, 12, 11, 21, 18, 24, 16, 21, 20, 13, 35, 42, 52, 48, 16, 11, 11, 21, 16, 26, 36, 16, 10, 47, 38, 32, 32, 22, 19, 19, 14, 12, 10, 15, 13, 19, 18, 28, 26, 34, 21, 27, 37, 34, 53, 58, 57, 19, 16, 14, 31, 35, 44, 39, 18, 21, 46, 46, 39, 35, 28, 23, 28, 14, 11, 17, 22, 27, 11, 1675, 13, 13, 16, 25, 26, 10, 27, 29, 51, 42, 25, 16, 14, 19, 27, 27, 32, 32, 53, 53, 58, 64, 59, 56, 42, 33, 27, 20, 24, 11, 10, 20, 25, 60, 10, 10, 19, 12, 10, 10, 22, 24, 41, 10, 12, 47, 17, 19, 18, 22, 22, 26, 27, 61, 27, 35, 21, 33, 22, 40, 38, 43, 33, 43, 59, 62, 91, 43, 53, 55, 46, 32, 42, 26, 21, 15, 18, 11, 13, 22, 18, 18, 20, 13, 11, 12, 16, 17, 21, 30, 21, 14, 10, 32, 21, 43, 55, 45, 39, 23, 25, 19, 28, 40, 36, 40, 34, 46, 49, 33, 10, 11, 12, 15, 15, 11, 14, 16, 14, 57, 49, 53, 48, 28, 22, 11, 19, 20, 11, 11, 16, 31, 22, 23, 28, 53, 43, 53, 26, 12, 20, 21, 34, 35, 34, 46, 49, 56, 56, 55, 56, 55, 51, 39, 29, 20, 18, 16, 11, 17, 10, 10, 13, 12, 13, 21, 17, 13, 15, 24, 10, 12, 20, 27, 37, 47, 46, 43, 23, 19, 26, 27, 24, 32, 47, 51, 41, 55, 65, 64, 58, 52, 47, 48, 30, 27, 28, 24, 18, 15, 10, 15, 14, 12, 14, 24, 19, 18, 23, 29, 19, 15, 21, 27, 42, 45, 74, 32, 26, 21, 26, 21, 34, 23, 23, 44, 35, 54, 51, 66, 41, 44, 45, 26, 23, 21, 18, 11, 10, 133, 23, 14, 11, 13, 10, 17, 19, 24, 27, 23, 31, 30, 47, 67, 61, 30, 24, 33, 25, 32, 22, 33, 42, 54, 51, 62, 59, 51, 57, 44, 45, 37, 29, 22, 14, 17, 16, 11, 10, 10, 13, 12, 25, 21, 25, 11, 20, 17, 27, 21, 36, 32, 48, 48, 34, 16, 24, 16, 33, 33, 39, 53, 48, 44, 47, 70, 57, 40, 34, 35, 26, 19, 18, 11, 10, 15, 12, 12, 20, 25, 15, 28, 31, 22, 24, 22, 36, 37, 41, 54, 62, 17, 10, 23, 20, 44, 28, 42, 16, 11, 63, 38, 51, 44, 21, 19, 14, 14, 11, 13, 10, 22, 13, 16, 20, 10, 17, 24, 27, 23, 34, 34, 47, 42, 57, 55, 51, 36, 50, 35, 32, 26, 23, 11, 13, 11, 35, 17, 17, 31, 37, 41, 42, 27, 11, 12, 14, 12, 11, 19, 23, 23, 19, 33, 28, 35, 36, 49, 43, 18, 13, 12, 19, 25, 16, 19, 15, 49, 36, 36, 25, 15, 15, 12, 10, 14, 13, 11, 16, 13, 16, 18, 48, 27, 24, 40, 33, 50, 45, 50, 53, 10, 19, 16, 16, 32, 21, 20, 13, 10, 46, 43, 28, 30, 20, 30, 16, 11, 14, 13, 17, 20, 26, 246, 53, 76, 61, 15, 14, 19, 13, 11, 10, 22, 621, 13, 24, 35, 59, 73, 115, 87, 58, 31, 46, 38, 58, 65, 64, 98, 108, 96, 136, 135, 127, 83, 110, 129, 62, 70, 39, 25, 20, 32, 16, 15, 19, 13, 17, 23, 31, 114, 10, 12, 17, 10, 14, 11, 10, 11, 12, 10, 13, 19, 10, 14, 11, 10, 22, 47, 19, 15, 25, 38, 53, 76, 97, 75, 33, 34, 29, 46, 53, 59, 71, 75, 88, 107, 118, 104, 92, 82, 72, 53, 53, 36, 31, 15, 24, 10, 12, 20, 17, 29, 29, 30, 10, 10, 11, 17, 37, 35, 20, 21, 38, 131, 105, 62, 41, 20, 34, 40, 29, 32, 54, 64, 79, 91, 102, 112, 119, 91, 100, 82, 56, 47, 32, 29, 15, 21, 11, 10, 11, 12, 11, 10, 10, 11, 13, 10, 22, 19, 18, 11, 11, 10, 16, 10, 10, 13, 62, 18, 30, 37, 37, 47, 68, 74, 61, 42, 34, 42, 37, 47, 64, 52, 84, 81, 78, 98, 111, 93, 86, 73, 60, 36, 34, 28, 21, 14, 10, 19, 14, 17, 11, 15, 12, 26, 22, 22, 12, 12, 10, 38, 32, 25, 28, 40, 39, 66, 67, 41, 99, 44, 30, 36, 54, 68, 73, 85, 102, 113, 113, 126, 90, 90, 63, 69, 42, 33, 34, 14, 25, 10, 13, 14, 11, 11, 11, 10, 16, 14, 16, 27, 19, 26, 10, 12, 10, 16, 11, 10, 30, 12, 13, 18, 28, 38, 39, 62, 32, 34, 47, 44, 42, 59, 67, 61, 78, 94, 93, 116, 104, 98, 73, 59, 50, 40, 27, 24, 15, 16, 13, 14, 10, 10, 18, 12, 20, 20, 19, 25, 12, 13, 13, 17, 39, 25, 24, 29, 40, 58, 60, 50, 36, 18, 34, 40, 47, 52, 46, 68, 86, 134, 106, 109, 107, 98, 69, 63, 46, 47, 38, 21, 12, 15, 10, 24, 16, 12, 21, 22, 33, 10, 14, 11, 10, 11, 17, 38, 42, 37, 57, 53, 52, 38, 26, 19, 28, 48, 38, 50, 59, 59, 70, 91, 102, 87, 79, 88, 55, 47, 47, 29, 26, 16, 18, 11, 16, 13, 26, 26, 20, 19, 10, 10, 12, 19, 126, 24, 25, 39, 43, 67, 66, 44, 18, 22, 30, 33, 31, 42, 43, 57, 67, 82, 79, 114, 78, 69, 49, 46, 50, 27, 16, 14, 15, 19, 13, 16, 20, 17, 13, 11, 14, 45, 27, 16, 27, 45, 67, 90, 85, 24, 19, 13, 15, 17, 12, 14, 12, 17, 14, 30, 52, 62, 50, 78, 72, 102, 93, 106, 146, 119, 79, 100, 76, 66, 53, 38, 28, 16, 29, 14, 10, 11, 19, 20, 18, 28, 34, 36, 22, 12, 10, 10, 10, 17, 10, 11, 23, 10, 12, 14, 12, 10, 14, 28, 15, 26, 22, 36, 54, 65, 52, 28, 15, 31, 43, 51, 64, 85, 78, 77, 91, 118, 160, 102, 102, 92, 67, 81, 58, 30, 18, 26, 20, 20, 16, 17, 15, 30, 32, 24, 11, 10, 10, 10, 14, 41, 19, 17, 24, 51, 68, 82, 54, 43, 13, 47, 36, 47, 59, 58, 67, 83, 83, 111, 144, 128, 127, 102, 79, 53, 34, 42, 24, 19, 18, 12, 17, 17, 11, 16, 14, 14, 17, 26, 39, 27, 38, 10, 10, 12, 10, 11, 10, 10, 37, 12, 15, 18, 29, 36, 32, 27, 22, 12, 20, 28, 25, 35, 32, 44, 40, 34, 48, 46, 51, 43, 33, 33, 16, 20, 22, 16, 14, 12, 12, 10, 20, 15, 11, 11, 22, 20, 15, 15, 32, 26, 41, 33, 49, 21, 12, 14, 21, 27, 35, 30, 45, 43, 48, 42, 67, 46, 36, 37, 34, 24, 20, 13, 19, 17, 10, 15, 12, 13, 18, 23, 17, 14, 11, 36, 10, 23, 33, 29, 42, 29, 21, 14, 33, 17, 21, 33, 36, 29, 36, 58, 55, 70, 48, 41, 31, 33, 29, 26, 27, 13, 13, 11, 13, 14, 11, 12, 22, 20, 24, 19, 22, 13, 27, 34, 38, 49, 28, 27, 19, 20, 24, 16, 27, 26, 32, 43, 37, 35, 45, 59, 33, 50, 34, 30, 18, 16, 11, 23, 12, 12, 16, 17, 20, 10, 15, 13, 11, 41, 40, 49, 52, 69, 85, 83, 90, 97, 87, 82, 64, 80, 44, 42, 55, 38, 24, 19, 14, 15, 11, 13, 17, 17, 29, 35, 33, 35, 18, 24, 37, 48, 30, 35, 29, 22, 14, 26, 22, 25, 26, 40, 54, 51, 58, 60, 40, 17, 24, 48, 54, 38, 31, 15, 54, 44, 45, 19, 14, 16, 22, 16, 24, 14, 12, 14, 19, 15, 26, 21, 25, 14, 33, 24, 41, 38, 30, 26, 15, 17, 26, 28, 25, 28, 42, 39, 33, 42, 49, 57, 49, 42, 19, 29, 29, 19, 10, 11, 16, 15, 15, 29, 18, 19, 32, 29, 36, 52, 38, 33, 13, 28, 15, 31, 40, 40, 33, 48, 44, 52, 66, 69, 46, 58, 40, 27, 29, 25, 14, 12, 11, 10, 14, 21, 12, 24, 11, 11, 12, 16, 14, 25, 24, 33, 43, 63, 44, 18, 17, 22, 31, 25, 25, 34, 49, 55, 24, 56, 64, 55, 37, 49, 28, 25, 23, 13, 19, 12, 13, 14, 14, 12, 16, 15, 19, 10, 10, 13, 11, 11, 23, 19, 27, 26, 35, 54, 51, 22, 16, 26, 27, 28, 27, 28, 33, 33, 39, 41, 59, 62, 36, 32, 39, 24, 28, 20, 17, 11, 21, 11, 14, 16, 15, 13, 15, 35, 13, 13, 19, 33, 49, 48, 45, 14, 19, 34, 27, 31, 39, 38, 35, 60, 62, 59, 54, 62, 36, 45, 31, 21, 23, 14, 16, 16, 12, 16, 10, 18, 20, 17, 35, 52, 21, 15, 22, 19, 36, 53, 30, 32, 24, 18, 27, 31, 29, 28, 38, 40, 43, 47, 52, 45, 61, 29, 26, 19, 29, 24, 19, 12, 12, 16, 16, 21, 14, 26, 12, 15, 15, 35, 30, 46, 33, 29, 23, 33, 26, 30, 22, 30, 42, 44, 54, 58, 59, 57, 47, 54, 40, 30, 16, 15, 13, 12, 13, 11, 10, 17, 13, 15, 10, 10, 17, 16, 15, 22, 24, 44, 50, 40, 21, 14, 15, 18, 24, 24, 34, 21, 27, 42, 37, 61, 43, 50, 32, 31, 25, 31, 15, 17, 27, 18, 10, 14, 10, 15, 26, 22, 12, 13, 30, 37, 30, 30, 49, 33, 38, 42, 51, 50, 57, 54, 39, 19, 17, 19, 22, 16, 17, 14, 20, 13, 14, 32, 31, 46, 34, 25, 10, 12, 13, 13, 21, 18, 22, 15, 18, 30, 40, 34, 39, 47, 32, 24, 12, 29, 27, 21, 37, 39, 40, 52, 44, 49, 40, 49, 36, 25, 12, 19, 15, 16, 14, 25, 13, 15, 23, 14, 21, 16, 33, 23, 43, 39, 46, 38, 51, 58, 11, 14, 18, 30, 29, 30, 45, 23, 29, 41, 36, 27, 34, 30, 34, 15, 12, 11, 10, 20, 19, 29, 15, 12, 10, 17, 20, 21, 25, 24, 20, 22, 27, 17, 38, 24, 30, 24, 38, 36, 41, 59, 37, 33, 31, 25, 26, 18, 10, 13, 12, 10, 25, 22, 13, 23, 11, 13, 20, 21, 19, 13, 11, 25, 20, 23, 19, 25, 23, 31, 42, 33, 32, 41, 41, 40, 37, 16, 24, 12, 12, 16, 10, 14, 10, 958, 10, 21, 54, 50, 62, 96, 88, 66, 29, 11, 13, 24, 13, 13, 19, 24, 37, 45, 31, 31, 43, 77, 69, 79, 79, 101, 93, 136, 120, 140, 126, 117, 109, 70, 56, 46, 20, 28, 20, 16, 12, 10, 13, 11, 16, 11, 13, 11, 10, 10, 10, 15, 44, 25, 25, 27, 44, 49, 73, 76, 45, 36, 53, 35, 28, 56, 73, 87, 98, 110, 127, 118, 119, 110, 98, 80, 61, 58, 45, 27, 27, 17, 17, 12, 15, 10, 11, 17, 11, 23, 23, 29, 23, 23, 19, 12, 16, 13, 11, 39, 12, 29, 61, 48, 69, 85, 59, 63, 38, 37, 36, 30, 47, 60, 70, 78, 80, 102, 117, 142, 107, 81, 76, 86, 42, 47, 19, 19, 21, 13, 11, 14, 11, 13, 13, 15, 12, 17, 26, 23, 38, 18, 14, 12, 13, 11, 14, 15, 44, 22, 28, 41, 38, 44, 108, 92, 84, 36, 13, 11, 10, 11, 39, 45, 52, 63, 56, 75, 89, 81, 116, 110, 115, 119, 86, 80, 66, 64, 52, 22, 16, 22, 11, 14, 10, 13, 28, 19, 17, 26, 43, 14, 13, 10, 11, 10, 10, 12, 10, 30, 195, 22, 16, 23, 47, 103, 70, 72, 35, 39, 52, 42, 48, 65, 86, 72, 90, 135, 93, 118, 105, 102, 69, 80, 44, 49, 31, 23, 19, 10, 19, 13, 12, 10, 13, 12, 16, 21, 17, 29, 35, 20, 10, 10, 18, 16, 30, 45, 41, 45, 54, 60, 46, 34, 34, 31, 39, 53, 55, 67, 71, 106, 76, 114, 97, 101, 95, 70, 59, 40, 26, 26, 21, 11, 11, 13, 11, 13, 10, 14, 15, 22, 28, 23, 14, 16, 10, 11, 12, 18, 20, 29, 31, 40, 48, 77, 61, 36, 20, 10, 13, 12, 35, 41, 43, 58, 65, 77, 77, 108, 121, 101, 137, 83, 89, 81, 61, 51, 35, 20, 14, 15, 17, 17, 16, 18, 28, 28, 12, 11, 12, 11, 10, 27, 18, 46, 35, 136, 90, 80, 102, 70, 23, 33, 35, 46, 43, 52, 60, 72, 96, 95, 112, 106, 92, 96, 85, 52, 53, 32, 29, 18, 25, 15, 21, 14, 16, 23, 25, 27, 17, 11, 40, 22, 18, 55, 46, 46, 55, 56, 47, 21, 24, 29, 37, 51, 39, 75, 63, 65, 98, 90, 100, 87, 56, 50, 55, 47, 30, 21, 14, 16, 11, 11, 12, 21, 23, 22, 10, 10, 11, 14, 11, 13, 16, 12, 60, 10, 11, 20, 27, 17, 13, 32, 52, 37, 78, 50, 28, 10, 39, 51, 44, 41, 66, 86, 100, 103, 124, 100, 140, 95, 90, 68, 48, 58, 31, 39, 34, 20, 16, 10, 13, 13, 21, 34, 22, 30, 28, 16, 13, 15, 13, 11, 14, 11, 11, 10, 12, 15, 43, 21, 13, 26, 41, 68, 59, 65, 28, 24, 14, 11, 10, 20, 15, 25, 17, 26, 30, 36, 42, 55, 53, 66, 78, 84, 97, 132, 126, 127, 121, 84, 79, 88, 72, 62, 36, 32, 26, 14, 16, 10, 11, 14, 12, 14, 10, 10, 20, 13, 10, 12, 15, 24, 52, 25, 23, 41, 49, 81, 78, 59, 31, 22, 52, 48, 51, 59, 66, 69, 101, 101, 144, 105, 113, 113, 95, 101, 52, 35, 33, 16, 20, 17, 11, 10, 16, 16, 14, 23, 34, 26, 11, 12, 15, 17, 53, 43, 41, 77, 94, 106, 109, 129, 67, 36, 16, 29, 28, 44, 51, 58, 49, 68, 79, 82, 76, 65, 61, 38, 33, 36, 55, 26, 30, 23, 11, 10, 10, 14, 10, 12, 14, 17, 18, 28, 25, 27, 10, 14, 19, 14, 28, 25, 63, 80, 63, 27, 22, 19, 25, 28, 33, 30, 31, 30, 33, 52, 48, 43, 36, 39, 44, 29, 36, 16, 16, 18, 16, 21, 10, 13, 17, 12, 15, 16, 19, 12, 10, 10, 18, 22, 20, 40, 36, 45, 49, 47, 30, 26, 27, 31, 23, 33, 36, 40, 39, 39, 64, 48, 54, 53, 33, 44, 37, 28, 16, 18, 18, 11, 11, 13, 11, 11, 19, 14, 14, 15, 10, 15, 30, 18, 18, 31, 37, 62, 42, 22, 20, 62, 47, 62, 59, 81, 84, 94, 89, 80, 95, 66, 82, 77, 56, 53, 39, 35, 18, 18, 10, 14, 13, 20, 25, 40, 25, 33, 29, 46, 23, 11, 13, 36, 37, 30, 48, 31, 16, 11, 21, 25, 29, 27, 26, 28, 26, 59, 56, 50, 62, 68, 41, 23, 20, 20, 31, 19, 19, 14, 14, 12, 14, 16, 27, 23, 11, 39, 14, 25, 19, 31, 33, 40, 45, 32, 16, 32, 30, 27, 31, 38, 44, 45, 47, 50, 57, 48, 40, 47, 26, 36, 25, 21, 15, 20, 15, 17, 17, 19, 17, 25, 11, 10, 12, 21, 22, 21, 18, 25, 37, 43, 36, 18, 24, 16, 32, 32, 29, 26, 29, 56, 54, 45, 48, 37, 31, 34, 26, 19, 30, 15, 23, 12, 14, 10, 13, 14, 18, 13, 11, 11, 10, 25, 18, 10, 24, 23, 52, 63, 39, 26, 13, 21, 17, 22, 32, 33, 37, 39, 58, 51, 53, 50, 43, 38, 22, 29, 30, 20, 13, 10, 11, 19, 14, 11, 11, 19, 13, 20, 17, 11, 12, 11, 13, 21, 11, 10, 13, 13, 11, 13, 27, 40, 47, 45, 28, 15, 19, 19, 28, 25, 36, 34, 46, 52, 42, 45, 44, 42, 58, 26, 30, 27, 22, 12, 11, 16, 13, 12, 14, 28, 16, 23, 11, 10, 12, 15, 34, 28, 13, 35, 24, 27, 32, 47, 27, 15, 12, 23, 31, 31, 38, 48, 36, 47, 40, 84, 48, 36, 28, 39, 19, 13, 22, 15, 10, 18, 12, 13, 18, 31, 10, 17, 23, 32, 33, 47, 46, 26, 17, 29, 23, 25, 30, 40, 30, 54, 48, 46, 51, 54, 50, 44, 19, 18, 22, 14, 12, 16, 12, 15, 11, 12, 21, 10, 13, 25, 19, 25, 21, 27, 43, 42, 32, 45, 55, 14, 33, 35, 36, 39, 36, 36, 28, 15, 51, 39, 39, 21, 20, 23, 25, 17, 19, 14, 18, 19, 20, 13, 30, 23, 24, 33, 41, 41, 38, 33, 57, 54, 38, 37, 26, 28, 22, 18, 11, 11, 23, 28, 39, 25, 34, 39, 16, 20, 10, 10, 10, 23, 21, 16, 18, 32, 20, 29, 36, 31, 40, 58, 36, 41, 49, 41, 22, 26, 20, 10, 17, 11, 37, 17, 22, 28, 34, 37, 23, 12, 10, 15, 10, 13, 16, 22, 22, 21, 32, 34, 36, 46, 42, 44, 62, 11, 19, 10, 32, 25, 33, 30, 29, 12, 46, 39, 48, 24, 18, 19, 24, 11, 11, 15, 20, 11, 10, 24, 22, 26, 33, 33, 45, 39, 34, 51, 50, 22, 16, 16, 29, 41, 38, 34, 27, 10, 68, 41, 32, 38, 31, 14, 15, 11, 10, 22, 24, 23, 17, 22, 30, 21, 27, 30, 15, 11, 15, 25, 11, 40, 57, 20, 12, 798, 42, 29, 38, 43, 65, 77, 121, 68, 44, 55, 56, 40, 71, 92, 95, 102, 130, 139, 159, 139, 86, 77, 82, 46, 45, 29, 17, 19, 38, 13, 19, 10, 12, 15, 15, 19, 25, 25, 39, 47, 16, 14, 17, 11, 10, 10, 17, 10, 22, 19, 23, 33, 32, 46, 54, 51, 47, 28, 39, 31, 31, 51, 45, 54, 69, 68, 114, 90, 116, 78, 70, 61, 55, 42, 31, 17, 12, 21, 18, 11, 11, 12, 19, 25, 23, 12, 12, 11, 11, 11, 10, 167, 18, 50, 30, 48, 60, 60, 93, 38, 16, 24, 36, 35, 41, 50, 53, 73, 73, 89, 84, 112, 88, 71, 56, 42, 47, 20, 29, 20, 11, 10, 10, 11, 15, 19, 27, 18, 17, 12, 10, 12, 13, 15, 28, 23, 29, 80, 39, 37, 54, 44, 42, 30, 38, 45, 46, 58, 68, 81, 100, 98, 83, 97, 86, 81, 74, 46, 42, 35, 24, 11, 17, 12, 12, 15, 22, 15, 31, 22, 15, 10, 14, 11, 10, 22, 41, 32, 36, 39, 57, 63, 63, 31, 15, 19, 27, 47, 42, 42, 48, 65, 76, 89, 84, 102, 62, 66, 36, 37, 32, 14, 25, 17, 20, 11, 10, 11, 13, 10, 15, 14, 14, 16, 14, 24, 28, 20, 24, 41, 60, 74, 39, 27, 22, 30, 35, 41, 59, 73, 77, 82, 74, 75, 91, 85, 90, 63, 49, 36, 34, 19, 12, 21, 10, 13, 20, 12, 15, 32, 17, 27, 10, 10, 10, 10, 16, 16, 38, 40, 44, 58, 58, 58, 43, 15, 42, 32, 40, 49, 64, 54, 72, 76, 87, 85, 121, 72, 74, 50, 38, 42, 28, 21, 20, 18, 12, 12, 26, 24, 24, 10, 13, 14, 12, 17, 22, 35, 42, 34, 60, 49, 53, 35, 17, 21, 40, 48, 49, 66, 48, 71, 65, 66, 107, 90, 70, 68, 47, 33, 24, 27, 16, 16, 12, 11, 21, 21, 19, 25, 11, 25, 40, 36, 42, 62, 55, 70, 85, 100, 85, 14, 21, 35, 29, 44, 51, 56, 44, 31, 106, 72, 72, 51, 33, 30, 31, 20, 23, 10, 14, 12, 19, 23, 22, 12, 12, 12, 34, 12, 13, 14, 16, 15, 10, 11, 11, 11, 13, 20, 15, 29, 44, 52, 67, 44, 13, 38, 48, 46, 39, 76, 71, 90, 85, 116, 110, 119, 106, 87, 60, 47, 51, 30, 32, 12, 20, 10, 17, 19, 15, 25, 32, 14, 13, 13, 13, 13, 11, 20, 28, 35, 44, 58, 52, 101, 64, 22, 38, 50, 51, 61, 69, 86, 91, 111, 119, 126, 120, 88, 82, 84, 76, 45, 42, 14, 32, 12, 11, 11, 13, 13, 15, 10, 12, 21, 11, 15, 11, 14, 16, 27, 25, 33, 28, 10, 15, 25, 54, 29, 37, 57, 38, 49, 57, 27, 45, 40, 43, 50, 82, 90, 118, 104, 112, 124, 119, 98, 80, 64, 43, 39, 32, 18, 19, 17, 15, 11, 16, 16, 22, 21, 43, 19, 31, 19, 15, 19, 12, 13, 15, 16, 12, 10, 12, 12, 14, 12, 30, 34, 38, 40, 27, 28, 14, 11, 16, 18, 20, 25, 31, 46, 34, 58, 49, 40, 54, 57, 84, 64, 80, 101, 81, 99, 68, 70, 72, 75, 40, 39, 31, 24, 26, 16, 10, 10, 12, 24, 13, 11, 16, 11, 19, 31, 42, 62, 39, 56, 31, 16, 10, 15, 21, 23, 34, 41, 30, 44, 43, 44, 49, 49, 61, 64, 29, 27, 25, 17, 13, 15, 27, 13, 11, 15, 12, 13, 21, 16, 16, 14, 10, 15, 10, 10, 32, 25, 23, 19, 33, 40, 33, 26, 10, 20, 35, 39, 40, 32, 41, 57, 36, 59, 55, 50, 38, 41, 29, 20, 19, 12, 14, 10, 15, 13, 11, 12, 16, 23, 12, 13, 13, 18, 29, 33, 32, 45, 38, 46, 49, 56, 55, 47, 47, 36, 20, 20, 24, 17, 18, 11, 13, 10, 18, 39, 25, 41, 28, 16, 15, 11, 10, 10, 14, 15, 17, 28, 12, 12, 10, 33, 23, 25, 32, 37, 28, 39, 57, 58, 51, 14, 21, 37, 23, 35, 31, 40, 44, 23, 44, 34, 26, 30, 27, 24, 23, 14, 15, 14, 15, 15, 10, 14, 11, 18, 10, 12, 28, 37, 40, 34, 45, 51, 38, 60, 46, 61, 55, 42, 40, 29, 22, 22, 15, 17, 11, 10, 15, 18, 12, 26, 20, 44, 43, 25, 24, 10, 13, 11, 12, 24, 10, 10, 10, 10, 27, 23, 34, 23, 20, 40, 46, 53, 61, 36, 22, 13, 21, 25, 20, 42, 46, 29, 14, 46, 52, 38, 26, 26, 20, 10, 12, 16, 10, 12, 20, 22, 19, 10, 11, 23, 18, 27, 22, 47, 28, 33, 26, 15, 19, 30, 43, 38, 27, 34, 39, 35, 46, 40, 67, 71, 44, 40, 28, 24, 22, 17, 16, 24, 12, 11, 18, 14, 15, 18, 15, 11, 18, 18, 17, 20, 16, 11, 21, 29, 26, 33, 49, 43, 48, 50, 50, 53, 55, 53, 33, 33, 23, 17, 16, 20, 11, 11, 18, 17, 23, 46, 36, 42, 50, 30, 20, 10, 10, 10, 14, 20, 15, 14, 14, 10, 11, 10, 11, 43, 15, 24, 30, 44, 47, 65, 35, 19, 29, 37, 45, 33, 43, 34, 48, 52, 77, 48, 51, 48, 37, 32, 29, 24, 19, 21, 15, 12, 10, 15, 18, 19, 20, 38, 11, 21, 36, 50, 20, 55, 49, 44, 58, 40, 75, 60, 55, 32, 33, 28, 20, 26, 19, 11, 13, 22, 40, 29, 42, 36, 37, 35, 20, 10, 12, 10, 14, 17, 22, 31, 31, 10, 11, 17, 33, 22, 27, 47, 32, 49, 30, 23, 12, 23, 38, 27, 30, 42, 41, 43, 53, 68, 61, 62, 46, 38, 33, 17, 30, 18, 14, 10, 15, 12, 13, 15, 17, 19, 18, 10, 14, 15, 24, 38, 27, 31, 35, 30, 18, 12, 18, 38, 35, 28, 36, 34, 41, 51, 63, 50, 51, 60, 39, 25, 24, 19, 19, 20, 15, 10, 15, 16, 25, 22, 11, 17, 25, 43, 40, 38, 22, 44, 43, 41, 51, 14, 17, 37, 27, 22, 35, 41, 37, 18, 14, 10, 10, 12, 10, 22, 17, 24, 64, 58, 40, 38, 28, 17, 13, 12, 15, 21, 28, 38, 42, 40, 41, 51, 52, 60, 70, 59, 35, 30, 20, 25, 35, 13, 21, 17, 13, 18, 30, 14, 24, 18, 28, 48, 27, 12, 12, 11, 20, 14, 19, 13, 29, 11, 13, 17, 15, 14, 47, 30, 38, 37, 25, 16, 11, 31, 28, 29, 34, 45, 47, 47, 67, 79, 49, 42, 34, 40, 27, 20, 23, 12, 19, 16, 12, 12, 12, 16, 25, 33, 14, 18, 17, 22, 23, 29, 58, 35, 26, 17, 15, 26, 23, 26, 27, 46, 40, 60, 60, 70, 62, 62, 57, 44, 39, 26, 28, 11, 16, 19, 12, 21, 26, 24, 17, 11, 1900, 11, 10, 694, 26, 50, 26, 37, 49, 77, 99, 49, 24, 10, 11, 10, 10, 14, 45, 42, 63, 75, 76, 97, 93, 120, 122, 152, 124, 97, 99, 87, 87, 64, 24, 28, 19, 19, 14, 11, 14, 18, 28, 15, 18, 28, 30, 15, 13, 12, 60, 164, 45, 15, 28, 25, 46, 66, 46, 29, 38, 34, 43, 62, 54, 67, 84, 90, 109, 103, 128, 96, 85, 80, 51, 47, 34, 16, 15, 16, 13, 16, 18, 18, 19, 24, 37, 10, 11, 12, 17, 10, 10, 10, 10, 23, 19, 36, 37, 57, 72, 85, 63, 42, 28, 29, 38, 42, 39, 52, 67, 79, 67, 73, 136, 124, 95, 95, 55, 69, 52, 26, 19, 24, 16, 11, 10, 18, 18, 16, 36, 35, 11, 10, 11, 11, 12, 14, 30, 46, 25, 60, 62, 62, 30, 20, 30, 29, 34, 56, 64, 65, 89, 110, 105, 103, 110, 85, 82, 60, 40, 40, 35, 18, 15, 10, 12, 12, 13, 14, 15, 14, 23, 27, 41, 12, 13, 10, 19, 11, 16, 11, 22, 38, 35, 69, 53, 45, 35, 29, 31, 43, 41, 43, 44, 71, 66, 93, 107, 88, 115, 104, 72, 73, 36, 35, 44, 19, 14, 13, 11, 12, 12, 13, 12, 17, 15, 22, 15, 12, 12, 15, 48, 16, 26, 23, 45, 69, 50, 40, 21, 37, 28, 38, 44, 45, 51, 58, 64, 90, 83, 109, 77, 68, 64, 47, 41, 40, 18, 23, 23, 10, 15, 10, 12, 14, 15, 12, 20, 18, 11, 65, 21, 20, 19, 29, 27, 62, 57, 37, 17, 26, 30, 38, 47, 52, 70, 64, 66, 92, 113, 93, 83, 71, 78, 54, 37, 32, 23, 17, 16, 10, 11, 14, 16, 15, 21, 34, 10, 12, 10, 10, 10, 66, 18, 16, 16, 34, 28, 80, 53, 49, 20, 24, 34, 46, 50, 48, 43, 58, 51, 87, 86, 94, 99, 71, 62, 38, 45, 34, 17, 14, 30, 10, 14, 11, 14, 12, 28, 11, 13, 12, 13, 55, 17, 24, 30, 45, 43, 62, 51, 46, 20, 17, 28, 42, 48, 33, 48, 45, 93, 91, 91, 96, 82, 72, 63, 58, 34, 35, 18, 16, 11, 10, 11, 13, 15, 15, 21, 13, 10, 12, 11, 10, 13, 10, 11, 13, 11, 13, 17, 67, 26, 39, 28, 53, 55, 75, 69, 36, 16, 13, 11, 13, 12, 17, 15, 24, 25, 26, 29, 40, 37, 42, 60, 74, 82, 91, 85, 122, 152, 120, 94, 86, 76, 64, 46, 35, 21, 20, 21, 15, 21, 18, 13, 19, 10, 15, 16, 13, 14, 14, 74, 16, 17, 23, 21, 37, 51, 48, 42, 19, 31, 43, 43, 64, 77, 63, 81, 78, 132, 117, 143, 93, 86, 78, 71, 59, 39, 16, 21, 20, 13, 18, 13, 11, 24, 20, 13, 36, 14, 10, 13, 14, 10, 12, 11, 17, 16, 16, 20, 16, 13, 14, 30, 18, 36, 27, 39, 69, 55, 45, 28, 15, 10, 12, 14, 12, 14, 12, 20, 34, 18, 30, 46, 54, 60, 67, 70, 66, 74, 93, 101, 134, 125, 105, 86, 88, 55, 38, 34, 22, 23, 20, 10, 14, 13, 12, 42, 61, 48, 61, 77, 78, 82, 120, 89, 106, 68, 78, 84, 62, 52, 49, 27, 25, 16, 18, 11, 27, 13, 18, 32, 34, 55, 40, 20, 16, 11, 15, 17, 20, 32, 36, 41, 46, 12, 14, 45, 13, 16, 25, 38, 26, 37, 14, 27, 28, 32, 21, 20, 26, 50, 36, 58, 55, 62, 46, 38, 55, 30, 19, 29, 19, 12, 38, 10, 10, 17, 17, 17, 17, 18, 11, 11, 20, 43, 19, 25, 34, 30, 23, 58, 42, 22, 23, 16, 27, 17, 27, 41, 19, 25, 37, 35, 61, 54, 28, 38, 37, 34, 21, 27, 14, 18, 11, 12, 12, 15, 22, 12, 27, 20, 19, 15, 19, 17, 37, 38, 19, 10, 28, 19, 23, 36, 43, 32, 27, 38, 62, 46, 51, 39, 35, 27, 19, 25, 17, 20, 14, 13, 11, 10, 12, 19, 16, 20, 12, 30, 24, 27, 62, 62, 42, 26, 21, 28, 23, 32, 31, 35, 27, 42, 40, 49, 56, 64, 50, 42, 28, 19, 30, 25, 25, 11, 15, 15, 11, 21, 14, 28, 29, 13, 11, 17, 38, 22, 29, 34, 25, 13, 16, 19, 32, 28, 25, 31, 32, 34, 44, 54, 54, 50, 26, 36, 21, 17, 20, 11, 14, 14, 14, 14, 16, 10, 10, 10, 19, 21, 33, 28, 31, 39, 28, 45, 52, 47, 45, 45, 33, 31, 31, 15, 14, 11, 13, 13, 29, 23, 14, 15, 25, 29, 28, 17, 10, 14, 17, 16, 17, 48, 19, 24, 56, 26, 21, 40, 36, 24, 11, 20, 19, 37, 18, 43, 47, 30, 42, 54, 53, 62, 42, 33, 37, 24, 38, 27, 12, 11, 11, 19, 18, 15, 12, 13, 19, 12, 11, 16, 19, 30, 11, 11, 44, 16, 16, 16, 50, 21, 35, 34, 29, 16, 27, 26, 21, 35, 29, 49, 58, 33, 51, 39, 28, 33, 35, 33, 31, 32, 16, 30, 14, 12, 18, 12, 24, 11, 14, 19, 17, 13, 37, 30, 62, 72, 46, 41, 15, 23, 25, 22, 25, 28, 35, 34, 47, 44, 43, 36, 32, 39, 26, 25, 18, 15, 14, 12, 10, 11, 11, 13, 10, 11, 14, 18, 68, 15, 13, 16, 33, 35, 40, 34, 25, 16, 21, 33, 38, 34, 32, 42, 56, 79, 51, 45, 51, 45, 45, 25, 28, 21, 19, 16, 15, 18, 14, 19, 11, 13, 23, 23, 29, 15, 13, 26, 16, 36, 41, 26, 22, 13, 25, 20, 23, 29, 31, 30, 39, 43, 60, 40, 57, 40, 38, 33, 24, 17, 14, 11, 10, 15, 17, 12, 18, 14, 11, 63, 23, 16, 20, 19, 33, 49, 36, 25, 12, 24, 22, 37, 23, 33, 28, 31, 46, 37, 40, 65, 48, 31, 30, 31, 12, 19, 11, 15, 11, 20, 17, 18, 13, 18, 44, 18, 25, 20, 61, 44, 28, 18, 10, 16, 16, 20, 23, 38, 42, 39, 43, 45, 49, 69, 47, 46, 45, 32, 13, 18, 16, 20, 31, 14, 12, 22, 22, 27, 20, 22, 13, 34, 22, 48, 39, 30, 17, 19, 14, 20, 28, 26, 28, 54, 41, 53, 59, 60, 64, 54, 40, 38, 32, 25, 19, 21, 23, 10, 15, 30, 22, 13, 28, 15, 25, 30, 38, 43, 29, 24, 12, 38, 16, 37, 28, 33, 34, 29, 46, 41, 52, 48, 41, 40, 26, 22, 17, 18, 13, 15, 11, 16, 26, 15, 30, 15, 21, 13, 16, 40, 39, 28, 22, 14, 18, 13, 15, 37, 29, 31, 40, 31, 50, 56, 61, 39, 36, 26, 12, 19, 15, 12, 11, 19, 14, 15, 13, 15, 19, 16, 21, 20, 28, 32, 43, 58, 47, 46, 40, 47, 32, 22, 24, 17, 13, 11, 20, 18, 12, 19, 22, 21, 28, 17, 13, 10, 11, 15, 11, 16, 30, 11, 18, 29, 10, 11, 11, 37, 19, 18, 19, 12, 16, 19, 23, 21, 30, 27, 36, 41, 50, 55, 53, 47, 37, 25, 23, 24, 13, 12, 10, 18, 11, 24, 20, 10, 1058, 34, 22, 61, 62, 74, 101, 98, 79, 35, 10, 10, 10, 20, 79, 51, 48, 52, 83, 100, 89, 89, 135, 115, 124, 103, 94, 64, 82, 58, 49, 29, 39, 16, 11, 18, 29, 13, 28, 32, 34, 35, 40, 12, 10, 15, 11, 15, 28, 14, 12, 48, 28, 43, 45, 46, 36, 52, 75, 75, 13, 133, 30, 39, 50, 48, 61, 66, 81, 88, 107, 11, 10, 10, 13, 16, 10, 99, 65, 88, 64, 67, 39, 25, 18, 10, 13, 10, 13, 13, 24, 25, 19, 44, 13, 11, 16, 45, 28, 33, 25, 41, 46, 69, 56, 14, 34, 32, 34, 39, 40, 53, 59, 85, 98, 101, 98, 80, 94, 66, 55, 47, 32, 26, 18, 11, 11, 13, 15, 11, 16, 16, 16, 14, 12, 29, 23, 33, 44, 44, 45, 76, 49, 44, 26, 22, 39, 31, 47, 57, 61, 60, 88, 73, 81, 95, 84, 93, 69, 50, 46, 35, 17, 14, 11, 14, 10, 13, 13, 22, 22, 24, 11, 44, 21, 15, 28, 43, 40, 73, 64, 43, 15, 29, 43, 26, 42, 50, 54, 63, 70, 78, 93, 120, 68, 68, 70, 59, 31, 37, 22, 17, 11, 10, 12, 10, 14, 20, 22, 23, 22, 10, 13, 13, 11, 16, 25, 38, 34, 41, 53, 65, 47, 61, 26, 27, 25, 35, 32, 42, 52, 58, 54, 81, 88, 109, 96, 72, 70, 61, 53, 44, 10, 13, 14, 20, 17, 28, 21, 22, 14, 11, 10, 14, 16, 31, 43, 33, 40, 55, 39, 51, 22, 50, 35, 29, 53, 35, 50, 39, 67, 76, 95, 86, 85, 72, 56, 67, 38, 29, 18, 12, 10, 14, 15, 17, 21, 12, 11, 10, 19, 18, 25, 46, 62, 50, 56, 57, 53, 19, 27, 25, 26, 35, 44, 58, 52, 61, 86, 67, 93, 84, 78, 55, 54, 38, 37, 25, 18, 16, 13, 21, 17, 22, 16, 10, 15, 21, 21, 32, 41, 53, 85, 37, 25, 22, 23, 21, 30, 41, 38, 55, 66, 86, 79, 66, 87, 76, 69, 72, 61, 38, 26, 20, 15, 11, 12, 23, 18, 25, 23, 11, 15, 28, 31, 27, 28, 29, 42, 83, 103, 52, 14, 41, 45, 56, 59, 53, 76, 86, 94, 101, 93, 118, 94, 105, 92, 66, 44, 32, 25, 14, 13, 12, 15, 15, 13, 24, 15, 24, 26, 36, 15, 10, 14, 15, 19, 12, 15, 12, 14, 12, 32, 11, 39, 31, 36, 56, 51, 60, 58, 16, 45, 39, 54, 61, 66, 58, 93, 89, 100, 127, 132, 101, 72, 66, 53, 57, 22, 30, 19, 13, 10, 16, 12, 14, 12, 15, 11, 14, 10, 21, 11, 21, 24, 38, 14, 15, 10, 10, 26, 12, 12, 20, 35, 28, 32, 45, 59, 32, 39, 13, 11, 13, 17, 11, 12, 27, 49, 41, 54, 78, 65, 81, 96, 100, 103, 91, 73, 75, 80, 51, 44, 34, 20, 17, 15, 12, 13, 17, 12, 18, 28, 24, 32, 15, 16, 33, 45, 46, 69, 72, 69, 88, 93, 95, 96, 81, 70, 63, 52, 71, 43, 30, 27, 10, 12, 13, 16, 26, 15, 28, 23, 41, 28, 40, 25, 20, 20, 26, 40, 51, 35, 19, 10, 10, 11, 11, 11, 10, 15, 28, 16, 20, 14, 33, 51, 45, 67, 29, 21, 27, 18, 26, 32, 21, 38, 44, 45, 53, 49, 30, 38, 34, 26, 26, 16, 17, 11, 31, 11, 14, 11, 12, 10, 14, 11, 10, 17, 34, 10, 12, 10, 11, 11, 19, 25, 31, 32, 38, 32, 31, 10, 26, 18, 32, 23, 35, 30, 39, 40, 60, 56, 55, 43, 43, 21, 16, 28, 28, 11, 18, 13, 11, 17, 17, 19, 25, 10, 13, 10, 11, 28, 18, 12, 32, 28, 34, 38, 33, 47, 46, 31, 40, 35, 25, 27, 18, 17, 12, 10, 10, 16, 12, 19, 18, 32, 46, 42, 22, 11, 12, 15, 11, 22, 19, 23, 10, 11, 10, 22, 28, 31, 29, 31, 23, 30, 48, 56, 56, 64, 25, 42, 29, 27, 23, 12, 14, 16, 13, 20, 32, 25, 36, 30, 53, 63, 39, 33, 10, 10, 10, 15, 24, 17, 10, 10, 67, 12, 29, 19, 25, 30, 28, 30, 34, 33, 38, 44, 12, 10, 33, 36, 29, 31, 44, 32, 31, 54, 37, 37, 30, 32, 18, 18, 12, 14, 11, 11, 12, 25, 14, 17, 14, 16, 11, 14, 14, 36, 26, 37, 38, 50, 30, 22, 14, 14, 17, 28, 14, 46, 24, 36, 50, 58, 42, 53, 48, 37, 31, 30, 17, 25, 11, 12, 28, 15, 33, 34, 23, 25, 14, 27, 53, 30, 26, 17, 25, 22, 29, 21, 48, 28, 43, 31, 48, 45, 42, 40, 50, 40, 21, 26, 12, 13, 20, 12, 10, 22, 14, 17, 18, 18, 15, 10, 19, 16, 18, 10, 11, 29, 22, 18, 19, 42, 46, 41, 43, 60, 54, 67, 41, 27, 30, 27, 16, 21, 15, 14, 28, 18, 23, 19, 54, 40, 52, 28, 31, 15, 10, 12, 10, 17, 19, 16, 18, 16, 11, 18, 21, 31, 23, 31, 42, 37, 46, 59, 69, 36, 39, 50, 29, 31, 20, 19, 13, 14, 15, 14, 16, 27, 22, 21, 32, 35, 46, 20, 13, 16, 14, 16, 16, 22, 11, 12, 10, 32, 12, 15, 12, 32, 27, 48, 45, 24, 26, 25, 20, 29, 30, 41, 24, 57, 58, 52, 44, 35, 32, 24, 23, 22, 19, 17, 23, 11, 12, 11, 15, 13, 15, 23, 26, 12, 12, 39, 16, 24, 23, 29, 53, 26, 57, 28, 12, 36, 27, 30, 38, 37, 34, 35, 45, 44, 48, 53, 59, 50, 28, 18, 21, 16, 14, 18, 29, 10, 10, 11, 27, 22, 13, 10, 11, 10, 19, 28, 23, 51, 56, 43, 30, 13, 22, 17, 33, 21, 33, 38, 32, 44, 33, 33, 60, 43, 33, 23, 25, 16, 17, 13, 12, 14, 13, 14, 18, 16, 21, 10, 10, 21, 16, 16, 22, 49, 37, 22, 43, 33, 30, 21, 36, 28, 28, 36, 38, 41, 50, 61, 59, 54, 43, 44, 27, 16, 14, 24, 13, 11, 13, 11, 22, 19, 13, 25, 20, 35, 40, 34, 22, 34, 33, 42, 52, 55, 51, 53, 31, 27, 28, 17, 15, 17, 18, 16, 12, 10, 18, 37, 30, 40, 60, 24, 15, 12, 10, 15, 16, 12, 22, 23, 28, 31, 28, 20, 36, 26, 60, 35, 40, 50, 49, 46, 36, 26, 28, 14, 14, 14, 10, 14, 15, 13, 12, 23, 20, 31, 35, 31, 23, 10, 11, 13, 18, 16, 12, 10, 12, 11, 10, 14, 25, 33, 41, 41, 22, 11, 16, 10, 26, 36, 37, 31, 27, 47, 49, 50, 46, 44, 43, 31, 20, 24, 22, 14, 17, 15, 11, 12, 13, 29, 13, 15, 32, 36, 27, 30, 46, 32, 49, 47, 39, 22, 27, 18, 14, 17, 13, 12, 11, 13, 26, 28, 23, 33, 22, 11, 10, 24, 12, 16, 29, 10, 12, 16, 24, 24, 19, 33, 29, 24, 37, 46, 51, 52, 37, 42, 39, 16, 25, 16, 15, 14, 12, 14, 37, 10, 19, 28, 15, 10, 14, 10, 14, 12, 21, 11, 21, 10, 11, 11, 480, 16, 28, 13, 38, 71, 74, 77, 57, 40, 56, 41, 41, 66, 86, 73, 91, 88, 121, 129, 150, 101, 86, 71, 75, 39, 42, 14, 32, 11, 10, 12, 10, 11, 11, 12, 12, 11, 12, 15, 20, 23, 31, 29, 11, 12, 12, 11, 15, 12, 14, 15, 14, 12, 17, 14, 19, 53, 29, 26, 26, 34, 62, 81, 74, 51, 39, 39, 37, 59, 41, 53, 60, 77, 92, 84, 100, 117, 91, 79, 78, 57, 47, 43, 28, 12, 21, 11, 10, 15, 11, 12, 23, 23, 34, 16, 12, 10, 16, 38, 254, 21, 24, 35, 42, 49, 62, 65, 36, 15, 14, 12, 15, 14, 38, 44, 49, 46, 61, 84, 74, 88, 108, 109, 148, 118, 68, 71, 49, 54, 38, 29, 12, 19, 16, 17, 14, 13, 16, 17, 21, 18, 10, 10, 12, 11, 10, 15, 10, 37, 17, 26, 32, 23, 38, 60, 63, 46, 29, 12, 12, 15, 11, 27, 38, 43, 42, 62, 57, 86, 74, 108, 104, 99, 94, 84, 46, 55, 42, 21, 24, 15, 15, 12, 13, 14, 17, 22, 30, 11, 22, 30, 26, 60, 54, 51, 50, 24, 21, 16, 10, 11, 10, 10, 13, 18, 41, 38, 54, 54, 71, 79, 101, 103, 119, 120, 90, 80, 58, 50, 40, 38, 18, 15, 14, 10, 12, 17, 15, 30, 28, 26, 15, 16, 10, 10, 23, 20, 37, 32, 37, 47, 63, 58, 70, 30, 33, 34, 55, 43, 65, 62, 98, 114, 96, 108, 121, 103, 74, 73, 57, 38, 33, 20, 21, 19, 10, 15, 22, 23, 24, 25, 12, 10, 10, 11, 10, 10, 10, 41, 19, 18, 29, 32, 50, 59, 47, 43, 35, 23, 33, 38, 41, 39, 42, 51, 68, 82, 72, 104, 77, 75, 63, 39, 36, 42, 22, 10, 16, 11, 14, 12, 17, 19, 16, 19, 10, 13, 10, 14, 42, 19, 13, 28, 33, 59, 97, 69, 45, 25, 28, 24, 29, 37, 41, 61, 68, 62, 68, 77, 93, 93, 80, 62, 54, 38, 36, 15, 17, 22, 12, 11, 17, 17, 21, 35, 11, 11, 11, 13, 15, 15, 19, 25, 30, 51, 57, 72, 58, 38, 20, 18, 32, 25, 36, 37, 43, 59, 77, 86, 74, 99, 78, 67, 55, 40, 35, 34, 21, 15, 23, 10, 13, 17, 14, 15, 19, 12, 10, 10, 14, 12, 14, 11, 46, 12, 16, 27, 21, 45, 57, 58, 29, 15, 10, 10, 12, 11, 10, 13, 21, 13, 36, 24, 29, 35, 37, 36, 51, 63, 90, 71, 103, 119, 130, 122, 92, 57, 44, 60, 33, 20, 14, 30, 12, 24, 18, 16, 11, 14, 14, 60, 35, 29, 27, 52, 60, 72, 73, 33, 21, 15, 11, 10, 13, 44, 41, 54, 43, 62, 98, 88, 83, 104, 147, 111, 99, 92, 48, 68, 52, 37, 33, 15, 25, 17, 16, 17, 15, 20, 21, 28, 35, 11, 12, 10, 12, 12, 11, 17, 15, 21, 46, 15, 25, 25, 51, 67, 83, 58, 25, 22, 48, 49, 49, 56, 62, 73, 90, 95, 102, 112, 89, 94, 89, 84, 64, 54, 35, 26, 14, 15, 13, 18, 18, 22, 23, 22, 39, 12, 10, 11, 39, 23, 20, 18, 20, 38, 40, 28, 25, 11, 27, 17, 28, 29, 36, 36, 37, 34, 47, 52, 50, 37, 28, 33, 26, 26, 17, 19, 15, 11, 10, 16, 20, 14, 12, 11, 15, 13, 14, 23, 32, 42, 47, 50, 19, 13, 16, 26, 27, 33, 30, 32, 36, 52, 46, 52, 51, 37, 32, 16, 32, 19, 15, 16, 14, 10, 10, 10, 13, 15, 17, 11, 13, 39, 47, 51, 63, 67, 69, 80, 98, 94, 82, 67, 92, 64, 66, 61, 38, 40, 25, 14, 11, 16, 21, 29, 18, 22, 50, 34, 28, 12, 13, 16, 12, 23, 33, 24, 28, 41, 37, 22, 15, 16, 14, 28, 20, 38, 52, 35, 16, 24, 24, 26, 30, 27, 46, 51, 58, 49, 44, 46, 39, 38, 30, 23, 21, 27, 15, 18, 10, 13, 11, 16, 19, 30, 12, 33, 20, 21, 15, 36, 56, 50, 29, 20, 24, 22, 17, 25, 18, 30, 38, 26, 38, 48, 57, 36, 40, 28, 31, 27, 26, 17, 30, 17, 17, 14, 13, 12, 10, 10, 22, 13, 22, 24, 32, 34, 42, 38, 46, 46, 17, 12, 20, 27, 23, 39, 33, 26, 13, 57, 45, 37, 35, 27, 12, 22, 10, 22, 13, 10, 20, 13, 16, 15, 14, 21, 16, 30, 21, 35, 45, 23, 11, 25, 23, 33, 41, 29, 30, 42, 41, 31, 49, 49, 42, 38, 41, 25, 16, 25, 16, 14, 11, 14, 17, 24, 11, 19, 16, 26, 18, 43, 35, 13, 18, 20, 14, 14, 26, 34, 36, 43, 46, 46, 58, 44, 47, 40, 24, 21, 26, 14, 19, 23, 10, 12, 10, 13, 13, 13, 19, 19, 13, 14, 10, 20, 11, 20, 44, 14, 21, 34, 32, 39, 53, 47, 40, 13, 23, 18, 25, 29, 31, 27, 30, 41, 63, 51, 48, 49, 38, 30, 13, 20, 23, 14, 14, 17, 13, 12, 11, 30, 12, 10, 16, 10, 19, 10, 17, 19, 63, 35, 40, 40, 26, 16, 16, 10, 21, 21, 40, 26, 38, 51, 45, 58, 47, 49, 36, 29, 35, 17, 17, 20, 16, 17, 14, 13, 14, 17, 13, 23, 16, 17, 17, 20, 36, 32, 55, 29, 26, 17, 34, 22, 24, 31, 31, 47, 50, 51, 56, 51, 39, 50, 55, 30, 38, 32, 17, 12, 13, 12, 11, 10, 19, 22, 21, 10, 31, 21, 30, 18, 26, 32, 48, 48, 30, 14, 20, 34, 19, 37, 25, 29, 39, 34, 68, 43, 46, 47, 43, 37, 25, 26, 20, 18, 14, 11, 12, 11, 22, 17, 11, 10, 42, 12, 10, 11, 23, 42, 50, 41, 23, 10, 21, 35, 24, 37, 37, 42, 41, 43, 46, 59, 56, 44, 52, 26, 22, 14, 18, 11, 12, 18, 11, 11, 13, 29, 19, 14, 12, 35, 13, 37, 14, 29, 37, 47, 39, 27, 12, 13, 26, 35, 31, 27, 36, 33, 35, 36, 82, 48, 49, 43, 27, 23, 24, 25, 14, 17, 13, 12, 16, 18, 11, 29, 10, 13, 27, 10, 12, 23, 24, 35, 49, 36, 22, 14, 22, 23, 24, 35, 27, 37, 36, 39, 58, 57, 51, 44, 41, 34, 27, 14, 16, 12, 14, 16, 10, 13, 20, 10, 16, 12, 15, 10, 31, 19, 19, 36, 25, 26, 29, 46, 35, 53, 47, 38, 32, 31, 22, 16, 12, 10, 11, 20, 24, 26, 17, 20, 27, 29, 28, 10, 12, 12, 14, 15, 14, 19, 14, 26, 28, 35, 30, 34, 38, 34, 51, 58, 48, 59, 38, 39, 24, 26, 27, 19, 18, 18, 17, 12, 20, 35, 20, 25, 45, 28, 18, 10, 13, 21, 23, 626, 32, 22, 37, 45, 48, 51, 54, 43, 26, 10, 14, 14, 10, 11, 24, 16, 22, 34, 31, 54, 30, 45, 69, 76, 74, 91, 94, 116, 127, 134, 105, 97, 69, 69, 51, 54, 27, 33, 11, 18, 12, 15, 13, 12, 11, 12, 11, 10, 10, 66, 24, 12, 59, 38, 49, 56, 67, 45, 26, 31, 34, 41, 38, 39, 53, 70, 76, 92, 105, 104, 107, 111, 84, 47, 28, 27, 21, 18, 21, 24, 10, 15, 11, 11, 10, 20, 13, 27, 23, 26, 12, 13, 16, 11, 15, 12, 10, 12, 16, 22, 40, 24, 25, 39, 40, 75, 48, 23, 24, 31, 53, 43, 53, 83, 70, 55, 78, 115, 101, 128, 102, 63, 55, 52, 47, 26, 14, 13, 14, 15, 14, 10, 35, 18, 23, 24, 12, 23, 30, 52, 39, 73, 66, 35, 31, 24, 29, 35, 38, 45, 53, 55, 61, 86, 76, 76, 59, 87, 69, 49, 50, 22, 16, 11, 11, 11, 12, 16, 10, 19, 22, 27, 11, 10, 11, 11, 10, 12, 13, 17, 41, 30, 94, 22, 78, 41, 27, 14, 23, 33, 38, 37, 58, 55, 62, 70, 91, 84, 105, 96, 90, 68, 34, 41, 28, 17, 20, 24, 11, 13, 13, 16, 13, 28, 14, 11, 10, 17, 38, 30, 29, 51, 45, 65, 59, 41, 22, 32, 47, 33, 37, 44, 37, 67, 68, 85, 108, 93, 63, 79, 72, 49, 32, 24, 17, 22, 20, 12, 15, 10, 16, 23, 34, 12, 18, 10, 12, 65, 17, 23, 35, 57, 25, 32, 56, 122, 25, 30, 47, 40, 47, 59, 52, 68, 75, 105, 121, 117, 90, 54, 61, 50, 44, 30, 22, 12, 10, 25, 20, 25, 27, 26, 13, 10, 10, 12, 18, 35, 32, 43, 75, 72, 42, 34, 13, 43, 42, 53, 48, 60, 51, 65, 67, 71, 99, 106, 98, 79, 72, 47, 44, 29, 18, 17, 13, 13, 14, 10, 10, 21, 21, 23, 11, 10, 11, 10, 14, 83, 16, 32, 48, 26, 34, 39, 71, 28, 14, 30, 45, 34, 49, 48, 55, 44, 84, 90, 113, 99, 74, 77, 88, 48, 40, 41, 24, 18, 13, 14, 18, 23, 33, 12, 13, 13, 14, 10, 13, 11, 11, 13, 11, 85, 26, 16, 36, 39, 49, 69, 49, 19, 10, 10, 15, 14, 19, 20, 19, 25, 29, 38, 47, 39, 45, 62, 74, 74, 81, 90, 108, 134, 108, 98, 95, 61, 55, 48, 33, 25, 23, 24, 18, 11, 17, 10, 13, 10, 10, 11, 11, 86, 24, 27, 29, 49, 62, 55, 54, 34, 19, 40, 39, 66, 71, 79, 73, 85, 95, 110, 129, 128, 108, 102, 66, 61, 44, 25, 22, 14, 33, 12, 18, 15, 25, 25, 33, 25, 25, 10, 10, 22, 10, 16, 10, 16, 19, 13, 12, 14, 10, 11, 11, 13, 12, 15, 15, 34, 38, 39, 63, 71, 66, 77, 88, 96, 121, 115, 87, 76, 83, 56, 42, 25, 23, 12, 18, 22, 16, 20, 23, 37, 37, 73, 60, 34, 10, 10, 19, 20, 17, 21, 32, 24, 17, 13, 53, 19, 18, 19, 15, 43, 31, 33, 18, 10, 17, 14, 23, 14, 17, 23, 30, 24, 35, 48, 43, 54, 55, 52, 64, 77, 86, 87, 86, 86, 71, 85, 69, 61, 43, 39, 50, 21, 19, 17, 26, 12, 18, 17, 14, 23, 60, 32, 20, 11, 23, 21, 24, 20, 26, 29, 45, 36, 35, 36, 43, 41, 47, 24, 31, 17, 18, 16, 13, 18, 16, 10, 10, 11, 12, 21, 11, 21, 18, 15, 27, 20, 28, 27, 23, 15, 10, 21, 21, 29, 14, 35, 37, 33, 40, 51, 51, 49, 49, 35, 33, 15, 20, 19, 16, 18, 10, 13, 10, 17, 13, 15, 13, 11, 14, 18, 19, 16, 17, 31, 46, 34, 12, 19, 22, 24, 30, 27, 33, 28, 40, 52, 44, 59, 76, 39, 23, 28, 29, 27, 21, 14, 11, 15, 11, 15, 13, 23, 14, 15, 56, 23, 17, 14, 50, 28, 43, 36, 27, 11, 19, 21, 29, 28, 35, 36, 33, 36, 46, 49, 43, 52, 26, 27, 24, 24, 15, 14, 17, 12, 22, 25, 21, 15, 36, 23, 27, 25, 34, 50, 43, 22, 10, 17, 22, 30, 33, 23, 34, 39, 37, 41, 46, 50, 39, 35, 33, 22, 23, 17, 17, 10, 12, 15, 17, 24, 26, 10, 23, 18, 25, 23, 53, 24, 23, 10, 24, 22, 30, 47, 26, 44, 34, 35, 47, 46, 39, 40, 33, 26, 27, 19, 20, 16, 10, 11, 19, 20, 34, 13, 13, 18, 36, 33, 59, 31, 17, 23, 30, 30, 30, 28, 27, 33, 37, 39, 41, 67, 54, 50, 40, 27, 23, 21, 19, 11, 18, 10, 10, 10, 12, 12, 15, 15, 20, 13, 17, 11, 11, 13, 40, 13, 16, 47, 25, 37, 29, 28, 18, 12, 24, 25, 27, 23, 41, 44, 49, 53, 50, 60, 58, 40, 35, 51, 25, 19, 26, 14, 15, 13, 10, 12, 12, 11, 15, 22, 25, 22, 11, 48, 18, 52, 17, 31, 25, 28, 40, 25, 14, 30, 40, 33, 27, 41, 36, 35, 46, 46, 58, 42, 61, 36, 41, 18, 24, 19, 10, 12, 15, 20, 16, 22, 21, 42, 22, 18, 27, 13, 47, 26, 17, 21, 17, 20, 31, 30, 25, 24, 38, 60, 40, 42, 46, 51, 45, 31, 41, 27, 25, 23, 16, 11, 38, 13, 16, 22, 22, 10, 54, 24, 34, 18, 49, 41, 33, 45, 34, 24, 22, 21, 22, 25, 31, 26, 32, 41, 51, 64, 57, 44, 29, 26, 23, 23, 16, 13, 14, 11, 11, 18, 22, 24, 17, 28, 34, 27, 22, 44, 37, 40, 61, 44, 56, 40, 29, 36, 16, 22, 12, 10, 18, 13, 13, 13, 14, 30, 13, 26, 29, 26, 19, 10, 10, 14, 19, 15, 25, 40, 12, 17, 30, 49, 33, 28, 37, 25, 14, 19, 25, 36, 28, 31, 46, 39, 45, 45, 57, 44, 49, 26, 26, 24, 28, 23, 13, 12, 11, 14, 16, 21, 21, 73, 24, 20, 30, 30, 36, 28, 19, 11, 32, 25, 23, 33, 29, 42, 36, 44, 63, 54, 57, 52, 45, 33, 34, 28, 13, 17, 12, 19, 15, 12, 14, 32, 24, 33, 30, 31, 33, 28, 36, 59, 53, 74, 18, 19, 20, 17, 14, 33, 38, 31, 23, 54, 49, 25, 37, 37, 26, 24, 14, 10, 10, 12, 12, 18, 16, 20, 25, 26, 30, 36, 32, 35, 39, 32, 41, 41, 14, 22, 21, 47, 40, 21, 40, 24, 24, 51, 36, 34, 32, 19, 22, 23, 16, 19, 12, 12, 18, 21, 17, 10, 12, 944, 19, 31, 32, 40, 58, 61, 89, 48, 23, 15, 13, 10, 11, 11, 13, 14, 32, 26, 30, 43, 51, 53, 62, 74, 86, 86, 113, 120, 141, 129, 93, 90, 67, 75, 54, 28, 38, 12, 18, 10, 13, 10, 12, 10, 10, 10, 12, 11, 11, 11, 13, 10, 11, 11, 10, 70, 24, 13, 23, 44, 46, 83, 90, 33, 141, 36, 23, 38, 42, 54, 63, 72, 89, 66, 116, 103, 104, 83, 56, 42, 38, 41, 16, 24, 20, 10, 17, 12, 17, 18, 32, 21, 13, 15, 32, 29, 43, 45, 55, 59, 74, 75, 119, 93, 102, 79, 58, 63, 39, 51, 30, 15, 10, 12, 14, 19, 27, 47, 41, 49, 61, 54, 39, 11, 10, 13, 10, 19, 11, 18, 15, 19, 17, 10, 10, 13, 10, 11, 16, 14, 37, 32, 41, 42, 46, 49, 58, 23, 11, 40, 34, 49, 37, 52, 53, 59, 70, 92, 106, 102, 93, 83, 69, 38, 34, 21, 17, 10, 10, 10, 10, 11, 12, 19, 15, 26, 11, 11, 10, 10, 19, 19, 18, 31, 50, 49, 43, 57, 46, 20, 32, 22, 37, 42, 42, 52, 69, 77, 80, 90, 95, 93, 67, 67, 37, 46, 22, 16, 17, 16, 11, 14, 12, 16, 19, 18, 10, 11, 66, 13, 45, 30, 27, 44, 46, 53, 35, 16, 21, 38, 37, 41, 52, 55, 62, 77, 75, 85, 96, 86, 81, 40, 40, 45, 25, 18, 22, 13, 15, 14, 13, 17, 19, 21, 26, 14, 13, 58, 30, 17, 22, 29, 38, 50, 61, 38, 15, 21, 31, 27, 44, 35, 53, 54, 51, 83, 86, 75, 51, 53, 57, 45, 36, 30, 25, 12, 18, 17, 13, 12, 15, 18, 10, 10, 10, 14, 15, 28, 29, 37, 53, 44, 61, 45, 24, 22, 33, 30, 36, 44, 45, 64, 67, 85, 72, 97, 82, 78, 60, 61, 34, 25, 21, 27, 12, 14, 19, 15, 24, 10, 11, 10, 20, 27, 35, 46, 35, 49, 66, 70, 109, 92, 100, 65, 62, 56, 49, 35, 31, 17, 10, 20, 36, 26, 33, 51, 38, 56, 38, 10, 24, 16, 19, 23, 14, 10, 10, 54, 17, 21, 28, 66, 43, 55, 71, 32, 17, 10, 14, 13, 16, 10, 10, 11, 38, 37, 36, 55, 67, 68, 71, 84, 108, 92, 101, 91, 71, 62, 61, 46, 21, 21, 14, 13, 17, 14, 12, 19, 29, 36, 30, 13, 14, 10, 15, 10, 11, 10, 14, 18, 13, 11, 16, 15, 18, 46, 46, 56, 62, 75, 72, 90, 102, 110, 129, 107, 102, 103, 55, 53, 43, 27, 24, 31, 18, 65, 20, 25, 26, 52, 55, 70, 32, 19, 15, 10, 11, 19, 38, 22, 39, 17, 13, 10, 11, 15, 18, 14, 11, 13, 10, 10, 15, 11, 10, 14, 11, 14, 18, 26, 43, 33, 60, 66, 30, 13, 30, 34, 55, 41, 51, 66, 80, 73, 105, 105, 88, 85, 90, 54, 40, 34, 35, 14, 17, 15, 10, 15, 13, 12, 25, 18, 14, 13, 12, 16, 27, 21, 22, 31, 37, 49, 56, 18, 11, 24, 20, 37, 25, 46, 34, 33, 41, 41, 57, 50, 43, 24, 28, 15, 16, 14, 20, 10, 35, 10, 11, 12, 15, 13, 22, 10, 10, 22, 15, 19, 15, 30, 34, 42, 37, 24, 12, 19, 27, 19, 25, 32, 25, 29, 45, 46, 52, 61, 42, 31, 31, 22, 14, 18, 12, 15, 16, 11, 14, 18, 15, 10, 10, 46, 21, 11, 15, 27, 11, 23, 18, 36, 17, 14, 19, 19, 21, 18, 28, 34, 33, 29, 40, 47, 49, 33, 30, 33, 32, 17, 11, 14, 13, 12, 11, 12, 15, 21, 25, 23, 31, 29, 26, 32, 48, 58, 63, 60, 41, 35, 20, 28, 29, 15, 16, 10, 13, 18, 10, 17, 24, 28, 35, 55, 26, 12, 10, 15, 12, 13, 21, 23, 22, 30, 26, 33, 33, 39, 56, 38, 44, 35, 30, 29, 19, 21, 15, 10, 10, 15, 14, 15, 19, 39, 46, 34, 34, 17, 12, 10, 15, 13, 22, 42, 40, 61, 54, 67, 63, 90, 76, 92, 93, 75, 50, 49, 54, 47, 31, 33, 19, 24, 32, 21, 25, 51, 17, 27, 22, 18, 15, 21, 19, 35, 38, 22, 22, 27, 32, 33, 35, 31, 35, 26, 44, 15, 17, 24, 23, 37, 39, 35, 18, 10, 42, 36, 26, 28, 29, 16, 18, 16, 16, 10, 14, 12, 14, 26, 30, 19, 32, 25, 23, 22, 13, 21, 22, 19, 30, 22, 40, 48, 47, 62, 46, 44, 50, 35, 32, 23, 27, 14, 17, 21, 12, 10, 15, 12, 12, 17, 13, 18, 17, 20, 53, 15, 17, 14, 20, 21, 57, 45, 17, 14, 26, 25, 34, 19, 32, 27, 42, 44, 36, 56, 39, 31, 39, 26, 31, 20, 23, 14, 14, 18, 18, 15, 13, 24, 15, 25, 15, 12, 23, 22, 51, 52, 31, 16, 12, 21, 30, 18, 23, 24, 44, 39, 52, 48, 55, 45, 35, 49, 20, 25, 21, 16, 12, 11, 12, 10, 12, 10, 16, 12, 15, 12, 16, 27, 12, 27, 32, 35, 43, 20, 11, 15, 23, 25, 24, 29, 34, 47, 59, 39, 55, 44, 41, 27, 22, 19, 21, 14, 10, 10, 13, 10, 16, 16, 25, 21, 10, 42, 10, 17, 26, 34, 16, 35, 35, 19, 21, 15, 27, 27, 24, 32, 29, 28, 44, 35, 42, 33, 35, 29, 25, 22, 16, 10, 11, 21, 13, 13, 12, 28, 11, 11, 10, 15, 37, 24, 35, 13, 11, 17, 32, 24, 37, 32, 32, 46, 45, 37, 34, 54, 40, 36, 22, 31, 20, 18, 11, 19, 12, 11, 13, 26, 10, 22, 22, 24, 30, 38, 58, 46, 16, 13, 20, 13, 37, 15, 24, 23, 43, 22, 37, 48, 49, 30, 43, 32, 20, 20, 13, 15, 11, 15, 12, 21, 26, 16, 24, 24, 23, 36, 45, 29, 45, 42, 15, 17, 12, 19, 26, 36, 41, 38, 14, 42, 34, 45, 28, 22, 19, 11, 19, 10, 12, 11, 10, 22, 18, 34, 10, 27, 32, 35, 46, 39, 20, 13, 20, 26, 24, 22, 21, 33, 36, 46, 46, 57, 50, 26, 36, 24, 21, 24, 10, 11, 12, 18, 13, 19, 18, 25, 24, 18, 20, 30, 39, 37, 45, 41, 15, 13, 28, 33, 22, 29, 27, 30, 12, 52, 37, 35, 31, 16, 20, 12, 13, 10, 10, 10, 17, 17, 18, 16, 16, 28, 13, 27, 32, 39, 40, 40, 30, 42, 37, 14, 16, 14, 10, 14, 19, 11, 10, 19, 22, 30, 28, 12, 12, 10, 20, 11, 10, 26, 19, 17, 31, 26, 25, 32, 42, 34, 55, 71, 45, 27, 23, 10, 14, 12, 10, 18, 10, 14, 34, 16, 16, 20, 11, 15, 14, 27, 13476, 375, 67, 74, 56, 31, 110, 246, 64, 99, 69, 78, 25, 67, 38, 36, 33, 41, 46, 32, 28, 13, 36, 36, 40, 20, 31, 34, 31, 20, 13, 14, 10, 13, 14, 10, 10, 11, 13, 13, 14, 10, 14, 16, 11, 14, 42, 312, 14, 178, 11, 39, 14, 12, 22, 10, 16, 13, 10, 59, 10, 41, 11, 21, 10, 16, 21, 27, 26, 33, 37, 26, 27, 35, 41, 43, 47, 55, 54, 68, 70, 71, 98, 61, 86, 45, 55, 59, 39, 53, 35, 33, 12, 10, 10, 11, 14, 16, 12, 16, 16, 27, 20, 11, 11, 251, 12, 14, 26, 21, 13, 10, 13, 14, 17, 11, 12, 27, 103, 14, 12, 10, 22, 15, 18, 18, 17, 14, 18, 12, 10, 10, 36, 106, 62, 12, 13, 12, 28, 15, 10, 11, 19, 13, 15, 13, 15, 12, 15, 10, 11, 11, 10, 39, 11, 20, 10, 18, 19, 15, 29, 36, 47, 17, 37, 34, 10, 12, 11, 27, 16, 15, 12, 18, 17, 23, 20, 20, 15, 43, 14, 19, 19, 20, 23, 15, 10, 20, 15, 16, 22, 12, 13, 54, 21, 12, 13, 12, 11, 16, 34, 15, 12, 29, 15, 12, 12, 12, 16, 37, 21, 35, 36, 31, 21, 12, 25, 28, 32, 55, 39, 56, 52, 82, 85, 110, 93, 84, 78, 96, 48, 43, 23, 17, 14, 14, 10, 13, 15, 14, 16, 23, 11, 13, 11, 15, 14, 30, 25, 33, 35, 62, 50, 55, 68, 105, 102, 82, 83, 61, 62, 47, 32, 26, 14, 12, 10, 14, 22, 18, 24, 25, 21, 26, 11, 13, 15, 11, 10, 13, 13, 15, 24, 17, 14, 12, 10, 12, 23, 28, 39, 35, 48, 49, 65, 78, 95, 88, 87, 89, 85, 72, 57, 63, 42, 19, 14, 11, 12, 14, 18, 13, 13, 11, 10, 22, 28, 53, 26, 17, 10, 14, 20, 16, 21, 21, 25, 28, 36, 36, 58, 39, 61, 53, 66, 10, 19, 12, 17, 27, 30, 39, 20, 11, 76, 64, 55, 61, 42, 30, 26, 16, 11, 10, 12, 37, 12, 13, 10, 11, 12, 13, 11, 11, 16, 12, 11, 11, 10, 10, 12, 24, 18, 38, 42, 52, 61, 82, 79, 93, 84, 95, 72, 74, 50, 58, 38, 25, 16, 15, 13, 22, 13, 17, 22, 40, 28, 29, 22, 13, 18, 14, 29, 13, 10, 10, 23, 31, 35, 34, 39, 44, 72, 91, 75, 88, 20, 12, 13, 99, 77, 85, 71, 52, 42, 18, 13, 11, 19, 16, 12, 27, 41, 33, 12, 18, 12, 16, 12, 13, 12, 13, 21, 12, 16, 12, 11, 13, 12, 10, 10, 30, 25, 33, 37, 48, 57, 66, 75, 85, 126, 76, 71, 54, 56, 41, 24, 23, 16, 12, 15, 18, 28, 19, 29, 22, 11, 13, 10, 14, 14, 15, 10, 13, 10, 11, 10, 18, 22, 24, 29, 43, 44, 58, 57, 67, 83, 14, 18, 12, 15, 35, 26, 27, 22, 12, 91, 69, 72, 45, 40, 34, 26, 17, 19, 10, 13, 12, 21, 20, 12, 18, 17, 18, 32, 29, 41, 50, 66, 84, 72, 116, 87, 17, 12, 25, 24, 17, 45, 23, 25, 12, 87, 67, 72, 57, 49, 36, 21, 18, 10, 12, 15, 11, 12, 15, 17, 13, 12, 11, 12, 13, 19, 18, 16, 11, 87, 59, 18, 24, 18, 14, 13, 12, 10, 13, 21, 13, 30, 10, 22, 12, 11, 12, 12, 10, 11, 22, 16, 10, 11, 15, 15, 25, 45, 40, 35, 39, 48, 65, 65, 85, 110, 93, 115, 73, 67, 43, 46, 32, 28, 10, 10, 12, 30, 18, 17, 19, 26, 48, 63, 36, 18, 12, 17, 17, 20, 18, 15, 11, 10, 10, 31, 16, 12, 12, 14, 18, 24, 14, 19, 21, 30, 41, 42, 46, 18, 35, 26, 43, 47, 62, 81, 82, 95, 101, 99, 95, 91, 91, 79, 47, 49, 24, 14, 13, 17, 10, 12, 10, 15, 20, 20, 25, 21, 21, 22, 23, 13, 13, 15, 15, 35, 13, 10, 19, 10, 103, 82, 73, 74, 62, 47, 21, 12, 13, 20, 28, 41, 52, 49, 57, 94, 86, 88, 106, 22, 14, 29, 28, 20, 34, 29, 36, 11, 15, 11, 17, 12, 26, 27, 21, 13, 24, 23, 19, 13, 39, 36, 47, 41, 69, 92, 88, 95, 74, 90, 82, 58, 81, 66, 70, 51, 26, 32, 16, 15, 13, 11, 10, 18, 21, 22, 34, 22, 24, 14, 11, 11, 10, 22, 26, 14, 10, 10, 11, 983, 2553, 608, 358, 373, 560, 262, 380, 425, 100, 381, 356, 191, 166, 477, 43, 182, 39, 12, 13, 181, 115, 58, 184, 222, 280, 14, 80, 76, 66, 23, 22, 18, 174, 26, 15, 14, 18, 11, 27, 20, 29, 98, 30, 46, 15, 35, 12, 10, 12, 25, 16, 20, 14, 22, 36, 53, 37, 42, 26, 10, 10, 11, 13, 14, 22, 27, 19, 32, 15, 20, 13, 17, 16, 10, 2466, 11, 23, 11, 10, 13, 13, 18, 11, 20, 10, 15, 18, 10, 11, 24, 207, 24, 12, 28, 14, 10, 15, 13, 10, 13, 13, 12, 13, 17, 11, 12, 14, 13, 28, 30, 32, 11, 11, 16, 20, 50, 10, 13, 10, 19, 12, 14, 17, 14, 11, 12, 26, 10, 23, 80, 24, 133, 48, 31, 12, 14, 25, 39, 18, 14, 20, 18, 23, 24, 19, 16, 11, 31, 13, 11, 13, 19, 20, 20, 11, 11, 14, 12, 10, 11, 15, 22, 17, 13, 10, 11, 14, 24, 12, 76, 18, 14, 11, 12, 218, 11, 42, 17, 13, 174, 64, 22, 10, 40, 12, 27, 11, 10, 16, 10, 12, 17, 12, 13, 10, 13, 12, 18, 38, 27, 32, 15, 11, 38, 24, 20, 14, 13, 10, 10, 13, 12, 20, 19, 16, 45, 38, 34, 21, 12, 19, 10, 11, 13, 28, 27, 41, 38, 54, 82, 80, 51, 100, 103, 93, 66, 75, 60, 48, 56, 16, 13, 11, 11, 15, 11, 11, 14, 15, 15, 19, 21, 29, 40, 36, 37, 38, 40, 71, 64, 15, 17, 15, 20, 20, 15, 23, 30, 16, 13, 12, 14, 10, 83, 67, 50, 58, 59, 30, 21, 17, 10, 13, 13, 10, 13, 11, 14, 14, 10, 12, 19, 24, 34, 36, 37, 33, 51, 52, 82, 81, 95, 25, 21, 17, 17, 10, 30, 34, 20, 102, 76, 63, 65, 48, 42, 18, 18, 12, 13, 16, 13, 14, 13, 25, 22, 18, 36, 25, 37, 23, 58, 69, 54, 82, 105, 87, 59, 62, 53, 34, 33, 30, 12, 12, 10, 11, 13, 10, 10, 12, 11, 19, 25, 21, 28, 14, 12, 12, 11, 13, 19, 11, 21, 28, 29, 36, 41, 46, 78, 92, 79, 93, 14, 12, 17, 24, 25, 29, 21, 13, 14, 90, 71, 65, 40, 32, 36, 23, 10, 15, 11, 11, 15, 11, 15, 16, 16, 12, 10, 13, 22, 23, 37, 37, 41, 56, 56, 78, 91, 77, 91, 71, 88, 57, 42, 29, 20, 10, 14, 10, 13, 19, 13, 28, 28, 37, 17, 13, 10, 12, 11, 13, 10, 14, 17, 17, 15, 20, 26, 25, 52, 45, 43, 74, 88, 71, 71, 73, 51, 54, 37, 30, 33, 10, 10, 18, 11, 26, 16, 16, 38, 30, 16, 10, 10, 13, 16, 13, 16, 12, 27, 26, 23, 33, 36, 57, 63, 57, 65, 103, 12, 11, 11, 15, 14, 24, 17, 22, 17, 10, 10, 11, 91, 73, 50, 50, 41, 34, 21, 11, 11, 15, 11, 11, 20, 24, 22, 23, 37, 51, 47, 59, 66, 67, 12, 14, 10, 17, 15, 20, 33, 30, 21, 76, 63, 76, 56, 38, 30, 16, 20, 10, 13, 10, 13, 13, 13, 19, 11, 43, 16, 19, 17, 13, 10, 12, 10, 18, 18, 27, 32, 31, 44, 49, 73, 69, 87, 112, 94, 89, 68, 81, 56, 28, 31, 21, 10, 14, 11, 66, 15, 18, 37, 38, 62, 58, 52, 18, 22, 16, 20, 22, 20, 10, 15, 10, 12, 14, 10, 13, 16, 16, 10, 10, 10, 23, 15, 15, 12, 12, 20, 26, 33, 34, 36, 52, 77, 78, 69, 92, 110, 18, 11, 20, 25, 18, 36, 47, 36, 33, 123, 89, 62, 57, 66, 25, 31, 14, 19, 14, 24, 15, 23, 13, 11, 11, 18, 11, 24, 29, 10, 31, 11, 10, 13, 14, 12, 10, 80, 91, 80, 74, 56, 28, 24, 20, 25, 30, 50, 42, 52, 69, 76, 86, 113, 94, 16, 15, 14, 27, 40, 58, 49, 15, 21, 15, 18, 13, 12, 12, 10, 15, 14, 12, 24, 24, 29, 41, 24, 49, 44, 52, 54, 70, 84, 93, 86, 73, 75, 69, 57, 46, 60, 33, 23, 14, 16, 12, 12, 14, 24, 19, 12, 17, 46, 15, 10, 10, 11, 10, 12, 12, 10, 11, 11, 11, 12, 11, 13, 22, 11, 68, 10, 16, 10, 16, 24, 48, 14, 27, 63, 15, 25, 68, 59, 2388, 27, 28, 37, 36, 40, 78, 52, 42, 35, 25, 17, 29, 21, 26, 19, 12, 20, 12, 14, 52, 25, 28, 22, 16, 16, 23, 14, 11, 57, 13, 13, 17, 16, 10, 15, 13, 15, 11, 13, 10, 12, 12, 47, 173, 10, 14, 20, 21, 11, 24, 34, 22, 19, 12, 15, 16, 18, 13, 11, 49, 59, 10, 28, 20, 16, 19, 11, 11, 22, 14, 17, 11, 13, 10, 13, 13, 40, 11, 20, 13, 30, 18, 11, 16, 11, 10, 10, 24, 20, 17, 17, 15, 15, 10, 11, 30, 10, 16, 11, 27, 14, 32, 23, 22, 14, 11, 12, 16, 10, 10, 11, 13, 57, 20, 13, 10, 20, 32, 37, 16, 12, 15, 45, 40, 10, 17, 10, 29, 10, 15, 19, 17, 23, 11, 11, 11, 12, 34, 13, 13, 11, 13, 10, 34, 11, 20, 12, 12, 12, 10, 15, 10, 14, 15, 61, 24, 10, 10, 20, 10, 45, 17, 15, 11, 11, 35, 12, 13, 13, 27, 13, 24, 32, 13, 10, 10, 12, 12, 12, 10, 12, 23, 26, 17, 15, 18, 20, 45, 13, 10, 15, 16, 15, 13, 15, 14, 13, 12, 12, 13, 16, 16, 11, 11, 11, 12, 12, 14, 35, 10, 11, 12, 13, 12, 10, 12, 10, 14, 10, 33, 12, 10, 16, 22, 10, 11, 37, 11, 139, 21, 17, 16, 18, 118, 12, 16, 16, 14, 13, 161, 26, 43, 15, 15, 387, 129, 14, 21, 20, 31, 12, 12, 14, 15, 30, 29, 12, 20, 19, 21, 20, 20, 20, 22, 10, 10, 12, 25, 19, 19, 23, 12, 16, 14, 15, 20, 12, 14, 11, 18, 14, 20, 16, 17, 10, 11, 24, 24, 21, 40, 35, 51, 73, 84, 83, 90, 33, 18, 17, 24, 32, 40, 31, 23, 44, 14, 74, 73, 62, 55, 40, 24, 27, 10, 25, 11, 10, 13, 20, 18, 32, 21, 15, 15, 15, 15, 19, 16, 24, 16, 18, 16, 17, 16, 22, 15, 13, 14, 12, 18, 11, 16, 24, 11, 13, 16, 35, 34, 40, 59, 49, 57, 58, 87, 108, 32, 19, 17, 15, 23, 22, 31, 48, 34, 11, 89, 63, 54, 58, 48, 32, 15, 14, 13, 13, 11, 18, 11, 10, 13, 10, 10, 12, 15, 19, 17, 18, 19, 13, 11, 10, 11, 20, 19, 11, 13, 15, 15, 14, 23, 40, 29, 16, 28, 28, 41, 58, 38, 28, 19, 19, 37, 31, 24, 41, 52, 81, 96, 90, 90, 82, 72, 76, 53, 50, 35, 19, 17, 16, 10, 14, 11, 10, 10, 12, 17, 21, 22, 12, 13, 10, 16, 29, 12, 11, 10, 11, 12, 18, 20, 11, 20, 11, 12, 12, 45, 14, 10, 25, 18, 28, 48, 35, 20, 11, 24, 23, 37, 30, 39, 55, 70, 67, 94, 85, 72, 80, 67, 49, 44, 33, 13, 15, 11, 10, 18, 10, 20, 21, 27, 13, 13, 11, 10, 15, 14, 15, 15, 10, 30, 13, 10, 18, 10, 10, 19, 83, 14, 37, 18, 26, 32, 35, 35, 25, 17, 21, 16, 32, 33, 48, 42, 48, 48, 57, 84, 84, 60, 64, 54, 28, 48, 18, 15, 24, 14, 17, 15, 18, 11, 12, 15, 17, 11, 13, 11, 12, 11, 10, 14, 10, 10, 13, 10, 18, 11, 23, 29, 24, 17, 27, 32, 18, 13, 33, 22, 26, 39, 48, 49, 76, 60, 79, 110, 82, 73, 49, 56, 43, 28, 23, 21, 10, 10, 10, 15, 15, 17, 19, 15, 11, 13, 11, 11, 12, 13, 13, 15, 15, 15, 25, 19, 15, 18, 41, 34, 39, 33, 28, 14, 11, 10, 10, 11, 10, 17, 27, 29, 43, 35, 56, 73, 55, 89, 80, 101, 52, 66, 50, 45, 27, 23, 15, 11, 10, 10, 10, 13, 10, 10, 10, 14, 13, 21, 10, 10, 12, 10, 15, 13, 15, 12, 13, 27, 18, 35, 33, 65, 63, 55, 58, 69, 48, 12, 20, 33, 23, 25, 29, 25, 19, 75, 67, 60, 53, 51, 31, 23, 14, 11, 11, 11, 17, 16, 10, 12, 16, 14, 17, 10, 10, 20, 11, 13, 12, 32, 24, 20, 20, 13, 28, 40, 35, 25, 16, 16, 27, 43, 36, 43, 36, 55, 88, 67, 78, 68, 65, 54, 59, 31, 21, 26, 14, 18, 13, 18, 13, 12, 12, 10, 214, 18, 26, 11, 24, 26, 27, 28, 12, 24, 13, 10, 17, 50, 12, 16, 10, 19, 13, 39, 33, 42, 47, 72, 71, 80, 79, 115, 92, 100, 61, 62, 66, 46, 35, 25, 10, 10, 14, 27, 17, 14, 21, 22, 37, 44, 38, 13, 40, 13, 23, 22, 11, 15, 12, 12, 19, 17, 21, 10, 15, 12, 11, 13, 18, 18, 14, 11, 23, 22, 11, 36, 26, 32, 47, 50, 49, 67, 69, 102, 83, 10, 50, 32, 32, 23, 31, 34, 35, 25, 80, 82, 72, 56, 44, 33, 28, 11, 10, 10, 11, 13, 12, 17, 21, 18, 19, 11, 18, 10, 10, 21, 10, 12, 16, 10, 12, 11, 12, 22, 100, 90, 86, 54, 33, 35, 22, 10, 14, 23, 41, 32, 40, 51, 67, 83, 76, 86, 101, 16, 14, 33, 20, 30, 24, 33, 35, 14, 11, 21, 19, 11, 20, 12, 13, 19, 27, 16, 30, 26, 33, 27, 34, 59, 70, 93, 63, 73, 43, 54, 53, 50, 55, 52, 22, 15, 12, 13, 11, 14, 16, 22, 23, 15, 16, 16, 10, 10, 11, 15, 1610, 24, 11, 14, 13, 13, 15, 12, 13, 18, 17, 31, 52, 23, 13, 12, 26, 11, 36, 19, 15, 11, 20, 21, 46, 29, 40, 40, 30, 25, 18, 15, 10, 12, 12, 12, 32, 151, 11, 22, 11, 15, 13, 10, 13, 11, 10, 13, 12, 13, 12, 10, 11, 12, 11, 33, 10, 18, 15, 13, 13, 21, 14, 14, 19, 22, 19, 12, 16, 19, 15, 13, 13, 12, 29, 22, 11, 11, 17, 12, 13, 20, 22, 13, 10, 13, 17, 12, 11, 10, 12, 44, 18, 10, 14, 23, 17, 31, 33, 37, 50, 68, 48, 95, 102, 36, 23, 25, 25, 34, 40, 29, 15, 88, 58, 75, 60, 62, 47, 37, 15, 14, 13, 14, 16, 22, 14, 14, 13, 17, 11, 16, 13, 13, 13, 28, 29, 37, 26, 63, 56, 57, 79, 90, 85, 99, 90, 93, 56, 25, 36, 20, 22, 14, 18, 12, 12, 11, 30, 30, 44, 26, 15, 10, 13, 10, 17, 21, 11, 11, 21, 16, 19, 11, 14, 11, 28, 29, 35, 36, 36, 46, 50, 66, 100, 76, 12, 13, 11, 19, 12, 34, 49, 40, 17, 74, 74, 67, 53, 42, 31, 26, 13, 13, 15, 12, 10, 12, 10, 12, 11, 12, 14, 10, 11, 17, 12, 10, 12, 10, 10, 86, 85, 66, 54, 39, 38, 35, 16, 13, 12, 22, 25, 27, 36, 48, 47, 70, 87, 60, 12, 16, 24, 18, 32, 35, 26, 25, 13, 14, 10, 11, 15, 12, 17, 10, 10, 10, 14, 28, 20, 26, 24, 32, 28, 13, 22, 17, 23, 40, 40, 64, 58, 51, 101, 92, 78, 64, 61, 43, 58, 42, 33, 14, 10, 10, 14, 13, 14, 18, 11, 13, 14, 12, 19, 10, 25, 18, 26, 36, 46, 58, 71, 82, 106, 114, 83, 75, 72, 56, 61, 35, 22, 17, 12, 11, 12, 15, 14, 14, 22, 15, 18, 13, 23, 13, 41, 33, 25, 16, 11, 18, 19, 16, 14, 13, 16, 16, 10, 17, 21, 30, 32, 63, 64, 55, 62, 81, 91, 16, 10, 14, 17, 27, 29, 35, 19, 20, 14, 10, 10, 15, 12, 92, 80, 70, 64, 44, 25, 23, 20, 15, 14, 16, 13, 16, 20, 22, 22, 18, 26, 42, 31, 34, 53, 67, 74, 75, 82, 17, 11, 10, 16, 90, 75, 59, 64, 38, 36, 34, 18, 14, 13, 14, 15, 29, 38, 35, 24, 13, 11, 10, 10, 14, 16, 21, 37, 30, 37, 49, 73, 61, 78, 99, 104, 12, 14, 14, 12, 97, 77, 74, 43, 37, 35, 16, 12, 24, 20, 22, 40, 35, 10, 16, 13, 16, 25, 18, 20, 17, 14, 10, 11, 17, 16, 11, 13, 96, 11, 15, 13, 12, 15, 14, 17, 110, 91, 73, 58, 46, 33, 30, 15, 23, 25, 40, 36, 44, 61, 57, 64, 87, 121, 113, 52, 12, 20, 38, 25, 31, 41, 26, 14, 24, 20, 13, 92, 10, 12, 11, 23, 30, 19, 20, 10, 11, 10, 10, 11, 14, 15, 12, 10, 39, 14, 13, 17, 12, 18, 19, 23, 31, 42, 47, 63, 84, 84, 93, 103, 98, 107, 80, 82, 90, 48, 27, 22, 14, 14, 11, 15, 12, 14, 26, 18, 41, 32, 32, 24, 11, 11, 14, 10, 16, 13, 21, 15, 16, 16, 27, 10, 20, 13, 11, 13, 22, 32, 11, 19, 10, 19, 14, 14, 34, 34, 63, 47, 70, 68, 97, 89, 114, 108, 97, 60, 85, 57, 35, 36, 25, 17, 12, 16, 26, 13, 40, 21, 25, 39, 49, 51, 16, 11, 16, 15, 12, 12, 16, 13, 24, 31, 23, 23, 16, 22, 20, 12, 25, 32, 45, 51, 59, 72, 78, 76, 58, 89, 10, 26, 12, 12, 24, 20, 25, 23, 26, 56, 70, 68, 64, 51, 50, 36, 29, 11, 14, 11, 13, 18, 18, 10, 10, 12, 13, 10, 14, 4643, 11, 20, 31, 11, 17, 19, 14, 20, 11, 18, 32, 10, 22, 22, 13, 22, 29, 35, 21, 26, 19, 26, 10, 22, 18, 11, 10, 11, 10, 13, 17, 13, 75, 16, 11, 20, 11, 392, 15, 10, 107, 18, 15, 24, 14, 36, 18, 16, 12, 11, 11, 511, 21, 53, 42, 33, 16, 51, 59, 15, 11, 64, 17, 209, 13, 10, 26, 25, 57, 10, 10, 27, 16, 10, 12, 12, 11, 11, 11, 11, 10, 11, 19, 21, 11, 14, 10, 10, 22, 17, 18, 16, 20, 18, 13, 11, 10, 13, 10, 13, 12, 11, 12, 69, 74, 68, 64, 52, 43, 31, 11, 10, 15, 10, 11, 19, 21, 28, 38, 41, 18, 14, 25, 27, 21, 31, 37, 61, 61, 71, 62, 81, 14, 14, 11, 10, 13, 15, 12, 20, 10, 10, 11, 12, 19, 10, 11, 10, 16, 14, 24, 23, 30, 35, 49, 61, 68, 81, 86, 90, 11, 17, 20, 20, 22, 24, 37, 15, 16, 88, 88, 66, 58, 48, 46, 31, 19, 10, 12, 12, 10, 14, 16, 25, 25, 20, 14, 19, 10, 14, 21, 31, 35, 29, 21, 14, 31, 36, 48, 33, 43, 51, 83, 85, 107, 72, 85, 74, 80, 67, 50, 38, 33, 17, 13, 17, 13, 10, 10, 14, 11, 11, 14, 12, 22, 12, 15, 16, 10, 15, 13, 13, 15, 12, 11, 12, 21, 28, 33, 25, 55, 56, 59, 70, 71, 76, 103, 59, 101, 57, 52, 41, 29, 10, 12, 13, 24, 23, 40, 46, 24, 17, 15, 15, 10, 14, 13, 14, 16, 12, 18, 15, 10, 12, 10, 19, 10, 10, 17, 21, 26, 43, 30, 14, 21, 35, 34, 36, 48, 74, 73, 96, 87, 86, 88, 58, 68, 68, 40, 26, 21, 13, 17, 13, 11, 13, 10, 13, 15, 21, 19, 11, 17, 17, 21, 19, 26, 32, 38, 21, 10, 19, 23, 33, 37, 38, 56, 69, 70, 93, 101, 98, 72, 85, 73, 51, 57, 22, 19, 12, 12, 10, 11, 13, 13, 21, 17, 10, 11, 10, 18, 10, 29, 19, 38, 50, 44, 58, 79, 66, 91, 90, 16, 16, 22, 18, 16, 22, 28, 23, 12, 12, 105, 69, 64, 59, 57, 33, 33, 10, 20, 14, 10, 11, 10, 14, 24, 17, 15, 30, 28, 31, 43, 66, 64, 63, 81, 113, 21, 11, 13, 17, 16, 29, 34, 36, 16, 14, 10, 77, 47, 60, 53, 43, 46, 22, 23, 10, 11, 15, 14, 17, 10, 10, 11, 61, 11, 10, 27, 20, 28, 35, 31, 47, 61, 61, 70, 72, 14, 14, 14, 21, 29, 38, 24, 20, 73, 67, 63, 52, 43, 49, 26, 11, 13, 11, 12, 12, 12, 12, 19, 11, 16, 28, 15, 12, 17, 68, 33, 14, 10, 12, 12, 50, 11, 11, 10, 14, 15, 13, 10, 32, 19, 30, 20, 17, 47, 43, 28, 19, 19, 25, 43, 31, 48, 55, 78, 98, 124, 88, 22, 25, 21, 17, 28, 17, 14, 16, 10, 11, 19, 22, 18, 14, 16, 80, 83, 70, 72, 56, 33, 24, 10, 25, 13, 12, 11, 12, 85, 70, 61, 51, 34, 33, 21, 14, 11, 15, 14, 15, 11, 23, 20, 22, 32, 45, 46, 57, 78, 84, 87, 17, 19, 17, 19, 32, 27, 15, 14, 18, 17, 21, 14, 14, 19, 14, 13, 11, 10, 10, 11, 12, 11, 16, 16, 32, 30, 39, 36, 50, 77, 80, 64, 89, 75, 13, 13, 13, 19, 20, 21, 36, 39, 24, 108, 88, 79, 71, 56, 31, 21, 10, 10, 11, 15, 18, 25, 18, 21, 12, 16, 43, 22, 36, 34, 50, 49, 66, 78, 74, 68, 65, 64, 59, 53, 54, 40, 32, 17, 10, 10, 14, 10, 15, 16, 19, 19, 14, 18, 13, 11, 12, 11, 2068, 19, 18, 10, 10, 14, 15, 10, 12, 11, 20, 21, 12, 11, 11, 30, 20, 11, 21, 16, 22, 39, 20, 29, 49, 33, 14, 16, 13, 16, 17, 10, 11, 11, 16, 13, 15, 24, 13, 10, 42, 27, 20, 24, 13, 19, 15, 15, 15, 12, 10, 18, 25, 10, 471, 18, 226, 18, 20, 12, 17, 10, 15, 12, 11, 15, 13, 26, 44, 28, 24, 18, 14, 27, 24, 18, 24, 22, 10, 12, 11, 21, 10, 13, 11, 10, 11, 12, 21, 11, 14, 15, 14, 13, 14, 15, 13, 12, 23, 11, 10, 11, 14, 17, 14, 136, 67, 24, 12, 12, 17, 14, 11, 12, 10, 10, 18, 10, 13, 20, 23, 22, 12, 18, 10, 12, 11, 11, 12, 10, 13, 13, 13, 11, 11, 12, 10, 10, 13, 10, 11, 17, 12, 10, 10, 11, 13, 19, 26, 29, 38, 41, 45, 56, 65, 90, 77, 51, 44, 64, 55, 37, 24, 19, 11, 10, 15, 19, 20, 24, 27, 37, 20, 14, 10, 13, 10, 12, 15, 11, 14, 13, 25, 24, 34, 26, 55, 45, 60, 76, 67, 80, 11, 15, 12, 36, 23, 29, 28, 14, 94, 70, 58, 42, 55, 31, 23, 12, 10, 10, 18, 10, 10, 17, 11, 13, 18, 18, 11, 11, 10, 15, 11, 14, 19, 18, 25, 24, 31, 42, 56, 52, 69, 68, 77, 57, 73, 46, 53, 41, 34, 15, 11, 17, 20, 18, 19, 29, 44, 23, 11, 12, 11, 13, 10, 14, 16, 36, 25, 50, 42, 35, 47, 60, 83, 100, 18, 11, 10, 15, 16, 21, 35, 24, 20, 108, 78, 72, 70, 47, 33, 11, 11, 14, 10, 14, 15, 16, 10, 13, 16, 18, 18, 33, 30, 36, 37, 49, 80, 77, 79, 83, 93, 81, 61, 62, 41, 22, 19, 19, 16, 11, 11, 13, 17, 33, 36, 19, 15, 12, 11, 11, 11, 10, 12, 17, 10, 11, 13, 11, 17, 13, 19, 23, 52, 36, 40, 45, 53, 75, 98, 71, 66, 81, 62, 57, 36, 34, 22, 13, 15, 14, 10, 22, 21, 44, 26, 20, 10, 10, 12, 17, 13, 12, 15, 13, 14, 18, 10, 22, 10, 11, 14, 12, 20, 26, 25, 16, 13, 15, 18, 19, 20, 26, 46, 42, 53, 53, 56, 60, 71, 70, 67, 44, 46, 26, 21, 20, 11, 11, 30, 12, 11, 14, 10, 10, 12, 10, 21, 24, 23, 33, 36, 55, 48, 66, 100, 88, 79, 50, 58, 58, 42, 30, 25, 11, 12, 12, 16, 24, 24, 25, 14, 26, 15, 10, 13, 10, 15, 13, 15, 19, 16, 23, 34, 33, 27, 51, 46, 60, 71, 65, 90, 12, 15, 15, 13, 24, 24, 24, 14, 79, 74, 58, 45, 44, 27, 26, 10, 10, 11, 12, 13, 13, 14, 16, 16, 12, 13, 27, 14, 11, 10, 19, 19, 23, 12, 10, 26, 29, 28, 46, 49, 69, 75, 75, 82, 119, 11, 12, 11, 15, 24, 26, 40, 31, 16, 97, 105, 82, 54, 71, 38, 33, 13, 14, 14, 21, 20, 18, 15, 14, 10, 11, 18, 22, 18, 10, 10, 15, 11, 11, 10, 19, 12, 12, 20, 33, 35, 45, 33, 44, 58, 57, 84, 78, 92, 28, 11, 22, 22, 37, 43, 36, 29, 17, 91, 68, 66, 45, 50, 27, 26, 13, 11, 11, 13, 12, 14, 14, 21, 19, 19, 12, 22, 16, 15, 12, 13, 13, 14, 23, 45, 40, 48, 66, 43, 80, 76, 100, 88, 72, 85, 84, 64, 57, 43, 17, 15, 10, 10, 23, 13, 17, 32, 32, 49, 27, 14, 16, 26, 11, 16, 12, 13, 12, 22, 24, 22, 31, 33, 39, 47, 54, 57, 75, 77, 65, 86, 84, 70, 65, 72, 54, 58, 45, 27, 13, 14, 12, 11, 12, 20, 23, 21, 16, 13, 26, 12, 47, 237, 13, 26, 16, 31, 43, 54, 32, 40, 24, 12, 15, 14, 16, 18, 12, 13, 11, 10, 17, 12, 10, 1438, 18, 10, 12, 12, 11, 10, 11, 10, 19, 18, 11, 11, 41, 15, 10, 10, 11, 13, 28, 24, 31, 14, 14, 12, 15, 13, 13, 16, 24, 10, 2489, 48, 73, 23, 11, 40, 24, 11, 19, 11, 10, 33, 73, 14, 22, 12, 70, 142, 34, 83, 17, 10, 23, 51, 25, 10, 11, 16, 24, 22, 34, 11, 12, 19, 52, 19, 15, 20, 20, 13, 28, 10, 14, 19, 15, 11, 14, 162, 11, 55, 15, 10, 10, 14, 10, 11, 15, 21, 22, 55, 25, 13, 10, 17, 31, 24, 36, 39, 62, 83, 64, 93, 78, 85, 105, 62, 59, 38, 37, 22, 15, 12, 13, 11, 10, 18, 14, 17, 10, 14, 11, 12, 23, 15, 19, 23, 32, 32, 53, 69, 49, 59, 10, 13, 12, 17, 11, 19, 33, 23, 18, 77, 59, 64, 52, 34, 41, 16, 19, 12, 12, 12, 14, 11, 11, 10, 15, 15, 28, 33, 52, 38, 60, 62, 76, 78, 85, 71, 51, 66, 51, 27, 23, 10, 11, 13, 16, 25, 19, 29, 17, 13, 10, 12, 10, 14, 14, 11, 23, 15, 30, 25, 34, 37, 49, 47, 64, 61, 78, 67, 74, 61, 45, 41, 20, 25, 15, 10, 13, 10, 21, 21, 22, 23, 11, 10, 11, 15, 17, 16, 13, 10, 14, 10, 19, 11, 20, 17, 29, 38, 52, 59, 50, 72, 82, 15, 12, 12, 57, 62, 70, 53, 53, 27, 32, 17, 10, 13, 26, 23, 44, 25, 14, 12, 10, 12, 10, 11, 10, 23, 29, 34, 43, 50, 63, 59, 65, 78, 78, 10, 10, 20, 14, 18, 22, 21, 21, 84, 68, 47, 37, 48, 18, 31, 12, 12, 16, 11, 10, 11, 10, 17, 10, 15, 17, 13, 12, 27, 24, 29, 36, 58, 54, 42, 65, 80, 13, 11, 19, 14, 16, 19, 27, 24, 76, 69, 47, 42, 36, 35, 24, 13, 13, 10, 11, 11, 20, 17, 31, 35, 34, 23, 44, 57, 51, 78, 70, 12, 13, 11, 18, 25, 22, 25, 36, 11, 80, 61, 58, 45, 36, 33, 31, 16, 15, 12, 16, 15, 18, 11, 11, 33, 18, 18, 27, 31, 42, 43, 46, 87, 76, 10, 11, 15, 20, 20, 31, 37, 26, 81, 72, 49, 60, 27, 34, 22, 13, 16, 12, 15, 10, 15, 12, 10, 14, 18, 14, 17, 29, 29, 34, 49, 46, 66, 68, 58, 87, 11, 12, 17, 26, 29, 42, 28, 16, 76, 58, 71, 52, 47, 47, 24, 15, 21, 16, 26, 20, 21, 11, 13, 15, 12, 13, 10, 11, 11, 11, 13, 21, 26, 29, 39, 26, 50, 47, 77, 67, 98, 95, 13, 16, 21, 24, 19, 22, 19, 39, 10, 101, 94, 65, 69, 63, 39, 27, 19, 17, 18, 14, 16, 11, 10, 14, 21, 18, 13, 10, 11, 25, 10, 18, 15, 29, 36, 35, 37, 50, 55, 70, 79, 115, 78, 85, 86, 81, 72, 64, 31, 22, 16, 11, 21, 16, 36, 38, 32, 32, 23, 17, 21, 12, 10, 11, 11, 17, 12, 21, 36, 37, 35, 48, 48, 52, 50, 63, 70, 67, 67, 64, 69, 68, 53, 43, 30, 19, 12, 13, 15, 21, 13, 17, 34, 10, 13, 20, 18, 30, 16, 30, 25, 24, 35, 22, 12, 12, 10, 11, 13, 10, 10, 11, 11, 13, 10, 93, 13, 10, 16, 947, 18, 18, 13, 12, 12, 22, 13, 15, 11, 11, 19, 17, 22, 13, 16, 13, 62, 23, 10, 21, 24, 37, 20, 51, 44, 54, 99, 77, 88, 60, 49, 62, 51, 50, 40, 20, 16, 12, 12, 19, 16, 18, 17, 33, 43, 16, 12, 19, 12, 14, 12, 13, 27, 11, 20, 20, 19, 35, 40, 48, 47, 57, 59, 78, 11, 11, 10, 22, 27, 27, 27, 28, 15, 73, 78, 67, 53, 35, 19, 17, 12, 17, 11, 12, 12, 20, 24, 22, 32, 36, 33, 61, 60, 58, 79, 80, 15, 13, 10, 86, 54, 54, 52, 47, 36, 30, 10, 17, 11, 30, 20, 23, 12, 15, 13, 12, 11, 20, 14, 13, 33, 26, 19, 24, 31, 40, 55, 42, 79, 65, 14, 12, 11, 12, 28, 39, 24, 14, 60, 61, 73, 67, 46, 29, 24, 15, 11, 12, 14, 15, 34, 21, 37, 40, 32, 47, 49, 70, 68, 62, 54, 74, 59, 31, 28, 23, 21, 10, 15, 12, 20, 19, 29, 32, 27, 15, 16, 12, 12, 11, 13, 18, 18, 15, 23, 37, 40, 41, 62, 65, 71, 10, 10, 20, 24, 26, 23, 25, 77, 57, 58, 46, 44, 24, 23, 12, 17, 11, 13, 12, 13, 12, 26, 33, 18, 27, 46, 39, 59, 67, 41, 73, 74, 64, 40, 47, 39, 46, 13, 10, 11, 13, 16, 25, 19, 33, 24, 14, 10, 10, 13, 12, 12, 27, 21, 25, 55, 44, 63, 65, 69, 74, 55, 62, 45, 59, 41, 23, 10, 10, 11, 22, 21, 26, 20, 16, 10, 21, 15, 10, 10, 11, 13, 23, 20, 33, 44, 58, 37, 58, 60, 91, 83, 71, 62, 70, 45, 46, 29, 27, 10, 15, 20, 14, 27, 14, 23, 13, 10, 11, 15, 11, 21, 10, 10, 12, 32, 13, 12, 16, 29, 19, 32, 32, 47, 57, 65, 92, 66, 92, 12, 12, 12, 16, 23, 30, 31, 26, 17, 99, 83, 77, 55, 33, 45, 15, 13, 13, 17, 14, 17, 14, 10, 12, 11, 12, 31, 10, 10, 26, 13, 10, 12, 17, 30, 27, 38, 35, 55, 40, 67, 80, 102, 91, 83, 72, 74, 64, 53, 54, 20, 12, 10, 11, 14, 16, 18, 15, 29, 27, 31, 16, 15, 18, 12, 16, 21, 14, 13, 10, 25, 24, 41, 43, 59, 60, 60, 44, 71, 76, 22, 13, 17, 23, 21, 35, 34, 32, 22, 12, 10, 14, 99, 74, 30, 42, 41, 36, 28, 14, 12, 14, 25, 16, 14, 17, 10, 21, 10, 16, 14, 20, 28, 43, 30, 34, 35, 43, 52, 71, 59, 52, 69, 72, 75, 74, 74, 64, 51, 34, 22, 13, 12, 16, 13, 23, 16, 27, 10, 11, 20, 24, 22, 23, 16, 23, 20, 25, 17, 26, 18, 17, 18, 10, 11, 10, 10, 12, 11, 14, 11, 836, 111, 24, 10, 24, 24, 36, 36, 39, 44, 63, 75, 78, 88, 80, 72, 79, 51, 37, 29, 23, 14, 19, 11, 15, 16, 22, 32, 24, 43, 30, 30, 15, 11, 14, 13, 11, 11, 11, 15, 25, 10, 14, 15, 24, 12, 16, 27, 30, 21, 11, 43, 26, 21, 34, 29, 42, 61, 45, 57, 77, 64, 64, 58, 56, 40, 43, 19, 10, 16, 13, 13, 17, 11, 12, 10, 12, 11, 10, 14, 18, 17, 22, 35, 48, 50, 52, 85, 74, 16, 10, 10, 17, 10, 19, 26, 34, 16, 104, 61, 42, 35, 40, 40, 32, 15, 10, 12, 12, 13, 11, 25, 11, 15, 11, 20, 17, 26, 30, 42, 46, 47, 64, 87, 86, 16, 18, 12, 11, 17, 18, 35, 29, 15, 86, 60, 56, 58, 39, 46, 24, 10, 14, 13, 11, 12, 10, 11, 12, 17, 21, 20, 32, 28, 43, 40, 62, 81, 60, 92, 13, 16, 13, 22, 26, 28, 29, 13, 88, 70, 80, 60, 47, 33, 16, 10, 11, 11, 11, 11, 12, 10, 10, 14, 11, 15, 27, 25, 30, 30, 40, 51, 52, 71, 75, 76, 88, 68, 60, 57, 38, 34, 26, 11, 18, 23, 15, 27, 40, 21, 20, 10, 11, 13, 10, 13, 10, 12, 14, 14, 12, 13, 25, 23, 31, 30, 41, 51, 68, 65, 80, 10, 18, 12, 11, 21, 34, 32, 21, 87, 58, 70, 44, 32, 28, 17, 10, 15, 17, 14, 13, 11, 11, 14, 31, 20, 32, 28, 32, 50, 44, 43, 68, 78, 19, 26, 18, 40, 21, 29, 11, 82, 69, 52, 40, 39, 34, 28, 16, 14, 14, 13, 15, 13, 20, 14, 22, 30, 37, 51, 39, 46, 69, 61, 10, 10, 25, 18, 22, 20, 28, 15, 80, 68, 52, 58, 40, 27, 30, 12, 12, 11, 14, 10, 10, 10, 10, 13, 11, 10, 13, 10, 33, 12, 10, 14, 21, 33, 26, 34, 50, 76, 71, 81, 96, 95, 14, 12, 22, 28, 24, 52, 34, 18, 99, 110, 106, 64, 53, 38, 30, 17, 18, 10, 19, 10, 12, 17, 10, 11, 16, 15, 12, 22, 39, 33, 35, 59, 59, 63, 80, 83, 77, 14, 16, 21, 24, 27, 34, 45, 31, 11, 23, 20, 13, 10, 15, 10, 13, 11, 104, 68, 82, 67, 50, 38, 18, 10, 23, 14, 20, 11, 14, 17, 16, 17, 34, 43, 22, 46, 52, 68, 71, 85, 90, 19, 14, 18, 15, 23, 27, 36, 33, 12, 33, 12, 10, 14, 91, 103, 55, 61, 49, 36, 28, 10, 12, 14, 14, 10, 11, 25, 17, 24, 16, 12, 30, 27, 40, 31, 43, 56, 45, 70, 54, 72, 85, 72, 66, 66, 70, 51, 29, 13, 12, 11, 21, 15, 20, 17, 25, 30, 14, 11, 22, 15, 24, 23, 24, 28, 30, 29, 25, 24, 20, 15, 11, 17, 11, 10, 11, 13, 1008, 10, 27, 11, 17, 16, 17, 13, 25, 11, 15, 24, 28, 38, 30, 65, 58, 73, 85, 101, 106, 59, 89, 63, 37, 40, 21, 14, 12, 15, 18, 14, 16, 14, 20, 25, 35, 38, 25, 10, 11, 12, 20, 17, 16, 17, 10, 14, 15, 28, 27, 20, 46, 60, 51, 72, 83, 63, 52, 46, 41, 37, 38, 22, 12, 10, 12, 15, 21, 13, 13, 24, 20, 12, 11, 10, 15, 24, 24, 23, 17, 33, 51, 48, 45, 61, 86, 72, 62, 44, 46, 52, 29, 21, 14, 13, 18, 19, 20, 22, 23, 18, 10, 11, 12, 14, 13, 16, 21, 21, 33, 20, 42, 52, 49, 55, 43, 74, 55, 59, 63, 40, 24, 32, 13, 10, 12, 11, 31, 14, 23, 22, 12, 13, 12, 10, 19, 15, 30, 32, 29, 43, 38, 54, 61, 56, 61, 71, 57, 43, 54, 31, 27, 13, 10, 11, 16, 16, 32, 21, 12, 12, 14, 12, 10, 13, 21, 27, 29, 27, 47, 44, 55, 68, 85, 74, 15, 11, 14, 18, 13, 28, 14, 18, 81, 62, 68, 43, 33, 27, 12, 12, 13, 10, 10, 15, 11, 11, 12, 10, 20, 19, 20, 25, 47, 49, 51, 75, 67, 73, 12, 12, 10, 15, 11, 24, 27, 92, 59, 45, 58, 33, 27, 21, 10, 10, 14, 16, 18, 18, 15, 10, 12, 20, 19, 32, 26, 35, 48, 47, 62, 61, 82, 69, 66, 47, 50, 37, 33, 15, 15, 15, 20, 21, 18, 12, 12, 13, 17, 10, 10, 13, 12, 16, 19, 23, 13, 28, 70, 61, 12, 10, 24, 12, 32, 27, 30, 38, 45, 41, 66, 87, 91, 68, 82, 60, 69, 63, 54, 32, 22, 13, 11, 13, 10, 16, 18, 25, 28, 18, 12, 14, 15, 15, 10, 12, 12, 11, 18, 22, 10, 19, 31, 25, 26, 48, 48, 75, 68, 80, 70, 17, 18, 21, 20, 33, 37, 28, 17, 72, 63, 75, 42, 47, 33, 11, 13, 10, 14, 22, 17, 13, 13, 14, 11, 12, 10, 16, 15, 13, 20, 27, 25, 32, 34, 45, 53, 63, 59, 95, 79, 94, 69, 49, 62, 44, 30, 31, 15, 12, 22, 11, 17, 11, 10, 26, 18, 22, 27, 20, 10, 10, 11, 11, 14, 20, 20, 10, 15, 15, 21, 26, 49, 32, 47, 48, 53, 75, 60, 64, 54, 79, 60, 77, 46, 57, 33, 20, 13, 11, 11, 10, 15, 21, 32, 13, 10, 13, 15, 13, 17, 23, 22, 38, 20, 16, 22, 18, 10, 16, 16, 13, 689, 10, 21, 14, 41, 11, 17, 49, 35, 37, 10, 18, 25, 33, 359, 16, 39, 11, 19, 12, 30, 13, 30, 48, 138, 12, 25, 105, 11, 34, 1156, 149, 17, 51, 228, 29, 19, 46, 12, 96, 16, 27, 19, 31, 10, 57, 478, 13, 11, 71, 16, 12, 15, 12, 14, 934, 15, 44, 82, 28, 45, 94, 97, 21, 11, 298, 45, 252, 19, 11, 65, 187, 10, 17, 18, 25, 16, 75, 49, 162, 15, 516, 26, 490, 7203, 25, 21, 783, 86, 31, 27, 238, 314, 44, 12, 33, 136, 19, 14, 15, 19, 32, 37, 90, 14, 18, 31, 12, 35, 49, 413, 74, 78, 217, 10, 98, 33, 443, 10, 16, 233, 23, 28, 40, 63, 102, 48, 2379, 108, 26, 10, 32, 21, 13, 25, 12, 14, 20, 10, 18, 13, 17, 46, 48, 381, 31, 25, 12, 33, 59, 63, 342, 15, 27, 15, 14, 22, 75, 13, 87, 215, 17, 103, 55, 22, 119, 98, 122, 38, 14, 48, 36, 19, 23, 268, 15, 46, 77, 51, 1534, 88, 15, 182, 25, 18, 12, 10, 72, 25, 24, 23, 63, 26, 21, 12, 13, 28, 44, 164, 11, 51, 89, 59, 17, 636, 252, 143, 21, 10, 185, 21, 11, 124, 70, 51, 10, 57, 419, 13, 19, 379, 15, 11, 24, 17, 21, 39, 150, 13, 32, 12, 53, 635, 11, 15, 31, 35, 75, 29, 44, 10, 21, 13, 33, 46, 45, 911, 24, 64, 25, 11, 125, 27, 23, 48, 72, 102, 20, 10, 853, 562, 19, 19, 465, 28, 45, 24, 14, 51, 20, 24, 65, 14, 26, 11, 2968, 11, 10, 88, 285, 2074, 287, 11, 10, 977, 62, 64, 239, 13, 326, 15, 39, 10, 16, 10, 626, 95, 104, 10, 148, 59, 56, 16, 64, 128, 51, 39, 10, 19, 27, 57, 692, 1434, 23, 144, 66, 17, 40, 66, 120, 28, 10, 20, 14, 12, 15, 60, 13, 55, 246, 659, 11, 67, 91, 17, 12, 23, 22, 41, 24, 14, 12, 20, 17, 13, 61, 49, 1127, 15, 384, 238, 18, 26, 71, 184, 11, 20, 25, 22, 15, 16, 11, 886, 28, 65, 11, 1414, 313, 135, 14, 11, 13, 136, 23, 29, 387, 31, 32, 12, 16, 12, 52, 22, 28, 442, 18, 15, 76, 75, 129, 24, 13, 17, 271, 18, 3520, 230, 14, 11, 168, 150, 609, 145, 19, 31, 22, 16, 14, 579, 219, 30, 12, 21, 44, 13, 10, 20, 19, 16, 10, 42, 15, 16, 16, 323, 458, 13, 40, 10, 22, 77, 11, 37, 13, 26, 36, 269, 98, 13, 31, 1190, 38, 63, 15, 17, 130, 16, 19, 12, 214, 41, 36, 7096, 525, 22, 21, 145, 22, 12, 22, 16, 17, 135, 31, 88, 22, 315, 20, 101, 72, 94, 73, 14, 40, 12, 52, 14, 193, 64, 17, 22, 13, 65, 13, 137, 412, 17, 420, 42, 3215, 24, 94, 64, 53, 26, 715, 241, 39, 96, 120, 30, 455, 72, 28, 42, 175, 134, 15, 74, 201, 30, 72, 350, 605, 18, 315, 412, 499, 11, 539, 153, 54, 30, 60, 152, 78, 142, 144, 30, 13, 25, 46, 10, 12, 200, 39, 10, 33, 84, 49, 50, 126, 10, 78, 97, 12, 14, 17, 16, 18, 24, 481, 13, 11, 22, 32, 133, 12, 56, 12, 69, 44, 10, 61, 15, 83, 13928, 21, 140, 10, 47, 110, 15, 64, 43, 35, 10, 26, 32, 18, 66, 155, 120, 11, 38, 121, 30, 24, 66, 14, 11, 36, 531, 18, 12, 10, 73, 220, 34, 20, 219, 39, 88, 18, 68, 82, 709, 22, 93, 17, 110, 11, 70, 130, 12, 27, 12, 164, 12, 40, 11, 44, 105, 13, 49, 15, 670, 25, 176, 391, 871, 17, 10, 108, 18, 23, 90, 18, 391, 159, 29, 11, 158, 1612, 24, 10, 938, 38, 18, 25, 36, 137, 109, 13, 350, 107, 67, 332, 1126, 41, 18, 46, 328, 18, 10, 33, 54, 22, 420, 26, 60, 16, 836, 182, 96, 670, 257, 236, 179, 242, 29, 197, 2618, 21, 215, 15, 4460, 92, 35, 254, 14, 726, 1884, 13, 13, 13, 50, 20, 128, 100, 48, 12, 32, 20, 31, 72, 18, 85, 28, 386, 20, 52, 2130, 35, 68, 48, 18, 10, 14, 19, 28, 67, 118, 123, 47, 16, 24, 25, 37, 375, 31, 11, 22, 36, 19, 31, 12, 236, 156, 108, 10, 11, 67, 19, 97, 12, 22, 10, 541, 38, 1766, 25, 56, 381, 243, 136, 54, 17, 12, 657, 26, 156, 176, 10, 31, 10, 55, 908, 61, 10, 72, 75, 22, 15, 72, 16, 148, 31, 31, 11, 39, 43, 118, 76, 365, 950, 25, 18, 18, 11, 12546, 10, 13, 14, 10, 16, 40, 11, 18, 148, 18, 11, 17, 18, 11, 457, 22, 10, 624, 15, 26, 25, 163, 11, 39, 19, 57, 179, 15, 11, 220, 36, 23, 41, 29, 117, 85, 46, 32, 41, 17, 12, 76, 37, 91, 44, 10, 26, 154, 22, 190, 20, 623, 50, 53, 25, 10, 86, 37, 35, 17, 53, 117, 430, 39, 17, 33, 34, 87, 153, 35, 25, 311, 117, 30, 18, 20, 61, 840, 653, 393, 27, 88, 26, 101, 10, 36, 10, 51, 21, 14, 29, 38, 25, 167, 10, 28, 344, 315, 16, 14, 37, 22, 131, 17, 125, 37, 10, 2722, 128, 433, 48, 11, 58, 15, 185, 71, 10, 27, 54, 20, 11, 45, 30, 80, 14, 26, 34, 129, 116, 1173, 275, 525, 18, 9567, 31, 17, 13, 75, 24, 825, 13, 11, 22, 332, 13, 134, 60, 36, 1488, 1834, 140, 11, 288, 17, 130, 12, 317, 20, 28, 13, 16, 16, 40, 28, 23, 17, 34, 16, 39, 14, 300, 19, 22, 12, 22, 2541, 32, 13, 16, 53, 1375, 61, 14, 40, 12, 109, 16, 13, 14, 10, 10, 61, 160, 11, 36, 13, 15, 12, 30, 58, 16, 24, 19, 18, 33, 30, 110, 14, 18, 355, 41, 55, 11, 43, 11, 11, 13, 372, 863, 18, 38, 174, 182, 11, 19, 114, 19, 290, 11, 43, 35, 41, 299, 10, 13, 12, 12, 31, 13, 26, 64, 22, 395, 72, 11, 112, 18, 1202, 11, 72, 18, 25, 31, 12, 916, 11, 641, 219, 12, 19, 361, 56, 263, 23, 11, 202, 11, 52, 58, 112, 15, 26, 31, 114, 67, 354, 15, 44, 1695, 274, 381, 25, 24, 66, 246, 38, 54, 208, 11, 93, 13, 10, 20, 28, 30, 74, 30, 38, 330, 10, 26, 257, 52, 17, 146, 4244, 22, 21, 10, 67, 25, 288, 46, 47, 77, 13, 59, 167, 12, 12, 24, 94, 10, 23, 27, 192, 46, 28, 22, 31, 10, 182, 27, 15, 1686, 91, 11, 16, 124, 1279, 159, 15, 2034, 22, 33, 24, 137, 17, 45, 184, 13, 18, 12, 66, 14, 58, 3888, 263, 156, 80, 19, 177, 69, 35, 11, 63, 17, 10, 14, 119, 53, 14, 143, 108, 87, 38, 85, 10, 30, 30, 12, 73, 92, 442, 11, 42, 12, 96, 104, 41, 65, 71, 46, 729, 20, 200, 82, 14, 18, 139, 195, 43, 135, 924, 12, 12, 17, 12, 21, 42, 50, 16, 34, 10, 20, 98, 11, 22, 107, 221, 10, 111, 15, 223, 16, 1868, 621, 29, 11, 15, 77, 54, 17, 43, 18, 17, 52, 11, 13, 194, 29, 19, 37, 23, 152, 15, 15, 11, 494, 81, 182, 165, 22, 873, 710, 11, 175, 106, 13, 12, 93, 99, 10, 106, 19, 153, 38, 169, 14, 11, 11, 23, 15, 10, 24, 112, 209, 67, 102, 17, 221, 34, 91, 10, 36, 253, 169, 23, 62, 86, 12, 24, 10, 88, 14, 25, 18, 666, 14, 78, 147, 139, 17, 141, 65, 29, 15, 30, 248, 238, 457, 241, 57, 80, 14, 125, 305, 25, 38, 22, 13, 55, 28, 10, 10, 182, 64, 23, 32, 1069, 25, 113, 489, 15, 12, 82, 82, 82, 36, 947, 16, 147, 71, 11, 43, 32, 1609, 17, 29, 2577, 380, 14, 78, 159, 13, 12, 11, 11, 173, 57, 21, 21, 24, 32, 17, 168, 16, 10, 28, 25, 175, 535, 53, 19, 11, 41, 47, 31, 151, 27, 11, 91, 73, 2046, 11, 19, 204, 22, 12, 16, 27, 16, 24, 29, 124, 23, 11, 10, 298, 169, 10, 30, 109, 406, 22, 14, 26, 33, 26, 37, 13, 35, 398, 120, 24, 12, 13, 61, 47, 27, 72, 85, 47, 37, 913, 51, 125, 19, 54, 68, 22, 24, 16, 16, 340, 65, 18, 13, 22, 34, 18, 24, 23, 37, 23, 166, 39, 194, 11, 75, 50, 38, 19, 26, 63, 545, 15, 226, 118, 11, 842, 65, 1394, 19, 99, 38, 155, 32, 18, 10, 58, 10, 21, 111, 499, 67, 16, 22, 136, 20, 1815, 11, 12, 16, 12, 13, 12, 37, 158, 18, 58, 87, 21, 164, 23, 31, 14, 13, 11, 40, 139, 157, 242, 28, 89, 84, 16, 14, 159, 16, 71, 184, 10, 14, 17, 10, 12, 298, 84, 115, 25, 56, 25, 24, 62, 42, 21, 12, 10, 24, 40, 45, 92, 25, 20, 13, 308, 69, 18, 48, 15, 15, 54, 80, 214, 12, 239, 50, 17, 313, 25, 19, 27, 22, 879, 7029, 2694, 31, 103, 11, 10, 39, 12, 13, 1988, 33, 11, 5416, 41, 67, 18, 49, 581, 184, 23, 17, 312, 135, 16, 20, 116, 4894, 36, 24, 23, 1852, 34, 117, 20, 49, 30, 15, 36, 11, 28, 324, 170, 10, 5481, 503, 1944, 2045, 583, 103, 915, 20, 13, 35, 13, 40, 100, 19, 12, 12, 111, 2875, 55, 62, 27, 83, 14, 33, 70, 33, 20, 65, 42, 18, 17, 25, 82, 543, 79, 16, 14, 21, 11, 13, 14, 10, 57, 683, 21, 19, 181, 18, 934, 13, 71, 17, 259, 265, 19, 41, 504, 3812, 157, 91, 97, 15, 23, 24, 1984, 10, 571, 23, 15, 212, 16, 104, 31, 18, 268, 130, 42, 46, 55, 1836, 19, 295, 17, 33, 12, 30, 41, 16, 12, 10, 42, 299, 237, 2212, 30, 11, 21, 22, 537, 37, 16, 86, 25, 47, 15, 12, 2205, 49, 22, 18, 189, 12, 49, 16, 49, 27, 16, 16, 16, 30, 24, 150, 17, 77, 100, 14, 13, 3619, 333, 186, 54, 278, 512, 48, 91, 147, 10, 2544, 36, 26, 630, 19, 13, 181, 45, 63, 1247, 26, 452, 20, 99, 11346, 117, 1246, 35, 47, 11, 1555, 78, 437, 1266, 12, 119, 185, 154, 10, 19, 36, 15, 71, 159, 10, 20, 11, 1066, 16, 72, 5138, 33, 93, 13, 11, 283, 18, 10, 10, 46, 38, 90, 27, 25, 11, 441, 13, 17, 62, 19, 36, 23, 20, 83, 10, 24, 12, 51, 15, 13, 11, 13, 11, 21, 36, 21, 97, 15, 73, 11, 49, 10, 15, 882, 48, 89, 80, 2084, 16, 23, 13, 14, 22, 10, 42, 36, 196, 13, 23, 29, 17, 30, 10, 12, 24, 28, 30, 22, 4584, 20, 8768, 20, 69, 276, 156, 82, 42, 133, 1011, 14, 10, 18, 10, 69, 11, 33, 16, 227, 254, 27, 44, 19, 24, 11, 27, 108, 14, 35, 101, 25, 80, 29, 28, 38, 64, 34, 13, 226, 10, 25, 222, 44, 34, 15, 1177, 12, 11, 139, 47, 64, 29, 504, 31, 10, 12, 204, 10, 10, 12, 118, 61, 40, 188, 107, 17, 23, 38, 62, 43, 47, 15, 22, 21, 99, 33, 18, 57, 50, 10, 24, 205, 366, 18, 34, 37, 352, 79, 92, 16, 68, 45, 103, 13, 790, 36, 16, 10, 153, 33, 30, 22, 30, 14, 17, 207, 1024, 42, 13, 215, 10, 41, 116, 13, 590, 253, 17, 77, 4788, 25, 254, 19, 209, 3318, 121, 13, 22, 14, 14, 217, 34, 18, 10, 397, 32, 586, 10, 17, 475, 11, 208, 32, 307, 132, 53, 54, 364, 43, 56, 151, 6087, 265, 103, 10, 144, 16, 52, 13, 2887, 174, 59, 10, 151, 42, 17, 1393, 27, 13, 1351, 40, 15, 17, 229, 42, 15, 302, 190, 55, 107, 35, 1134, 79, 8557, 18, 16, 30, 591, 10, 116, 11, 11, 40, 377, 18, 57, 107, 57, 1511, 46, 59, 18, 73, 12, 190, 174, 305, 18, 2668, 53, 24, 12, 13, 82, 2929, 3229, 15, 43, 32, 8945, 47, 22, 81, 203, 27, 64, 25, 32, 53, 55, 108, 35, 12, 10, 11, 142, 1386, 16, 14, 12, 15, 69, 44, 14, 21, 65, 19, 21, 127, 423, 49, 37, 36, 31, 12, 11, 26, 12, 12, 154, 1283, 20, 21, 18, 1156, 1701, 17, 233, 373, 27, 181, 781, 13, 12, 159, 117, 15, 10, 1067, 19, 2422, 30, 30, 1388, 772, 35, 729, 4321, 32, 27, 144, 35, 83, 136, 24, 51, 57, 25, 13, 1106, 44, 13, 39, 32, 82, 42, 824, 288, 10, 12, 11, 50, 14, 372, 14, 20, 24, 30, 76, 30, 1628, 1031, 50, 409, 27, 41, 23, 339, 184, 13, 91, 11, 15, 11, 19, 15, 20, 10, 2067, 10, 296, 51, 86, 165, 28, 3733, 916, 358, 14, 1926, 2941, 627, 25, 185, 10, 23, 1891, 106, 64, 42, 77, 26, 502, 60, 54, 230, 44, 76, 1437, 107, 139, 30, 26, 404, 176, 27, 47, 10, 238, 880, 857, 218, 36, 370, 232, 621, 829, 1250, 25, 196, 218, 52, 111, 5315, 10, 64, 464, 68, 1576, 21, 1421, 11, 16, 689, 2872, 550, 32, 878, 175, 12, 56, 332, 10, 14, 11, 19, 17, 27, 217, 12, 2417, 67, 13, 12, 21, 19, 4920, 14, 5802, 13, 33, 35, 197, 78, 29, 94, 51, 166, 68, 27, 225, 13, 214, 2274, 86, 34, 202, 46, 22, 22, 11, 26, 13, 13, 263, 78, 115, 224, 28, 22, 16, 80, 575, 26, 69, 157, 34, 24, 128, 10, 52, 11, 15, 37, 17, 39, 108, 35, 31, 12, 10, 74, 21, 60, 398, 56, 983, 357, 21, 37, 16, 88, 677, 2803, 81, 13, 19, 10, 17, 84, 469, 22, 81, 74, 34, 97, 37, 12, 25, 721, 22, 32, 21, 279, 22, 21, 64, 184, 13, 13, 11, 30, 32, 17, 24, 85, 34, 72, 14, 232, 32, 31, 575, 70, 35, 99, 100, 14, 10, 12, 10, 13, 13, 55, 34, 49, 23, 402, 72, 64, 731, 136, 17, 19, 3239, 63, 40, 2535, 15, 24, 11, 350, 16, 12, 87, 52, 10, 28, 24, 10, 26, 64, 98, 52, 17, 73, 12, 23, 445, 55, 10, 4317, 28, 12, 12, 17, 35, 22, 36, 11, 30, 68, 20, 101, 26, 21, 40, 15, 14, 13, 88, 36, 11, 49, 10, 21, 34, 80, 48, 18, 100, 12, 119, 21, 25, 40, 273, 476, 21, 12, 23, 129, 29, 173, 34, 15, 188, 10, 32, 33, 41, 91, 11, 11, 20, 24, 80, 55, 14, 17, 29, 296, 16, 11, 36, 43, 392, 63, 17, 105, 11, 15, 30, 26, 43, 171, 136, 10, 32, 10, 641, 31, 18, 46, 12, 691, 69, 23, 71, 12, 10, 256, 63, 135, 25, 22, 25, 44, 80, 74, 30, 91, 12, 11, 33, 10, 54, 11, 22, 309, 57, 106, 76, 61, 14, 20, 6624, 184, 24, 11, 137, 11, 33, 48, 692, 20, 18, 431, 360, 50, 19, 39, 22, 1365, 49, 29, 46, 11, 30, 64, 30, 17, 22, 14, 11, 28, 23, 32, 128, 11, 156, 384, 12, 44, 36, 10, 11, 12, 136, 29, 10, 14, 12, 11, 12, 10, 26, 39, 10, 16, 15, 12, 11, 227, 14, 10, 142, 592, 879, 98, 45, 13, 15, 19, 53, 19, 10, 105, 13, 191, 34, 10, 18, 19, 15, 166, 20, 10, 25, 10, 12, 18, 28, 10, 29, 61, 37, 233, 174, 21, 44, 55, 118, 34, 14, 64, 152, 43, 326, 280, 61, 112, 10, 257, 1186, 36, 10, 10, 382, 27, 367, 67, 28, 13, 22, 45, 24, 120, 2174, 60, 12, 10, 157, 39, 16, 14, 187, 11, 153, 81, 966, 74, 80, 10, 17, 22, 10, 15, 573, 170, 31, 53, 10, 49, 1297, 16, 172, 13, 24, 70, 233, 103, 84, 312, 113, 39, 49, 96, 22, 51, 48, 11, 20, 647, 744, 396, 3052, 15, 69, 31, 12, 47, 91, 35, 14, 51, 28, 11, 13, 243, 63, 15, 11, 15, 20, 153, 37, 25, 18, 77, 19, 81, 97, 21, 11, 48, 199, 44, 73, 58, 307, 1506, 13, 111, 66, 12, 28, 76, 108, 11, 98, 78, 23, 27, 17, 32, 13, 46, 12, 30, 26, 44, 11, 8607, 48, 33, 12, 322, 14, 388, 144, 16, 30, 30, 178, 22, 72, 32, 35, 111, 33, 220, 18, 12, 13, 237, 10, 90, 26, 24, 47, 20, 59, 15, 220, 13, 12, 299, 1118, 49, 13, 14, 378, 119, 12, 92, 97, 99, 45, 40, 186, 11, 77, 315, 26, 13, 20, 55, 3116, 603, 12, 109, 1136, 249, 13, 15, 1093, 12, 12, 87, 29, 73, 118, 12, 10, 71, 2051, 121, 14, 64, 1457, 228, 52, 26, 182, 44, 19, 12, 29, 46, 29, 12, 654, 619, 170, 130, 315, 256, 156, 223, 242, 396, 45, 28, 450, 56, 12, 10, 8701, 23, 36, 11, 55, 51, 35, 289, 10, 13, 18, 34, 144, 30, 24, 699, 16, 15, 24, 16, 25, 30, 11, 14, 22, 31, 28, 11, 38, 43, 36, 94, 73, 31, 87, 25, 16, 59, 11, 26, 13, 57, 31, 29, 45, 14, 14, 13, 91, 10, 117, 13, 14, 31, 12, 355, 11, 22, 19, 88, 115, 30, 35, 130, 172, 183, 89, 51, 431, 26, 39, 26, 17, 12, 87, 10, 11, 58, 129, 87, 72, 28, 18, 48, 465, 101, 60, 538, 11, 12, 13, 20, 21, 33, 11, 15, 23, 153, 44, 15, 53, 194, 401, 355, 833, 1143, 385, 10, 82, 81, 23, 16, 14, 45, 70, 28, 13, 30, 36, 23, 10, 21, 38, 1123, 16, 110, 57, 32, 33, 46, 37, 11, 20, 17, 189, 201, 113, 11, 12, 263, 44, 40, 87, 23, 1705, 32, 70, 125, 52, 434, 97, 17, 16, 59, 20, 40, 184, 32, 141, 40, 22, 38, 13, 11, 19, 64, 49, 29, 51, 181, 26, 117, 10, 15, 27, 318, 159, 30, 7559, 26, 11, 154, 10, 21, 326, 21, 10, 76, 12, 1091, 64, 16, 279, 25, 871, 51, 15, 11, 322, 11, 33, 4035, 20, 53, 103, 10, 17, 31, 104, 88, 938, 12, 10, 19, 34, 21, 37, 34222, 146, 10, 140, 13, 34, 74, 13, 35, 811, 21, 22, 73, 163, 10, 29, 225, 88, 1807, 19, 478, 1124, 52, 17, 12, 38, 17, 13, 12, 231, 66, 10, 213, 34, 60, 12, 19, 72, 10, 115, 901, 15, 27, 29, 792, 10, 57, 158, 30, 17, 39, 133, 31, 7530, 28, 28, 1372, 19, 72, 143, 95, 209, 40, 234, 23, 228, 30, 17, 20, 25, 266, 101, 14, 83, 36, 22, 58, 48, 47, 144, 32, 61, 28, 10, 39, 31, 58, 20, 23, 73, 73, 36, 107, 109, 10, 33, 305, 12, 80, 303, 47, 10, 100, 16, 22, 820, 15, 112, 76, 22, 26, 148, 16, 71, 12, 16, 14, 17, 1335, 13, 11, 21, 22, 10, 30, 57, 580, 10, 73, 43, 33, 13, 22, 21, 36, 148, 13, 23, 68, 21, 21, 31, 35, 96, 37, 33, 44, 53, 31, 69, 32, 66, 76, 92, 128, 49, 270, 63, 112, 798, 15, 10, 11, 21, 31, 17, 12, 27, 12, 350, 17, 106, 142, 100, 79, 71, 52, 12, 191, 39, 12, 68, 31, 35, 32, 14, 12, 470, 183, 53, 22, 79, 28, 57, 646, 206, 1102, 15, 16, 94, 791, 13, 28, 68, 11, 29, 1343, 12, 67, 102, 148, 991, 11, 503, 22, 16, 15, 200, 10, 22, 65, 10, 13, 27, 18, 27, 51, 24, 57, 18, 44, 594, 19, 69, 12, 14, 22, 25, 55, 87, 14, 10, 36, 106, 16, 20, 263, 12, 29, 5135, 47, 28, 10, 21, 16, 2472, 59, 49, 16, 25, 679, 73, 3256, 44, 11, 16, 70, 99, 302, 355, 13, 11, 34, 12, 425, 16, 58, 52, 284, 410, 225, 20, 41, 12, 468, 17, 182, 26, 35, 109, 115, 137, 24, 628, 11, 10, 20, 226, 212, 20, 47, 1417, 18, 109, 1059, 23, 118, 101, 30, 10, 12, 42, 24, 86, 14, 23, 30, 31, 76, 12982, 103, 100, 208, 564, 15, 159, 757, 113, 438, 17, 23, 73, 16, 52, 108, 21, 27, 11, 85, 31, 1025, 14, 111, 317, 49, 46, 133, 59, 17, 14, 256, 23, 37, 11, 164, 28, 47, 209, 14, 18, 25, 1202, 22, 30, 17, 58, 12, 158, 1907, 29, 366, 20, 85, 12, 54, 17, 24, 78, 10, 19, 446, 82, 760, 64, 83, 218, 23, 80, 27, 13, 12, 238, 14, 22, 960, 76, 15, 12, 42, 13, 14, 13, 12, 4559, 271, 491, 14, 29, 10178, 32, 15, 378, 235, 22, 38, 149, 272, 144, 160, 12, 20, 22, 1318, 22, 716, 1101, 18, 43, 176, 17, 49, 88, 39, 2508, 50, 52, 70, 141, 58, 24, 384, 15, 10, 17, 445, 19, 292, 315, 15, 20, 27, 40, 125, 38, 11, 1971, 13, 40, 51, 29, 139, 14, 111, 129, 21, 11, 26, 18, 30, 54, 17, 116, 25, 15, 73, 34, 10, 34, 16, 25, 75, 91, 49, 72, 20, 82, 33, 10, 65, 80, 34, 27, 1593, 12, 30, 31, 195, 200, 17, 1240, 22, 10, 17, 256, 160, 12, 202, 22, 63, 13, 105, 672, 40, 88, 31, 1579, 27, 11, 36, 14, 13, 73, 148, 40, 51, 20, 19, 27, 41, 55, 15, 15, 20, 34, 14, 14, 47, 12, 1014, 10, 20, 16, 18, 301, 11, 61, 272, 35, 125, 157, 93, 47, 13, 75, 70, 33, 33, 19, 110, 22, 10, 30, 13, 10, 246, 30, 13, 14, 10, 26, 10, 32, 11, 58, 43, 209, 36, 326, 13, 15, 69, 519, 1080, 17, 29, 189, 45, 16, 981, 22, 22, 16, 67, 21, 730, 29, 313, 11, 11, 47, 34, 28, 72, 15, 16, 11, 59, 219, 25, 67, 15, 32, 111, 138, 150, 279, 32, 46, 1460, 99, 15, 36, 227, 2291, 14, 1549, 24, 63, 37, 252, 264, 141, 7687, 11, 25, 15, 45, 29, 291, 14, 27, 10, 15, 122, 21, 81, 394, 1277, 139, 47, 10, 13, 26, 15, 13, 50, 65, 31, 24, 26, 22, 12, 52, 28, 42, 12, 13, 18, 13, 11, 38, 25, 222, 151, 63, 23, 89, 21, 204, 16, 34, 177, 36, 17, 10, 30, 10, 63, 21, 603, 4652, 55, 60, 17, 692, 379, 119, 3825, 18, 18, 19, 188, 488, 28, 32, 55, 17, 14, 30, 18, 57, 10, 31, 11, 14, 12, 284, 76, 121, 10, 12, 18, 88, 26, 13, 16, 12, 11, 21, 24, 11, 28, 30, 1061, 2038, 17, 22, 139, 17, 204, 249, 48, 250, 17046, 16, 79, 55, 99, 33, 76, 111, 181, 13, 1794, 10, 24, 210, 51, 51, 148, 776, 67, 209, 166, 21, 11, 56, 75, 17, 43, 33, 121, 131, 14, 21, 18, 263, 47, 28, 11, 10, 2802, 208, 19, 12, 11, 10, 711, 5588, 56, 33, 67, 14, 43, 28, 11, 111, 10, 999, 102, 154, 11, 186, 37, 20, 90, 122, 23, 52, 47, 109, 498, 262, 1106, 62, 16, 518, 477, 490, 851, 64, 55, 12, 16, 12, 63, 10, 76, 195, 10, 74, 99, 24, 52, 21, 14, 12, 24, 23, 23, 354, 17, 28, 168, 747, 36, 13, 3451, 285, 29, 10, 49, 16, 98, 572, 13, 14, 37, 99, 177, 85, 138, 12, 15, 12, 178, 375, 26, 63, 22, 14, 314, 583, 27, 23, 105, 10, 18, 71, 194, 14, 210, 32, 37, 469, 32, 97, 27, 137, 28, 750, 323, 807, 187, 45, 20, 251, 13, 15, 833, 36, 13, 73, 82, 14, 41, 23, 79, 120, 15, 26, 21, 83, 2802, 98, 22, 4599, 451, 48, 14, 67, 22, 575, 27, 11, 396, 73, 22, 88, 59, 42, 12, 11, 19, 10, 829, 10, 179, 51, 12, 10, 16, 11, 10, 103, 83, 80, 37, 67, 17, 66, 13, 144, 26, 29, 11, 17, 27, 13, 29, 1383, 10, 44, 66, 12, 15, 61, 45, 62, 141, 121, 39, 116, 50, 78, 46, 178, 21, 16, 33, 54, 175, 39, 58, 159, 39, 40, 11, 19, 17, 35, 11, 39, 23, 44, 31, 30, 21, 2336, 26, 16, 79, 11, 14, 47, 59, 67, 13, 43, 10, 27, 10, 19, 28, 12, 41, 878, 84, 13, 15, 166, 14, 5503, 49, 1518, 16, 138, 25, 23, 16, 13, 11, 265, 26, 24, 457, 19, 131, 71, 277, 614, 74, 24, 11, 30, 10, 48, 93, 40, 10, 14, 10, 37, 32, 11, 144, 53, 21, 622, 18, 12, 134, 412, 83, 805, 14, 42, 401, 48, 51, 10, 33, 141, 3559, 117, 11, 1504, 132, 97, 27, 10, 1545, 376, 48, 38, 35, 38, 301, 43, 155, 20, 116, 13, 38, 24, 88, 191, 170, 14, 945, 84, 37, 13, 40, 34, 16, 23, 57, 50, 34, 75, 29, 64, 83, 201, 17, 149, 21, 15, 13, 81, 47, 90, 55, 388, 47, 22, 648, 21, 14, 208, 107, 34, 20, 18, 35, 17, 38, 62, 11, 13, 26, 63, 64, 19, 10, 11, 164, 28, 11, 14, 22, 265, 44, 26, 13, 18, 58, 43, 35, 13, 74, 91, 40, 428, 12, 408, 17, 46, 28, 15, 32, 14, 20, 11, 21, 38, 33, 89, 333, 202, 404, 39, 13, 332, 32, 331, 13, 15, 165, 12, 12, 149, 13, 2436, 853, 21, 331, 12, 13, 21, 197, 13, 126, 18, 12, 11, 283, 348, 108, 114, 215, 827, 83, 16, 500, 628, 126, 43, 19, 26, 170, 23, 24, 12, 15, 27, 46, 12, 72, 20, 12, 22, 26, 548, 24, 13, 100, 17, 1350, 59, 512, 264, 26, 75, 75, 15, 142, 15, 46, 1248, 35, 30, 63, 244, 598, 13, 35, 17, 66, 3287, 36, 350, 59, 43, 15, 36, 18, 11, 25, 2801, 79, 81, 76, 58, 27, 460, 14, 94, 32, 28, 35, 26, 18, 14, 14, 74, 15, 39, 201, 111, 10, 44, 55, 10, 77, 131, 23, 24, 31, 33, 16, 97, 11, 15, 19, 30, 29, 11, 19, 25, 51, 18, 12, 17, 131, 25, 168, 10, 69, 277, 17, 67, 13, 186, 59, 11, 67, 27, 167, 31, 31, 75, 12, 260, 10, 66, 89, 2263, 28, 600, 187, 85, 10, 264, 39, 55, 22, 162, 723, 32, 11, 51, 11, 33, 33, 75, 12, 45, 46, 25, 10, 229, 14, 13, 10, 138, 93, 15, 56, 38, 42, 67, 105, 17, 91, 13, 48, 45, 61, 1504, 22, 21, 203, 63, 8536, 273, 188, 23, 573, 476, 2713, 21, 512, 357, 2332, 278, 45, 18, 35, 402, 11, 34, 17, 342, 155, 76, 48, 292, 15, 26, 94, 46, 39, 50, 150, 103, 36, 21, 30, 15, 100, 10, 24, 45, 75, 75, 11, 15, 45, 21, 52, 481, 78, 26, 54, 277, 10, 25, 153, 14, 456, 14, 18, 13, 75, 43, 511, 34, 14, 64, 2103, 242, 445, 13, 5202, 31, 14, 46, 15, 35, 507, 21, 36, 18, 10986, 140, 69, 155, 11, 20, 1430, 75, 12, 713, 27, 78, 239, 77, 1336, 536, 68, 8487, 367, 96, 724, 1934, 88, 10, 45, 68, 57, 103, 78, 4799, 232, 23, 12, 11, 11, 394, 12, 30, 480, 136, 133, 1535, 99, 282, 14, 107, 501, 15, 21, 100, 11, 14, 12, 15, 20, 300, 371, 29, 74, 12, 103, 21, 19, 33, 22, 24, 78, 23, 29, 10, 1432, 15, 13, 206, 59, 17, 20, 15, 13, 17, 2710, 15, 3209, 505, 143, 93, 567, 119, 101, 5085, 73, 546, 24, 90, 6432, 214, 62, 208, 42, 73, 24, 104, 117, 180, 22, 19, 43, 517, 107, 701, 24, 57, 23, 355, 12, 52, 1584, 10, 48, 31, 13, 53, 101, 10, 13, 101, 10, 75, 16, 10, 16, 15, 47, 13, 134, 110, 10, 102, 75, 75, 75, 75, 75, 62, 704, 207, 23, 98, 24, 31, 10, 1185, 537, 19, 14, 122, 12, 14, 259, 2027, 19, 15, 75, 75, 142, 30, 51, 12, 29, 13, 11, 20, 114, 663, 25, 93, 10, 12, 11, 12, 13, 17, 20, 14, 56, 28, 87, 15, 30, 18, 61, 10, 50, 249, 59, 14, 29, 103, 205, 31, 119, 72, 117, 41, 12, 16, 12, 19, 27, 502, 13, 1232, 48, 17, 3460, 74, 12, 45, 10, 1831, 19, 78, 33, 14, 10, 350, 57, 229, 14, 26, 13, 35, 19, 893, 361, 57, 27, 14, 48, 56, 22, 61, 12, 12, 15, 17, 148, 82, 28, 15, 13, 51, 20, 15, 31, 20, 168, 15, 19, 21, 186, 22, 83, 23, 170, 30, 50, 369, 35, 47, 185, 15, 10, 11, 24, 11, 40, 29, 20, 10, 102, 13, 214, 706, 93, 10, 11, 21, 1538, 235, 12, 770, 28, 18, 11, 44, 76, 18, 84, 47, 53, 14, 24, 31, 85, 10, 20, 20, 48, 15, 10, 77, 151, 12, 26, 14, 49, 44, 30, 26, 3244, 15, 10, 11, 23, 13, 14, 18, 10, 544, 127, 24, 14, 10, 177, 98, 34, 94, 11, 14, 175, 26, 13, 117, 127, 49, 249, 10, 10, 17, 69, 11, 103, 53, 20, 10, 21, 30, 12, 16, 94, 19, 12, 10, 90, 52, 64, 47, 24, 62, 411, 33, 21, 73, 29, 43, 72, 77, 33, 75, 27, 2093, 43, 1395, 20, 791, 189, 20, 75, 67, 32, 17, 31, 20, 12, 311, 283, 37, 34, 22, 123, 19, 81, 15, 23, 10, 10, 33, 12, 31, 12, 14, 22, 95, 30, 14, 55, 11, 362, 18, 220, 97, 283, 27, 41, 10, 12, 13221, 15, 45, 10, 16, 17, 24, 40, 18, 11, 44, 14, 47, 24, 10, 1823, 13, 311, 16, 195, 15, 23, 22, 108, 45, 50, 101, 16, 11, 951, 14, 14, 10, 17, 13, 146, 10, 29, 88, 46, 200, 37, 14, 130, 30, 210, 82, 58, 41, 19, 26, 363, 33, 242, 18, 169, 24, 11, 108, 422, 271, 10, 24, 14, 18, 37, 27, 12, 31, 10, 17, 15, 17, 2992, 36, 18, 13, 12, 19, 92, 240, 2775, 44, 27, 153, 69, 890, 124, 4150, 733, 113, 68, 135, 94, 14, 25, 432, 25, 11, 59, 81, 67, 12, 38, 59, 19, 26, 11, 13, 285, 12, 47, 18, 21, 16, 22, 14, 27, 77, 22, 15, 47, 13, 17, 65, 47, 24, 14, 11, 38, 15, 13, 18, 17, 20, 33, 20, 18, 14, 30, 11, 52, 102, 10, 64, 33, 418, 175, 334, 501, 89, 78, 105, 25, 77, 115, 215, 10, 10, 26, 19, 35, 134, 12, 12, 110, 14, 16, 11, 82, 45, 89, 16, 30, 13, 28, 12, 79, 19, 20, 12, 33, 53, 81, 204, 12, 123, 13, 25, 12, 31, 80, 22, 17, 87, 46, 13, 12, 48, 15, 206, 120, 34, 239, 16, 61, 23, 23, 34, 82, 52, 33, 24, 62, 172, 17, 74, 185, 18, 23, 52, 77, 68, 42, 14, 14, 41, 279, 12, 26, 30, 563, 67, 59, 14, 14, 48, 94, 12, 209, 28, 13, 278, 37, 85, 53, 15, 11, 10, 13, 3372, 10, 72, 13, 11, 10, 12, 30, 15, 62, 18, 138, 30, 60, 30, 60, 178, 50, 37, 13, 945, 26, 56, 542, 193, 1859, 22, 161, 39, 243, 21, 46, 177, 27, 22, 106, 766, 12, 13, 1160, 62, 42, 40, 122, 20, 56, 57, 58, 34, 60, 11, 18, 58, 60, 239, 38, 51, 11, 14, 14, 475, 39, 1095, 471, 14, 40, 232, 12, 25, 62, 10, 18, 13, 217, 21, 116, 43, 59, 32, 530, 20, 14, 42, 30, 39, 168, 742, 56, 19, 45, 71, 22, 311, 145, 334, 22, 14, 270, 20, 12, 41, 15, 131, 16, 2209, 75, 100, 17, 50, 36, 58, 241, 24, 10, 13, 19, 66, 1323, 5425, 56, 40, 172, 138, 10, 12, 15, 87, 11, 15, 67, 11, 126, 27, 40, 12, 83, 16, 14, 17, 40, 243, 77, 404, 16, 75, 28, 62, 58, 887, 24, 63, 19, 122, 39, 23, 84, 28, 12, 61, 11, 102, 32, 64, 12, 10, 14, 26, 14, 15, 22, 10, 11, 17, 28, 10, 14, 64, 122, 79, 522, 16007, 13382, 4292, 5771, 89, 17, 134, 3300, 38, 11, 13, 41, 621, 179, 24, 20, 56, 28, 147, 369, 133, 52, 46, 104, 32, 10, 228, 23, 52, 16, 32, 42, 14, 18, 14, 34, 41, 139, 18, 36, 12, 139, 12, 62, 11, 19, 13, 12, 15, 206, 14, 42, 10, 11, 83, 329, 107, 25, 965, 590, 20, 58, 105, 24, 48, 84, 15, 120, 18, 21, 12, 56, 31, 181, 55, 28, 10, 177, 19, 18, 11, 90, 72, 11, 559, 114, 24, 482, 98, 10, 37, 82, 146, 158, 16, 56, 12, 18, 17, 28, 49, 10, 23, 14, 11843, 518, 7704, 1328, 9436, 12358, 200, 378, 485, 215, 200, 57, 14, 27, 31, 15, 201, 17, 72, 22, 32, 17, 11, 338, 14, 26, 45, 296, 10, 14, 28, 14, 10, 85, 16, 10, 38, 14, 80, 29, 31, 23, 13, 35, 62, 15, 12, 24, 11, 26, 53, 46, 18, 13, 55, 16, 14, 2564, 78, 16, 10, 54, 32, 46, 163, 13, 14, 154, 62, 11, 11, 20, 42, 19, 91, 13, 25, 27, 109, 47, 47, 17, 17, 18, 76, 47, 13, 226, 12, 17, 36, 138, 181, 44, 82, 10, 15, 35, 35, 19, 164, 67, 41, 48, 138, 54, 20, 10732, 1724, 240, 43, 80, 76, 27, 87, 12, 19, 13, 125, 226, 113, 115, 19, 31, 39, 421, 36, 148, 21, 107, 30, 55, 37, 51, 33, 21, 10, 27, 187, 480, 33, 17, 10, 203, 27, 240, 12, 73, 10, 107, 11, 82, 10, 17, 25, 26, 3299, 65, 39, 19, 19, 22, 10, 39, 131, 182, 13, 16, 11, 28, 34, 442, 138, 10, 24, 17, 33, 481, 230, 14, 1706, 98, 155, 11, 21, 82, 19, 493, 104, 23, 370, 175, 23, 13, 10, 17, 12, 45, 18, 27, 21, 12, 148, 25, 185, 31, 417, 1572, 1943, 137, 54, 10, 13, 12, 1337, 91, 71, 41, 62, 12, 59, 424, 29, 22, 3560, 19, 20, 24, 42, 15, 165, 63, 129, 11, 133, 20, 11, 15, 56, 10, 11, 19, 211, 102, 294, 16, 10, 10, 58, 11, 61, 10, 10, 37, 12, 10, 45, 32, 11, 13, 19, 15, 42, 85, 12, 21, 26, 834, 44, 21, 14, 97, 22, 168, 186, 27, 18, 16, 14, 182, 96, 116, 12, 43, 24, 16, 160, 22, 19, 403, 947, 30, 22, 11, 48, 1976, 30, 40, 104, 13, 332, 424, 16, 37, 10, 13, 103, 87, 373, 28, 27, 7403, 19, 44, 18, 21, 113, 25, 75, 524, 42, 48, 143, 18, 21, 2372, 558, 436, 13, 308, 122, 61, 160, 22, 13, 60, 35, 33, 101, 13, 12, 32, 86, 636, 19, 175, 114, 16, 712, 10, 22, 24, 10, 19, 18, 15, 21, 1952, 437, 833, 116, 151, 47, 36, 74, 11, 15, 36, 27, 119, 54, 11, 53, 1854, 43, 13, 360, 28, 12, 11, 47, 187, 16, 10, 28, 14, 104, 270, 18, 165, 48, 22, 20, 13, 10, 79, 77, 30, 22, 12, 83, 11, 35, 54, 10, 19, 43, 1275, 24, 75, 111, 23, 19, 120, 17, 72, 16, 26, 16, 62, 24, 106, 84, 12, 21, 13, 36, 23, 10, 254, 21, 102, 76, 16, 128, 14, 663, 30, 115, 48, 70, 11, 28, 57, 10, 62, 14650, 108, 22, 27, 13, 25, 17, 181, 18, 12, 75, 232, 79, 11, 782, 32, 12, 113, 14, 29, 29, 21, 152, 136, 15, 13, 19, 80, 132, 15, 2701, 12, 2815, 13, 147, 1901, 26, 12, 3318, 225, 152, 13, 197, 36, 32, 28, 10, 213, 141, 13, 21, 14, 375, 14, 12, 10, 2006, 298, 16, 482, 16, 11, 47, 17, 12, 41, 104, 133, 10, 24, 15, 163, 96, 10, 13, 13, 10, 10, 50, 293, 88, 17, 186, 41, 13, 42, 76, 13, 2075, 1602, 34, 23490, 45, 327, 18, 981, 108, 184, 11, 187, 10, 13, 11, 20, 21, 1062, 39, 23, 21, 16, 249, 13, 44, 47, 22, 12, 225, 10, 10, 20, 114, 10, 50, 23, 207, 254, 10, 10, 400, 742, 10, 17, 24, 81, 15, 40, 75, 14, 30, 123, 23, 65, 62, 10, 12, 159, 53, 38, 31, 4307, 645, 1057, 16, 217, 10, 19, 275, 28, 16, 24, 31, 28, 100, 14, 44, 168, 55, 58, 39, 14, 11, 28, 98, 12, 12, 10, 18, 32, 101, 98, 137, 67, 48, 12, 49, 131, 18, 68, 7470, 19, 259, 241, 35, 91, 54, 11, 286, 42, 37, 10, 10, 14, 536, 505, 13, 402, 687, 35, 202, 45, 476, 13, 30, 34, 83, 54, 13, 62, 13, 11, 23, 11, 10, 21, 112, 4217, 70, 15, 10, 357, 17, 14, 19, 755, 16, 13, 12, 10, 12, 50, 20, 13, 18, 290, 31, 1277, 25, 45, 57, 19, 13, 3723, 20, 33, 21, 1396, 34, 183, 36, 76, 11, 56, 94, 69, 10, 16, 28, 12, 105, 24, 1663, 55, 81, 31, 145, 18, 251, 10, 193, 11, 317, 24, 15, 78, 576, 10, 1197, 24, 23, 15, 10, 10, 13, 14, 12, 14, 302, 15, 36, 11, 14, 17, 12, 17, 12, 39, 20, 114, 64, 18, 26, 34, 124, 61, 12, 15, 131, 13, 61, 370, 19, 14, 152, 19, 285, 86, 149, 10, 45, 4635, 28, 20, 202, 38, 92, 14, 996, 23, 10, 13, 39, 10, 47, 11, 28, 54, 15, 28, 76, 56, 10, 22, 81, 40, 50, 14, 19, 12, 15, 480, 12, 236, 12, 11, 29, 60, 10, 25, 17, 22, 12, 15, 25, 248, 159, 12, 133, 45, 1758, 13, 43, 60, 190, 114, 409, 18, 143, 102, 1279, 484, 234, 21, 11, 23, 29, 642, 32, 37, 297, 15, 16, 15, 10, 26, 52, 147, 29, 41, 20, 12, 40, 272, 25, 13, 11, 211, 389, 65, 1006, 38, 62, 98, 10, 39, 40, 83, 34, 27, 10, 183, 571, 82, 38, 53, 3258, 122, 14, 15, 12, 27, 34, 14, 53, 131, 23, 68, 10, 13, 123, 16, 61, 12, 65, 528, 25, 27, 17, 158, 56, 15, 56, 17, 19, 10, 42, 55, 402, 27, 72, 141, 53, 59, 385, 22, 25, 29, 53, 21, 34, 12, 33, 26, 91, 179, 19, 89, 218, 12, 23, 10, 40, 10, 26, 10, 10, 13, 38, 11, 75, 44, 137, 241, 20, 20, 11, 36, 12, 66, 13, 283, 31, 10, 199, 13, 11906, 13, 31, 19, 184, 3497, 13, 15, 111, 59, 65, 10, 16, 10, 10, 37, 77, 87, 46, 87, 32, 28, 284, 12, 227, 19, 20, 39, 70, 26, 22, 28, 11, 37, 13, 22, 22, 17, 11, 33, 26, 11, 195, 17, 18, 125, 4902, 14, 1689, 130, 280, 90, 10, 25, 1955, 31, 29, 185, 89, 11, 19, 35, 27, 70, 64, 10, 24, 138, 24, 23, 13, 76, 10, 36, 14, 14, 28, 15, 23, 22, 18, 27, 13, 19, 77, 23, 197, 10, 10, 13, 224, 15, 11, 10, 96, 14, 56, 22, 18, 3897, 55, 13, 10, 24, 13, 26, 53, 41, 21, 120, 333, 10, 46, 27, 47, 19, 165, 64, 11, 35, 11, 17, 16, 11, 22, 6041, 236, 106, 21, 24, 10, 43, 13, 40, 11, 20, 20, 13, 15, 10, 81, 28, 38, 14, 14, 11, 13, 10, 31, 68, 15, 13, 26, 17, 14, 18, 78, 11, 10, 25, 179, 47, 31, 11, 32, 840, 54, 26, 95, 19, 100, 265, 15, 52, 11, 36, 34, 47, 2425, 1755, 235, 530, 3804, 48, 21, 656, 639, 33, 11, 42, 82, 32, 11, 2874, 103, 21, 33, 36, 70, 25, 19, 187, 14, 35, 744, 12, 30, 11, 58, 15, 22, 13, 11, 63, 2300, 60, 30, 33, 16, 12, 15, 16, 734, 17, 10, 15, 27, 10, 73, 11, 11, 11, 43, 57, 13, 10, 10, 27, 14, 29, 10, 695, 783, 14, 19, 23, 10, 14, 15, 172, 94, 41, 11, 115, 80, 12, 14, 114, 26, 10, 56, 83, 84, 31, 20, 13, 22, 2769, 255, 1001, 22, 15, 7931, 225, 12, 234, 60, 48, 11, 155, 10, 21, 1360, 244, 131, 29, 12, 1131, 454, 27, 22, 10, 10, 42, 378, 11, 12, 20, 10, 75, 60, 944, 75, 103, 79, 58, 34, 10, 20, 10, 69, 12, 10, 17, 415, 14, 22, 13, 34, 14, 53, 62, 79, 73, 46, 26, 14, 157, 49, 24, 10, 15, 66, 14, 73, 534, 14, 21, 429, 79, 78, 89, 42, 1390, 84, 169, 867, 27, 21, 20, 29, 37, 33, 311, 16, 37, 22, 90, 13, 58, 16, 104, 178, 10, 11, 20, 636, 164, 13, 14, 22, 12, 59, 160, 140, 487, 22, 28, 291, 27, 33, 20, 587, 451, 29, 135, 18, 17, 386, 36, 36, 54, 61, 56, 254, 12, 135, 743, 127, 236, 30, 12, 10, 28, 70, 11, 21, 12, 33, 6707, 49, 10, 17, 12, 160, 72, 1091, 17, 57, 27, 96, 21, 10, 22, 54, 16, 20, 10, 12, 13, 66, 73, 11, 11, 26, 13, 13, 22, 65, 14, 118, 48, 20, 14, 25, 135, 121, 10, 10, 13, 12, 416, 75, 57, 21, 332, 19, 12, 399, 21, 204, 72, 52, 57, 26, 51, 12, 11, 204, 22, 32, 27, 2058, 38, 67, 62, 14, 24, 24, 58, 88, 15, 19, 18, 14, 10, 10, 50, 10, 110, 18, 229, 173, 41, 167, 71, 12, 16, 1023, 15, 32, 23, 34, 11, 327, 25, 776, 29, 69, 10, 11, 20, 15, 38, 43, 32, 20, 990, 47, 3152, 57, 55, 39, 14, 46, 43, 445, 152, 29, 39, 33, 97, 39, 30, 46, 36, 22, 79, 45, 21, 15, 5172, 541, 28, 29, 37, 19, 21, 75, 10, 17, 11, 38, 13, 12, 10, 20, 41, 87, 18, 12, 37, 11, 33, 24, 44, 10, 169, 22, 21, 226, 35, 73, 42, 22, 12, 77, 55, 61, 71, 917, 51, 20, 112, 26, 215, 71, 44, 43, 31, 55, 27, 25, 11, 353, 183, 12, 19, 14, 176, 178, 18, 15, 106, 28, 11, 532, 23, 72, 14, 15, 183, 12, 30, 30, 41, 19, 29, 27, 59, 105, 22, 17, 11, 10, 16, 20, 19, 35, 251, 10, 12, 27, 19, 20, 22, 36, 10, 13, 10, 12, 66, 90, 24, 17, 20, 11, 104, 12, 12, 67, 29, 268, 35, 48, 11, 196, 376, 124, 21, 268, 21, 30, 164, 18, 121, 107, 11, 325, 844, 36, 189, 135, 3298, 136, 11, 78, 58, 1910, 61, 51, 110, 155, 15, 32, 26, 103, 46, 90, 117, 350, 39, 19, 162, 21, 12, 14, 541, 32, 68, 52, 23, 10, 136, 10, 76, 405, 11, 11, 11, 148, 29, 45, 367, 12, 15, 22, 30, 17, 19, 382, 14, 21, 31, 120, 17, 14, 11, 56, 76, 187, 14, 129, 60, 56, 137, 326, 1784, 3970, 12, 213, 36, 28, 17, 13, 17, 64, 11, 44, 97, 69, 109, 38, 49, 11, 15, 75, 22, 489, 10, 45, 173, 99, 11, 23, 18, 20, 11, 124, 10, 40, 25, 11, 79, 166, 30, 36, 10, 64, 186, 19, 309, 11, 14, 52, 12, 25, 12, 23, 33, 1233, 37, 18, 186, 26, 15, 13, 517, 952, 22, 95, 39, 53, 32, 17, 23, 115, 12, 234, 32, 5565, 615, 39, 13, 382, 58, 13, 21, 10, 11, 412, 20, 11, 26, 12, 248, 158, 10, 31, 77, 72, 44, 10, 63, 29, 27, 27, 16, 15, 332, 29, 10, 472, 12, 10, 40, 12, 21, 29, 134, 25, 70, 49, 41, 53, 32, 182, 22, 40, 22, 27, 12, 5111, 442, 73, 580, 294, 48, 47, 173, 31, 54, 30, 12, 36, 13, 17, 14, 120, 686, 51, 352, 26, 10, 199, 24, 21, 14, 85, 17, 13, 19, 52, 11, 11, 244, 312, 10, 21, 39, 17, 16, 11, 12, 21, 13, 204, 10, 13, 13, 60, 30, 14, 70, 22, 26, 21, 10, 76, 14, 27, 13, 260, 35, 503, 168, 12, 24, 26, 19, 25, 12, 61, 3111, 882, 19, 44, 1428, 449, 14, 40, 13, 38, 88, 11, 116, 298, 349, 11, 20, 23, 29, 83, 17, 71, 22, 13, 1430, 17, 57, 42, 12, 27, 202, 10, 12, 2212, 12, 14, 188, 10, 10, 36, 183, 18, 9246, 1446, 20, 14, 12, 65, 15, 28, 22, 65, 11, 36, 250, 17, 42, 26, 139, 28, 79, 20, 24, 20, 11, 11, 24, 29, 55, 10, 19, 166, 35, 16, 13, 201, 204, 349, 19, 16, 759, 46, 275, 16, 3572, 10, 289, 76, 30, 45, 302, 87, 13, 36, 51, 14, 20, 16, 29, 37, 38, 256, 50, 12, 159, 206, 113, 28, 10, 20, 56, 48, 50, 84, 86, 47, 13, 43, 160, 10, 12, 68, 37, 20, 93, 1490, 646, 10, 21, 211, 196, 34, 725, 13, 74, 15, 14, 27, 35, 57, 1329, 474, 14, 13, 13, 13, 23, 10, 962, 31, 63, 82, 25, 33, 10, 38, 117, 67, 10, 11, 531, 139, 72, 532, 14, 20, 732, 23, 74, 36, 18, 14, 13, 11, 156, 17, 31, 19, 14, 22, 28, 115, 18, 24, 46, 741, 279, 81, 34, 10, 18, 14, 213, 34, 2423, 26, 20, 11, 46, 63, 55, 824, 90, 36, 10, 30, 40, 107, 38, 30, 5077, 19, 47, 11, 21, 32, 23, 11, 48, 41, 25, 38, 1708, 11, 84, 178, 99, 33, 22, 11, 38, 30, 40, 46, 15, 197, 10, 32, 36, 10, 641, 26, 42, 25, 10, 473, 13, 2437, 54, 33, 203, 228, 13, 425, 65, 20, 572, 17, 31, 70, 12, 12, 1887, 53, 38, 18, 33, 21, 69, 568, 736, 163, 28, 60, 155, 270, 42, 50, 19, 2120, 17, 110, 130, 232, 14, 99, 50, 2242, 56, 13, 13, 26, 10, 57, 13, 20, 637, 10, 27, 15, 24, 75, 19, 16, 82, 21, 13, 151, 56, 46, 1329, 24, 67, 16, 30, 56, 25, 2613, 194, 10, 25, 11, 11, 105, 145, 72, 97, 4101, 38, 29, 102, 14, 118, 18, 16, 92, 17, 24, 570, 12, 274, 49, 60, 13, 20, 150, 42, 72, 21, 24, 66, 65, 18, 41, 18, 24, 11, 62, 15, 32, 15, 52, 40, 51, 79, 2436, 17, 81, 17, 39, 105, 28, 15, 77, 11, 77, 23, 11, 105, 12, 17, 26, 17, 645, 53, 53, 121, 237, 22, 10, 266, 2495, 40, 10, 16, 14, 75, 18, 30, 11, 18, 106, 16, 17, 30, 13, 10, 74, 261, 29, 16, 39, 11, 2711, 43, 75, 13, 41, 155, 22, 40, 10, 745, 71, 38, 29, 16, 13, 18, 1013, 30, 28, 29, 610, 14, 35, 27, 725, 116, 12, 38, 22, 51, 1122, 179, 534, 57, 34, 20, 96, 21, 18, 15, 154, 231, 116, 176, 71, 145, 32, 203, 129, 11, 32, 19, 19, 93, 57, 12, 23, 18, 19, 10, 63, 27, 10, 56, 84, 34, 14, 42, 563, 34, 53, 13, 11, 21, 14, 10, 2646, 11, 12, 144, 10, 61, 37, 13, 23, 11, 39, 40, 212, 44, 16, 347, 4151, 131, 51, 11, 11, 20, 24, 118, 111, 29, 44, 43, 10, 444, 11, 18, 418, 46, 37, 91, 143, 39, 446, 14, 30, 16, 19, 576, 142, 27, 12, 440, 20, 24, 62, 29, 44, 19, 122, 10, 27, 13, 50, 288, 14, 228, 16, 47, 13, 10, 14, 11, 33, 160, 63, 11, 145, 40, 123, 74, 15, 35, 14, 1835, 194, 53, 39, 13, 22, 56, 211, 303, 12, 16, 67, 24, 10, 123, 406, 355, 13, 28, 41, 11, 283, 59, 92, 17, 12, 31, 14, 55, 15, 19, 23, 48, 12, 16, 22, 17, 406, 378, 22, 47, 54, 342, 13, 20, 859, 341, 18, 10, 10, 32, 57, 10, 22, 16, 76, 197, 26, 326, 126, 30, 10, 20, 12, 46, 13, 15, 16, 13, 12, 13, 49, 12, 21, 179, 5333, 12, 51, 13, 1184, 13, 11, 20, 16, 940, 17, 84, 212, 37, 59, 99, 24, 23, 112, 14, 22, 14, 19, 33, 17, 13, 471, 109, 10, 13, 139, 46, 22, 15, 11, 23, 44, 54, 68, 387, 66, 22, 709, 55, 24, 44, 151, 20, 22, 69, 54, 43, 16, 38, 17, 11, 11, 10, 10, 77, 56, 72, 17, 39, 10, 12, 51, 15, 146, 28, 35, 143, 155, 13, 10, 34, 14, 21, 13, 36, 239, 15, 35, 36, 14, 11, 10, 14, 279, 38, 125, 15, 61, 30, 94, 72, 44, 19, 50, 13, 27, 33, 87, 14, 10, 14, 45, 27, 37, 46, 109, 52, 21, 50, 46, 62, 29, 10, 21, 19, 60, 12, 21, 13, 21, 32, 169, 11, 152, 11, 83, 12, 11, 27, 10, 98, 134, 180, 44, 16, 74, 10, 20, 15, 24, 154, 21, 21, 20, 10, 14, 20, 10, 82, 50, 16, 12, 14, 486, 24, 31, 20, 13, 27, 1048, 55, 741, 65, 12, 22, 15, 10, 66, 281, 177, 137, 35, 25, 86, 153, 10, 58, 10, 46, 49, 852, 19, 126, 44, 30, 11, 11, 12, 488, 59, 12, 36, 87, 178, 153, 12, 49, 12, 209, 214, 719, 14, 10, 207, 145, 272, 39, 11, 284, 64, 83, 45, 12, 14, 37, 117, 14, 481, 42, 14, 11, 16, 40, 23, 14, 14, 513, 101, 40, 254, 12, 46, 87, 165, 1887, 79, 251, 155, 18, 133, 14, 41, 157, 50, 32, 52, 78, 125, 20, 15, 19, 17, 78, 33, 25, 34, 26, 464, 44, 18, 11, 106, 158, 294, 14, 19, 84, 460, 17, 95, 57, 25, 10, 15, 32, 1000, 30, 10, 13, 22, 54, 293, 11, 207, 14, 12, 193, 16, 19, 25, 11, 14, 46, 10, 82, 84, 36, 14, 99, 128, 250, 15, 227, 269, 122, 33, 49, 73, 12, 20, 81, 1245, 28, 481, 29, 1514, 30, 17, 218, 146, 19, 17, 10, 10, 119, 143, 10, 10, 76, 243, 21, 50, 159, 22, 126, 11, 11, 13, 17, 30, 69, 103, 18, 28, 6201, 13, 20, 39, 12, 12, 16, 14, 33, 874, 94, 224, 852, 63, 14, 31, 53, 136, 26, 21, 22, 41, 75, 40, 44, 2571, 11, 324, 495, 47, 27, 37, 13, 38, 22, 47, 141, 14, 26, 107, 22, 36, 65, 132, 62, 13, 228, 129, 42, 23, 130, 10, 23, 54, 42, 28, 67, 26, 43, 62, 17, 51, 1111, 11, 91, 12, 25, 12, 182, 14, 13, 14, 119, 55, 52, 15, 20, 69, 131, 58, 26, 14, 13, 24, 12, 12, 20, 43, 10, 114, 28, 23, 33, 34, 6381, 12, 44, 359, 82, 54, 63, 28, 12, 614, 16, 86, 96, 13, 300, 30, 30, 13, 113, 14, 50, 13, 13, 98, 11, 132, 129, 17, 926, 28, 12, 20, 21, 37, 84, 82, 51, 14, 13, 14, 41, 417, 45, 13, 20, 109, 113, 14, 15, 345, 48, 27, 74, 246, 12, 74, 10, 11, 17791, 54, 27, 16, 20, 215, 27, 84, 19, 16, 507, 22, 17, 24, 65, 446, 44, 15, 15, 34, 15, 41, 74, 16, 21, 145, 41, 14, 38, 29, 106, 86, 13, 136, 27, 15, 20, 91, 35, 48, 11, 23, 12, 13, 11, 71, 23, 261, 15, 167, 279, 15, 14, 2094, 546, 12, 421, 92, 27, 233, 1976, 76, 12, 407, 38, 14, 98, 24, 13, 17, 69, 121, 32, 13, 10, 10, 10, 27, 67, 63, 109, 74, 33, 90, 25, 35, 11, 2069, 224, 17, 26, 530, 35, 21, 1159, 10, 29, 55, 255, 32, 139, 52, 21, 12, 33, 126, 52, 11, 26, 12, 28, 398, 65, 12, 1570, 10, 12, 13, 29, 12, 10, 47, 11, 27, 267, 64, 10, 23, 47, 17, 160, 154, 713, 39, 11, 28, 239, 66, 55, 19, 346, 235, 36, 72, 158, 172, 10, 975, 433, 71, 22, 58, 422, 14, 44, 499, 19, 140, 17, 20813, 10, 12, 15, 10, 32, 14, 72, 600, 19, 33, 286, 1253, 30, 186, 52, 28, 11, 25, 24, 33, 10, 2227, 17, 149, 35, 15, 12, 10, 11, 68, 328, 532, 593, 2590, 16, 680, 37, 328, 42, 169, 11, 12, 75, 997, 11, 185, 81, 14, 11, 14, 13, 60, 28, 17, 62, 129, 22, 12, 4929, 30, 14360, 24, 2099, 106, 244, 11, 12, 17, 998, 148, 37, 10, 114, 556, 70, 38, 12, 12, 11, 25, 26, 70, 42, 13, 10, 45, 10, 47, 530, 17, 26, 32, 47, 11, 15, 30, 22, 105, 23, 30, 10, 13, 18, 67, 19, 95, 35, 11, 22, 44, 11, 30, 19, 1101, 1670, 27, 113, 81, 11, 14, 14, 1450, 57, 75, 13, 11, 213, 10, 18, 28, 18, 1465, 20, 12, 56, 12, 11, 10, 39, 1242, 22, 56, 12, 14, 21, 66, 1234, 197, 39, 14, 544, 21, 23, 31, 1361, 28, 25, 22, 40, 15, 42, 10, 52, 176, 21, 16, 49, 90, 21, 11, 16, 19, 16, 20, 130, 17, 21, 10, 61, 167, 76, 10, 13, 59, 22, 15, 24, 11, 13, 56, 185, 16, 10, 284, 36, 11, 2232, 91, 180, 22, 56, 27, 16, 13, 116, 21, 121, 47, 19, 22, 49, 13, 87, 10, 121, 11, 349, 14, 10, 12, 36, 18, 55, 44, 19, 25, 46, 99, 18, 12, 24, 28, 265, 79, 18, 12, 31, 12, 17, 56, 34, 14, 109, 30, 20, 51, 10, 45, 13, 13, 24, 59, 23, 97, 62, 10, 91, 171, 301, 69, 14, 48, 11, 19, 17, 88, 30, 16, 63, 892, 11, 32, 171, 24, 15, 58, 72, 28, 16, 18, 109, 16, 2841, 33, 10, 92, 316, 10, 24, 73, 28, 14, 12, 31, 13, 16, 49, 24, 11, 14, 23, 10, 21, 12628, 16, 249, 33, 17, 58, 54, 80, 16, 1186, 43, 32, 41, 221, 39, 17, 30, 14, 10, 28, 2014, 93, 14, 158, 54, 75, 57, 70, 23, 11, 113, 10, 193, 61, 469, 12, 487, 32, 148, 22, 25, 512, 171, 231, 130, 18, 13, 10, 60, 473, 251, 305, 23, 129, 384, 34, 31, 30, 14, 14, 109, 16, 13, 15, 1392, 36, 14, 886, 16, 19, 45, 15, 11, 30, 249, 11, 56, 13, 111, 13, 20, 12, 15, 124, 10, 764, 13, 11, 14, 21, 295, 17, 15, 30, 12, 14, 10, 634, 115, 23, 13, 38, 18, 10, 25, 37, 21, 26, 818, 11, 26, 22, 31, 72, 17, 21, 27, 10, 10, 61, 250, 35, 27, 11, 100, 11, 16, 12, 27, 113, 24, 10, 25, 168, 70, 742, 35, 105, 21, 37, 143, 17, 28, 12, 37, 20, 10, 77, 28, 42, 40, 22, 33, 15, 31, 24, 23, 58, 11, 72, 582, 336, 58, 37, 3894, 84, 52, 379, 46, 11, 20, 87, 10, 25, 23, 59, 12, 21, 746, 110, 32, 10, 18, 16, 148, 11, 21, 18, 21, 46, 19, 38, 30, 43, 40, 15, 17, 11, 16, 32, 39, 10, 27, 18, 13, 21, 25, 47, 389, 47, 10, 17, 527, 70, 124, 13, 17, 10, 49, 11, 25, 21, 1920, 46, 137, 143, 368, 93, 23, 10, 12, 16, 27, 17, 476, 13, 19, 37, 13, 11, 21, 286, 20, 550, 10, 14, 59, 11, 39, 10, 10, 14, 11, 12, 85, 24, 113, 204, 12, 202, 10, 366, 182, 18, 12, 10, 11, 26, 10, 977, 101, 19, 5289, 13, 250, 58, 36, 21, 77, 11, 1090, 242, 16, 12, 25, 415, 59, 26, 112, 22, 157, 58, 63, 99, 23, 12, 34, 12, 38, 53, 11, 29, 15, 34, 204, 114, 20, 13, 44, 143, 37, 26, 84, 19, 526, 15, 10, 21, 45, 158, 10, 10, 16, 11, 55, 136, 30, 12, 167, 291, 86, 1643, 20, 988, 20, 52, 142, 12, 296, 1102, 11, 45, 679, 16, 46, 18, 110, 32, 41, 10, 35, 54, 57, 42, 31, 30, 377, 2232, 22, 10, 10, 240, 11, 10, 41, 27, 10, 16, 42, 46, 48, 20, 51, 87, 23, 35, 149, 18, 107, 115, 73, 29, 13, 105, 2594, 77, 11, 10, 41, 93, 36, 94, 396, 38, 11, 121, 59, 46, 19, 13, 32, 36, 63, 15, 18, 11, 128, 19, 26, 10, 11, 19, 608, 27, 50, 15, 89, 71, 10, 3430, 10, 31, 12, 12, 261, 310, 58, 20, 411, 93, 21, 29, 15, 20, 57, 57, 746, 14, 29, 16, 46, 40, 39, 15, 17, 32, 233, 33, 19, 1580, 177, 42, 52, 14, 163, 468, 12, 24, 12, 1597, 50, 18, 23, 11, 56, 47, 22, 11, 14, 24, 40, 21, 14, 31, 558, 34, 19, 31, 150, 16, 36, 31, 10, 12, 75, 41, 26, 10, 32, 36, 13, 49, 175, 370, 38, 29, 488, 15, 54, 14, 18, 64, 10, 64, 436, 14, 11, 91, 180, 17, 49, 55, 48, 126, 50, 14, 155, 738, 31, 40, 130, 43, 137, 314, 11, 1887, 149, 554, 80, 12, 13, 10, 11, 10, 21, 19, 21, 38, 10, 759, 10, 14, 95, 31, 11, 33, 129, 17, 157, 103, 588, 78, 175, 829, 85, 86, 15, 73, 25, 58, 29, 1124, 116, 41, 51, 29, 10, 42, 637, 67, 10, 53, 2203, 17, 55, 486, 63, 35, 12, 41, 271, 183, 10, 12, 17, 11, 164, 174, 4351, 28, 15, 10, 201, 17, 10, 3382, 127, 10, 148, 40, 22, 22, 20, 18, 10, 13, 13, 23, 27, 142, 16, 30, 3620, 218, 42, 30, 13, 49, 32, 22, 1026, 46, 89, 26, 346, 101, 272, 13, 55, 11, 32, 59, 56, 79, 128, 87, 58, 15, 31, 31, 28, 63, 209, 19, 271, 11, 66, 21, 13, 36, 11, 17, 36, 65, 12, 31, 28, 49, 33, 24, 246, 6315, 36, 69, 13, 26, 715, 10, 33, 20, 14, 13, 10, 57, 10, 15, 72, 65, 19, 14, 16, 30, 32, 67, 23, 11, 320, 29, 468, 24, 32, 45, 10, 179, 32, 24, 13, 12, 15, 553, 2009, 13, 43, 187, 29, 18, 12, 10, 17, 19, 82, 24, 10, 91, 35, 175, 42, 16487, 21, 20, 10, 13, 55, 156, 10, 956, 25, 14, 10, 60, 1958, 22, 168, 90, 47, 62, 22, 10, 31, 30, 30, 357, 11, 36, 15, 10, 22, 19, 31, 13, 29, 10, 22, 380, 101, 30, 49, 31, 153, 21, 32, 12, 19, 225, 16, 14, 13, 56, 43, 33, 182, 21, 11, 19, 84, 71, 140, 34, 28, 1814, 20, 19, 27, 11, 90, 24, 40, 17, 16, 181, 27, 22, 187, 132, 85, 69, 21, 33, 27, 10, 21, 397, 21, 885, 20, 19, 11, 14, 21, 10, 12, 56, 83, 276, 56, 44, 20, 505, 14, 25, 52, 1273, 272, 23, 60, 27, 49, 20, 260, 15, 18, 277, 30, 138, 99, 21, 192, 26, 12, 17, 19, 5539, 120, 20, 29, 101, 74, 11, 4474, 46, 10, 112, 196, 10, 11, 313, 44, 63, 1350, 10, 191, 96, 105, 14, 289, 19, 243, 28, 34, 83, 22, 124, 65, 11, 22, 13, 30, 42, 57, 123, 58, 31, 10, 42, 202, 13, 142, 26, 32, 52, 508, 35, 25, 11, 105, 18, 102, 35, 113, 58, 41, 41, 19, 25, 28, 14, 13, 108, 21, 145, 269, 226, 20, 13, 445, 11, 211, 13, 26, 57, 35, 51, 16, 17, 207, 48, 10, 12, 31, 13, 8336, 33, 42, 430, 2296, 11, 77, 34, 12, 13, 10, 20, 12, 17, 14, 11, 43, 38, 73, 24, 10, 25, 19, 11, 23, 17, 13, 13, 66, 10, 156, 21730, 1110, 39, 10, 1048, 55, 15, 24, 250, 270, 72, 212, 298, 168, 734, 174, 154, 343, 240, 77, 22, 12207, 205, 201, 62, 226, 211, 34, 126, 10, 10, 16, 11, 720, 22, 16, 1661, 229, 25, 37, 34, 43, 43, 10, 93, 22, 54, 10, 10, 62, 36, 19, 43, 12, 27, 52, 379, 13, 43, 63, 30, 19, 13, 208, 71, 2081, 86, 100, 10, 55, 15, 53, 268, 2812, 838, 30, 214, 19, 26, 90, 70, 293, 10, 107, 99, 33, 49, 520, 19, 139, 283, 28, 55, 19, 2170, 68, 11, 133, 15, 15, 143, 11, 62, 69, 96, 21, 177, 12, 84, 673, 75, 16, 1660, 19, 17, 852, 630, 440, 581, 3627, 76, 270, 216, 201, 55, 126, 98, 253, 62, 138, 24, 93, 102, 335, 54, 75, 22, 224, 401, 12, 17, 26, 12, 19, 17, 46, 14, 190, 20, 13, 102, 20, 21, 123, 31, 79, 37, 59, 12, 1698, 18, 1862, 12, 76, 43, 10, 18, 20, 14, 5102, 26, 26, 34, 25, 31, 56, 78, 171, 12, 277, 53, 143, 207, 207, 98, 10, 79, 70, 66, 144, 10, 19, 309, 210, 33, 267, 672, 2892, 72, 36, 10, 33, 10, 10, 25, 15, 11, 12, 17, 835, 50, 618, 49, 33, 186, 15, 53, 11, 61, 24, 37, 21, 61, 1189, 10, 10, 67, 32, 11, 100, 2400, 110, 54, 38, 28, 23, 16, 15, 23, 446, 85, 13, 2199, 10, 226, 50, 87, 14, 14, 118, 239, 578, 12, 29, 17, 11, 35, 199, 20, 16, 15, 48, 68, 17, 57, 70, 16, 25, 1437, 13, 64, 25, 90, 14, 19, 53, 15, 18, 12, 365, 12, 529, 34, 13, 41, 12, 12, 38, 731, 210, 39, 14, 26, 39, 19, 11, 32, 629, 17, 15, 18, 264, 4019, 109, 451, 36, 11, 35, 14, 100, 13, 11, 49, 31, 111, 210, 21, 16, 11, 16, 14, 10, 161, 14, 20, 17, 11, 15, 75, 86, 16, 42, 14, 288, 10, 25, 20, 46, 22, 36, 1128, 11, 21, 66, 161, 12, 10, 12, 56, 39, 10, 40, 573, 81, 45, 13, 19, 14, 29, 14, 32, 15, 39, 73, 116, 151, 10, 58, 427, 1612, 9411, 30, 30, 11, 93, 38, 12, 2043, 59, 35, 14, 51, 20, 11, 10, 21, 10, 59, 10, 28, 35, 14, 1656, 19, 553, 50, 14, 164, 39, 26, 24, 135, 43, 155, 11, 46, 13, 143, 11, 72, 11, 237, 11, 188, 164, 16, 14, 14, 1632, 11, 13, 16, 72, 117, 27, 31, 1423, 566, 33, 20, 192, 14, 23, 27, 1556, 976, 129, 54, 102, 96, 24, 70, 302, 878, 18, 15, 13, 33, 10, 17, 38, 83, 26, 164, 174, 13, 12, 46, 14, 17, 30, 133, 10, 16, 24, 41, 17, 40, 14, 10, 24, 136, 14, 15, 12, 12, 19, 101, 84, 542, 21, 31, 30, 11, 10, 284, 15, 19, 118, 208, 29, 39, 83, 3712, 18, 17, 10, 121, 551, 71, 12, 18, 13402, 342, 25, 42, 1507, 97, 11, 10, 279, 18, 39, 50, 14, 28, 28, 12, 19, 34, 22, 34, 32, 3135, 41, 77, 13, 12, 246, 12, 83, 58, 15, 17, 16, 25, 13, 82, 13, 551, 25, 50, 19, 19, 31, 11, 14, 1380, 54, 60, 14, 55, 39, 75, 73, 35, 62, 551, 19, 15, 21, 36, 35, 50, 128, 255, 2055, 10, 10, 10, 26, 12, 199, 10, 145, 12, 55, 50, 25, 858, 32, 135, 12, 30, 258, 33, 13, 36, 11, 11, 122, 11, 28, 712, 57, 48, 17, 22, 14, 89, 16, 10, 46, 11, 81, 100, 10, 13, 17, 13, 16, 16, 12, 75, 11, 26, 10, 11, 11, 73, 164, 33, 13, 581, 10, 759, 11, 85, 11, 10, 16, 11, 10515, 379, 43, 62, 129, 42, 119, 17, 17, 97, 86, 37, 182, 67, 93, 58, 17, 659, 282, 790, 329, 16, 17, 27, 11, 25, 17, 15, 13, 31, 23, 20, 25, 129, 26, 14, 16, 384, 12, 172, 10, 128, 46, 40, 94, 13, 91, 11, 43, 692, 27, 12, 18, 22, 10, 15, 46, 196, 353, 19, 36, 34, 30, 391, 45, 18, 38, 65, 11, 47, 29, 857, 19, 90, 286, 199, 30, 10, 28, 39, 893, 2707, 81, 137, 105, 12, 25, 11, 14, 44, 59, 11, 17, 34, 111, 26, 13, 252, 34, 31, 21, 17, 116, 30, 10, 10, 19, 10, 111, 14, 69, 10, 31, 480, 27, 114, 12, 16, 12, 38, 22, 98, 369, 4763, 37, 238, 61, 37, 13, 22, 14, 16, 20, 10, 10, 98, 10, 39, 366, 16, 31, 29, 32, 78, 13, 1206, 17, 22, 184, 4815, 118, 10, 42, 27, 81, 79, 90, 12, 10, 24, 39, 14, 74, 330, 277, 59, 24, 1896, 17, 50, 39, 115, 10, 10, 15, 35, 3507, 11, 112, 2361, 11, 88, 197, 70, 17, 612, 12, 131, 61, 43, 40, 51, 16, 150, 11, 25, 39, 41, 70, 61, 12, 389, 16, 27, 127, 27, 1840, 24, 33, 252, 12, 30, 10, 42, 440, 181, 14, 12, 26, 34, 77, 11, 92, 63, 37, 42, 58, 30, 28, 845, 17, 184, 10, 53, 233, 44, 13, 16, 2870, 55, 28, 62, 345, 253, 1151, 21348, 11121, 2577, 83, 98, 25, 75, 180, 1241, 779, 18, 94, 320, 14, 10, 1077, 314, 198, 22, 18, 136, 20, 3183, 33, 14, 126, 104, 208, 17, 97, 32, 12, 17, 22, 41, 15, 23, 29, 43, 33, 15, 334, 13, 33, 44, 17, 530, 12, 459, 8823, 74, 45, 106, 33, 45, 109, 33, 24, 16, 12, 15, 13, 12, 26, 1065, 75, 10, 503, 4269, 22, 2330, 46, 48, 25, 103, 83, 39, 40, 34, 872, 21, 13, 34, 264, 16, 742, 21, 17, 36, 59, 13, 14, 121, 29, 23, 12, 86, 24, 50, 15, 32, 22, 112, 191, 10, 14, 14, 2712, 2770, 46, 13, 93, 144, 16, 19, 13, 25, 15, 34, 10, 12, 37, 120, 129, 11, 10, 15, 11, 32, 35, 14, 74, 119, 50, 993, 37, 11, 202, 118, 1100, 559, 11, 36, 28, 58, 10, 41, 74, 812, 80, 13, 50, 152, 63, 123, 253, 136, 80, 40, 39, 45, 475, 2454, 246, 125, 11, 4390, 46, 12, 229, 33, 109, 152, 74, 43, 10, 19, 236, 38, 23, 52, 16, 146, 22, 27, 42, 30, 42, 10, 13, 272, 10, 48, 13, 17, 18, 10, 31, 339, 22, 86, 17, 21, 29, 546, 15, 34, 366, 31, 289, 125, 11, 19, 12, 16, 23, 195, 127, 55, 79, 87, 53, 72, 15, 12, 20, 272, 103, 388, 16, 10, 12, 18, 10, 63, 102, 15, 40, 325, 13, 1126, 50, 52, 903, 149, 149, 26, 16, 15, 201, 85, 13, 117, 338, 2085, 26, 10, 109, 131, 25, 10, 106, 20, 10, 11, 16, 11, 132, 1007, 287, 13, 145, 108, 212, 25, 12, 13, 65, 17, 19, 11, 316, 13, 366, 26, 715, 12, 26, 192, 653, 80, 3954, 15, 112, 1026, 1942, 12, 848, 19, 12, 24, 75, 122, 23, 23, 112, 774, 48, 23, 54, 13, 22, 16, 15, 13, 357, 33, 23, 121, 82, 18, 46, 37, 60, 128, 28, 57, 12, 11, 40, 44, 62, 22, 17, 86, 12, 10, 14, 25, 221, 15, 19, 12, 28, 112, 12, 27, 17, 11, 19, 31, 15, 14, 33, 30, 41, 409, 45, 157, 47, 26, 138, 82, 58, 252, 10, 10, 135, 10, 10, 489, 30, 21, 195, 74, 16, 1281, 11, 91, 54, 17, 16, 30, 10, 55, 11, 13, 13, 10, 11, 33, 88, 12, 159, 23, 10, 13, 44, 15, 12, 11, 518, 52, 25, 37, 54, 15, 30, 183, 323, 21, 12, 11, 24, 15, 12, 17, 669, 47, 18, 28, 27, 33, 21, 336, 506, 74, 28, 100, 15, 11, 2182, 28, 38, 28, 27, 17, 773, 400, 14, 23, 15, 74, 30, 16, 13, 106, 38, 29, 112, 191, 33, 937, 18, 275, 839, 50, 1182, 55, 12, 11, 12, 187, 18, 167, 11, 44, 287, 83, 303, 66, 26, 42, 131, 1536, 193, 176, 12, 1756, 11, 57, 56, 76, 12, 14, 12, 34, 15, 53, 34, 19, 12, 795, 13, 18, 14, 16, 41, 28, 24, 209, 47, 15, 30, 196, 11, 10, 19, 15, 18, 30, 686, 102, 877, 17, 21, 34, 24, 51, 71, 305, 395, 43, 18, 14, 14, 32, 20, 33, 31, 24, 21, 26, 20, 33, 524, 81, 40, 40, 76, 43, 74, 22, 345, 12, 14, 10, 48, 12, 579, 88, 15, 11, 26, 1946, 748, 34, 22, 30, 46, 14, 10, 34, 37, 30, 2395, 34, 26, 20, 107, 123, 10, 10, 14, 195, 12, 25, 15, 12, 11, 87, 171, 19, 15, 39, 16, 17, 11, 10, 19, 1020, 21, 18, 26, 15, 18, 22, 12, 26, 10, 92, 10, 217, 18, 27, 562, 17, 27, 14, 36, 75, 23, 74, 31, 14, 10, 27, 38, 271, 19, 13, 464, 15, 23, 10, 12, 53, 17, 10, 11, 10, 12, 17, 22, 12, 47, 41, 23, 139, 35, 11, 39, 38, 17, 45, 123, 55, 85, 36, 51, 6458, 200, 843, 5613, 10, 955, 155, 73, 19, 17, 91, 46, 258, 13, 41, 170, 30, 29, 118, 16, 64, 35, 15, 45, 15, 10, 208, 10, 10, 314, 134, 30, 112, 51, 31, 70, 11, 65, 11, 20, 53, 30, 21, 30, 81, 29, 18, 41, 16, 566, 18, 13, 230, 15, 83, 128, 218, 20, 138, 39, 240, 92, 177, 26, 58, 13, 43, 109, 18, 22, 14, 152, 15, 44, 68, 54, 49, 114, 71, 10, 16, 30, 185, 15, 1526, 2907, 10, 31, 12, 22, 263, 381, 501, 188, 10, 25, 12, 18, 15, 10, 121, 105, 15, 13, 11, 136, 23, 10, 106, 22, 12, 182, 1472, 15, 123, 14, 12, 11, 10147, 40, 15, 3476, 87, 22, 10, 93, 28, 84, 80, 247, 15, 184, 13, 109, 235, 303, 1846, 49, 401, 225, 12, 28, 128, 14, 958, 668, 49, 20, 14, 46, 134, 39, 34, 14, 4896, 10, 3176, 365, 26, 18, 48, 29, 72, 32, 26, 33, 25, 15, 75, 85, 33, 427, 48, 120, 18, 146, 18, 239, 35, 763, 269, 14, 16, 321, 182, 14, 45, 18, 1057, 10, 16, 191, 11, 13, 13, 90, 11, 46, 39, 1032, 12, 10, 205, 18, 51, 32, 18, 11, 10, 10, 16, 14, 13, 26, 11, 18, 52, 397, 12, 19, 10, 28, 11, 13, 73, 15, 18, 136, 60, 18, 15, 45, 17, 153, 11, 18, 12, 63, 226, 778, 98, 99, 1899, 197, 53, 76, 20, 51, 22, 10, 14, 26, 82, 11, 1878, 22, 200, 80, 45, 37, 109, 17, 75, 32, 24, 445, 17, 2437, 235, 15, 50, 12, 10, 104, 50, 11, 13, 15, 86, 11, 45, 27, 94, 91, 16, 31, 36, 10, 34, 73, 24, 11, 24, 1358, 466, 193, 1339, 48, 26, 29, 32, 20, 19, 162, 10, 346, 218, 76, 25, 45, 288, 121, 301, 648, 87, 305, 482, 115, 24, 17, 39, 35, 10, 207, 18, 87, 10, 220, 246, 15, 92, 30, 80, 7851, 46, 102, 96, 36, 97, 29, 25, 1103, 208, 49, 72, 20, 326, 131, 16, 20, 329, 15, 40, 11, 10, 4088, 77, 11, 155, 299, 252, 27, 40, 11, 41, 21, 66, 40, 182, 59, 11, 43, 31, 11, 13, 169, 64, 14, 10, 7751, 203, 31, 1206, 35, 14, 24, 76, 209, 12, 48, 1306, 13, 14, 17, 75, 986, 235, 419, 49, 10, 11, 16, 15, 16, 13, 16, 135, 19, 81, 14, 12, 25, 49, 34, 632, 57, 10, 23, 15, 65, 11, 18, 14, 3581, 28, 11, 26, 22, 14, 72, 111, 10, 18, 247, 44, 106, 33, 15, 14, 45, 15, 104, 13, 423, 34, 50, 36, 1772, 24, 12, 49, 648, 75, 38, 25, 14, 275, 183, 31, 37, 17, 14, 135, 11, 82, 27, 18, 26, 15, 65, 55, 36, 18, 190, 10, 32, 234, 38, 25, 14, 22, 59, 239, 1273, 18, 69, 42, 61, 50, 26, 63, 36, 43, 78, 27, 11, 29, 13, 29, 382, 16, 131, 19, 17, 148, 29, 31, 17, 80, 34, 51, 65, 15, 23, 10, 35, 13, 326, 12, 2193, 11, 17, 12, 95, 11, 12, 51, 91, 68, 13, 23, 78, 11, 17, 41, 92, 74, 449, 24, 33, 639, 22, 14, 170, 75, 127, 10, 94, 32, 19, 21, 27, 16, 11, 94, 12, 23, 55, 13, 877, 22, 16, 11, 16, 164, 13, 405, 44, 29, 30, 21, 24, 19, 20, 20, 26, 37, 29, 24, 30, 17, 22, 24, 28, 30, 25, 23, 21, 19, 28, 30, 22, 27, 31, 27, 55, 18, 31, 34, 18, 14, 23, 17, 32, 15, 15, 18, 15, 16, 29, 21, 20, 25, 23, 34, 11, 26, 26, 17, 21, 23, 39, 27, 23, 18, 16, 15, 14, 27, 21, 16, 19, 20, 17, 23, 20, 21, 13, 21, 16, 18, 29, 14, 35, 30, 23, 17, 15, 18, 21, 23, 23, 22, 22, 30, 13, 23, 15, 20, 14, 18, 22, 25, 29, 30, 28, 18, 17, 12, 24, 16, 20, 21, 26, 21, 25, 17, 27, 16, 16, 24, 24, 13, 21, 24, 21, 22, 33, 22, 13, 21, 25, 19, 15, 23, 21, 25, 21, 16, 21, 19, 20, 24, 17, 29, 11, 28, 15, 14, 28, 21, 25, 18, 26, 25, 24, 19, 17, 23, 19, 31, 34, 23, 18, 21, 24, 18, 26, 19, 17, 19, 17, 17, 27, 22, 17, 24, 28, 24, 21, 18, 23, 15, 24, 16, 21, 23, 16, 20, 18, 19, 24, 23, 19, 33, 25, 25, 12, 27, 20, 25, 22, 35, 31, 35, 29, 33, 26, 25, 22, 16, 31, 32, 24, 30, 22, 27, 17, 30, 30, 32, 29, 27, 23, 22, 34, 16, 35, 19, 23, 24, 22, 16, 32, 27, 21, 25, 22, 21, 21, 19, 14, 24, 20, 22, 25, 16, 15, 19, 22, 27, 25, 18, 23, 23, 25, 19, 27, 13, 19, 27, 15, 21, 12, 15, 32, 17, 24, 15, 12, 15, 27, 21, 19, 19, 16, 21, 17, 29, 26, 30, 40, 29, 28, 27, 25, 34, 35, 28, 28, 29, 40, 43, 34, 24, 24, 45, 19, 36, 31, 33, 40, 30, 36, 31, 27, 27, 28, 34, 44, 30, 20, 27, 21, 25, 34, 38, 43, 24, 33, 29, 32, 22, 20, 35, 26, 29, 35, 35, 48, 26, 35, 29, 44, 35, 30, 22, 25, 46, 27, 42, 32, 34, 36, 27, 30, 45, 23, 38, 32, 28, 30, 26, 24, 30, 33, 29, 18, 36, 27, 26, 23, 32, 26, 29, 24, 34, 28, 31, 32, 31, 10, 10, 10, 20, 14, 23, 22, 53, 25, 30, 16, 26, 17, 24, 15, 10, 3943, 35, 19, 11, 15, 14, 62, 10, 36, 12, 63, 14, 13, 15, 11, 13, 11, 13, 11, 14, 19, 18, 14, 10, 10, 17, 15, 10, 10, 20, 10, 11, 19, 12, 11, 14, 16, 21, 17, 10, 18, 11, 16, 14, 19, 12, 14, 15, 13, 19, 11, 21, 12, 14, 11, 11, 13, 13, 11, 11, 13, 17, 16, 11, 17, 17, 23, 16, 13, 12, 17, 20, 13, 17, 14, 14, 22, 12, 15, 19, 21, 15, 12, 14, 17, 17, 20, 18, 27, 12, 14, 20, 17, 13, 21, 11, 14, 19, 23, 18, 16, 18, 13, 12, 16, 19, 11, 13, 23, 10, 21, 14, 15, 19, 20, 21, 12, 15, 11, 17, 11, 10, 15, 12, 13, 11, 17, 10, 13, 12, 17, 20, 20, 17, 24, 15, 13, 17, 12, 15, 10, 21, 12, 20, 18, 19, 17, 22, 21, 19, 18, 13, 10, 15, 11, 27, 14, 13, 15, 18, 11, 24, 13, 16, 12, 14, 15, 17, 10, 13, 10, 16, 10, 18, 13, 14, 11, 11, 13, 15, 15, 15, 20, 22, 15, 18, 16, 16, 13, 19, 16, 12, 10, 10, 17, 14, 14, 17, 15, 13, 13, 15, 12, 10, 13, 10, 12, 11, 21, 12, 17, 11, 12, 13, 20, 20, 14, 10, 12, 15, 19, 20, 19, 12, 14, 12, 17, 14, 15, 11, 14, 20, 14, 10, 10, 12, 12, 25, 16, 14, 19, 18, 14, 15, 20, 26, 20, 18, 14, 22, 17, 24, 22, 19, 15, 11, 21, 17, 17, 20, 34, 27, 32, 16, 18, 21, 19, 21, 19, 15, 18, 26, 25, 14, 25, 15, 16, 23, 25, 19, 15, 22, 25, 20, 17, 20, 22, 22, 13, 14, 15, 16, 16, 12, 19, 11, 14, 24, 19, 12, 21, 23, 15, 21, 15, 17, 21, 13, 22, 23, 17, 10, 15, 19, 15, 20, 14, 31, 23, 22, 23, 19, 21, 25, 18, 23, 23, 27, 39, 26, 28, 23, 19, 21, 26, 24, 16, 13, 22, 16, 15, 20, 14, 14, 18, 18, 11, 12, 10, 13, 44, 28, 39, 17, 129, 13, 20, 21, 11, 13, 10, 31, 11, 12, 43, 11, 21, 261, 17, 17, 16, 16, 18, 15, 18, 12, 23, 20, 19, 23, 29, 21, 15, 19, 15, 19, 16, 23, 20, 16, 14, 15, 16, 15, 18, 25, 22, 13, 20, 16, 23, 15, 14, 20, 17, 26, 12, 17, 16, 18, 24, 15, 13, 20, 26, 15, 20, 10, 18, 16, 23, 22, 19, 15, 22, 17, 22, 10, 30, 15, 20, 14, 20, 14, 11, 18, 20, 23, 17, 14, 21, 19, 23, 13, 12, 16, 16, 15, 12, 13, 13, 25, 24, 27, 24, 15, 12, 16, 11, 18, 17, 20, 22, 20, 11, 15, 21, 16, 21, 19, 18, 20, 23, 19, 34, 25, 22, 21, 15, 17, 18, 31, 17, 19, 24, 15, 25, 21, 16, 17, 17, 26, 18, 28, 14, 13, 15, 13, 24, 24, 15, 24, 19, 12, 23, 21, 13, 17, 16, 17, 11, 19, 21, 20, 18, 20, 18, 17, 12, 12, 27, 26, 30, 19, 25, 18, 20, 20, 19, 23, 18, 15, 20, 22, 11, 22, 23, 28, 19, 23, 30, 27, 23, 18, 17, 28, 19, 25, 25, 45, 19, 20, 25, 25, 18, 18, 16, 16, 16, 16, 19, 16, 14, 17, 17, 19, 18, 26, 19, 25, 21, 12, 19, 18, 18, 25, 13, 17, 30, 31, 19, 23, 22, 28, 14, 21, 24, 17, 22, 21, 16, 10, 15, 19, 18, 13, 21, 18, 12, 20, 16, 23, 18, 17, 24, 16, 13, 14, 12, 18, 18, 15, 15, 22, 17, 21, 23, 24, 21, 13, 14, 14, 17, 18, 19, 25, 16, 19, 20, 18, 19, 28, 13, 26, 59, 27, 32, 16, 16, 32, 26, 36, 19, 24, 18, 33, 35, 35, 33, 37, 27, 28, 25, 29, 33, 25, 30, 27, 28, 24, 29, 25, 37, 29, 20, 35, 35, 20, 29, 28, 24, 20, 24, 25, 23, 32, 26, 24, 19, 25, 25, 18, 24, 21, 21, 34, 22, 22, 27, 23, 22, 25, 37, 28, 19, 25, 29, 33, 11, 16, 21, 25, 33, 24, 17, 29, 29, 29, 24, 27, 32, 23, 24, 26, 27, 25, 32, 27, 20, 17, 32, 32, 26, 31, 13, 13, 12, 21, 23, 24, 11, 16, 15, 15, 13, 628, 11, 19, 25, 21, 20, 19, 22, 27, 18, 17, 22, 28, 25, 11, 11, 17, 20, 17, 19, 18, 18, 16, 17, 17, 16, 18, 24, 15, 22, 19, 10, 22, 22, 19, 24, 17, 27, 15, 16, 17, 18, 19, 12, 19, 15, 17, 17, 18, 22, 13, 19, 14, 15, 14, 21, 15, 24, 19, 16, 16, 27, 14, 24, 23, 23, 16, 17, 16, 27, 17, 18, 22, 16, 24, 20, 14, 13, 21, 17, 19, 18, 13, 20, 14, 15, 15, 23, 21, 17, 15, 14, 15, 22, 14, 20, 18, 22, 15, 16, 12, 15, 15, 15, 20, 16, 20, 14, 14, 24, 13, 32, 28, 19, 15, 20, 26, 20, 14, 25, 16, 20, 17, 19, 14, 17, 13, 18, 14, 20, 23, 10, 11, 19, 22, 16, 22, 19, 18, 10, 19, 16, 20, 25, 18, 13, 15, 15, 16, 31, 27, 15, 19, 16, 16, 14, 13, 18, 20, 14, 12, 19, 13, 10, 22, 21, 20, 17, 10, 30, 19, 18, 17, 16, 22, 16, 22, 16, 14, 12, 17, 19, 12, 20, 19, 17, 16, 14, 32, 18, 18, 25, 19, 12, 15, 13, 24, 14, 22, 40, 23, 19, 23, 27, 17, 11, 20, 14, 15, 14, 17, 20, 19, 23, 19, 16, 21, 18, 18, 16, 22, 15, 18, 22, 19, 18, 21, 18, 20, 26, 20, 15, 22, 21, 21, 17, 14, 17, 17, 11, 24, 19, 23, 19, 10, 20, 23, 15, 20, 13, 16, 20, 13, 14, 16, 21, 16, 18, 14, 22, 20, 29, 25, 11, 20, 20, 18, 26, 25, 20, 19, 31, 17, 22, 33, 28, 23, 17, 21, 20, 29, 29, 23, 27, 32, 24, 30, 15, 33, 19, 23, 32, 23, 26, 29, 24, 26, 20, 17, 32, 20, 28, 22, 22, 20, 18, 20, 15, 24, 20, 15, 15, 19, 19, 16, 27, 19, 15, 27, 31, 26, 23, 22, 31, 25, 22, 23, 22, 15, 31, 25, 23, 29, 27, 29, 21, 26, 18, 22, 24, 30, 24, 32, 26, 19, 20, 22, 25, 24, 17, 22, 17, 13, 13, 15, 16, 21, 17, 16, 13, 20, 14, 12, 14, 12, 11, 16, 23, 11, 80, 19, 20, 20, 19, 24, 17, 19, 28, 14, 13, 19, 20, 16, 14, 18, 19, 22, 15, 18, 17, 20, 14, 13, 14, 14, 22, 11, 10, 18, 13, 12, 18, 18, 15, 13, 16, 15, 20, 19, 14, 15, 12, 19, 18, 15, 17, 14, 12, 13, 14, 18, 21, 17, 18, 24, 14, 17, 21, 14, 15, 17, 18, 25, 16, 22, 11, 12, 18, 13, 16, 29, 10, 17, 17, 14, 19, 11, 20, 15, 20, 16, 22, 15, 13, 21, 20, 16, 15, 21, 17, 19, 20, 13, 11, 27, 14, 22, 24, 15, 22, 22, 30, 23, 14, 22, 16, 15, 11, 15, 13, 31, 16, 16, 18, 23, 17, 18, 20, 19, 14, 17, 24, 12, 13, 13, 13, 17, 14, 14, 16, 18, 15, 25, 17, 25, 12, 11, 13, 15, 10, 19, 16, 18, 21, 24, 21, 23, 19, 18, 11, 22, 17, 10, 20, 23, 25, 13, 26, 15, 20, 13, 16, 22, 17, 15, 20, 17, 12, 16, 17, 14, 10, 12, 15, 20, 19, 17, 10, 18, 18, 14, 15, 11, 13, 21, 16, 15, 19, 19, 10, 15, 12, 12, 19, 14, 18, 18, 13, 24, 15, 15, 16, 16, 14, 14, 19, 28, 10, 23, 15, 20, 15, 22, 14, 14, 15, 17, 24, 18, 15, 19, 10, 12, 20, 21, 16, 16, 11, 17, 16, 11, 23, 17, 17, 18, 26, 19, 20, 13, 20, 17, 20, 14, 17, 13, 17, 23, 15, 16, 10, 16, 10, 17, 15, 12, 16, 16, 10, 15, 11, 15, 19, 24, 28, 23, 18, 23, 23, 12, 19, 21, 13, 21, 32, 20, 20, 20, 26, 29, 23, 16, 29, 24, 22, 17, 29, 22, 23, 21, 19, 30, 22, 25, 30, 25, 18, 11, 29, 31, 27, 14, 18, 15, 28, 15, 15, 16, 22, 25, 17, 15, 16, 31, 35, 17, 27, 23, 24, 33, 26, 26, 18, 20, 23, 18, 32, 20, 15, 14, 24, 18, 28, 29, 24, 16, 26, 14, 22, 26, 28, 22, 17, 24, 20, 30, 14, 21, 24, 28, 15, 27, 25, 15, 18, 14, 20, 18, 16, 10, 23, 16, 12, 12, 13, 15, 13, 16, 18, 11, 12, 11, 14, 12, 15, 16, 13, 14, 12, 10, 18, 12, 11, 17, 10, 16, 11, 12, 13, 18, 16, 21, 21, 11, 12, 14, 20, 16, 10, 15, 14, 13, 10, 17, 13, 13, 11, 15, 11, 15, 15, 10, 14, 11, 14, 10, 12, 11, 12, 16, 16, 14, 13, 12, 16, 11, 17, 15, 10, 12, 12, 17, 11, 12, 19, 13, 10, 12, 11, 14, 16, 12, 10, 11, 12, 10, 15, 10, 12, 17, 11, 11, 19, 10, 11, 13, 21, 15, 17, 16, 10, 10, 11, 12, 18, 11, 11, 12, 11, 11, 11, 11, 12, 16, 10, 16, 12, 18, 10, 11, 14, 11, 17, 17, 13, 12, 13, 17, 14, 10, 13, 12, 15, 12, 11, 13, 14, 11, 10, 10, 10, 15, 12, 11, 13, 10, 11, 11, 10, 10, 18, 10, 11, 14, 16, 19, 19, 18, 18, 13, 18, 16, 23, 12, 15, 14, 18, 14, 18, 17, 13, 20, 13, 20, 12, 20, 19, 11, 18, 13, 31, 12, 16, 17, 18, 16, 25, 16, 19, 21, 17, 20, 18, 25, 15, 18, 18, 10, 15, 20, 17, 30, 22, 18, 14, 17, 14, 17, 12, 12, 17, 19, 12, 13, 15, 14, 13, 20, 19, 20, 10, 18, 21, 17, 16, 22, 16, 13, 12, 23, 16, 13, 17, 16, 16, 15, 15, 13, 14, 20, 13, 15, 11, 10, 17, 12, 11, 22, 14, 31, 11, 12, 13, 10, 13, 10, 11, 12, 10, 10, 12, 11, 11, 19, 10, 10, 10, 13, 12, 13, 13, 11, 11, 12, 14, 10, 17, 10, 17, 14, 12, 11, 17, 18, 12, 12, 11, 10, 14, 10, 12, 12, 18, 10, 15, 11, 12, 11, 10, 11, 11, 13, 10, 17, 10, 10, 14, 11, 11, 10, 11, 18, 14, 12, 13, 10, 12, 12, 11, 11, 12, 10, 10, 13, 12, 14, 12, 12, 17, 11, 11, 12, 11, 10, 11, 10, 10, 20, 10, 16, 10, 16, 11, 12, 11, 12, 16, 13, 10, 14, 13, 16, 10, 10, 12, 12, 17, 14, 10, 10, 15, 11, 10, 14, 11, 13, 13, 13, 11, 14, 10, 14, 11, 16, 10, 15, 19, 16, 14, 17, 12, 12, 13, 14, 12, 15, 13, 14, 17, 20, 12, 11, 12, 12, 16, 12, 10, 14, 12, 10, 10, 13, 11, 12, 11, 13, 12, 18, 10, 16, 16, 12, 14, 15, 17, 15, 17, 12, 17, 15, 11, 11, 11, 17, 11, 13, 16, 15, 12, 12, 15, 10, 10, 14, 13, 18, 18, 10, 11, 10, 13, 20, 17, 11, 12, 12, 14, 10, 15, 11, 11, 14, 15, 12, 18, 11, 17, 14, 10, 12, 11, 11, 10, 11, 16, 15, 13, 14, 12, 14, 11, 10, 11, 13, 14, 12, 13, 10, 14, 15, 11, 10, 12, 12, 10, 14, 10, 16, 17, 10, 12, 16, 20, 20, 20, 20, 24, 14, 10, 10, 12, 10, 12, 12, 13, 11, 13, 10, 10, 10, 12, 10, 12, 10, 10, 10, 10, 10, 10, 11, 11, 13, 15, 11, 16, 11, 11, 10, 10, 16, 10, 12, 10, 12, 10, 11, 13, 15, 11, 12, 12, 12, 14, 12, 13, 10, 10, 10, 12, 10, 19, 62, 11, 10, 10, 13, 21, 12, 10, 10, 11, 15, 10, 12, 11, 11, 12, 11, 12, 10, 11, 10, 12, 11, 10, 12, 15, 12, 12, 14, 13, 12, 11, 10, 11, 10, 13, 12, 10, 10, 13, 10, 13, 10, 10, 10, 10, 11, 23, 11, 10, 15, 14, 14, 15, 21, 11, 37, 10, 10, 16, 10, 10, 11, 14, 10, 10, 13, 15, 10, 13, 15, 11, 11, 10, 13, 10, 11, 10, 28, 45, 47, 20, 55, 15, 20, 191, 37, 714, 66, 25, 10, 31, 12, 14, 15, 18, 21, 21, 21, 74, 30, 213, 609, 26, 86, 58, 13, 43, 37, 1046, 13, 26, 323, 403, 103, 31, 104, 19, 13, 10, 26, 136, 24, 157, 46, 749, 77, 10, 28, 45, 16, 115, 172, 2989, 437, 333, 236, 35, 10, 18, 23, 62, 91, 97, 593, 14, 16, 26, 17, 26, 10, 56, 22, 34, 115, 31, 29, 494, 51, 38, 31, 13, 24, 25, 18, 11, 16, 14, 18, 11, 10, 118, 22, 21, 10, 13, 445, 13, 82, 11, 68, 12, 13, 12, 10, 10, 28, 62, 16, 37, 1757, 17, 25, 12, 11, 42, 10, 34, 53, 14, 13, 385, 11, 270, 19, 281, 40, 46, 16, 38, 197, 157, 61, 15, 14, 95, 18, 1238, 52, 234, 105, 71, 53, 28, 25, 40, 336, 62, 12, 220, 50, 18, 37, 19, 10, 12, 14, 17, 20, 12, 18, 10, 61, 40, 21, 112, 13, 11, 20, 13, 15, 72, 49, 19, 13, 23, 25, 13, 707, 29, 23, 23, 19, 28, 3040, 11, 10, 52, 16, 11, 31, 46, 69, 11, 20, 21, 38, 63, 55, 18, 10, 11, 635, 10, 12, 33, 325, 14, 149, 47, 21, 17, 13, 42, 10, 813, 338, 34, 1207, 339, 13, 60, 10, 218, 18, 150, 40, 24, 53, 48, 44, 274, 18, 142, 62, 51, 1493, 18, 251, 53, 96, 55, 56, 13, 22, 275, 13, 31, 39, 166, 37, 2517, 12, 48, 157, 340, 22, 11, 22, 55, 53, 14, 304, 571, 15, 913, 217, 12, 56, 87, 10, 44, 15, 146, 92, 319, 76, 41, 56, 31, 67, 28, 15, 40, 102, 10, 102, 1342, 223, 61, 82, 20, 22, 15, 11, 45, 102, 74, 272, 46, 41, 72, 12, 15, 25, 65, 6132, 190, 23, 32, 69, 15, 54, 421, 51, 17, 33, 14, 11, 42, 23, 16, 38, 32, 38, 14, 20, 263, 12, 34, 543, 142, 42, 17, 1416, 3721, 62, 19, 24, 56, 189, 24, 43, 143, 22, 29, 15, 11, 26, 24, 27, 23, 156, 12, 12, 14, 10, 70, 38, 20, 19, 41, 11, 10, 16, 11, 94, 41, 13, 16, 28, 14, 16, 59, 22, 15, 32, 26, 37, 55, 59, 11, 26, 27, 10, 10, 11, 11, 12, 22, 12, 52, 26, 21, 10, 27, 27, 28, 27, 57, 11, 79, 126, 51, 23, 30, 13, 16, 66, 153, 127, 14, 191, 21, 41, 240, 189, 129, 60, 10, 1138, 628, 53, 28, 12, 17, 2762, 14, 21, 29, 12, 15, 52, 34, 879, 28, 23, 11, 752, 47, 10, 19, 31, 13, 38, 23, 25, 25, 333, 230, 36, 126, 428, 62, 191, 14, 25, 81, 108, 10, 22, 14, 16, 59, 418, 269, 14, 10, 758, 299, 75, 87, 15, 59, 1235, 40, 20, 10, 55, 129, 69, 19, 37, 35, 10, 20, 62, 11, 30, 19, 53, 78, 20, 14, 51, 46, 55, 10, 13, 13, 185, 57, 1135, 60, 60, 23, 143, 21, 108, 18, 15, 103, 21, 26, 31, 59, 1332, 12, 51, 10, 205, 23, 46, 8063, 95, 586, 14, 124, 60, 18, 42, 12, 13, 16, 11, 28, 34, 30, 10, 27, 40, 145, 2475, 14, 32, 53, 113, 20, 78, 20, 69, 10, 1899, 17, 17, 48, 35, 29, 43, 17, 60, 57, 16, 12, 15, 27, 30, 30, 56, 16048, 11, 62, 11, 19, 26, 62, 21, 242, 141, 54, 33, 12, 36, 32, 11, 220, 1183, 290, 155, 22, 17, 47, 25, 56, 27, 31, 24, 38, 11, 25, 30, 16, 22, 13, 95, 11, 38, 15, 14, 11, 11, 115, 12, 128, 33, 301, 10, 196, 67, 13, 11, 105, 150, 27, 29, 174, 24, 12, 87, 10, 14, 1268, 15, 27, 11, 10, 252, 13, 285, 12, 10, 10, 112, 37, 10, 38, 18, 15, 993, 578, 116, 16, 14, 12, 32, 56, 13, 35, 220, 759, 48, 44, 27, 14, 10, 128, 74, 14, 47, 10, 61, 48, 45, 15, 314, 44, 31, 46, 16, 145, 30, 311, 10, 10, 83, 83, 40, 103, 22, 250, 2994, 26, 89, 11, 1172, 29, 31, 66, 31, 27, 141, 16, 17, 310, 11, 2800, 46, 14, 1883, 89, 38, 22, 24, 24, 13, 21, 16, 166, 11, 29, 376, 21, 14, 14, 197, 3258, 75, 610, 20, 23, 10, 87, 14, 126, 25, 20, 58, 116, 204, 140, 274, 26, 1104, 123, 38, 34, 66, 48, 83, 24, 179, 12, 111, 13, 108, 14, 2813, 10, 50, 24, 151, 38, 85, 1143, 177, 72, 19, 588, 22, 34, 176, 10, 484, 114, 1219, 40, 53, 261, 143, 27, 13, 1065, 148, 214, 129, 44, 433, 22, 12, 17, 10, 29, 32, 32, 13, 68, 39, 44, 270, 29, 22, 6304, 10, 43, 12, 49, 26, 210, 292, 11, 134, 11, 163, 193, 66, 30, 50, 14, 20, 20, 12, 63, 102, 17749, 32, 10, 177, 14, 10, 16, 34, 48, 75, 65, 79, 22, 444, 19, 44, 490, 198, 27, 146, 50, 138, 34, 46, 48, 16, 17, 36, 51, 124, 28, 33, 86, 25, 23, 10, 11, 90, 596, 18, 36, 13, 12, 10, 40, 16, 872, 50, 22, 19, 53, 32, 15, 289, 16, 23, 19, 89, 38, 30, 23, 10, 15, 32, 27, 10, 13, 20, 22, 20, 216, 55, 70, 92, 1454, 11, 28, 17, 17, 16, 29, 448, 152, 14, 61, 19, 97, 19, 61, 17, 130, 25, 1186, 954, 225, 18, 11, 289, 53, 25, 19, 20, 46, 536, 32, 39, 10, 84, 16, 392, 72, 47, 54, 10, 15, 983, 16, 11, 19, 516, 29, 184, 328, 23, 251, 116, 40, 26, 62, 32, 20, 107, 62, 13, 1691, 12, 291, 10, 22, 10, 113, 27, 22, 63, 11, 87, 72, 19, 154, 238, 29, 18, 26, 10, 14, 64, 43, 168, 20, 67, 450, 38, 12, 11, 75, 105, 11, 51, 14, 3839, 77, 59, 15, 155, 18, 17, 918, 21, 32, 24, 21, 19, 22, 19, 16, 78, 16, 37, 14, 16, 93, 93, 46, 431, 251, 25, 16, 23, 30, 20, 23, 30, 15, 97, 13, 35, 10, 10, 12, 48, 45, 52, 14, 15, 27, 12, 12, 15, 187, 197, 18, 11, 821, 232, 13, 20, 2144, 10, 26, 10, 36, 17, 344, 34, 12, 80, 53, 84, 23, 10, 14, 12, 256, 34, 26, 420, 16, 17, 18, 159, 26, 238, 333, 10, 24, 123, 41, 42, 10, 13, 35, 32, 127, 696, 49, 19, 54, 23, 55, 10, 225, 106, 69, 10, 10400, 32, 55, 33, 21, 27, 16, 15, 11, 12, 20, 43, 161, 13, 14, 14, 1581, 57, 111, 190, 17, 13, 106, 10, 21, 26, 20, 106, 36, 401, 17, 533, 109, 46, 44, 91, 22, 416, 60, 118, 10, 73, 23, 16, 28, 149, 11, 10, 30, 28, 10, 50, 33, 411, 94, 117, 10, 361, 12, 4683, 177, 11, 11, 23, 16, 13, 67, 205, 36, 508, 22, 84, 58, 105, 247, 442, 280, 25, 39, 156, 11, 152, 62, 88, 63, 406, 16, 54, 36, 24, 23, 31, 217, 97, 15, 1431, 192, 44, 83, 44, 51, 21, 10, 134, 27, 88, 14, 10, 15, 26, 32, 97, 164, 13, 15, 18, 28, 226, 1506, 107, 21, 112, 19, 24, 37, 96, 210, 30, 14, 1828, 196, 40, 57, 25, 386, 14, 138, 11, 64, 19, 10, 104, 119, 11, 12, 73, 24, 62, 109, 72, 36, 26, 10, 11, 12, 25, 25, 28, 18, 27, 18, 20, 31, 23, 44, 14, 49, 236, 21, 14, 87, 192, 19, 219, 22, 73, 24, 17, 122, 194, 113, 25, 56, 160, 10, 58, 18, 33, 36, 80, 530, 433, 187, 21, 16, 85, 19, 17, 20, 22, 77, 133, 108, 18, 44, 73, 28, 538, 21, 62, 25, 43, 13, 58, 17, 19, 33, 28, 481, 21, 11, 512, 25, 62, 94, 155, 14, 12, 11, 196, 54, 43, 17, 21, 10, 10, 2503, 1514, 219, 11, 193, 126, 125, 26, 18, 11, 66, 28, 20, 410, 747, 2008, 724, 293, 40, 227, 64, 28, 35, 22, 18, 41, 109, 60, 32, 12, 56, 16, 77, 82, 10, 76, 11, 10, 13, 59, 67, 59, 1475, 42, 293, 33, 24, 41, 21, 23, 33, 10, 11, 17, 33, 147, 28, 30, 57, 14, 325, 45, 23, 18, 17, 14, 109, 10, 30, 37, 11, 995, 70, 23, 221, 127, 103, 48, 137, 22, 30, 165, 26, 45, 28, 113, 238, 615, 26, 832, 13, 26, 58, 27, 17, 11, 3500, 407, 32, 114, 18, 12, 13, 10, 11, 11, 16, 16, 51, 11, 1377, 31, 24, 264, 20, 37, 95, 23, 19, 369, 26, 246, 58, 169, 90, 121, 220, 35, 66, 59, 79, 108, 80, 548, 70, 61, 306, 110, 15, 35, 12, 95, 16, 10, 10, 43, 25, 341, 10, 64, 76, 16, 46, 11, 19, 10, 13, 11, 15, 13, 1312, 20, 37, 17, 92, 232, 12, 1323, 77, 115, 27, 13, 28, 55, 66, 60, 38, 10, 105, 16, 14, 19, 42, 10, 39, 12, 19, 9741, 43, 82, 116, 11, 14, 245, 220, 12, 237, 63, 33, 30, 193, 40, 46, 63, 11, 21, 77, 17, 20, 859, 10, 61, 35, 191, 23, 39, 1207, 10, 109, 97, 14, 95, 6047, 13, 58, 2266, 18, 486, 961, 27, 26, 191, 85, 12, 203, 7662, 22, 275, 10, 183, 13, 37, 32, 1113, 211, 42, 34, 854, 114, 23, 12, 90, 83, 107, 93, 13, 86, 31, 573, 53, 411, 34, 10, 21, 10, 12, 17, 27, 10, 85, 64, 16, 10, 30, 13, 15, 10, 28, 31, 24, 90, 311, 51, 13, 21, 34, 15, 93, 61, 78, 15, 101, 95, 11, 33, 29, 106, 39, 16, 53, 865, 44, 884, 1022, 48, 94, 661, 195, 37, 77, 1179, 23, 23, 76, 10, 147, 153, 22, 251, 137, 128, 302, 23, 380, 27, 118, 19, 36, 38, 14, 213, 31, 22, 15, 15, 90, 22, 40, 11, 116, 182, 79, 69, 12, 22, 14, 25, 19, 985, 11, 27, 12, 794, 156, 31, 54, 46, 13, 131, 12, 24, 17, 11, 856, 12, 11, 13, 13, 3188, 13, 59, 17, 26, 29, 589, 80, 15, 35, 675, 64, 3912, 65, 14, 101, 153, 12, 27, 12, 126, 83, 21, 11, 11, 17, 12, 223, 310, 42, 13, 16, 14, 10, 27, 22, 30, 58, 86, 26, 39, 38, 999, 102, 159, 32, 57, 143, 24, 88, 68, 15, 232, 18, 28, 27, 24, 30, 29, 70, 19, 22, 121, 141, 13, 87, 17, 71, 270, 16, 10, 25, 13, 12, 129, 40, 13, 15, 139, 111, 43, 64, 511, 89, 12, 27, 14, 12, 121, 27, 18, 72, 15, 357, 20, 55, 2679, 15, 10, 33, 320, 1347, 71, 14, 19, 94, 58, 11, 53, 25, 11, 56, 43, 42, 76, 30, 13, 25, 48, 386, 317, 28, 271, 84, 20, 118, 26, 200, 34, 32, 36, 54, 268, 13, 64, 30, 19, 15, 12, 44, 38, 11, 71, 1438, 49, 68, 93, 15, 20, 103, 25, 49, 243, 398, 658, 3757, 86, 86, 19, 28, 232, 43, 10, 104, 12, 18, 11, 20, 19, 25, 40, 18, 12, 78, 60, 36, 22, 88, 928, 38, 169, 22, 133, 491, 14, 28, 12, 160, 33, 243, 10, 24, 95, 976, 406, 701, 427, 304, 455, 78, 50, 16, 43, 264, 10, 135, 33, 53, 105, 21, 17, 16, 13, 26, 74, 106, 65, 15, 422, 24, 712, 153, 39, 10, 178, 98, 44, 29, 110, 103, 36, 31, 59, 550, 74, 10, 29, 16, 33, 121, 32, 55, 10, 29, 10, 29, 32, 100, 305, 27, 172, 10, 22, 185, 199, 39, 38, 180, 22, 36, 15, 24, 19, 171, 1994, 22, 14, 27, 14, 12, 16, 20, 491, 48, 23, 21, 11, 12, 834, 27, 25, 32, 37, 34, 11, 66, 25, 30, 15, 71, 44, 11, 161, 12, 22, 13, 855, 86, 26, 152, 59, 197, 103, 26, 353, 110, 30, 47, 17, 12, 21, 92, 21, 3002, 50, 77, 2355, 12, 1452, 73, 21, 19, 364, 13, 10, 1516, 30, 37, 16, 218, 14, 74, 13, 11, 53, 1590, 45, 282, 15, 73, 32, 15, 13, 148, 1785, 20, 355, 64, 31, 56, 126, 18, 30, 1904, 66, 16, 16, 37, 437, 10, 1677, 13, 31, 12, 33, 76, 12, 23, 24, 56, 36, 29, 15, 11, 2418, 76, 2706, 1080, 66, 26, 49, 106, 283, 41, 167, 16, 46, 517, 13, 19, 16, 11, 157, 27, 41, 11, 12, 123, 3110, 17, 11, 112, 356, 39, 11, 24, 10, 29, 378, 11, 13, 37, 44, 10, 10, 41, 84, 13, 22, 38, 11, 25, 21, 51, 14, 8229, 161, 10, 11, 126, 10, 16, 10, 12, 14, 41, 10, 35, 19, 16, 11, 979, 18, 11, 43, 11, 11, 16, 11, 13, 48, 41, 11, 56, 17, 22, 14, 14, 103, 15, 176, 30, 194, 53, 10, 10, 24, 33, 39, 15, 209, 19, 166, 41, 14, 77, 206, 10, 133, 16, 627, 625, 24, 52, 13, 214, 16, 14, 16, 120, 17, 24, 74, 41, 59, 28, 79, 14, 190, 13, 10, 10, 16, 41, 32, 102, 10, 19, 38, 107, 13, 53, 23, 243, 13, 22, 44, 13, 23, 10, 1459, 99, 35, 430, 52, 19, 8469, 559, 14, 297, 1368, 42, 66, 170, 269, 660, 348, 78, 16, 976, 39, 62, 11, 14, 83, 122, 209, 437, 19, 51, 13, 20, 84, 12, 89, 877, 152, 10, 13, 121, 49, 11, 2485, 22, 18, 12, 34, 12, 19, 14, 77, 263, 41, 175, 16, 11, 10, 51, 1215, 12, 22, 10, 12, 50, 542, 62, 11, 27, 22, 39, 77, 704, 32, 10, 21, 10, 261, 24, 111, 43, 28, 10, 33, 18, 34, 405, 879, 12, 143, 116, 21, 10, 54, 36, 10, 266, 23, 36, 30, 18, 29, 21, 43, 15, 83, 12, 77, 26, 58, 63, 10, 104, 537, 20, 14, 40, 32, 102, 57, 43, 10, 17, 11, 12, 162, 29, 12, 36, 42, 1409, 347, 23, 2805, 14, 29, 157, 30, 56, 30, 143, 42, 79, 13, 19, 417, 20, 11, 15, 30, 18, 467, 28, 832, 11, 208, 260, 1414, 25, 13, 1239, 13, 37, 14, 31, 11, 38, 13, 267, 19, 34, 10, 18, 489, 16, 18, 1603, 85, 1409, 23, 206, 12, 23, 19, 52, 104, 14759, 85, 39, 18, 52, 19, 37, 37, 13, 195, 14, 12, 17, 17, 17, 16, 10, 24, 42, 365, 33, 29, 18, 6316, 21, 30, 25, 76, 10, 11, 86, 24, 19, 232, 86, 12, 10, 12, 11, 35, 23, 2838, 135, 26, 29, 17, 11, 31, 13, 42, 31, 24, 19, 49, 64, 46, 82, 47, 166, 29, 162, 401, 115, 1402, 142, 975, 54, 15, 169, 1417, 900, 56, 94, 128, 14, 119, 796, 12, 138, 86, 10, 11, 20, 12, 196, 593, 60, 14, 73, 30, 31, 91, 108, 260, 30, 21, 183, 30, 12, 34, 13, 11, 12, 31, 21535, 69, 25, 544, 105, 48, 25, 15, 18, 48, 18, 302, 81, 13, 22, 446, 23, 55, 79, 10, 1678, 28, 60, 65, 769, 1033, 3646, 139, 12, 12, 18, 69, 37, 51, 38, 893, 45, 127, 655, 790, 10, 279, 15, 13, 23, 11, 27, 11, 954, 31, 15, 51, 13, 21, 10, 67, 18, 53, 99, 25, 61, 25, 27, 496, 43, 134, 14, 11, 21, 10, 59, 37, 153, 42, 373, 12, 27, 50, 34, 12, 41, 188, 15, 44, 13, 76, 63, 10, 118, 150, 848, 394, 22, 189, 81, 11, 148, 44, 120, 16, 19, 31, 96, 18, 13, 32, 64, 813, 924, 46, 32, 10, 11, 35, 30, 11, 61, 155, 109, 36, 25, 29, 25, 118, 237, 210, 63, 16, 90, 20, 25, 47, 21, 940, 31, 10, 10, 22, 13, 11, 18, 43, 946, 80, 3973, 55, 37, 20, 39, 89, 2480, 32, 19, 34, 17, 57, 11331, 14, 14, 14, 25, 29, 509, 248, 190, 13, 59, 709, 10, 55, 15, 10, 15, 26, 13, 31, 52, 33, 19, 90, 243, 26, 11, 248, 112, 28, 10, 20, 21, 22, 15, 26, 42, 193, 11, 38, 13, 25, 12, 60, 20, 94, 115, 13, 114, 29, 60, 20, 106, 15, 13, 549, 23, 83, 11, 39, 159, 376, 11, 11, 20, 17, 29, 923, 14, 22, 13028, 11, 39, 1504, 696, 249, 19, 17, 117, 147, 28, 13, 27, 11, 11, 21, 26, 182, 20, 73, 464, 177, 22, 18, 18123, 27, 102, 135, 20, 18, 38, 10, 11, 12, 452, 34, 11, 54, 91, 40, 11, 35, 77, 15, 46, 15, 10, 414, 553, 192, 18, 453, 14, 128, 11, 12, 30, 10, 189, 10, 204, 80, 10, 24, 181, 17, 69, 10, 442, 15, 12, 206, 36, 98, 34, 74, 2227, 124, 112, 10, 29, 102, 113, 25, 68, 43, 27, 22, 12, 138, 22, 17, 77, 173, 20, 73, 15, 13, 16, 129, 2333, 1110, 30, 86, 71, 54, 39, 68, 16, 64, 18, 10, 13, 40, 56, 4847, 444, 11, 55, 306, 1503, 52, 69, 64, 143, 12, 61, 19, 14, 143, 24, 12, 12, 26, 293, 461, 40, 853, 11, 79, 3450, 57, 32, 11, 185, 559, 9743, 449, 42, 448, 22, 10, 37, 74, 75, 13, 18, 69, 84, 17, 11, 10, 15, 46, 24, 27, 45, 79, 186, 49, 157, 175, 207, 24, 12, 10, 42, 22, 15, 18, 63, 35, 53, 21, 10, 31, 17, 47, 227, 12, 31, 16, 50, 167, 13, 104, 54, 16, 13, 31, 16, 45, 16, 10, 27, 14, 131, 10, 22, 300, 49, 124, 16, 12, 216, 73, 11, 11, 59, 12, 20, 12, 20, 63, 39, 53, 1514, 114, 11, 40, 632, 71, 43, 11, 25, 61, 148, 10, 24, 32, 15, 20, 63, 14, 74, 107, 20, 424, 25, 369, 43, 48, 18, 19, 10, 13, 16, 13, 16, 15, 48, 76, 11, 22, 146, 160, 31, 53, 25, 99, 103, 10, 24, 400, 14, 28, 374, 27, 1463, 49, 122, 15, 133, 13, 27, 16, 273, 43, 13, 12, 765, 90, 14, 12, 141, 22, 44, 64, 16, 14, 751, 37, 43, 15, 19, 431, 52, 19, 37, 214, 18, 205, 98, 45, 34, 90, 22, 15, 292, 19, 17, 290, 19, 16, 894, 15, 23, 493, 10, 58, 27, 177, 88, 343, 44, 14, 13, 20, 12, 15, 11, 1010, 14, 92, 10, 11, 21, 69, 15, 16, 31, 44, 29, 10, 13, 27, 40, 1596, 230, 28, 34, 31, 128, 64, 120, 26, 34, 33, 15, 35, 51, 170, 10, 10, 235, 25, 12, 30, 143, 11, 12, 20, 16, 21, 191, 17, 44, 2675, 245, 30, 99, 44, 13, 13, 60, 14, 16, 23, 45, 34, 51, 255, 43, 14, 12, 20, 11, 30, 14, 15, 24, 10, 61, 56, 28, 61, 891, 13, 410, 32, 62, 18, 98, 24, 12, 11, 28, 26, 19, 61, 14, 10, 39, 20, 11, 466, 26, 152, 132, 136, 409, 33, 1182, 29671, 207, 78, 88, 11, 15, 36, 31, 110, 241, 11, 355, 134, 151, 84, 35, 26, 43, 17, 743, 116, 221, 37, 414, 22, 289, 10, 24, 199, 10, 26, 19, 67, 152, 45, 22, 274, 31, 66, 486, 151, 10, 15, 12, 52, 22, 91, 23, 156, 51, 31, 1860, 14, 17, 12, 46, 12, 61, 18, 10, 209, 15, 14, 36, 21, 93, 238, 358, 11, 238, 272, 63, 268, 10, 10, 238, 14, 39, 1828, 10, 14, 14, 11, 359, 105, 30, 36, 615, 251, 106, 40, 76, 11, 305, 135, 10, 25, 2043, 20, 402, 1790, 59, 24, 55, 87, 203, 42, 11, 14, 33, 12, 116, 14, 15, 266, 15, 10, 19, 14, 371, 6359, 70, 39, 269, 45, 100, 16, 58, 44, 4358, 6377, 46, 149, 24, 3246, 38, 142, 46, 33, 17, 38, 21, 38, 256, 154, 70, 126, 1596, 716, 27, 26, 164, 328, 27, 91, 90, 25, 20, 345, 406, 146, 370, 482, 49, 86, 173, 11, 93, 175, 124, 240, 149, 161, 353, 41, 115, 234, 97, 86, 20, 2839, 47, 24, 334, 14, 57, 101, 59, 191, 95, 221, 284, 182, 232, 178, 12, 29, 34, 142, 131, 75, 114, 17, 154, 16, 10, 26, 22, 525, 41, 42, 297, 64, 20, 11, 49, 23, 74, 30, 14316, 157, 54, 177, 150, 70, 280, 58, 573, 15, 11, 15, 33, 15, 29, 82, 91, 12, 271, 17, 24, 27, 31, 61, 11, 13, 16, 36, 4927, 244, 11, 21, 43, 38, 11, 59, 34, 14, 73, 48, 14, 19, 15, 6647, 129, 344, 2644, 29, 11, 11, 36, 84, 100, 21, 15, 38, 55, 184, 64, 16, 244, 420, 55, 824, 35, 148, 50, 10486, 209, 559, 396, 446, 137, 16040, 137, 910, 43, 51, 19, 10, 11, 30, 37, 385, 16, 89, 15, 13, 13, 124, 147, 18, 160, 13, 323, 65, 11, 27, 33, 18593, 25, 118, 101, 256, 18, 17, 12, 67, 27, 22, 12, 366, 120, 18, 2642, 2354, 57, 11, 110, 12, 59, 140, 45, 27, 11, 121, 48, 47, 30, 72, 75, 36, 90, 17, 28, 76, 77, 13, 21, 99, 79, 449, 20, 67, 11, 58, 25, 16, 56, 14, 21, 19, 86, 112, 247, 14, 48, 74, 36, 13, 139, 55, 73, 33, 7651, 13, 20, 656, 363, 72, 13, 90, 32, 12, 13, 75, 37, 92, 3427, 70, 27, 116, 70, 17, 1517, 1155, 13156, 107, 10, 25, 104, 97, 38, 15, 20, 104, 137, 41, 57, 106, 33, 184, 70, 10, 933, 223, 17, 636, 14, 179, 100, 48, 49, 42, 155, 27, 212, 15, 66, 106, 72, 74, 22220, 7191, 516, 34, 10, 25, 17, 653, 30, 31, 31, 43, 43, 42, 975, 104, 14, 103, 64, 23, 35, 255, 243, 11, 23, 100, 127, 73, 10, 43, 42, 22, 42, 74, 27, 16, 271, 11, 1663, 36, 376, 24, 85, 11, 128, 18, 10, 19, 13, 16, 13, 74, 44, 57, 25, 518, 125, 81, 15, 55, 11225, 11, 29, 22, 15, 530, 28, 12, 368, 16, 3601, 10, 25, 76, 16, 53, 1217, 460, 411, 24, 87, 23, 13, 29, 18574, 37, 99, 42, 81, 39, 30, 37, 28, 36, 31, 374, 16, 30, 142, 13, 33, 1376, 1116, 946, 11, 78, 11, 25, 47, 37, 12, 38, 255, 11, 58, 186, 46, 15, 581, 73, 870, 20, 272, 31, 1215, 18, 38, 82, 15, 16, 778, 17, 22, 18, 18, 11, 15, 12, 12, 18, 11, 15, 17, 17, 13, 17, 18, 15, 20, 20, 13, 15, 16, 11, 13, 17, 21, 11, 15, 22, 16, 14, 20, 12, 15, 23, 14, 11, 18, 17, 13, 10, 16, 15, 10, 14, 11, 14, 14, 18, 14, 17, 16, 17, 17, 18, 15, 15, 18, 12, 18, 12, 14, 14, 23, 13, 11, 15, 14, 17, 17, 11, 10, 12, 10, 14, 18, 21, 10, 19, 20, 17, 41, 11, 18, 17, 18, 12, 15, 13, 23, 19, 19, 15, 19, 18, 17, 15, 16, 12, 12, 15, 12, 12, 14, 11, 11, 19, 10, 20, 11, 15, 16, 12, 30, 13, 18, 17, 21, 14, 12, 22, 18, 11, 10, 18, 15, 15, 10, 10, 17, 16, 23, 10, 23, 16, 15, 16, 18, 15, 17, 18, 13, 12, 13, 10, 15, 14, 13, 14, 19, 17, 25, 13, 24, 16, 20, 12, 11, 21, 15, 13, 16, 18, 17, 11, 17, 12, 16, 18, 13, 15, 11, 18, 18, 14, 19, 14, 13, 14, 18, 13, 12, 12, 16, 12, 11, 15, 19, 18, 14, 16, 16, 16, 15, 13, 10, 11, 16, 16, 14, 11, 15, 13, 10, 10, 18, 13, 19, 19, 10, 17, 10, 15, 11, 12, 14, 11, 17, 11, 12, 15, 11, 14, 14, 15, 16, 12, 19, 11, 15, 21, 54, 11, 12, 10, 23, 19, 20, 19, 18, 44, 15, 15, 12, 13, 11, 12, 15, 16, 11, 14, 18, 14, 15, 17, 20, 17, 10, 25, 30, 13, 21, 15, 16, 19, 16, 29, 19, 23, 19, 16, 11, 10, 14, 14, 19, 22, 15, 23, 18, 17, 23, 16, 10, 18, 16, 17, 18, 20, 25, 23, 19, 22, 14, 18, 12, 12, 11, 18, 15, 21, 21, 24, 12, 13, 17, 18, 15, 20, 15, 11, 17, 13, 14, 14, 14, 14, 22, 11, 20, 20, 26, 12, 13, 10, 10, 13, 10, 14, 12, 22, 10, 10, 14, 10, 15, 10, 26, 14, 13, 11, 18, 15, 12, 10, 28, 27, 11, 10, 18, 14, 41, 20, 10, 22, 20, 17, 21, 23, 26, 37, 17, 28, 14, 15, 14, 24, 23, 17, 15, 18, 17, 20, 24, 18, 21, 30, 17, 13, 14, 14, 18, 20, 15, 17, 11, 20, 12, 15, 10, 17, 14, 11, 19, 16, 18, 19, 14, 21, 25, 17, 17, 19, 14, 13, 16, 14, 14, 18, 25, 16, 16, 31, 43, 17, 23, 16, 13, 14, 16, 15, 14, 13, 13, 19, 20, 16, 18, 14, 14, 23, 17, 28, 18, 14, 13, 14, 11, 14, 20, 12, 13, 25, 17, 15, 23, 15, 16, 14, 19, 16, 19, 18, 17, 11, 16, 18, 16, 14, 23, 15, 12, 16, 18, 16, 17, 17, 12, 13, 12, 14, 16, 13, 13, 20, 13, 12, 21, 11, 20, 20, 14, 12, 22, 17, 14, 27, 15, 16, 12, 14, 12, 14, 10, 16, 15, 20, 15, 16, 16, 13, 17, 18, 13, 13, 16, 19, 11, 17, 18, 17, 19, 14, 15, 14, 18, 13, 17, 11, 23, 18, 29, 20, 19, 25, 18, 16, 19, 14, 18, 26, 13, 11, 16, 18, 17, 18, 21, 17, 20, 23, 22, 11, 18, 11, 19, 16, 28, 12, 14, 13, 15, 15, 12, 23, 27, 22, 12, 22, 22, 21, 15, 15, 14, 17, 23, 16, 14, 15, 19, 16, 15, 19, 19, 13, 22, 19, 20, 13, 14, 10, 17, 18, 15, 26, 18, 22, 13, 14, 12, 26, 15, 20, 22, 21, 17, 17, 15, 29, 11, 21, 20, 18, 17, 14, 16, 13, 13, 15, 13, 16, 67, 22, 34, 24, 24, 27, 18, 25, 30, 21, 37, 33, 26, 17, 24, 17, 29, 24, 20, 17, 21, 20, 14, 23, 23, 26, 25, 20, 22, 24, 15, 25, 23, 31, 27, 24, 26, 19, 19, 23, 21, 26, 21, 22, 19, 14, 21, 18, 17, 18, 23, 18, 23, 27, 11, 13, 19, 22, 20, 13, 21, 21, 17, 20, 20, 22, 19, 28, 30, 20, 24, 21, 20, 22, 31, 20, 28, 22, 30, 29, 25, 27, 29, 27, 30, 26, 21, 25, 23, 18, 11, 22, 16, 481, 10, 17, 18, 13, 13, 10, 13, 14, 16, 12, 18, 10, 11, 14, 18, 10, 10, 16, 14, 12, 26, 12, 10, 19, 18, 18, 16, 12, 11, 15, 12, 20, 11, 10, 17, 12, 15, 17, 13, 12, 14, 15, 19, 12, 15, 11, 12, 16, 10, 13, 15, 10, 16, 11, 10, 11, 12, 12, 17, 15, 10, 10, 14, 11, 10, 11, 14, 16, 17, 10, 15, 16, 15, 15, 12, 13, 34, 11, 14, 19, 16, 15, 14, 11, 17, 20, 11, 14, 13, 14, 10, 17, 10, 14, 14, 10, 10, 16, 14, 10, 10, 15, 10, 15, 11, 19, 13, 11, 16, 16, 16, 12, 14, 11, 12, 11, 13, 12, 14, 11, 18, 14, 13, 13, 11, 10, 13, 17, 15, 12, 11, 18, 19, 15, 17, 14, 13, 17, 12, 16, 14, 11, 19, 12, 15, 15, 11, 14, 14, 17, 11, 14, 14, 10, 18, 11, 13, 13, 21, 10, 15, 13, 12, 11, 18, 14, 18, 15, 21, 14, 16, 12, 10, 11, 12, 15, 14, 11, 23, 18, 13, 13, 11, 12, 14, 12, 14, 10, 14, 10, 10, 11, 14, 15, 19, 12, 11, 15, 13, 11, 15, 14, 17, 19, 21, 12, 17, 15, 23, 10, 14, 12, 15, 16, 16, 16, 20, 21, 18, 22, 20, 17, 15, 19, 17, 14, 13, 12, 15, 19, 18, 11, 13, 16, 17, 16, 14, 11, 22, 17, 17, 16, 16, 17, 20, 16, 14, 19, 15, 21, 15, 13, 19, 15, 13, 23, 21, 14, 13, 17, 10, 22, 13, 21, 13, 11, 18, 15, 14, 19, 14, 14, 18, 11, 17, 12, 12, 20, 14, 16, 10, 18, 15, 13, 12, 14, 10, 13, 22, 11, 12, 17, 13, 10, 10, 12, 11, 12, 17, 12, 11, 14, 12, 17, 10, 12, 12, 11, 11, 16, 12, 15, 14, 11, 14, 10, 10, 18, 14, 18, 10, 14, 12, 12, 12, 11, 16, 12, 10, 17, 15, 13, 14, 12, 10, 10, 11, 11, 18, 10, 11, 12, 12, 12, 17, 13, 11, 10, 10, 11, 19, 12, 12, 11, 11, 16, 10, 11, 11, 17, 11, 11, 12, 11, 12, 19, 14, 11, 14, 11, 10, 10, 11, 11, 11, 11, 15, 10, 11, 10, 11, 10, 15, 12, 11, 14, 13, 13, 15, 12, 13, 11, 11, 18, 13, 10, 11, 12, 10, 11, 10, 12, 10, 10, 10, 13, 10, 11, 15, 13, 12, 11, 12, 10, 13, 12, 12, 18, 13, 12, 11, 14, 10, 15, 12, 10, 13, 17, 10, 12, 11, 14, 12, 13, 15, 11, 15, 14, 11, 11, 10, 11, 13, 14, 12, 10, 14, 13, 12, 14, 15, 11, 16, 15, 17, 15, 13, 11, 13, 10, 16, 14, 11, 16, 12, 19, 11, 14, 18, 13, 11, 15, 19, 10, 12, 12, 17, 20, 13, 14, 12, 11, 14, 11, 10, 13, 14, 20, 17, 11, 19, 11, 12, 14, 17, 15, 12, 15, 10, 14, 11, 10, 11, 11, 13, 11, 11, 11, 12, 12, 10, 11, 11, 13, 10, 12, 10, 13, 12, 10, 11, 14, 13, 13, 10, 11, 10, 14, 10, 11, 15, 10, 11, 12, 13, 10, 12, 12, 10, 11, 10, 12, 11, 16, 16, 14, 10, 11, 10, 10, 12, 12, 12, 14, 10, 16, 15, 10, 11, 16, 14, 13, 10, 14, 13, 15, 11, 11, 11, 11, 15, 15, 16, 16, 17, 12, 13, 17, 11, 17, 10, 10, 11, 13, 12, 15, 11, 12, 12, 10, 12, 10, 16, 11, 14, 10, 5200, 28, 29, 10, 11, 28, 12, 10, 26, 15, 14, 25, 28, 24, 26, 25, 33, 21, 35, 32, 22, 26, 19, 12, 10, 14, 81, 18, 14, 15, 4511, 604, 24, 67, 42, 47, 13, 13, 10, 11, 18, 18, 19, 20, 18, 18, 12, 11, 54, 64, 11, 10, 13, 10, 13, 20, 15, 14, 15, 14, 10, 14, 12, 15, 11, 68, 16, 18, 10, 10, 11, 11, 11, 10, 94, 61, 10, 318, 25, 12, 13, 10, 11, 13, 13, 22, 13, 15, 14, 22, 11, 13, 17, 14, 12, 14, 23, 37, 36, 36, 52, 64, 83, 57, 64, 14, 28, 14, 25, 25, 30, 20, 62, 55, 56, 71, 48, 29, 23, 41, 16, 21, 13, 12, 12, 16, 25, 16, 36, 30, 41, 39, 41, 59, 60, 91, 14, 11, 17, 20, 10, 20, 20, 27, 10, 80, 46, 60, 44, 42, 21, 14, 11, 12, 14, 12, 10, 17, 11, 11, 27, 30, 24, 32, 31, 39, 55, 77, 62, 76, 91, 74, 55, 38, 45, 26, 19, 13, 13, 11, 23, 21, 28, 12, 11, 11, 18, 12, 10, 12, 13, 11, 16, 10, 26, 20, 20, 40, 35, 42, 53, 57, 81, 81, 20, 12, 16, 13, 14, 29, 28, 13, 65, 49, 53, 62, 42, 39, 30, 10, 10, 13, 12, 15, 17, 10, 11, 15, 22, 26, 23, 41, 42, 52, 67, 76, 56, 80, 69, 52, 38, 36, 37, 25, 14, 24, 22, 15, 22, 19, 18, 15, 13, 12, 16, 10, 10, 12, 15, 19, 24, 22, 31, 30, 40, 65, 71, 70, 60, 63, 76, 56, 53, 33, 35, 16, 15, 15, 12, 10, 19, 19, 11, 10, 10, 13, 13, 15, 18, 13, 12, 11, 24, 23, 23, 24, 43, 42, 61, 59, 66, 73, 70, 59, 55, 41, 39, 33, 19, 17, 11, 23, 12, 21, 13, 10, 12, 11, 16, 11, 14, 13, 14, 16, 23, 21, 17, 28, 28, 45, 42, 56, 72, 66, 44, 55, 48, 29, 43, 25, 19, 20, 18, 25, 24, 18, 14, 14, 10, 10, 56, 15, 16, 13, 11, 10, 12, 12, 13, 17, 26, 30, 28, 29, 49, 58, 60, 81, 83, 90, 104, 87, 68, 56, 53, 34, 31, 12, 11, 16, 13, 10, 13, 32, 19, 35, 21, 34, 21, 19, 11, 11, 10, 10, 11, 16, 28, 10, 12, 11, 11, 11, 16, 30, 21, 26, 28, 48, 59, 62, 78, 85, 77, 18, 11, 16, 28, 19, 33, 24, 28, 22, 64, 68, 60, 48, 33, 36, 21, 13, 27, 19, 10, 18, 11, 14, 15, 26, 15, 12, 23, 12, 13, 10, 11, 15, 18, 13, 16, 18, 29, 22, 40, 28, 33, 54, 71, 66, 87, 64, 14, 12, 11, 29, 10, 27, 34, 24, 17, 79, 74, 72, 56, 49, 32, 17, 14, 37, 17, 16, 13, 10, 11, 19, 17, 17, 17, 18, 14, 18, 16, 27, 37, 38, 44, 36, 32, 32, 38, 43, 38, 29, 19, 18, 13, 10, 15, 15, 17, 14, 13, 18, 14, 19, 25, 16, 17, 19, 23, 17, 14, 10, 11, 16, 11, 690, 15, 29, 13, 71, 84, 61, 46, 42, 35, 30, 17, 16, 30, 20, 18, 31, 31, 41, 52, 67, 74, 12, 18, 22, 11, 15, 23, 12, 11, 20, 10, 15, 12, 10, 10, 19, 23, 24, 29, 40, 62, 56, 66, 82, 65, 22, 11, 11, 18, 16, 19, 21, 19, 18, 79, 61, 78, 48, 36, 46, 21, 17, 13, 13, 12, 20, 10, 10, 13, 15, 16, 12, 24, 16, 31, 28, 24, 57, 65, 77, 65, 90, 87, 65, 70, 45, 30, 32, 17, 19, 11, 10, 16, 13, 10, 35, 21, 10, 14, 11, 13, 10, 10, 10, 11, 10, 12, 18, 38, 13, 15, 26, 35, 38, 37, 43, 73, 78, 73, 75, 61, 59, 59, 47, 30, 14, 14, 17, 10, 13, 16, 19, 29, 11, 12, 11, 11, 21, 16, 18, 22, 15, 22, 20, 33, 32, 37, 49, 38, 67, 77, 90, 77, 72, 67, 46, 50, 39, 22, 14, 12, 16, 15, 23, 17, 19, 13, 13, 12, 11, 13, 12, 13, 14, 19, 15, 12, 16, 13, 24, 22, 36, 33, 44, 46, 68, 84, 78, 84, 28, 16, 26, 21, 29, 39, 31, 11, 83, 81, 56, 65, 25, 33, 13, 13, 16, 14, 15, 13, 13, 11, 15, 11, 22, 13, 18, 23, 27, 28, 33, 52, 59, 70, 51, 80, 96, 11, 12, 92, 75, 56, 28, 56, 44, 22, 11, 13, 18, 18, 17, 15, 11, 24, 20, 21, 20, 20, 14, 14, 14, 17, 19, 22, 10, 11, 12, 15, 21, 19, 22, 36, 34, 29, 43, 49, 44, 35, 38, 52, 25, 16, 20, 12, 12, 10, 18, 13, 11, 12, 12, 10, 10, 13, 13, 11, 12, 14, 17, 19, 10, 16, 10, 11, 18, 11, 10, 11, 457, 70, 14, 13, 14, 51, 12, 10, 10, 2847, 10, 10, 23, 13, 14, 11, 10, 10, 27, 11, 23, 23, 23, 20, 21, 19, 26, 25, 31, 21, 12, 10, 10, 12, 18, 11, 14, 151, 33, 15, 23, 10, 10, 65, 11, 19, 16, 17, 23, 17, 27, 14, 20, 24, 18, 14, 18, 11, 11, 343, 34, 736, 12, 29, 104, 13, 37, 18, 13, 404, 58, 10, 41, 14, 11, 11, 36, 10, 14, 11, 13, 14, 15, 21, 22, 19, 23, 17, 22, 22, 12, 12, 39, 16, 17, 20, 24, 12, 14, 13, 12, 15, 26, 17, 25, 23, 21, 17, 24, 16, 16, 27, 26, 16, 22, 16, 20, 20, 11, 289, 39, 24, 19, 19, 19, 21, 13, 11, 13, 11, 19, 17, 19, 186, 31, 10, 55, 195, 77, 138, 22, 15, 22, 19, 26, 11, 12, 22, 18, 22, 26, 14, 10, 108, 12, 11, 31, 996, 11, 21, 17, 35, 421, 29, 27, 14, 80, 13, 27, 662, 26, 95, 70, 12, 36, 45, 17, 12, 22, 99, 13, 1267, 45, 40, 46, 15, 15, 14, 16, 165, 12, 22, 117, 102, 100, 53, 675, 69, 400, 79, 21, 12, 14, 58, 84, 1185, 12, 93, 47, 363, 11, 51, 23, 17, 14, 81, 13, 13, 13, 12, 126, 15, 58, 14, 15, 84, 31, 10, 12, 68, 27, 13, 14, 45, 36, 11, 58, 231, 612, 172, 141, 16, 13, 412, 38, 3079, 305, 11, 191, 19, 127, 11, 20, 10, 43, 65, 31, 36, 19, 16, 95, 22, 128, 49, 19, 27, 10, 10, 40, 162, 10, 18, 179, 267, 11, 128, 58, 519, 14, 50, 15, 17, 40, 12, 13, 59, 21, 35, 19, 126, 184, 11, 20, 74, 1661, 32, 28, 11, 74, 89, 13, 11, 10, 12, 15, 20, 23, 37, 18, 350, 84, 17, 91, 21, 21, 20, 105, 35, 250, 71, 14, 19, 87, 530, 132, 15, 18, 19, 13, 30, 155, 12, 13, 29, 55, 1181, 18, 17, 19, 11, 48, 59, 38, 10, 55, 16, 11, 11, 54, 10, 12, 161, 31, 87, 24, 28, 24, 10, 145, 23, 13, 47, 1650, 32, 43, 13, 13, 20, 50, 322, 205, 10, 17, 14, 390, 11, 915, 21, 12, 11, 30, 36, 36, 471, 146, 23, 239, 103, 15, 307, 11, 31, 76, 19, 17, 14, 18, 27, 21, 20, 18, 10, 18, 10, 18, 13, 41, 22, 52, 22, 29, 14, 72, 12, 93, 13, 206, 42, 19, 19, 144, 638, 17, 16, 16, 116, 26, 24, 71, 62, 23, 26, 10, 39, 10, 14, 321, 13, 45, 17, 78, 2800, 17, 450, 10, 10, 127, 121, 26, 24, 29, 28, 41, 199, 2846, 25, 72, 11, 33, 184, 172, 277, 13, 116, 18, 28, 28, 10, 22, 192, 21, 16, 12, 258, 44, 158, 50, 887, 21, 104, 46, 20, 129, 161, 196, 50, 20, 14, 15, 3877, 35, 51, 53, 1548, 15, 22, 13, 87, 12, 30, 17, 97, 20, 17, 10, 105, 13, 62, 25, 23, 13, 170, 11, 22, 235, 47, 10, 135, 12, 98, 1944, 13, 28, 12, 33, 19, 36, 111, 23, 76, 23, 16, 12, 57, 18, 10, 21, 34, 14, 395, 176, 49, 10, 65, 47, 71, 32, 12, 16, 19, 82, 711, 297, 30, 3028, 2492, 30, 16, 17, 10, 25, 16, 10, 219, 17, 20, 10, 270, 60, 31, 31, 305, 15, 15, 5491, 14, 52, 11, 10, 13, 311, 16, 28, 16, 32, 113, 79, 22, 29, 18, 27, 28, 10, 13, 33, 28, 34, 87, 63, 26, 42, 29, 29, 40, 17, 11, 100, 82, 13, 21, 177, 19, 53, 60, 11, 13, 11, 12, 55, 62, 16, 34, 18, 389, 292, 11, 10, 10, 1403, 22, 892, 30, 385, 13, 57, 53, 19, 18, 14, 115, 130, 19, 280, 10, 73, 248, 45, 18, 251, 25, 73, 29, 15, 45, 22, 13, 102, 26, 39, 26, 13, 49, 400, 72, 41, 48, 14, 18, 239, 749, 13, 215, 12, 36, 10, 16, 19, 222, 18, 50, 22, 56, 15, 16, 12, 46, 315, 11, 622, 23, 20, 18, 30, 18, 31, 81, 152, 395, 24, 442, 9454, 38, 30, 15, 22, 70, 48, 99, 49, 492, 12, 11, 13, 31, 80, 41, 433, 12, 75, 13, 21, 67, 53, 35, 4698, 112, 49, 12, 419, 23, 145, 42, 5007, 364, 22, 42, 132, 131, 60, 21, 19, 29, 12, 17, 10, 143, 22, 57, 28, 63, 55, 62, 10, 15, 20, 45, 61, 27, 38, 74, 14, 31, 24, 12, 136, 12, 921, 63, 32, 60, 11, 60, 12, 27, 24, 9532, 69, 15, 14, 19, 18, 107, 25, 71, 11, 31, 61, 32, 21, 17, 10, 11, 31, 10, 31, 52, 62, 12, 10, 16, 20, 32, 19, 25, 26, 294, 13, 11, 49, 373, 54, 19, 14, 31, 119, 609, 15, 28, 11, 337, 43, 11, 344, 10, 5254, 80, 11, 14, 69, 423, 30, 75, 15, 13, 10, 11, 145, 17, 25, 33, 80, 126, 47, 10, 73, 10, 14, 139, 30, 40, 67, 17, 17, 15, 284, 10, 17, 1130, 291, 114, 51, 263, 209, 22, 73, 144, 30, 12, 27, 267, 12, 82, 10, 11, 39, 15, 13, 987, 249, 13, 13, 25, 42, 11, 15, 2518, 13, 22, 13, 37, 18, 38, 12, 38, 17, 35, 26, 99, 223, 30, 67, 28, 69, 30, 136, 11, 13, 35, 1000, 10, 13, 32, 66, 35, 194, 13, 13, 75, 13, 27, 210, 19, 67, 30, 30, 15, 16, 12, 21, 33, 55, 74, 29, 29, 18, 537, 30, 17, 70, 67, 10, 17, 117, 20, 47, 58, 174, 41, 40, 68, 49, 114, 29, 109, 12, 100, 20, 738, 14, 198, 17, 24, 22, 33, 73, 183, 21, 167, 11, 70, 34, 15, 34, 14, 24, 14, 21, 13, 23, 74, 36, 10, 21, 55, 13, 176, 13, 19, 16, 144, 72, 72, 15, 11, 21, 32, 118, 29, 214, 292, 11, 47, 15, 12, 17, 137, 13, 635, 62, 15, 19, 168, 17, 11, 65, 242, 30, 31, 50, 34, 26, 283, 47, 34, 433, 103, 39, 40, 203, 11, 11, 16, 41, 53, 479, 52, 13, 10, 45, 400, 10, 58, 22, 40, 49, 132, 13, 39, 11, 343, 10, 26, 11, 1898, 68, 18, 82, 221, 34, 12, 134, 98, 174, 1127, 16, 115, 11, 512, 84, 49, 26, 10, 14, 11, 20, 11, 13, 71, 15, 98, 86, 17, 142, 58, 70, 32, 12, 81, 10, 55, 29, 10, 213, 570, 5344, 18, 113, 36, 13, 11, 12, 23, 15, 41, 16, 814, 12, 24, 110, 13, 12, 14, 10, 28, 27, 37, 24, 27, 35, 35, 28, 35, 30, 28, 23, 10, 11, 10, 10, 52, 14, 12, 38, 268, 22, 15, 23, 24, 16, 10, 10, 22, 24, 13, 15, 19, 700, 350, 15, 16, 14, 19, 13, 19, 124, 11, 72, 11, 99, 20, 48, 11, 12, 11, 12, 16, 18, 19, 18, 11, 14, 17, 12, 10, 11, 21, 18, 13, 17, 12, 13, 20, 10, 11, 348, 24, 14, 16, 13, 16, 30, 13, 22, 20, 23, 27, 16, 22, 17, 2509, 23, 18, 11, 40, 533, 22, 14, 17, 15, 16, 15, 14, 14, 17, 19, 15, 16, 27, 17, 32, 25, 14, 21, 21, 108, 10, 636, 34, 10, 22, 24, 15, 16, 19, 17, 30, 28, 16, 26, 306, 12, 26, 12, 10, 10, 11, 18, 18, 18, 18, 16, 16, 22, 15, 13, 23, 10, 16, 44, 11, 78, 11, 408, 44, 15, 65, 10, 12, 16, 13, 12, 23, 23, 22, 22, 19, 20, 25, 12, 12, 14, 23, 5149, 11, 82, 11, 18, 453, 13, 23, 59, 66, 13, 510, 12, 16, 26, 36, 17, 20, 20, 13, 125, 12, 14, 12, 17, 20, 27, 12, 23, 19, 15, 26, 17, 14, 472, 10, 35, 255, 27, 16, 11, 12, 41, 3262, 11, 11, 25, 12, 11, 14, 17, 22, 14, 23, 23, 30, 30, 33, 38, 31, 29, 23, 21, 13, 16, 10, 637, 26, 11, 11, 14, 48, 16, 31, 32, 16, 11, 13, 11, 13, 13, 21, 12, 20, 15, 20, 38, 23, 16, 15, 12, 21, 12, 26, 107, 27, 10, 12, 27, 26, 10, 21, 15, 19, 64, 20, 21, 13, 13, 22, 10, 10, 15, 10, 13, 15, 15, 19, 16, 11, 11, 12, 22, 19, 22, 18, 24, 14, 10, 12, 13, 17, 22, 10, 12, 10, 10, 18, 14, 12, 13, 19, 11, 23, 10, 54, 16, 14, 16, 12, 12, 21, 23, 22, 11, 11, 25, 20, 11, 11, 13, 15, 13, 19, 24, 10, 12, 19, 16, 15, 16, 23, 24, 17, 21, 15, 24, 11, 23, 15, 18, 15, 14, 19, 19, 23, 20, 15, 11, 15, 12, 11, 12, 11, 10, 14, 18, 11, 21, 12, 15, 16, 11, 15, 10, 44, 10, 13, 12, 16, 10, 18, 16, 13, 21, 18, 10, 12, 24, 20, 16, 11, 15, 40, 24, 55, 19, 52, 21, 33, 4399, 27, 46, 13, 13, 30, 30, 30, 30, 28, 10, 18, 124, 185, 21, 14, 27, 30, 11, 11, 15, 32, 204, 11, 80, 424, 779, 26, 10, 14, 30, 13, 20, 13, 198, 10, 13, 10, 12, 173, 20, 25, 34, 16, 87, 75, 17, 18, 46, 22, 13, 15, 34, 14, 13, 541, 118, 2369, 18, 165, 47, 15, 51, 117, 642, 53, 18, 20, 17, 51, 63, 30, 30, 211, 26, 129, 181, 13, 130, 26, 30, 271, 10, 35, 79, 14, 54, 178, 19, 107, 15, 11, 10, 72, 72, 13, 12090, 12, 91, 10, 10, 31, 31, 31, 20, 187, 248, 157, 212, 7798, 13, 27, 18, 24, 26, 28, 35, 29, 10, 597, 20, 10, 14, 17, 15, 27, 24, 31, 24, 22, 26, 27, 14, 17, 10, 18, 10, 13, 16, 39, 3184, 13, 13, 10, 11, 11, 12, 18, 27, 26, 13, 29, 13, 16, 138, 11, 34, 29, 13, 14530, 13, 12, 11, 14, 10, 17, 11, 26, 16, 17, 18, 17, 10, 15, 11, 10, 10, 15, 13, 17, 17, 21, 22, 14, 15, 12, 20, 12, 17, 12, 21, 10, 11, 10, 15, 12, 20, 19, 20, 14, 18, 14, 10, 12, 11, 25, 11, 12, 14, 15, 13, 21, 20, 15, 23, 11, 21, 15, 16, 13, 14, 38, 131, 21, 24, 22, 12, 15, 15, 16, 20, 19, 18, 13, 13, 19, 13, 11, 3507, 10, 21, 27, 13, 12, 89, 78, 10, 2095, 17, 178, 10, 11, 134, 13, 13, 12, 11, 27, 13, 26, 22, 22, 24, 18, 17, 16, 16, 13, 14, 13, 10, 11, 738, 13, 13, 13, 19, 18, 2223, 19, 24, 22, 32, 17, 14, 12, 14, 18, 11, 23, 24, 30, 20, 28, 19, 23, 19, 17, 13, 15, 12, 654, 31, 18, 43, 10, 64, 24, 19, 50, 12, 10, 14, 48, 11, 14, 18, 21, 12, 13, 13, 19, 15, 15, 19, 16, 14, 10, 28, 13, 19, 22, 20, 10, 12, 19, 14, 20, 19, 13, 20, 16, 10, 18, 10, 10, 16, 15, 16, 23, 33, 10, 12, 16, 18, 12, 14, 18, 26, 20, 14, 24, 13, 37, 27, 10, 14, 14, 11, 17, 18, 10, 18, 25, 15, 20, 21, 17, 11, 12, 12, 10, 16, 14, 10, 24, 16, 11, 15, 19, 18, 12, 13, 12, 19, 14, 18, 20, 24, 19, 23, 27, 15, 14, 16, 16, 11, 10, 11, 13, 22, 61, 33, 13, 80, 12, 11, 104, 18, 126, 677, 31, 13, 26, 27, 27, 37, 7444, 17, 18, 15, 226, 17, 12, 21, 92, 13, 71, 17, 12, 774, 71, 559, 81, 885, 209, 14, 36, 22, 10, 81, 19, 33, 24, 70, 492, 37, 16, 120, 16, 12, 86, 13, 18, 25, 25, 108, 658, 21839, 76, 11, 31, 31, 31, 11, 78, 1776, 47, 110, 21, 50, 11, 23, 35, 14, 71, 61, 15, 118, 167, 30, 10, 76, 32, 60, 106, 22, 12, 12, 10, 10, 11, 17, 22, 22, 83, 12, 19, 17, 15, 35, 23, 13, 14, 16, 19, 13, 10, 24, 15, 220, 107, 40, 83, 13, 10, 46, 12, 27, 36, 40, 15, 11, 42, 12, 11, 31, 51, 10, 14, 20, 13, 14, 12, 38, 12, 51, 16, 41, 13, 10, 15, 12, 10, 42, 10, 29, 31, 13, 11, 17, 39, 12, 11, 10, 34, 12, 10, 11, 19, 12, 18, 15, 13, 10, 10, 15, 12, 15, 100, 10, 11, 43, 67, 12, 10, 11, 59, 18, 49, 65, 13, 32, 10, 10, 12, 11, 10, 36, 10, 11, 10, 44, 13, 31, 23943, 147, 266, 287, 299, 175, 450, 65, 108, 85, 23, 11, 19, 22, 27, 29, 13, 21, 30, 13, 152, 33, 346, 48, 38, 12, 243, 11, 30, 32, 39, 13, 19, 30, 32, 18, 12, 13, 57, 61, 10, 655, 18, 22, 19, 275, 19, 28, 61, 145, 78, 17, 17, 12, 13, 29, 30, 21, 30, 26, 12, 10, 11, 11, 13, 28, 17, 18, 46, 11, 108, 12, 19, 13, 11, 50, 75, 14, 18, 15, 10, 18, 302, 16, 23, 22, 14, 49, 297, 14, 33, 20, 49, 10, 50, 66, 13, 12, 18, 21, 51, 17, 12, 13, 11, 20, 10, 59, 30, 21, 18, 14, 14, 24, 14, 14, 10, 11, 13, 17, 22, 32, 12, 23, 23, 12, 15, 21, 15, 13, 16, 12, 10, 11, 15, 14, 14, 15, 20, 19, 14, 18, 20, 17, 14, 13, 11, 12, 12, 13, 15, 15, 13, 10, 11, 12, 13, 15, 15, 16, 12, 17, 13, 20, 16, 17, 15, 11, 16, 12, 10, 13, 32, 11, 18, 12, 11, 12, 12, 27, 17, 18, 15, 14, 10, 36, 13, 12, 13, 22, 11, 25, 13, 18, 10, 24, 10, 19, 34, 10, 11, 28, 10, 13, 11, 26, 11, 17, 11, 29, 10, 14, 21, 14, 12, 13, 23, 13, 13, 11, 37, 1405, 13, 36, 30, 90, 11, 11, 10, 11, 18, 10, 10, 12, 11, 10, 12, 19, 12, 24, 13, 21, 27, 31, 19, 17, 17, 19, 27, 11, 17, 15, 14, 177, 39, 11, 20, 88, 69, 31, 23, 13, 17, 11, 16, 11, 16, 14, 11, 11, 12, 15, 15, 15, 12, 24, 12, 12, 14, 12, 12, 15, 12, 11, 10, 10, 10, 89, 12, 20, 27, 32, 24, 26, 10, 170, 12, 11, 11, 13, 13, 11, 13, 12, 12, 21, 22, 16, 23, 25, 27, 36, 30, 41, 13, 10, 10, 41, 13, 11, 69, 247, 111, 28, 46, 54, 46, 28, 39, 12, 25, 14, 14, 13, 18, 12, 11, 15, 10, 21, 12, 50, 12, 12, 16, 13, 16, 18, 14, 10, 20, 22, 13, 12, 10, 15, 23, 14, 17, 14, 11, 18, 10, 15, 21, 11, 12, 21, 15, 12, 17, 13, 13, 13, 15, 12, 12, 13, 16, 13, 10, 11, 11, 14, 24, 11, 11, 10, 12, 25, 10, 10, 13, 13, 25, 50, 12, 11, 11, 10, 10, 21, 10, 10, 15, 20, 10, 11, 13, 11, 12, 11, 13, 10, 12, 28, 13, 10, 12, 14, 14, 45, 12, 10, 14, 39, 10, 11, 10, 42, 11, 12, 11, 36, 11, 45, 12, 47, 10, 11, 14, 10, 14, 14, 22, 22, 20, 22, 28, 24, 39, 31, 31, 31, 17, 14, 14, 15, 12, 10, 11, 17, 13, 10, 18, 16, 14, 23, 22, 25, 23, 42, 34, 28, 33, 35, 26, 27, 17, 12, 10, 17, 14, 26, 18, 30, 18, 23, 37, 32, 27, 25, 13, 11, 10, 15, 13, 20, 23, 32, 37, 31, 36, 36, 35, 26, 26, 19, 18, 10, 128, 36, 12, 11, 13, 13, 23, 15, 16, 26, 28, 26, 30, 29, 18, 19, 13, 20, 10, 27, 21, 24, 16, 18, 12, 11, 10, 11, 15, 20, 16, 13, 19, 27, 13, 12, 12, 10, 112, 11, 11, 21, 16, 32, 29, 10, 11, 10, 10, 10, 11, 12, 28, 10, 10, 11, 10, 18, 10, 10, 11, 27, 17, 24, 27, 10, 23, 22, 18, 13, 17, 232, 29, 13, 15, 19, 12, 18, 21, 22, 26, 30, 33, 26, 39, 31, 28, 15, 10, 10, 19, 15, 10, 31, 10, 36, 116, 11, 16, 12, 35, 23, 13, 137, 11, 14, 30, 150, 12, 129, 13, 20, 81, 10, 78, 12, 11, 41, 21, 15, 11, 185, 14, 10, 11, 26, 12, 10, 19, 16, 20, 54, 21, 47, 56, 13, 68, 10, 35, 14, 10, 46, 14, 41, 33, 11, 29, 12, 22, 10, 10, 10, 16, 35, 12, 10, 35, 21, 33, 75, 11, 10, 18, 14, 15, 26, 10, 12, 16, 17, 12, 11, 20, 12, 17, 20, 15, 13, 10, 10, 19, 11, 10, 14, 14, 10, 12, 14, 10, 10, 17, 12, 11, 31, 11, 14, 13, 11, 12, 30, 16, 13, 14, 11, 12, 10, 128, 20, 25, 92, 11, 11, 18, 12, 10, 14, 16, 15, 10, 11, 12, 10, 11, 12, 39, 10, 48, 14, 56, 11, 70, 16, 17, 11, 12, 11, 10, 54, 10, 10, 36, 34, 36, 37, 33, 15, 13, 19, 14, 11, 11, 10, 10, 24, 24, 11, 13, 10, 12, 10, 10, 15, 18, 14, 10, 14, 18, 21, 14, 13, 14, 10, 18, 12, 11, 16, 14, 12, 10, 12, 13, 13, 15, 16, 12, 14, 12, 10, 11, 10, 18, 16, 10, 12, 34, 16, 16, 17, 27, 16, 17, 26, 10, 10, 11, 10, 11, 13, 11, 11, 13, 11, 14, 10, 12, 131, 11, 10, 40, 10, 28, 12, 10, 32, 42, 26, 164, 10, 21, 20, 12, 23, 17, 35, 13, 23, 10, 10, 11, 71, 10, 83, 12, 10, 10, 12, 10, 1076, 29, 13, 13, 33, 15, 43, 33, 27, 24, 29, 627, 58, 16, 14, 17, 68, 61, 21, 34, 19, 23, 11, 11, 10, 12, 10, 17, 11, 10, 12, 13, 10, 13, 11, 11, 18, 15, 25, 10, 15, 10, 13, 18, 12, 10, 11, 34, 11, 12, 11, 14, 10, 17, 12, 11, 13, 11, 13, 11, 12, 20, 10, 10, 21, 10, 13, 13, 15, 10, 14, 11, 31, 10, 35, 120, 34, 445, 37, 247, 10, 30, 28, 15, 24, 33, 19, 53, 13, 43, 40, 30, 28, 21, 25, 20, 231, 25, 11, 31, 13, 30, 21, 15, 41, 22, 10, 11, 24, 77, 50, 10, 11, 10, 16, 10, 10, 51, 18, 10, 17, 22, 11, 13, 24, 10, 10, 13, 16, 13, 11, 11, 12, 10, 13, 29, 12, 18, 16, 13, 13, 11, 12, 15, 22, 12, 14, 11, 38, 40, 23, 19, 32, 10, 12, 19, 76, 54, 20, 11, 10, 13, 22, 30, 12, 74, 11, 13, 383, 187, 23, 17, 12, 13, 13, 10, 102, 26, 10, 15, 24, 13, 27, 31, 29, 25, 38, 16, 11, 10, 10, 11, 12, 11, 10, 14, 10, 11, 21, 19, 17, 17, 25, 24, 24, 35, 27, 29, 30, 22, 17, 10, 17, 12, 11, 16, 12, 10, 11, 11, 10, 21, 10, 12, 13, 10, 11, 17, 10, 10, 11, 29, 13, 10, 12, 136, 14, 38, 25, 17, 43, 52, 10, 10, 10, 11, 10, 15, 13, 14, 24, 20, 10, 17, 23, 12, 26, 29, 28, 20, 26, 20, 16, 17, 13, 10, 10, 11, 10, 17, 11, 10, 14, 14, 14, 15, 33, 24, 22, 24, 30, 32, 20, 13, 17, 12, 11, 12, 13, 12, 22, 16, 10, 10, 16, 11, 16, 10, 15, 35, 25, 100, 16, 10, 41, 13, 10, 11, 11, 16, 13, 11, 15, 10, 10, 11, 16, 11, 10, 15, 12, 12, 11, 13, 13, 17, 10, 10, 12, 15, 19, 19, 19, 24, 13, 26, 28, 21, 21, 21, 21, 17, 12, 11, 13, 13, 17, 15, 10, 23, 10, 14, 11, 16, 16, 26, 17, 19, 84, 16, 40, 10, 40, 16, 10, 20, 19, 22, 29, 20, 43, 43, 40, 30, 32, 29, 17, 29, 15, 10, 11, 10, 19, 15, 11, 13, 12, 13, 12, 11, 10, 13, 20, 11, 17, 18, 12, 15, 22, 14, 18, 26, 21, 29, 29, 25, 30, 22, 34, 24, 21, 21, 16, 11, 12, 10, 15, 13, 11, 11, 14, 10, 11, 11, 12, 12, 25, 11, 11, 19, 12, 18, 16, 16, 13, 17, 16, 10, 11, 13, 11, 10, 12, 2347, 177, 16, 97, 13, 14, 10, 10, 13, 19, 11, 10, 12, 13, 10, 10, 10, 10, 11, 14, 10, 12, 13, 13, 11, 11, 16, 11, 11, 14, 12, 14, 10, 10, 16, 130, 101, 32, 137, 15, 19, 21, 22, 18, 29, 37, 37, 37, 42, 30, 40, 37, 35, 21, 24, 17, 16, 11, 11, 10, 10, 12, 12, 175, 10, 10, 14, 10, 10, 15, 19, 13, 11, 12, 14, 14, 10, 11, 15, 11, 12, 11, 10, 11, 10, 14, 12, 10, 11, 11, 14, 13, 13, 16, 14, 20, 24, 19, 27, 27, 19, 17, 17, 24, 18, 11, 15, 11, 11, 11, 11, 12, 20, 31, 21, 22, 23, 19, 21, 32, 31, 26, 25, 19, 18, 14, 12, 13, 17, 12, 21, 23, 10, 24, 16, 28, 15, 28, 18, 13, 16, 13, 14, 10, 14, 13, 29, 25, 10, 10, 11, 14, 22, 23, 11, 17, 14, 10, 13, 10, 12, 13, 14, 15, 11, 11, 11, 10, 10, 10, 10, 19, 13, 10, 17, 17, 11, 10, 12, 12, 14, 10, 12, 10, 15, 16, 62, 15, 13, 10, 15, 14, 13, 22, 10, 11, 13, 13, 14, 10, 11, 16, 17, 11, 14, 21, 22, 31, 24, 44, 37, 50, 26, 33, 17, 12, 11, 11, 10, 14, 17, 12, 10, 15, 11, 20, 20, 27, 25, 17, 48, 23, 23, 45, 29, 25, 16, 18, 12, 10, 16, 18, 10, 14, 11, 12, 13, 10, 14, 11, 10, 13, 11, 19, 19, 10, 29, 18, 31, 33, 27, 30, 25, 11, 18, 13, 11, 10, 11, 13, 10, 10, 11, 10, 24, 10, 12, 15, 14, 21, 16, 17, 27, 26, 26, 24, 18, 15, 21, 15, 12, 18, 11, 12, 11, 11, 29, 26, 13, 11, 18, 11, 14, 15, 11, 20, 15, 12, 13, 16, 10, 13, 12, 13, 11, 11, 11, 17, 14, 15, 14, 16, 11, 15, 10, 13, 15, 13, 21, 40, 55, 11, 177, 12, 14, 19, 13, 13, 12, 13, 11, 17, 16, 12, 20, 17, 24, 24, 26, 27, 35, 22, 28, 26, 15, 13, 14, 13, 17, 16, 11, 13, 19, 13, 17, 26, 18, 21, 23, 31, 21, 20, 12, 13, 14, 10, 12, 17, 10, 15, 21, 35, 18, 29, 26, 26, 29, 34, 25, 24, 13, 13, 15, 11, 10, 11, 11, 10, 16, 20, 19, 19, 32, 27, 23, 21, 25, 26, 30, 21, 15, 12, 13, 17, 10, 13, 10, 22, 20, 14, 18, 24, 23, 23, 26, 17, 22, 24, 18, 14, 11, 14, 11, 13, 12, 14, 12, 11, 11, 16, 19, 10, 25, 22, 10, 10, 10, 13, 12, 10, 11, 16, 12, 10, 10, 10, 15, 12, 11, 10, 13, 11, 14, 11, 11, 13, 10, 14, 11, 11, 13, 10, 11, 12, 10, 10, 14, 590, 11, 174, 11, 27, 16, 11, 10, 12, 11, 16, 12, 10, 10, 12, 11, 15, 13, 18, 15, 15, 25, 34, 21, 29, 26, 28, 17, 30, 18, 15, 10, 13, 14, 11, 14, 10, 14, 15, 16, 25, 21, 22, 25, 18, 21, 30, 34, 27, 21, 10, 10, 11, 26, 29, 21, 28, 15, 18, 13, 12, 12, 15, 23, 24, 41, 26, 24, 11, 16, 14, 14, 16, 19, 19, 14, 19, 22, 24, 32, 47, 19, 14, 24, 16, 13, 11, 12, 15, 11, 13, 10, 16, 14, 11, 10, 10, 10, 12, 10, 17, 11, 11, 17, 12, 10, 10, 12, 11, 11, 10, 13, 15, 16, 11, 12, 177, 10, 17, 18, 30, 11, 23, 13, 12, 12, 15, 10, 13, 11, 16, 12, 24, 24, 24, 20, 36, 21, 29, 27, 19, 14, 10, 10, 10, 11, 14, 15, 15, 12, 12, 15, 29, 26, 33, 19, 25, 36, 29, 26, 18, 13, 25, 11, 10, 16, 12, 10, 21, 27, 26, 22, 23, 36, 42, 22, 29, 27, 24, 18, 18, 10, 12, 12, 10, 14, 14, 16, 21, 15, 29, 27, 27, 33, 25, 25, 26, 23, 19, 15, 13, 14, 13, 13, 21, 29, 23, 31, 32, 26, 22, 31, 13, 26, 13, 10, 12, 13, 14, 12, 15, 13, 26, 27, 17, 31, 20, 18, 31, 16, 11, 21, 14, 16, 20, 13, 12, 14, 14, 11, 15, 15, 11, 15, 12, 15, 18, 10, 10, 11, 11, 11, 10, 19, 10, 10, 13, 11, 14, 12, 10, 13, 175, 11, 13, 11, 12, 13, 10, 12, 11, 19, 10, 10, 10, 11, 12, 10, 12, 10, 12, 14, 14, 15, 11, 18, 25, 40, 20, 24, 33, 39, 30, 22, 20, 16, 12, 11, 10, 11, 11, 19, 17, 21, 19, 35, 26, 28, 10, 18, 26, 21, 10, 12, 10, 15, 10, 10, 13, 11, 14, 15, 15, 23, 24, 19, 34, 25, 28, 28, 20, 22, 20, 11, 10, 11, 16, 15, 17, 15, 23, 20, 27, 36, 17, 24, 23, 26, 21, 16, 10, 14, 13, 11, 16, 23, 16, 17, 20, 35, 29, 27, 43, 26, 21, 16, 18, 12, 16, 11, 11, 11, 11, 15, 21, 10, 10, 12, 13, 10, 11, 14, 16, 12, 14, 24, 19, 16, 25, 11, 35, 21, 11, 16, 15, 12, 13, 13, 10, 12, 12, 10, 10, 10, 10, 10, 13, 11, 25, 14, 13, 12, 11, 11, 14, 11, 13, 12, 11, 12, 10, 13, 13, 17, 24, 28, 23, 38, 32, 19, 40, 42, 36, 29, 24, 25, 20, 18, 11, 10, 176, 11, 14, 13, 11, 13, 11, 15, 19, 22, 16, 24, 24, 16, 18, 22, 41, 34, 26, 21, 27, 17, 10, 12, 12, 11, 12, 13, 14, 19, 12, 34, 26, 32, 26, 28, 17, 27, 19, 18, 15, 10, 10, 19, 12, 11, 10, 14, 13, 17, 24, 29, 28, 32, 32, 25, 32, 19, 25, 10, 13, 19, 14, 19, 10, 15, 11, 11, 21, 11, 11, 24, 26, 35, 41, 18, 32, 22, 17, 11, 10, 19, 12, 11, 20, 24, 14, 18, 27, 21, 15, 11, 22, 14, 10, 10, 10, 12, 12, 16, 13, 13, 21, 17, 30, 21, 23, 15, 22, 15, 15, 12, 15, 11, 13, 11, 11, 15, 10, 16, 12, 13, 11, 13, 14, 12, 10, 17, 10, 12, 10, 10, 15, 12, 10, 12, 10, 41, 11, 46, 15, 11, 18, 14, 12, 12, 14, 26, 24, 21, 20, 35, 36, 35, 19, 29, 11, 13, 10, 14, 12, 10, 10, 15, 14, 15, 20, 27, 20, 26, 28, 24, 20, 29, 19, 17, 12, 10, 12, 14, 17, 19, 13, 19, 26, 15, 28, 24, 24, 14, 14, 17, 12, 10, 13, 15, 14, 13, 13, 25, 21, 33, 26, 26, 27, 39, 25, 15, 18, 25, 17, 10, 14, 19, 10, 14, 10, 19, 15, 14, 15, 23, 40, 24, 21, 31, 13, 16, 12, 10, 12, 10, 12, 10, 10, 23, 10, 14, 11, 10, 13, 11, 10, 1069, 67, 11, 17, 120, 19, 38, 12, 14, 21, 10, 10, 12, 12, 21, 12, 24, 27, 12, 12, 30, 15, 15, 13, 11, 46, 10, 10, 15, 18, 10, 16, 14, 16, 13, 18, 30, 32, 32, 37, 41, 28, 31, 25, 16, 18, 10, 15, 12, 12, 23, 23, 23, 27, 32, 30, 30, 38, 22, 26, 15, 16, 13, 12, 11, 18, 14, 20, 38, 26, 37, 35, 31, 13, 23, 16, 22, 14, 10, 17, 15, 10, 18, 13, 24, 33, 23, 25, 27, 34, 37, 34, 26, 23, 17, 13, 23, 11, 20, 13, 15, 17, 22, 22, 21, 27, 23, 36, 26, 18, 25, 18, 12, 15, 10, 10, 13, 17, 32, 30, 24, 22, 12, 17, 16, 17, 13, 17, 14, 25, 14, 15, 11, 16, 18, 22, 15, 30, 28, 35, 29, 30, 25, 16, 25, 19, 10, 25, 13, 10, 10, 43, 17, 12, 62, 10, 12, 15, 32, 10, 16, 155, 374, 36, 32, 29, 23, 23, 18, 54, 52, 40, 49, 21, 14, 38, 29, 23, 45, 45, 28, 10, 28, 15, 61, 52, 44, 11, 10, 11, 10, 19, 10, 14, 12, 13, 11, 10, 11, 21, 22, 18, 28, 14, 13, 10, 11, 34, 12, 12, 13, 11, 11, 13, 10, 12, 14, 102, 15, 21, 173, 553, 217, 1252, 27, 232, 15, 46, 38, 36, 13, 12, 11, 23, 33, 16, 10, 13, 18, 15, 11, 13, 11, 10, 10, 10, 193, 184, 17, 15, 17, 16, 13, 14, 32, 22, 41, 33, 25, 23, 26, 16, 26, 10, 12, 10, 10, 13, 11, 14, 17, 12, 21, 17, 34, 21, 15, 25, 10, 17, 20, 29, 15, 13, 14, 15, 12, 23, 27, 26, 23, 31, 31, 21, 17, 16, 22, 18, 13, 12, 13, 13, 20, 32, 19, 22, 33, 22, 24, 19, 20, 15, 17, 16, 11, 10, 13, 14, 18, 20, 23, 19, 33, 27, 34, 22, 19, 17, 28, 13, 12, 17, 22, 16, 27, 19, 36, 34, 25, 26, 19, 15, 12, 23, 18, 21, 25, 21, 25, 14, 12, 10, 14, 23, 24, 21, 19, 23, 10, 12, 13, 15, 12, 16, 24, 21, 26, 24, 22, 24, 11, 14, 14, 14, 13, 12, 12, 14, 11, 53, 14, 14, 10, 15, 10, 55, 10, 10, 59, 18, 18, 15, 15, 10, 12, 11, 33, 117, 17, 10, 12, 125, 43, 11, 19, 34, 20, 35, 10, 11, 119, 55, 40, 43, 11, 10, 117, 15, 22, 265, 31, 12, 21, 18, 33, 21, 13, 11, 12, 10, 10, 11, 12, 10, 11, 10, 11, 12, 11, 10, 10, 11, 10, 10, 33, 101, 16, 11, 10, 98, 29, 27, 13, 13, 25, 162, 11, 18, 40, 25, 22, 16, 23, 13, 11, 10, 13, 12, 10, 16, 14, 21, 35, 23, 37, 26, 23, 32, 24, 17, 15, 10, 25, 16, 12, 17, 12, 24, 24, 19, 27, 28, 22, 26, 27, 26, 19, 14, 13, 10, 16, 12, 23, 22, 24, 26, 21, 28, 18, 21, 17, 18, 11, 21, 10, 14, 10, 15, 12, 23, 23, 18, 32, 29, 38, 42, 24, 22, 19, 23, 11, 10, 10, 21, 16, 14, 13, 11, 15, 13, 17, 23, 16, 14, 34, 19, 20, 31, 37, 31, 24, 19, 10, 12, 11, 15, 23, 17, 16, 22, 23, 37, 33, 21, 31, 30, 22, 21, 17, 15, 18, 15, 16, 18, 11, 15, 12, 24, 11, 10, 11, 12, 15, 10, 33, 11, 12, 35, 17, 13, 407, 12, 28, 16, 13, 17, 11, 15, 12, 12, 10, 14, 12, 17, 12, 12, 13, 14, 13, 11, 38, 10, 11, 10, 19, 11, 14, 34, 16, 10, 10, 10, 13, 11, 12, 11, 18, 22, 10, 10, 14, 18, 18, 11, 10, 14, 11, 20, 31, 10, 13, 20, 25, 22, 22, 25, 27, 22, 29, 44, 14, 16, 10, 18, 13, 28, 11, 10, 13, 14, 17, 26, 23, 27, 17, 33, 44, 27, 22, 18, 18, 10, 18, 19, 22, 15, 22, 28, 25, 22, 27, 34, 29, 29, 17, 16, 17, 14, 11, 13, 23, 14, 21, 19, 27, 26, 34, 42, 23, 27, 21, 13, 13, 27, 10, 12, 19, 16, 16, 18, 23, 22, 26, 29, 25, 22, 24, 21, 21, 13, 14, 21, 10, 13, 21, 21, 15, 26, 26, 29, 22, 28, 37, 17, 16, 11, 16, 18, 26, 249, 10, 11, 13, 19, 13, 24, 11, 14, 15, 12, 16, 26, 12, 13, 12, 10, 13, 12, 12, 18, 10, 14, 11, 14, 14, 15, 25, 29, 20, 24, 27, 31, 12, 10, 158, 11, 27, 41, 11, 339, 41, 22, 28, 22, 21, 13, 23, 14, 13, 14, 11, 14, 20, 21, 13, 19, 11, 14, 10, 18, 20, 26, 32, 14, 25, 36, 34, 25, 32, 17, 11, 13, 11, 10, 11, 22, 20, 18, 20, 26, 19, 31, 24, 25, 14, 19, 13, 11, 10, 10, 17, 18, 17, 17, 17, 25, 21, 25, 24, 26, 30, 24, 20, 17, 16, 10, 13, 24, 24, 15, 20, 27, 26, 31, 31, 16, 12, 11, 11, 10, 26, 24, 22, 26, 24, 22, 25, 28, 21, 24, 13, 11, 16, 22, 23, 16, 18, 13, 18, 11, 10, 13, 13, 17, 15, 32, 11, 10, 11, 11, 10, 14, 21, 15, 26, 15, 30, 37, 35, 31, 17, 22, 30, 14, 17, 12, 11, 14, 16, 18, 14, 32, 21, 22, 31, 37, 32, 18, 12, 16, 11, 11, 12, 10, 11, 37, 10, 18, 10, 11, 26, 11, 13, 11, 20, 42, 20, 154, 24, 17, 19, 14, 26, 27, 10, 20, 27, 313, 81, 15, 15, 12, 14, 13, 15, 18, 30, 17, 26, 38, 33, 28, 18, 27, 14, 13, 10, 11, 11, 14, 10, 11, 14, 22, 17, 20, 29, 22, 31, 22, 25, 16, 13, 11, 18, 10, 10, 10, 16, 12, 12, 14, 19, 23, 33, 19, 46, 20, 19, 23, 13, 14, 11, 10, 12, 10, 10, 10, 10, 16, 12, 13, 21, 19, 33, 16, 28, 29, 30, 28, 22, 21, 20, 13, 10, 12, 10, 15, 13, 19, 15, 20, 27, 14, 23, 36, 20, 18, 11, 13, 14, 11, 14, 13, 16, 21, 23, 25, 19, 24, 23, 17, 21, 15, 17, 13, 14, 12, 13, 17, 12, 15, 18, 22, 28, 23, 31, 40, 22, 20, 16, 23, 13, 12, 28, 25, 17, 24, 12, 12, 13, 10, 14, 38, 22, 21, 15, 13, 14, 10, 11, 16, 18, 22, 14, 31, 21, 32, 36, 49, 29, 24, 16, 21, 15, 10, 10, 10, 16, 10, 11, 11, 18, 23, 22, 35, 23, 33, 35, 37, 29, 26, 26, 22, 10, 11, 12, 12, 11, 12, 18, 26, 69, 41, 13, 18, 10, 19, 17, 32, 31, 25, 27, 28, 34, 27, 17, 11, 10, 10, 11, 14, 14, 13, 17, 18, 27, 16, 28, 28, 26, 34, 33, 13, 10, 11, 13, 13, 14, 10, 13, 21, 17, 25, 19, 26, 29, 21, 20, 24, 15, 10, 11, 10, 10, 15, 11, 10, 10, 17, 21, 20, 26, 20, 24, 27, 18, 12, 21, 15, 11, 10, 10, 11, 10, 14, 13, 16, 17, 14, 26, 31, 24, 28, 14, 11, 11, 10, 10, 12, 11, 14, 26, 21, 22, 17, 28, 21, 25, 27, 26, 21, 10, 11, 10, 18, 10, 11, 20, 19, 20, 14, 19, 29, 21, 20, 17, 11, 11, 13, 12, 14, 10, 19, 22, 15, 23, 24, 29, 32, 17, 31, 14, 11, 13, 18, 10, 16, 17, 13, 13, 13, 29, 32, 20, 22, 35, 30, 31, 25, 26, 24, 21, 13, 11, 64, 12, 12, 15, 14, 18, 13, 20, 22, 30, 27, 26, 31, 26, 23, 14, 17, 16, 13, 11, 23, 12, 11, 13, 18, 11, 17, 19, 20, 27, 26, 23, 17, 10, 11, 11, 11, 10, 17, 24, 17, 21, 25, 24, 30, 22, 23, 24, 26, 12, 10, 10, 14, 10, 14, 16, 14, 15, 26, 23, 21, 24, 23, 28, 15, 13, 12, 13, 15, 13, 12, 15, 16, 17, 20, 23, 32, 44, 26, 24, 18, 25, 12, 15, 10, 19, 29, 25, 20, 21, 13, 15, 20, 17, 17, 27, 22, 26, 12, 11, 11, 10, 12, 16, 14, 23, 24, 32, 25, 26, 23, 14, 23, 10, 10, 10, 12, 18, 10, 10, 25, 20, 26, 18, 26, 28, 22, 14, 20, 18, 11, 12, 12, 10, 18, 21, 19, 14, 15, 12, 30, 25, 18, 16, 17, 12, 20, 12, 11, 12, 14, 18, 28, 22, 35, 34, 24, 39, 33, 22, 31, 21, 19, 10, 14, 13, 14, 15, 15, 26, 21, 27, 18, 30, 28, 22, 22, 22, 12, 13, 11, 12, 10, 15, 24, 76, 10, 14, 17, 21, 16, 25, 29, 33, 23, 21, 25, 15, 13, 10, 11, 18, 16, 10, 16, 15, 21, 19, 22, 24, 30, 22, 29, 13, 17, 11, 12, 11, 10, 12, 19, 24, 16, 24, 31, 34, 28, 13, 19, 24, 29, 10, 12, 10, 12, 14, 14, 15, 17, 16, 18, 26, 19, 25, 23, 13, 13, 17, 19, 11, 10, 23, 24, 23, 20, 29, 22, 13, 25, 15, 20, 13, 14, 18, 14, 24, 15, 14, 27, 22, 28, 29, 13, 16, 13, 18, 17, 12, 23, 20, 35, 37, 23, 20, 27, 16, 12, 10, 11, 14, 11, 15, 15, 18, 13, 22, 25, 19, 23, 19, 16, 14, 22, 20, 10, 11, 15, 10, 11, 18, 24, 13, 26, 32, 28, 38, 35, 31, 36, 33, 27, 16, 15, 12, 10, 14, 13, 15, 18, 11, 15, 26, 18, 22, 21, 34, 21, 29, 26, 13, 13, 70, 12, 12, 41, 108, 573, 12, 347, 41, 15, 113, 27, 74, 420, 192, 19, 24, 44, 10, 15, 145, 10, 11, 11, 34, 48, 122, 23, 27, 498, 12, 127, 10, 721, 60, 16, 11, 20, 66, 12, 1343, 77, 21, 19, 89, 159, 16, 64, 13, 27, 179, 3107, 30, 76, 17, 86, 36, 21, 64, 39, 139, 26, 12, 1826, 13, 76, 10, 17, 181, 17, 11, 492, 16, 13, 16, 12, 159, 14, 15, 10, 14, 14, 15, 11, 13, 48, 32, 135, 59, 60, 13, 489, 11317, 64, 11, 13, 10, 34, 18, 36, 36, 27, 4620, 65, 18, 24, 27, 17, 34, 22, 11, 4065, 18, 127, 269, 56, 23, 11, 74, 54, 157, 11, 28, 166, 12, 50, 190, 3160, 88, 19, 51, 18, 351, 50, 238, 1488, 18, 149, 351, 27, 68, 29, 13, 14, 25, 55, 11, 19, 11, 254, 11, 48, 13, 14, 35, 87, 14, 26, 11, 20, 14, 47, 12, 34, 17, 54, 200, 28, 6649, 83, 10, 21, 10, 10, 20, 63, 26, 89, 14, 201, 10, 489, 36, 44, 25, 33, 37, 68, 10, 2614, 43, 10, 42, 237, 37, 10, 98, 20, 50, 61, 155, 102, 12, 10, 28, 275, 52, 35, 88, 47, 12, 108, 250, 41, 25, 67, 19, 65, 38, 33, 11, 10, 668, 91, 145, 12, 947, 12, 17, 14, 23, 47, 17, 234, 203, 99, 26, 29, 1707, 53, 65, 14, 26, 18, 47, 388, 30, 14, 12, 24, 81, 108, 46, 16, 40, 2740, 161, 11, 28, 10, 27, 1261, 19, 289, 12, 46, 151, 50, 220, 13, 673, 86, 12, 390, 1103, 23, 10, 158, 137, 94, 49, 216, 17, 24, 11, 42, 42, 50, 13, 18, 10, 1694, 10, 39, 312, 10, 15, 10, 69, 101, 329, 3591, 337, 33, 167, 243, 13, 22, 12, 18, 11, 446, 35, 326, 76, 17, 42, 51, 77, 12, 34, 73, 279, 22, 11, 19, 22, 16, 105, 30, 17, 81, 332, 57, 26, 180, 14, 10, 46, 258, 306, 102, 513, 15, 18, 57, 20, 26, 10, 90, 10, 10, 18, 12, 15, 10, 84, 30, 115, 403, 13, 15, 121, 14, 14, 17, 27, 14, 16, 40, 16, 18, 21, 47, 22, 60, 32, 70, 49, 11, 10, 76, 55, 74, 111, 24, 35, 31, 12, 30, 12, 88, 79, 78, 2412, 25, 43, 113, 79, 16, 15, 21, 477, 105, 13, 36, 19, 314, 16, 22, 136, 11, 16, 57, 35, 52, 14, 57, 95, 11, 14, 14, 62, 20, 223, 202, 16, 39, 11, 12, 841, 19, 11, 81, 1055, 53, 11, 14, 84, 22, 16, 63, 171, 11, 97, 73, 25, 13, 17, 19, 24, 20, 34, 148, 43, 177, 11, 16, 1168, 27, 21, 27, 48, 31, 40, 13, 80, 186, 13, 23, 334, 11, 10, 377, 618, 17, 39, 12, 19, 28, 140, 30, 40, 15, 11, 19, 13, 70, 15, 57, 10, 10, 39, 307, 127, 11, 59, 158, 16, 24, 13, 926, 54, 11, 15, 363, 1428, 38, 90, 10, 30, 332, 372, 55, 10, 45, 68, 56, 13, 387, 11, 31, 11, 11, 117, 1396, 29, 17, 65, 97, 16, 82, 15, 10, 10, 12, 27, 207, 11, 12, 137, 824, 48, 225, 31, 41, 10, 20, 45, 26, 17, 117, 1325, 210, 11, 13, 29, 46, 35, 15, 20, 31, 21, 15, 473, 18, 34, 15, 95, 60, 30, 376, 19, 13, 85, 759, 47, 14, 15, 21, 154, 27, 26, 12, 115, 38, 474, 51, 41, 26, 17, 13, 189, 20, 17, 142, 17, 28, 22, 73, 20, 293, 219, 27, 54, 1161, 17, 133, 65, 54, 24, 2185, 52, 36, 13, 855, 74, 16, 54, 20, 18, 13, 11, 164, 27, 387, 41, 11, 12, 15, 24, 33, 10, 205, 55, 24, 21, 24, 10, 439, 14, 17, 43, 503, 24, 11, 67, 33, 30, 13, 23, 75, 235, 40, 31, 24, 51, 2315, 11, 94, 11, 12, 28, 16, 20, 55, 40, 15, 71, 102, 26, 45, 13, 13, 192, 96, 18, 26, 12, 858, 17, 38, 66, 24, 112, 16, 61, 16, 11, 23, 18, 11, 113, 10, 11, 11, 23, 804, 75, 12, 23, 14, 61, 4846, 218, 15, 48, 146, 11, 64, 15, 42, 58, 1438, 84, 17, 88, 39, 29, 136, 10, 80, 15, 12, 17, 236, 53, 48, 2972, 18, 25, 269, 10, 21, 50, 15, 32, 30, 27, 11, 42, 19, 260, 10, 50, 83, 84, 27, 244, 10, 85, 14, 11, 32, 30, 48, 471, 482, 20, 44, 12, 15, 90, 19, 12, 244, 10, 10, 3604, 25, 260, 1389, 7214, 15, 92, 128, 41, 17, 35, 43, 14, 1895, 10, 50, 44, 27, 2580, 13, 57, 22, 12, 19, 12, 3985, 87, 24, 30, 166, 18, 217, 17, 28, 37, 73, 56, 24, 140, 22, 11, 23, 102, 25, 53, 21, 40, 71, 31, 216, 15, 65, 14, 148, 76, 4421, 214, 20, 578, 97, 10, 203, 1376, 20, 16, 45, 37, 12, 66, 30, 20, 22, 1093, 71, 21, 19, 17, 62, 42, 35, 1800, 18, 2582, 41, 1822, 39, 118, 115, 118, 10, 17, 276, 81, 847, 448, 21, 23, 35, 44, 1248, 97, 20, 245, 50, 151, 25, 1554, 941, 21, 18, 12, 250, 86, 258, 13, 126, 18, 26, 17, 35, 38, 1648, 332, 988, 164, 272, 39, 11, 11, 12, 374, 42, 15, 12, 83, 142, 56, 10, 105, 29, 12, 19, 14, 298, 26, 10, 105, 70, 17, 12, 17, 43, 49, 11, 106, 18, 189, 35, 47, 279, 15, 152, 19, 237, 160, 19, 140, 1995, 25, 31, 12, 127, 20, 119, 55, 14, 53, 21, 513, 527, 57, 248, 17, 250, 191, 15, 17, 32, 56, 15, 17, 120, 21, 217, 1264, 89, 64, 43, 11, 17, 359, 40, 1163, 36, 42, 16, 113, 11, 15, 19, 11, 10, 11, 25, 984, 143, 945, 22, 33, 16, 711, 22, 133, 13, 13, 56, 298, 78, 13, 69, 129, 37, 118, 61, 35, 108, 27, 27, 53, 10, 26, 153, 17, 482, 44, 10, 13, 25, 47, 12, 94, 10, 10, 1016, 25, 98, 125, 43, 29, 13, 53, 22, 24, 42, 17, 10, 167, 17, 16, 15, 11, 88, 142, 49, 819, 121, 167, 14, 113, 11, 11, 16, 169, 103, 12, 12941, 73, 207, 120, 27, 58, 32, 44, 60, 262, 183, 90, 56, 124, 13, 25, 17, 604, 14, 12, 12, 65, 18, 250, 13, 10, 14, 13, 10, 12, 22, 212, 11, 101, 384, 29, 42, 30, 28, 15, 34, 10, 100, 70, 11, 11, 108, 11, 12, 24, 82, 72, 19, 43, 1053, 19, 13, 241, 20, 24, 19, 31, 15, 10, 12, 90, 10, 16, 46, 43, 12, 398, 35, 10, 28, 107, 20, 21, 105, 15, 90, 34, 66, 181, 28, 113, 74, 20, 50, 15, 13, 14, 195, 1133, 47, 74, 16, 31, 83, 1737, 57, 18, 34, 10, 42, 259, 115, 15, 13, 337, 79, 10, 281, 48, 10, 14, 72, 38, 19, 50, 22, 29, 2897, 18, 77, 77, 13, 16, 43, 86, 51, 11, 420, 12, 4886, 99, 324, 367, 124, 20, 30, 19, 13, 418, 43, 55, 296, 28, 45, 28, 36, 25, 597, 3837, 288, 706, 98, 114, 56, 19, 15, 16, 13, 20, 1208, 10, 22, 11, 230, 16, 37, 12, 19, 774, 117, 57, 10, 31, 31, 52, 381, 80, 13, 13, 1202, 10, 16, 47, 13, 82, 14, 165, 122, 2431, 29, 26, 61, 20, 230, 22, 12, 12, 51, 12, 11, 16, 22, 14, 15, 23, 244, 14, 96, 23, 22, 11, 15, 11, 19, 12, 21, 55, 31, 75, 17, 10, 375, 533, 15, 75, 52, 204, 12, 69, 16, 17, 25, 75, 10, 110, 19, 35, 100, 556, 101, 129, 83, 69, 19, 11, 13, 210, 127, 167, 23, 11, 1858, 108, 13, 20559, 21, 60, 17, 209, 562, 99, 1689, 24, 2228, 28, 12, 14, 1060, 13, 14, 49, 35, 16, 11, 33, 55, 69, 11, 542, 18, 234, 19, 30, 18, 90, 11, 13, 50, 25, 27, 3059, 29, 14, 183, 19, 20, 34, 331, 14, 11, 25, 15, 11, 187, 20, 39, 2072, 34, 24, 70, 27, 21, 13, 23, 71, 45, 87, 11135, 11, 35, 46, 160, 49, 79, 230, 3847, 47, 41, 14, 10, 133, 141, 48, 10, 10, 12, 13, 12, 22, 33, 21, 23, 12, 55, 892, 43, 465, 11, 95, 31, 18, 166, 11, 14, 96, 21, 256, 44, 16, 132, 12, 254, 88, 37, 10, 23, 346, 17, 11, 13, 21, 16, 10, 57, 45, 10, 12, 11, 788, 19, 178, 60, 335, 17, 23, 70, 77, 12, 13, 10, 26, 24, 104, 50, 17, 61, 190, 415, 30, 759, 42, 10, 61, 134, 119, 765, 321, 10, 28, 55, 21, 188, 54, 61, 97, 14, 31, 73, 10, 16, 19, 14, 55, 42, 25, 17, 10, 403, 792, 71, 791, 10, 12, 25, 12, 14, 33, 1009, 11, 96, 292, 17, 277, 17, 203, 34, 18, 20, 98, 144, 79, 44, 57, 200, 11, 430, 489, 165, 171, 11, 273, 79, 10, 29, 109, 10, 13, 132, 10, 33, 23, 256, 12, 14, 313, 39, 15, 32, 10, 46, 73, 21, 14, 212, 23, 25, 36, 81, 54, 16, 13, 25, 10, 126, 663, 1033, 23, 156, 35, 40, 294, 233, 143, 128, 161, 93, 11, 28, 47, 38, 10, 14, 29, 21, 14, 463, 41, 11, 14, 25, 32, 187, 10, 232, 71, 15, 115, 56, 16, 12, 18, 11, 44, 174, 12, 14, 145, 12, 73, 21, 1019, 462, 518, 15, 286, 12, 12, 12, 76, 12, 29, 43, 41, 78, 19, 166, 15, 17, 12, 11, 27, 23, 29, 85, 13, 94, 17, 21, 10, 49, 16, 17, 22, 13, 144, 38, 34, 73, 15, 112, 46, 10, 17, 285, 65, 10, 39, 12, 60, 482, 21, 14, 10, 10, 15, 16, 62, 87, 11, 1372, 57, 32, 17, 106, 37, 12, 20, 41, 86, 11, 10, 279, 246, 1164, 90, 19, 15, 19, 312, 20, 6532, 47, 34, 20, 21, 37, 33, 70, 11, 179, 434, 2679, 16, 36, 25, 14, 30, 25, 135, 11, 18, 1568, 36, 23, 146, 10, 18, 22, 52, 17, 1370, 23, 167, 23, 34, 114, 82, 52, 103, 140, 53, 58, 12, 26, 2573, 40, 36, 596, 23, 11, 35, 35, 126, 21, 23, 20, 16, 90, 27, 4857, 10, 67, 22, 741, 14539, 17, 113, 12, 116, 12, 161, 70, 31, 60, 4525, 30, 181, 79, 259, 61, 268, 966, 156, 80, 89, 39, 48, 740, 152, 14, 100, 1090, 29, 339, 36, 33, 33, 35, 74, 466, 11, 11, 19, 591, 25, 11, 22, 77, 37, 88, 10, 66, 71, 28, 44, 34, 347, 1287, 10, 17, 13, 11, 38, 23, 80, 23, 11, 141, 566, 191, 30, 13, 18, 14, 192, 19, 10, 177, 27, 16, 404, 14, 75, 75, 75, 33, 25, 158, 532, 602, 83, 21, 26, 112, 142, 359, 14, 28, 34, 84, 10, 31, 10, 25, 48, 303, 13, 50, 24, 13, 1646, 15, 19, 48, 45, 43, 73, 15, 75, 75, 30, 947, 32, 10, 15, 14, 510, 178, 61, 100, 16, 271, 12, 214, 30, 21, 29, 44, 10, 25, 456, 1689, 448, 641, 68, 28, 32, 20, 133, 1281, 15, 44, 23, 34, 22, 13200, 842, 19, 41, 43, 19, 261, 12, 30, 359, 10, 42, 16, 18, 642, 130, 70, 310, 11, 1476, 39, 20, 19, 23, 11, 177, 2049, 53, 76, 17, 17, 13, 14, 12, 52, 81, 15744, 233, 69, 28, 75, 75, 75, 664, 223, 13, 72, 23, 38, 147, 32, 12, 251, 20, 72, 11, 663, 26, 21, 20, 332, 84, 10, 17, 10, 36, 10, 49, 390, 165, 345, 11, 16, 12, 74, 96, 10, 205, 16, 120, 19, 92, 10, 19, 14, 15, 14, 42, 44, 62, 10, 40, 12, 14, 11, 31, 35, 18, 13, 14, 81, 28, 12, 15, 33, 12, 13, 45, 27, 358, 10, 53, 20, 60, 32, 121, 14, 111, 196, 42, 10, 50, 225, 148, 266, 16, 17, 16, 160, 408, 169, 29, 48, 20, 132, 11, 94, 25, 30, 853, 107, 18, 16, 20, 48, 115, 16, 17, 197, 10, 23, 126, 80, 20, 38, 18, 14, 13, 13, 11, 13, 34, 12, 188, 209, 17, 14, 17, 17, 38, 11, 34, 127, 24, 13, 22, 32, 28, 48, 230, 29, 18, 75, 14, 19, 15, 150, 10, 24, 12, 34, 80, 51, 37, 24, 15, 19, 27, 34, 13, 38, 90, 163, 688, 107, 15, 12, 10, 21, 300, 15, 35, 27, 26, 28, 273, 23, 46, 4379, 105, 32, 399, 254, 399, 22, 16, 14, 11, 18, 5729, 87, 10, 28, 10, 35, 11, 14, 3821, 33, 3446, 338, 52, 927, 19, 243, 139, 291, 20, 68, 42, 24, 11, 13, 391, 1955, 10, 20, 30, 12, 46, 136, 1431, 17, 25, 44, 11, 19, 26, 103, 33, 285, 25, 16, 14, 18, 11, 10, 29, 10, 26, 29, 17, 12, 28, 39, 28, 19, 85, 11, 74, 82, 14, 15, 11, 111, 15, 33, 14, 127, 53, 76, 23, 24, 13, 30, 5838, 24, 15, 30, 270, 72, 246, 30, 17, 14, 21, 691, 24, 200, 50, 447, 5056, 43, 577, 14, 80, 16, 519, 48, 25, 26, 93, 104, 30, 12, 10, 22, 24, 244, 47, 35, 59, 19, 14, 92, 20, 85, 16, 11, 15, 2076, 24, 171, 16, 113, 19, 107, 722, 10, 29, 28, 79, 11, 37, 11, 50, 10, 2152, 31, 49, 242, 12, 28, 13, 35, 16, 13, 43, 26, 27, 124, 40, 21, 72, 161, 2015, 125, 166, 98, 29, 34, 16, 42, 24, 21, 21, 76, 101, 14, 152, 20, 15, 13, 12, 27, 14, 285, 22, 43, 62, 849, 15, 835, 358, 310, 77, 13, 11, 15, 106, 15, 49, 299, 358, 2370, 76, 39, 33, 14, 11, 121, 44, 27, 33, 23, 7336, 963, 40, 46, 44, 382, 16357, 57, 99, 320, 26, 249, 46, 15, 15, 16, 16, 17, 10, 59, 182, 14, 17, 92, 177, 786, 66, 744, 1129, 606, 103, 141, 123, 103, 318, 30, 34, 99, 75, 33, 1826, 909, 17, 19, 537, 80, 143, 69, 25, 39, 107, 94, 247, 23, 95, 31, 38, 46, 28, 1313, 267, 67, 2163, 26, 10, 35, 177, 20, 12, 19, 24, 335, 53, 22, 13, 107, 86, 22, 14, 17, 25, 77, 84, 458, 5731, 20, 120, 6558, 16, 49, 391, 44, 17, 27, 23, 16, 16, 47, 31, 262, 218, 1227, 487, 71, 255, 3767, 10, 20, 274, 31, 13, 27, 14, 26, 78, 129, 242, 65, 21, 25, 700, 23, 10, 1274, 43, 34, 25, 11, 39, 14, 11, 13, 30, 37, 118, 488, 31, 94, 69, 114, 14, 64, 11, 12, 32, 482, 13, 44, 10, 2320, 115, 261, 77, 16, 12, 50, 161, 17, 24, 26, 67, 63, 127, 28, 25, 21, 17, 166, 44, 25, 7563, 12, 17, 26, 75, 1020, 12, 33, 36, 24, 24, 55, 44, 25, 35, 135, 56, 21, 14, 59, 303, 42, 13, 14, 12, 59, 52, 8790, 87, 58, 27, 15, 35, 92, 30, 119, 116, 45, 534, 24, 51, 78, 64, 15, 11, 43, 10, 55, 31, 36, 17, 29, 271, 6161, 11, 625, 265, 41, 115, 233, 4662, 70, 197, 1260, 882, 14, 34, 685, 78, 19, 61, 12, 15, 254, 11, 10, 46, 25, 45, 12, 77, 10, 14, 2719, 12, 26, 154, 145, 23, 368, 12, 11, 98, 53, 105, 174, 14, 26, 13, 63, 265, 18, 47, 21, 238, 221, 23, 53, 13, 141, 33, 44, 121, 32, 37, 74, 19, 15, 143, 37, 18, 15, 10, 19, 22, 49, 34, 15, 23, 281, 105, 217, 92, 11, 35, 175, 562, 510, 161, 24, 43, 15, 42, 25, 18, 10, 12, 376, 116, 12, 20, 26, 28, 26, 10, 37, 55, 1478, 19, 15, 52, 20, 17, 15, 96, 319, 72, 14, 10, 33, 31, 13, 65, 129, 37, 17, 12, 26, 36, 19, 19, 2094, 11, 22, 11, 11, 95, 37, 13, 18, 66, 11, 82, 28, 17, 15, 82, 11, 31, 195, 54, 13, 28, 181, 24, 13, 89, 10, 690, 11, 14, 29, 14, 34, 185, 76, 48, 69, 19, 181, 81, 214, 101, 249, 21, 86, 13, 17, 184, 2314, 42, 16, 25, 24, 38, 86, 11, 14, 54, 89, 199, 19, 65, 94, 55, 224, 15, 352, 1887, 85, 47, 11, 13, 12, 11, 17, 20, 10, 15, 125, 74, 84, 10, 24, 132, 14, 108, 10, 26, 95, 47, 427, 26, 93, 117, 150, 318, 138, 61, 12, 763, 11, 116, 77, 25, 22, 15, 13, 22, 229, 13, 61, 30, 10, 78, 165, 12, 23, 13, 12, 22, 154, 60, 11, 20, 59, 30, 90, 12, 37, 419, 33, 10, 12, 77, 3684, 27, 605, 14, 98, 11, 11, 40, 909, 113, 137, 38, 334, 389, 12, 20, 160, 10, 18, 216, 24, 22, 164, 21, 88, 30, 18, 19, 418, 49, 16, 231, 19, 58, 33, 180, 419, 41, 64, 24, 18, 23, 11, 18, 23, 18, 424, 22, 11, 14, 42, 37, 19, 11, 45, 50, 184, 10, 12, 76, 213, 32, 13, 95, 37, 24, 5143, 425, 31, 14, 288, 13, 51, 41, 12, 926, 205, 17, 26, 24, 18, 31, 14, 14, 129, 65, 24, 11, 401, 10, 12317, 16, 250, 20, 77, 18, 12, 13, 72, 3500, 12, 74, 12, 86, 17, 55, 31, 14, 10, 38, 13, 10, 2107, 142, 12, 12, 22, 47, 16, 4450, 37, 39, 39, 29, 1347, 488, 23, 1678, 57, 90, 294, 184, 79, 65, 124, 16, 10, 13, 1814, 219, 1233, 31, 418, 108, 24, 39, 371, 29, 21, 95, 47, 23, 76, 28, 389, 40, 56, 14, 1918, 683, 60, 13, 95, 135, 16, 21, 2039, 39, 12, 190, 30, 24, 166, 98, 19, 14906, 39, 2404, 21, 15, 30, 12, 25, 11, 145, 41, 31, 37, 15, 14, 24, 216, 10, 236, 43, 17, 111, 46, 218, 139, 20, 155, 20, 36, 62, 27, 115, 25, 302, 20, 28, 17, 20, 137, 10, 75, 42, 59, 224, 13, 435, 18, 139, 26, 12, 33, 11, 36, 16, 15, 12, 16, 259, 406, 97, 107, 33, 28, 477, 20, 73, 943, 70, 73, 67, 11, 14, 38, 13, 188, 87, 163, 104, 17, 24, 11, 15, 32, 35, 11, 20, 95, 134, 12, 13, 25, 26, 99, 19, 43, 41, 12, 79, 60, 11, 56, 14, 10, 3638, 295, 16, 24, 11, 44, 10, 27, 15, 40, 15, 12, 48, 14, 12, 28, 2034, 11, 134, 625, 56, 26, 132, 16, 93, 85, 24, 166, 20, 45, 28, 13, 1124, 117, 55, 49, 156, 20, 15, 20, 11, 55, 47, 11, 11, 36, 11, 10, 85, 10, 10, 17, 2261, 108, 36, 52, 2344, 345, 71, 15, 12, 11, 15, 481, 81, 9242, 38, 74, 840, 42, 28, 847, 12, 12, 28, 12, 324, 38, 24, 12, 11, 47, 24, 2671, 66, 12, 35, 15, 59, 22, 59, 11, 11, 67, 48, 27, 36, 114, 12, 38, 19, 41, 277, 329, 193, 23, 16, 14, 12, 18, 41, 65, 1511, 1753, 187, 14, 141, 56, 39, 28, 63, 1253, 666, 30, 18, 10, 13, 24, 166, 25, 218, 24, 13, 727, 16, 63, 59, 19, 168, 53, 20, 21, 26, 18, 16, 44, 54, 130, 417, 71, 29, 22, 14, 16, 252, 39, 243, 17, 45, 15, 30, 34, 16, 11, 19, 115, 103, 16, 22, 69, 59, 15, 14, 105, 13, 41, 46, 48, 58, 12, 41, 53, 34, 19, 148, 49, 6856, 20, 23, 22, 23, 44, 13, 154, 29, 17, 20, 41, 42, 25, 14, 26, 11, 88, 12, 12, 74, 11, 633, 30, 38, 10, 10, 3646, 32, 19, 18, 148, 66, 18, 74, 18, 27, 126, 106, 43, 346, 15, 35, 125, 113, 68, 118, 14, 74, 17, 189, 62, 34, 10, 22, 439, 55, 20, 30, 12, 42, 30, 33, 16, 18, 20, 16, 28, 10, 32, 14, 109, 11, 28, 12, 35, 12, 39, 31, 64, 31, 79, 337, 16, 12, 126, 26, 14, 18, 92, 20, 93, 10, 10, 11, 348, 14, 29, 14, 34, 178, 38, 71, 16, 10, 262, 15, 26, 81, 30, 20, 11, 2854, 17, 49, 561, 46, 721, 12, 23, 43, 50, 124, 11, 49, 412, 830, 10, 18, 1116, 21, 98, 69, 1936, 85, 24, 63, 26, 422, 78, 10, 12, 51, 11, 109, 15, 20, 31, 5943, 2681, 29, 18, 34, 25, 48, 72, 11, 29, 42, 86, 33, 432, 50, 12, 58, 14, 10, 50, 395, 38, 166, 12, 11, 40, 14, 11, 21, 10, 4508, 11, 215, 80, 22, 10, 26, 103, 51, 24, 110, 448, 53, 25, 193, 1151, 87, 55, 79, 10, 60, 60, 32, 15, 166, 11, 15, 27, 57, 10, 49, 12, 13, 10, 14, 694, 58, 114, 440, 105, 41, 14, 16, 10, 21, 40, 149, 34, 11, 37, 91, 71, 40, 30, 1018, 253, 296, 30, 30, 1664, 18, 31, 81, 10, 24, 22, 878, 32, 47, 20, 44, 239, 13, 21, 43, 16, 24, 30, 128, 16, 17, 17, 14, 11, 257, 12, 40, 50, 285, 13, 133, 16, 17, 50, 135, 131, 28, 12, 11, 16, 20, 101, 36, 46, 21, 14, 10, 90, 13, 11, 64, 21, 12, 1768, 15, 14, 18, 51, 31, 29, 22, 34, 43, 22, 29, 24, 28, 10, 23, 40, 96, 88, 12, 26, 111, 16, 76, 35, 26, 10, 20, 67, 10, 102, 11, 709, 62, 12, 44, 1030, 25, 11, 76, 22, 30, 40, 424, 13, 11, 11, 37, 254, 46, 58, 392, 56, 310, 11, 15, 742, 192, 378, 57, 105, 47, 37, 29, 17, 147, 339, 58, 159, 10, 12, 574, 13, 25, 25, 13, 152, 55, 16, 40, 29, 249, 103, 105, 38, 16, 16, 14, 84, 35, 123, 45, 158, 10, 17, 36, 19, 76, 18, 31, 12, 10, 16, 15, 34, 190, 46, 211, 15, 192, 13, 15, 178, 14, 98, 67, 15, 2439, 30, 386, 108, 3577, 58, 22, 11, 153, 18, 14, 142, 18, 18, 17, 19, 10, 66, 591, 10, 11, 16, 114, 43, 787, 16, 11, 11, 20, 17, 14, 14, 17, 11, 18, 24, 80, 62, 11, 38, 2010, 673, 111, 27, 107, 13, 108, 15, 41, 85, 10, 228, 132, 3370, 28, 14, 23, 11, 54, 22, 16, 22, 43, 22, 52, 166, 20, 48, 56, 34, 10, 18, 63, 38, 12, 18, 371, 62, 14, 16, 65, 44, 14, 11, 112, 1688, 45, 106, 35, 110, 85, 14, 15, 26, 73, 12, 32, 111, 21, 28, 16, 28, 135, 13, 182, 38, 23, 37, 41, 117, 224, 815, 516, 15, 11, 45, 65, 202, 94, 11, 75, 305, 17, 35, 180, 10, 63, 419, 192, 83, 12, 103, 156, 10, 220, 9194, 12, 55, 180, 12, 2063, 11, 13, 204, 21, 294, 39, 29, 938, 12, 13, 40, 14, 11, 15, 17, 10, 77, 13, 204, 33, 51, 64, 12, 57, 40, 181, 45, 12, 11, 12, 14, 32, 26, 17, 25, 18, 37, 17, 13, 15, 152, 34, 56, 15, 21, 34, 154, 15, 111, 177, 74, 56, 2237, 74, 16, 45, 12, 10, 12, 10, 976, 42, 45, 93, 117, 67, 15, 44, 11, 202, 18, 177, 98, 3871, 489, 7532, 46, 39, 469, 12, 12, 45, 20, 313, 197, 2701, 10, 608, 72, 66, 112, 21, 126, 417, 14, 2287, 15, 45, 12, 22, 218, 907, 42, 19, 10, 22, 811, 27, 60, 31, 16, 60, 75, 24, 357, 34, 15, 13, 120, 635, 20, 42, 61, 333, 151, 13, 46, 38, 15, 180, 14, 29, 236, 39, 14, 64, 11, 87, 10, 1231, 34, 23, 20, 22, 2602, 10, 339, 1781, 27, 14, 665, 119, 266, 19, 83, 232, 10, 13, 138, 81, 347, 31, 19, 42, 1890, 39, 16, 17, 13, 255, 96, 14, 14, 28, 16, 47, 17, 22, 2147, 159, 14, 51, 37, 366, 30, 317, 62, 15, 68, 18, 70, 21, 12, 16, 73, 12, 182, 27, 106, 56, 22, 151, 11, 11, 86, 361, 106, 1830, 57, 23, 10, 62, 532, 11, 2917, 84, 60, 16, 32, 375, 12, 61, 38, 28, 15, 29, 14, 10, 83, 15, 14, 13, 45, 36, 160, 256, 11, 129, 25, 18, 10, 22, 30, 35, 108, 15, 206, 95, 23, 10, 10, 225, 125, 162, 27, 173, 15, 43, 35, 63, 13, 12, 125, 32, 106, 80, 30, 89, 1443, 41, 18, 40, 98, 14, 16, 100, 34, 22, 179, 53, 1301, 17, 16, 297, 446, 111, 122, 1064, 48, 54, 110, 131, 111, 54, 99, 467, 41, 13, 123, 34, 29, 13, 13, 21, 11, 28, 1048, 11, 17, 20, 19, 50, 1870, 23, 58, 195, 93, 57, 58, 39, 35, 30, 14, 18, 217, 131, 170, 133, 38, 36, 17, 22, 22, 56, 14, 19, 14, 211, 183, 16, 413, 184, 121, 11, 10, 95, 68, 10, 34, 10, 11, 25, 102, 14, 97, 2878, 52, 124, 133, 15, 29, 133, 423, 88, 14, 59, 67, 97, 12, 839, 32, 324, 14, 11, 10, 48, 48, 698, 53, 1718, 1040, 16, 15171, 105, 10, 16, 10, 180, 32, 65, 14, 639, 68, 23, 10, 61, 32, 66, 12, 27, 53, 121, 2894, 73, 125, 29, 27, 205, 27, 748, 51, 13, 14, 27, 15, 15, 66, 714, 40, 11, 29, 15, 14, 229, 91, 1912, 15, 477, 37, 362, 35, 511, 44, 78, 14, 36, 18, 273, 20, 23, 20, 239, 130, 15, 57, 11, 86, 108, 56, 444, 44, 47, 61, 10, 96, 13, 60, 16, 11, 15, 24, 14, 29, 30, 15, 38, 16, 10, 11, 219, 12, 22, 14, 101, 52, 44, 12, 31, 97, 33, 16, 18, 14, 347, 85, 65, 12, 18, 30, 16, 19, 11, 122, 86, 160, 13, 37, 55, 37, 36, 30, 27, 10, 431, 157, 148, 31, 14, 10, 11, 121, 25, 10, 37, 55, 151, 11, 17, 36, 16, 69, 666, 19, 69, 44, 88, 17, 108, 13, 19, 603, 427, 29, 63, 26, 42, 14, 84, 270, 15, 379, 26, 28, 44, 92, 119, 126, 86, 328, 2041, 31, 333, 459, 64, 436, 62, 1535, 44, 249, 87, 15, 10, 25, 16, 17, 31, 14, 463, 11, 912, 255, 80, 32, 13, 53, 14, 15, 55, 147, 2648, 429, 1184, 11, 245, 81, 78, 56, 4096, 12, 10, 26, 30, 79, 24, 895, 14, 132, 306, 48, 1050, 19, 32, 23, 26, 11, 10, 101, 53, 184, 67, 13, 31, 6734, 10, 67, 2336, 77, 20, 69, 16, 139, 75, 65, 54, 67, 98, 897, 118, 308, 29, 10, 10, 19, 11, 78, 10, 601, 135, 1571, 10, 98, 290, 31, 78, 838, 139, 26, 9762, 11, 92, 522, 18, 21, 23, 14, 104, 170, 742, 10, 80, 174, 4370, 11, 61, 25, 22, 35, 89, 37, 19, 62, 78, 72, 100, 13, 1312, 22, 26, 12, 45, 14, 31, 24, 25, 10, 22, 396, 22, 10, 32, 7341, 40, 235, 6026, 11, 15, 10, 12, 15, 318, 147, 45, 65, 13, 17, 27, 337, 739, 104, 11, 275, 10, 34, 16, 10, 25, 24, 29, 13, 42, 73, 82, 25, 55, 11, 14, 10, 20, 13, 13, 15, 12, 18, 13, 16, 14, 19, 14, 10, 11, 19, 21, 392, 192, 166, 12, 58, 36, 27, 26, 30, 46, 11, 10, 181, 286, 92, 100, 20, 98, 95, 50, 19, 15, 97, 29, 1007, 23, 60, 19, 243, 102, 25, 277, 16, 19, 11, 29, 15, 47, 564, 169, 66, 13, 1232, 310, 11, 58, 12, 11, 15, 30, 33, 52, 11, 22, 64, 10, 13, 555, 134, 13, 40, 24, 12, 122, 1018, 117, 62, 21, 94, 12, 43, 62, 13, 12, 10, 25, 31, 21, 38, 66, 70, 16, 18, 20, 38, 37, 233, 495, 12, 20, 13, 12, 621, 240, 32, 14, 12, 94, 782, 26, 54, 35, 17, 37, 17, 52, 10, 14, 654, 14, 38, 26, 13, 295, 30, 11, 27, 83, 95, 17, 114, 22, 25, 18, 15, 402, 1102, 337, 107, 86, 160, 22, 139, 89, 20, 63, 44, 21, 10, 10, 343, 11, 28, 17, 22, 97, 29, 21, 16, 125, 46, 24, 125, 10, 12, 456, 40, 15, 11, 1362, 14, 13, 27, 49, 11, 13, 19, 74, 20, 21, 13, 31, 71, 28, 30, 51, 13, 33, 119, 73, 1272, 10, 19, 24, 19, 42, 21, 11, 11, 34, 15, 41, 95, 10, 64, 103, 353, 31, 101, 27, 15, 27, 55, 10, 71, 31, 104, 48, 14, 13, 21, 20, 33, 110, 15, 42, 15, 48, 1552, 17, 199, 262, 14, 22, 2180, 19, 3109, 86, 106, 20, 10, 82, 47, 12, 874, 997, 28, 24, 70, 45, 25, 16, 80, 42, 538, 10, 39, 15, 53, 33, 56, 10, 86, 399, 34, 42, 22, 106, 12, 10, 198, 17, 12, 35, 76, 31, 26, 26, 12, 19, 12, 27, 55, 53, 25, 58, 195, 221, 13, 323, 2968, 22, 237, 14, 109, 10, 802, 47, 56, 2183, 1862, 103, 66, 46, 618, 11, 12, 24, 13, 78, 51, 87, 10, 788, 10, 107, 12, 12, 43, 10, 10, 21, 33, 198, 46, 60, 41, 7753, 34, 111, 17, 11, 157, 49, 89, 18, 35, 140, 11, 173, 53, 762, 10, 46, 58, 17, 10, 11, 136, 19, 164, 14, 30, 149, 12, 32, 25, 20, 612, 42, 383, 16, 190, 11, 146, 44, 120, 64, 20, 45, 68, 39, 10, 49, 80, 41, 475, 94, 55, 17, 24, 19, 416, 103, 216, 51, 2552, 75, 405, 315, 27, 353, 2961, 75, 16, 38, 12, 31, 28, 16, 33, 10, 44, 14, 69, 65, 17, 94, 11, 10, 203, 17, 55, 1617, 4922, 21, 465, 10, 1261, 109, 32, 15, 10, 27, 24, 18, 160, 33, 75, 11, 19, 91, 142, 1052, 128, 15, 69, 5371, 1047, 347, 197, 45, 1625, 370, 14, 15, 327, 46, 127, 46, 17, 19, 84, 12, 33, 2670, 609, 11, 1703, 748, 335, 13, 30, 19, 285, 422, 151, 174, 48, 74, 34, 34, 1693, 20, 53, 49, 17, 160, 32, 37, 10, 156, 28, 1754, 22, 18, 12, 20, 60, 11, 197, 10, 11, 21, 75, 297, 124, 24, 84, 11, 11, 19, 68, 28, 10, 24, 11, 5669, 2729, 696, 16, 99, 16, 14, 23, 124, 6484, 27, 40, 13, 2552, 84, 945, 198, 72, 40, 11, 13, 605, 103, 19, 29, 32, 18, 10, 14, 146, 157, 14, 88, 92, 21, 256, 444, 17, 26, 63, 10, 250, 14, 12, 64, 58, 192, 294, 138, 138, 38, 14, 32, 16, 142, 11, 47, 44, 722, 31, 14, 40, 15, 13, 167, 328, 24, 15, 44, 20, 121, 318, 39, 21, 93, 43, 34, 173, 10, 14, 58, 12, 30, 41, 2079, 17, 44, 152, 16, 30, 754, 99, 44, 199, 24, 13, 25, 21, 14, 236, 24, 32, 78, 61, 12, 13, 759, 162, 38, 115, 11, 32, 72, 88, 15, 247, 14, 47, 11, 12, 51, 189, 10, 10, 117, 197, 30, 10, 14, 156, 11, 22, 37, 24, 14, 15, 18, 100, 17, 154, 25, 390, 1751, 110, 14, 10, 29, 10, 12, 1114, 182, 18, 34, 659, 38, 19, 35, 64, 21, 11, 294, 18, 13, 11, 112, 12, 80, 39, 12, 20, 230, 21, 2835, 39, 742, 10, 23, 17, 380, 11, 15, 47, 75, 21, 65, 69, 18, 43, 15, 324, 33, 12, 92, 90, 133, 18, 50, 44, 14, 22, 2063, 23, 732, 22, 54, 10, 18, 200, 464, 94, 94, 48, 51, 22, 57, 102, 16, 98, 15, 80, 113, 207, 405, 83, 1404, 12, 2275, 127, 35, 10, 12, 10, 59, 13, 262, 10, 720, 31, 34, 27, 139, 27, 26, 18, 24, 137, 145, 13, 313, 54, 10, 224, 65, 17, 1651, 31, 14, 10, 10, 21, 56, 252, 47, 41, 232, 13, 23, 28, 215, 1192, 21, 58, 17, 289, 327, 187, 51, 88, 331, 57, 3007, 171, 199, 13, 35, 158, 14, 74, 34, 65, 20, 119, 68, 36, 12, 72, 640, 32, 11, 12, 69, 597, 32, 414, 67, 29, 18, 1539, 12, 384, 10, 401, 12, 17, 11, 152, 44, 35, 24, 30, 125, 3897, 466, 58, 1794, 56, 41, 75, 13, 383, 11, 92, 24, 1792, 14, 20, 15, 26, 4257, 11, 11, 72, 10, 18, 42, 13, 15, 16, 1475, 157, 12, 42, 317, 15, 33, 135, 154, 10, 48, 20, 23, 93, 10, 28, 11, 276, 39, 721, 77, 58, 20, 122, 42, 13, 112, 25, 167, 12, 26, 41, 11, 31, 38, 14, 20, 22, 135, 11, 99, 103, 1612, 10, 181, 11, 136, 211, 19, 49, 55, 41, 10, 33, 41, 222, 276, 84, 160, 41, 62, 68, 23, 47, 48, 23, 39, 46, 16, 46, 12, 542, 159, 192, 2141, 4924, 10, 78, 64, 1036, 12, 43, 27, 36, 19, 13, 32, 96, 10, 13, 17, 11, 906, 11, 10, 18, 13, 11, 31, 19, 41, 28, 60, 68, 167, 26, 95, 41, 201, 11, 295, 44, 226, 22, 54, 50, 10, 82, 27, 11, 135, 22, 11, 132, 14, 19, 52, 25, 2615, 17, 10, 52, 14, 387, 41, 1214, 1271, 14, 25, 48, 10, 13, 98, 22, 118, 30, 815, 948, 35, 104, 2951, 5379, 32, 140, 127, 21, 16, 13, 341, 39, 24, 195, 14, 90, 23, 331, 28, 23, 33, 12, 11, 243, 93, 36, 44, 13, 13, 42, 10, 58, 17, 16, 28, 497, 19, 11, 818, 31, 10, 10, 983, 56, 248, 19, 121, 40, 32, 15, 19, 25, 19, 176, 13, 14, 51, 91, 39, 395, 80, 18, 170, 160, 66, 13, 12, 53, 12, 52, 17, 12, 24, 61, 26, 38, 13, 8635, 43, 25, 64, 27, 64, 17, 47, 158, 2209, 12, 179, 278, 37, 24, 640, 252, 34, 413, 99, 16, 3076, 102, 15, 13, 13, 13, 80, 29, 57, 12, 65, 26, 16, 30, 25, 10, 12, 13, 123, 17, 87, 439, 29, 16, 17, 25, 55, 106, 36, 365, 144, 1397, 57, 76, 14, 48, 56, 161, 1010, 74, 19, 53, 69, 81, 20, 10, 36, 20, 25, 108, 53, 26, 269, 246, 12, 827, 77, 11, 127, 20, 15, 66, 92, 74, 91, 34, 14, 132, 368, 41, 48, 22, 346, 71, 32, 35, 776, 11, 10, 24, 32, 31, 187, 20, 717, 185, 26, 16, 38, 34, 12, 234, 689, 46, 93, 1513, 101, 29, 11, 11, 92, 13, 18, 13, 14, 27, 28, 45, 11, 40, 116, 10127, 596, 93, 31, 3500, 347, 18, 38, 1093, 283, 19, 26, 11, 12, 512, 18, 85, 18, 166, 28, 120, 29, 15, 1291, 158, 11, 10, 35, 188, 45, 15, 14, 37, 11, 86, 1775, 45, 43, 31, 43, 20, 415, 135, 73, 13, 41, 53, 998, 4144, 352, 32, 39, 20, 21, 37, 178, 135, 1672, 51, 127, 797, 325, 10, 15, 652, 111, 177, 138, 511, 52, 2991, 27, 24, 20, 960, 2036, 53, 79, 33, 29, 31, 10, 24, 15, 51, 177, 31, 61, 149, 25, 13, 11, 19, 10, 12, 11, 11, 12, 23, 12, 19, 16, 15, 11, 12, 13, 17, 12, 15, 87, 22, 10, 13, 14, 659, 19, 237, 12, 19, 10, 22, 10, 13, 14, 152, 39, 19, 103, 161, 688, 11, 15, 12, 19, 20, 28, 25, 39, 17, 23, 25, 22, 15, 20, 10, 10, 11, 10, 11, 16, 10, 19, 16, 13, 12, 22, 21, 23, 20, 31, 17, 18, 15, 10, 14, 10, 11, 13, 15, 15, 16, 24, 21, 26, 21, 29, 19, 21, 13, 11, 11, 13, 10, 13, 16, 18, 18, 19, 22, 29, 28, 27, 24, 18, 10, 14, 16, 23, 18, 26, 21, 11, 26, 19, 18, 16, 11, 10, 10, 15, 15, 15, 16, 17, 17, 16, 18, 21, 15, 24, 16, 16, 16, 12, 13, 17, 22, 27, 20, 23, 18, 17, 21, 13, 15, 10, 18, 10, 13, 19, 18, 19, 25, 32, 29, 29, 35, 39, 30, 35, 24, 20, 16, 30, 16, 70, 16, 18, 19, 11, 16, 12, 11, 10, 11, 11, 18, 16, 17, 16, 22, 26, 26, 19, 23, 18, 16, 20, 17, 14, 12, 12, 13, 16, 17, 31, 27, 19, 27, 27, 22, 19, 17, 11, 15, 21, 32, 22, 24, 25, 10, 10, 11, 18, 20, 25, 14, 29, 14, 18, 17, 17, 14, 19, 17, 24, 33, 19, 23, 11, 20, 16, 11, 12, 17, 13, 19, 34, 28, 34, 28, 20, 27, 35, 39, 29, 25, 13, 15, 10, 12, 14, 14, 11, 11, 11, 21, 11, 15, 11, 22, 23, 30, 28, 27, 40, 30, 36, 39, 34, 16, 20, 10, 17, 14, 17, 16, 12, 21, 11, 12, 14, 15, 24, 23, 23, 16, 15, 12, 16, 12, 13, 14, 12, 10, 18, 48, 10, 28, 316, 11, 11, 29, 12, 10, 55, 18, 14, 18, 11, 13, 111, 80, 10, 10, 115, 10, 3876, 20, 33, 24, 11, 35, 22, 53, 31, 14, 14, 164, 10, 466, 52, 751, 398, 235, 397, 15, 43, 17, 18, 37, 18, 10, 10, 33, 11, 193, 45, 85, 183, 102, 11, 142, 45, 71, 133, 21, 155, 41, 148, 10, 32, 449, 81, 30, 37, 38, 69, 3207, 1227, 11, 104, 61, 12, 14, 13, 64, 12, 13, 133, 10, 26, 12, 25, 24, 617, 32, 21, 114, 15, 468, 29, 12, 10, 36, 10, 20, 76, 26, 16, 180, 123, 1245, 16, 40, 49, 147, 105, 10, 17, 56, 1193, 32, 49, 21, 16, 29, 24, 55, 10759, 148, 10, 10, 37, 58, 11, 13, 25, 29, 16, 54, 1029, 52, 32, 20, 15, 121, 100, 31, 336, 51, 63, 2486, 18, 11, 15, 751, 13, 13, 19, 88, 21, 467, 318, 14, 83, 581, 20, 18, 24, 12, 26, 15, 23, 50, 60, 67, 27, 19, 29, 455, 270, 40, 20, 239, 12, 55, 19, 373, 22, 23, 13, 12, 11, 258, 21, 39, 18, 13, 22, 58, 40, 23, 120, 21, 25, 111, 55, 11, 17, 12, 16, 40, 255, 34, 27, 10, 14, 59, 14, 10, 23, 34, 22, 63, 16, 53, 33, 27, 104, 15, 17, 14, 675, 34, 18, 11, 102, 41, 13, 60, 31, 11, 19, 27, 101, 11, 71, 212, 30, 10, 11, 846, 13, 130, 59, 5493, 34, 31, 28, 105, 848, 103, 188, 12, 21, 10, 100, 11, 593, 16, 77, 14, 65, 335, 673, 175, 50, 33, 17, 217, 172, 21, 22, 22, 258, 57, 383, 406, 28, 13, 18, 27, 57, 24, 78, 11, 66, 83, 124, 16, 18, 95, 834, 37, 13, 154, 79, 994, 27, 11, 648, 49, 3672, 10, 15, 56, 63, 41, 20, 18, 22, 15, 467, 42, 41, 202, 14, 12, 14, 36, 50, 30, 28, 146, 12, 16, 14, 46, 10, 1104, 118, 193, 117, 1064, 40, 85, 11, 37, 19, 21, 55, 12, 48, 158, 45, 54, 61, 4919, 322, 129, 11, 42, 258, 109, 408, 11, 53, 17, 11, 91, 15, 42, 41, 30, 26, 10, 87, 32, 834, 10, 2971, 2212, 37, 28, 214, 33, 16, 40, 25, 14, 42, 21, 31, 44, 26, 45, 18, 24, 291, 9155, 141, 16, 14, 2437, 251, 111, 60, 81, 13, 18, 20, 3673, 72, 664, 13, 13, 16, 28, 10, 72, 53, 18, 700, 23, 152, 18, 14, 18, 12, 10, 16, 23, 25, 31, 18, 16, 14, 19, 13, 15, 16, 12, 10, 12, 11, 15, 16, 25, 17, 10, 10, 10, 11, 10, 11, 13, 52, 24, 15, 273, 35, 11, 15, 91, 75, 29, 37, 35, 20, 32, 172, 33, 16, 22, 17, 35, 16, 11, 11, 11, 188, 15, 12, 616, 11, 10, 13, 38, 14, 51, 13, 41, 64, 11, 26, 4821, 10, 11, 20, 33, 187, 56, 30, 213, 13, 179, 46, 13, 10, 57, 15, 10, 11, 10, 16, 16, 327, 208, 10, 2094, 12, 14, 51, 155, 20, 23, 63, 11, 1822, 36, 46, 15, 155, 17, 131, 13, 16, 399, 16, 65, 4301, 34, 99, 47, 47, 31, 31, 18, 16, 13, 31, 45, 1605, 62, 46, 230, 26, 28, 16, 13, 78, 281, 20, 24, 12, 15, 408, 10, 25, 16, 346, 29, 10, 12, 21, 122, 21, 20, 19, 11, 11, 25, 17, 19, 27, 13, 13, 13, 17, 17, 10, 13, 10, 10, 10, 12, 12, 22, 14, 11, 10, 11, 13, 15, 17, 62, 14, 13, 10, 89, 13, 12, 16, 21, 64, 10, 285, 36, 11, 28, 14, 14, 14, 11, 10, 11, 11, 12, 13, 15, 11, 14, 16, 17, 10, 150, 102, 210, 349, 21, 50, 13, 324, 23, 19, 11, 155, 27, 45, 10, 11, 463, 246, 118, 45, 58, 12, 115, 34, 1150, 10, 19, 225, 39, 95, 191, 18, 10, 31, 20, 22, 29, 34, 45, 49, 38, 52, 64, 52, 62, 45, 40, 35, 40, 21, 12, 13, 10, 10, 17, 11, 18, 607, 12, 10, 11, 10, 12, 10, 13, 11, 14, 10, 11, 13, 23, 10, 13, 11, 15, 13, 829, 14, 12, 11, 28, 24, 25, 36, 33, 40, 53, 41, 48, 45, 35, 46, 29, 19, 18, 15, 14, 12, 13, 12, 15, 14, 18, 13, 10, 10, 12, 16, 12, 17, 17, 12, 14, 17, 25, 31, 29, 45, 38, 41, 44, 27, 39, 31, 27, 24, 10, 18, 13, 10, 18, 11, 12, 10, 12, 12, 10, 14, 11, 16, 11, 15, 20, 18, 18, 14, 16, 73, 10, 10, 11, 10, 11, 14, 11, 15, 10, 28, 15, 14, 12, 12, 15, 11, 10, 10, 12, 11, 10, 14, 10, 11, 10, 19, 10, 14, 15, 13, 12, 12, 17, 18, 13, 15, 19, 10, 10, 12, 18, 21, 16, 13, 10, 18, 11, 11, 12, 13, 10, 10, 11, 18, 16, 19, 34, 12, 29, 30, 32, 29, 43, 39, 33, 31, 25, 27, 26, 11, 10, 15, 14, 13, 17, 13, 12, 13, 10, 10, 15, 17, 19, 20, 21, 28, 33, 47, 50, 32, 41, 28, 33, 31, 27, 18, 11, 12, 13, 13, 17, 12, 11, 10, 11, 12, 10, 13, 10, 16, 12, 19, 23, 22, 28, 29, 23, 30, 37, 50, 41, 27, 16, 19, 11, 10, 13, 13, 17, 13, 12, 12, 20, 11, 12, 13, 16, 14, 19, 25, 30, 35, 40, 44, 34, 35, 34, 25, 31, 14, 15, 10, 10, 11, 10, 10, 18, 22, 23, 16, 40, 33, 34, 40, 47, 40, 36, 42, 22, 10, 14, 12, 10, 13, 10, 20, 18, 17, 19, 23, 20, 18, 34, 38, 24, 33, 39, 38, 21, 39, 30, 16, 12, 10, 10, 15, 10, 14, 12, 22, 21, 23, 40, 26, 38, 28, 35, 38, 34, 39, 21, 29, 24, 16, 15, 10, 11, 10, 13, 14, 14, 18, 24, 18, 31, 35, 20, 31, 34, 46, 34, 35, 32, 26, 30, 31, 13, 15, 12, 15, 12, 13, 16, 12, 15, 10, 21, 29, 24, 21, 33, 32, 35, 31, 23, 21, 15, 19, 14, 11, 12, 17, 10, 10, 10, 12, 13, 11, 11, 17, 13, 10, 11, 10, 11, 14, 17, 20, 18, 15, 13, 13, 14, 17, 12, 21, 12, 12, 14, 14, 12, 12, 11, 13, 15, 14, 18, 20, 14, 11, 10, 16, 17, 15, 15, 23, 11, 14, 10, 10, 14, 13, 12, 11, 10, 14, 21, 11, 10, 16, 10, 13, 10, 12, 11, 10, 15, 15, 12, 10, 14, 22590, 35, 83, 236, 43, 10, 18, 49, 18, 14, 61, 77, 31, 11, 33, 13, 49, 42, 13, 11, 14, 13, 13, 13, 97, 10, 20, 10, 13, 30, 33, 33, 13, 19, 17, 64, 102, 1218, 11, 10, 98, 42, 34, 42, 14, 12, 10, 11, 12, 11, 12, 10, 10, 10, 11, 14, 14, 12, 11, 227, 23, 70, 11, 15, 31, 461, 10, 48, 23, 31, 16, 26, 33, 396, 37, 94, 36, 26, 20, 24, 24, 14, 15, 10, 18, 22, 15, 19, 32, 18, 31, 14, 14, 11, 10, 16, 13, 16, 15, 12, 13, 16, 19, 20, 30, 29, 31, 36, 37, 40, 38, 24, 25, 14, 17, 10, 10, 10, 19, 11, 10, 13, 20, 14, 19, 21, 23, 38, 27, 22, 43, 32, 29, 32, 39, 26, 11, 19, 10, 14, 12, 13, 10, 14, 13, 21, 11, 10, 11, 14, 15, 17, 12, 16, 15, 24, 21, 32, 28, 25, 46, 30, 42, 22, 32, 20, 15, 15, 10, 13, 11, 24, 22, 16, 22, 35, 42, 45, 31, 29, 31, 30, 34, 24, 23, 25, 10, 10, 10, 16, 20, 16, 11, 23, 15, 21, 23, 24, 33, 24, 30, 36, 31, 27, 31, 14, 13, 10, 11, 12, 14, 10, 11, 10, 10, 15, 17, 24, 27, 18, 16, 34, 20, 41, 39, 29, 35, 34, 25, 16, 17, 10, 11, 10, 18, 14, 10, 11, 12, 19, 21, 30, 16, 29, 29, 35, 32, 30, 28, 29, 34, 22, 11, 10, 10, 11, 18, 11, 20, 22, 30, 22, 28, 22, 24, 37, 28, 25, 19, 30, 23, 14, 10, 10, 12, 10, 10, 12, 1756, 15, 12, 13, 22, 16, 11, 22, 26, 23, 33, 42, 29, 44, 33, 50, 25, 32, 27, 21, 11, 15, 11, 34, 13, 10, 14, 16, 11, 12, 12, 10, 18, 23, 27, 30, 33, 34, 43, 38, 31, 48, 46, 40, 32, 41, 30, 12, 12, 12, 15, 11, 29, 11, 11, 10, 18, 13, 14, 12, 17, 17, 10, 10, 16, 21, 14, 13, 11, 13, 17, 16, 29, 21, 31, 35, 43, 35, 38, 32, 29, 34, 26, 20, 10, 25, 13, 12, 10, 14, 16, 12, 11, 10, 12, 10, 10, 10, 12, 15, 10, 12, 11, 11, 13, 10, 12, 13, 11, 15, 12, 12, 1248, 16, 17, 25, 56, 15, 12, 12, 10, 14, 10, 10, 17, 15, 13, 15, 20, 13, 11, 15, 14, 13, 11, 685, 13, 10, 13, 13, 13, 13, 16, 17, 14, 11, 10, 15, 13, 11, 15, 11, 12, 10, 10, 10, 14, 12, 12, 19, 13, 14, 12, 14, 12, 10, 11, 16, 13, 12, 11, 12, 10, 11, 13, 12, 11, 12, 14, 16, 10, 13, 436, 10, 12, 24, 11, 10, 14, 11, 10, 14, 12, 11, 11, 10, 10, 15, 33, 22, 11, 10, 12, 439, 20, 15, 10, 19, 19, 10, 12, 13, 12, 12, 10, 11, 11, 10, 12, 10, 10, 24, 30, 23, 14, 10, 10, 10, 10, 10, 11, 10, 11, 10, 12, 11, 12, 337, 11, 12, 14, 17, 18, 17, 10, 13, 12, 405, 22, 15, 11, 13, 11, 10, 17, 21, 28, 12, 10, 375, 12, 30, 25, 16, 12, 13, 10, 21, 18, 11, 14, 11, 11, 13, 12, 11, 339, 39, 12, 14, 21, 12, 11, 268, 23, 13, 10, 10, 14, 268, 10, 14, 238, 17, 10, 11, 11, 219, 17, 13, 12, 11, 17, 22, 15, 17, 30, 22, 29, 31, 33, 31, 19, 18, 11, 11, 14, 10, 10, 11, 10, 11, 12, 18, 14, 16, 24, 25, 36, 37, 37, 39, 22, 24, 33, 14, 12, 14, 11, 11, 14, 18, 25, 32, 34, 19, 34, 21, 23, 24, 14, 12, 418, 37, 26, 13, 28, 26, 13, 336, 35, 23, 10, 10, 10, 22, 19, 10, 15, 373, 13, 30, 38, 14, 14, 21, 22, 14, 325, 32, 28, 14, 13, 12, 10, 10, 10, 13, 13, 19, 15, 14, 17, 381, 22, 26, 12, 13, 20, 32, 20, 337, 11, 16, 27, 11, 22, 31, 13, 11, 24, 21, 14, 135, 12, 10, 10, 11, 21, 14, 18, 24, 22, 24, 24, 33, 39, 59, 34, 48, 33, 21, 19, 11, 12, 16, 12, 17, 10, 10, 18, 15, 11, 10, 12, 11, 10, 18, 12, 11, 12, 20, 32, 36, 34, 31, 24, 44, 40, 35, 35, 25, 23, 14, 10, 11, 10, 12, 12, 25, 15, 10, 15, 15, 15, 20, 15, 10, 14, 154, 188, 11, 11, 10, 127, 14, 14, 156, 10, 25, 36, 33, 21, 36, 39, 36, 45, 53, 52, 56, 56, 43, 72, 57, 47, 38, 29, 13, 12, 19, 13, 14, 21, 30, 286, 10, 12, 17, 10, 17, 19, 12, 13, 11, 12, 22, 30, 24, 12, 17, 20, 14, 15, 18, 19, 21, 26, 31, 24, 51, 43, 44, 43, 33, 25, 31, 27, 21, 12, 10, 12, 13, 15, 11, 15, 16, 16, 21, 27, 13, 10, 11, 12, 10, 20, 22, 29, 34, 36, 30, 40, 44, 56, 67, 45, 57, 47, 42, 35, 38, 22, 12, 15, 10, 13, 21, 11, 14, 15, 11, 13, 22, 10, 13, 10, 21, 12, 16, 10, 10, 11, 12, 10, 12, 14, 12, 12, 10, 11, 18, 11, 10, 11, 11, 14, 16, 12, 20, 10, 12, 15, 14, 11, 14, 16, 14, 13, 10, 13, 13, 12, 12, 18, 10, 10, 16, 13, 12, 17, 16, 16, 14, 12, 12, 10, 15, 18, 25, 30, 13, 21, 25, 34, 42, 32, 31, 24, 20, 10, 10, 10, 14, 14, 16, 15, 11, 11, 11, 19, 13, 26, 15, 21, 20, 21, 19, 21, 27, 42, 37, 34, 49, 51, 24, 30, 22, 24, 13, 11, 15, 11, 13, 11, 12, 13, 18, 17, 26, 22, 16, 36, 33, 37, 44, 27, 26, 20, 33, 21, 11, 10, 11, 12, 13, 10, 16, 15, 18, 13, 17, 27, 37, 22, 32, 31, 40, 26, 33, 21, 11, 11, 10, 10, 11, 10, 10, 20, 23, 17, 19, 25, 27, 35, 25, 40, 32, 30, 29, 33, 29, 23, 11, 10, 10, 12, 10, 13, 11, 20, 13, 13, 15, 16, 18, 12, 18, 30, 30, 26, 42, 33, 31, 40, 24, 27, 23, 23, 10, 11, 13, 11, 13, 12, 19, 11, 18, 14, 28, 28, 22, 45, 18, 41, 38, 28, 26, 20, 28, 18, 11, 11, 20, 14, 19, 18, 15, 32, 32, 38, 33, 39, 41, 37, 24, 30, 15, 21, 13, 10, 10, 20, 12, 18, 24, 36, 20, 22, 25, 37, 23, 30, 27, 34, 16, 10, 25, 11, 15, 12, 10, 14, 16, 14, 10, 11, 10, 332, 10, 11, 11, 19, 10, 11, 12, 10, 14, 10, 13, 10, 14, 13, 13, 10, 11, 10, 10, 11, 11, 17, 11, 10, 13, 15, 16, 12, 12, 13, 16, 24, 16, 14, 15, 13, 13, 11, 15, 10, 361, 15, 11, 15, 11, 11, 12, 12, 10, 13, 11, 15, 12, 11, 10, 104, 13, 20, 16, 18, 23, 29, 26, 27, 31, 36, 33, 40, 27, 31, 19, 17, 13, 18, 17, 10, 13, 14, 10, 13, 10, 13, 16, 23, 29, 28, 23, 27, 51, 25, 28, 22, 20, 19, 11, 12, 11, 12, 12, 11, 12, 11, 11, 17, 10, 12, 17, 27, 37, 23, 33, 21, 21, 23, 19, 14, 10, 13, 10, 11, 11, 13, 15, 12, 19, 14, 30, 11, 30, 33, 21, 19, 32, 14, 11, 15, 10, 12, 15, 12, 15, 13, 14, 12, 34, 18, 24, 25, 24, 29, 16, 23, 14, 14, 11, 16, 20, 20, 18, 24, 32, 36, 37, 35, 26, 20, 31, 21, 11, 15, 19, 10, 13, 13, 13, 11, 26, 34, 27, 17, 21, 28, 17, 22, 24, 15, 11, 10, 10, 10, 11, 10, 18, 28, 22, 29, 33, 32, 25, 25, 15, 18, 17, 28, 20, 24, 22, 12, 14, 13, 10, 10, 28, 21, 23, 21, 16, 12, 16, 19, 21, 15, 20, 24, 19, 36, 31, 31, 46, 32, 43, 38, 34, 20, 11, 10, 13, 10, 10, 17, 14, 11, 11, 12, 13, 14, 13, 17, 12, 20, 23, 31, 29, 29, 35, 38, 35, 33, 39, 38, 34, 11, 10, 13, 17, 12, 13, 16, 10, 14, 11, 23, 14, 10, 17, 18, 22, 17, 24, 30, 21, 35, 39, 38, 23, 20, 24, 24, 14, 13, 12, 13, 14, 10, 10, 22, 306, 12, 14, 534, 18, 25, 10, 24, 10, 48, 12, 54, 86, 11, 15, 14, 23, 25, 35, 18, 22, 27, 27, 19, 23, 24, 18, 19, 11, 11, 15, 13, 12, 11, 11, 11, 15, 16, 26, 26, 24, 22, 25, 32, 33, 15, 30, 13, 17, 10, 17, 20, 12, 16, 23, 19, 34, 32, 29, 35, 19, 26, 26, 15, 16, 14, 10, 11, 11, 15, 13, 12, 16, 16, 11, 17, 25, 23, 24, 20, 42, 44, 20, 26, 19, 16, 13, 15, 19, 14, 22, 15, 16, 23, 23, 24, 38, 38, 32, 24, 19, 15, 13, 10, 19, 10, 17, 12, 11, 15, 14, 23, 31, 22, 20, 27, 16, 22, 13, 12, 20, 10, 15, 19, 20, 16, 29, 19, 32, 18, 29, 17, 10, 15, 18, 12, 14, 12, 18, 11, 20, 31, 32, 21, 28, 33, 24, 33, 21, 17, 15, 11, 12, 12, 11, 17, 11, 18, 13, 28, 23, 26, 21, 31, 29, 22, 27, 22, 18, 15, 11, 10, 10, 10, 11, 12, 12, 15, 16, 26, 22, 19, 28, 31, 40, 31, 36, 36, 20, 14, 12, 10, 17, 10, 15, 16, 10, 13, 19, 15, 24, 22, 28, 30, 45, 38, 28, 43, 35, 29, 29, 25, 10, 10, 14, 12, 11, 11, 14, 16, 13, 10, 11, 10, 16, 19, 14, 18, 17, 27, 29, 23, 21, 22, 44, 36, 32, 32, 22, 23, 11, 10, 10, 10, 13, 19, 13, 17, 16, 10, 10, 42, 11, 26, 12, 274, 19, 21, 32, 11, 10, 17, 34, 23, 27, 29, 22, 37, 22, 29, 23, 13, 16, 14, 10, 10, 10, 11, 10, 18, 20, 17, 23, 23, 19, 25, 31, 28, 19, 18, 22, 18, 10, 21, 13, 13, 10, 12, 14, 14, 17, 20, 17, 12, 27, 26, 24, 27, 33, 26, 24, 15, 20, 12, 10, 16, 12, 10, 21, 12, 21, 32, 24, 32, 27, 20, 16, 19, 14, 16, 15, 16, 12, 15, 15, 10, 22, 23, 23, 20, 26, 19, 29, 31, 18, 25, 17, 14, 17, 11, 10, 12, 13, 18, 26, 27, 30, 21, 29, 21, 23, 28, 27, 16, 11, 12, 12, 11, 20, 27, 15, 24, 23, 27, 27, 27, 20, 16, 19, 13, 11, 14, 23, 24, 21, 15, 16, 15, 19, 25, 18, 13, 11, 10, 10, 11, 12, 11, 11, 11, 16, 29, 15, 18, 25, 27, 12, 32, 29, 19, 21, 18, 26, 15, 27, 33, 29, 27, 33, 41, 42, 28, 40, 42, 28, 20, 11, 11, 10, 15, 15, 14, 14, 12, 14, 10, 15, 11, 16, 11, 17, 17, 18, 15, 14, 22, 23, 31, 36, 33, 33, 24, 18, 15, 12, 11, 14, 12, 11, 11, 17, 15, 17, 19, 20, 30, 28, 44, 28, 44, 43, 36, 40, 26, 23, 23, 13, 19, 12, 10, 11, 11, 124, 58, 12, 30, 11, 28, 90, 14, 12, 11, 15, 12, 182, 67, 17, 16, 29, 18, 44, 10, 69, 13, 13, 107, 35, 12, 47, 11, 19, 26, 32, 23, 13, 13, 22, 33, 12, 23, 10, 11, 20, 18, 11, 18, 42, 23, 18, 24, 30, 21, 22, 18, 10, 11, 14, 12, 16, 22, 16, 32, 25, 16, 31, 20, 25, 20, 16, 14, 15, 10, 12, 13, 12, 18, 18, 20, 28, 24, 31, 34, 19, 27, 20, 18, 24, 11, 11, 22, 10, 11, 13, 15, 22, 19, 26, 24, 31, 31, 33, 26, 25, 17, 13, 13, 11, 13, 13, 18, 15, 23, 26, 33, 27, 31, 26, 29, 29, 21, 13, 10, 12, 15, 10, 11, 17, 13, 16, 24, 23, 22, 32, 19, 17, 15, 10, 14, 12, 10, 10, 19, 14, 18, 21, 18, 41, 18, 24, 26, 21, 25, 16, 13, 10, 10, 14, 11, 14, 10, 16, 15, 29, 20, 24, 23, 26, 25, 24, 24, 12, 11, 12, 12, 20, 19, 21, 23, 20, 29, 35, 30, 44, 35, 33, 34, 24, 19, 12, 13, 10, 14, 16, 15, 15, 26, 15, 27, 26, 33, 33, 27, 27, 26, 31, 12, 10, 14, 28, 11, 13, 11, 16, 15, 26, 24, 29, 38, 30, 32, 35, 36, 25, 19, 24, 19, 16, 11, 22, 13, 16, 15, 10, 22, 27, 30, 32, 30, 29, 20, 17, 12, 10, 10, 15, 11, 11, 10, 16, 15, 24, 18, 21, 22, 36, 28, 25, 21, 14, 13, 12, 11, 13, 13, 15, 13, 19, 31, 21, 26, 29, 32, 19, 18, 11, 13, 14, 12, 11, 10, 24, 22, 26, 17, 20, 14, 14, 22, 16, 25, 19, 194, 28, 10, 14, 11, 12, 11, 15, 17, 19, 17, 24, 28, 24, 26, 31, 20, 28, 27, 13, 11, 14, 12, 10, 14, 10, 14, 17, 22, 24, 18, 27, 17, 26, 30, 14, 16, 13, 11, 17, 11, 12, 11, 15, 12, 20, 25, 24, 27, 19, 30, 32, 23, 20, 16, 12, 12, 10, 15, 24, 18, 32, 36, 28, 33, 40, 42, 36, 34, 17, 12, 13, 11, 10, 12, 10, 13, 10, 18, 10, 12, 15, 12, 20, 28, 29, 26, 29, 28, 30, 25, 28, 23, 15, 11, 10, 12, 11, 18, 11, 17, 14, 14, 11, 17, 19, 15, 16, 10, 25, 28, 23, 27, 40, 31, 46, 32, 30, 24, 11, 10, 11, 10, 16, 13, 18, 14, 13, 17, 13, 16, 14, 13, 11, 25, 22, 33, 38, 32, 16, 24, 23, 13, 17, 10, 10, 18, 12, 20, 19, 20, 34, 16, 27, 19, 27, 20, 20, 11, 11, 10, 10, 10, 10, 10, 12, 11, 13, 11, 10, 16, 12, 19, 19, 15, 28, 25, 31, 27, 28, 17, 10, 13, 11, 18, 21, 22, 31, 17, 30, 19, 26, 30, 20, 15, 13, 13, 16, 17, 10, 18, 17, 14, 29, 26, 28, 15, 25, 24, 23, 27, 12, 15, 17, 16, 17, 22, 41, 19, 29, 13, 23, 17, 15, 21, 28, 20, 32, 33, 23, 31, 36, 22, 18, 12, 19, 12, 11, 12, 13, 14, 16, 14, 16, 20, 17, 25, 12, 33, 28, 15, 11, 10, 11, 11, 11, 14, 18, 20, 21, 27, 24, 35, 22, 23, 32, 18, 17, 12, 14, 15, 12, 11, 10, 12, 10, 14, 10, 11, 15, 11, 23, 22, 25, 32, 37, 28, 44, 41, 49, 24, 25, 18, 14, 13, 12, 11, 16, 14, 10, 12, 17, 17, 13, 10, 18, 12, 16, 17, 28, 23, 39, 26, 35, 32, 44, 35, 24, 32, 16, 10, 14, 12, 12, 18, 20, 16, 13, 19, 23, 44, 34, 41, 20, 15, 10, 10, 10, 10, 10, 10, 10, 14, 20, 35, 20, 36, 31, 48, 43, 47, 43, 52, 40, 52, 30, 19, 19, 20, 16, 11, 11, 12, 17, 16, 14, 89, 11, 12, 15, 14, 15, 36, 24, 42, 38, 33, 53, 35, 36, 29, 23, 22, 14, 13, 16, 13, 267, 15, 13, 10, 14, 14, 11, 10, 11, 12, 12, 12, 13, 15, 13, 20, 18, 27, 33, 38, 35, 35, 27, 29, 27, 37, 25, 18, 19, 14, 10, 13, 11, 11, 11, 11, 11, 17, 19, 18, 30, 26, 45, 35, 27, 39, 32, 31, 27, 32, 19, 17, 12, 12, 12, 11, 13, 15, 12, 10, 10, 19, 25, 23, 25, 26, 32, 36, 37, 37, 39, 32, 45, 22, 31, 18, 16, 11, 14, 11, 17, 11, 10, 13, 19, 14, 15, 17, 18, 23, 29, 33, 30, 42, 26, 36, 41, 24, 14, 24, 10, 19, 10, 13, 27, 18, 31, 29, 30, 32, 41, 28, 36, 28, 37, 15, 23, 12, 11, 10, 11, 17, 16, 11, 26, 30, 36, 34, 24, 39, 37, 36, 25, 27, 19, 17, 13, 15, 11, 10, 11, 10, 10, 11, 14, 11, 13, 13, 10, 12, 10, 16, 15, 18, 13, 19, 29, 33, 36, 20, 29, 22, 17, 30, 17, 22, 15, 10, 14, 14, 10, 11, 15, 12, 19, 16, 16, 21, 16, 21, 20, 26, 21, 24, 19, 13, 11, 361, 14, 34, 13, 92, 30, 10, 12, 10, 10, 31, 135, 10, 21, 12, 48, 12, 16, 21, 18, 22, 18, 24, 26, 30, 26, 20, 30, 28, 21, 22, 11, 10, 12, 11, 10, 13, 10, 15, 19, 13, 13, 19, 30, 26, 23, 36, 26, 29, 32, 20, 19, 23, 15, 12, 10, 16, 13, 17, 11, 32, 21, 25, 29, 17, 30, 32, 32, 29, 29, 34, 10, 24, 10, 17, 14, 11, 15, 10, 13, 30, 30, 36, 25, 21, 40, 27, 32, 30, 24, 17, 14, 11, 13, 10, 11, 18, 24, 24, 23, 27, 25, 29, 31, 18, 20, 15, 15, 10, 10, 13, 17, 21, 21, 25, 25, 24, 29, 32, 25, 29, 25, 29, 23, 31, 20, 11, 13, 15, 14, 15, 31, 24, 28, 41, 26, 29, 38, 32, 18, 21, 16, 15, 10, 13, 13, 11, 10, 10, 14, 18, 19, 18, 29, 26, 29, 40, 33, 33, 23, 32, 14, 17, 13, 18, 19, 19, 32, 33, 39, 34, 39, 38, 32, 40, 33, 30, 23, 21, 10, 16, 24, 17, 12, 12, 17, 11, 19, 26, 29, 27, 33, 28, 36, 29, 26, 37, 29, 37, 17, 16, 11, 10, 15, 14, 16, 13, 13, 24, 23, 24, 33, 32, 33, 42, 32, 29, 28, 33, 25, 20, 11, 11, 11, 11, 11, 12, 11, 12, 18, 16, 21, 27, 23, 30, 35, 34, 36, 37, 30, 27, 32, 17, 13, 12, 13, 10, 12, 14, 20, 22, 22, 24, 43, 35, 27, 30, 40, 41, 35, 26, 25, 14, 10, 12, 10, 11, 11, 12, 16, 15, 12, 10, 16, 25, 19, 19, 22, 38, 29, 47, 31, 35, 35, 40, 31, 19, 12, 11, 15, 10, 17, 19, 13, 13, 25, 32, 34, 36, 27, 28, 29, 28, 29, 28, 26, 20, 16, 13, 11, 10, 10, 13, 13, 15, 11, 10, 13, 17, 18, 18, 18, 17, 18, 30, 32, 35, 31, 22, 25, 35, 29, 28, 26, 18, 12, 10, 10, 10, 14, 12, 13, 16, 12, 14, 18, 24, 19, 25, 32, 30, 35, 43, 46, 31, 26, 29, 31, 30, 15, 15, 15, 14, 11, 79, 11, 13, 16, 10, 15, 16, 16, 15, 22, 25, 19, 30, 30, 29, 23, 20, 13, 14, 15, 11, 11, 15, 18, 13, 23, 27, 22, 23, 32, 28, 26, 26, 22, 23, 25, 20, 12, 12, 11, 10, 10, 24, 22, 19, 29, 17, 25, 21, 18, 17, 25, 23, 14, 10, 13, 10, 18, 18, 24, 18, 28, 25, 32, 29, 35, 21, 23, 17, 12, 20, 11, 20, 21, 22, 28, 17, 39, 19, 26, 25, 21, 27, 19, 13, 14, 18, 10, 25, 10, 19, 22, 13, 21, 15, 27, 21, 20, 25, 32, 15, 526, 18, 13, 17, 17, 11, 31, 28, 37, 29, 45, 31, 33, 21, 29, 29, 23, 11, 11, 13, 10, 16, 11, 32, 10, 13, 10, 11, 13, 15, 20, 25, 28, 35, 26, 27, 32, 28, 25, 23, 21, 23, 15, 10, 20, 15, 17, 22, 15, 25, 23, 24, 26, 43, 29, 19, 24, 17, 11, 12, 12, 19, 25, 11, 35, 23, 22, 35, 31, 38, 23, 17, 29, 16, 11, 13, 10, 11, 14, 11, 18, 13, 24, 19, 24, 31, 23, 21, 24, 21, 19, 13, 16, 21, 11, 19, 24, 19, 19, 28, 33, 31, 40, 33, 24, 27, 25, 13, 13, 12, 12, 10, 11, 10, 10, 14, 11, 11, 14, 13, 15, 32, 23, 34, 44, 34, 27, 32, 23, 29, 16, 19, 10, 12, 10, 11, 11, 14, 14, 13, 10, 17, 13, 24, 28, 26, 18, 20, 17, 21, 26, 11, 13, 14, 15, 17, 13, 18, 23, 21, 36, 35, 29, 32, 35, 32, 33, 21, 30, 23, 11, 14, 11, 77, 11, 13, 10, 21, 10, 18, 13, 12, 24, 24, 26, 42, 37, 33, 26, 16, 22, 15, 15, 13, 10, 10, 10, 11, 21, 15, 33, 22, 22, 18, 27, 21, 21, 15, 13, 10, 11, 16, 21, 18, 26, 22, 27, 24, 42, 40, 32, 37, 34, 18, 20, 13, 10, 10, 10, 10, 18, 11, 19, 12, 23, 17, 21, 22, 16, 23, 11, 17, 14, 11, 19, 18, 28, 27, 20, 24, 21, 27, 33, 36, 22, 19, 23, 13, 12, 11, 12, 18, 22, 34, 37, 29, 48, 36, 37, 36, 30, 22, 31, 29, 14, 11, 13, 12, 39, 11, 17, 13, 17, 16, 24, 32, 30, 25, 32, 23, 28, 36, 23, 22, 10, 10, 11, 16, 12, 12, 11, 15, 20, 18, 19, 24, 31, 17, 36, 33, 33, 34, 32, 24, 31, 21, 14, 13, 11, 13, 10, 15, 15, 16, 19, 34, 35, 34, 26, 28, 20, 17, 21, 20, 11, 15, 10, 11, 13, 10, 10, 11, 11, 12, 14, 17, 12, 14, 19, 21, 28, 27, 20, 30, 22, 36, 38, 28, 21, 21, 19, 12, 10, 10, 11, 10, 18, 12, 20, 20, 24, 29, 29, 24, 33, 37, 26, 31, 17, 14, 19, 10, 10, 13, 12, 12, 10, 28, 12, 10, 15, 15, 17, 22, 20, 29, 29, 35, 29, 43, 31, 26, 17, 18, 14, 10, 11, 10, 11, 10, 12, 13, 16, 12, 13, 20, 20, 20, 17, 17, 32, 31, 27, 20, 23, 21, 17, 15, 11, 14, 13, 12, 10, 10, 10, 16, 22, 17, 26, 24, 24, 21, 24, 32, 33, 19, 32, 22, 12, 13, 13, 10, 13, 10, 11, 14, 10, 13, 14, 12, 18, 24, 22, 27, 33, 25, 26, 18, 24, 20, 24, 16, 17, 14, 14, 12, 12, 18, 18, 22, 27, 31, 33, 36, 27, 22, 35, 19, 20, 13, 18, 15, 25, 16, 18, 18, 27, 36, 46, 45, 37, 32, 22, 24, 26, 10, 10, 11, 16, 16, 13, 20, 17, 10, 15, 23, 22, 33, 26, 29, 30, 27, 32, 41, 23, 17, 13, 11, 12, 10, 12, 12, 10, 11, 10, 12, 19, 18, 11, 15, 29, 23, 26, 25, 22, 14, 17, 18, 10, 10, 15, 10, 11, 14, 26, 15, 20, 23, 33, 40, 24, 29, 26, 20, 19, 11, 17, 11, 16, 16, 11, 12, 14, 17, 19, 16, 22, 27, 21, 30, 27, 29, 14, 17, 20, 12, 11, 15, 11, 13, 11, 10, 10, 11, 19, 12, 10, 16, 10, 21, 25, 22, 16, 17, 21, 11, 15, 11, 13, 13, 14, 12, 14, 23, 18, 21, 15, 23, 16, 26, 32, 26, 26, 21, 23, 25, 23, 13, 11, 10, 10, 10, 13, 1647, 28, 10, 35, 31, 11, 86, 26, 12, 208, 60, 16, 16, 12, 25, 22, 21, 23, 21, 33, 43, 26, 23, 27, 28, 10, 13, 12, 13, 11, 14, 10, 10, 10, 13, 13, 17, 14, 11, 11, 12, 10, 10, 11, 10, 13, 15, 13, 10, 11, 12, 11, 13, 14, 15, 21, 16, 26, 25, 28, 35, 20, 30, 21, 12, 18, 10, 12, 11, 10, 11, 12, 10, 13, 10, 10, 12, 11, 11, 13, 25, 26, 13, 38, 33, 34, 33, 37, 27, 26, 33, 18, 11, 10, 13, 12, 12, 10, 11, 13, 16, 12, 14, 23, 22, 19, 32, 30, 35, 25, 39, 44, 36, 32, 26, 24, 16, 16, 10, 11, 19, 14, 10, 16, 12, 11, 11, 12, 19, 17, 35, 25, 32, 27, 31, 28, 31, 18, 21, 15, 10, 11, 13, 202, 211, 20, 18, 18, 42, 32, 15, 37, 10, 16, 23, 21, 19, 15, 148, 17, 30, 16, 19, 19, 19, 17, 131, 173, 15, 26, 11, 247, 117, 11, 10, 15, 12, 14, 11, 11, 10, 10, 10, 11, 12, 13, 10, 10, 16, 10, 17, 10, 15, 13, 13, 12, 12, 11, 11, 10, 15, 14, 13, 19, 25, 21, 22, 27, 18, 27, 13, 19, 16, 10, 14, 14, 15, 19, 22, 21, 23, 27, 36, 36, 38, 31, 40, 34, 34, 16, 14, 10, 15, 11, 15, 14, 15, 10, 11, 17, 11, 16, 26, 29, 28, 42, 32, 48, 35, 26, 36, 26, 16, 14, 14, 10, 10, 11, 10, 22, 17, 12, 14, 14, 24, 14, 20, 20, 28, 19, 24, 28, 22, 30, 21, 21, 22, 14, 89, 11, 451, 13, 10, 15, 19, 10, 10, 313, 30, 11, 16, 11, 243, 37, 17, 291, 30, 213, 15, 22, 12, 10, 10, 231, 33, 16, 213, 16, 164, 14, 152, 11, 11, 11, 16, 14, 20, 237, 18, 14, 10, 169, 27, 17, 22, 10, 171, 19, 11, 142, 21, 15, 10, 11, 18, 20, 20, 33, 18, 26, 38, 32, 22, 27, 19, 19, 13, 13, 11, 16, 17, 238, 115, 12, 11, 11, 10, 15, 11, 11, 16, 16, 18, 16, 41, 26, 29, 30, 24, 29, 30, 19, 17, 13, 13, 180, 131, 10, 15, 10, 15, 12, 14, 23, 34, 33, 26, 34, 27, 33, 22, 32, 13, 17, 10, 130, 56, 23, 21, 15, 11, 15, 17, 25, 31, 22, 27, 29, 28, 33, 16, 20, 29, 17, 152, 79, 14, 10, 18, 15, 17, 25, 26, 38, 28, 26, 22, 39, 23, 29, 33, 27, 12, 106, 19, 26, 10, 14, 11, 11, 14, 12, 15, 21, 18, 27, 21, 28, 20, 21, 20, 32, 21, 10, 10, 12, 10, 11, 10, 13, 122, 12, 12, 10, 15, 16, 22, 30, 36, 38, 38, 30, 18, 19, 21, 16, 85, 39, 18, 22, 21, 13, 21, 28, 19, 18, 14, 25, 34, 23, 31, 13, 19, 32, 22, 83, 45, 22, 27, 20, 10, 13, 17, 31, 19, 17, 27, 24, 27, 25, 36, 15, 20, 12, 14, 101, 28, 17, 16, 14, 13, 21, 14, 15, 14, 18, 18, 26, 19, 45, 28, 29, 32, 40, 34, 28, 31, 22, 10, 11, 10, 14, 10, 27, 14, 13, 14, 11, 16, 14, 13, 13, 19, 27, 22, 27, 29, 32, 30, 51, 40, 29, 25, 35, 20, 17, 10, 12, 10, 10, 14, 10, 10, 11, 14, 11, 13, 12, 18, 26, 18, 41, 17, 26, 22, 40, 24, 20, 19, 19, 11, 12, 11, 10, 15, 13, 14, 20, 14, 11, 12, 20, 14, 16, 19, 24, 21, 24, 42, 30, 28, 38, 19, 14, 11, 35, 14, 14, 10, 10, 12, 14, 11, 10, 10, 14, 11, 13, 12, 13, 11, 12, 14, 11, 10, 10, 13, 11, 15, 11, 11, 20, 10, 21, 12, 26, 27, 32, 19, 28, 25, 23, 14, 13, 12, 13, 14, 14, 19, 30, 23, 29, 26, 41, 27, 18, 27, 15, 14, 16, 12, 13, 12, 10, 12, 16, 12, 13, 14, 21, 17, 27, 25, 28, 32, 39, 24, 26, 17, 11, 11, 12, 13, 13, 10, 14, 22, 19, 16, 17, 27, 32, 37, 35, 32, 38, 52, 39, 43, 26, 19, 12, 10, 10, 13, 11, 10, 15, 12, 22, 11, 10, 11, 23, 13, 30, 24, 27, 22, 38, 51, 36, 31, 34, 40, 41, 38, 16, 15, 10, 12, 14, 10, 10, 590, 102, 14, 13, 14, 26, 25, 18, 12, 27, 17, 28, 20, 19, 17, 13, 12, 11, 11, 11, 12, 13, 20, 18, 23, 29, 26, 25, 20, 29, 21, 37, 25, 11, 10, 13, 12, 13, 16, 15, 13, 10, 11, 11, 10, 13, 11, 12, 14, 11, 11, 10, 10, 11, 11, 11, 14, 24, 18, 21, 32, 30, 31, 30, 27, 17, 23, 20, 14, 15, 14, 17, 15, 17, 32, 23, 24, 33, 40, 42, 30, 38, 31, 30, 19, 10, 11, 10, 10, 12, 11, 15, 14, 15, 14, 10, 11, 13, 22, 14, 13, 15, 15, 28, 25, 38, 34, 19, 22, 21, 27, 17, 12, 11, 16, 18, 15, 25, 10, 35, 25, 24, 39, 36, 34, 29, 30, 26, 18, 16, 11, 16, 14, 10, 11, 12, 13, 16, 19, 15, 89, 11, 21, 24, 18, 24, 26, 30, 21, 26, 22, 27, 20, 15, 13, 12, 10, 12, 13, 10, 10, 14, 12, 10, 10, 11, 12, 10, 10, 11, 12, 23, 10, 10, 13, 11, 10, 11, 10, 10, 10, 27, 19, 16, 20, 10, 12, 10, 13, 19, 19, 24, 21, 27, 32, 26, 38, 40, 31, 27, 28, 28, 23, 10, 15, 15, 11, 15, 17, 26, 37, 29, 35, 35, 35, 30, 24, 21, 17, 14, 14, 11, 11, 16, 10, 10, 14, 14, 18, 25, 31, 34, 25, 33, 38, 16, 11, 13, 16, 17, 10, 11, 13, 16, 13, 11, 323, 15, 59, 28, 24, 10, 13, 13, 14, 10, 11, 10, 12, 16, 14, 10, 10, 11, 16, 27, 23, 29, 22, 30, 19, 19, 28, 19, 12, 12, 12, 13, 14, 13, 10, 14, 13, 19, 13, 10, 11, 12, 14, 11, 15, 15, 24, 22, 16, 26, 29, 39, 33, 17, 15, 21, 13, 12, 11, 12, 11, 15, 10, 11, 18, 10, 14, 11, 16, 13, 10, 15, 10, 10, 12, 10, 13, 14, 26, 16, 21, 32, 26, 24, 19, 16, 20, 10, 11, 13, 12, 14, 22, 23, 29, 30, 26, 25, 36, 28, 15, 10, 19, 12, 12, 13, 13, 13, 11, 10, 13, 11, 19, 11, 17, 20, 24, 30, 31, 37, 43, 32, 40, 25, 21, 16, 10, 11, 12, 11, 16, 13, 22, 10, 17, 11, 10, 18, 12, 14, 16, 13, 23, 25, 28, 22, 30, 26, 31, 40, 24, 30, 10, 13, 14, 12, 11, 12, 12, 11, 11, 19, 12, 15, 12, 11, 11, 12, 10, 11, 13, 13, 10, 11, 10, 11, 14, 16, 12, 11, 23, 13, 22, 19, 28, 22, 29, 34, 38, 28, 38, 21, 19, 12, 12, 11, 14, 13, 13, 16, 11, 14, 10, 11, 15, 11, 15, 44, 28, 11, 10, 16, 16, 89, 12, 11, 161, 72, 19, 61, 81, 22, 11, 28, 494, 186, 21, 16, 14, 12, 34, 13, 11, 34, 27, 30, 17, 60, 60, 34, 52, 19, 13, 224, 26, 13, 131, 134, 20, 10, 60, 10, 206, 20, 19, 720, 17, 40, 369, 25, 147, 55, 478, 648, 116, 24, 13, 20, 16, 124, 618, 537, 15, 30, 56, 2095, 11, 372, 21, 61, 12, 23, 20, 14, 29, 37, 113, 11, 11, 67, 39, 62, 100, 13, 14, 15, 26, 23, 66, 11, 198, 60, 6838, 4182, 25, 10, 183, 165, 16, 10, 63, 151, 13755, 16, 64, 46, 140, 43, 130, 263, 70, 11, 81, 79, 185, 49, 196, 22, 21, 11, 30, 26, 11, 14, 24, 54, 126, 245, 26, 28, 25, 66, 10, 401, 15, 10, 137, 21, 866, 16, 11, 400, 20, 49, 55, 28, 13, 173, 5170, 70, 20, 12, 240, 26, 12, 32, 68, 27, 13, 23, 2970, 32, 67, 17, 22, 24, 24, 515, 45, 112, 12, 11, 443, 217, 10, 13, 709, 160, 51, 14, 466, 265, 819, 23, 152, 37, 23, 176, 16, 196, 458, 226, 76, 46, 277, 34, 15, 49, 29, 413, 158, 113, 93, 147, 43, 16, 289, 52, 21, 14, 64, 224, 74, 42, 11, 12, 10, 3000, 14, 48, 33, 14, 13, 22, 10, 12, 10, 22, 82, 76, 23, 148, 41, 22, 67, 201, 29, 2083, 26, 63, 30, 13, 66, 28, 14, 12, 56, 277, 91, 148, 20, 11, 25, 10, 112, 25, 129, 82, 352, 10, 143, 3301, 21, 23, 100, 510, 310, 19, 16, 136, 108, 17, 30, 13, 37, 13, 21, 43, 16, 16, 13, 22, 341, 30, 19, 786, 70, 14, 22, 73, 33, 11, 18, 2319, 13, 10, 11, 20, 17, 19, 33, 20, 464, 23, 147, 31, 15, 67, 17, 885, 11, 38, 14, 135, 11, 17, 23, 217, 14, 127, 191, 32, 233, 1382, 87, 59, 32, 450, 11, 17, 17, 4268, 26, 23, 150, 39, 25, 11, 93, 33, 19783, 51, 15, 15, 16, 12, 19, 1284, 244, 14, 15, 78, 121, 13, 11, 26, 10, 10, 4101, 20, 223, 41, 25, 60, 586, 207, 230, 18, 400, 87, 24, 12, 103, 25, 557, 18, 10, 154, 26, 12, 25, 158, 178, 452, 222, 28, 1870, 15, 30, 102, 25, 64, 172, 26, 89, 6974, 2347, 45, 13, 128, 79, 37, 470, 11, 25, 347, 16, 12, 131, 22, 29, 10, 2245, 44, 70, 512, 22, 34, 31, 23, 16, 56, 1673, 14, 111, 14, 10, 16, 21, 40, 3334, 70, 17, 14, 13, 27, 329, 10, 94, 16, 82, 25, 1239, 41, 142, 93, 71, 193, 42, 14, 856, 12, 49, 617, 17, 128, 319, 75, 17, 76, 17, 133, 383, 160, 170, 43, 243, 15, 28, 89, 21, 12, 11, 34, 41, 11, 19, 50, 10, 168, 17, 31, 18, 55, 1417, 189, 204, 24, 77, 113, 70, 17, 21, 25, 56, 15, 184, 335, 595, 16, 193, 12, 18, 40, 173, 138, 17, 41, 24, 58, 153, 60, 2007, 17, 14, 20, 26, 24, 10, 44, 217, 11, 10, 31, 12, 15, 41, 20, 116, 287, 42, 85, 43, 30, 12, 10, 10, 39, 14, 14, 74, 12, 15, 99, 41, 81, 20, 1328, 12, 102, 80, 91, 22, 16, 47, 41, 1273, 25, 16, 27, 89, 30, 516, 28, 20, 10, 12, 9687, 1233, 86, 28, 21, 80, 19, 17, 27, 22, 40, 24, 12, 11, 18, 115, 52, 1119, 3514, 15, 39, 71, 13, 270, 480, 23, 71, 25, 17, 25, 38, 23, 401, 20, 204, 1247, 5224, 391, 19, 14, 20, 11, 62, 15, 34, 55, 432, 10, 21, 1775, 20, 11, 21, 72, 16, 221, 12, 34, 63, 779, 737, 316, 19, 22, 21, 327, 32, 175, 56, 40, 11, 24, 11, 11, 23, 50, 148, 10, 11, 11, 1682, 22, 102, 24, 12, 10, 10, 44, 29, 482, 12, 15, 22, 56, 31, 25, 160, 14, 13, 4011, 14, 26, 15, 25, 103, 21, 270, 41, 13, 4829, 46, 11, 2465, 672, 49, 339, 19, 1208, 2847, 24, 265, 202, 252, 134, 213, 60, 127, 20, 31, 10, 12, 220, 189, 16, 10, 95, 31, 10, 19, 19, 37, 17, 103, 48, 34, 13, 139, 156, 33, 24, 19, 12, 88, 32, 12, 31, 618, 54, 942, 62, 18, 66, 416, 11, 21, 47, 45, 11, 637, 305, 115, 70, 19, 18, 19, 317, 741, 21, 24, 15, 79, 186, 27, 11, 14, 85, 12, 46, 10, 35, 47, 1435, 43, 438, 21, 17, 26, 14, 16, 10, 20, 27, 72, 110, 66, 28, 58, 389, 10, 102, 68, 33, 16, 33, 203, 12, 20, 12, 79, 23, 11, 23, 612, 32, 19, 34, 15, 14, 45, 29, 517, 48, 13, 8926, 20, 25, 33, 16, 53, 350, 7146, 1719, 18, 30, 20, 140, 61, 20, 71, 227, 175, 17, 17, 3303, 13, 37, 25, 11, 267, 10, 211, 1365, 89, 72, 19, 104, 13, 18, 2433, 20, 11, 89, 20, 309, 195, 700, 31, 155, 17, 29, 17, 34, 12, 15, 11, 10, 49, 39, 1220, 21, 17, 26, 35, 24, 877, 342, 34, 146, 59, 34, 147, 1730, 28, 24, 10, 121, 10, 212, 47, 22, 11, 28, 156, 337, 47, 103, 11, 121, 5982, 652, 16, 10, 35, 51, 387, 23, 112702, 215, 26, 26, 10, 328, 49, 30, 301, 18, 30, 277, 12, 55, 18, 15, 12, 37, 1657, 41, 37, 20, 15, 21, 58, 26, 15, 53, 173, 18, 113, 15, 24, 59, 35, 194, 25, 16, 14, 19, 96, 14, 14, 26, 18, 10, 11, 77, 11, 29, 79, 18, 14, 214, 20, 10, 41, 13, 41, 17, 58983, 7835, 297, 560, 71, 31, 23, 20, 15, 22, 13, 16, 10, 23, 55, 10, 40, 12, 44, 37, 18, 74, 17, 41, 270, 27, 33, 11, 438, 118, 43, 95, 168, 30, 15, 130, 10, 48, 10, 55, 20, 156, 259, 11, 12, 377, 12, 23, 10, 66, 32, 34, 15, 21, 203, 39, 20, 299, 13, 12, 10, 21, 19, 103, 42, 213, 23, 118, 12, 12, 10, 15, 24, 68, 25, 35, 18, 13, 22, 19, 57, 114, 14, 36, 499, 91, 13, 33, 14, 10, 16, 57, 22, 58, 45, 36, 9726, 367, 613, 14, 78, 67, 108, 71, 106, 50, 110, 109, 539, 20, 10, 17, 15, 61, 31, 428, 152, 61, 80, 12, 14, 10, 59, 77, 122, 49, 32, 307, 11, 49, 38, 747, 10982, 10, 517, 28, 11, 21, 25, 82, 19, 41, 39, 54, 11, 201, 423, 674, 59, 35, 46, 16, 98, 57, 90, 16, 19, 12, 433, 181, 11, 11, 361, 44, 31, 714, 10, 15, 1298, 40, 24, 79, 20, 46, 33, 127, 38, 134, 336, 13, 553, 14, 29, 44, 29, 10, 19, 27, 27, 109, 781, 16, 30, 29, 10, 33, 34, 21, 40, 16, 32, 14, 175, 23, 12, 111, 155, 37, 127, 22, 18, 11, 16, 407, 28, 33, 10, 11, 43, 19, 26, 72, 16, 15, 14, 109, 11, 563, 884, 10, 20, 84, 120, 193, 47, 22, 16, 16, 11, 1501, 23, 99, 75, 232, 15, 164, 25, 149, 18, 1938, 14, 26, 183, 1290, 289, 104, 13, 11, 229, 30, 10, 100, 2685, 10, 1410, 10, 474, 20, 21, 59, 7374, 2341, 24, 208, 48, 50, 13, 14, 50, 36, 13, 123, 18, 508, 13, 19, 62, 58, 71, 523, 12, 10, 29, 13, 10, 36, 10, 14, 54, 129, 82, 20, 20, 10, 39, 10, 75, 168, 113, 90, 10, 45, 26, 28, 49, 168, 17, 45, 17, 173, 77, 571, 19, 32, 230, 11, 85, 14, 40, 84, 37, 411, 14, 115, 37, 47, 145, 89, 64, 29, 12, 16, 47, 149, 235, 17, 13, 13, 17, 40, 13, 14, 45, 29, 25, 33, 112, 84, 81, 47, 3548, 32, 11, 11, 18, 11, 40, 581, 10, 26, 29, 24, 100, 723, 43, 109, 39, 13, 71, 1847, 1989, 42, 135, 153, 20, 23, 139, 18, 17, 88, 144, 33, 10, 17, 87, 232, 4672, 145, 1193, 14, 14, 14, 12, 24, 70, 26, 14, 19, 33, 11, 59, 59, 24, 71, 25, 18, 99, 12, 78, 356, 15, 22, 54, 11, 153, 13, 92, 22, 22, 25, 1072, 169, 104, 40, 118, 11, 323, 18, 35, 15, 103, 53, 18, 20, 56, 873, 25, 45, 61, 18, 68, 460, 1358, 76, 1079, 41, 648, 10, 56, 28, 94, 52, 10, 21, 207, 121, 43, 417, 13, 415, 14, 210, 10, 33, 28, 20, 70, 24, 33, 81, 135, 49, 15, 12, 27, 306, 119, 21, 36, 113, 22, 95, 28, 19, 44, 39, 527, 18, 83, 80, 11, 319, 14, 84, 10, 11, 104, 35, 16, 15, 15, 26, 22, 73, 49, 103, 158, 35, 17, 14, 127, 34, 15, 12, 40, 887, 218, 10, 36, 40, 16, 28, 10, 21, 31, 3308, 304, 5850, 10, 98, 11, 527, 115, 491, 87, 95, 44, 11, 32, 42, 21, 90, 149, 142, 263, 856, 74, 45, 14, 25, 10, 14, 87, 71, 19, 51, 20, 30, 556, 18, 16, 14, 68, 80, 114, 11, 16, 471, 85, 37, 17, 25, 18, 5163, 91, 47, 16, 84, 52, 14, 19, 10, 72, 10, 43, 46, 1052, 113, 24, 23, 21, 912, 18, 21, 20, 259, 43, 42, 207, 39, 1014, 156, 82, 28, 2264, 158, 12, 18, 47, 996, 1146, 12, 346, 275, 40, 296, 17, 17, 12, 68, 1136, 25, 166, 10, 54, 688, 14, 258, 12, 39, 11, 44, 40, 74, 22, 86, 24, 23, 13, 25, 13, 17, 28, 32, 34, 22, 18, 15, 11, 10, 17, 11, 15, 12, 13, 17, 14, 12, 12, 13, 16, 15, 17, 18, 22, 26, 25, 25, 30, 25, 30, 29, 20, 29, 13, 11, 10, 12, 10, 15, 10, 12, 11, 10, 12, 20, 27, 19, 22, 26, 19, 26, 15, 22, 21, 11, 12, 12, 13, 13, 11, 13, 12, 11, 11, 12, 21, 18, 27, 25, 15, 25, 14, 14, 19, 17, 10, 12, 12, 14, 10, 12, 10, 12, 12, 18, 12, 34, 312, 25, 433, 215, 43, 14, 13, 310, 25, 11, 48, 21, 33, 40, 345, 10, 16, 43, 45, 38, 104, 77, 14, 11, 114, 39, 12, 26, 28, 43, 30, 99, 17, 77, 31, 24, 11, 20, 53, 25, 15, 313, 19, 10, 47, 11, 14, 26, 30, 107, 15, 122, 164, 14, 15, 58, 12, 75, 10, 35, 2602, 13, 151, 21, 13, 20, 1806, 134, 152, 12, 119, 922, 45, 40, 12, 44, 12, 61, 80, 21, 37, 17, 679, 15, 9945, 118, 105, 16, 35, 20, 10, 13, 19, 55, 15, 91, 11, 53, 28, 40, 138, 135, 6933, 64, 33, 60, 466, 15, 37, 12, 80, 13, 94, 21, 19, 1749, 12, 118, 78, 46, 19, 27, 43, 64, 41, 10, 12, 68, 116, 13, 14, 78, 18, 35, 1076, 18, 24, 19, 20, 33, 19, 593, 15, 27, 57, 11, 81, 638, 13, 350, 12, 118, 10, 28, 133, 14, 12, 22, 10, 13, 11, 134, 14, 434, 17, 24, 14, 11, 12, 11, 22, 11, 99, 1495, 11, 350, 409, 21, 234, 32, 14, 85, 21, 22, 56, 143, 194, 69, 17, 47, 16, 23, 27, 17, 39, 93, 288, 40, 16, 18, 144, 21, 119, 11, 399, 13, 99, 58, 15, 15, 12, 28, 20, 20, 28, 148, 10, 5890, 10, 307, 62, 25, 99, 47, 18, 46, 85, 10, 14, 16, 79248, 45, 42, 15, 24, 11, 12, 14, 13, 12, 79, 259, 15, 13, 162, 14, 270, 89, 22, 11, 10, 14, 24, 30, 14, 1480, 29, 79, 11, 12, 16, 1165, 58, 468, 156, 354, 25, 13, 14, 401, 12, 291, 16, 13, 14, 37, 21, 11, 14, 12, 14, 11, 11, 16, 15, 13, 11, 87, 12, 10, 26, 493, 126, 1381, 2286, 58, 92, 226, 13, 33, 21, 41, 30, 20, 40, 95, 38, 52, 36, 18, 23, 26, 17, 14, 19, 87, 10, 21, 149, 218, 14, 19, 186, 115, 15, 474, 11, 14, 324, 29, 31, 25, 22, 575, 89, 67, 69, 77, 75, 41, 30, 41, 40, 13, 131, 80, 162, 39, 50, 59, 48, 106, 68, 10, 17, 26, 11, 25, 38, 10, 24, 51, 81, 24, 20, 173, 34, 82, 17, 37, 65, 181, 108, 13, 14, 87, 85, 105, 5876, 28, 66, 33, 33, 328, 3535, 12, 16, 10, 22, 59, 11, 4038, 22, 53, 44, 15, 126, 22, 27, 289, 91, 77, 46, 34, 33, 16, 15, 206, 48, 16, 51, 25, 1849, 20, 76, 660, 12, 28, 153, 12, 224, 70, 17, 253, 21, 32, 13, 15, 23, 33, 33, 86, 39, 45, 20, 14, 611, 3614, 29, 49, 193, 13, 14, 32, 24, 94, 35, 29, 10, 42, 90, 3366, 782, 42, 19, 390, 6500, 20, 3213, 3775, 18, 17, 99, 80, 13, 40, 35, 29, 132, 12, 11, 11, 228, 115, 243, 10, 11, 18, 12, 11, 211, 11, 21, 302, 42, 24, 399, 152, 120, 37, 133, 10, 90, 87, 93, 117, 60, 262, 12, 27, 33, 106, 29, 441, 10, 18, 227, 780, 10, 87, 13, 112, 731, 61, 88, 7018, 947, 1385, 7506, 413, 407, 100, 93, 33, 11, 34, 14, 21, 264, 129, 87, 87, 12, 23, 33, 44, 1886, 17, 195, 25, 14, 11, 32, 12, 91, 12, 33, 4061, 10350, 10, 21, 30, 22, 79, 628, 288, 232, 20, 141, 18, 552, 16282, 140, 40, 19, 42, 11, 13, 93, 14, 595, 15, 28, 21, 12, 11, 131, 242, 70, 37, 21, 941, 121, 12, 12, 21, 17, 14, 15, 501, 14, 43, 36, 399, 30, 20, 220, 226, 19, 27, 20, 14, 265, 11, 19, 140, 106, 10, 17, 1154, 11, 49, 566, 35, 12, 13, 40, 35, 34, 36, 24, 20, 12, 403, 51, 43, 40, 156, 27, 97, 19, 24, 12203, 102, 122, 11, 15, 25, 27, 62, 697, 12, 46, 27, 27, 16, 32, 37, 871, 38, 12, 611, 463, 35, 123, 55, 853, 1453, 23, 19, 20, 140, 17, 17, 735, 36, 38, 40, 947, 11, 14, 139, 54, 19, 481, 28, 100, 369, 2765, 715, 265, 49, 56, 89, 380, 142, 238, 86, 10, 1215, 61, 27, 116, 42, 81, 1408, 12, 28, 206, 14, 37, 36, 43, 43, 276, 20, 51, 1990, 6726, 366, 122, 43, 17, 118, 10, 11, 63, 14, 181, 10, 42, 14, 46, 189, 408, 41, 16, 11, 91, 12, 28, 37, 19, 13, 97, 11, 66, 16, 25, 13, 32, 52, 23, 42, 10, 25, 25, 13, 1522, 2116, 56, 720, 34, 44, 23, 24, 167, 350, 3360, 163, 35, 235, 104, 25, 103, 26, 70, 10, 12, 12, 380, 26, 33, 467, 31, 21, 78, 29, 88, 77, 32, 58, 12, 19, 94, 13, 11, 9531, 289, 195, 74, 41, 16, 18, 11, 16, 58, 13, 43, 10, 11, 20, 13, 16, 27, 11, 13, 274, 13, 20, 16, 17, 35, 14, 13, 40, 18, 18, 1078, 17, 515, 14, 19, 150, 19, 14, 11, 45, 61, 51, 136, 3454, 1888, 1085, 24, 12, 16, 14, 54, 11, 22, 17, 262, 12, 33, 13, 17, 57, 27, 294, 16, 69, 10, 35, 11, 116, 824, 154, 555, 179, 31, 83, 14, 128, 22, 161, 33, 17, 10, 12, 45, 11, 102, 74, 48, 703, 41, 31, 49, 11, 84, 15, 344, 280, 14, 34, 29, 57, 39, 12, 13, 35, 67, 11, 47, 16, 20, 11, 67, 69, 17, 43, 33, 163, 73, 42, 24, 45, 57, 72, 23, 16, 56, 24, 10, 43, 45, 77, 332, 1325, 24, 54, 10, 13, 10, 10, 13, 10, 11, 55, 142, 161, 15, 18, 29, 49, 60, 31, 140, 31, 521, 551, 11, 17, 25, 199, 14, 29, 33, 154, 138, 79, 140, 12, 17, 52, 124, 22, 33, 12, 28, 2437, 20, 29, 10, 18, 10, 23, 10, 14, 15, 14, 13, 192, 28, 59, 90, 11, 258, 85, 28, 102, 13, 11, 10, 91, 12, 25, 12, 15, 13, 15, 13, 19, 22, 15, 11, 16, 4082, 14, 17, 68, 35, 20, 22, 18, 20, 21, 20, 21, 173, 28, 51, 18, 22, 20, 19, 23, 19, 24, 28, 29, 15, 19, 19, 19, 18, 19, 31, 14, 17, 28, 29, 263, 18, 19, 17, 20, 23, 19, 19, 21, 45, 10, 13, 72, 162, 10, 19, 11, 45, 37, 18, 19, 10, 11, 27, 38, 44, 22, 24, 20, 27, 32, 19, 20, 19, 19, 19, 22, 23, 20, 22, 22, 19, 18, 19, 20, 15, 10, 20, 17, 18, 19, 19, 11, 34, 17, 18, 12, 19, 26, 32, 13, 26, 27, 141, 12, 13, 10, 11, 11, 11, 16, 20, 242, 99, 10, 17, 12, 18, 12, 21, 30, 10, 17, 48, 15, 10, 15, 12, 57, 167, 128, 14, 17, 117, 46, 15, 15, 13, 239, 477, 23, 10, 250, 38, 23, 12, 31, 33, 14, 25, 182, 16467796]
unknown
codeparrot/codeparrot-clean
# # Copyright (c), 2018-2020, SISSA (International School for Advanced Studies). # All rights reserved. # This file is distributed under the terms of the MIT License. # See the file 'LICENSE' in the root directory of the present # distribution, or http://opensource.org/licenses/MIT. # # @author Davide Brunato <brunato@sissa.it> # import re from ..helpers import NORMALIZE_PATTERN, collapse_white_spaces from .atomic_types import AtomicTypeMeta class NormalizedString(str, metaclass=AtomicTypeMeta): name = 'normalizedString' pattern = re.compile('^[^\t\r]*$') def __new__(cls, obj): try: return super().__new__(cls, NORMALIZE_PATTERN.sub(' ', obj)) except TypeError: return super().__new__(cls, obj) class XsdToken(NormalizedString): name = 'token' pattern = re.compile(r'^[\S\xa0]*(?: [\S\xa0]+)*$') def __new__(cls, value): if not isinstance(value, str): value = str(value) else: value = collapse_white_spaces(value) match = cls.pattern.match(value) if match is None: raise ValueError('invalid value {!r} for xs:{}'.format(value, cls.name)) return super(NormalizedString, cls).__new__(cls, value) class Language(XsdToken): name = 'language' pattern = re.compile(r'^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$') def __new__(cls, value): if isinstance(value, bool): value = 'true' if value else 'false' elif not isinstance(value, str): value = str(value) else: value = collapse_white_spaces(value) match = cls.pattern.match(value) if match is None: raise ValueError('invalid value {!r} for xs:{}'.format(value, cls.name)) return super(NormalizedString, cls).__new__(cls, value) class Name(XsdToken): name = 'Name' pattern = re.compile(r'^(?:[^\d\W]|:)[\w.\-:\u00B7\u0300-\u036F\u203F\u2040]*$') class NCName(Name): name = 'NCName' pattern = re.compile(r'^[^\d\W][\w.\-\u00B7\u0300-\u036F\u203F\u2040]*$') class Id(NCName): name = 'ID' class Idref(NCName): name = 'IDREF' class Entity(NCName): name = 'ENTITY' class NMToken(XsdToken): name = 'NMTOKEN' pattern = re.compile(r'^[\w.\-:\u00B7\u0300-\u036F\u203F\u2040]+$')
unknown
codeparrot/codeparrot-clean
"""SCons.Tool.masm Tool-specific initialization for the Microsoft Assembler. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. """ # # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation # # 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 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. # __revision__ = "src/engine/SCons/Tool/masm.py 5134 2010/08/16 23:02:40 bdeegan" import SCons.Defaults import SCons.Tool import SCons.Util ASSuffixes = ['.s', '.asm', '.ASM'] ASPPSuffixes = ['.spp', '.SPP', '.sx'] if SCons.Util.case_sensitive_suffixes('.s', '.S'): ASPPSuffixes.extend(['.S']) else: ASSuffixes.extend(['.S']) def generate(env): """Add Builders and construction variables for masm to an Environment.""" static_obj, shared_obj = SCons.Tool.createObjBuilders(env) for suffix in ASSuffixes: static_obj.add_action(suffix, SCons.Defaults.ASAction) shared_obj.add_action(suffix, SCons.Defaults.ASAction) static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter) shared_obj.add_emitter(suffix, SCons.Defaults.SharedObjectEmitter) for suffix in ASPPSuffixes: static_obj.add_action(suffix, SCons.Defaults.ASPPAction) shared_obj.add_action(suffix, SCons.Defaults.ASPPAction) static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter) shared_obj.add_emitter(suffix, SCons.Defaults.SharedObjectEmitter) env['AS'] = 'ml' env['ASFLAGS'] = SCons.Util.CLVar('/nologo') env['ASPPFLAGS'] = '$ASFLAGS' env['ASCOM'] = '$AS $ASFLAGS /c /Fo$TARGET $SOURCES' env['ASPPCOM'] = '$CC $ASPPFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS /c /Fo$TARGET $SOURCES' env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1 def exists(env): return env.Detect('ml') # Local Variables: # tab-width:4 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=4 shiftwidth=4:
unknown
codeparrot/codeparrot-clean
/* * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.platform.declarations import com.intellij.openapi.components.service import com.intellij.openapi.project.Project import com.intellij.psi.search.GlobalSearchScope import org.jetbrains.kotlin.analysis.api.KaPlatformInterface import org.jetbrains.kotlin.analysis.api.platform.KotlinPlatformComponent import org.jetbrains.kotlin.psi.KtClass import org.jetbrains.kotlin.psi.KtClassOrObject @KaPlatformInterface public interface KotlinDirectInheritorsProvider : KotlinPlatformComponent { /** * Returns all direct *Kotlin* inheritors of [ktClass] that can be found in the given [scope]. * * [ktClass] must not be a class from a dangling file, but rather should be a class from a physical source, like a source module. * The scope should cover the [ktClass] itself. In case inheritors for a dangling class are needed, [getDirectKotlinInheritors] should * be called with the same class from a non-dangling context module. This removes the burden of handling dangling files from the * provider, simplifying its implementation. * * The implementation of [getDirectKotlinInheritors] is allowed to lazy-resolve symbols up to the `SUPER_TYPES` phase. This is required * to check subtyping for potential inheritors. Hence, if [getDirectKotlinInheritors] is invoked during lazy resolution, it requires a * phase of `SEALED_CLASS_INHERITORS` or later. * * @param includeLocalInheritors If `false`, only non-local inheritors will be searched and returned. */ public fun getDirectKotlinInheritors( ktClass: KtClass, scope: GlobalSearchScope, includeLocalInheritors: Boolean = true, ): Iterable<KtClassOrObject> @KaPlatformInterface public companion object { public fun getInstance(project: Project): KotlinDirectInheritorsProvider = project.service() } }
kotlin
github
https://github.com/JetBrains/kotlin
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDirectInheritorsProvider.kt
""" Scrapy Telnet Console extension See documentation in docs/topics/telnetconsole.rst """ from __future__ import annotations import binascii import logging import os import pprint from typing import TYPE_CHECKING, Any from twisted.conch import telnet from twisted.conch.insults import insults from twisted.internet import protocol from twisted.internet.defer import fail, succeed from scrapy import signals from scrapy.exceptions import NotConfigured from scrapy.utils.engine import print_engine_status from scrapy.utils.reactor import listen_tcp from scrapy.utils.trackref import print_live_refs if TYPE_CHECKING: from twisted.internet.tcp import Port # typing.Self requires Python 3.11 from typing_extensions import Self from scrapy.crawler import Crawler logger = logging.getLogger(__name__) # signal to update telnet variables # args: telnet_vars update_telnet_vars = object() class TelnetConsole(protocol.ServerFactory): def __init__(self, crawler: Crawler): if not crawler.settings.getbool("TELNETCONSOLE_ENABLED"): raise NotConfigured if not crawler.settings.getbool("TWISTED_ENABLED"): raise NotConfigured( "The TelnetConsole extension requires a Twisted reactor." " You can set the TELNETCONSOLE_ENABLED setting to False to remove this warning." ) self.crawler: Crawler = crawler self.noisy: bool = False self.portrange: list[int] = [ int(x) for x in crawler.settings.getlist("TELNETCONSOLE_PORT") ] self.host: str = crawler.settings["TELNETCONSOLE_HOST"] self.username: str = crawler.settings["TELNETCONSOLE_USERNAME"] self.password: str = crawler.settings["TELNETCONSOLE_PASSWORD"] if not self.password: self.password = binascii.hexlify(os.urandom(8)).decode("utf8") logger.info("Telnet Password: %s", self.password) self.crawler.signals.connect(self.start_listening, signals.engine_started) self.crawler.signals.connect(self.stop_listening, signals.engine_stopped) @classmethod def from_crawler(cls, crawler: Crawler) -> Self: return cls(crawler) def start_listening(self) -> None: self.port: Port = listen_tcp(self.portrange, self.host, self) h = self.port.getHost() logger.info( "Telnet console listening on %(host)s:%(port)d", {"host": h.host, "port": h.port}, extra={"crawler": self.crawler}, ) def stop_listening(self) -> None: self.port.stopListening() def protocol(self) -> telnet.TelnetTransport: class Portal: """An implementation of IPortal""" def login(self_, credentials, mind, *interfaces): # pylint: disable=no-self-argument if not ( credentials.username == self.username.encode("utf8") and credentials.checkPassword(self.password.encode("utf8")) ): return fail(ValueError("Invalid credentials")) from twisted.conch import manhole protocol = telnet.TelnetBootstrapProtocol( insults.ServerProtocol, manhole.Manhole, self._get_telnet_vars() ) return succeed((interfaces[0], protocol, lambda: None)) return telnet.TelnetTransport(telnet.AuthenticatingTelnetProtocol, Portal()) def _get_telnet_vars(self) -> dict[str, Any]: # Note: if you add entries here also update topics/telnetconsole.rst assert self.crawler.engine telnet_vars: dict[str, Any] = { "engine": self.crawler.engine, "spider": self.crawler.engine.spider, "crawler": self.crawler, "extensions": self.crawler.extensions, "stats": self.crawler.stats, "settings": self.crawler.settings, "est": lambda: print_engine_status(self.crawler.engine), "p": pprint.pprint, "prefs": print_live_refs, "help": "This is Scrapy telnet console. For more info see: " "https://docs.scrapy.org/en/latest/topics/telnetconsole.html", } self.crawler.signals.send_catch_log(update_telnet_vars, telnet_vars=telnet_vars) return telnet_vars
python
github
https://github.com/scrapy/scrapy
scrapy/extensions/telnet.py
/// Configuration of cg_clif as passed in through `-Cllvm-args` and various env vars. #[derive(Debug)] pub struct BackendConfig { /// Should the crate be AOT compiled or JIT executed. /// /// Defaults to AOT compilation. Can be set using `-Cllvm-args=jit-mode`. pub jit_mode: bool, /// When JIT mode is enable pass these arguments to the program. /// /// Defaults to the value of `CG_CLIF_JIT_ARGS`. pub jit_args: Vec<String>, } impl BackendConfig { /// Parse the configuration passed in using `-Cllvm-args`. pub fn from_opts(opts: &[String]) -> Result<Self, String> { let mut config = BackendConfig { jit_mode: false, jit_args: match std::env::var("CG_CLIF_JIT_ARGS") { Ok(args) => args.split(' ').map(|arg| arg.to_string()).collect(), Err(std::env::VarError::NotPresent) => vec![], Err(std::env::VarError::NotUnicode(s)) => { panic!("CG_CLIF_JIT_ARGS not unicode: {:?}", s); } }, }; for opt in opts { if opt.starts_with("-import-instr-limit") { // Silently ignore -import-instr-limit. It is set by rust's build system even when // testing cg_clif. continue; } match &**opt { "jit-mode" => config.jit_mode = true, _ => return Err(format!("Unknown option `{}`", opt)), } } Ok(config) } }
rust
github
https://github.com/rust-lang/rust
compiler/rustc_codegen_cranelift/src/config.rs
- targets: ['localhost:9090', 'example.org:443'] labels: foo: bar - null
unknown
github
https://github.com/prometheus/prometheus
discovery/file/fixtures/invalid_nil.yml
# -*- coding: utf-8 -*- """ pygments.formatters._mapping ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter mapping definitions. This file is generated by itself. Everytime you change something on a builtin formatter definition, run this script from the formatters folder to update it. Do not alter the FORMATTERS dictionary by hand. :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import print_function FORMATTERS = { 'BBCodeFormatter': ('pygments.formatters.bbcode', 'BBCode', ('bbcode', 'bb'), (), 'Format tokens with BBcodes. These formatting codes are used by many bulletin boards, so you can highlight your sourcecode with pygments before posting it there.'), 'BmpImageFormatter': ('pygments.formatters.img', 'img_bmp', ('bmp', 'bitmap'), ('*.bmp',), 'Create a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), 'GifImageFormatter': ('pygments.formatters.img', 'img_gif', ('gif',), ('*.gif',), 'Create a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), 'HtmlFormatter': ('pygments.formatters.html', 'HTML', ('html',), ('*.html', '*.htm'), "Format tokens as HTML 4 ``<span>`` tags within a ``<pre>`` tag, wrapped in a ``<div>`` tag. The ``<div>``'s CSS class can be set by the `cssclass` option."), 'ImageFormatter': ('pygments.formatters.img', 'img', ('img', 'IMG', 'png'), ('*.png',), 'Create a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), 'JpgImageFormatter': ('pygments.formatters.img', 'img_jpg', ('jpg', 'jpeg'), ('*.jpg',), 'Create a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), 'LatexFormatter': ('pygments.formatters.latex', 'LaTeX', ('latex', 'tex'), ('*.tex',), 'Format tokens as LaTeX code. This needs the `fancyvrb` and `color` standard packages.'), 'NullFormatter': ('pygments.formatters.other', 'Text only', ('text', 'null'), ('*.txt',), 'Output the text unchanged without any formatting.'), 'RawTokenFormatter': ('pygments.formatters.other', 'Raw tokens', ('raw', 'tokens'), ('*.raw',), 'Format tokens as a raw representation for storing token streams.'), 'RtfFormatter': ('pygments.formatters.rtf', 'RTF', ('rtf',), ('*.rtf',), 'Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents.'), 'SvgFormatter': ('pygments.formatters.svg', 'SVG', ('svg',), ('*.svg',), 'Format tokens as an SVG graphics file. This formatter is still experimental. Each line of code is a ``<text>`` element with explicit ``x`` and ``y`` coordinates containing ``<tspan>`` elements with the individual token styles.'), 'Terminal256Formatter': ('pygments.formatters.terminal256', 'Terminal256', ('terminal256', 'console256', '256'), (), 'Format tokens with ANSI color sequences, for output in a 256-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.'), 'TerminalFormatter': ('pygments.formatters.terminal', 'Terminal', ('terminal', 'console'), (), 'Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.'), 'TestcaseFormatter': ('pygments.formatters.other', 'Testcase', ('testcase',), (), 'Format tokens as appropriate for a new testcase.') } if __name__ == '__main__': import sys import os # lookup formatters found_formatters = [] imports = [] sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..')) from pygments.util import docstring_headline for root, dirs, files in os.walk('.'): for filename in files: if filename.endswith('.py') and not filename.startswith('_'): module_name = 'pygments.formatters%s.%s' % ( root[1:].replace('/', '.'), filename[:-3]) print(module_name) module = __import__(module_name, None, None, ['']) for formatter_name in module.__all__: formatter = getattr(module, formatter_name) found_formatters.append( '%r: %r' % (formatter_name, (module_name, formatter.name, tuple(formatter.aliases), tuple(formatter.filenames), docstring_headline(formatter)))) # sort them to make the diff minimal found_formatters.sort() # extract useful sourcecode from this file with open(__file__) as fp: content = fp.read() header = content[:content.find('FORMATTERS = {')] footer = content[content.find("if __name__ == '__main__':"):] # write new file with open(__file__, 'w') as fp: fp.write(header) fp.write('FORMATTERS = {\n %s\n}\n\n' % ',\n '.join(found_formatters)) fp.write(footer) print ('=== %d formatters processed.' % len(found_formatters))
unknown
codeparrot/codeparrot-clean
# coding=utf-8 """ Unit Tests for sickbeard/numdict.py """ # pylint: disable=line-too-long import os.path import sys import unittest sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), '../lib'))) sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from sickbeard.numdict import NumDict PY3 = sys.version_info >= (3, ) if PY3: from collections import UserDict # pylint: disable=no-name-in-module else: from UserDict import UserDict class NumDictTest(unittest.TestCase): """ Test the NumDict class """ def test_constructors(self): # pylint: disable=too-many-locals, too-many-statements """ Test NumDict constructors """ # dicts for testing dict_0 = {} # Empty dictionary dict_1 = {1: 'Elephant'} # Single numeric key dict_2 = {1: 'Elephant', 2: 'Mouse'} # Multiple numeric keys dict_3 = {'3': 'Aardvark'} # Numeric string key dict_4 = {'3': 'Aardvark', '4': 'Ant'} # Multiple numeric string keys dict_5 = {5: 'Cat', '6': 'Dog'} # Mixed numeric and numeric string keys dict_6 = {1: None, '2': None} # None as values dict_7 = {None: 'Empty'} # None as key # Construct NumDicts from dicts num_dict = NumDict() num_dict_0 = NumDict(dict_0) num_dict_1 = NumDict(dict_1) num_dict_2 = NumDict(dict_2) num_dict_3 = NumDict(dict_3) num_dict_4 = NumDict(dict_4) num_dict_5 = NumDict(dict_5) num_dict_6 = NumDict(dict_6) num_dict_7 = NumDict(dict_7) # Most NumDicts from dicts should compare equal... self.assertEqual(num_dict, {}) self.assertEqual(num_dict_0, dict_0) self.assertEqual(num_dict_1, dict_1) self.assertEqual(num_dict_2, dict_2) # ...however, numeric keys are not equal to numeric string keys... self.assertNotEqual(num_dict_3, dict_3) self.assertNotEqual(num_dict_4, dict_4) self.assertNotEqual(num_dict_5, dict_5) self.assertNotEqual(num_dict_6, dict_6) # ...but None keys work just fine self.assertEqual(num_dict_7, dict_7) # Construct dicts from NumDicts dict_from_num_dict = dict(num_dict) dict_from_num_dict_1 = dict(num_dict_1) dict_from_num_dict_2 = dict(num_dict_2) dict_from_num_dict_3 = dict(num_dict_3) dict_from_num_dict_4 = dict(num_dict_4) dict_from_num_dict_5 = dict(num_dict_5) dict_from_num_dict_6 = dict(num_dict_6) dict_from_num_dict_7 = dict(num_dict_7) # All dicts from NumDicts should compare equal self.assertEqual(num_dict, dict_from_num_dict) self.assertEqual(num_dict_1, dict_from_num_dict_1) self.assertEqual(num_dict_2, dict_from_num_dict_2) self.assertEqual(num_dict_3, dict_from_num_dict_3) self.assertEqual(num_dict_4, dict_from_num_dict_4) self.assertEqual(num_dict_5, dict_from_num_dict_5) self.assertEqual(num_dict_6, dict_from_num_dict_6) self.assertEqual(num_dict_7, dict_from_num_dict_7) # Construct NumDicts from NumDicts num_dict_from_num_dict = NumDict(num_dict) num_dict_from_num_dict_0 = NumDict(num_dict_0) num_dict_from_num_dict_1 = NumDict(num_dict_1) num_dict_from_num_dict_2 = NumDict(num_dict_2) num_dict_from_num_dict_3 = NumDict(num_dict_3) num_dict_from_num_dict_4 = NumDict(num_dict_4) num_dict_from_num_dict_5 = NumDict(num_dict_5) num_dict_from_num_dict_6 = NumDict(num_dict_6) num_dict_from_num_dict_7 = NumDict(num_dict_7) # All NumDicts from NumDicts should compare equal self.assertEqual(num_dict, num_dict_from_num_dict) self.assertEqual(num_dict_0, num_dict_from_num_dict_0) self.assertEqual(num_dict_1, num_dict_from_num_dict_1) self.assertEqual(num_dict_2, num_dict_from_num_dict_2) self.assertEqual(num_dict_3, num_dict_from_num_dict_3) self.assertEqual(num_dict_4, num_dict_from_num_dict_4) self.assertEqual(num_dict_5, num_dict_from_num_dict_5) self.assertEqual(num_dict_6, num_dict_from_num_dict_6) self.assertEqual(num_dict_7, num_dict_from_num_dict_7) # keyword arg constructor should fail with self.assertRaises(TypeError): NumDict(one=1, two=2) # Raise TypeError since we can't have numeric keywords # item sequence constructors work fine... self.assertEqual(NumDict([(1, 'Elephant'), (2, 'Mouse')]), dict_from_num_dict_2) self.assertEqual(NumDict(dict=[(1, 'Elephant'), (2, 'Mouse')]), dict_from_num_dict_2) self.assertEqual(NumDict([(1, 'Elephant'), ('2', 'Mouse')]), dict_from_num_dict_2) self.assertEqual(NumDict(dict=[('1', 'Elephant'), (2, 'Mouse')]), dict_from_num_dict_2) # ...unless you have a non-numeric key with self.assertRaises(TypeError): NumDict([('Rat', 11), ('Snake', 12)]) with self.assertRaises(TypeError): NumDict(dict=[('Rat', 11), ('Snake', 12)]) # combining item sequence constructors with keyword args does not work with self.assertRaises(TypeError): # Raise TypeError since we can't have numeric keywords NumDict([(1, 'one'), (2, 'two')], two=3, five=4) # alternate constructors dict_8 = {1: 'Echo', 2: 'Echo'} self.assertEqual(NumDict.fromkeys('1 2'.split()), dict_from_num_dict_6) self.assertEqual(NumDict().fromkeys('1 2'.split()), dict_from_num_dict_6) self.assertEqual(NumDict.fromkeys('1 2'.split(), 'Echo'), dict_8) self.assertEqual(NumDict().fromkeys('1 2'.split(), 'Echo'), dict_8) self.assertTrue(num_dict_1.fromkeys('1 2'.split()) is not num_dict_1) self.assertIsInstance(num_dict_1.fromkeys('1 2'.split()), NumDict) self.assertIsInstance(num_dict_2.fromkeys('1 2'.split()), NumDict) self.assertIsInstance(num_dict_3.fromkeys('1 2'.split()), NumDict) self.assertIsInstance(num_dict_4.fromkeys('1 2'.split()), NumDict) def test_repr(self): # pylint: disable=too-many-locals """ Test representation of NumDicts """ # dicts for testing dict_0 = {} # Empty dictionary dict_1 = {1: 'Elephant'} # Single numeric key dict_2 = {1: 'Elephant', 2: 'Mouse'} # Multiple numeric keys dict_3 = {'3': 'Aardvark'} # Numeric string key dict_4 = {'3': 'Aardvark', '4': 'Ant'} # Multiple numeric string keys dict_5 = {5: 'Cat', '6': 'Dog'} # Mixed numeric and numeric string keys dict_6 = {1: None, '2': None} # None as values dict_7 = {None: 'Empty'} # None as key # Construct NumDicts from dicts num_dict = NumDict() num_dict_0 = NumDict(dict_0) num_dict_1 = NumDict(dict_1) num_dict_2 = NumDict(dict_2) num_dict_3 = NumDict(dict_3) num_dict_4 = NumDict(dict_4) num_dict_5 = NumDict(dict_5) num_dict_6 = NumDict(dict_6) num_dict_7 = NumDict(dict_7) reps = ( "{}", "{1: 'Elephant'}", "{1: 'Elephant', 2: 'Mouse'}", "'3': 'Aardvark'", "{'3': 'Aardvark', '4': 'Ant'}", "{5: 'Cat', '6': 'Dog'}", "{1: None, '2': None}", "{None: 'Empty'}", ) # Most representations of NumDicts should compare equal to dicts... self.assertEqual(str(num_dict), str({})) self.assertEqual(repr(num_dict), repr({})) self.assertIn(repr(num_dict), reps) self.assertEqual(str(num_dict_0), str(dict_0)) self.assertEqual(repr(num_dict_0), repr(dict_0)) self.assertIn(repr(num_dict_0), reps) self.assertEqual(str(num_dict_1), str(dict_1)) self.assertEqual(repr(num_dict_1), repr(dict_1)) self.assertIn(repr(num_dict_1), reps) self.assertEqual(str(num_dict_2), str(dict_2)) self.assertEqual(repr(num_dict_2), repr(dict_2)) self.assertIn(repr(num_dict_2), reps) # ...however, numeric keys are not equal to numeric string keys... # ...so the string representations for those are different... self.assertNotEqual(str(num_dict_3), str(dict_3)) self.assertNotEqual(repr(num_dict_3), repr(dict_3)) self.assertNotIn(repr(num_dict_3), reps) self.assertNotEqual(str(num_dict_4), str(dict_4)) self.assertNotEqual(repr(num_dict_4), repr(dict_4)) self.assertNotIn(repr(num_dict_4), reps) self.assertNotEqual(str(num_dict_5), str(dict_5)) self.assertNotEqual(repr(num_dict_5), repr(dict_5)) self.assertNotIn(repr(num_dict_5), reps) self.assertNotEqual(str(num_dict_6), str(dict_6)) self.assertNotEqual(repr(num_dict_6), repr(dict_6)) self.assertNotIn(repr(num_dict_6), reps) # ...but None keys work just fine self.assertEqual(str(num_dict_7), str(dict_7)) self.assertEqual(repr(num_dict_7), repr(dict_7)) self.assertIn(repr(num_dict_7), reps) def test_rich_comparison_and_len(self): """ Test rich comparison and length """ # dicts for testing dict_0 = {} # Empty dictionary dict_1 = {1: 'Elephant'} # Single numeric key dict_2 = {1: 'Elephant', 2: 'Mouse'} # Multiple numeric keys # Construct NumDicts from dicts num_dict = NumDict() num_dict_0 = NumDict(dict_0) num_dict_1 = NumDict(dict_1) num_dict_2 = NumDict(dict_2) # Construct NumDicts from NumDicts num_dict_from_num_dict = NumDict(num_dict) num_dict_from_num_dict_0 = NumDict(num_dict_0) num_dict_from_num_dict_1 = NumDict(num_dict_1) num_dict_from_num_dict_2 = NumDict(num_dict_2) all_dicts = [dict_0, dict_1, dict_2, num_dict, num_dict_0, num_dict_1, num_dict_2, num_dict_from_num_dict, num_dict_from_num_dict_0, num_dict_from_num_dict_1, num_dict_from_num_dict_2] for val_a in all_dicts: for val_b in all_dicts: self.assertEqual(val_a == val_b, len(val_a) == len(val_b)) def test_dict_access_and_mod(self): # pylint: disable=too-many-locals, too-many-statements """ Test num dict access and modification """ # dicts for testing dict_0 = {} # Empty dictionary dict_1 = {1: 'Elephant'} # Single numeric key dict_2 = {1: 'Elephant', 2: 'Mouse'} # Multiple numeric keys # Construct NumDicts from dicts num_dict_0 = NumDict() num_dict_1 = NumDict(dict_1) num_dict_2 = NumDict(dict_2) # test __getitem__ self.assertEqual(num_dict_2[1], 'Elephant') with self.assertRaises(KeyError): _ = num_dict_1['Mouse'] # key is not numeric with self.assertRaises(KeyError): _ = num_dict_1.__getitem__('Mouse') # key is not numeric with self.assertRaises(KeyError): _ = num_dict_1[None] # key does not exist with self.assertRaises(KeyError): _ = num_dict_1.__getitem__(None) # key does not exist # Test __setitem__ num_dict_3 = NumDict(num_dict_2) self.assertEqual(num_dict_2, num_dict_3) num_dict_3[2] = 'Frog' self.assertNotEqual(num_dict_2, num_dict_3) # Check None keys and numeric key conversion num_dict_3['3'] = 'Armadillo' num_dict_3[None] = 'Cockroach' # Check long ints num_dict_3[12390809518259081208909880312] = 'Squid' num_dict_3['12390809518259081208909880312'] = 'Octopus' self.assertEqual(num_dict_3[12390809518259081208909880312], 'Octopus') with self.assertRaises(TypeError): num_dict_3.__setitem__('Gorilla', 1) # key is not numeric with self.assertRaises(TypeError): num_dict_3['Chimpanzee'] = 1 # key is not numeric with self.assertRaises(TypeError): num_dict_3[(4, 1)] = 1 # key is not numeric with self.assertRaises(TypeError): num_dict_3[[1, 3, 4]] = 1 # key is not numeric and is not hashable # Test __delitem__ del num_dict_3[3] del num_dict_3[None] with self.assertRaises(KeyError): del num_dict_3[3] # already deleted with self.assertRaises(KeyError): num_dict_3.__delitem__(3) # already deleted with self.assertRaises(KeyError): del num_dict_3['Mouse'] # key would not exist, since it is not numeric # Test clear num_dict_3.clear() self.assertEqual(num_dict_3, {}) # Test copy() num_dict_2a = dict_2.copy() self.assertEqual(num_dict_2, num_dict_2a) num_dict_2b = num_dict_2.copy() self.assertEqual(num_dict_2b, num_dict_2) num_dict_2c = UserDict({1: 'Elephant', 2: 'Mouse'}) num_dict_2d = num_dict_2c.copy() # making a copy of a UserDict is special cased self.assertEqual(num_dict_2c, num_dict_2d) class MyNumDict(NumDict): """ subclass Numdict for testing """ def display(self): """ add a method to subclass to differentiate from superclass """ print('MyNumDict:', self) my_num_dict = MyNumDict(num_dict_2) my_num_dict_a = my_num_dict.copy() self.assertEqual(my_num_dict_a, my_num_dict) my_num_dict[1] = 'Frog' self.assertNotEqual(my_num_dict_a, my_num_dict) # Test keys, items, values self.assertEqual(sorted(num_dict_2.keys()), sorted(dict_2.keys())) self.assertEqual(sorted(num_dict_2.items()), sorted(dict_2.items())) self.assertEqual(sorted(num_dict_2.values()), sorted(dict_2.values())) # Test "in". for i in num_dict_2: self.assertIn(i, num_dict_2) self.assertEqual(i in num_dict_1, i in dict_1) self.assertEqual(i in num_dict_0, i in dict_0) self.assertFalse(None in num_dict_2) self.assertEqual(None in num_dict_2, None in dict_2) dict_2[None] = 'Cow' num_dict_2[None] = dict_2[None] self.assertTrue(None in num_dict_2) self.assertEqual(None in num_dict_2, None in dict_2) self.assertEqual(num_dict_2.has_key(None), None in dict_2) if not PY3: self.assertEqual(num_dict_2.has_key(None), dict_2.has_key(None)) self.assertFalse('Penguin' in num_dict_2) # Test update test = NumDict() test.update(dict_2) self.assertEqual(test, num_dict_2) # Test get for i in num_dict_2: self.assertEqual(num_dict_2.get(i), num_dict_2[i]) self.assertEqual(num_dict_1.get(i), dict_1.get(i)) self.assertEqual(num_dict_0.get(i), dict_0.get(i)) for i in ['purple', None, 12312301924091284, 23]: self.assertEqual(num_dict_2.get(i), dict_2.get(i), i) with self.assertRaises(AssertionError): i = '1' self.assertEqual(num_dict_2.get(i), dict_2.get(i), i) # dict_2 expects string key which does not exist # Test "in" iteration. num_dict_2b = num_dict_2 for i in range(20): num_dict_2[i] = str(i) num_dict_2b[str(i)] = str(i) self.assertEqual(num_dict_2, num_dict_2b) ikeys = [] for k in num_dict_2: ikeys.append(k) self.assertEqual(set(ikeys), set(num_dict_2.keys())) # Test setdefault val = 1 test = NumDict() self.assertEqual(test.setdefault(val, 42), 42) self.assertEqual(test.setdefault(val, '42'), 42) self.assertNotEqual(test.setdefault(val, 42), '42') self.assertNotEqual(test.setdefault(val, '42'), '42') self.assertIn(val, test) self.assertEqual(test.setdefault(val, 23), 42) self.assertEqual(test.setdefault(val, '23'), 42) self.assertNotEqual(test.setdefault(val, 23), '42') self.assertNotEqual(test.setdefault(val, '23'), '42') self.assertIn(val, test) # Test pop val = 1 test = NumDict({val: 42}) self.assertEqual(test.pop(val), 42) self.assertRaises(KeyError, test.pop, val) self.assertEqual(test.pop(val, 1), 1) test[val] = 42 self.assertEqual(test.pop(val, 1), 42) # Test popitem val = 1 test = NumDict({val: 42}) self.assertEqual(test.popitem(), (val, 42)) self.assertRaises(KeyError, test.popitem) def test_missing(self): """ Test missing keys """ # Make sure NumDict doesn't have a __missing__ method self.assertEqual(hasattr(NumDict, "__missing__"), False) class NumDictD(NumDict): """ subclass defines __missing__ method returning a value """ def __missing__(self, key): # pylint: disable=no-self-use key = 42 return key num_dict_d = NumDictD({1: 2, 3: 4}) self.assertEqual(num_dict_d[1], 2) self.assertEqual(num_dict_d[3], 4) self.assertNotIn(2, num_dict_d) self.assertNotIn(2, num_dict_d.keys()) self.assertEqual(num_dict_d[2], 42) class NumDictE(NumDict): """ subclass defines __missing__ method raising RuntimeError """ def __missing__(self, key): # pylint: disable=no-self-use raise RuntimeError(key) num_dict_e = NumDictE() try: num_dict_e[42] except RuntimeError as err: self.assertEqual(err.args, (42,)) else: self.fail("num_dict_e[42] didn't raise RuntimeError") class NumDictF(NumDict): """ subclass sets __missing__ instance variable (no effect) """ def __init__(self): # An instance variable __missing__ should have no effect self.__missing__ = lambda key: None NumDict.__init__(self) num_dict_f = NumDictF() try: num_dict_f[42] except KeyError as err: self.assertEqual(err.args, (42,)) else: self.fail("num_dict_f[42] didn't raise KeyError") class NumDictG(NumDict): """ subclass doesn't define __missing__ at a all """ pass num_dict_g = NumDictG() try: num_dict_g[42] except KeyError as err: self.assertEqual(err.args, (42,)) else: self.fail("num_dict_g[42] didn't raise KeyError") class NumDictH(NumDictD): """ subclass calls super classes __missing__ and modifies the value before returning it """ def __missing__(self, key): # pylint: disable=arguments-differ return super(NumDictH, self).__missing__(key) + 1 num_dict_h = NumDictH() self.assertEqual(num_dict_h[None], num_dict_d[None] + 1) def test_main(): """ Run tests when run as main """ import logging log = logging.getLogger(__name__) logging.basicConfig(level=logging.DEBUG) log.info("=======================") log.info("STARTING - COMMON TESTS") log.info("=======================") log.info("######################################################################") suite = unittest.TestLoader().loadTestsFromTestCase(NumDictTest) unittest.TextTestRunner(verbosity=2).run(suite) if __name__ == "__main__": test_main()
unknown
codeparrot/codeparrot-clean
/* Copyright (c) 2024, 2025, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is designed to work with certain software (including but not limited to OpenSSL) that is licensed under separate terms, as designated in a particular file or component or in included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the separately licensed software that they have either included with the program or referenced in the documentation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KEYRING_FILE_COMPONENT_OPTION_USAGE_H #define KEYRING_FILE_COMPONENT_OPTION_USAGE_H extern bool keyring_file_component_option_usage_init(); extern bool keyring_file_component_option_usage_deinit(); extern unsigned long long opt_option_tracker_usage_file_keyring; #endif /* KEYRING_FILE_COMPONENT_OPTION_USAGE_H */
c
github
https://github.com/mysql/mysql-server
components/keyrings/keyring_file/option_usage.h
from __future__ import absolute_import from django.conf import settings try: from django.conf.urls import url, patterns except ImportError: # for Django version less than 1.4 from django.conf.urls.defaults import url, patterns # NOQA from django.http import HttpResponse def handler404(request): return HttpResponse('', status=404) def handler500(request): if getattr(settings, 'BREAK_THAT_500', False): raise ValueError('handler500') return HttpResponse('', status=500) urlpatterns = patterns('', url(r'^no-error$', 'tests.contrib.django.views.no_error', name='sentry-no-error'), url(r'^fake-login$', 'tests.contrib.django.views.fake_login', name='sentry-fake-login'), url(r'^trigger-500$', 'tests.contrib.django.views.raise_exc', name='sentry-raise-exc'), url(r'^trigger-500-ioerror$', 'tests.contrib.django.views.raise_ioerror', name='sentry-raise-ioerror'), url(r'^trigger-500-decorated$', 'tests.contrib.django.views.decorated_raise_exc', name='sentry-raise-exc-decor'), url(r'^trigger-500-django$', 'tests.contrib.django.views.django_exc', name='sentry-django-exc'), url(r'^trigger-500-template$', 'tests.contrib.django.views.template_exc', name='sentry-template-exc'), url(r'^trigger-500-log-request$', 'tests.contrib.django.views.logging_request_exc', name='sentry-log-request-exc'), )
unknown
codeparrot/codeparrot-clean
# Copyright (c) 2018 Cisco and/or its affiliates. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # import json from ansible.module_utils.six.moves.urllib.error import HTTPError from units.compat import mock from units.compat import unittest from units.compat.builtins import BUILTINS from units.compat.mock import mock_open, patch from ansible.errors import AnsibleConnectionFailure from ansible.module_utils.connection import ConnectionError from ansible.module_utils.network.ftd.common import HTTPMethod, ResponseParams from ansible.module_utils.network.ftd.fdm_swagger_client import SpecProp, FdmSwaggerParser from ansible.module_utils.six import BytesIO, StringIO from ansible.plugins.httpapi.ftd import HttpApi EXPECTED_BASE_HEADERS = { 'Accept': 'application/json', 'Content-Type': 'application/json' } class FakeFtdHttpApiPlugin(HttpApi): def __init__(self, conn): super(FakeFtdHttpApiPlugin, self).__init__(conn) self.hostvars = { 'token_path': '/testLoginUrl', 'spec_path': '/testSpecUrl' } def get_option(self, var): return self.hostvars[var] class TestFtdHttpApi(unittest.TestCase): def setUp(self): self.connection_mock = mock.Mock() self.ftd_plugin = FakeFtdHttpApiPlugin(self.connection_mock) self.ftd_plugin.access_token = 'ACCESS_TOKEN' self.ftd_plugin._load_name = 'httpapi' def test_login_should_request_tokens_when_no_refresh_token(self): self.connection_mock.send.return_value = self._connection_response( {'access_token': 'ACCESS_TOKEN', 'refresh_token': 'REFRESH_TOKEN'} ) self.ftd_plugin.login('foo', 'bar') assert 'ACCESS_TOKEN' == self.ftd_plugin.access_token assert 'REFRESH_TOKEN' == self.ftd_plugin.refresh_token assert {'Authorization': 'Bearer ACCESS_TOKEN'} == self.ftd_plugin.connection._auth expected_body = json.dumps({'grant_type': 'password', 'username': 'foo', 'password': 'bar'}) self.connection_mock.send.assert_called_once_with(mock.ANY, expected_body, headers=mock.ANY, method=mock.ANY) def test_login_should_update_tokens_when_refresh_token_exists(self): self.ftd_plugin.refresh_token = 'REFRESH_TOKEN' self.connection_mock.send.return_value = self._connection_response( {'access_token': 'NEW_ACCESS_TOKEN', 'refresh_token': 'NEW_REFRESH_TOKEN'} ) self.ftd_plugin.login('foo', 'bar') assert 'NEW_ACCESS_TOKEN' == self.ftd_plugin.access_token assert 'NEW_REFRESH_TOKEN' == self.ftd_plugin.refresh_token assert {'Authorization': 'Bearer NEW_ACCESS_TOKEN'} == self.ftd_plugin.connection._auth expected_body = json.dumps({'grant_type': 'refresh_token', 'refresh_token': 'REFRESH_TOKEN'}) self.connection_mock.send.assert_called_once_with(mock.ANY, expected_body, headers=mock.ANY, method=mock.ANY) def test_login_should_use_host_variable_when_set(self): temp_token_path = self.ftd_plugin.hostvars['token_path'] self.ftd_plugin.hostvars['token_path'] = '/testFakeLoginUrl' self.connection_mock.send.return_value = self._connection_response( {'access_token': 'ACCESS_TOKEN', 'refresh_token': 'REFRESH_TOKEN'} ) self.ftd_plugin.login('foo', 'bar') self.connection_mock.send.assert_called_once_with('/testFakeLoginUrl', mock.ANY, headers=mock.ANY, method=mock.ANY) self.ftd_plugin.hostvars['token_path'] = temp_token_path def test_login_raises_exception_when_no_refresh_token_and_no_credentials(self): with self.assertRaises(AnsibleConnectionFailure) as res: self.ftd_plugin.login(None, None) assert 'Username and password are required' in str(res.exception) def test_login_raises_exception_when_invalid_response(self): self.connection_mock.send.return_value = self._connection_response( {'no_access_token': 'ACCESS_TOKEN'} ) with self.assertRaises(ConnectionError) as res: self.ftd_plugin.login('foo', 'bar') assert 'Server returned response without token info during connection authentication' in str(res.exception) def test_login_raises_exception_when_http_error(self): self.connection_mock.send.side_effect = HTTPError('http://testhost.com', 400, '', {}, StringIO('{"message": "Failed to authenticate user"}')) with self.assertRaises(ConnectionError) as res: self.ftd_plugin.login('foo', 'bar') assert 'Failed to authenticate user' in str(res.exception) def test_logout_should_revoke_tokens(self): self.ftd_plugin.access_token = 'ACCESS_TOKEN_TO_REVOKE' self.ftd_plugin.refresh_token = 'REFRESH_TOKEN_TO_REVOKE' self.connection_mock.send.return_value = self._connection_response(None) self.ftd_plugin.logout() assert self.ftd_plugin.access_token is None assert self.ftd_plugin.refresh_token is None expected_body = json.dumps({'grant_type': 'revoke_token', 'access_token': 'ACCESS_TOKEN_TO_REVOKE', 'token_to_revoke': 'REFRESH_TOKEN_TO_REVOKE'}) self.connection_mock.send.assert_called_once_with(mock.ANY, expected_body, headers=mock.ANY, method=mock.ANY) def test_send_request_should_send_correct_request(self): exp_resp = {'id': '123', 'name': 'foo'} self.connection_mock.send.return_value = self._connection_response(exp_resp) resp = self.ftd_plugin.send_request('/test/{objId}', HTTPMethod.PUT, body_params={'name': 'foo'}, path_params={'objId': '123'}, query_params={'at': 0}) assert {ResponseParams.SUCCESS: True, ResponseParams.STATUS_CODE: 200, ResponseParams.RESPONSE: exp_resp} == resp self.connection_mock.send.assert_called_once_with('/test/123?at=0', '{"name": "foo"}', method=HTTPMethod.PUT, headers=EXPECTED_BASE_HEADERS) def test_send_request_should_return_empty_dict_when_no_response_data(self): self.connection_mock.send.return_value = self._connection_response(None) resp = self.ftd_plugin.send_request('/test', HTTPMethod.GET) assert {ResponseParams.SUCCESS: True, ResponseParams.STATUS_CODE: 200, ResponseParams.RESPONSE: {}} == resp self.connection_mock.send.assert_called_once_with('/test', None, method=HTTPMethod.GET, headers=EXPECTED_BASE_HEADERS) def test_send_request_should_return_error_info_when_http_error_raises(self): self.connection_mock.send.side_effect = HTTPError('http://testhost.com', 500, '', {}, StringIO('{"errorMessage": "ERROR"}')) resp = self.ftd_plugin.send_request('/test', HTTPMethod.GET) assert {ResponseParams.SUCCESS: False, ResponseParams.STATUS_CODE: 500, ResponseParams.RESPONSE: {'errorMessage': 'ERROR'}} == resp def test_send_request_raises_exception_when_invalid_response(self): self.connection_mock.send.return_value = self._connection_response('nonValidJson') with self.assertRaises(ConnectionError) as res: self.ftd_plugin.send_request('/test', HTTPMethod.GET) assert 'Invalid JSON response' in str(res.exception) def test_handle_httperror_should_update_tokens_and_retry_on_auth_errors(self): self.ftd_plugin.refresh_token = 'REFRESH_TOKEN' self.connection_mock.send.return_value = self._connection_response( {'access_token': 'NEW_ACCESS_TOKEN', 'refresh_token': 'NEW_REFRESH_TOKEN'} ) retry = self.ftd_plugin.handle_httperror(HTTPError('http://testhost.com', 401, '', {}, None)) assert retry assert 'NEW_ACCESS_TOKEN' == self.ftd_plugin.access_token assert 'NEW_REFRESH_TOKEN' == self.ftd_plugin.refresh_token def test_handle_httperror_should_not_retry_on_non_auth_errors(self): assert not self.ftd_plugin.handle_httperror(HTTPError('http://testhost.com', 500, '', {}, None)) def test_handle_httperror_should_not_retry_when_ignoring_http_errors(self): self.ftd_plugin._ignore_http_errors = True assert not self.ftd_plugin.handle_httperror(HTTPError('http://testhost.com', 401, '', {}, None)) @patch('os.path.isdir', mock.Mock(return_value=False)) def test_download_file(self): self.connection_mock.send.return_value = self._connection_response('File content') open_mock = mock_open() with patch('%s.open' % BUILTINS, open_mock): self.ftd_plugin.download_file('/files/1', '/tmp/test.txt') open_mock.assert_called_once_with('/tmp/test.txt', 'wb') open_mock().write.assert_called_once_with(b'File content') @patch('os.path.isdir', mock.Mock(return_value=True)) def test_download_file_should_extract_filename_from_headers(self): filename = 'test_file.txt' response = mock.Mock() response.info.return_value = {'Content-Disposition': 'attachment; filename="%s"' % filename} dummy, response_data = self._connection_response('File content') self.connection_mock.send.return_value = response, response_data open_mock = mock_open() with patch('%s.open' % BUILTINS, open_mock): self.ftd_plugin.download_file('/files/1', '/tmp/') open_mock.assert_called_once_with('/tmp/%s' % filename, 'wb') open_mock().write.assert_called_once_with(b'File content') @patch('os.path.basename', mock.Mock(return_value='test.txt')) @patch('ansible.plugins.httpapi.ftd.encode_multipart_formdata', mock.Mock(return_value=('--Encoded data--', 'multipart/form-data'))) def test_upload_file(self): self.connection_mock.send.return_value = self._connection_response({'id': '123'}) open_mock = mock_open() with patch('%s.open' % BUILTINS, open_mock): resp = self.ftd_plugin.upload_file('/tmp/test.txt', '/files') assert {'id': '123'} == resp exp_headers = dict(EXPECTED_BASE_HEADERS) exp_headers['Content-Length'] = len('--Encoded data--') exp_headers['Content-Type'] = 'multipart/form-data' self.connection_mock.send.assert_called_once_with('/files', data='--Encoded data--', headers=exp_headers, method=HTTPMethod.POST) open_mock.assert_called_once_with('/tmp/test.txt', 'rb') @patch('os.path.basename', mock.Mock(return_value='test.txt')) @patch('ansible.plugins.httpapi.ftd.encode_multipart_formdata', mock.Mock(return_value=('--Encoded data--', 'multipart/form-data'))) def test_upload_file_raises_exception_when_invalid_response(self): self.connection_mock.send.return_value = self._connection_response('invalidJsonResponse') open_mock = mock_open() with patch('%s.open' % BUILTINS, open_mock): with self.assertRaises(ConnectionError) as res: self.ftd_plugin.upload_file('/tmp/test.txt', '/files') assert 'Invalid JSON response' in str(res.exception) @patch.object(FdmSwaggerParser, 'parse_spec') def test_get_operation_spec(self, parse_spec_mock): self.connection_mock.send.return_value = self._connection_response(None) parse_spec_mock.return_value = { SpecProp.OPERATIONS: {'testOp': 'Specification for testOp'} } assert 'Specification for testOp' == self.ftd_plugin.get_operation_spec('testOp') assert self.ftd_plugin.get_operation_spec('nonExistingTestOp') is None @patch.object(FdmSwaggerParser, 'parse_spec') def test_get_model_spec(self, parse_spec_mock): self.connection_mock.send.return_value = self._connection_response(None) parse_spec_mock.return_value = { SpecProp.MODELS: {'TestModel': 'Specification for TestModel'} } assert 'Specification for TestModel' == self.ftd_plugin.get_model_spec('TestModel') assert self.ftd_plugin.get_model_spec('NonExistingTestModel') is None @patch.object(FdmSwaggerParser, 'parse_spec') def test_get_model_spec(self, parse_spec_mock): self.connection_mock.send.return_value = self._connection_response(None) operation1 = {'modelName': 'TestModel'} op_model_name_is_none = {'modelName': None} op_without_model_name = {'url': 'testUrl'} parse_spec_mock.return_value = { SpecProp.MODEL_OPERATIONS: { 'TestModel': { 'testOp1': operation1, 'testOp2': 'spec2' }, 'TestModel2': { 'testOp10': 'spec10', 'testOp20': 'spec20' } }, SpecProp.OPERATIONS: { 'testOp1': operation1, 'testOp10': { 'modelName': 'TestModel2' }, 'testOpWithoutModelName': op_without_model_name, 'testOpModelNameIsNone': op_model_name_is_none } } assert {'testOp1': operation1, 'testOp2': 'spec2'} == self.ftd_plugin.get_operation_specs_by_model_name( 'TestModel') assert None is self.ftd_plugin.get_operation_specs_by_model_name( 'testOpModelNameIsNone') assert None is self.ftd_plugin.get_operation_specs_by_model_name( 'testOpWithoutModelName') assert self.ftd_plugin.get_operation_specs_by_model_name('nonExistingOperation') is None @staticmethod def _connection_response(response, status=200): response_mock = mock.Mock() response_mock.getcode.return_value = status response_text = json.dumps(response) if type(response) is dict else response response_data = BytesIO(response_text.encode() if response_text else ''.encode()) return response_mock, response_data
unknown
codeparrot/codeparrot-clean
/* * Copyright (C) 2011 The Guava Authors * * 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. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE; import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.testing.IteratorTester; import com.google.common.collect.testing.features.CollectionFeature; import java.lang.reflect.Method; import java.util.Iterator; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Tester to make sure the {@code iterator().remove()} implementation of {@code Multiset} works when * there are multiple occurrences of elements. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class MultisetIteratorTester<E extends @Nullable Object> extends AbstractMultisetTester<E> { @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER}) public void testRemovingIteratorKnownOrder() { new IteratorTester<E>( 4, MODIFIABLE, getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); } @CollectionFeature.Require(value = SUPPORTS_ITERATOR_REMOVE, absent = KNOWN_ORDER) public void testRemovingIteratorUnknownOrder() { new IteratorTester<E>( 4, MODIFIABLE, asList(e0(), e1(), e1(), e2()), IteratorTester.KnownOrder.UNKNOWN_ORDER) { @Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); } @CollectionFeature.Require(value = KNOWN_ORDER, absent = SUPPORTS_ITERATOR_REMOVE) public void testIteratorKnownOrder() { new IteratorTester<E>( 4, UNMODIFIABLE, getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); } @CollectionFeature.Require(absent = {SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER}) public void testIteratorUnknownOrder() { new IteratorTester<E>( 4, UNMODIFIABLE, asList(e0(), e1(), e1(), e2()), IteratorTester.KnownOrder.UNKNOWN_ORDER) { @Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); } /** * Returns {@link Method} instances for the tests that assume multisets support duplicates so that * the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getIteratorDuplicateInitializingMethods() { return asList( getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder")); } }
java
github
https://github.com/google/guava
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
# Copyright (c) 2016 EMC Corporation # 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. """Driver for EMC CoprHD iSCSI volumes.""" from oslo_log import log as logging from cinder import interface from cinder.volume import driver from cinder.volume.drivers.coprhd import common as coprhd_common LOG = logging.getLogger(__name__) @interface.volumedriver class EMCCoprHDISCSIDriver(driver.ISCSIDriver): """CoprHD iSCSI Driver.""" VERSION = "3.0.0.0" # ThirdPartySystems wiki page name CI_WIKI_NAME = "EMC_CoprHD_CI" def __init__(self, *args, **kwargs): super(EMCCoprHDISCSIDriver, self).__init__(*args, **kwargs) self.common = self._get_common_driver() def _get_common_driver(self): return coprhd_common.EMCCoprHDDriverCommon( protocol='iSCSI', default_backend_name=self.__class__.__name__, configuration=self.configuration) def check_for_setup_error(self): self.common.check_for_setup_error() def create_volume(self, volume): """Creates a Volume.""" self.common.create_volume(volume, self) self.common.set_volume_tags(volume, ['_obj_volume_type']) def create_cloned_volume(self, volume, src_vref): """Creates a cloned Volume.""" self.common.create_cloned_volume(volume, src_vref) self.common.set_volume_tags(volume, ['_obj_volume_type']) def create_volume_from_snapshot(self, volume, snapshot): """Creates a volume from a snapshot.""" self.common.create_volume_from_snapshot(snapshot, volume) self.common.set_volume_tags(volume, ['_obj_volume_type']) def extend_volume(self, volume, new_size): """expands the size of the volume.""" self.common.expand_volume(volume, new_size) def delete_volume(self, volume): """Deletes an volume.""" self.common.delete_volume(volume) def create_snapshot(self, snapshot): """Creates a snapshot.""" self.common.create_snapshot(snapshot) def delete_snapshot(self, snapshot): """Deletes a snapshot.""" self.common.delete_snapshot(snapshot) def ensure_export(self, context, volume): """Driver entry point to get the export info for an existing volume.""" pass def create_export(self, context, volume, connector=None): """Driver entry point to get the export info for a new volume.""" pass def remove_export(self, context, volume): """Driver entry point to remove an export for a volume.""" pass def create_consistencygroup(self, context, group): """Creates a consistencygroup.""" return self.common.create_consistencygroup(context, group) def delete_consistencygroup(self, context, group, volumes): """Deletes a consistency group.""" return self.common.delete_consistencygroup(context, group, volumes) def update_consistencygroup(self, context, group, add_volumes=None, remove_volumes=None): """Updates volumes in consistency group.""" return self.common.update_consistencygroup(group, add_volumes, remove_volumes) def create_cgsnapshot(self, context, cgsnapshot, snapshots): """Creates a cgsnapshot.""" return self.common.create_cgsnapshot(cgsnapshot, snapshots) def delete_cgsnapshot(self, context, cgsnapshot, snapshots): """Deletes a cgsnapshot.""" return self.common.delete_cgsnapshot(cgsnapshot, snapshots) def check_for_export(self, context, volume_id): """Make sure volume is exported.""" pass def initialize_connection(self, volume, connector): """Initializes the connection and returns connection info.""" initiator_ports = [] initiator_ports.append(connector['initiator']) itls = self.common.initialize_connection(volume, 'iSCSI', initiator_ports, connector['host']) properties = {} properties['target_discovered'] = False properties['volume_id'] = volume['id'] if itls: properties['target_iqn'] = itls[0]['target']['port'] properties['target_portal'] = '%s:%s' % ( itls[0]['target']['ip_address'], itls[0]['target']['tcp_port']) properties['target_lun'] = itls[0]['hlu'] auth = volume['provider_auth'] if auth: (auth_method, auth_username, auth_secret) = auth.split() properties['auth_method'] = auth_method properties['auth_username'] = auth_username properties['auth_password'] = auth_secret LOG.debug("ISCSI properties: %s", properties) return { 'driver_volume_type': 'iscsi', 'data': properties, } def terminate_connection(self, volume, connector, **kwargs): """Disallow connection from connector.""" init_ports = [] init_ports.append(connector['initiator']) self.common.terminate_connection(volume, 'iSCSI', init_ports, connector['host']) def get_volume_stats(self, refresh=False): """Get volume status. If 'refresh' is True, run update the stats first. """ if refresh: self.update_volume_stats() return self._stats def update_volume_stats(self): """Retrieve stats info from virtual pool/virtual array.""" LOG.debug("Updating volume stats") self._stats = self.common.update_volume_stats() def retype(self, ctxt, volume, new_type, diff, host): """Change the volume type.""" return self.common.retype(ctxt, volume, new_type, diff, host)
unknown
codeparrot/codeparrot-clean
#!/usr/bin/python # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUMENTATION = ''' --- module: ce_vxlan_tunnel version_added: "2.4" short_description: Manages VXLAN tunnel configuration on HUAWEI CloudEngine devices. description: - This module offers the ability to set the VNI and mapped to the BD, and configure an ingress replication list on HUAWEI CloudEngine devices. author: - Li Yanfeng (@CloudEngine-Ansible) options: bridge_domain_id: description: - Specifies a bridge domain ID. The value is an integer ranging from 1 to 16777215. required: false default: null vni_id: description: - Specifies a VXLAN network identifier (VNI) ID. The value is an integer ranging from 1 to 16000000. required: false default: null nve_name: description: - Specifies the number of an NVE interface. The value ranges from 1 to 2. required: false default: null nve_mode: description: - Specifies the working mode of an NVE interface. required: false default: null choices: ['mode-l2','mode-l3'] peer_list_ip: description: - Specifies the IP address of a remote VXLAN tunnel endpoints (VTEP). The value is in dotted decimal notation. required: false default: null protocol_type: description: - The operation type of routing protocol. required: false default: null choices: ['bgp','null'] source_ip: description: - Specifies an IP address for a source VTEP. The value is in dotted decimal notation. required: false default: null state: description: - Manage the state of the resource. required: false default: present choices: ['present','absent'] ''' EXAMPLES = ''' - name: vxlan tunnel module test hosts: ce128 connection: local gather_facts: no vars: cli: host: "{{ inventory_hostname }}" port: "{{ ansible_ssh_port }}" username: "{{ username }}" password: "{{ password }}" transport: cli tasks: - name: Make sure nve_name is exist, ensure vni_id and protocol_type is configured on Nve1 interface. ce_vxlan_tunnel: nve_name: Nve1 vni_id: 100 protocol_type: bgp state: present provider: "{{ cli }}" ''' RETURN = ''' proposed: description: k/v pairs of parameters passed into module returned: always type: dict sample: {nve_interface_name": "Nve1", nve_mode": "mode-l2", "source_ip": "0.0.0.0"} existing: description: - k/v pairs of existing rollback returned: always type: dict sample: {nve_interface_name": "Nve1", nve_mode": "mode-l3", "source_ip": "0.0.0.0"} updates: description: command sent to the device returned: always type: list sample: ["interface Nve1", "mode l3"] changed: description: check to see if a change was made on the device returned: always type: boolean sample: true end_state: description: k/v pairs of configuration after module execution returned: always type: dict sample: {nve_interface_name": "Nve1", nve_mode": "mode-l3", "source_ip": "0.0.0.0"} ''' from xml.etree import ElementTree from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.ce import get_nc_config, set_nc_config, get_config, ce_argument_spec CE_NC_GET_VNI_BD_INFO = """ <filter type="subtree"> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Vni2Bds> <nvo3Vni2Bd> <vniId></vniId> <bdId></bdId> </nvo3Vni2Bd> </nvo3Vni2Bds> </nvo3> </filter> """ CE_NC_GET_NVE_INFO = """ <filter type="subtree"> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> </nvo3Nve> </nvo3Nves> </nvo3> </filter> </filter> """ CE_NC_MERGE_VNI_BD_ID = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Vni2Bds> <nvo3Vni2Bd operation="create"> <vniId>%s</vniId> <bdId>%s</bdId> </nvo3Vni2Bd> </nvo3Vni2Bds> </nvo3> </config> """ CE_NC_DELETE_VNI_BD_ID = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Vni2Bds> <nvo3Vni2Bd operation="delete"> <vniId>%s</vniId> <bdId>%s</bdId> </nvo3Vni2Bd> </nvo3Vni2Bds> </nvo3> </config> """ CE_NC_MERGE_NVE_MODE = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve operation="merge"> <ifName>%s</ifName> <nveType>%s</nveType> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_MERGE_NVE_SOURCE_IP_PROTOCOL = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve operation="merge"> <ifName>%s</ifName> <srcAddr>%s</srcAddr> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_MERGE_VNI_PEER_ADDRESS_IP_HEAD = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> <vniMembers> <vniMember> <vniId>%s</vniId> """ CE_NC_MERGE_VNI_PEER_ADDRESS_IP_END = """ </vniMember> </vniMembers> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_MERGE_VNI_PEER_ADDRESS_IP_MERGE = """ <nvo3VniPeers> <nvo3VniPeer operation="merge"> <peerAddr>%s</peerAddr> </nvo3VniPeer> </nvo3VniPeers> """ CE_NC_DELETE_VNI_PEER_ADDRESS_IP_HEAD = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> <vniMembers> <vniMember operation="delete"> <vniId>%s</vniId> """ CE_NC_DELETE_VNI_PEER_ADDRESS_IP_END = """ </vniMember> </vniMembers> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_DELETE_VNI_PEER_ADDRESS_IP_DELETE = """ <nvo3VniPeers> <nvo3VniPeer operation="delete"> <peerAddr>%s</peerAddr> </nvo3VniPeer> </nvo3VniPeers> """ CE_NC_DELETE_PEER_ADDRESS_IP_HEAD = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> <vniMembers> <vniMember> <vniId>%s</vniId> """ CE_NC_DELETE_PEER_ADDRESS_IP_END = """ </vniMember> </vniMembers> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_MERGE_VNI_PROTOCOL = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> <vniMembers> <vniMember operation="merge"> <vniId>%s</vniId> <protocol>%s</protocol> </vniMember> </vniMembers> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ CE_NC_DELETE_VNI_PROTOCOL = """ <config> <nvo3 xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0"> <nvo3Nves> <nvo3Nve> <ifName>%s</ifName> <vniMembers> <vniMember operation="delete"> <vniId>%s</vniId> <protocol>%s</protocol> </vniMember> </vniMembers> </nvo3Nve> </nvo3Nves> </nvo3> </config> """ def is_valid_address(address): """check ip-address is valid""" if address.find('.') != -1: addr_list = address.split('.') if len(addr_list) != 4: return False for each_num in addr_list: if not each_num.isdigit(): return False if int(each_num) > 255: return False return True return False class VxlanTunnel(object): """ Manages vxlan tunnel configuration. """ def __init__(self, argument_spec): self.spec = argument_spec self.module = None self.init_module() # module input info self.bridge_domain_id = self.module.params['bridge_domain_id'] self.vni_id = self.module.params['vni_id'] self.nve_name = self.module.params['nve_name'] self.nve_mode = self.module.params['nve_mode'] self.peer_list_ip = self.module.params['peer_list_ip'] self.protocol_type = self.module.params['protocol_type'] self.source_ip = self.module.params['source_ip'] self.state = self.module.params['state'] # state self.changed = False self.updates_cmd = list() self.results = dict() self.existing = dict() self.proposed = dict() self.end_state = dict() # configuration nve info self.vni2bd_info = None self.nve_info = None def init_module(self): """ init module """ self.module = AnsibleModule( argument_spec=self.spec, supports_check_mode=True) def check_response(self, xml_str, xml_name): """Check if response message is already succeed.""" if "<ok/>" not in xml_str: self.module.fail_json(msg='Error: %s failed.' % xml_name) def get_current_config(self, vni_id, peer_ip_list): """get current configuration""" flags = list() exp = " | include vni " exp += vni_id exp += " head-end peer-list " for peer_ip in peer_ip_list: exp += "| exclude %s " % peer_ip flags.append(exp) return get_config(self.module, flags) def get_vni2bd_dict(self): """ get vni2bd attributes dict.""" vni2bd_info = dict() # get vni bd info conf_str = CE_NC_GET_VNI_BD_INFO xml_str = get_nc_config(self.module, conf_str) if "<data/>" in xml_str: return vni2bd_info xml_str = xml_str.replace('\r', '').replace('\n', '').\ replace('xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"', "").\ replace('xmlns="http://www.huawei.com/netconf/vrp"', "") # get vni to bridge domain id info root = ElementTree.fromstring(xml_str) vni2bd_info["vni2BdInfos"] = list() vni2bds = root.findall("data/nvo3/nvo3Vni2Bds/nvo3Vni2Bd") if vni2bds: for vni2bd in vni2bds: vni_dict = dict() for ele in vni2bd: if ele.tag in ["vniId", "bdId"]: vni_dict[ele.tag] = ele.text vni2bd_info["vni2BdInfos"].append(vni_dict) return vni2bd_info def check_nve_interface(self, nve_name): """is nve interface exist""" if not self.nve_info: return False if self.nve_info["ifName"] == nve_name: return True return False def get_nve_dict(self, nve_name): """ get nve interface attributes dict.""" nve_info = dict() # get nve info conf_str = CE_NC_GET_NVE_INFO % nve_name xml_str = get_nc_config(self.module, conf_str) if "<data/>" in xml_str: return nve_info xml_str = xml_str.replace('\r', '').replace('\n', '').\ replace('xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"', "").\ replace('xmlns="http://www.huawei.com/netconf/vrp"', "") # get nve info root = ElementTree.fromstring(xml_str) nvo3 = root.find("data/nvo3/nvo3Nves/nvo3Nve") if nvo3: for nve in nvo3: if nve.tag in ["srcAddr", "ifName", "nveType"]: nve_info[nve.tag] = nve.text # get nve vni info nve_info["vni_peer_protocols"] = list() vni_members = root.findall( "data/nvo3/nvo3Nves/nvo3Nve/vniMembers/vniMember") if vni_members: for member in vni_members: vni_dict = dict() for ele in member: if ele.tag in ["vniId", "protocol"]: vni_dict[ele.tag] = ele.text nve_info["vni_peer_protocols"].append(vni_dict) # get vni peer address ip info nve_info["vni_peer_ips"] = list() vni_peers = root.findall( "data/nvo3/nvo3Nves/nvo3Nve/vniMembers/vniMember/nvo3VniPeers/nvo3VniPeer") if vni_peers: for peer_address in vni_peers: vni_peer_dict = dict() for ele in peer_address: if ele.tag in ["vniId", "peerAddr"]: vni_peer_dict[ele.tag] = ele.text nve_info["vni_peer_ips"].append(vni_peer_dict) return nve_info def check_nve_name(self): """Gets Nve interface name""" if self.nve_name is None: return False if self.nve_name in ["Nve1", "Nve2"]: return True return False def is_vni_bd_exist(self, vni_id, bd_id): """is vni to bridge-domain-id exist""" if not self.vni2bd_info: return False for vni2bd in self.vni2bd_info["vni2BdInfos"]: if vni2bd["vniId"] == vni_id and vni2bd["bdId"] == bd_id: return True return False def is_vni_bd_change(self, vni_id, bd_id): """is vni to bridge-domain-id change""" if not self.vni2bd_info: return True for vni2bd in self.vni2bd_info["vni2BdInfos"]: if vni2bd["vniId"] == vni_id and vni2bd["bdId"] == bd_id: return False return True def is_nve_mode_exist(self, nve_name, mode): """is nve interface mode exist""" if not self.nve_info: return False if self.nve_info["ifName"] == nve_name and self.nve_info["nveType"] == mode: return True return False def is_nve_mode_change(self, nve_name, mode): """is nve interface mode change""" if not self.nve_info: return True if self.nve_info["ifName"] == nve_name and self.nve_info["nveType"] == mode: return False return True def is_nve_source_ip_exist(self, nve_name, source_ip): """is vni to bridge-domain-id exist""" if not self.nve_info: return False if self.nve_info["ifName"] == nve_name and self.nve_info["srcAddr"] == source_ip: return True return False def is_nve_source_ip_change(self, nve_name, source_ip): """is vni to bridge-domain-id change""" if not self.nve_info: return True if self.nve_info["ifName"] == nve_name and self.nve_info["srcAddr"] == source_ip: return False return True def is_vni_protocol_exist(self, nve_name, vni_id, protocol_type): """is vni protocol exist""" if not self.nve_info: return False if self.nve_info["ifName"] == nve_name: for member in self.nve_info["vni_peer_protocols"]: if member["vniId"] == vni_id and member["protocol"] == protocol_type: return True return False def is_vni_protocol_change(self, nve_name, vni_id, protocol_type): """is vni protocol change""" if not self.nve_info: return True if self.nve_info["ifName"] == nve_name: for member in self.nve_info["vni_peer_protocols"]: if member["vniId"] == vni_id and member["protocol"] == protocol_type: return False return True def is_vni_peer_list_exist(self, nve_name, vni_id, peer_ip): """is vni peer list exist""" if not self.nve_info: return False if self.nve_info["ifName"] == nve_name: for member in self.nve_info["vni_peer_ips"]: if member["vniId"] == vni_id and member["peerAddr"] == peer_ip: return True return False def is_vni_peer_list_change(self, nve_name, vni_id, peer_ip_list): """is vni peer list change""" if not self.nve_info: return True for peer_ip in peer_ip_list: if self.nve_info["ifName"] == nve_name: if not self.nve_info["vni_peer_ips"]: return True for member in self.nve_info["vni_peer_ips"]: if member["vniId"] != vni_id: return True elif member["vniId"] == vni_id and member["peerAddr"] != peer_ip: return True return False def config_merge_vni2bd(self, bd_id, vni_id): """config vni to bd id""" if self.is_vni_bd_change(vni_id, bd_id): cfg_xml = CE_NC_MERGE_VNI_BD_ID % (vni_id, bd_id) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "MERGE_VNI_BD") self.updates_cmd.append("bridge-domain %s" % bd_id) self.updates_cmd.append("vxlan vni %s" % vni_id) self.changed = True def config_merge_mode(self, nve_name, mode): """config nve mode""" if self.is_nve_mode_change(nve_name, mode): cfg_xml = CE_NC_MERGE_NVE_MODE % (nve_name, mode) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "MERGE_MODE") self.updates_cmd.append("interface %s" % nve_name) self.updates_cmd.append("mode l3") self.changed = True def config_merge_source_ip(self, nve_name, source_ip): """config nve source ip""" if self.is_nve_source_ip_change(nve_name, source_ip): cfg_xml = CE_NC_MERGE_NVE_SOURCE_IP_PROTOCOL % ( nve_name, source_ip) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "MERGE_SOURCE_IP") self.updates_cmd.append("interface %s" % nve_name) self.updates_cmd.append("source %s" % source_ip) self.changed = True def config_merge_vni_peer_ip(self, nve_name, vni_id, peer_ip_list): """config vni peer ip""" if self.is_vni_peer_list_change(nve_name, vni_id, peer_ip_list): cfg_xml = CE_NC_MERGE_VNI_PEER_ADDRESS_IP_HEAD % ( nve_name, vni_id) for peer_ip in peer_ip_list: cfg_xml += CE_NC_MERGE_VNI_PEER_ADDRESS_IP_MERGE % peer_ip cfg_xml += CE_NC_MERGE_VNI_PEER_ADDRESS_IP_END recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "MERGE_VNI_PEER_IP") self.updates_cmd.append("interface %s" % nve_name) for peer_ip in peer_ip_list: cmd_output = "vni %s head-end peer-list %s" % (vni_id, peer_ip) self.updates_cmd.append(cmd_output) self.changed = True def config_merge_vni_protocol_type(self, nve_name, vni_id, protocol_type): """config vni protocol type""" if self.is_vni_protocol_change(nve_name, vni_id, protocol_type): cfg_xml = CE_NC_MERGE_VNI_PROTOCOL % ( nve_name, vni_id, protocol_type) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "MERGE_VNI_PEER_PROTOCOL") self.updates_cmd.append("interface %s" % nve_name) if protocol_type == "bgp": self.updates_cmd.append( "vni %s head-end peer-list protocol %s" % (vni_id, protocol_type)) else: self.updates_cmd.append( "undo vni %s head-end peer-list protocol bgp" % vni_id) self.changed = True def config_delete_vni2bd(self, bd_id, vni_id): """remove vni to bd id""" if not self.is_vni_bd_exist(vni_id, bd_id): return cfg_xml = CE_NC_DELETE_VNI_BD_ID % (vni_id, bd_id) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "DELETE_VNI_BD") self.updates_cmd.append( "bridge-domain %s" % bd_id) self.updates_cmd.append( "undo vxlan vni %s" % vni_id) self.changed = True def config_delete_mode(self, nve_name, mode): """nve mode""" if mode == "mode-l3": if not self.is_nve_mode_exist(nve_name, mode): return cfg_xml = CE_NC_MERGE_NVE_MODE % (nve_name, "mode-l2") recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "DELETE_MODE") self.updates_cmd.append("interface %s" % nve_name) self.updates_cmd.append("undo mode l3") self.changed = True else: self.module.fail_json( msg='Error: Can not configure undo mode l2.') def config_delete_source_ip(self, nve_name, source_ip): """nve source ip""" if not self.is_nve_source_ip_exist(nve_name, source_ip): return ipaddr = "0.0.0.0" cfg_xml = CE_NC_MERGE_NVE_SOURCE_IP_PROTOCOL % ( nve_name, ipaddr) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "DELETE_SOURCE_IP") self.updates_cmd.append("interface %s" % nve_name) self.updates_cmd.append("undo source %s" % source_ip) self.changed = True def config_delete_vni_peer_ip(self, nve_name, vni_id, peer_ip_list): """remove vni peer ip""" for peer_ip in peer_ip_list: if not self.is_vni_peer_list_exist(nve_name, vni_id, peer_ip): self.module.fail_json(msg='Error: The %s does not exist' % peer_ip) config = self.get_current_config(vni_id, peer_ip_list) if not config: cfg_xml = CE_NC_DELETE_VNI_PEER_ADDRESS_IP_HEAD % ( nve_name, vni_id) for peer_ip in peer_ip_list: cfg_xml += CE_NC_DELETE_VNI_PEER_ADDRESS_IP_DELETE % peer_ip cfg_xml += CE_NC_DELETE_VNI_PEER_ADDRESS_IP_END else: cfg_xml = CE_NC_DELETE_PEER_ADDRESS_IP_HEAD % ( nve_name, vni_id) for peer_ip in peer_ip_list: cfg_xml += CE_NC_DELETE_VNI_PEER_ADDRESS_IP_DELETE % peer_ip cfg_xml += CE_NC_DELETE_PEER_ADDRESS_IP_END recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "DELETE_VNI_PEER_IP") self.updates_cmd.append("interface %s" % nve_name) for peer_ip in peer_ip_list: cmd_output = "undo vni %s head-end peer-list %s" % (vni_id, peer_ip) self.updates_cmd.append(cmd_output) self.changed = True def config_delete_vni_protocol_type(self, nve_name, vni_id, protocol_type): """remove vni protocol type""" if not self.is_vni_protocol_exist(nve_name, vni_id, protocol_type): return cfg_xml = CE_NC_DELETE_VNI_PROTOCOL % (nve_name, vni_id, protocol_type) recv_xml = set_nc_config(self.module, cfg_xml) self.check_response(recv_xml, "DELETE_VNI_PEER_PROTOCOL") self.updates_cmd.append("interface %s" % nve_name) self.updates_cmd.append( "undo vni %s head-end peer-list protocol bgp " % vni_id) self.changed = True def check_params(self): """Check all input params""" # bridge_domain_id check if self.bridge_domain_id: if not self.bridge_domain_id.isdigit(): self.module.fail_json( msg='Error: The parameter of bridge domain id is invalid.') if int(self.bridge_domain_id) > 16777215 or int(self.bridge_domain_id) < 1: self.module.fail_json( msg='Error: The bridge domain id must be an integer between 1 and 16777215.') # vni_id check if self.vni_id: if not self.vni_id.isdigit(): self.module.fail_json( msg='Error: The parameter of vni id is invalid.') if int(self.vni_id) > 16000000 or int(self.vni_id) < 1: self.module.fail_json( msg='Error: The vni id must be an integer between 1 and 16000000.') # nve_name check if self.nve_name: if not self.check_nve_name(): self.module.fail_json( msg='Error: Error: NVE interface %s is invalid.' % self.nve_name) # peer_list_ip check if self.peer_list_ip: for peer_ip in self.peer_list_ip: if not is_valid_address(peer_ip): self.module.fail_json( msg='Error: The ip address %s is invalid.' % self.peer_list_ip) # source_ip check if self.source_ip: if not is_valid_address(self.source_ip): self.module.fail_json( msg='Error: The ip address %s is invalid.' % self.source_ip) def get_proposed(self): """get proposed info""" if self.bridge_domain_id: self.proposed["bridge_domain_id"] = self.bridge_domain_id if self.vni_id: self.proposed["vni_id"] = self.vni_id if self.nve_name: self.proposed["nve_name"] = self.nve_name if self.nve_mode: self.proposed["nve_mode"] = self.nve_mode if self.peer_list_ip: self.proposed["peer_list_ip"] = self.peer_list_ip if self.source_ip: self.proposed["source_ip"] = self.source_ip if self.state: self.proposed["state"] = self.state def get_existing(self): """get existing info""" if self.vni2bd_info: self.existing["vni_to_bridge_domain"] = self.vni2bd_info[ "vni2BdInfos"] if self.nve_info: self.existing["nve_interface_name"] = self.nve_info["ifName"] self.existing["source_ip"] = self.nve_info["srcAddr"] self.existing["nve_mode"] = self.nve_info["nveType"] self.existing["vni_peer_list_ip"] = self.nve_info[ "vni_peer_ips"] self.existing["vni_peer_list_protocol"] = self.nve_info[ "vni_peer_protocols"] def get_end_state(self): """get end state info""" vni2bd_info = self.get_vni2bd_dict() if vni2bd_info: self.end_state["vni_to_bridge_domain"] = vni2bd_info["vni2BdInfos"] nve_info = self.get_nve_dict(self.nve_name) if nve_info: self.end_state["nve_interface_name"] = nve_info["ifName"] self.end_state["source_ip"] = nve_info["srcAddr"] self.end_state["nve_mode"] = nve_info["nveType"] self.end_state["vni_peer_list_ip"] = nve_info[ "vni_peer_ips"] self.end_state["vni_peer_list_protocol"] = nve_info[ "vni_peer_protocols"] def work(self): """worker""" self.check_params() self.vni2bd_info = self.get_vni2bd_dict() if self.nve_name: self.nve_info = self.get_nve_dict(self.nve_name) self.get_existing() self.get_proposed() # deal present or absent if self.state == "present": if self.bridge_domain_id and self.vni_id: self.config_merge_vni2bd(self.bridge_domain_id, self.vni_id) if self.nve_name: if self.check_nve_interface(self.nve_name): if self.nve_mode: self.config_merge_mode(self.nve_name, self.nve_mode) if self.source_ip: self.config_merge_source_ip( self.nve_name, self.source_ip) if self.vni_id and self.peer_list_ip: self.config_merge_vni_peer_ip( self.nve_name, self.vni_id, self.peer_list_ip) if self.vni_id and self.protocol_type: self.config_merge_vni_protocol_type( self.nve_name, self.vni_id, self.protocol_type) else: self.module.fail_json( msg='Error: Nve interface %s does not exist.' % self.nve_name) else: if self.bridge_domain_id and self.vni_id: self.config_delete_vni2bd(self.bridge_domain_id, self.vni_id) if self.nve_name: if self.check_nve_interface(self.nve_name): if self.nve_mode: self.config_delete_mode(self.nve_name, self.nve_mode) if self.source_ip: self.config_delete_source_ip( self.nve_name, self.source_ip) if self.vni_id and self.peer_list_ip: self.config_delete_vni_peer_ip( self.nve_name, self.vni_id, self.peer_list_ip) if self.vni_id and self.protocol_type: self.config_delete_vni_protocol_type( self.nve_name, self.vni_id, self.protocol_type) else: self.module.fail_json( msg='Error: Nve interface %s does not exist.' % self.nve_name) self.get_end_state() self.results['changed'] = self.changed self.results['proposed'] = self.proposed self.results['existing'] = self.existing self.results['end_state'] = self.end_state if self.changed: self.results['updates'] = self.updates_cmd else: self.results['updates'] = list() self.module.exit_json(**self.results) def main(): """Module main""" argument_spec = dict( bridge_domain_id=dict(required=False), vni_id=dict(required=False, type='str'), nve_name=dict(required=False, type='str'), nve_mode=dict(required=False, choices=['mode-l2', 'mode-l3']), peer_list_ip=dict(required=False, type='list'), protocol_type=dict(required=False, type='str', choices=[ 'bgp', 'null']), source_ip=dict(required=False), state=dict(required=False, default='present', choices=['present', 'absent']) ) argument_spec.update(ce_argument_spec) module = VxlanTunnel(argument_spec) module.work() if __name__ == '__main__': main()
unknown
codeparrot/codeparrot-clean
package container const ( // ChangeModify represents the modify operation. ChangeModify ChangeType = 0 // ChangeAdd represents the add operation. ChangeAdd ChangeType = 1 // ChangeDelete represents the delete operation. ChangeDelete ChangeType = 2 ) func (ct ChangeType) String() string { switch ct { case ChangeModify: return "C" case ChangeAdd: return "A" case ChangeDelete: return "D" default: return "" } }
go
github
https://github.com/moby/moby
api/types/container/change_types.go
import superdesk from bs4 import BeautifulSoup from superdesk.metadata.item import ITEM_TYPE, CONTENT_TYPE from flask import render_template from jinja2 import Template def getTemplate(highlightId): """Return the string template associated with highlightId or none """ if not highlightId: return None highlightService = superdesk.get_resource_service('highlights') highlight = highlightService.find_one(req=None, _id=highlightId) if not highlight or not highlight.get('template'): return None templateService = superdesk.get_resource_service('content_templates') template = templateService.find_one(req=None, _id=highlight.get('template')) if not template or 'body_html' not in template: return None return template.get('body_html') class GenerateHighlightsService(superdesk.Service): def create(self, docs, **kwargs): """Generate highlights text item for given package. If doc.preview is True it won't save the item, only return. """ service = superdesk.get_resource_service('archive') for doc in docs: preview = doc.get('preview', False) package = service.find_one(req=None, _id=doc['package']) if not package: superdesk.abort(404) stringTemplate = getTemplate(package.get('highlight')) doc.clear() doc[ITEM_TYPE] = CONTENT_TYPE.TEXT doc['headline'] = package.get('headline') doc['slugline'] = package.get('slugline') doc['byline'] = package.get('byline') doc['task'] = package.get('task') doc['family_id'] = package.get('guid') items = [] for group in package.get('groups', []): for ref in group.get('refs', []): if 'residRef' in ref: item = service.find_one(req=None, _id=ref.get('residRef')) if item: html = item.get('body_html') if html: soup = BeautifulSoup(html, "html.parser") item['first_paragraph_body_html'] = str(soup.p) items.append(item) if stringTemplate: template = Template(stringTemplate) doc['body_html'] = template.render(package=package, items=items) else: doc['body_html'] = render_template('default_highlight_template.txt', package=package, items=items) if preview: return ['' for doc in docs] else: return service.post(docs, **kwargs) class GenerateHighlightsResource(superdesk.Resource): """Generate highlights item for given package.""" schema = { 'package': { # not setting relation here, we will fetch it anyhow 'type': 'string', 'required': True, }, 'preview': { 'type': 'boolean', 'default': False, } } resource_methods = ['POST'] item_methods = [] privileges = {'POST': 'highlights'}
unknown
codeparrot/codeparrot-clean
# -*- coding: utf-8 -*- # Copyright (c) 2015, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. from __future__ import division import numpy as np from .mesh import MeshVisual from ..geometry import MeshData class SurfacePlotVisual(MeshVisual): """Displays a surface plot on a regular x,y grid Parameters ---------- x : ndarray | None 1D array of values specifying the x positions of vertices in the grid. If None, values will be assumed to be integers. y : ndarray | None 1D array of values specifying the x positions of vertices in the grid. If None, values will be assumed to be integers. z : ndarray 2D array of height values for each grid vertex. colors : ndarray (width, height, 4) array of vertex colors. Notes ----- All arguments are optional. Note that if vertex positions are updated, the normal vectors for each triangle must be recomputed. This is somewhat expensive if the surface was initialized with smooth=False and very expensive if smooth=True. For faster performance, initialize with compute_normals=False and use per-vertex colors or a material that does not require normals. """ def __init__(self, x=None, y=None, z=None, colors=None, **kwargs): # The x, y, z, and colors arguments are passed to set_data(). # All other keyword arguments are passed to MeshVisual.__init__(). self._x = None self._y = None self._z = None self.__vertices = None self.__faces = None self.__meshdata = MeshData() kwargs.setdefault('shading', 'smooth') MeshVisual.__init__(self, **kwargs) self.set_data(x, y, z, colors) def set_data(self, x=None, y=None, z=None, colors=None): """Update the data in this surface plot. Parameters ---------- x : ndarray | None 1D array of values specifying the x positions of vertices in the grid. If None, values will be assumed to be integers. y : ndarray | None 1D array of values specifying the x positions of vertices in the grid. If None, values will be assumed to be integers. z : ndarray 2D array of height values for each grid vertex. colors : ndarray (width, height, 4) array of vertex colors. """ if x is not None: if self._x is None or len(x) != len(self._x): self.__vertices = None self._x = x if y is not None: if self._y is None or len(y) != len(self._y): self.__vertices = None self._y = y if z is not None: if self._x is not None and z.shape[0] != len(self._x): raise TypeError('Z values must have shape (len(x), len(y))') if self._y is not None and z.shape[1] != len(self._y): raise TypeError('Z values must have shape (len(x), len(y))') self._z = z if (self.__vertices is not None and self._z.shape != self.__vertices.shape[:2]): self.__vertices = None if self._z is None: return update_mesh = False new_vertices = False # Generate vertex and face array if self.__vertices is None: new_vertices = True self.__vertices = np.empty((self._z.shape[0], self._z.shape[1], 3), dtype=np.float32) self.generate_faces() self.__meshdata.set_faces(self.__faces) update_mesh = True # Copy x, y, z data into vertex array if new_vertices or x is not None: if x is None: if self._x is None: x = np.arange(self._z.shape[0]) else: x = self._x self.__vertices[:, :, 0] = x.reshape(len(x), 1) update_mesh = True if new_vertices or y is not None: if y is None: if self._y is None: y = np.arange(self._z.shape[1]) else: y = self._y self.__vertices[:, :, 1] = y.reshape(1, len(y)) update_mesh = True if new_vertices or z is not None: self.__vertices[..., 2] = self._z update_mesh = True if colors is not None: self.__meshdata.set_vertex_colors(colors) update_mesh = True # Update MeshData if update_mesh: self.__meshdata.set_vertices( self.__vertices.reshape(self.__vertices.shape[0] * self.__vertices.shape[1], 3)) MeshVisual.set_data(self, meshdata=self.__meshdata) def generate_faces(self): cols = self._z.shape[1]-1 rows = self._z.shape[0]-1 faces = np.empty((cols*rows*2, 3), dtype=np.uint) rowtemplate1 = (np.arange(cols).reshape(cols, 1) + np.array([[0, 1, cols+1]])) rowtemplate2 = (np.arange(cols).reshape(cols, 1) + np.array([[cols+1, 1, cols+2]])) for row in range(rows): start = row * cols * 2 faces[start:start+cols] = rowtemplate1 + row * (cols+1) faces[start+cols:start+(cols*2)] = rowtemplate2 + row * (cols+1) self.__faces = faces
unknown
codeparrot/codeparrot-clean
# Copyright 2012 Nebula, 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. from datetime import datetime # noqa import string import babel import babel.dates from django.conf import settings from django import shortcuts from django.utils import encoding from django.utils import translation from django.utils.translation import ugettext_lazy as _ import pytz from horizon import forms from horizon import messages def _one_year(): now = datetime.utcnow() return datetime(now.year + 1, now.month, now.day, now.hour, now.minute, now.second, now.microsecond, now.tzinfo) class UserSettingsForm(forms.SelfHandlingForm): language = forms.ChoiceField(label=_("Language")) timezone = forms.ChoiceField(label=_("Timezone")) pagesize = forms.IntegerField(label=_("Items Per Page"), min_value=1, max_value=getattr(settings, 'API_RESULT_LIMIT', 1000), help_text=_("Number of items to show per " "page (applies to the pages " "that have API supported " "pagination)")) instance_log_length = forms.IntegerField( label=_("Log Lines Per Instance"), min_value=1, help_text=_("Number of log lines to be shown per instance")) @staticmethod def _sorted_zones(): d = datetime(datetime.today().year, 1, 1) zones = [(tz, pytz.timezone(tz).localize(d).strftime('%z')) for tz in pytz.common_timezones] zones.sort(key=lambda zone: int(zone[1])) return zones def __init__(self, *args, **kwargs): super(UserSettingsForm, self).__init__(*args, **kwargs) # Languages def get_language_display_name(code, desc): try: desc = translation.get_language_info(code)['name_local'] desc = string.capwords(desc) except KeyError: # If a language is not defined in django.conf.locale.LANG_INFO # get_language_info raises KeyError pass return "%s (%s)" % (desc, code) languages = [(k, get_language_display_name(k, v)) for k, v in settings.LANGUAGES] self.fields['language'].choices = languages # Timezones timezones = [] language = translation.get_language() current_locale = translation.to_locale(language) babel_locale = babel.Locale.parse(current_locale) for tz, offset in self._sorted_zones(): try: utc_offset = _("UTC %(hour)s:%(min)s") % {"hour": offset[:3], "min": offset[3:]} except Exception: utc_offset = "" if tz == "UTC": tz_name = _("UTC") elif tz == "GMT": tz_name = _("GMT") else: tz_label = babel.dates.get_timezone_location( tz, locale=babel_locale) # Translators: UTC offset and timezone label tz_name = _("%(offset)s: %(label)s") % {"offset": utc_offset, "label": tz_label} timezones.append((tz, tz_name)) self.fields['timezone'].choices = timezones def handle(self, request, data): response = shortcuts.redirect(request.build_absolute_uri()) # Language lang_code = data['language'] if lang_code and translation.check_for_language(lang_code): if hasattr(request, 'session'): request.session['django_language'] = lang_code response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang_code, expires=_one_year()) # Timezone request.session['django_timezone'] = pytz.timezone( data['timezone']).zone response.set_cookie('django_timezone', data['timezone'], expires=_one_year()) request.session['horizon_pagesize'] = data['pagesize'] response.set_cookie('horizon_pagesize', data['pagesize'], expires=_one_year()) request.session['instance_log_length'] = data['instance_log_length'] response.set_cookie('instance_log_length', data['instance_log_length'], expires=_one_year()) with translation.override(lang_code): messages.success(request, encoding.force_text(_("Settings saved."))) return response
unknown
codeparrot/codeparrot-clean
#!/usr/bin/python # # Created on Aug 25, 2016 # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # Avi Version: 17.1.1 # # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUMENTATION = ''' --- module: avi_virtualservice author: Gaurav Rastogi (grastogi@avinetworks.com) short_description: Module for setup of VirtualService Avi RESTful Object description: - This module is used to configure VirtualService object - more examples at U(https://github.com/avinetworks/devops) requirements: [ avisdk ] version_added: "2.3" options: state: description: - The state that should be applied on the entity. default: present choices: ["absent","present"] active_standby_se_tag: description: - This configuration only applies if the virtualservice is in legacy active standby ha mode and load distribution among active standby is enabled. - This field is used to tag the virtualservice so that virtualservices with the same tag will share the same active serviceengine. - Virtualservices with different tags will have different active serviceengines. - If one of the serviceengine's in the serviceenginegroup fails, all virtualservices will end up using the same active serviceengine. - Redistribution of the virtualservices can be either manual or automated when the failed serviceengine recovers. - Redistribution is based on the auto redistribute property of the serviceenginegroup. - Enum options - ACTIVE_STANDBY_SE_1, ACTIVE_STANDBY_SE_2. - Default value when not specified in API or module is interpreted by Avi Controller as ACTIVE_STANDBY_SE_1. analytics_policy: description: - Determines analytics settings for the application. analytics_profile_ref: description: - Specifies settings related to analytics. - It is a reference to an object of type analyticsprofile. application_profile_ref: description: - Enable application layer specific features for the virtual service. - It is a reference to an object of type applicationprofile. auto_allocate_floating_ip: description: - Auto-allocate floating/elastic ip from the cloud infrastructure. - Field deprecated in 17.1.1. - Default value when not specified in API or module is interpreted by Avi Controller as False. auto_allocate_ip: description: - Auto-allocate vip from the provided subnet. - Field deprecated in 17.1.1. - Default value when not specified in API or module is interpreted by Avi Controller as False. availability_zone: description: - Availability-zone to place the virtual service. - Field deprecated in 17.1.1. avi_allocated_fip: description: - (internal-use) fip allocated by avi in the cloud infrastructure. - Field deprecated in 17.1.1. - Default value when not specified in API or module is interpreted by Avi Controller as False. avi_allocated_vip: description: - (internal-use) vip allocated by avi in the cloud infrastructure. - Field deprecated in 17.1.1. - Default value when not specified in API or module is interpreted by Avi Controller as False. client_auth: description: - Http authentication configuration for protected resources. cloud_config_cksum: description: - Checksum of cloud configuration for vs. - Internally set by cloud connector. cloud_ref: description: - It is a reference to an object of type cloud. cloud_type: description: - Enum options - cloud_none, cloud_vcenter, cloud_openstack, cloud_aws, cloud_vca, cloud_apic, cloud_mesos, cloud_linuxserver, cloud_docker_ucp, - cloud_rancher, cloud_oshift_k8s. - Default value when not specified in API or module is interpreted by Avi Controller as CLOUD_NONE. connections_rate_limit: description: - Rate limit the incoming connections to this virtual service. content_rewrite: description: - Profile used to match and rewrite strings in request and/or response body. created_by: description: - Creator name. delay_fairness: description: - Select the algorithm for qos fairness. - This determines how multiple virtual services sharing the same service engines will prioritize traffic over a congested network. - Default value when not specified in API or module is interpreted by Avi Controller as False. description: description: - User defined description for the object. discovered_network_ref: description: - (internal-use) discovered networks providing reachability for client facing virtual service ip. - This field is deprecated. - It is a reference to an object of type network. - Field deprecated in 17.1.1. discovered_networks: description: - (internal-use) discovered networks providing reachability for client facing virtual service ip. - This field is used internally by avi, not editable by the user. - Field deprecated in 17.1.1. discovered_subnet: description: - (internal-use) discovered subnets providing reachability for client facing virtual service ip. - This field is deprecated. - Field deprecated in 17.1.1. dns_info: description: - Service discovery specific data including fully qualified domain name, type and time-to-live of the dns record. - Note that only one of fqdn and dns_info setting is allowed. dns_policies: description: - Dns policies applied on the dns traffic of the virtual service. - Field introduced in 17.1.1. version_added: "2.4" east_west_placement: description: - Force placement on all se's in service group (mesos mode only). - Default value when not specified in API or module is interpreted by Avi Controller as False. enable_autogw: description: - Response traffic to clients will be sent back to the source mac address of the connection, rather than statically sent to a default gateway. - Default value when not specified in API or module is interpreted by Avi Controller as True. enable_rhi: description: - Enable route health injection using the bgp config in the vrf context. enable_rhi_snat: description: - Enable route health injection for source nat'ted floating ip address using the bgp config in the vrf context. enabled: description: - Enable or disable the virtual service. - Default value when not specified in API or module is interpreted by Avi Controller as True. floating_ip: description: - Floating ip to associate with this virtual service. - Field deprecated in 17.1.1. floating_subnet_uuid: description: - If auto_allocate_floating_ip is true and more than one floating-ip subnets exist, then the subnet for the floating ip address allocation. - This field is applicable only if the virtualservice belongs to an openstack or aws cloud. - In openstack or aws cloud it is required when auto_allocate_floating_ip is selected. - Field deprecated in 17.1.1. flow_dist: description: - Criteria for flow distribution among ses. - Enum options - LOAD_AWARE, CONSISTENT_HASH_SOURCE_IP_ADDRESS, CONSISTENT_HASH_SOURCE_IP_ADDRESS_AND_PORT. - Default value when not specified in API or module is interpreted by Avi Controller as LOAD_AWARE. flow_label_type: description: - Criteria for flow labelling. - Enum options - NO_LABEL, SERVICE_LABEL. - Default value when not specified in API or module is interpreted by Avi Controller as NO_LABEL. fqdn: description: - Dns resolvable, fully qualified domain name of the virtualservice. - Only one of 'fqdn' and 'dns_info' configuration is allowed. host_name_xlate: description: - Translate the host name sent to the servers to this value. - Translate the host name sent from servers back to the value used by the client. http_policies: description: - Http policies applied on the data traffic of the virtual service. ign_pool_net_reach: description: - Ignore pool servers network reachability constraints for virtual service placement. - Default value when not specified in API or module is interpreted by Avi Controller as False. ip_address: description: - Ip address of the virtual service. - Field deprecated in 17.1.1. ipam_network_subnet: description: - Subnet and/or network for allocating virtualservice ip by ipam provider module. limit_doser: description: - Limit potential dos attackers who exceed max_cps_per_client significantly to a fraction of max_cps_per_client for a while. - Default value when not specified in API or module is interpreted by Avi Controller as False. max_cps_per_client: description: - Maximum connections per second per client ip. - Allowed values are 10-1000. - Special values are 0- 'unlimited'. - Default value when not specified in API or module is interpreted by Avi Controller as 0. microservice_ref: description: - Microservice representing the virtual service. - It is a reference to an object of type microservice. name: description: - Name for the virtual service. required: true network_profile_ref: description: - Determines network settings such as protocol, tcp or udp, and related options for the protocol. - It is a reference to an object of type networkprofile. network_ref: description: - Manually override the network on which the virtual service is placed. - It is a reference to an object of type network. - Field deprecated in 17.1.1. network_security_policy_ref: description: - Network security policies for the virtual service. - It is a reference to an object of type networksecuritypolicy. nsx_securitygroup: description: - A list of nsx service groups representing the clients which can access the virtual ip of the virtual service. - Field introduced in 17.1.1. version_added: "2.4" performance_limits: description: - Optional settings that determine performance limits like max connections or bandwdith etc. pool_group_ref: description: - The pool group is an object that contains pools. - It is a reference to an object of type poolgroup. pool_ref: description: - The pool is an object that contains destination servers and related attributes such as load-balancing and persistence. - It is a reference to an object of type pool. port_uuid: description: - (internal-use) network port assigned to the virtual service ip address. - Field deprecated in 17.1.1. remove_listening_port_on_vs_down: description: - Remove listening port if virtualservice is down. - Default value when not specified in API or module is interpreted by Avi Controller as False. requests_rate_limit: description: - Rate limit the incoming requests to this virtual service. scaleout_ecmp: description: - Disable re-distribution of flows across service engines for a virtual service. - Enable if the network itself performs flow hashing with ecmp in environments such as gcp. - Default value when not specified in API or module is interpreted by Avi Controller as False. se_group_ref: description: - The service engine group to use for this virtual service. - Moving to a new se group is disruptive to existing connections for this vs. - It is a reference to an object of type serviceenginegroup. server_network_profile_ref: description: - Determines the network settings profile for the server side of tcp proxied connections. - Leave blank to use the same settings as the client to vs side of the connection. - It is a reference to an object of type networkprofile. service_metadata: description: - Metadata pertaining to the service provided by this virtual service. - In openshift/kubernetes environments, egress pod info is stored. - Any user input to this field will be overwritten by avi vantage. version_added: "2.4" service_pool_select: description: - Select pool based on destination port. services: description: - List of services defined for this virtual service. sideband_profile: description: - Sideband configuration to be used for this virtualservice.it can be used for sending traffic to sideband vips for external inspection etc. version_added: "2.4" snat_ip: description: - Nat'ted floating source ip address(es) for upstream connection to servers. ssl_key_and_certificate_refs: description: - Select or create one or two certificates, ec and/or rsa, that will be presented to ssl/tls terminated connections. - It is a reference to an object of type sslkeyandcertificate. ssl_profile_ref: description: - Determines the set of ssl versions and ciphers to accept for ssl/tls terminated connections. - It is a reference to an object of type sslprofile. ssl_sess_cache_avg_size: description: - Expected number of ssl session cache entries (may be exceeded). - Allowed values are 1024-16383. - Default value when not specified in API or module is interpreted by Avi Controller as 1024. static_dns_records: description: - List of static dns records applied to this virtual service. - These are static entries and no health monitoring is performed against the ip addresses. subnet: description: - Subnet providing reachability for client facing virtual service ip. - Field deprecated in 17.1.1. subnet_uuid: description: - It represents subnet for the virtual service ip address allocation when auto_allocate_ip is true.it is only applicable in openstack or aws cloud. - This field is required if auto_allocate_ip is true. - Field deprecated in 17.1.1. tenant_ref: description: - It is a reference to an object of type tenant. traffic_clone_profile_ref: description: - Server network or list of servers for cloning traffic. - It is a reference to an object of type trafficcloneprofile. - Field introduced in 17.1.1. version_added: "2.4" type: description: - Specify if this is a normal virtual service, or if it is the parent or child of an sni-enabled virtual hosted virtual service. - Enum options - VS_TYPE_NORMAL, VS_TYPE_VH_PARENT, VS_TYPE_VH_CHILD. - Default value when not specified in API or module is interpreted by Avi Controller as VS_TYPE_NORMAL. url: description: - Avi controller URL of the object. use_bridge_ip_as_vip: description: - Use bridge ip as vip on each host in mesos deployments. - Default value when not specified in API or module is interpreted by Avi Controller as False. uuid: description: - Uuid of the virtualservice. vh_domain_name: description: - The exact name requested from the client's sni-enabled tls hello domain name field. - If this is a match, the parent vs will forward the connection to this child vs. vh_parent_vs_uuid: description: - Specifies the virtual service acting as virtual hosting (sni) parent. vip: description: - List of virtual service ips. - While creating a 'shared vs',please use vsvip_ref to point to the shared entities. - Field introduced in 17.1.1. version_added: "2.4" vrf_context_ref: description: - Virtual routing context that the virtual service is bound to. - This is used to provide the isolation of the set of networks the application is attached to. - It is a reference to an object of type vrfcontext. vs_datascripts: description: - Datascripts applied on the data traffic of the virtual service. vsvip_ref: description: - Mostly used during the creation of shared vs, this fieldrefers to entities that can be shared across virtual services. - It is a reference to an object of type vsvip. - Field introduced in 17.1.1. version_added: "2.4" weight: description: - The quality of service weight to assign to traffic transmitted from this virtual service. - A higher weight will prioritize traffic versus other virtual services sharing the same service engines. - Default value when not specified in API or module is interpreted by Avi Controller as 1. extends_documentation_fragment: - avi ''' EXAMPLES = ''' - name: Create SSL Virtual Service using Pool testpool2 avi_virtualservice: controller: 10.10.27.90 username: admin password: AviNetworks123! name: newtestvs state: present performance_limits: max_concurrent_connections: 1000 services: - port: 443 enable_ssl: true - port: 80 ssl_profile_ref: '/api/sslprofile?name=System-Standard' application_profile_ref: '/api/applicationprofile?name=System-Secure-HTTP' ssl_key_and_certificate_refs: - '/api/sslkeyandcertificate?name=System-Default-Cert' ip_address: addr: 10.90.131.103 type: V4 pool_ref: '/api/pool?name=testpool2' ''' RETURN = ''' obj: description: VirtualService (api/virtualservice) object returned: success, changed type: dict ''' from ansible.module_utils.basic import AnsibleModule try: from ansible.module_utils.avi import ( avi_common_argument_spec, HAS_AVI, avi_ansible_api) except ImportError: HAS_AVI = False def main(): argument_specs = dict( state=dict(default='present', choices=['absent', 'present']), active_standby_se_tag=dict(type='str',), analytics_policy=dict(type='dict',), analytics_profile_ref=dict(type='str',), application_profile_ref=dict(type='str',), auto_allocate_floating_ip=dict(type='bool',), auto_allocate_ip=dict(type='bool',), availability_zone=dict(type='str',), avi_allocated_fip=dict(type='bool',), avi_allocated_vip=dict(type='bool',), client_auth=dict(type='dict',), cloud_config_cksum=dict(type='str',), cloud_ref=dict(type='str',), cloud_type=dict(type='str',), connections_rate_limit=dict(type='dict',), content_rewrite=dict(type='dict',), created_by=dict(type='str',), delay_fairness=dict(type='bool',), description=dict(type='str',), discovered_network_ref=dict(type='list',), discovered_networks=dict(type='list',), discovered_subnet=dict(type='list',), dns_info=dict(type='list',), dns_policies=dict(type='list',), east_west_placement=dict(type='bool',), enable_autogw=dict(type='bool',), enable_rhi=dict(type='bool',), enable_rhi_snat=dict(type='bool',), enabled=dict(type='bool',), floating_ip=dict(type='dict',), floating_subnet_uuid=dict(type='str',), flow_dist=dict(type='str',), flow_label_type=dict(type='str',), fqdn=dict(type='str',), host_name_xlate=dict(type='str',), http_policies=dict(type='list',), ign_pool_net_reach=dict(type='bool',), ip_address=dict(type='dict',), ipam_network_subnet=dict(type='dict',), limit_doser=dict(type='bool',), max_cps_per_client=dict(type='int',), microservice_ref=dict(type='str',), name=dict(type='str', required=True), network_profile_ref=dict(type='str',), network_ref=dict(type='str',), network_security_policy_ref=dict(type='str',), nsx_securitygroup=dict(type='list',), performance_limits=dict(type='dict',), pool_group_ref=dict(type='str',), pool_ref=dict(type='str',), port_uuid=dict(type='str',), remove_listening_port_on_vs_down=dict(type='bool',), requests_rate_limit=dict(type='dict',), scaleout_ecmp=dict(type='bool',), se_group_ref=dict(type='str',), server_network_profile_ref=dict(type='str',), service_metadata=dict(type='str',), service_pool_select=dict(type='list',), services=dict(type='list',), sideband_profile=dict(type='dict',), snat_ip=dict(type='list',), ssl_key_and_certificate_refs=dict(type='list',), ssl_profile_ref=dict(type='str',), ssl_sess_cache_avg_size=dict(type='int',), static_dns_records=dict(type='list',), subnet=dict(type='dict',), subnet_uuid=dict(type='str',), tenant_ref=dict(type='str',), traffic_clone_profile_ref=dict(type='str',), type=dict(type='str',), url=dict(type='str',), use_bridge_ip_as_vip=dict(type='bool',), uuid=dict(type='str',), vh_domain_name=dict(type='list',), vh_parent_vs_uuid=dict(type='str',), vip=dict(type='list',), vrf_context_ref=dict(type='str',), vs_datascripts=dict(type='list',), vsvip_ref=dict(type='str',), weight=dict(type='int',), ) argument_specs.update(avi_common_argument_spec()) module = AnsibleModule( argument_spec=argument_specs, supports_check_mode=True) if not HAS_AVI: return module.fail_json(msg=( 'Avi python API SDK (avisdk>=17.1) is not installed. ' 'For more details visit https://github.com/avinetworks/sdk.')) return avi_ansible_api(module, 'virtualservice', set([])) if __name__ == '__main__': main()
unknown
codeparrot/codeparrot-clean
from __future__ import annotations import datetime from typing import Union import pydantic from openai import _compat from openai._utils._json import openapi_dumps class TestOpenapiDumps: def test_basic(self) -> None: data = {"key": "value", "number": 42} json_bytes = openapi_dumps(data) assert json_bytes == b'{"key":"value","number":42}' def test_datetime_serialization(self) -> None: dt = datetime.datetime(2023, 1, 1, 12, 0, 0) data = {"datetime": dt} json_bytes = openapi_dumps(data) assert json_bytes == b'{"datetime":"2023-01-01T12:00:00"}' def test_pydantic_model_serialization(self) -> None: class User(pydantic.BaseModel): first_name: str last_name: str age: int model_instance = User(first_name="John", last_name="Kramer", age=83) data = {"model": model_instance} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"first_name":"John","last_name":"Kramer","age":83}}' def test_pydantic_model_with_default_values(self) -> None: class User(pydantic.BaseModel): name: str role: str = "user" active: bool = True score: int = 0 model_instance = User(name="Alice") data = {"model": model_instance} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"name":"Alice"}}' def test_pydantic_model_with_default_values_overridden(self) -> None: class User(pydantic.BaseModel): name: str role: str = "user" active: bool = True model_instance = User(name="Bob", role="admin", active=False) data = {"model": model_instance} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"name":"Bob","role":"admin","active":false}}' def test_pydantic_model_with_alias(self) -> None: class User(pydantic.BaseModel): first_name: str = pydantic.Field(alias="firstName") last_name: str = pydantic.Field(alias="lastName") model_instance = User(firstName="John", lastName="Doe") data = {"model": model_instance} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"firstName":"John","lastName":"Doe"}}' def test_pydantic_model_with_alias_and_default(self) -> None: class User(pydantic.BaseModel): user_name: str = pydantic.Field(alias="userName") user_role: str = pydantic.Field(default="member", alias="userRole") is_active: bool = pydantic.Field(default=True, alias="isActive") model_instance = User(userName="charlie") data = {"model": model_instance} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"userName":"charlie"}}' model_with_overrides = User(userName="diana", userRole="admin", isActive=False) data = {"model": model_with_overrides} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"userName":"diana","userRole":"admin","isActive":false}}' def test_pydantic_model_with_nested_models_and_defaults(self) -> None: class Address(pydantic.BaseModel): street: str city: str = "Unknown" class User(pydantic.BaseModel): name: str address: Address verified: bool = False if _compat.PYDANTIC_V1: # to handle forward references in Pydantic v1 User.update_forward_refs(**locals()) # type: ignore[reportDeprecated] address = Address(street="123 Main St") user = User(name="Diana", address=address) data = {"user": user} json_bytes = openapi_dumps(data) assert json_bytes == b'{"user":{"name":"Diana","address":{"street":"123 Main St"}}}' address_with_city = Address(street="456 Oak Ave", city="Boston") user_verified = User(name="Eve", address=address_with_city, verified=True) data = {"user": user_verified} json_bytes = openapi_dumps(data) assert ( json_bytes == b'{"user":{"name":"Eve","address":{"street":"456 Oak Ave","city":"Boston"},"verified":true}}' ) def test_pydantic_model_with_optional_fields(self) -> None: class User(pydantic.BaseModel): name: str email: Union[str, None] phone: Union[str, None] model_with_none = User(name="Eve", email=None, phone=None) data = {"model": model_with_none} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"name":"Eve","email":null,"phone":null}}' model_with_values = User(name="Frank", email="frank@example.com", phone=None) data = {"model": model_with_values} json_bytes = openapi_dumps(data) assert json_bytes == b'{"model":{"name":"Frank","email":"frank@example.com","phone":null}}'
python
github
https://github.com/openai/openai-python
tests/test_utils/test_json.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings import apps.users.models class Migration(migrations.Migration): dependencies = [ ('users', '0006_auto_20150422_1649'), ] operations = [ migrations.AlterField( model_name='achievement', name='achievement_id', field=models.IntegerField(help_text=apps.users.models.achievement_help_text, choices=[(1, 'In Pursuit of Mappiness'), (0, 'Ready, Set, Roll'), (2, 'Treerifically Trained'), (3, 'Counter Cultured'), (4, 'Rolling Revolutionary'), (5, 'Mapping Machine'), (6, 'Sprout Mapper'), (7, 'Seedling Mapper'), (8, 'Sapling Mapper'), (9, 'Mayoral Mapper')]), preserve_default=True, ), migrations.AlterField( model_name='achievement', name='created_at', field=models.DateTimeField(help_text='Time when row was created', auto_now_add=True), preserve_default=True, ), migrations.AlterField( model_name='achievement', name='updated_at', field=models.DateTimeField(help_text='Time when row was last updated', auto_now=True), preserve_default=True, ), migrations.AlterField( model_name='achievement', name='user', field=models.ForeignKey(help_text='ID of user who achieved the achievement', to=settings.AUTH_USER_MODEL), preserve_default=True, ), migrations.AlterField( model_name='follow', name='created_at', field=models.DateTimeField(help_text='Time when row was created', auto_now_add=True), preserve_default=True, ), migrations.AlterField( model_name='follow', name='group', field=models.ForeignKey(help_text='ID of group being followed', to='core.Group'), preserve_default=True, ), migrations.AlterField( model_name='follow', name='updated_at', field=models.DateTimeField(help_text='Time when row was last updated', auto_now=True), preserve_default=True, ), migrations.AlterField( model_name='follow', name='user', field=models.ForeignKey(help_text='ID of user following group', to=settings.AUTH_USER_MODEL), preserve_default=True, ), migrations.AlterField( model_name='trainingresult', name='created_at', field=models.DateTimeField(help_text='Time when row was created', auto_now_add=True), preserve_default=True, ), migrations.AlterField( model_name='trainingresult', name='module_name', field=models.CharField(help_text='Name of quiz', max_length=255), preserve_default=True, ), migrations.AlterField( model_name='trainingresult', name='score', field=models.IntegerField(help_text='Number of questions answered correctly', null=True), preserve_default=True, ), migrations.AlterField( model_name='trainingresult', name='updated_at', field=models.DateTimeField(help_text='Time when row was last updated', auto_now=True), preserve_default=True, ), migrations.AlterField( model_name='trainingresult', name='user', field=models.ForeignKey(help_text='ID of user answering quiz questions', to=settings.AUTH_USER_MODEL), preserve_default=True, ), migrations.AlterField( model_name='trustedmapper', name='created_at', field=models.DateTimeField(help_text='Time when row was created', auto_now_add=True), preserve_default=True, ), migrations.AlterField( model_name='trustedmapper', name='group', field=models.ForeignKey(help_text='ID of group granting mapping permission', to='core.Group'), preserve_default=True, ), migrations.AlterField( model_name='trustedmapper', name='is_approved', field=models.NullBooleanField(help_text='Has mapping permission been granted?'), preserve_default=True, ), migrations.AlterField( model_name='trustedmapper', name='updated_at', field=models.DateTimeField(help_text='Time when row was last updated', auto_now=True), preserve_default=True, ), migrations.AlterField( model_name='trustedmapper', name='user', field=models.ForeignKey(help_text='ID of user requesting mapping permission', to=settings.AUTH_USER_MODEL), preserve_default=True, ), ]
unknown
codeparrot/codeparrot-clean
import optparse from html2text.compat import urllib from html2text import HTML2Text, config, __version__ from html2text.utils import wrapwrite, wrap_read def main(): baseurl = '' class bcolors: # pragma: no cover HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' p = optparse.OptionParser( '%prog [(filename|url) [encoding]]', version='%prog ' + ".".join(map(str, __version__)) ) p.add_option( "--no-wrap-links", dest="wrap_links", action="store_false", default=config.WRAP_LINKS, help="wrap links during conversion" ) p.add_option( "--ignore-emphasis", dest="ignore_emphasis", action="store_true", default=config.IGNORE_EMPHASIS, help="don't include any formatting for emphasis" ) p.add_option( "--reference-links", dest="inline_links", action="store_false", default=config.INLINE_LINKS, help="use reference style links instead of inline links" ) p.add_option( "--ignore-links", dest="ignore_links", action="store_true", default=config.IGNORE_ANCHORS, help="don't include any formatting for links") p.add_option( "--protect-links", dest="protect_links", action="store_true", default=config.PROTECT_LINKS, help=("protect links from line breaks surrounding them " + "with angle brackets")) p.add_option( "--ignore-images", dest="ignore_images", action="store_true", default=config.IGNORE_IMAGES, help="don't include any formatting for images" ) p.add_option( "--images-to-alt", dest="images_to_alt", action="store_true", default=config.IMAGES_TO_ALT, help="Discard image data, only keep alt text" ) p.add_option( "--images-with-size", dest="images_with_size", action="store_true", default=config.IMAGES_WITH_SIZE, help="Write image tags with height and width attrs as raw html to " "retain dimensions" ) p.add_option( "-g", "--google-doc", action="store_true", dest="google_doc", default=False, help="convert an html-exported Google Document" ) p.add_option( "-d", "--dash-unordered-list", action="store_true", dest="ul_style_dash", default=False, help="use a dash rather than a star for unordered list items" ) p.add_option( "-e", "--asterisk-emphasis", action="store_true", dest="em_style_asterisk", default=False, help="use an asterisk rather than an underscore for emphasized text" ) p.add_option( "-b", "--body-width", dest="body_width", action="store", type="int", default=config.BODY_WIDTH, help="number of characters per output line, 0 for no wrap" ) p.add_option( "-i", "--google-list-indent", dest="list_indent", action="store", type="int", default=config.GOOGLE_LIST_INDENT, help="number of pixels Google indents nested lists" ) p.add_option( "-s", "--hide-strikethrough", action="store_true", dest="hide_strikethrough", default=False, help="hide strike-through text. only relevant when -g is " "specified as well" ) p.add_option( "--escape-all", action="store_true", dest="escape_snob", default=False, help="Escape all special characters. Output is less readable, but " "avoids corner case formatting issues." ) p.add_option( "--bypass-tables", action="store_true", dest="bypass_tables", default=config.BYPASS_TABLES, help="Format tables in HTML rather than Markdown syntax." ) p.add_option( "--single-line-break", action="store_true", dest="single_line_break", default=config.SINGLE_LINE_BREAK, help=( "Use a single line break after a block element rather than two " "line breaks. NOTE: Requires --body-width=0" ) ) p.add_option( "--unicode-snob", action="store_true", dest="unicode_snob", default=config.UNICODE_SNOB, help="Use unicode throughout document" ) p.add_option( "--no-automatic-links", action="store_false", dest="use_automatic_links", default=config.USE_AUTOMATIC_LINKS, help="Do not use automatic links wherever applicable" ) p.add_option( "--no-skip-internal-links", action="store_false", dest="skip_internal_links", default=config.SKIP_INTERNAL_LINKS, help="Do not skip internal links" ) p.add_option( "--links-after-para", action="store_true", dest="links_each_paragraph", default=config.LINKS_EACH_PARAGRAPH, help="Put links after each paragraph instead of document" ) p.add_option( "--mark-code", action="store_true", dest="mark_code", default=config.MARK_CODE, help="Mark program code blocks with [code]...[/code]" ) p.add_option( "--decode-errors", dest="decode_errors", action="store", type="string", default=config.DECODE_ERRORS, help="What to do in case of decode errors.'ignore', 'strict' and 'replace' are acceptable values" ) (options, args) = p.parse_args() # process input encoding = "utf-8" if len(args) > 0 and args[0] != '-': # pragma: no cover file_ = args[0] if len(args) == 2: encoding = args[1] if len(args) > 2: p.error('Too many arguments') if file_.startswith('http://') or file_.startswith('https://'): baseurl = file_ j = urllib.urlopen(baseurl) data = j.read() if encoding is None: try: from feedparser import _getCharacterEncoding as enc except ImportError: enc = lambda x, y: ('utf-8', 1) encoding = enc(j.headers, data)[0] if encoding == 'us-ascii': encoding = 'utf-8' else: data = open(file_, 'rb').read() if encoding is None: try: from chardet import detect except ImportError: detect = lambda x: {'encoding': 'utf-8'} encoding = detect(data)['encoding'] else: data = wrap_read() if hasattr(data, 'decode'): try: try: data = data.decode(encoding, errors=options.decode_errors) except TypeError: # python 2.6.x does not have the errors option data = data.decode(encoding) except UnicodeDecodeError as err: warning = bcolors.WARNING + "Warning:" + bcolors.ENDC warning += ' Use the ' + bcolors.OKGREEN warning += '--decode-errors=ignore' + bcolors.ENDC + 'flag.' print(warning) raise err h = HTML2Text(baseurl=baseurl) # handle options if options.ul_style_dash: h.ul_item_mark = '-' if options.em_style_asterisk: h.emphasis_mark = '*' h.strong_mark = '__' h.body_width = options.body_width h.google_list_indent = options.list_indent h.ignore_emphasis = options.ignore_emphasis h.ignore_links = options.ignore_links h.protect_links = options.protect_links h.ignore_images = options.ignore_images h.images_to_alt = options.images_to_alt h.images_with_size = options.images_with_size h.google_doc = options.google_doc h.hide_strikethrough = options.hide_strikethrough h.escape_snob = options.escape_snob h.bypass_tables = options.bypass_tables h.single_line_break = options.single_line_break h.inline_links = options.inline_links h.unicode_snob = options.unicode_snob h.use_automatic_links = options.use_automatic_links h.skip_internal_links = options.skip_internal_links h.links_each_paragraph = options.links_each_paragraph h.mark_code = options.mark_code h.wrap_links = options.wrap_links wrapwrite(h.handle(data))
unknown
codeparrot/codeparrot-clean
#!/usr/bin/python # -*- coding: utf-8 -*- # # (c) 2015, René Moser <mail@renemoser.net> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. DOCUMENTATION = ''' --- module: cs_vmsnapshot short_description: Manages VM snapshots on Apache CloudStack based clouds. description: - Create, remove and revert VM from snapshots. version_added: '2.0' author: "René Moser (@resmo)" options: name: description: - Unique Name of the snapshot. In CloudStack terms display name. required: true aliases: ['display_name'] vm: description: - Name of the virtual machine. required: true description: description: - Description of the snapshot. required: false default: null snapshot_memory: description: - Snapshot memory if set to true. required: false default: false zone: description: - Name of the zone in which the VM is in. If not set, default zone is used. required: false default: null project: description: - Name of the project the VM is assigned to. required: false default: null state: description: - State of the snapshot. required: false default: 'present' choices: [ 'present', 'absent', 'revert' ] domain: description: - Domain the VM snapshot is related to. required: false default: null account: description: - Account the VM snapshot is related to. required: false default: null poll_async: description: - Poll async jobs until job has finished. required: false default: true extends_documentation_fragment: cloudstack ''' EXAMPLES = ''' # Create a VM snapshot of disk and memory before an upgrade - local_action: module: cs_vmsnapshot name: Snapshot before upgrade vm: web-01 snapshot_memory: yes # Revert a VM to a snapshot after a failed upgrade - local_action: module: cs_vmsnapshot name: Snapshot before upgrade vm: web-01 state: revert # Remove a VM snapshot after successful upgrade - local_action: module: cs_vmsnapshot name: Snapshot before upgrade vm: web-01 state: absent ''' RETURN = ''' --- id: description: UUID of the snapshot. returned: success type: string sample: a6f7a5fc-43f8-11e5-a151-feff819cdc9f name: description: Name of the snapshot. returned: success type: string sample: snapshot before update display_name: description: Display name of the snapshot. returned: success type: string sample: snapshot before update created: description: date of the snapshot. returned: success type: string sample: 2015-03-29T14:57:06+0200 current: description: true if snapshot is current returned: success type: boolean sample: True state: description: state of the vm snapshot returned: success type: string sample: Allocated type: description: type of vm snapshot returned: success type: string sample: DiskAndMemory description: description: description of vm snapshot returned: success type: string sample: snapshot brought to you by Ansible domain: description: Domain the the vm snapshot is related to. returned: success type: string sample: example domain account: description: Account the vm snapshot is related to. returned: success type: string sample: example account project: description: Name of project the vm snapshot is related to. returned: success type: string sample: Production ''' # import cloudstack common from ansible.module_utils.cloudstack import * class AnsibleCloudStackVmSnapshot(AnsibleCloudStack): def __init__(self, module): super(AnsibleCloudStackVmSnapshot, self).__init__(module) self.returns = { 'type': 'type', 'current': 'current', } def get_snapshot(self): args = {} args['virtualmachineid'] = self.get_vm('id') args['account'] = self.get_account('name') args['domainid'] = self.get_domain('id') args['projectid'] = self.get_project('id') args['name'] = self.module.params.get('name') snapshots = self.cs.listVMSnapshot(**args) if snapshots: return snapshots['vmSnapshot'][0] return None def create_snapshot(self): snapshot = self.get_snapshot() if not snapshot: self.result['changed'] = True args = {} args['virtualmachineid'] = self.get_vm('id') args['name'] = self.module.params.get('name') args['description'] = self.module.params.get('description') args['snapshotmemory'] = self.module.params.get('snapshot_memory') if not self.module.check_mode: res = self.cs.createVMSnapshot(**args) if 'errortext' in res: self.module.fail_json(msg="Failed: '%s'" % res['errortext']) poll_async = self.module.params.get('poll_async') if res and poll_async: snapshot = self.poll_job(res, 'vmsnapshot') return snapshot def remove_snapshot(self): snapshot = self.get_snapshot() if snapshot: self.result['changed'] = True if not self.module.check_mode: res = self.cs.deleteVMSnapshot(vmsnapshotid=snapshot['id']) if 'errortext' in res: self.module.fail_json(msg="Failed: '%s'" % res['errortext']) poll_async = self.module.params.get('poll_async') if res and poll_async: res = self.poll_job(res, 'vmsnapshot') return snapshot def revert_vm_to_snapshot(self): snapshot = self.get_snapshot() if snapshot: self.result['changed'] = True if snapshot['state'] != "Ready": self.module.fail_json(msg="snapshot state is '%s', not ready, could not revert VM" % snapshot['state']) if not self.module.check_mode: res = self.cs.revertToVMSnapshot(vmsnapshotid=snapshot['id']) poll_async = self.module.params.get('poll_async') if res and poll_async: res = self.poll_job(res, 'vmsnapshot') return snapshot self.module.fail_json(msg="snapshot not found, could not revert VM") def main(): argument_spec = cs_argument_spec() argument_spec.update(dict( name = dict(required=True, aliases=['display_name']), vm = dict(required=True), description = dict(default=None), zone = dict(default=None), snapshot_memory = dict(type='bool', default=False), state = dict(choices=['present', 'absent', 'revert'], default='present'), domain = dict(default=None), account = dict(default=None), project = dict(default=None), poll_async = dict(type='bool', default=True), )) required_together = cs_required_together() required_together.extend([ ['icmp_type', 'icmp_code'], ]) module = AnsibleModule( argument_spec=argument_spec, required_together=required_together, supports_check_mode=True ) try: acs_vmsnapshot = AnsibleCloudStackVmSnapshot(module) state = module.params.get('state') if state in ['revert']: snapshot = acs_vmsnapshot.revert_vm_to_snapshot() elif state in ['absent']: snapshot = acs_vmsnapshot.remove_snapshot() else: snapshot = acs_vmsnapshot.create_snapshot() result = acs_vmsnapshot.get_result(snapshot) except CloudStackException as e: module.fail_json(msg='CloudStackException: %s' % str(e)) module.exit_json(**result) # import module snippets from ansible.module_utils.basic import * if __name__ == '__main__': main()
unknown
codeparrot/codeparrot-clean
#/*########################################################################## # Copyright (C) 2004-2012 European Synchrotron Radiation Facility # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at # the ESRF by the Software group. # # This toolkit is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # PyMca is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more # details. # # You should have received a copy of the GNU General Public License along with # PyMca; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # PyMca follows the dual licensing model of Riverbank's PyQt and cannot be # used as a free plugin for a non-free program. # # Please contact the ESRF industrial unit (industry@esrf.fr) if this license # is a problem for you. #############################################################################*/ __author__ = "V.A. Sole - ESRF Software Group" import numpy try: from PyMca import StackBrowser from PyMca.PyMcaSciPy.signal import median except ImportError: print("Median2DBrowser importing directly!") import StackBrowser from PyMcaSciPy.signal import median medfilt2d = median.medfilt2d qt = StackBrowser.qt DEBUG = 0 class MedianParameters(qt.QWidget): def __init__(self, parent=None, use_conditional=False): qt.QWidget.__init__(self, parent) self.mainLayout = qt.QHBoxLayout(self) self.mainLayout.setMargin(0) self.mainLayout.setSpacing(2) self.label = qt.QLabel(self) self.label.setText("Median filter width: ") self.widthSpin = qt.QSpinBox(self) self.widthSpin.setMinimum(1) self.widthSpin.setMaximum(99) self.widthSpin.setValue(1) self.widthSpin.setSingleStep(2) if use_conditional: self.conditionalLabel = qt.QLabel(self) self.conditionalLabel.setText("Conditional:") self.conditionalSpin = qt.QSpinBox(self) self.conditionalSpin.setMinimum(0) self.conditionalSpin.setMaximum(1) self.conditionalSpin.setValue(0) self.mainLayout.addWidget(self.label) self.mainLayout.addWidget(self.widthSpin) if use_conditional: self.mainLayout.addWidget(self.conditionalLabel) self.mainLayout.addWidget(self.conditionalSpin) class Median2DBrowser(StackBrowser.StackBrowser): def __init__(self, *var, **kw): StackBrowser.StackBrowser.__init__(self, *var, **kw) self.setWindowTitle("Image Browser with Median Filter") self._medianParameters = {'use':True, 'row_width':5, 'column_width':5, 'conditional':0} self._medianParametersWidget = MedianParameters(self, use_conditional=1) self._medianParametersWidget.widthSpin.setValue(5) self.layout().addWidget(self._medianParametersWidget) self.connect(self._medianParametersWidget.widthSpin, qt.SIGNAL('valueChanged(int)'), self.setKernelWidth) self.connect(self._medianParametersWidget.conditionalSpin, qt.SIGNAL('valueChanged(int)'), self.setConditionalFlag) def setKernelWidth(self, value): kernelSize = numpy.asarray(value) if not (int(value) % 2): msg = qt.QMessageBox(self) msg.setIcon(qt.QMessageBox.Critical) msg.setWindowTitle("Median filter error") msg.setText("One odd values accepted") msg.exec_() return if len(kernelSize.shape) == 0: kernelSize = [kernelSize.item()] * 2 self._medianParameters['row_width'] = kernelSize[0] self._medianParameters['column_width'] = kernelSize[1] self._medianParametersWidget.widthSpin.setValue(int(kernelSize[0])) current = self.slider.value() self.showImage(current, moveslider=False) def setConditionalFlag(self, value): self._medianParameters['conditional'] = int(value) self._medianParametersWidget.conditionalSpin.setValue(int(value)) current = self.slider.value() self.showImage(current, moveslider=False) def _buildTitle(self, legend, index): a = self._medianParameters['row_width'] b = self._medianParameters['column_width'] title = StackBrowser.StackBrowser._buildTitle(self, legend, index) if max(a, b) > 1: if self._medianParameters['conditional'] == 0: return "Median Filter (%d,%d) of %s" % (a, b, title) else: return "Conditional Median Filter (%d,%d) of %s" % (a, b, title) else: return title def showImage(self, index=0, moveslider=True): if not len(self.dataObjectsList): return legend = self.dataObjectsList[0] dataObject = self.dataObjectsDict[legend] data = self._getImageDataFromSingleIndex(index) if self._backgroundSubtraction and (self._backgroundImage is not None): self.setImageData(data - self._backgroundImage) else: self.setImageData(data, clearmask=False) txt = self._buildTitle(legend, index) self.graphWidget.graph.setTitle(txt) self.name.setText(txt) if moveslider: self.slider.setValue(index) def setImageData(self, data, **kw): if self._medianParameters['use']: if max(self._medianParameters['row_width'], self._medianParameters['column_width']) > 1: conditional = self._medianParameters['conditional'] data = medfilt2d(data,[self._medianParameters['row_width'], self._medianParameters['column_width']], conditional=conditional) # this method is in fact of MaskImageWidget StackBrowser.StackBrowser.setImageData(self, data, **kw) if __name__ == "__main__": #create a dummy stack nrows = 100 ncols = 200 nchannels = 1024 a = numpy.ones((nrows, ncols), numpy.float) stackData = numpy.zeros((nrows, ncols, nchannels), numpy.float) for i in range(nchannels): if i % 10: stackData[:, :, i] = a * i else: stackData[:, :, i] = 10 * a * i app = qt.QApplication([]) qt.QObject.connect(app, qt.SIGNAL("lastWindowClosed()"), app,qt.SLOT("quit()")) w = Median2DBrowser() w.setStackDataObject(stackData, index=0) w.show() app.exec_()
unknown
codeparrot/codeparrot-clean
/* Copyright 2015 The TensorFlow Authors. 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. ==============================================================================*/ #ifndef TENSORFLOW_CORE_KERNELS_TILE_OPS_IMPL_H_ #define TENSORFLOW_CORE_KERNELS_TILE_OPS_IMPL_H_ #include "unsupported/Eigen/CXX11/Tensor" // from @eigen_archive #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace functor { template <typename Device, typename T, int NDIM> struct TileGrad { void operator()(const Device& d, typename TTypes<T, NDIM>::Tensor out, typename TTypes<T, NDIM>::ConstTensor in, const Eigen::DSizes<Eigen::DenseIndex, NDIM>& indices, const Eigen::DSizes<Eigen::DenseIndex, NDIM>& sizes, bool first) const { if (first) { out.device(d) = in.slice(indices, sizes); } else { out.device(d) += in.slice(indices, sizes); } } }; template <typename Device, typename T> struct TileGrad<Device, T, 0> { void operator()(const Device& d, typename TTypes<T, 0>::Tensor out, typename TTypes<T, 0>::ConstTensor in, const Eigen::DSizes<Eigen::DenseIndex, 0>&, const Eigen::DSizes<Eigen::DenseIndex, 0>&, bool first) const { if (first) { out.device(d) = in; } else { out.device(d) += in; } } }; template <typename Device, typename T, int NDIM, int REDUCEDNDIM> struct ReduceAndReshape { void operator()( const Device& d, typename TTypes<T, NDIM>::Tensor out, typename TTypes<T, NDIM>::ConstTensor in, const Eigen::DSizes<Eigen::DenseIndex, REDUCEDNDIM>& reduce_dim, const Eigen::DSizes<Eigen::DenseIndex, NDIM>& reshape_dim) const { out.device(d) = in.sum(reduce_dim).reshape(reshape_dim); } }; } // end namespace functor } // end namespace tensorflow #endif // TENSORFLOW_CORE_KERNELS_TILE_OPS_IMPL_H_
c
github
https://github.com/tensorflow/tensorflow
tensorflow/core/kernels/tile_ops_impl.h
// Copyright 2022 The Abseil Authors. // // 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 // // https://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. // // ----------------------------------------------------------------------------- // File: log/internal/test_matchers.h // ----------------------------------------------------------------------------- // // This file declares Googletest's matchers used in the Abseil Logging library // unit tests. #ifndef ABSL_LOG_INTERNAL_TEST_MATCHERS_H_ #define ABSL_LOG_INTERNAL_TEST_MATCHERS_H_ #include <iosfwd> #include <sstream> #include <string> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/base/log_severity.h" #include "absl/log/internal/test_helpers.h" #include "absl/log/log_entry.h" #include "absl/strings/string_view.h" #include "absl/time/time.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace log_internal { // In some configurations, Googletest's string matchers (e.g. // `::testing::EndsWith`) need help to match `absl::string_view`. ::testing::Matcher<absl::string_view> AsString( const ::testing::Matcher<const std::string&>& str_matcher); // These matchers correspond to the components of `absl::LogEntry`. ::testing::Matcher<const absl::LogEntry&> SourceFilename( const ::testing::Matcher<absl::string_view>& source_filename); ::testing::Matcher<const absl::LogEntry&> SourceBasename( const ::testing::Matcher<absl::string_view>& source_basename); // Be careful with this one; multi-line statements using `__LINE__` evaluate // differently on different platforms. In particular, the MSVC implementation // of `EXPECT_DEATH` returns the line number of the macro expansion to all lines // within the code block that's expected to die. ::testing::Matcher<const absl::LogEntry&> SourceLine( const ::testing::Matcher<int>& source_line); ::testing::Matcher<const absl::LogEntry&> Prefix( const ::testing::Matcher<bool>& prefix); ::testing::Matcher<const absl::LogEntry&> LogSeverity( const ::testing::Matcher<absl::LogSeverity>& log_severity); ::testing::Matcher<const absl::LogEntry&> Timestamp( const ::testing::Matcher<absl::Time>& timestamp); // Matches if the `LogEntry`'s timestamp falls after the instantiation of this // matcher and before its execution, as is normal when used with EXPECT_CALL. ::testing::Matcher<const absl::LogEntry&> TimestampInMatchWindow(); ::testing::Matcher<const absl::LogEntry&> ThreadID( const ::testing::Matcher<absl::LogEntry::tid_t>&); ::testing::Matcher<const absl::LogEntry&> TextMessageWithPrefixAndNewline( const ::testing::Matcher<absl::string_view>& text_message_with_prefix_and_newline); ::testing::Matcher<const absl::LogEntry&> TextMessageWithPrefix( const ::testing::Matcher<absl::string_view>& text_message_with_prefix); ::testing::Matcher<const absl::LogEntry&> TextMessage( const ::testing::Matcher<absl::string_view>& text_message); ::testing::Matcher<const absl::LogEntry&> TextPrefix( const ::testing::Matcher<absl::string_view>& text_prefix); ::testing::Matcher<const absl::LogEntry&> Verbosity( const ::testing::Matcher<int>& verbosity); ::testing::Matcher<const absl::LogEntry&> Stacktrace( const ::testing::Matcher<absl::string_view>& stacktrace); // Behaves as `Eq(stream.str())`, but produces better failure messages. ::testing::Matcher<absl::string_view> MatchesOstream( const std::ostringstream& stream); ::testing::Matcher<const std::string&> DeathTestValidateExpectations(); ::testing::Matcher<const absl::LogEntry&> RawEncodedMessage( const ::testing::Matcher<absl::string_view>& raw_encoded_message); #define ENCODED_MESSAGE(message_matcher) ::testing::_ } // namespace log_internal ABSL_NAMESPACE_END } // namespace absl #endif // ABSL_LOG_INTERNAL_TEST_MATCHERS_H_
c
github
https://github.com/mysql/mysql-server
extra/abseil/abseil-cpp-20230802.1/absl/log/internal/test_matchers.h
from typing import Callable, List, Dict, Optional import numpy as np from typeguard import check_argument_types from neuralmonkey.model.model_part import ModelPart from neuralmonkey.decoders.beam_search_decoder import (BeamSearchDecoder, SearchStepOutput) from neuralmonkey.runners.base_runner import (BaseRunner, Executable, ExecutionResult, NextExecute) from neuralmonkey.vocabulary import Vocabulary, END_TOKEN class BeamSearchExecutable(Executable): def __init__(self, rank: int, all_encoders: List[ModelPart], bs_outputs: SearchStepOutput, vocabulary: Vocabulary, postprocess: Optional[Callable]) -> None: self._rank = rank self._all_encoders = all_encoders self._bs_outputs = bs_outputs self._vocabulary = vocabulary self._postprocess = postprocess self.result = None # type: Optional[ExecutionResult] def next_to_execute(self) -> NextExecute: return self._all_encoders, {'bs_outputs': self._bs_outputs}, {} def collect_results(self, results: List[Dict]) -> None: if len(results) > 1: raise ValueError("Beam search runner does not support ensembling.") evaluated_bs = results[0]['bs_outputs'] max_time = evaluated_bs.scores.shape[0] # pick the end of the hypothesis based on its rank hyp_index = np.argpartition( -evaluated_bs.scores[-1], self._rank - 1)[self._rank - 1] bs_score = evaluated_bs.scores[-1][hyp_index] # now backtrack output_tokens = [] # type: List[str] for time in reversed(range(max_time)): token_id = evaluated_bs.token_ids[time][hyp_index] token = self._vocabulary.index_to_word[token_id] output_tokens.append(token) hyp_index = evaluated_bs.parent_ids[time][hyp_index] output_tokens.reverse() before_eos_tokens = [] # type: List[str] for tok in output_tokens: if tok == END_TOKEN: break before_eos_tokens.append(tok) if self._postprocess is not None: decoded_tokens = self._postprocess([before_eos_tokens]) else: decoded_tokens = [before_eos_tokens] self.result = ExecutionResult( outputs=decoded_tokens, losses=[bs_score], scalar_summaries=None, histogram_summaries=None, image_summaries=None) class BeamSearchRunner(BaseRunner): def __init__(self, output_series: str, decoder: BeamSearchDecoder, rank: int = 1, postprocess: Callable[[List[str]], List[str]] = None) -> None: super(BeamSearchRunner, self).__init__(output_series, decoder) check_argument_types() if rank < 1 or rank > decoder.beam_size: raise ValueError( ("Rank of output hypothesis must be between 1 and the beam " "size ({}), was {}.").format(decoder.beam_size, rank)) self._rank = rank self._postprocess = postprocess def get_executable(self, compute_losses: bool = False, summaries: bool = True) -> BeamSearchExecutable: return BeamSearchExecutable( self._rank, self.all_coders, self._decoder.outputs, self._decoder.vocabulary, self._postprocess) @property def loss_names(self) -> List[str]: return ["beam_search_score"] @property def decoder_data_id(self) -> Optional[str]: return None def beam_search_runner_range(output_series: str, decoder: BeamSearchDecoder, max_rank: int = None, postprocess: Callable[ [List[str]], List[str]]=None ) -> List[BeamSearchRunner]: """A list of beam search runners for a range of ranks from 1 to max_rank. This means there is max_rank output series where the n-th series contains the n-th best hypothesis from the beam search. Args: output_series: Prefix of output series. decoder: Beam search decoder shared by all runners. max_rank: Maximum rank of the hypotheses. postprocess: Series-level postprocess applied on output. Returns: List of beam search runners getting hypotheses with rank from 1 to max_rank. """ check_argument_types() if max_rank is None: max_rank = decoder.beam_size if max_rank > decoder.beam_size: raise ValueError( ("The maximum rank ({}) cannot be " "bigger than beam size {}.").format( max_rank, decoder.beam_size)) return [BeamSearchRunner("{}.rank{:03d}".format(output_series, r), decoder, r, postprocess) for r in range(1, max_rank + 1)]
unknown
codeparrot/codeparrot-clean
from __future__ import unicode_literals import datetime import os import re import sys from unittest import skipIf import warnings from xml.dom.minidom import parseString try: import pytz except ImportError: pytz = None from django.conf import settings from django.core import serializers from django.core.urlresolvers import reverse from django.db import connection from django.db.models import Min, Max from django.http import HttpRequest from django.template import Context, RequestContext, Template, TemplateSyntaxError from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature from django.test.utils import override_settings, requires_tz_support from django.utils import six from django.utils import timezone from .forms import EventForm, EventSplitForm, EventLocalizedForm, EventModelForm, EventLocalizedModelForm from .models import Event, MaybeEvent, Session, SessionEvent, Timestamp, AllDayEvent # These tests use the EAT (Eastern Africa Time) and ICT (Indochina Time) # who don't have Daylight Saving Time, so we can represent them easily # with FixedOffset, and use them directly as tzinfo in the constructors. # settings.TIME_ZONE is forced to EAT. Most tests use a variant of # datetime.datetime(2011, 9, 1, 13, 20, 30), which translates to # 10:20:30 in UTC and 17:20:30 in ICT. UTC = timezone.utc EAT = timezone.get_fixed_timezone(180) # Africa/Nairobi ICT = timezone.get_fixed_timezone(420) # Asia/Bangkok @override_settings(TIME_ZONE='Africa/Nairobi', USE_TZ=False) class LegacyDatabaseTests(TestCase): def test_naive_datetime(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) @skipUnlessDBFeature('supports_microsecond_precision') def test_naive_datetime_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) @skipIfDBFeature('supports_microsecond_precision') def test_naive_datetime_with_microsecond_unsupported(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060) Event.objects.create(dt=dt) event = Event.objects.get() # microseconds are lost during a round-trip in the database self.assertEqual(event.dt, dt.replace(microsecond=0)) @skipUnlessDBFeature('supports_timezones') def test_aware_datetime_in_local_timezone(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # interpret the naive datetime in local time to get the correct value self.assertEqual(event.dt.replace(tzinfo=EAT), dt) @skipUnlessDBFeature('supports_timezones') @skipUnlessDBFeature('supports_microsecond_precision') def test_aware_datetime_in_local_timezone_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # interpret the naive datetime in local time to get the correct value self.assertEqual(event.dt.replace(tzinfo=EAT), dt) # This combination actually never happens. @skipUnlessDBFeature('supports_timezones') @skipIfDBFeature('supports_microsecond_precision') def test_aware_datetime_in_local_timezone_with_microsecond_unsupported(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # interpret the naive datetime in local time to get the correct value # microseconds are lost during a round-trip in the database self.assertEqual(event.dt.replace(tzinfo=EAT), dt.replace(microsecond=0)) @skipUnlessDBFeature('supports_timezones') @skipIfDBFeature('needs_datetime_string_cast') def test_aware_datetime_in_utc(self): dt = datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # interpret the naive datetime in local time to get the correct value self.assertEqual(event.dt.replace(tzinfo=EAT), dt) # This combination is no longer possible since timezone support # was removed from the SQLite backend -- it didn't work. @skipUnlessDBFeature('supports_timezones') @skipUnlessDBFeature('needs_datetime_string_cast') def test_aware_datetime_in_utc_unsupported(self): dt = datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # django.db.backend.utils.typecast_dt will just drop the # timezone, so a round-trip in the database alters the data (!) # interpret the naive datetime in local time and you get a wrong value self.assertNotEqual(event.dt.replace(tzinfo=EAT), dt) # interpret the naive datetime in original time to get the correct value self.assertEqual(event.dt.replace(tzinfo=UTC), dt) @skipUnlessDBFeature('supports_timezones') @skipIfDBFeature('needs_datetime_string_cast') def test_aware_datetime_in_other_timezone(self): dt = datetime.datetime(2011, 9, 1, 17, 20, 30, tzinfo=ICT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # interpret the naive datetime in local time to get the correct value self.assertEqual(event.dt.replace(tzinfo=EAT), dt) # This combination is no longer possible since timezone support # was removed from the SQLite backend -- it didn't work. @skipUnlessDBFeature('supports_timezones') @skipUnlessDBFeature('needs_datetime_string_cast') def test_aware_datetime_in_other_timezone_unsupported(self): dt = datetime.datetime(2011, 9, 1, 17, 20, 30, tzinfo=ICT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertIsNone(event.dt.tzinfo) # django.db.backend.utils.typecast_dt will just drop the # timezone, so a round-trip in the database alters the data (!) # interpret the naive datetime in local time and you get a wrong value self.assertNotEqual(event.dt.replace(tzinfo=EAT), dt) # interpret the naive datetime in original time to get the correct value self.assertEqual(event.dt.replace(tzinfo=ICT), dt) @skipIfDBFeature('supports_timezones') def test_aware_datetime_unspported(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) with self.assertRaises(ValueError): Event.objects.create(dt=dt) def test_auto_now_and_auto_now_add(self): now = datetime.datetime.now() past = now - datetime.timedelta(seconds=2) future = now + datetime.timedelta(seconds=2) Timestamp.objects.create() ts = Timestamp.objects.get() self.assertLess(past, ts.created) self.assertLess(past, ts.updated) self.assertGreater(future, ts.updated) self.assertGreater(future, ts.updated) def test_query_filter(self): dt1 = datetime.datetime(2011, 9, 1, 12, 20, 30) dt2 = datetime.datetime(2011, 9, 1, 14, 20, 30) Event.objects.create(dt=dt1) Event.objects.create(dt=dt2) self.assertEqual(Event.objects.filter(dt__gte=dt1).count(), 2) self.assertEqual(Event.objects.filter(dt__gt=dt1).count(), 1) self.assertEqual(Event.objects.filter(dt__gte=dt2).count(), 1) self.assertEqual(Event.objects.filter(dt__gt=dt2).count(), 0) def test_query_datetime_lookups(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0)) self.assertEqual(Event.objects.filter(dt__year=2011).count(), 2) self.assertEqual(Event.objects.filter(dt__month=1).count(), 2) self.assertEqual(Event.objects.filter(dt__day=1).count(), 2) self.assertEqual(Event.objects.filter(dt__week_day=7).count(), 2) self.assertEqual(Event.objects.filter(dt__hour=1).count(), 1) self.assertEqual(Event.objects.filter(dt__minute=30).count(), 2) self.assertEqual(Event.objects.filter(dt__second=0).count(), 2) def test_query_aggregation(self): # Only min and max make sense for datetimes. Event.objects.create(dt=datetime.datetime(2011, 9, 1, 23, 20, 20)) Event.objects.create(dt=datetime.datetime(2011, 9, 1, 13, 20, 30)) Event.objects.create(dt=datetime.datetime(2011, 9, 1, 3, 20, 40)) result = Event.objects.all().aggregate(Min('dt'), Max('dt')) self.assertEqual(result, { 'dt__min': datetime.datetime(2011, 9, 1, 3, 20, 40), 'dt__max': datetime.datetime(2011, 9, 1, 23, 20, 20), }) def test_query_annotation(self): # Only min and max make sense for datetimes. morning = Session.objects.create(name='morning') afternoon = Session.objects.create(name='afternoon') SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 23, 20, 20), session=afternoon) SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 13, 20, 30), session=afternoon) SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 3, 20, 40), session=morning) morning_min_dt = datetime.datetime(2011, 9, 1, 3, 20, 40) afternoon_min_dt = datetime.datetime(2011, 9, 1, 13, 20, 30) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).order_by('dt'), [morning_min_dt, afternoon_min_dt], transform=lambda d: d.dt) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt), [morning_min_dt], transform=lambda d: d.dt) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).filter(dt__gte=afternoon_min_dt), [afternoon_min_dt], transform=lambda d: d.dt) def test_query_datetimes(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0)) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'year'), [datetime.datetime(2011, 1, 1, 0, 0, 0)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'month'), [datetime.datetime(2011, 1, 1, 0, 0, 0)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'day'), [datetime.datetime(2011, 1, 1, 0, 0, 0)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'hour'), [datetime.datetime(2011, 1, 1, 1, 0, 0), datetime.datetime(2011, 1, 1, 4, 0, 0)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'minute'), [datetime.datetime(2011, 1, 1, 1, 30, 0), datetime.datetime(2011, 1, 1, 4, 30, 0)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'second'), [datetime.datetime(2011, 1, 1, 1, 30, 0), datetime.datetime(2011, 1, 1, 4, 30, 0)], transform=lambda d: d) def test_raw_sql(self): # Regression test for #17755 dt = datetime.datetime(2011, 9, 1, 13, 20, 30) event = Event.objects.create(dt=dt) self.assertQuerysetEqual( Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt]), [event], transform=lambda d: d) def test_filter_date_field_with_aware_datetime(self): # Regression test for #17742 day = datetime.date(2011, 9, 1) event = AllDayEvent.objects.create(day=day) # This is 2011-09-02T01:30:00+03:00 in EAT dt = datetime.datetime(2011, 9, 1, 22, 30, 0, tzinfo=UTC) self.assertTrue(AllDayEvent.objects.filter(day__gte=dt).exists()) @override_settings(TIME_ZONE='Africa/Nairobi', USE_TZ=True) class NewDatabaseTests(TestCase): @requires_tz_support def test_naive_datetime(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30) with warnings.catch_warnings(record=True) as recorded: warnings.simplefilter('always') Event.objects.create(dt=dt) self.assertEqual(len(recorded), 1) msg = str(recorded[0].message) self.assertTrue(msg.startswith("DateTimeField received a naive datetime")) event = Event.objects.get() # naive datetimes are interpreted in local time self.assertEqual(event.dt, dt.replace(tzinfo=EAT)) @requires_tz_support def test_datetime_from_date(self): dt = datetime.date(2011, 9, 1) with warnings.catch_warnings(record=True) as recorded: warnings.simplefilter('always') Event.objects.create(dt=dt) self.assertEqual(len(recorded), 1) msg = str(recorded[0].message) self.assertTrue(msg.startswith("DateTimeField received a naive datetime")) event = Event.objects.get() self.assertEqual(event.dt, datetime.datetime(2011, 9, 1, tzinfo=EAT)) @requires_tz_support @skipUnlessDBFeature('supports_microsecond_precision') def test_naive_datetime_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060) with warnings.catch_warnings(record=True) as recorded: warnings.simplefilter('always') Event.objects.create(dt=dt) self.assertEqual(len(recorded), 1) msg = str(recorded[0].message) self.assertTrue(msg.startswith("DateTimeField received a naive datetime")) event = Event.objects.get() # naive datetimes are interpreted in local time self.assertEqual(event.dt, dt.replace(tzinfo=EAT)) @requires_tz_support @skipIfDBFeature('supports_microsecond_precision') def test_naive_datetime_with_microsecond_unsupported(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060) with warnings.catch_warnings(record=True) as recorded: warnings.simplefilter('always') Event.objects.create(dt=dt) self.assertEqual(len(recorded), 1) msg = str(recorded[0].message) self.assertTrue(msg.startswith("DateTimeField received a naive datetime")) event = Event.objects.get() # microseconds are lost during a round-trip in the database # naive datetimes are interpreted in local time self.assertEqual(event.dt, dt.replace(microsecond=0, tzinfo=EAT)) def test_aware_datetime_in_local_timezone(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) @skipUnlessDBFeature('supports_microsecond_precision') def test_aware_datetime_in_local_timezone_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) @skipIfDBFeature('supports_microsecond_precision') def test_aware_datetime_in_local_timezone_with_microsecond_unsupported(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060, tzinfo=EAT) Event.objects.create(dt=dt) event = Event.objects.get() # microseconds are lost during a round-trip in the database self.assertEqual(event.dt, dt.replace(microsecond=0)) def test_aware_datetime_in_utc(self): dt = datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) def test_aware_datetime_in_other_timezone(self): dt = datetime.datetime(2011, 9, 1, 17, 20, 30, tzinfo=ICT) Event.objects.create(dt=dt) event = Event.objects.get() self.assertEqual(event.dt, dt) def test_auto_now_and_auto_now_add(self): now = timezone.now() past = now - datetime.timedelta(seconds=2) future = now + datetime.timedelta(seconds=2) Timestamp.objects.create() ts = Timestamp.objects.get() self.assertLess(past, ts.created) self.assertLess(past, ts.updated) self.assertGreater(future, ts.updated) self.assertGreater(future, ts.updated) def test_query_filter(self): dt1 = datetime.datetime(2011, 9, 1, 12, 20, 30, tzinfo=EAT) dt2 = datetime.datetime(2011, 9, 1, 14, 20, 30, tzinfo=EAT) Event.objects.create(dt=dt1) Event.objects.create(dt=dt2) self.assertEqual(Event.objects.filter(dt__gte=dt1).count(), 2) self.assertEqual(Event.objects.filter(dt__gt=dt1).count(), 1) self.assertEqual(Event.objects.filter(dt__gte=dt2).count(), 1) self.assertEqual(Event.objects.filter(dt__gt=dt2).count(), 0) @skipIf(pytz is None, "this test requires pytz") def test_query_filter_with_pytz_timezones(self): tz = pytz.timezone('Europe/Paris') dt = datetime.datetime(2011, 9, 1, 12, 20, 30, tzinfo=tz) Event.objects.create(dt=dt) next = dt + datetime.timedelta(seconds=3) prev = dt - datetime.timedelta(seconds=3) self.assertEqual(Event.objects.filter(dt__exact=dt).count(), 1) self.assertEqual(Event.objects.filter(dt__exact=next).count(), 0) self.assertEqual(Event.objects.filter(dt__in=(prev, next)).count(), 0) self.assertEqual(Event.objects.filter(dt__in=(prev, dt, next)).count(), 1) self.assertEqual(Event.objects.filter(dt__range=(prev, next)).count(), 1) @requires_tz_support def test_query_filter_with_naive_datetime(self): dt = datetime.datetime(2011, 9, 1, 12, 20, 30, tzinfo=EAT) Event.objects.create(dt=dt) dt = dt.replace(tzinfo=None) with warnings.catch_warnings(record=True) as recorded: warnings.simplefilter('always') # naive datetimes are interpreted in local time self.assertEqual(Event.objects.filter(dt__exact=dt).count(), 1) self.assertEqual(Event.objects.filter(dt__lte=dt).count(), 1) self.assertEqual(Event.objects.filter(dt__gt=dt).count(), 0) self.assertEqual(len(recorded), 3) for warning in recorded: msg = str(warning.message) self.assertTrue(msg.startswith("DateTimeField received a naive datetime")) @skipUnlessDBFeature('has_zoneinfo_database') def test_query_datetime_lookups(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)) self.assertEqual(Event.objects.filter(dt__year=2011).count(), 2) self.assertEqual(Event.objects.filter(dt__month=1).count(), 2) self.assertEqual(Event.objects.filter(dt__day=1).count(), 2) self.assertEqual(Event.objects.filter(dt__week_day=7).count(), 2) self.assertEqual(Event.objects.filter(dt__hour=1).count(), 1) self.assertEqual(Event.objects.filter(dt__minute=30).count(), 2) self.assertEqual(Event.objects.filter(dt__second=0).count(), 2) @skipUnlessDBFeature('has_zoneinfo_database') def test_query_datetime_lookups_in_other_timezone(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)) with timezone.override(UTC): # These two dates fall in the same day in EAT, but in different days, # years and months in UTC. self.assertEqual(Event.objects.filter(dt__year=2011).count(), 1) self.assertEqual(Event.objects.filter(dt__month=1).count(), 1) self.assertEqual(Event.objects.filter(dt__day=1).count(), 1) self.assertEqual(Event.objects.filter(dt__week_day=7).count(), 1) self.assertEqual(Event.objects.filter(dt__hour=22).count(), 1) self.assertEqual(Event.objects.filter(dt__minute=30).count(), 2) self.assertEqual(Event.objects.filter(dt__second=0).count(), 2) def test_query_aggregation(self): # Only min and max make sense for datetimes. Event.objects.create(dt=datetime.datetime(2011, 9, 1, 23, 20, 20, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 9, 1, 3, 20, 40, tzinfo=EAT)) result = Event.objects.all().aggregate(Min('dt'), Max('dt')) self.assertEqual(result, { 'dt__min': datetime.datetime(2011, 9, 1, 3, 20, 40, tzinfo=EAT), 'dt__max': datetime.datetime(2011, 9, 1, 23, 20, 20, tzinfo=EAT), }) def test_query_annotation(self): # Only min and max make sense for datetimes. morning = Session.objects.create(name='morning') afternoon = Session.objects.create(name='afternoon') SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 23, 20, 20, tzinfo=EAT), session=afternoon) SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), session=afternoon) SessionEvent.objects.create(dt=datetime.datetime(2011, 9, 1, 3, 20, 40, tzinfo=EAT), session=morning) morning_min_dt = datetime.datetime(2011, 9, 1, 3, 20, 40, tzinfo=EAT) afternoon_min_dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).order_by('dt'), [morning_min_dt, afternoon_min_dt], transform=lambda d: d.dt) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).filter(dt__lt=afternoon_min_dt), [morning_min_dt], transform=lambda d: d.dt) self.assertQuerysetEqual( Session.objects.annotate(dt=Min('events__dt')).filter(dt__gte=afternoon_min_dt), [afternoon_min_dt], transform=lambda d: d.dt) @skipUnlessDBFeature('has_zoneinfo_database') def test_query_datetimes(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'year'), [datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=EAT)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'month'), [datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=EAT)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'day'), [datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=EAT)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'hour'), [datetime.datetime(2011, 1, 1, 1, 0, 0, tzinfo=EAT), datetime.datetime(2011, 1, 1, 4, 0, 0, tzinfo=EAT)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'minute'), [datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT), datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'second'), [datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT), datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)], transform=lambda d: d) @skipUnlessDBFeature('has_zoneinfo_database') def test_query_datetimes_in_other_timezone(self): Event.objects.create(dt=datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=EAT)) Event.objects.create(dt=datetime.datetime(2011, 1, 1, 4, 30, 0, tzinfo=EAT)) with timezone.override(UTC): self.assertQuerysetEqual(Event.objects.datetimes('dt', 'year'), [datetime.datetime(2010, 1, 1, 0, 0, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=UTC)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'month'), [datetime.datetime(2010, 12, 1, 0, 0, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=UTC)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'day'), [datetime.datetime(2010, 12, 31, 0, 0, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 0, 0, 0, tzinfo=UTC)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'hour'), [datetime.datetime(2010, 12, 31, 22, 0, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 1, 0, 0, tzinfo=UTC)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'minute'), [datetime.datetime(2010, 12, 31, 22, 30, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=UTC)], transform=lambda d: d) self.assertQuerysetEqual(Event.objects.datetimes('dt', 'second'), [datetime.datetime(2010, 12, 31, 22, 30, 0, tzinfo=UTC), datetime.datetime(2011, 1, 1, 1, 30, 0, tzinfo=UTC)], transform=lambda d: d) def test_raw_sql(self): # Regression test for #17755 dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) event = Event.objects.create(dt=dt) self.assertQuerysetEqual( Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt]), [event], transform=lambda d: d) @requires_tz_support def test_filter_date_field_with_aware_datetime(self): # Regression test for #17742 day = datetime.date(2011, 9, 1) event = AllDayEvent.objects.create(day=day) # This is 2011-09-02T01:30:00+03:00 in EAT dt = datetime.datetime(2011, 9, 1, 22, 30, 0, tzinfo=UTC) self.assertFalse(AllDayEvent.objects.filter(day__gte=dt).exists()) def test_null_datetime(self): # Regression test for #17294 e = MaybeEvent.objects.create() self.assertEqual(e.dt, None) @override_settings(TIME_ZONE='Africa/Nairobi') class SerializationTests(TestCase): # Backend-specific notes: # - JSON supports only milliseconds, microseconds will be truncated. # - PyYAML dumps the UTC offset correctly for timezone-aware datetimes, # but when it loads this representation, it substracts the offset and # returns a naive datetime object in UTC (http://pyyaml.org/ticket/202). # Tests are adapted to take these quirks into account. def assert_python_contains_datetime(self, objects, dt): self.assertEqual(objects[0]['fields']['dt'], dt) def assert_json_contains_datetime(self, json, dt): self.assertIn('"fields": {"dt": "%s"}' % dt, json) def assert_xml_contains_datetime(self, xml, dt): field = parseString(xml).getElementsByTagName('field')[0] self.assertXMLEqual(field.childNodes[0].wholeText, dt) def assert_yaml_contains_datetime(self, yaml, dt): # Depending on the yaml dumper, '!timestamp' might be absent six.assertRegex(self, yaml, r"- fields: {dt: !(!timestamp)? '%s'}" % re.escape(dt)) def test_naive_datetime(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T13:20:30") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T13:20:30") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 13:20:30") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt, dt) def test_naive_datetime_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, 405060) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T13:20:30.405") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt.replace(microsecond=405000)) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T13:20:30.405060") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 13:20:30.405060") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt, dt) def test_aware_datetime_with_microsecond(self): dt = datetime.datetime(2011, 9, 1, 17, 20, 30, 405060, tzinfo=ICT) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T17:20:30.405+07:00") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt.replace(microsecond=405000)) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T17:20:30.405060+07:00") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 17:20:30.405060+07:00") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt.replace(tzinfo=UTC), dt) def test_aware_datetime_in_utc(self): dt = datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T10:20:30Z") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T10:20:30+00:00") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 10:20:30+00:00") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt.replace(tzinfo=UTC), dt) def test_aware_datetime_in_local_timezone(self): dt = datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T13:20:30+03:00") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T13:20:30+03:00") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 13:20:30+03:00") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt.replace(tzinfo=UTC), dt) def test_aware_datetime_in_other_timezone(self): dt = datetime.datetime(2011, 9, 1, 17, 20, 30, tzinfo=ICT) data = serializers.serialize('python', [Event(dt=dt)]) self.assert_python_contains_datetime(data, dt) obj = next(serializers.deserialize('python', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('json', [Event(dt=dt)]) self.assert_json_contains_datetime(data, "2011-09-01T17:20:30+07:00") obj = next(serializers.deserialize('json', data)).object self.assertEqual(obj.dt, dt) data = serializers.serialize('xml', [Event(dt=dt)]) self.assert_xml_contains_datetime(data, "2011-09-01T17:20:30+07:00") obj = next(serializers.deserialize('xml', data)).object self.assertEqual(obj.dt, dt) if not isinstance(serializers.get_serializer('yaml'), serializers.BadSerializer): data = serializers.serialize('yaml', [Event(dt=dt)]) self.assert_yaml_contains_datetime(data, "2011-09-01 17:20:30+07:00") obj = next(serializers.deserialize('yaml', data)).object self.assertEqual(obj.dt.replace(tzinfo=UTC), dt) @override_settings(DATETIME_FORMAT='c', TIME_ZONE='Africa/Nairobi', USE_L10N=False, USE_TZ=True) class TemplateTests(TestCase): @requires_tz_support def test_localtime_templatetag_and_filters(self): """ Test the {% localtime %} templatetag and related filters. """ datetimes = { 'utc': datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC), 'eat': datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), 'ict': datetime.datetime(2011, 9, 1, 17, 20, 30, tzinfo=ICT), 'naive': datetime.datetime(2011, 9, 1, 13, 20, 30), } templates = { 'notag': Template("{% load tz %}{{ dt }}|{{ dt|localtime }}|{{ dt|utc }}|{{ dt|timezone:ICT }}"), 'noarg': Template("{% load tz %}{% localtime %}{{ dt }}|{{ dt|localtime }}|{{ dt|utc }}|{{ dt|timezone:ICT }}{% endlocaltime %}"), 'on': Template("{% load tz %}{% localtime on %}{{ dt }}|{{ dt|localtime }}|{{ dt|utc }}|{{ dt|timezone:ICT }}{% endlocaltime %}"), 'off': Template("{% load tz %}{% localtime off %}{{ dt }}|{{ dt|localtime }}|{{ dt|utc }}|{{ dt|timezone:ICT }}{% endlocaltime %}"), } # Transform a list of keys in 'datetimes' to the expected template # output. This makes the definition of 'results' more readable. def t(*result): return '|'.join(datetimes[key].isoformat() for key in result) # Results for USE_TZ = True results = { 'utc': { 'notag': t('eat', 'eat', 'utc', 'ict'), 'noarg': t('eat', 'eat', 'utc', 'ict'), 'on': t('eat', 'eat', 'utc', 'ict'), 'off': t('utc', 'eat', 'utc', 'ict'), }, 'eat': { 'notag': t('eat', 'eat', 'utc', 'ict'), 'noarg': t('eat', 'eat', 'utc', 'ict'), 'on': t('eat', 'eat', 'utc', 'ict'), 'off': t('eat', 'eat', 'utc', 'ict'), }, 'ict': { 'notag': t('eat', 'eat', 'utc', 'ict'), 'noarg': t('eat', 'eat', 'utc', 'ict'), 'on': t('eat', 'eat', 'utc', 'ict'), 'off': t('ict', 'eat', 'utc', 'ict'), }, 'naive': { 'notag': t('naive', 'eat', 'utc', 'ict'), 'noarg': t('naive', 'eat', 'utc', 'ict'), 'on': t('naive', 'eat', 'utc', 'ict'), 'off': t('naive', 'eat', 'utc', 'ict'), } } for k1, dt in six.iteritems(datetimes): for k2, tpl in six.iteritems(templates): ctx = Context({'dt': dt, 'ICT': ICT}) actual = tpl.render(ctx) expected = results[k1][k2] self.assertEqual(actual, expected, '%s / %s: %r != %r' % (k1, k2, actual, expected)) # Changes for USE_TZ = False results['utc']['notag'] = t('utc', 'eat', 'utc', 'ict') results['ict']['notag'] = t('ict', 'eat', 'utc', 'ict') with self.settings(USE_TZ=False): for k1, dt in six.iteritems(datetimes): for k2, tpl in six.iteritems(templates): ctx = Context({'dt': dt, 'ICT': ICT}) actual = tpl.render(ctx) expected = results[k1][k2] self.assertEqual(actual, expected, '%s / %s: %r != %r' % (k1, k2, actual, expected)) @skipIf(pytz is None, "this test requires pytz") def test_localtime_filters_with_pytz(self): """ Test the |localtime, |utc, and |timezone filters with pytz. """ # Use a pytz timezone as local time tpl = Template("{% load tz %}{{ dt|localtime }}|{{ dt|utc }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 12, 20, 30)}) with self.settings(TIME_ZONE='Europe/Paris'): self.assertEqual(tpl.render(ctx), "2011-09-01T12:20:30+02:00|2011-09-01T10:20:30+00:00") # Use a pytz timezone as argument tpl = Template("{% load tz %}{{ dt|timezone:tz }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30), 'tz': pytz.timezone('Europe/Paris')}) self.assertEqual(tpl.render(ctx), "2011-09-01T12:20:30+02:00") # Use a pytz timezone name as argument tpl = Template("{% load tz %}{{ dt|timezone:'Europe/Paris' }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30), 'tz': pytz.timezone('Europe/Paris')}) self.assertEqual(tpl.render(ctx), "2011-09-01T12:20:30+02:00") def test_localtime_templatetag_invalid_argument(self): with self.assertRaises(TemplateSyntaxError): Template("{% load tz %}{% localtime foo %}{% endlocaltime %}").render() def test_localtime_filters_do_not_raise_exceptions(self): """ Test the |localtime, |utc, and |timezone filters on bad inputs. """ tpl = Template("{% load tz %}{{ dt }}|{{ dt|localtime }}|{{ dt|utc }}|{{ dt|timezone:tz }}") with self.settings(USE_TZ=True): # bad datetime value ctx = Context({'dt': None, 'tz': ICT}) self.assertEqual(tpl.render(ctx), "None|||") ctx = Context({'dt': 'not a date', 'tz': ICT}) self.assertEqual(tpl.render(ctx), "not a date|||") # bad timezone value tpl = Template("{% load tz %}{{ dt|timezone:tz }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30), 'tz': None}) self.assertEqual(tpl.render(ctx), "") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30), 'tz': 'not a tz'}) self.assertEqual(tpl.render(ctx), "") @requires_tz_support def test_timezone_templatetag(self): """ Test the {% timezone %} templatetag. """ tpl = Template("{% load tz %}" "{{ dt }}|" "{% timezone tz1 %}" "{{ dt }}|" "{% timezone tz2 %}" "{{ dt }}" "{% endtimezone %}" "{% endtimezone %}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC), 'tz1': ICT, 'tz2': None}) self.assertEqual(tpl.render(ctx), "2011-09-01T13:20:30+03:00|2011-09-01T17:20:30+07:00|2011-09-01T13:20:30+03:00") @skipIf(pytz is None, "this test requires pytz") def test_timezone_templatetag_with_pytz(self): """ Test the {% timezone %} templatetag with pytz. """ tpl = Template("{% load tz %}{% timezone tz %}{{ dt }}{% endtimezone %}") # Use a pytz timezone as argument ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), 'tz': pytz.timezone('Europe/Paris')}) self.assertEqual(tpl.render(ctx), "2011-09-01T12:20:30+02:00") # Use a pytz timezone name as argument ctx = Context({'dt': datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), 'tz': 'Europe/Paris'}) self.assertEqual(tpl.render(ctx), "2011-09-01T12:20:30+02:00") def test_timezone_templatetag_invalid_argument(self): with self.assertRaises(TemplateSyntaxError): Template("{% load tz %}{% timezone %}{% endtimezone %}").render() with self.assertRaises(ValueError if pytz is None else pytz.UnknownTimeZoneError): Template("{% load tz %}{% timezone tz %}{% endtimezone %}").render(Context({'tz': 'foobar'})) @skipIf(sys.platform.startswith('win'), "Windows uses non-standard time zone names") def test_get_current_timezone_templatetag(self): """ Test the {% get_current_timezone %} templatetag. """ tpl = Template("{% load tz %}{% get_current_timezone as time_zone %}{{ time_zone }}") self.assertEqual(tpl.render(Context()), "Africa/Nairobi" if pytz else "EAT") with timezone.override(UTC): self.assertEqual(tpl.render(Context()), "UTC") tpl = Template("{% load tz %}{% timezone tz %}{% get_current_timezone as time_zone %}{% endtimezone %}{{ time_zone }}") self.assertEqual(tpl.render(Context({'tz': ICT})), "+0700") with timezone.override(UTC): self.assertEqual(tpl.render(Context({'tz': ICT})), "+0700") @skipIf(pytz is None, "this test requires pytz") def test_get_current_timezone_templatetag_with_pytz(self): """ Test the {% get_current_timezone %} templatetag with pytz. """ tpl = Template("{% load tz %}{% get_current_timezone as time_zone %}{{ time_zone }}") with timezone.override(pytz.timezone('Europe/Paris')): self.assertEqual(tpl.render(Context()), "Europe/Paris") tpl = Template("{% load tz %}{% timezone 'Europe/Paris' %}{% get_current_timezone as time_zone %}{% endtimezone %}{{ time_zone }}") self.assertEqual(tpl.render(Context()), "Europe/Paris") def test_get_current_timezone_templatetag_invalid_argument(self): with self.assertRaises(TemplateSyntaxError): Template("{% load tz %}{% get_current_timezone %}").render() @skipIf(sys.platform.startswith('win'), "Windows uses non-standard time zone names") def test_tz_template_context_processor(self): """ Test the django.core.context_processors.tz template context processor. """ tpl = Template("{{ TIME_ZONE }}") self.assertEqual(tpl.render(Context()), "") self.assertEqual(tpl.render(RequestContext(HttpRequest())), "Africa/Nairobi" if pytz else "EAT") @requires_tz_support def test_date_and_time_template_filters(self): tpl = Template("{{ dt|date:'Y-m-d' }} at {{ dt|time:'H:i:s' }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 20, 20, 20, tzinfo=UTC)}) self.assertEqual(tpl.render(ctx), "2011-09-01 at 23:20:20") with timezone.override(ICT): self.assertEqual(tpl.render(ctx), "2011-09-02 at 03:20:20") def test_date_and_time_template_filters_honor_localtime(self): tpl = Template("{% load tz %}{% localtime off %}{{ dt|date:'Y-m-d' }} at {{ dt|time:'H:i:s' }}{% endlocaltime %}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 20, 20, 20, tzinfo=UTC)}) self.assertEqual(tpl.render(ctx), "2011-09-01 at 20:20:20") with timezone.override(ICT): self.assertEqual(tpl.render(ctx), "2011-09-01 at 20:20:20") def test_localtime_with_time_zone_setting_set_to_none(self): # Regression for #17274 tpl = Template("{% load tz %}{{ dt }}") ctx = Context({'dt': datetime.datetime(2011, 9, 1, 12, 20, 30, tzinfo=EAT)}) with self.settings(TIME_ZONE=None): # the actual value depends on the system time zone of the host self.assertTrue(tpl.render(ctx).startswith("2011")) @requires_tz_support def test_now_template_tag_uses_current_time_zone(self): # Regression for #17343 tpl = Template("{% now \"O\" %}") self.assertEqual(tpl.render(Context({})), "+0300") with timezone.override(ICT): self.assertEqual(tpl.render(Context({})), "+0700") @override_settings(DATETIME_FORMAT='c', TIME_ZONE='Africa/Nairobi', USE_L10N=False, USE_TZ=False) class LegacyFormsTests(TestCase): def test_form(self): form = EventForm({'dt': '2011-09-01 13:20:30'}) self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 13, 20, 30)) @skipIf(pytz is None, "this test requires pytz") def test_form_with_non_existent_time(self): form = EventForm({'dt': '2011-03-27 02:30:00'}) with timezone.override(pytz.timezone('Europe/Paris')): # this is obviously a bug self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 3, 27, 2, 30, 0)) @skipIf(pytz is None, "this test requires pytz") def test_form_with_ambiguous_time(self): form = EventForm({'dt': '2011-10-30 02:30:00'}) with timezone.override(pytz.timezone('Europe/Paris')): # this is obviously a bug self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 10, 30, 2, 30, 0)) def test_split_form(self): form = EventSplitForm({'dt_0': '2011-09-01', 'dt_1': '13:20:30'}) self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 13, 20, 30)) def test_model_form(self): EventModelForm({'dt': '2011-09-01 13:20:30'}).save() e = Event.objects.get() self.assertEqual(e.dt, datetime.datetime(2011, 9, 1, 13, 20, 30)) @override_settings(DATETIME_FORMAT='c', TIME_ZONE='Africa/Nairobi', USE_L10N=False, USE_TZ=True) class NewFormsTests(TestCase): @requires_tz_support def test_form(self): form = EventForm({'dt': '2011-09-01 13:20:30'}) self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) def test_form_with_other_timezone(self): form = EventForm({'dt': '2011-09-01 17:20:30'}) with timezone.override(ICT): self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) def test_form_with_explicit_timezone(self): form = EventForm({'dt': '2011-09-01 17:20:30+07:00'}) # Datetime inputs formats don't allow providing a time zone. self.assertFalse(form.is_valid()) @skipIf(pytz is None, "this test requires pytz") def test_form_with_non_existent_time(self): with timezone.override(pytz.timezone('Europe/Paris')): form = EventForm({'dt': '2011-03-27 02:30:00'}) self.assertFalse(form.is_valid()) self.assertEqual(form.errors['dt'], ["2011-03-27 02:30:00 couldn't be interpreted in time zone " "Europe/Paris; it may be ambiguous or it may not exist."]) @skipIf(pytz is None, "this test requires pytz") def test_form_with_ambiguous_time(self): with timezone.override(pytz.timezone('Europe/Paris')): form = EventForm({'dt': '2011-10-30 02:30:00'}) self.assertFalse(form.is_valid()) self.assertEqual(form.errors['dt'], ["2011-10-30 02:30:00 couldn't be interpreted in time zone " "Europe/Paris; it may be ambiguous or it may not exist."]) @requires_tz_support def test_split_form(self): form = EventSplitForm({'dt_0': '2011-09-01', 'dt_1': '13:20:30'}) self.assertTrue(form.is_valid()) self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) @requires_tz_support def test_localized_form(self): form = EventLocalizedForm(initial={'dt': datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT)}) with timezone.override(ICT): self.assertIn("2011-09-01 17:20:30", str(form)) @requires_tz_support def test_model_form(self): EventModelForm({'dt': '2011-09-01 13:20:30'}).save() e = Event.objects.get() self.assertEqual(e.dt, datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) @requires_tz_support def test_localized_model_form(self): form = EventLocalizedModelForm(instance=Event(dt=datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT))) with timezone.override(ICT): self.assertIn("2011-09-01 17:20:30", str(form)) @override_settings(DATETIME_FORMAT='c', TIME_ZONE='Africa/Nairobi', USE_L10N=False, USE_TZ=True, PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',)) class AdminTests(TestCase): urls = 'timezones.urls' fixtures = ['tz_users.xml'] def setUp(self): self.client.login(username='super', password='secret') @requires_tz_support def test_changelist(self): e = Event.objects.create(dt=datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) response = self.client.get(reverse('admin:timezones_event_changelist')) self.assertContains(response, e.dt.astimezone(EAT).isoformat()) def test_changelist_in_other_timezone(self): e = Event.objects.create(dt=datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) with timezone.override(ICT): response = self.client.get(reverse('admin:timezones_event_changelist')) self.assertContains(response, e.dt.astimezone(ICT).isoformat()) @requires_tz_support def test_change_editable(self): e = Event.objects.create(dt=datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) response = self.client.get(reverse('admin:timezones_event_change', args=(e.pk,))) self.assertContains(response, e.dt.astimezone(EAT).date().isoformat()) self.assertContains(response, e.dt.astimezone(EAT).time().isoformat()) def test_change_editable_in_other_timezone(self): e = Event.objects.create(dt=datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC)) with timezone.override(ICT): response = self.client.get(reverse('admin:timezones_event_change', args=(e.pk,))) self.assertContains(response, e.dt.astimezone(ICT).date().isoformat()) self.assertContains(response, e.dt.astimezone(ICT).time().isoformat()) @requires_tz_support def test_change_readonly(self): Timestamp.objects.create() # re-fetch the object for backends that lose microseconds (MySQL) t = Timestamp.objects.get() response = self.client.get(reverse('admin:timezones_timestamp_change', args=(t.pk,))) self.assertContains(response, t.created.astimezone(EAT).isoformat()) def test_change_readonly_in_other_timezone(self): Timestamp.objects.create() # re-fetch the object for backends that lose microseconds (MySQL) t = Timestamp.objects.get() with timezone.override(ICT): response = self.client.get(reverse('admin:timezones_timestamp_change', args=(t.pk,))) self.assertContains(response, t.created.astimezone(ICT).isoformat()) @override_settings(TIME_ZONE='Africa/Nairobi') class UtilitiesTests(TestCase): def test_make_aware(self): self.assertEqual( timezone.make_aware(datetime.datetime(2011, 9, 1, 13, 20, 30), EAT), datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT) ) self.assertEqual( timezone.make_aware(datetime.datetime(2011, 9, 1, 10, 20, 30), UTC), datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC) ) def test_make_naive(self): self.assertEqual( timezone.make_naive(datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), EAT), datetime.datetime(2011, 9, 1, 13, 20, 30) ) self.assertEqual( timezone.make_naive(datetime.datetime(2011, 9, 1, 13, 20, 30, tzinfo=EAT), UTC), datetime.datetime(2011, 9, 1, 10, 20, 30) ) self.assertEqual( timezone.make_naive(datetime.datetime(2011, 9, 1, 10, 20, 30, tzinfo=UTC), UTC), datetime.datetime(2011, 9, 1, 10, 20, 30) )
unknown
codeparrot/codeparrot-clean
// Formatting library for C++ - legacy printf implementation // // Copyright (c) 2012 - 2016, Victor Zverovich // All rights reserved. // // For the license information refer to format.h. #ifndef FMT_PRINTF_H_ #define FMT_PRINTF_H_ #ifndef FMT_MODULE # include <algorithm> // std::max # include <limits> // std::numeric_limits #endif #include "format.h" FMT_BEGIN_NAMESPACE FMT_BEGIN_EXPORT template <typename T> struct printf_formatter { printf_formatter() = delete; }; template <typename Char> class basic_printf_context { private: basic_appender<Char> out_; basic_format_args<basic_printf_context> args_; static_assert(std::is_same<Char, char>::value || std::is_same<Char, wchar_t>::value, "Unsupported code unit type."); public: using char_type = Char; using parse_context_type = parse_context<Char>; template <typename T> using formatter_type = printf_formatter<T>; enum { builtin_types = 1 }; /// Constructs a `printf_context` object. References to the arguments are /// stored in the context object so make sure they have appropriate lifetimes. basic_printf_context(basic_appender<Char> out, basic_format_args<basic_printf_context> args) : out_(out), args_(args) {} auto out() -> basic_appender<Char> { return out_; } void advance_to(basic_appender<Char>) {} auto locale() -> detail::locale_ref { return {}; } auto arg(int id) const -> basic_format_arg<basic_printf_context> { return args_.get(id); } }; namespace detail { // Return the result via the out param to workaround gcc bug 77539. template <bool IS_CONSTEXPR, typename T, typename Ptr = const T*> FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr& out) -> bool { for (out = first; out != last; ++out) { if (*out == value) return true; } return false; } template <> inline auto find<false, char>(const char* first, const char* last, char value, const char*& out) -> bool { out = static_cast<const char*>(memchr(first, value, to_unsigned(last - first))); return out != nullptr; } // Checks if a value fits in int - used to avoid warnings about comparing // signed and unsigned integers. template <bool IsSigned> struct int_checker { template <typename T> static auto fits_in_int(T value) -> bool { unsigned max = to_unsigned(max_value<int>()); return value <= max; } inline static auto fits_in_int(bool) -> bool { return true; } }; template <> struct int_checker<true> { template <typename T> static auto fits_in_int(T value) -> bool { return value >= (std::numeric_limits<int>::min)() && value <= max_value<int>(); } inline static auto fits_in_int(int) -> bool { return true; } }; struct printf_precision_handler { template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)> auto operator()(T value) -> int { if (!int_checker<std::numeric_limits<T>::is_signed>::fits_in_int(value)) report_error("number is too big"); return (std::max)(static_cast<int>(value), 0); } template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)> auto operator()(T) -> int { report_error("precision is not integer"); return 0; } }; // An argument visitor that returns true iff arg is a zero integer. struct is_zero_int { template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)> auto operator()(T value) -> bool { return value == 0; } template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)> auto operator()(T) -> bool { return false; } }; template <typename T> struct make_unsigned_or_bool : std::make_unsigned<T> {}; template <> struct make_unsigned_or_bool<bool> { using type = bool; }; template <typename T, typename Context> class arg_converter { private: using char_type = typename Context::char_type; basic_format_arg<Context>& arg_; char_type type_; public: arg_converter(basic_format_arg<Context>& arg, char_type type) : arg_(arg), type_(type) {} void operator()(bool value) { if (type_ != 's') operator()<bool>(value); } template <typename U, FMT_ENABLE_IF(std::is_integral<U>::value)> void operator()(U value) { bool is_signed = type_ == 'd' || type_ == 'i'; using target_type = conditional_t<std::is_same<T, void>::value, U, T>; if (const_check(sizeof(target_type) <= sizeof(int))) { // Extra casts are used to silence warnings. using unsigned_type = typename make_unsigned_or_bool<target_type>::type; if (is_signed) arg_ = static_cast<int>(static_cast<target_type>(value)); else arg_ = static_cast<unsigned>(static_cast<unsigned_type>(value)); } else { // glibc's printf doesn't sign extend arguments of smaller types: // std::printf("%lld", -42); // prints "4294967254" // but we don't have to do the same because it's a UB. if (is_signed) arg_ = static_cast<long long>(value); else arg_ = static_cast<typename make_unsigned_or_bool<U>::type>(value); } } template <typename U, FMT_ENABLE_IF(!std::is_integral<U>::value)> void operator()(U) {} // No conversion needed for non-integral types. }; // Converts an integer argument to T for printf, if T is an integral type. // If T is void, the argument is converted to corresponding signed or unsigned // type depending on the type specifier: 'd' and 'i' - signed, other - // unsigned). template <typename T, typename Context, typename Char> void convert_arg(basic_format_arg<Context>& arg, Char type) { arg.visit(arg_converter<T, Context>(arg, type)); } // Converts an integer argument to char for printf. template <typename Context> class char_converter { private: basic_format_arg<Context>& arg_; public: explicit char_converter(basic_format_arg<Context>& arg) : arg_(arg) {} template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)> void operator()(T value) { arg_ = static_cast<typename Context::char_type>(value); } template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)> void operator()(T) {} // No conversion needed for non-integral types. }; // An argument visitor that return a pointer to a C string if argument is a // string or null otherwise. template <typename Char> struct get_cstring { template <typename T> auto operator()(T) -> const Char* { return nullptr; } auto operator()(const Char* s) -> const Char* { return s; } }; // Checks if an argument is a valid printf width specifier and sets // left alignment if it is negative. class printf_width_handler { private: format_specs& specs_; public: inline explicit printf_width_handler(format_specs& specs) : specs_(specs) {} template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)> auto operator()(T value) -> unsigned { auto width = static_cast<uint32_or_64_or_128_t<T>>(value); if (detail::is_negative(value)) { specs_.set_align(align::left); width = 0 - width; } unsigned int_max = to_unsigned(max_value<int>()); if (width > int_max) report_error("number is too big"); return static_cast<unsigned>(width); } template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)> auto operator()(T) -> unsigned { report_error("width is not integer"); return 0; } }; // Workaround for a bug with the XL compiler when initializing // printf_arg_formatter's base class. template <typename Char> auto make_arg_formatter(basic_appender<Char> iter, format_specs& s) -> arg_formatter<Char> { return {iter, s, locale_ref()}; } // The `printf` argument formatter. template <typename Char> class printf_arg_formatter : public arg_formatter<Char> { private: using base = arg_formatter<Char>; using context_type = basic_printf_context<Char>; context_type& context_; void write_null_pointer(bool is_string = false) { auto s = this->specs; s.set_type(presentation_type::none); write_bytes<Char>(this->out, is_string ? "(null)" : "(nil)", s); } template <typename T> void write(T value) { detail::write<Char>(this->out, value, this->specs, this->locale); } public: printf_arg_formatter(basic_appender<Char> iter, format_specs& s, context_type& ctx) : base(make_arg_formatter(iter, s)), context_(ctx) {} void operator()(monostate value) { write(value); } template <typename T, FMT_ENABLE_IF(detail::is_integral<T>::value)> void operator()(T value) { // MSVC2013 fails to compile separate overloads for bool and Char so use // std::is_same instead. if (!std::is_same<T, Char>::value) { write(value); return; } format_specs s = this->specs; if (s.type() != presentation_type::none && s.type() != presentation_type::chr) { return (*this)(static_cast<int>(value)); } s.set_sign(sign::none); s.clear_alt(); s.set_fill(' '); // Ignore '0' flag for char types. // align::numeric needs to be overwritten here since the '0' flag is // ignored for non-numeric types if (s.align() == align::none || s.align() == align::numeric) s.set_align(align::right); detail::write<Char>(this->out, static_cast<Char>(value), s); } template <typename T, FMT_ENABLE_IF(std::is_floating_point<T>::value)> void operator()(T value) { write(value); } void operator()(const char* value) { if (value) write(value); else write_null_pointer(this->specs.type() != presentation_type::pointer); } void operator()(const wchar_t* value) { if (value) write(value); else write_null_pointer(this->specs.type() != presentation_type::pointer); } void operator()(basic_string_view<Char> value) { write(value); } void operator()(const void* value) { if (value) write(value); else write_null_pointer(); } void operator()(typename basic_format_arg<context_type>::handle handle) { auto parse_ctx = parse_context<Char>({}); handle.format(parse_ctx, context_); } }; template <typename Char> void parse_flags(format_specs& specs, const Char*& it, const Char* end) { for (; it != end; ++it) { switch (*it) { case '-': specs.set_align(align::left); break; case '+': specs.set_sign(sign::plus); break; case '0': specs.set_fill('0'); break; case ' ': if (specs.sign() != sign::plus) specs.set_sign(sign::space); break; case '#': specs.set_alt(); break; default: return; } } } template <typename Char, typename GetArg> auto parse_header(const Char*& it, const Char* end, format_specs& specs, GetArg get_arg) -> int { int arg_index = -1; Char c = *it; if (c >= '0' && c <= '9') { // Parse an argument index (if followed by '$') or a width possibly // preceded with '0' flag(s). int value = parse_nonnegative_int(it, end, -1); if (it != end && *it == '$') { // value is an argument index ++it; arg_index = value != -1 ? value : max_value<int>(); } else { if (c == '0') specs.set_fill('0'); if (value != 0) { // Nonzero value means that we parsed width and don't need to // parse it or flags again, so return now. if (value == -1) report_error("number is too big"); specs.width = value; return arg_index; } } } parse_flags(specs, it, end); // Parse width. if (it != end) { if (*it >= '0' && *it <= '9') { specs.width = parse_nonnegative_int(it, end, -1); if (specs.width == -1) report_error("number is too big"); } else if (*it == '*') { ++it; specs.width = static_cast<int>( get_arg(-1).visit(detail::printf_width_handler(specs))); } } return arg_index; } inline auto parse_printf_presentation_type(char c, type t, bool& upper) -> presentation_type { using pt = presentation_type; constexpr auto integral_set = sint_set | uint_set | bool_set | char_set; switch (c) { case 'd': return in(t, integral_set) ? pt::dec : pt::none; case 'o': return in(t, integral_set) ? pt::oct : pt::none; case 'X': upper = true; FMT_FALLTHROUGH; case 'x': return in(t, integral_set) ? pt::hex : pt::none; case 'E': upper = true; FMT_FALLTHROUGH; case 'e': return in(t, float_set) ? pt::exp : pt::none; case 'F': upper = true; FMT_FALLTHROUGH; case 'f': return in(t, float_set) ? pt::fixed : pt::none; case 'G': upper = true; FMT_FALLTHROUGH; case 'g': return in(t, float_set) ? pt::general : pt::none; case 'A': upper = true; FMT_FALLTHROUGH; case 'a': return in(t, float_set) ? pt::hexfloat : pt::none; case 'c': return in(t, integral_set) ? pt::chr : pt::none; case 's': return in(t, string_set | cstring_set) ? pt::string : pt::none; case 'p': return in(t, pointer_set | cstring_set) ? pt::pointer : pt::none; default: return pt::none; } } template <typename Char, typename Context> void vprintf(buffer<Char>& buf, basic_string_view<Char> format, basic_format_args<Context> args) { using iterator = basic_appender<Char>; auto out = iterator(buf); auto context = basic_printf_context<Char>(out, args); auto parse_ctx = parse_context<Char>(format); // Returns the argument with specified index or, if arg_index is -1, the next // argument. auto get_arg = [&](int arg_index) { if (arg_index < 0) arg_index = parse_ctx.next_arg_id(); else parse_ctx.check_arg_id(--arg_index); return detail::get_arg(context, arg_index); }; const Char* start = parse_ctx.begin(); const Char* end = parse_ctx.end(); auto it = start; while (it != end) { if (!find<false, Char>(it, end, '%', it)) { it = end; // find leaves it == nullptr if it doesn't find '%'. break; } Char c = *it++; if (it != end && *it == c) { write(out, basic_string_view<Char>(start, to_unsigned(it - start))); start = ++it; continue; } write(out, basic_string_view<Char>(start, to_unsigned(it - 1 - start))); auto specs = format_specs(); specs.set_align(align::right); // Parse argument index, flags and width. int arg_index = parse_header(it, end, specs, get_arg); if (arg_index == 0) report_error("argument not found"); // Parse precision. if (it != end && *it == '.') { ++it; c = it != end ? *it : 0; if ('0' <= c && c <= '9') { specs.precision = parse_nonnegative_int(it, end, 0); } else if (c == '*') { ++it; specs.precision = static_cast<int>(get_arg(-1).visit(printf_precision_handler())); } else { specs.precision = 0; } } auto arg = get_arg(arg_index); // For d, i, o, u, x, and X conversion specifiers, if a precision is // specified, the '0' flag is ignored if (specs.precision >= 0 && is_integral_type(arg.type())) { // Ignore '0' for non-numeric types or if '-' present. specs.set_fill(' '); } if (specs.precision >= 0 && arg.type() == type::cstring_type) { auto str = arg.visit(get_cstring<Char>()); auto str_end = str + specs.precision; auto nul = std::find(str, str_end, Char()); auto sv = basic_string_view<Char>( str, to_unsigned(nul != str_end ? nul - str : specs.precision)); arg = sv; } if (specs.alt() && arg.visit(is_zero_int())) specs.clear_alt(); if (specs.fill_unit<Char>() == '0') { if (is_arithmetic_type(arg.type()) && specs.align() != align::left) { specs.set_align(align::numeric); } else { // Ignore '0' flag for non-numeric types or if '-' flag is also present. specs.set_fill(' '); } } // Parse length and convert the argument to the required type. c = it != end ? *it++ : 0; Char t = it != end ? *it : 0; switch (c) { case 'h': if (t == 'h') { ++it; t = it != end ? *it : 0; convert_arg<signed char>(arg, t); } else { convert_arg<short>(arg, t); } break; case 'l': if (t == 'l') { ++it; t = it != end ? *it : 0; convert_arg<long long>(arg, t); } else { convert_arg<long>(arg, t); } break; case 'j': convert_arg<intmax_t>(arg, t); break; case 'z': convert_arg<size_t>(arg, t); break; case 't': convert_arg<std::ptrdiff_t>(arg, t); break; case 'L': // printf produces garbage when 'L' is omitted for long double, no // need to do the same. break; default: --it; convert_arg<void>(arg, c); } // Parse type. if (it == end) report_error("invalid format string"); char type = static_cast<char>(*it++); if (is_integral_type(arg.type())) { // Normalize type. switch (type) { case 'i': case 'u': type = 'd'; break; case 'c': arg.visit(char_converter<basic_printf_context<Char>>(arg)); break; } } bool upper = false; specs.set_type(parse_printf_presentation_type(type, arg.type(), upper)); if (specs.type() == presentation_type::none) report_error("invalid format specifier"); if (upper) specs.set_upper(); start = it; // Format argument. arg.visit(printf_arg_formatter<Char>(out, specs, context)); } write(out, basic_string_view<Char>(start, to_unsigned(it - start))); } } // namespace detail using printf_context = basic_printf_context<char>; using wprintf_context = basic_printf_context<wchar_t>; using printf_args = basic_format_args<printf_context>; using wprintf_args = basic_format_args<wprintf_context>; /// Constructs an `format_arg_store` object that contains references to /// arguments and can be implicitly converted to `printf_args`. template <typename Char = char, typename... T> inline auto make_printf_args(T&... args) -> decltype(fmt::make_format_args<basic_printf_context<Char>>(args...)) { return fmt::make_format_args<basic_printf_context<Char>>(args...); } template <typename Char> struct vprintf_args { using type = basic_format_args<basic_printf_context<Char>>; }; template <typename Char> inline auto vsprintf(basic_string_view<Char> fmt, typename vprintf_args<Char>::type args) -> std::basic_string<Char> { auto buf = basic_memory_buffer<Char>(); detail::vprintf(buf, fmt, args); return {buf.data(), buf.size()}; } /** * Formats `args` according to specifications in `fmt` and returns the result * as as string. * * **Example**: * * std::string message = fmt::sprintf("The answer is %d", 42); */ template <typename S, typename... T, typename Char = detail::char_t<S>> inline auto sprintf(const S& fmt, const T&... args) -> std::basic_string<Char> { return vsprintf(detail::to_string_view(fmt), fmt::make_format_args<basic_printf_context<Char>>(args...)); } template <typename Char> inline auto vfprintf(std::FILE* f, basic_string_view<Char> fmt, typename vprintf_args<Char>::type args) -> int { auto buf = basic_memory_buffer<Char>(); detail::vprintf(buf, fmt, args); size_t size = buf.size(); return std::fwrite(buf.data(), sizeof(Char), size, f) < size ? -1 : static_cast<int>(size); } /** * Formats `args` according to specifications in `fmt` and writes the output * to `f`. * * **Example**: * * fmt::fprintf(stderr, "Don't %s!", "panic"); */ template <typename S, typename... T, typename Char = detail::char_t<S>> inline auto fprintf(std::FILE* f, const S& fmt, const T&... args) -> int { return vfprintf(f, detail::to_string_view(fmt), make_printf_args<Char>(args...)); } template <typename Char> FMT_DEPRECATED inline auto vprintf(basic_string_view<Char> fmt, typename vprintf_args<Char>::type args) -> int { return vfprintf(stdout, fmt, args); } /** * Formats `args` according to specifications in `fmt` and writes the output * to `stdout`. * * **Example**: * * fmt::printf("Elapsed time: %.2f seconds", 1.23); */ template <typename... T> inline auto printf(string_view fmt, const T&... args) -> int { return vfprintf(stdout, fmt, make_printf_args(args...)); } template <typename... T> FMT_DEPRECATED inline auto printf(basic_string_view<wchar_t> fmt, const T&... args) -> int { return vfprintf(stdout, fmt, make_printf_args<wchar_t>(args...)); } FMT_END_EXPORT FMT_END_NAMESPACE #endif // FMT_PRINTF_H_
c
github
https://github.com/nodejs/node
deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/printf.h
try: from setuptools import setup except: from distutils.core import setup import cloudenvy.metadata def parse_requirements(requirements_filename='requirements.txt'): requirements = [] with open(requirements_filename) as requirements_file: for requirement in requirements_file: requirements.append(requirement.rstrip('\n')) return requirements config = dict( name='cloudenvy', version=cloudenvy.metadata.VERSION, url='https://github.com/cloudenvy/cloudenvy', description='Fast provisioning on openstack clouds.', author='Brian Waldon', author_email='bcwaldon@gmail.com', install_requires=parse_requirements(), packages=['cloudenvy', 'cloudenvy.commands', 'cloudenvy.clouds'], entry_points={ 'console_scripts': [ 'envy = cloudenvy.main:main', ], 'cloudenvy_cloud_apis': [ 'ec2 = cloudenvy.clouds.ec2:CloudAPI', 'openstack = cloudenvy.clouds.openstack:CloudAPI', ], }, ) setup(**config)
unknown
codeparrot/codeparrot-clean
import json from social.tests.backends.oauth import OAuth2Test class MixcloudOAuth2Test(OAuth2Test): backend_path = 'social.backends.mixcloud.MixcloudOAuth2' user_data_url = 'https://api.mixcloud.com/me/' expected_username = 'foobar' access_token_body = json.dumps({ 'access_token': 'foobar', 'token_type': 'bearer' }) user_data_body = json.dumps({ 'username': 'foobar', 'cloudcast_count': 0, 'following_count': 0, 'url': 'http://www.mixcloud.com/foobar/', 'pictures': { 'medium': 'http://images-mix.netdna-ssl.com/w/100/h/100/q/85/' 'images/graphics/33_Profile/default_user_600x600-v4.png', '320wx320h': 'http://images-mix.netdna-ssl.com/w/320/h/320/q/85/' 'images/graphics/33_Profile/' 'default_user_600x600-v4.png', 'extra_large': 'http://images-mix.netdna-ssl.com/w/600/h/600/q/85/' 'images/graphics/33_Profile/' 'default_user_600x600-v4.png', 'large': 'http://images-mix.netdna-ssl.com/w/300/h/300/q/85/' 'images/graphics/33_Profile/default_user_600x600-v4.png', '640wx640h': 'http://images-mix.netdna-ssl.com/w/640/h/640/q/85/' 'images/graphics/33_Profile/' 'default_user_600x600-v4.png', 'medium_mobile': 'http://images-mix.netdna-ssl.com/w/80/h/80/q/75/' 'images/graphics/33_Profile/' 'default_user_600x600-v4.png', 'small': 'http://images-mix.netdna-ssl.com/w/25/h/25/q/85/images/' 'graphics/33_Profile/default_user_600x600-v4.png', 'thumbnail': 'http://images-mix.netdna-ssl.com/w/50/h/50/q/85/' 'images/graphics/33_Profile/' 'default_user_600x600-v4.png' }, 'is_current_user': True, 'listen_count': 0, 'updated_time': '2013-03-17T06:26:31Z', 'following': False, 'follower': False, 'key': '/foobar/', 'created_time': '2013-03-17T06:26:31Z', 'follower_count': 0, 'favorite_count': 0, 'name': 'foobar' }) def test_login(self): self.do_login() def test_partial_pipeline(self): self.do_partial_pipeline()
unknown
codeparrot/codeparrot-clean
use serde_derive::Deserialize; #[derive(Deserialize)] #[serde(field_identifier)] enum F { A, #[serde(other)] Other(u8, u8), } fn main() {}
rust
github
https://github.com/serde-rs/serde
test_suite/tests/ui/identifier/not_unit.rs
[ {"pk": 1, "model": "fixtures_regress.parent", "fields": {"name": "fred"}}, {"pk": 1, "model": "fixtures_regress.child", "fields": {"data": "apple"}} ]
json
github
https://github.com/django/django
tests/fixtures_regress/fixtures/model-inheritance.json
import { report } from "../tick"; import "./b"; report("c");
javascript
github
https://github.com/webpack/webpack
test/cases/async-modules/micro-ticks-parents/case-a/c.js
# (C) British Crown Copyright 2013 - 2015, Met Office # # This file is part of Iris. # # Iris is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the # Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Iris is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Iris. If not, see <http://www.gnu.org/licenses/>. """Unit tests for the :mod:`iris.fileformats.grib` package.""" from __future__ import (absolute_import, division, print_function) from six.moves import (filter, input, map, range, zip) # noqa from iris.fileformats.grib._message import _GribMessage from iris.tests import mock def _make_test_message(sections): raw_message = mock.Mock(sections=sections) recreate_raw = mock.Mock(return_value=raw_message) return _GribMessage(raw_message, recreate_raw)
unknown
codeparrot/codeparrot-clean
#!/usr/bin/python # # Dan Levin <dlevin@net.t-labs.tu-berlin.de> # Brandon Heller <brandonh@stanford.edu> import json import logging from math import floor, pi, sin from random import choice, randint, random import random import unittest def unit_workload(sw, size, duration, numreqs): """ Return workload description with unit demands and unit length. sw: list of switch names size: link utilization (unitless) duration: time until flow terminates (unitless) numreq: number of requests returns: workload structure # Workload is a list of tuples # Each list element corresponds to one request arrival: # (time of arrival, arriving at switch, size, duration) """ workload = [] for t in range(numreqs): requests = (t, sw[t % len(sw)], size, duration) workload.append(requests) return workload def expo_workload(switches, period, timesteps, interarrival_alpha, duration_shape, filename='expo.workload'): """ Exponentially distributed inter-arrival times with weibull duration distribution sw: list of switch names max_demand: link utilization (unitless) duration: time until flow terminates (unitless) timesteps: number of simulation timesteps until last arrival occurs numreq: number of requests returns: workload structure (time of arrival, arriving at switch, size, duration) """ try: f = open(filename, 'r') workload = json.loads("".join(f.readlines()).strip()) f.close() logging.info("Read workload from file: %s", filename) return workload except: workload = [] for i, switch in enumerate(switches): time = 0 while time < timesteps: if i == 0: #time += random.expovariate(interarrival_alpha + (interarrival_alpha/2 * (time / timesteps))) time += random.expovariate(interarrival_alpha/3 + (3* interarrival_alpha * (wave(time,period,period/2,10)/10)/3) ) duration = int((random.weibullvariate(1, duration_shape)+1)) # print 10 + 10* (i*1.0/100) elif i == 1: #time += random.expovariate(interarrival_alpha + interarrival_alpha/2 * (1 - (time / timesteps))) time += random.expovariate(interarrival_alpha/3 + (3*interarrival_alpha * (wave(time,period,0,10)/10)/3) ) # print 10 + 10* (1-(i*1.0/100)) duration = int((random.weibullvariate(1, duration_shape)+1)) else: assert False time += random.expovariate(interarrival_alpha) # random.weibullvariate(alpha, beta) # alpha is the scale parameter and beta is shape. size = 1 workload.append((time, switch, size, duration)) workload = sorted(workload, key=lambda req: req[0]) f = open(filename, 'w') print >>f, json.dumps(workload,sort_keys=True, indent=4) f.close() logging.info("Created workload and wrote to file: %s", filename) return workload def random_int_workload(sw, size, duration, numreqs): """ Return workload description with random demands and lengths. """ workload = [] minutil = 10 maxutil = 10 mindur = 1 maxdur = 1 for t in range(numreqs): requests = (t, choice(sw), randint(minutil, maxutil), randint(mindur, maxdur)) workload.append(requests) return workload ############ Refactored to here, @Dan, begin here tomorrow def generic_workload(switch_workload_fcns, size, duration, timesteps): """ Return workload description based on input functions for each switch NOTE: when duration != timestep, requests will overlap, such that the actual desired BW will not match the total request bandwidth. NOTE: requests are equal in size TODO: Generalize traffic generation to better model changing demand and distributions. switches_workload_fcns: dict of switch names to workload functions A workload function returns the total demand at a given time. Its only input is the current timestep. size: bw of each request (unitless) Requests are CBR and bin-packed until no more space remains. TODO: Generalize the size/duration fields to support a type of UDP or TCP. Size/duration would only be needed for UDP then. duration: length of each request (unitless) Requests are CBR. timesteps: number of timesteps returns: workload structure # Workload is a list of lists. # Each top-level list element corresponds to one time step. # Each second-level list element is a tuple of: # (switch, size, duration) """ workload = [] switches = sorted(switch_workload_fcns.keys()) for t in range(timesteps): requests = [] for sw in switches: total_demand = switch_workload_fcns[sw](t) # Approximate desired demand based on size num_requests = int(floor(total_demand / float(size))) for req in range(num_requests): requests.append((sw, size, duration)) workload.append(requests) return workload def sawtooth(t, period, offset, max_demand, y_shift=0): """Sawtooth: 0 to full to 0 with specified period y_shift: percentage of the max_demand to shift the entire workload up the y-axis. E.g., With max_demand = 60 and y_shift 1/2 will shift the wave up so that it oscillates between 90 and 30 demand units, instead of 60 and 0 """ phase = (t + offset) % float(period) if phase < period / 2.0: return phase / float(period / 2.0) * max_demand + (y_shift * max_demand) else: return (period - phase) / float(period / 2.0) * max_demand + (y_shift * max_demand) def wave(t, period, offset, max_demand, y_shift=0): """Wave: 0 to full to 0 with specified period This is actually an inverted cosine, but staying consistent w/sawtooth seems like the better option. Shifting left by period / 4 is equal to an inverted cosine. Offset is in the same units as period. y_shift: percentage of the max_demand to shift the entire workload up the y-axis. E.g., With max_demand = 60 and y_shift 1/2 will shift the wave up so that it oscillates between 90 and 30 demand units, instead of 60 and 0 """ phase_unitless = (t + offset - (period / 4.0)) % float(period) phase_radians = phase_unitless / float(period) * (2.0 * pi) raw_val = (sin(phase_radians) + 1.0) / 2.0 return (raw_val * max_demand) + (y_shift * max_demand) def dual_offset_workload(switches, period, offset, max_demand, size, duration, timesteps, workload_fcn, y_shift=0): """ Return workload description with offset sawtooths. switches: two-element list with switch names period: sawtooth period (unitless) offset: sawtooth shift, same time units as period max_demand: maximum demand to start up during a timestep (unitless) size: data demand (unitless) duration: length of each request (unitless) timesteps: number of timesteps y_shift: percentage of the max_demand to shift the entire workload up the y-axis. E.g., With max_demand = 60 and y_shift 1/2 will shift the wave up so that it oscillates between 90 and 30 demand units, instead of 60 and 0 workload_fcn: fcn like sawtooth or wave, w/these args: (t, period, offset, max_demand) returns: workload structure # Workload is a list of lists. # Each top-level list element corresponds to one time step. # Each second-level list element is a tuple of: # (switch, size, duration) """ assert len(switches) == 2 switch_workload_fcns = { switches[0]: lambda t: workload_fcn(t, period, 0, max_demand, y_shift), switches[1]: lambda t: workload_fcn(t, period, offset, max_demand, y_shift) } return generic_workload(switch_workload_fcns, size, duration, timesteps) def old_to_new(workload, strictly_increasing_time=True): """ Convert the old-style 2-level-lists of requests to list of timestamped requests """ new_workload = [] for i, reqs in enumerate(workload): for j, req in enumerate(reqs): if (strictly_increasing_time): frac = ((j+1) * 0.5)/len(reqs) else: frac = 0 assert len(req) == 3 new_workload.append((i+frac, req[0], req[1], req[2])) return new_workload def assertListsAlmostEqual(test, one, two): """Check that lists w/floating-point values are about equal. test: instance of unittest.TestCase """ test.assertEqual(len(one), len(two)) for i in range(len(one)): test.assertAlmostEqual(one[i], two[i]) class TestSawtoothWorkload(unittest.TestCase): """Unit tests for generating a sawtooth workload""" def test_sawtooth(self): """Verify sawtooth function value extremes.""" for period in [4, 5, 8, 10]: max_demand = 10 reps = 2 # Repetition of full waveforms st_fcn = lambda t: sawtooth(t, period=period, offset=0, max_demand=max_demand) st_offset_fcn = lambda t: sawtooth(t, period=period, offset=period / 2.0, max_demand=max_demand) for i in range(reps): self.assertEquals(st_fcn(i * period), 0) self.assertEquals(st_offset_fcn(i * period), max_demand) self.assertEquals(st_fcn(i * period + period / 2.0), max_demand) self.assertEquals(st_offset_fcn(i * period + period / 2.0), 0) class TestWaveWorkload(unittest.TestCase): """Unit tests for generating a wave (shifted sine) workload""" def test_wave(self): """Verify wave value extremes.""" period = 4 max_demand = 2 st_fcn = lambda t: wave(t, period=period, offset=0, max_demand=max_demand) test_wave = [st_fcn(i) for i in range(period + 1)] assertListsAlmostEqual(self, test_wave, [0, 1, 2, 1, 0]) if __name__ == '__main__': unittest.main()
unknown
codeparrot/codeparrot-clean
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2011 Yesudeep Mangalapilly <yesudeep@gmail.com> # Copyright 2012 Google, Inc. # Copyright 2014 Thomas Amland <thomas.amland@gmail.com> # # 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. """ :module: watchdog.utils.dirsnapshot :synopsis: Directory snapshots and comparison. :author: yesudeep@google.com (Yesudeep Mangalapilly) .. ADMONITION:: Where are the moved events? They "disappeared" This implementation does not take partition boundaries into consideration. It will only work when the directory tree is entirely on the same file system. More specifically, any part of the code that depends on inode numbers can break if partition boundaries are crossed. In these cases, the snapshot diff will represent file/directory movement as created and deleted events. Classes ------- .. autoclass:: DirectorySnapshot :members: :show-inheritance: .. autoclass:: DirectorySnapshotDiff :members: :show-inheritance: """ import errno import os from stat import S_ISDIR from watchdog.utils import platform from watchdog.utils import stat as default_stat class DirectorySnapshotDiff(object): """ Compares two directory snapshots and creates an object that represents the difference between the two snapshots. :param ref: The reference directory snapshot. :type ref: :class:`DirectorySnapshot` :param snapshot: The directory snapshot which will be compared with the reference snapshot. :type snapshot: :class:`DirectorySnapshot` """ def __init__(self, ref, snapshot): created = snapshot.paths - ref.paths deleted = ref.paths - snapshot.paths # check that all unchanged paths have the same inode for path in ref.paths & snapshot.paths: if ref.inode(path) != snapshot.inode(path): created.add(path) deleted.add(path) # find moved paths moved = set() for path in set(deleted): inode = ref.inode(path) new_path = snapshot.path(inode) if new_path: # file is not deleted but moved deleted.remove(path) moved.add((path, new_path)) for path in set(created): inode = snapshot.inode(path) old_path = ref.path(inode) if old_path: created.remove(path) moved.add((old_path, path)) # find modified paths # first check paths that have not moved modified = set() for path in ref.paths & snapshot.paths: if ref.inode(path) == snapshot.inode(path): if ref.mtime(path) != snapshot.mtime(path): modified.add(path) for (old_path, new_path) in moved: if ref.mtime(old_path) != snapshot.mtime(new_path): modified.add(old_path) self._dirs_created = [path for path in created if snapshot.isdir(path)] self._dirs_deleted = [path for path in deleted if ref.isdir(path)] self._dirs_modified = [path for path in modified if ref.isdir(path)] self._dirs_moved = [(frm, to) for (frm, to) in moved if ref.isdir(frm)] self._files_created = list(created - set(self._dirs_created)) self._files_deleted = list(deleted - set(self._dirs_deleted)) self._files_modified = list(modified - set(self._dirs_modified)) self._files_moved = list(moved - set(self._dirs_moved)) @property def files_created(self): """List of files that were created.""" return self._files_created @property def files_deleted(self): """List of files that were deleted.""" return self._files_deleted @property def files_modified(self): """List of files that were modified.""" return self._files_modified @property def files_moved(self): """ List of files that were moved. Each event is a two-tuple the first item of which is the path that has been renamed to the second item in the tuple. """ return self._files_moved @property def dirs_modified(self): """ List of directories that were modified. """ return self._dirs_modified @property def dirs_moved(self): """ List of directories that were moved. Each event is a two-tuple the first item of which is the path that has been renamed to the second item in the tuple. """ return self._dirs_moved @property def dirs_deleted(self): """ List of directories that were deleted. """ return self._dirs_deleted @property def dirs_created(self): """ List of directories that were created. """ return self._dirs_created class DirectorySnapshot(object): """ A snapshot of stat information of files in a directory. :param path: The directory path for which a snapshot should be taken. :type path: ``str`` :param recursive: ``True`` if the entire directory tree should be included in the snapshot; ``False`` otherwise. :type recursive: ``bool`` :param walker_callback: .. deprecated:: 0.7.2 :param stat: Use custom stat function that returns a stat structure for path. Currently only st_dev, st_ino, st_mode and st_mtime are needed. A function with the signature ``walker_callback(path, stat_info)`` which will be called for every entry in the directory tree. :param listdir: Use custom listdir function. See ``os.listdir`` for details. """ def __init__(self, path, recursive=True, walker_callback=(lambda p, s: None), stat=default_stat, listdir=os.listdir): self._stat_info = {} self._inode_to_path = {} st = stat(path) self._stat_info[path] = st self._inode_to_path[(st.st_ino, st.st_dev)] = path def walk(root): try: paths = [os.path.join(root, name) for name in listdir(root)] except OSError as e: # Directory may have been deleted between finding it in the directory # list of its parent and trying to delete its contents. If this # happens we treat it as empty. if e.errno == errno.ENOENT: return else: raise entries = [] for p in paths: try: entries.append((p, stat(p))) except OSError: continue for _ in entries: yield _ if recursive: for path, st in entries: if S_ISDIR(st.st_mode): for _ in walk(path): yield _ for p, st in walk(path): i = (st.st_ino, st.st_dev) self._inode_to_path[i] = p self._stat_info[p] = st walker_callback(p, st) @property def paths(self): """ Set of file/directory paths in the snapshot. """ return set(self._stat_info.keys()) def path(self, id): """ Returns path for id. None if id is unknown to this snapshot. """ return self._inode_to_path.get(id) def inode(self, path): """ Returns an id for path. """ st = self._stat_info[path] return (st.st_ino, st.st_dev) def isdir(self, path): return S_ISDIR(self._stat_info[path].st_mode) def mtime(self, path): return self._stat_info[path].st_mtime def stat_info(self, path): """ Returns a stat information object for the specified path from the snapshot. Attached information is subject to change. Do not use unless you specify `stat` in constructor. Use :func:`inode`, :func:`mtime`, :func:`isdir` instead. :param path: The path for which stat information should be obtained from a snapshot. """ return self._stat_info[path] def __sub__(self, previous_dirsnap): """Allow subtracting a DirectorySnapshot object instance from another. :returns: A :class:`DirectorySnapshotDiff` object. """ return DirectorySnapshotDiff(previous_dirsnap, self) def __str__(self): return self.__repr__() def __repr__(self): return str(self._stat_info)
unknown
codeparrot/codeparrot-clean
# frozen_string_literal: true require "cases/helper" module ActiveModel module Type class BooleanTest < ActiveModel::TestCase def test_type_cast_boolean type = Type::Boolean.new assert_nil type.cast("") assert_nil type.cast(nil) assert type.cast(true) assert type.cast(1) assert type.cast("1") assert type.cast("t") assert type.cast("T") assert type.cast("true") assert type.cast("TRUE") assert type.cast("on") assert type.cast("ON") assert type.cast(" ") assert type.cast("\u3000\r\n") assert type.cast("\u0000") assert type.cast("SOMETHING RANDOM") assert type.cast(:"1") assert type.cast(:t) assert type.cast(:T) assert type.cast(:true) assert type.cast(:TRUE) assert type.cast(:on) assert type.cast(:ON) # explicitly check for false vs nil assert_equal false, type.cast(false) assert_equal false, type.cast(0) assert_equal false, type.cast("0") assert_equal false, type.cast("f") assert_equal false, type.cast("F") assert_equal false, type.cast("false") assert_equal false, type.cast("FALSE") assert_equal false, type.cast("off") assert_equal false, type.cast("OFF") assert_equal false, type.cast(:"0") assert_equal false, type.cast(:f) assert_equal false, type.cast(:F) assert_equal false, type.cast(:false) assert_equal false, type.cast(:FALSE) assert_equal false, type.cast(:off) assert_equal false, type.cast(:OFF) end end end end
ruby
github
https://github.com/rails/rails
activemodel/test/cases/type/boolean_test.rb
# # The Python Imaging Library. # $Id$ # # global image statistics # # History: # 1996-04-05 fl Created # 1997-05-21 fl Added mask; added rms, var, stddev attributes # 1997-08-05 fl Added median # 1998-07-05 hk Fixed integer overflow error # # Notes: # This class shows how to implement delayed evaluation of attributes. # To get a certain value, simply access the corresponding attribute. # The __getattr__ dispatcher takes care of the rest. # # Copyright (c) Secret Labs AB 1997. # Copyright (c) Fredrik Lundh 1996-97. # # See the README file for information on usage and redistribution. # import math import operator from functools import reduce class Stat: def __init__(self, image_or_list, mask=None): try: if mask: self.h = image_or_list.histogram(mask) else: self.h = image_or_list.histogram() except AttributeError: self.h = image_or_list # assume it to be a histogram list if not isinstance(self.h, list): raise TypeError("first argument must be image or list") self.bands = list(range(len(self.h) // 256)) def __getattr__(self, id): "Calculate missing attribute" if id[:4] == "_get": raise AttributeError(id) # calculate missing attribute v = getattr(self, "_get" + id)() setattr(self, id, v) return v def _getextrema(self): "Get min/max values for each band in the image" def minmax(histogram): n = 255 x = 0 for i in range(256): if histogram[i]: n = min(n, i) x = max(x, i) return n, x # returns (255, 0) if there's no data in the histogram v = [] for i in range(0, len(self.h), 256): v.append(minmax(self.h[i:])) return v def _getcount(self): "Get total number of pixels in each layer" v = [] for i in range(0, len(self.h), 256): v.append(reduce(operator.add, self.h[i:i+256])) return v def _getsum(self): "Get sum of all pixels in each layer" v = [] for i in range(0, len(self.h), 256): sum = 0.0 for j in range(256): sum += j * self.h[i + j] v.append(sum) return v def _getsum2(self): "Get squared sum of all pixels in each layer" v = [] for i in range(0, len(self.h), 256): sum2 = 0.0 for j in range(256): sum2 += (j ** 2) * float(self.h[i + j]) v.append(sum2) return v def _getmean(self): "Get average pixel level for each layer" v = [] for i in self.bands: v.append(self.sum[i] / self.count[i]) return v def _getmedian(self): "Get median pixel level for each layer" v = [] for i in self.bands: s = 0 l = self.count[i]//2 b = i * 256 for j in range(256): s = s + self.h[b+j] if s > l: break v.append(j) return v def _getrms(self): "Get RMS for each layer" v = [] for i in self.bands: v.append(math.sqrt(self.sum2[i] / self.count[i])) return v def _getvar(self): "Get variance for each layer" v = [] for i in self.bands: n = self.count[i] v.append((self.sum2[i]-(self.sum[i]**2.0)/n)/n) return v def _getstddev(self): "Get standard deviation for each layer" v = [] for i in self.bands: v.append(math.sqrt(self.var[i])) return v Global = Stat # compatibility
unknown
codeparrot/codeparrot-clean
# -*- coding: utf-8 -*- import csv import json from datetime import date from unittest import mock from django.http import Http404 from django.test.client import RequestFactory from django.utils.encoding import force_text from olympia import amo from olympia.access.models import Group, GroupUser from olympia.addons.models import Addon, AddonUser from olympia.amo.tests import ( TestCase, addon_factory, user_factory, version_factory, ) from olympia.amo.urlresolvers import reverse from olympia.constants.applications import FIREFOX from olympia.stats import views from olympia.users.models import UserProfile class StatsTestCase(TestCase): fixtures = [ # Create two configured users: # # - admin: jbalogh@mozilla.com # - simple user: nobodyspecial@mozilla.com 'stats/users.json', ] def setUp(self): super().setUp() self.addon_4 = Addon.objects.create(pk=4, slug='4') version_factory(addon=self.addon_4) self.addon_5 = Addon.objects.create(pk=5, slug='5') version_factory(addon=self.addon_5) # Default url_args to an addon and range with data. self.url_args = { 'addon_id': self.addon_4.pk, 'start': '20090601', 'end': '20090930', } Addon.objects.filter(id__in=(self.addon_4.pk, self.addon_5.pk)).update( status=amo.STATUS_APPROVED ) # Most tests don't care about permissions. self.login_as_admin() self.get_updates_series_patcher = mock.patch( 'olympia.stats.views.get_updates_series' ) self.get_updates_series_mock = self.get_updates_series_patcher.start() self.get_updates_series_mock.return_value = [] self.get_download_series_patcher = mock.patch( 'olympia.stats.views.get_download_series' ) self.get_download_series_mock = ( self.get_download_series_patcher.start() ) self.get_download_series_mock.return_value = [] def tearDown(self): super().setUp() self.get_updates_series_patcher.stop() self.get_download_series_patcher.stop() def login_as_admin(self): self.client.logout() self.client.login(email='jbalogh@mozilla.com') def login_as_visitor(self): self.client.logout() self.client.login(email='nobodyspecial@mozilla.com') def get_view_response(self, view, **kwargs): view_args = self.url_args.copy() head = kwargs.pop('head', False) view_args.update(kwargs) url = reverse(view, kwargs=view_args) if head: return self.client.head(url, follow=True) return self.client.get(url, follow=True) def views_gen(self, **kwargs): # common set of views for series in views.SERIES: for group in views.SERIES_GROUPS: view = 'stats.%s_series' % series args = kwargs.copy() args['group'] = group yield (view, args) def public_views_gen(self, **kwargs): # all views are potentially public for view, args in self.views_gen(**kwargs): yield (view, args) def _check_it(self, views, status): for view, kwargs in views: response = self.get_view_response(view, head=True, **kwargs) assert response.status_code == status class TestUnlistedAddons(StatsTestCase): def setUp(self): super().setUp() self.author = user_factory(email='user@example.com') self.addon = addon_factory(users=[self.author]) self.url_args = { 'addon_id': self.addon.pk, 'start': '20090601', 'end': '20090930', } self.make_addon_unlisted(self.addon) def test_no_public_stats_for_unlisted_addon(self): """All the views for the stats return 404 for unlisted addons.""" self.login_as_visitor() self._check_it(self.public_views_gen(format='json'), 404) def test_stats_available_for_admins(self): """ All the views for the stats are available to admins for unlisted addons. """ self.login_as_admin() self._check_it(self.public_views_gen(format='json'), 200) def test_stats_available_for_authors(self): self.client.logout() self.client.login(email=self.author.email) self._check_it(self.public_views_gen(format='json'), 200) class TestListedAddons(StatsTestCase): def setUp(self): super().setUp() self.someuser = UserProfile.objects.get( email='nobodyspecial@mozilla.com' ) AddonUser.objects.create(user=self.someuser, addon=self.addon_4) def test_private_stats_for_listed_addon(self): self.client.logout() self._check_it(self.public_views_gen(format='json'), 403) self.client.login(email=self.someuser.email) self._check_it(self.public_views_gen(format='json'), 200) def test_stats_for_mozilla_disabled_addon(self): self.addon_4.update(status=amo.STATUS_DISABLED) # Public users should not see stats self.client.logout() # It is a 404 (and not a 403) before the decorator first tries to # retrieve the add-on. self._check_it(self.public_views_gen(format='json'), 404) # Developers should not see stats self.client.login(email=self.someuser.email) self._check_it(self.public_views_gen(format='json'), 404) # Admins should see stats self.login_as_admin() self._check_it(self.public_views_gen(format='json'), 200) def test_stats_for_user_disabled_addon(self): self.addon_4.update(disabled_by_user=True) # Public users should not see stats self.client.logout() self._check_it(self.public_views_gen(format='json'), 403) # Developers should see stats self.client.login(email=self.someuser.email) self._check_it(self.public_views_gen(format='json'), 200) # Admins should see stats self.login_as_admin() self._check_it(self.public_views_gen(format='json'), 200) class TestSeriesSecurity(StatsTestCase): """Tests to make sure all restricted data remains restricted.""" def test_private_addon_no_groups(self): # Logged in but no groups self.login_as_visitor() self._check_it(self.views_gen(format='json'), 403) def test_private_addon_stats_group(self): # Logged in with stats group. user = UserProfile.objects.get(email='nobodyspecial@mozilla.com') group = Group.objects.create(name='Stats', rules='Stats:View') GroupUser.objects.create(user=user, group=group) self.login_as_visitor() self._check_it(self.public_views_gen(format='json'), 200) def test_private_addon_anonymous(self): # Not logged in self.client.logout() self._check_it(self.views_gen(format='json'), 403) def test_addon_no_groups(self): # Logged in but no groups self.login_as_visitor() self._check_it(self.public_views_gen(addon_id=5, format='json'), 403) def test_addon_stats_group(self): # Logged in with stats group. user = UserProfile.objects.get(email='nobodyspecial@mozilla.com') group = Group.objects.create(name='Stats', rules='Stats:View') GroupUser.objects.create(user=user, group=group) self.login_as_visitor() self._check_it(self.public_views_gen(addon_id=5, format='json'), 200) def test_addon_anonymous(self): # Not logged in self.client.logout() self._check_it(self.public_views_gen(addon_id=5, format='json'), 403) class TestCacheControl(StatsTestCase): """Tests we set cache control headers""" def test_cache_control(self): response = self.get_view_response( 'stats.downloads_series', head=True, group='month', format='json' ) assert response.get('cache-control', '').startswith( 'max-age=' ), 'Bad or no cache-control: %r' % response.get('cache-control', '') class TestLayout(StatsTestCase): def test_no_public_stats(self): self.login_as_visitor() response = self.client.get( reverse('stats.downloads', args=[self.addon_4.slug]) ) assert response.status_code == 403 class TestCsvAndJsonViews(StatsTestCase): def csv_eq(self, response, expected): content = force_text(response.content) content_csv = csv.DictReader( # Drop lines that are comments. filter(lambda row: row[0] != '#', content.splitlines()) ) expected = force_text(expected) expected_csv = csv.DictReader( # Strip any extra spaces from the expected content. line.strip() for line in expected.splitlines() ) assert tuple(content_csv) == tuple(expected_csv) def test_usage_series_no_data_json(self): self.get_updates_series_mock.return_value = [] response = self.get_view_response( 'stats.usage_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual(json.loads(force_text(response.content)), []) def test_usage_series_no_data_csv(self): self.get_updates_series_mock.return_value = [] response = self.get_view_response( 'stats.usage_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq(response, """date,count""") def test_usage_json(self): self.get_updates_series_mock.return_value = [ {'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500}, {'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000}, ] response = self.get_view_response( 'stats.usage_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ {'count': 1500, 'date': '2009-06-02', 'end': '2009-06-02'}, {'count': 1000, 'date': '2009-06-01', 'end': '2009-06-01'}, ], ) def test_usage_csv(self): self.get_updates_series_mock.return_value = [ {'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500}, {'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000}, ] response = self.get_view_response( 'stats.usage_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count 2009-06-02,1500 2009-06-01,1000""", ) def test_usage_by_app_json(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {FIREFOX.guid: {'4.0': 1500}}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {FIREFOX.guid: {'4.0': 1000}}, }, ] response = self.get_view_response( 'stats.apps_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { "data": { "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}": {"4.0": 1500} }, "count": 1500, "date": "2009-06-02", "end": "2009-06-02", }, { "data": { "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}": {"4.0": 1000} }, "count": 1000, "date": "2009-06-01", "end": "2009-06-01", }, ], ) def test_usage_by_app_csv(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {FIREFOX.guid: {'4.0': 1500}}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {FIREFOX.guid: {'4.0': 1000}}, }, ] response = self.get_view_response( 'stats.apps_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,Firefox 4.0 2009-06-02,1500,1500 2009-06-01,1000,1000""", ) def test_usage_by_locale_json(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'el': 800, 'es-mx': 400, 'en-us': 300}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'el': 400, 'es-mx': 300, 'en-us': 300}, }, ] response = self.get_view_response( 'stats.locales_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { "count": 1500, "date": "2009-06-02", "end": "2009-06-02", "data": { u"Ελληνικά (el)": 800, u'Espa\xf1ol (de M\xe9xico) (es-mx)': 400, u"English (US) (en-us)": 300, }, }, { "count": 1000, "date": "2009-06-01", "end": "2009-06-01", "data": { u"Ελληνικά (el)": 400, u'Espa\xf1ol (de M\xe9xico) (es-mx)': 300, u"English (US) (en-us)": 300, }, }, ], ) def test_usage_by_locale_csv(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'el': 800, 'es-mx': 400, 'en-us': 300}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'el': 400, 'es-mx': 300, 'en-us': 300}, }, ] response = self.get_view_response( 'stats.locales_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, u"""date,count,English (US) (en-us),Espa\xf1ol (de M\xe9xico) (es-mx),Ελληνικά (el) 2009-06-02,1500,300,400,800 2009-06-01,1000,300,300,400""", # noqa ) def test_usage_by_os_json(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'Linux': 400, 'Windows': 500}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'Linux': 300, 'Windows': 400}, }, ] response = self.get_view_response( 'stats.os_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { "count": 1500, "date": "2009-06-02", "end": "2009-06-02", "data": {"Linux": 400, "Windows": 500}, }, { "count": 1000, "date": "2009-06-01", "end": "2009-06-01", "data": {"Linux": 300, "Windows": 400}, }, ], ) def test_usage_by_os_csv(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'Linux': 400, 'Windows': 500}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'Linux': 300, 'Windows': 400}, }, ] response = self.get_view_response( 'stats.os_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, u"""date,count,Linux,Windows 2009-06-02,1500,400,500 2009-06-01,1000,300,400""", ) def test_usage_by_version_json(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'1.0': 550, '2.0': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'1.0': 200, '2.0': 800}, }, ] response = self.get_view_response( 'stats.versions_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { 'count': 1500, 'date': '2009-06-02', 'end': '2009-06-02', 'data': {'1.0': 550, '2.0': 950}, }, { 'count': 1000, 'date': '2009-06-01', 'end': '2009-06-01', 'data': {'1.0': 200, '2.0': 800}, }, ], ) def test_usage_by_version_csv(self): self.get_updates_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'1.0': 550, '2.0': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'1.0': 200, '2.0': 800}, }, ] response = self.get_view_response( 'stats.versions_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,1.0,2.0 2009-06-02,1500,550,950 2009-06-01,1000,200,800""", ) def test_downloads_json(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, }, ] response = self.get_view_response( 'stats.downloads_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ {"date": "2009-06-02", "end": "2009-06-02", "count": 1500}, {"date": "2009-06-01", "end": "2009-06-01", "count": 1000}, ] ) def test_downloads_csv(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, }, ] response = self.get_view_response( 'stats.downloads_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count 2009-06-02,1500 2009-06-01,1000""", ) def test_download_by_source_json(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'api': 550, 'search': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'api': 550, 'search': 450}, }, ] response = self.get_view_response( 'stats.sources_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { "date": "2009-06-02", "end": "2009-06-02", "count": 1500, "data": {"api": 550, "search": 950}, }, { "date": "2009-06-01", "end": "2009-06-01", "count": 1000, "data": {"api": 550, "search": 450}, }, ] ) def test_download_by_source_csv(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'api': 550, 'search': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'api': 550, 'search': 450}, }, ] response = self.get_view_response( 'stats.sources_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,api,search 2009-06-02,1500,550,950 2009-06-01,1000,550,450""", ) def test_download_by_content_json(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'content-1': 550, 'content-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'content-1': 550, 'content-3': 450}, }, ] response = self.get_view_response( 'stats.contents_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { 'data': {'content-1': 550, 'content-2': 950}, 'date': '2009-06-02', 'end': '2009-06-02', 'count': 1500, }, { 'data': {'content-1': 550, 'content-3': 450}, 'date': '2009-06-01', 'end': '2009-06-01', 'count': 1000, }, ], ) def test_download_by_content_csv(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'content-1': 550, 'content-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'content-1': 550, 'content-3': 450}, }, ] response = self.get_view_response( 'stats.contents_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,content-1,content-2,content-3 2009-06-02,1500,550,950,0 2009-06-01,1000,550,0,450""", ) def test_download_by_medium_json(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'medium-1': 550, 'medium-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'medium-1': 550, 'medium-3': 450}, }, ] response = self.get_view_response( 'stats.mediums_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { 'data': {'medium-1': 550, 'medium-2': 950}, 'date': '2009-06-02', 'end': '2009-06-02', 'count': 1500, }, { 'data': {'medium-1': 550, 'medium-3': 450}, 'date': '2009-06-01', 'end': '2009-06-01', 'count': 1000, }, ], ) def test_download_by_medium_csv(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'medium-1': 550, 'medium-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'medium-1': 550, 'medium-3': 450}, }, ] response = self.get_view_response( 'stats.mediums_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,medium-1,medium-2,medium-3 2009-06-02,1500,550,950,0 2009-06-01,1000,550,0,450""", ) def test_download_by_campaign_json(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'campaign-1': 550, 'campaign-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'campaign-1': 550, 'campaign-3': 450}, }, ] response = self.get_view_response( 'stats.campaigns_series', group='day', format='json' ) assert response.status_code == 200 self.assertListEqual( json.loads(force_text(response.content)), [ { 'data': {'campaign-1': 550, 'campaign-2': 950}, 'date': '2009-06-02', 'end': '2009-06-02', 'count': 1500, }, { 'data': {'campaign-1': 550, 'campaign-3': 450}, 'date': '2009-06-01', 'end': '2009-06-01', 'count': 1000, }, ], ) def test_download_by_campaign_csv(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'campaign-1': 550, 'campaign-2': 950}, }, { 'date': date(2009, 6, 1), 'end': date(2009, 6, 1), 'count': 1000, 'data': {'campaign-1': 550, 'campaign-3': 450}, }, ] response = self.get_view_response( 'stats.campaigns_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,campaign-1,campaign-2,campaign-3 2009-06-02,1500,550,950,0 2009-06-01,1000,550,0,450""", ) def test_unknown_download_values_are_renamed(self): self.get_download_series_mock.return_value = [ { 'date': date(2009, 6, 2), 'end': date(2009, 6, 2), 'count': 1500, 'data': {'campaign-1': 550, 'Unknown': 950}, }, ] response = self.get_view_response( 'stats.campaigns_series', group='day', format='csv' ) assert response.status_code == 200 self.csv_eq( response, """date,count,campaign-1,(none) 2009-06-02,1500,550,950""", ) class TestXss(amo.tests.TestXss): def test_stats_page(self): url = reverse('stats.overview', args=[self.addon.slug]) self.assertNameAndNoXSS(url) def test_date_range_or_404_xss(self): with self.assertRaises(Http404): views.get_daterange_or_404(start='<alert>', end='20010101') def test_report_view_xss(self): req = RequestFactory().get('/', start='<alert>', end='20010101') assert views.get_report_view(req) == {} req = RequestFactory().get('/', last='<alert>') assert views.get_report_view(req) == {} class TestStatsWithBigQuery(TestCase): def setUp(self): super().setUp() self.user = user_factory(email='staff@mozilla.com') self.addon = addon_factory(users=[self.user]) self.start_date = date(2020, 1, 1) self.end_date = date(2020, 1, 5) self.series_args = [ self.addon.slug, 'day', self.start_date.strftime('%Y%m%d'), self.end_date.strftime('%Y%m%d'), 'json', ] self.client.login(email=self.user.email) def test_overview_shows_link_to_stats_by_country(self): url = reverse('stats.overview', args=[self.addon.slug]) response = self.client.get(url) assert b'by Country' in response.content @mock.patch('olympia.stats.views.get_updates_series') def test_usage_series(self, get_updates_series_mock): get_updates_series_mock.return_value = [] url = reverse('stats.usage_series', args=self.series_args) self.client.get(url) get_updates_series_mock.assert_called_once_with( addon=self.addon, start_date=self.start_date, end_date=self.end_date, ) def test_usage_breakdown_series(self): for (url_name, source) in [ ('stats.apps_series', 'apps'), ('stats.countries_series', 'countries'), ('stats.locales_series', 'locales'), ('stats.os_series', 'os'), ('stats.versions_series', 'versions'), ]: url = reverse(url_name, args=self.series_args) with mock.patch( 'olympia.stats.views.get_updates_series' ) as get_updates_series_mock: get_updates_series_mock.return_value = [] self.client.get(url) get_updates_series_mock.assert_called_once_with( addon=self.addon, start_date=self.start_date, end_date=self.end_date, source=source, ) def test_stats_by_country(self): url = reverse('stats.countries', args=[self.addon.slug]) response = self.client.get(url) assert b'User countries by Date' in response.content def test_stats_for_langpacks(self): self.addon.update(type=amo.ADDON_LPAPP) url = reverse('stats.overview', args=[self.addon.slug]) response = self.client.get(url) assert response.status_code == 200 def test_stats_for_dictionaries(self): self.addon.update(type=amo.ADDON_DICT) url = reverse('stats.overview', args=[self.addon.slug]) response = self.client.get(url) assert response.status_code == 200 @mock.patch('olympia.stats.views.get_updates_series') @mock.patch('olympia.stats.views.get_download_series') def test_overview_series_with_bigquery_download_stats( self, get_download_series_mock, get_updates_series_mock ): get_download_series_mock.return_value = [] get_updates_series_mock.return_value = [] url = reverse('stats.overview_series', args=self.series_args) self.client.get(url) get_download_series_mock.assert_called_once_with( addon=self.addon, start_date=self.start_date, end_date=self.end_date, ) def test_overview_shows_links_to_bigquery_download_stats(self): url = reverse('stats.overview', args=[self.addon.slug]) response = self.client.get(url) assert b'Weekly Downloads' in response.content assert b'by Source' in response.content assert b'by Medium' in response.content assert b'by Content' in response.content assert b'by Campaign' in response.content def test_no_download_stats_for_purely_unlisted_addons(self): self.make_addon_unlisted(self.addon) assert not self.addon.has_listed_versions() url = reverse('stats.overview', args=[self.addon.slug]) response = self.client.get(url) assert b'by Source' not in response.content assert b'by Medium' not in response.content assert b'by Content' not in response.content assert b'by Campaign' not in response.content def test_download_stats(self): url = reverse('stats.downloads', args=[self.addon.slug]) response = self.client.get(url) assert b'How are downloads counted' not in response.content def test_download_stats_by_source(self): url = reverse('stats.sources', args=[self.addon.slug]) response = self.client.get(url) assert b'Download sources by Date' in response.content assert b'About tracking external sources' in response.content def test_download_stats_by_medium(self): url = reverse('stats.mediums', args=[self.addon.slug]) response = self.client.get(url) assert b'Download mediums by Date' in response.content assert b'About tracking external sources' in response.content def test_download_stats_by_content(self): url = reverse('stats.contents', args=[self.addon.slug]) response = self.client.get(url) assert b'Download contents by Date' in response.content assert b'About tracking external sources' in response.content def test_download_stats_by_campaign(self): url = reverse('stats.campaigns', args=[self.addon.slug]) response = self.client.get(url) assert b'Download campaigns by Date' in response.content assert b'About tracking external sources' in response.content class TestProcessLocales(TestCase): def test_performs_lowercase_lookup(self): series = [{'data': {'en-US': 123}}] series = views.process_locales(series) assert len(next(series)['data']) == 1 def test_skips_none_key(self): series = [{'data': {None: 123}}] series = views.process_locales(series) assert len(next(series)['data']) == 0 class TestRenderCSV(TestCase): def test_handles_null_keys(self): series = [ {'data': {None: 1, 'a': 2}, 'count': 3, 'date': '2020-01-01'}, {'data': {'a': 4}, 'count': 4, 'date': '2020-01-02'}, ] # Simulates how other views are rendering CSV content. stats, fields = views.csv_fields(series) response = views.render_csv( request=RequestFactory().get('/'), addon=addon_factory(), stats=stats, fields=fields, ) assert '\r\n'.join([',a', '1,2', '0,4']) in force_text( response.content )
unknown
codeparrot/codeparrot-clean
from bpy import data, types from .. import utilities, logger def _lamp(func): """ :param func: """ def inner(name, *args, **kwargs): """ :param name: :param *args: :param **kwargs: """ if isinstance(name, types.Lamp): lamp = name else: lamp = data.lamps[name] return func(lamp, *args, **kwargs) return inner @_lamp def angle(lamp): """ :param lamp: :rtype: float """ logger.debug("light.angle(%s)", lamp) return lamp.spot_size @_lamp def color(lamp): """ :param lamp: :rtype: int """ logger.debug("light.color(%s)", lamp) colour = (lamp.color.r, lamp.color.g, lamp.color.b) return utilities.rgb2int(colour) @_lamp def distance(lamp): """ :param lamp: :rtype: float """ logger.debug("light.distance(%s)", lamp) return lamp.distance @_lamp def intensity(lamp): """ :param lamp: :rtype: float """ logger.debug("light.intensity(%s)", lamp) return round(lamp.energy, 2)
unknown
codeparrot/codeparrot-clean
# -*- coding: utf-8 -*- from __future__ import unicode_literals from tests.utils import BaseTestCase, smtp_send_email, send_email_plain, prepare_send_to_field, SendEmailError,\ InvalidStatus from lathermail.utils import utcnow class ApiTestCase(BaseTestCase): def test_send_and_search(self): to_tuple = [("Rcpt1", "rcpt1@example.com"), ("Rcpt2", "rcpt2@example.com"), ("", "rcpt3@example.com")] emails = [t[1] for t in to_tuple] to = prepare_send_to_field(to_tuple) n = 3 body_fmt = "you you привет {} \n\naaa\nbbb\n<a href='aaa'>zz</a>" subject_fmt = "Test subject хэллоу {}" file_content = "file content" sender_name = "Me" sender_addr = "asdf@exmapl.com" for i in range(n): smtp_send_email( to, subject_fmt.format(i), "%s <%s>" % (sender_name, sender_addr), body_fmt.format(i), user=self.inbox, password=self.password, port=self.port, emails=emails, attachments=[("tасдest.txt", file_content)] ) res = self.get("/messages/").json self.assertEquals(res["message_count"], n) msg = res["message_list"][0] self.assertEquals(len(msg["parts"]), 2) self.assertEquals(msg["parts"][0]["body"], body_fmt.format(n - 1)) self.assertEquals(msg["parts"][0]["is_attachment"], False) self.assertEquals(msg["parts"][1]["is_attachment"], True) self.assertIsNone(msg["parts"][1]["body"]) self.assertEquals(len(msg["recipients"]), len(to_tuple)) self.assertEquals([(rcpt["name"], rcpt["address"]) for rcpt in msg["recipients"]], to_tuple) self.assertEquals(msg["sender"]["name"], sender_name) self.assertEquals(msg["sender"]["address"], sender_addr) def msg_count(params=None): return self.get("/messages/", params=params).json["message_count"] self.assertEquals(msg_count({"subject": subject_fmt.format(0)}), 1) self.assertEquals(msg_count({"subject_contains": "Test"}), n) self.assertEquals(msg_count({"subject_contains": "no such message"}), 0) before_send = utcnow() smtp_send_email("wwwww@wwwww.www", "wwwww", "www@wwwww.www", "wwwwwwww", user=self.inbox, password=self.password, port=self.port) self.assertEquals(msg_count({"recipients.address": emails[0]}), n) self.assertEquals(msg_count({"recipients.address": "no_such_email@example.com"}), 0) self.assertEquals(msg_count({"recipients.address_contains": emails[0][3:]}), n) self.assertEquals(msg_count({"recipients.address_contains": emails[0][:3]}), n) self.assertEquals(msg_count({"recipients.name": "Rcpt1"}), n) self.assertEquals(msg_count({"recipients.name": "Rcpt"}), 0) self.assertEquals(msg_count({"recipients.name_contains": "Rcpt"}), n) self.assertEquals(msg_count({"sender.name": sender_name}), n) self.assertEquals(msg_count({"sender.name": "unknown"}), 0) self.assertEquals(msg_count({"sender.name": sender_name[0]}), 0) self.assertEquals(msg_count({"sender.name_contains": sender_name[0]}), n) self.assertEquals(msg_count({"sender.name_contains": sender_name[-1]}), n) self.assertEquals(msg_count({"sender.address": sender_addr}), n) self.assertEquals(msg_count({"sender.address": sender_addr[0]}), 0) self.assertEquals(msg_count({"sender.address_contains": sender_addr[0]}), n) self.assertEquals(msg_count({"sender.address_contains": sender_addr[-1]}), n) now = utcnow() self.assertEquals(msg_count({"created_at_lt": before_send}), n) self.assertEquals(msg_count({"created_at_gt": before_send}), 1) self.assertEquals(msg_count({"created_at_lt": now}), n + 1) self.assertEquals(msg_count({"created_at_gt": now}), 0) def test_different_boxes_and_deletion(self): password1 = "pass1" password2 = "pass2" user = "inbox" n = 5 def message_count(user, password): return self.get("/messages/", headers=auth(user, password)).json["message_count"] for i in range(n): self.send(user, password1) self.send(user, password2) self.assertEquals(message_count(user, password1), n) self.assertEquals(message_count(user, password2), n) one_message = self.get("/messages/", headers=auth(user, password1)).json["message_list"][0] self.delete("/messages/{}".format(one_message["_id"]), headers=auth(user, password1)) self.assertEquals( self.delete("/messages/{}".format(one_message["_id"]), headers=auth(user, password1), raise_errors=False).status_code, 404 ) self.assertEquals(message_count(user, password1), n - 1) self.delete("/messages/", headers=auth(user, password1)) self.assertEquals(message_count(user, password1), 0) n_new = 2 new_subject = "new subject" for i in range(n_new): self.send(user, password2, subject=new_subject) self.assertEquals(message_count(user, password2), n + n_new) self.delete("/messages/", headers=auth(user, password2), params={"subject": new_subject}) self.assertEquals(message_count(user, password2), n) def test_read_flag(self): n_read = 5 n_unread = 3 subject_read = "read emails" subject_unread = "unread emails" for i in range(n_read): self.send(subject=subject_read) for i in range(n_unread): self.send(subject=subject_unread) self.assertEquals(self.get("/messages/", {"subject": subject_read}).json["message_count"], n_read) self.assertEquals(self.get("/messages/", {"read": False}).json["message_count"], n_unread) self.assertEquals(self.get("/messages/", {"read": False}).json["message_count"], 0) self.assertEquals(self.get("/messages/").json["message_count"], n_unread + n_read) def test_get_inboxes(self): inboxes = ["first", "second", "third"] for inbox in inboxes: self.send(inbox) self.send("another_inbox", "another_password") retreived = self.get("/inboxes/", headers=auth(None, self.password)).json["inbox_list"] self.assertEquals(sorted(retreived), sorted(inboxes)) self.assertEquals(self.get("/inboxes/", headers=auth(None, "unknown")).json["inbox_count"], 0) def test_binary_attach(self): binary_data = b"%PDF\x93" smtp_send_email( "test@example.com", "Binary test", "Test <asdf@exmapl.com>", "Text body да", user=self.inbox, password=self.password, port=self.port, attachments=[("filename.pd", binary_data)] ) msg = self.get("/messages/").json["message_list"][0] self.assertEquals(self.get("/messages/{}/attachments/{}".format(msg["_id"], 1), parse_json=False).data, binary_data) def test_html_alternative_and_attach(self): binary_data = b"%PDF\x93" html_body = "<html><body><h1>hello</h1></body></html>" text_body = "Text body да" smtp_send_email( "test@example.com", "Binary test", "Test <asdf@exmapl.com>", text_body, user=self.inbox, password=self.password, port=self.port, attachments=[("filename.pd", binary_data)], html_body=html_body ) msg = self.get("/messages/").json["message_list"][0] self.assertEqual(len(msg["parts"]), 3) self.assertEqual(msg["parts"][0]["body"], text_body) self.assertEqual(msg["parts"][1]["body"], html_body) self.assertIsNone(msg["parts"][2]["body"]) self.assertEquals(self.get("/messages/{}/attachments/{}".format(msg["_id"], 2), parse_json=False).data, binary_data) def test_get_single_message(self): self.send() msg = self.get("/messages/").json["message_list"][0] msg2 = self.get("/messages/{0}".format(msg["_id"])).json["message_info"] msg.pop("read") msg2.pop("read") self.assertEquals(msg2, msg) def test_not_found(self): self.send() wrong_id = "56337fb2b2c79a71698baaaa" with self.assertRaises(InvalidStatus) as e: self.get("/messages/" + wrong_id) self.assertEquals(e.exception.response.status_code, 404) msg = self.get("/messages/").json["message_list"][0] for part in 0, 1, 2: with self.assertRaises(InvalidStatus): self.get("/messages/{0}/attachments/{1}".format(msg["_id"], part)) self.assertEquals(e.exception.response.status_code, 404) with self.assertRaises(InvalidStatus) as e: self.get("/messages/{0}/attachments/1".format(wrong_id)) self.assertEquals(e.exception.response.status_code, 404) def test_wrong_smtp_credentials(self): with self.assertRaises(SendEmailError) as e: self.send(user="\0\0") self.assertEquals(e.exception.args[0].smtp_code, 535) with self.assertRaises(SendEmailError) as e: smtp_send_email("to@example.com", "no credentials", "from@example.com", "body", port=self.port) self.assertEquals(e.exception.args[0].smtp_code, 530) def test_send_plain_message(self): text_body = "Text body" to = "asdf@exmapl.com" sender = "test@example.com" send_email_plain( sender, to, text_body.encode("utf-8"), user=self.inbox, password=self.password, port=self.port, ) msg = self.get("/messages/").json["message_list"][0] self.assertEqual(msg["message_raw"], text_body) self.assertEqual(msg["recipients_raw"], to) self.assertEqual(msg["sender_raw"], sender) def auth(user, password): return {"X-Mail-Inbox": user, "X-Mail-Password": password}
unknown
codeparrot/codeparrot-clean
import os, sys import freesound as fs import json # obtain the API key from freesound.org and add it here Key = "????????????" descriptors = [ 'lowlevel.spectral_centroid.mean', 'lowlevel.spectral_centroid.var', 'lowlevel.mfcc.mean', 'lowlevel.mfcc.var', 'lowlevel.pitch_salience.mean', 'lowlevel.pitch_salience.var', 'sfx.logattacktime.mean'] stats = ['mean', 'var'] def downloadSoundsFreesound(queryText = "", API_Key = "", outputDir = "", topNResults = 5, tag=None, duration=None, featureExt = '.json'): """ This function downloads sounds and their descriptors from freesound based on the queryText and the tag specified in the input. Additionally to filter the sounds based on the duration you can also specify the duration range. Inputs: queryText (string): query text for the sounds (eg. "violin", "trumpet", "bass", "Carnatic" etc.) tag* (string): tag to be used while searching for sounds. (eg. "multisample" etc.) duration* (tuple): min and the max duration (seconds) of the sound to filter (eg (1,15)) API_Key (string): your api key, which you can obtain from : www.freesound.org/apiv2/apply/ outputDir (string): path to the directory where you want to store the sounds and their descriptors topNResults (integer): number of results/sounds that you want to download output: This function downloads sounds and descriptors and stores them in appropriate folders within outputDir. The name of the directory for each sound is the freesound id of that sound. NOTE: input parameters with * are optional. """ #checking if the compulsory input parameters are provided if queryText == "": print "\n" print "Provide a query text to search for sounds" return -1 if API_Key == "": print "\n" print "You need a valid freesound API key to be able to download sounds." print "Please apply for one here: www.freesound.org/apiv2/apply/" print "\n" return -1 if outputDir == "" or not os.path.exists(outputDir): print "\n" print "Please provide a valid output directory" return -1 #checking authentication stuff fsClnt = fs.FreesoundClient() fsClnt.set_token(API_Key,"token") #creating a filter string which freesound API understands if duration and type(duration) == tuple: flt_dur = " duration:[" + str(duration[0])+ " TO " +str(duration[1]) + "]" else: flt_dur = "" if tag and type(tag) == str: flt_tag = "tag:"+tag else: flt_tag = "" #querying freesund page_size = 20 if not flt_tag + flt_dur == "": qRes = fsClnt.text_search(query=queryText ,filter = flt_tag + flt_dur,sort="rating_desc",fields="id,name,previews,username,url,analysis", descriptors=','.join(descriptors), page_size=page_size, normalized=1) else: qRes = fsClnt.text_search(query=queryText ,sort="rating_desc",fields="id,name,previews,username,url,analysis", descriptors=','.join(descriptors), page_size=page_size, normalized=1) outDir2 = os.path.join(outputDir, queryText) if os.path.exists(outDir2): os.system("rm -r " + outDir2) os.mkdir(outDir2) pageNo = 1 sndCnt = 0 indCnt = 0 totalSnds = qRes.count #creating directories to store output and downloading sounds and their descriptors while(1): sound = qRes[indCnt - ((pageNo-1)*page_size)] outDir1 = os.path.join(outputDir, queryText, str(sound.id)) if os.path.exists(outDir1): os.system("rm -r " + outDir1) os.system("mkdir " + outDir1) mp3Path = os.path.join(outDir1, str(sound.previews.preview_lq_mp3.split("/")[-1])) ftrPath = mp3Path.replace('.mp3', featureExt) try: fs.FSRequest.retrieve(sound.previews.preview_lq_mp3, fsClnt, mp3Path) #initialize dictionary to store features/descriptors features = {} #obtaining all the features/descriptors for desc in descriptors: features[desc]=[] features[desc].append(eval("sound.analysis."+desc)) #once we have all the descriptors, lets store them in a json file json.dump(features, open(ftrPath,'w')) sndCnt+=1 except: if os.path.exists(outDir1): os.system("rm -r " + outDir1) indCnt +=1 if indCnt%page_size==0: qRes = qRes.next_page() pageNo+=1 if sndCnt>=topNResults or indCnt >= totalSnds: break ###### downloadSoundsFreesound(queryText = 'trumpet', API_Key = Key, tag = 'single-note', duration=(0.5, 4), topNResults = 20, outputDir = 'freesound-sounds') downloadSoundsFreesound(queryText = 'violin', API_Key = Key, tag = 'single-note', duration=(0.5, 4), topNResults = 20, outputDir = 'freesound-sounds') downloadSoundsFreesound(queryText = 'flute', API_Key = Key, tag = 'single-note', duration=(0.5, 4), topNResults = 20, outputDir = 'freesound-sounds')
unknown
codeparrot/codeparrot-clean
"""Gradient Boosted Regression Trees This module contains methods for fitting gradient boosted regression trees for both classification and regression. The module structure is the following: - The ``BaseGradientBoosting`` base class implements a common ``fit`` method for all the estimators in the module. Regression and classification only differ in the concrete ``LossFunction`` used. - ``GradientBoostingClassifier`` implements gradient boosting for classification problems. - ``GradientBoostingRegressor`` implements gradient boosting for regression problems. """ # Authors: Peter Prettenhofer, Scott White, Gilles Louppe, Emanuele Olivetti, # Arnaud Joly # License: BSD 3 clause from __future__ import print_function from __future__ import division from abc import ABCMeta, abstractmethod from time import time import numbers import numpy as np from scipy import stats from .base import BaseEnsemble from ..base import BaseEstimator from ..base import ClassifierMixin from ..base import RegressorMixin from ..utils import check_random_state, check_array, check_X_y, column_or_1d from ..utils import check_consistent_length from ..utils.extmath import logsumexp from ..utils.fixes import expit from ..utils.stats import _weighted_percentile from ..utils.validation import check_is_fitted, NotFittedError from ..externals import six from ..feature_selection.from_model import _LearntSelectorMixin from ..tree.tree import DecisionTreeRegressor from ..tree._tree import DTYPE, TREE_LEAF from ..tree._tree import PresortBestSplitter from ..tree._tree import FriedmanMSE from ._gradient_boosting import predict_stages from ._gradient_boosting import predict_stage from ._gradient_boosting import _random_sample_mask class QuantileEstimator(BaseEstimator): """An estimator predicting the alpha-quantile of the training targets.""" def __init__(self, alpha=0.9): if not 0 < alpha < 1.0: raise ValueError("`alpha` must be in (0, 1.0) but was %r" % alpha) self.alpha = alpha def fit(self, X, y, sample_weight=None): if sample_weight is None: self.quantile = stats.scoreatpercentile(y, self.alpha * 100.0) else: self.quantile = _weighted_percentile(y, sample_weight, self.alpha * 100.0) def predict(self, X): check_is_fitted(self, 'quantile') y = np.empty((X.shape[0], 1), dtype=np.float64) y.fill(self.quantile) return y class MeanEstimator(BaseEstimator): """An estimator predicting the mean of the training targets.""" def fit(self, X, y, sample_weight=None): if sample_weight is None: self.mean = np.mean(y) else: self.mean = np.average(y, weights=sample_weight) def predict(self, X): check_is_fitted(self, 'mean') y = np.empty((X.shape[0], 1), dtype=np.float64) y.fill(self.mean) return y class LogOddsEstimator(BaseEstimator): """An estimator predicting the log odds ratio.""" scale = 1.0 def fit(self, X, y, sample_weight=None): # pre-cond: pos, neg are encoded as 1, 0 if sample_weight is None: pos = np.sum(y) neg = y.shape[0] - pos else: pos = np.sum(sample_weight * y) neg = np.sum(sample_weight * (1 - y)) if neg == 0 or pos == 0: raise ValueError('y contains non binary labels.') self.prior = self.scale * np.log(pos / neg) def predict(self, X): check_is_fitted(self, 'prior') y = np.empty((X.shape[0], 1), dtype=np.float64) y.fill(self.prior) return y class ScaledLogOddsEstimator(LogOddsEstimator): """Log odds ratio scaled by 0.5 -- for exponential loss. """ scale = 0.5 class PriorProbabilityEstimator(BaseEstimator): """An estimator predicting the probability of each class in the training data. """ def fit(self, X, y, sample_weight=None): if sample_weight is None: sample_weight = np.ones_like(y, dtype=np.float) class_counts = np.bincount(y, weights=sample_weight) self.priors = class_counts / class_counts.sum() def predict(self, X): check_is_fitted(self, 'priors') y = np.empty((X.shape[0], self.priors.shape[0]), dtype=np.float64) y[:] = self.priors return y class ZeroEstimator(BaseEstimator): """An estimator that simply predicts zero. """ def fit(self, X, y, sample_weight=None): if np.issubdtype(y.dtype, int): # classification self.n_classes = np.unique(y).shape[0] if self.n_classes == 2: self.n_classes = 1 else: # regression self.n_classes = 1 def predict(self, X): check_is_fitted(self, 'n_classes') y = np.empty((X.shape[0], self.n_classes), dtype=np.float64) y.fill(0.0) return y class LossFunction(six.with_metaclass(ABCMeta, object)): """Abstract base class for various loss functions. Attributes ---------- K : int The number of regression trees to be induced; 1 for regression and binary classification; ``n_classes`` for multi-class classification. """ is_multi_class = False def __init__(self, n_classes): self.K = n_classes def init_estimator(self): """Default ``init`` estimator for loss function. """ raise NotImplementedError() @abstractmethod def __call__(self, y, pred, sample_weight=None): """Compute the loss of prediction ``pred`` and ``y``. """ @abstractmethod def negative_gradient(self, y, y_pred, **kargs): """Compute the negative gradient. Parameters --------- y : np.ndarray, shape=(n,) The target labels. y_pred : np.ndarray, shape=(n,): The predictions. """ def update_terminal_regions(self, tree, X, y, residual, y_pred, sample_weight, sample_mask, learning_rate=1.0, k=0): """Update the terminal regions (=leaves) of the given tree and updates the current predictions of the model. Traverses tree and invokes template method `_update_terminal_region`. Parameters ---------- tree : tree.Tree The tree object. X : ndarray, shape=(n, m) The data array. y : ndarray, shape=(n,) The target labels. residual : ndarray, shape=(n,) The residuals (usually the negative gradient). y_pred : ndarray, shape=(n,) The predictions. sample_weight : ndarray, shape=(n,) The weight of each sample. sample_mask : ndarray, shape=(n,) The sample mask to be used. learning_rate : float, default=0.1 learning rate shrinks the contribution of each tree by ``learning_rate``. k : int, default 0 The index of the estimator being updated. """ # compute leaf for each sample in ``X``. terminal_regions = tree.apply(X) # mask all which are not in sample mask. masked_terminal_regions = terminal_regions.copy() masked_terminal_regions[~sample_mask] = -1 # update each leaf (= perform line search) for leaf in np.where(tree.children_left == TREE_LEAF)[0]: self._update_terminal_region(tree, masked_terminal_regions, leaf, X, y, residual, y_pred[:, k], sample_weight) # update predictions (both in-bag and out-of-bag) y_pred[:, k] += (learning_rate * tree.value[:, 0, 0].take(terminal_regions, axis=0)) @abstractmethod def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): """Template method for updating terminal regions (=leaves). """ class RegressionLossFunction(six.with_metaclass(ABCMeta, LossFunction)): """Base class for regression loss functions. """ def __init__(self, n_classes): if n_classes != 1: raise ValueError("``n_classes`` must be 1 for regression but " "was %r" % n_classes) super(RegressionLossFunction, self).__init__(n_classes) class LeastSquaresError(RegressionLossFunction): """Loss function for least squares (LS) estimation. Terminal regions need not to be updated for least squares. """ def init_estimator(self): return MeanEstimator() def __call__(self, y, pred, sample_weight=None): if sample_weight is None: return np.mean((y - pred.ravel()) ** 2.0) else: return (1.0 / sample_weight.sum() * np.sum(sample_weight * ((y - pred.ravel()) ** 2.0))) def negative_gradient(self, y, pred, **kargs): return y - pred.ravel() def update_terminal_regions(self, tree, X, y, residual, y_pred, sample_weight, sample_mask, learning_rate=1.0, k=0): """Least squares does not need to update terminal regions. But it has to update the predictions. """ # update predictions y_pred[:, k] += learning_rate * tree.predict(X).ravel() def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): pass class LeastAbsoluteError(RegressionLossFunction): """Loss function for least absolute deviation (LAD) regression. """ def init_estimator(self): return QuantileEstimator(alpha=0.5) def __call__(self, y, pred, sample_weight=None): if sample_weight is None: return np.abs(y - pred.ravel()).mean() else: return (1.0 / sample_weight.sum() * np.sum(sample_weight * np.abs(y - pred.ravel()))) def negative_gradient(self, y, pred, **kargs): """1.0 if y - pred > 0.0 else -1.0""" pred = pred.ravel() return 2.0 * (y - pred > 0.0) - 1.0 def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): """LAD updates terminal regions to median estimates. """ terminal_region = np.where(terminal_regions == leaf)[0] sample_weight = sample_weight.take(terminal_region, axis=0) diff = y.take(terminal_region, axis=0) - pred.take(terminal_region, axis=0) tree.value[leaf, 0, 0] = _weighted_percentile(diff, sample_weight, percentile=50) class HuberLossFunction(RegressionLossFunction): """Huber loss function for robust regression. M-Regression proposed in Friedman 2001. References ---------- J. Friedman, Greedy Function Approximation: A Gradient Boosting Machine, The Annals of Statistics, Vol. 29, No. 5, 2001. """ def __init__(self, n_classes, alpha=0.9): super(HuberLossFunction, self).__init__(n_classes) self.alpha = alpha self.gamma = None def init_estimator(self): return QuantileEstimator(alpha=0.5) def __call__(self, y, pred, sample_weight=None): pred = pred.ravel() diff = y - pred gamma = self.gamma if gamma is None: if sample_weight is None: gamma = stats.scoreatpercentile(np.abs(diff), self.alpha * 100) else: gamma = _weighted_percentile(np.abs(diff), sample_weight, self.alpha * 100) gamma_mask = np.abs(diff) <= gamma if sample_weight is None: sq_loss = np.sum(0.5 * diff[gamma_mask] ** 2.0) lin_loss = np.sum(gamma * (np.abs(diff[~gamma_mask]) - gamma / 2.0)) loss = (sq_loss + lin_loss) / y.shape[0] else: sq_loss = np.sum(0.5 * sample_weight[gamma_mask] * diff[gamma_mask] ** 2.0) lin_loss = np.sum(gamma * sample_weight[~gamma_mask] * (np.abs(diff[~gamma_mask]) - gamma / 2.0)) loss = (sq_loss + lin_loss) / sample_weight.sum() return loss def negative_gradient(self, y, pred, sample_weight=None, **kargs): pred = pred.ravel() diff = y - pred if sample_weight is None: gamma = stats.scoreatpercentile(np.abs(diff), self.alpha * 100) else: gamma = _weighted_percentile(np.abs(diff), sample_weight, self.alpha * 100) gamma_mask = np.abs(diff) <= gamma residual = np.zeros((y.shape[0],), dtype=np.float64) residual[gamma_mask] = diff[gamma_mask] residual[~gamma_mask] = gamma * np.sign(diff[~gamma_mask]) self.gamma = gamma return residual def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): terminal_region = np.where(terminal_regions == leaf)[0] sample_weight = sample_weight.take(terminal_region, axis=0) gamma = self.gamma diff = (y.take(terminal_region, axis=0) - pred.take(terminal_region, axis=0)) median = _weighted_percentile(diff, sample_weight, percentile=50) diff_minus_median = diff - median tree.value[leaf, 0] = median + np.mean( np.sign(diff_minus_median) * np.minimum(np.abs(diff_minus_median), gamma)) class QuantileLossFunction(RegressionLossFunction): """Loss function for quantile regression. Quantile regression allows to estimate the percentiles of the conditional distribution of the target. """ def __init__(self, n_classes, alpha=0.9): super(QuantileLossFunction, self).__init__(n_classes) assert 0 < alpha < 1.0 self.alpha = alpha self.percentile = alpha * 100.0 def init_estimator(self): return QuantileEstimator(self.alpha) def __call__(self, y, pred, sample_weight=None): pred = pred.ravel() diff = y - pred alpha = self.alpha mask = y > pred if sample_weight is None: loss = (alpha * diff[mask].sum() + (1.0 - alpha) * diff[~mask].sum()) / y.shape[0] else: loss = ((alpha * np.sum(sample_weight[mask] * diff[mask]) + (1.0 - alpha) * np.sum(sample_weight[~mask] * diff[~mask])) / sample_weight.sum()) return loss def negative_gradient(self, y, pred, **kargs): alpha = self.alpha pred = pred.ravel() mask = y > pred return (alpha * mask) - ((1.0 - alpha) * ~mask) def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): terminal_region = np.where(terminal_regions == leaf)[0] diff = (y.take(terminal_region, axis=0) - pred.take(terminal_region, axis=0)) sample_weight = sample_weight.take(terminal_region, axis=0) val = _weighted_percentile(diff, sample_weight, self.percentile) tree.value[leaf, 0] = val class ClassificationLossFunction(six.with_metaclass(ABCMeta, LossFunction)): """Base class for classification loss functions. """ def _score_to_proba(self, score): """Template method to convert scores to probabilities. If the loss does not support probabilites raises AttributeError. """ raise TypeError('%s does not support predict_proba' % type(self).__name__) @abstractmethod def _score_to_decision(self, score): """Template method to convert scores to decisions. Returns int arrays. """ class BinomialDeviance(ClassificationLossFunction): """Binomial deviance loss function for binary classification. Binary classification is a special case; here, we only need to fit one tree instead of ``n_classes`` trees. """ def __init__(self, n_classes): if n_classes != 2: raise ValueError("{0:s} requires 2 classes.".format( self.__class__.__name__)) # we only need to fit one tree for binary clf. super(BinomialDeviance, self).__init__(1) def init_estimator(self): return LogOddsEstimator() def __call__(self, y, pred, sample_weight=None): """Compute the deviance (= 2 * negative log-likelihood). """ # logaddexp(0, v) == log(1.0 + exp(v)) pred = pred.ravel() if sample_weight is None: return -2.0 * np.mean((y * pred) - np.logaddexp(0.0, pred)) else: return (-2.0 / sample_weight.sum() * np.sum(sample_weight * ((y * pred) - np.logaddexp(0.0, pred)))) def negative_gradient(self, y, pred, **kargs): """Compute the residual (= negative gradient). """ return y - expit(pred.ravel()) def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): """Make a single Newton-Raphson step. our node estimate is given by: sum(w * (y - prob)) / sum(w * prob * (1 - prob)) we take advantage that: y - prob = residual """ terminal_region = np.where(terminal_regions == leaf)[0] residual = residual.take(terminal_region, axis=0) y = y.take(terminal_region, axis=0) sample_weight = sample_weight.take(terminal_region, axis=0) numerator = np.sum(sample_weight * residual) denominator = np.sum(sample_weight * (y - residual) * (1 - y + residual)) if denominator == 0.0: tree.value[leaf, 0, 0] = 0.0 else: tree.value[leaf, 0, 0] = numerator / denominator def _score_to_proba(self, score): proba = np.ones((score.shape[0], 2), dtype=np.float64) proba[:, 1] = 1.0 / (1.0 + np.exp(-score.ravel())) proba[:, 0] -= proba[:, 1] return proba def _score_to_decision(self, score): proba = self._score_to_proba(score) return np.argmax(proba, axis=1) class MultinomialDeviance(ClassificationLossFunction): """Multinomial deviance loss function for multi-class classification. For multi-class classification we need to fit ``n_classes`` trees at each stage. """ is_multi_class = True def __init__(self, n_classes): if n_classes < 3: raise ValueError("{0:s} requires more than 2 classes.".format( self.__class__.__name__)) super(MultinomialDeviance, self).__init__(n_classes) def init_estimator(self): return PriorProbabilityEstimator() def __call__(self, y, pred, sample_weight=None): # create one-hot label encoding Y = np.zeros((y.shape[0], self.K), dtype=np.float64) for k in range(self.K): Y[:, k] = y == k if sample_weight is None: return np.sum(-1 * (Y * pred).sum(axis=1) + logsumexp(pred, axis=1)) else: return np.sum(-1 * sample_weight * (Y * pred).sum(axis=1) + logsumexp(pred, axis=1)) def negative_gradient(self, y, pred, k=0, **kwargs): """Compute negative gradient for the ``k``-th class. """ return y - np.nan_to_num(np.exp(pred[:, k] - logsumexp(pred, axis=1))) def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): """Make a single Newton-Raphson step. """ terminal_region = np.where(terminal_regions == leaf)[0] residual = residual.take(terminal_region, axis=0) y = y.take(terminal_region, axis=0) sample_weight = sample_weight.take(terminal_region, axis=0) numerator = np.sum(sample_weight * residual) numerator *= (self.K - 1) / self.K denominator = np.sum(sample_weight * (y - residual) * (1.0 - y + residual)) if denominator == 0.0: tree.value[leaf, 0, 0] = 0.0 else: tree.value[leaf, 0, 0] = numerator / denominator def _score_to_proba(self, score): return np.nan_to_num( np.exp(score - (logsumexp(score, axis=1)[:, np.newaxis]))) def _score_to_decision(self, score): proba = self._score_to_proba(score) return np.argmax(proba, axis=1) class ExponentialLoss(ClassificationLossFunction): """Exponential loss function for binary classification. Same loss as AdaBoost. References ---------- Greg Ridgeway, Generalized Boosted Models: A guide to the gbm package, 2007 """ def __init__(self, n_classes): if n_classes != 2: raise ValueError("{0:s} requires 2 classes.".format( self.__class__.__name__)) # we only need to fit one tree for binary clf. super(ExponentialLoss, self).__init__(1) def init_estimator(self): return ScaledLogOddsEstimator() def __call__(self, y, pred, sample_weight=None): pred = pred.ravel() if sample_weight is None: return np.mean(np.exp(-(2. * y - 1.) * pred)) else: return (1.0 / sample_weight.sum() * np.sum(sample_weight * np.exp(-(2 * y - 1) * pred))) def negative_gradient(self, y, pred, **kargs): y_ = -(2. * y - 1.) return y_ * np.exp(y_ * pred.ravel()) def _update_terminal_region(self, tree, terminal_regions, leaf, X, y, residual, pred, sample_weight): terminal_region = np.where(terminal_regions == leaf)[0] pred = pred.take(terminal_region, axis=0) y = y.take(terminal_region, axis=0) sample_weight = sample_weight.take(terminal_region, axis=0) y_ = 2. * y - 1. numerator = np.sum(y_ * sample_weight * np.exp(-y_ * pred)) denominator = np.sum(sample_weight * np.exp(-y_ * pred)) if denominator == 0.0: tree.value[leaf, 0, 0] = 0.0 else: tree.value[leaf, 0, 0] = numerator / denominator def _score_to_proba(self, score): proba = np.ones((score.shape[0], 2), dtype=np.float64) proba[:, 1] = 1.0 / (1.0 + np.exp(-2.0 * score.ravel())) proba[:, 0] -= proba[:, 1] return proba def _score_to_decision(self, score): return (score.ravel() >= 0.0).astype(np.int) LOSS_FUNCTIONS = {'ls': LeastSquaresError, 'lad': LeastAbsoluteError, 'huber': HuberLossFunction, 'quantile': QuantileLossFunction, 'deviance': None, # for both, multinomial and binomial 'exponential': ExponentialLoss, } INIT_ESTIMATORS = {'zero': ZeroEstimator} class VerboseReporter(object): """Reports verbose output to stdout. If ``verbose==1`` output is printed once in a while (when iteration mod verbose_mod is zero).; if larger than 1 then output is printed for each update. """ def __init__(self, verbose): self.verbose = verbose def init(self, est, begin_at_stage=0): # header fields and line format str header_fields = ['Iter', 'Train Loss'] verbose_fmt = ['{iter:>10d}', '{train_score:>16.4f}'] # do oob? if est.subsample < 1: header_fields.append('OOB Improve') verbose_fmt.append('{oob_impr:>16.4f}') header_fields.append('Remaining Time') verbose_fmt.append('{remaining_time:>16s}') # print the header line print(('%10s ' + '%16s ' * (len(header_fields) - 1)) % tuple(header_fields)) self.verbose_fmt = ' '.join(verbose_fmt) # plot verbose info each time i % verbose_mod == 0 self.verbose_mod = 1 self.start_time = time() self.begin_at_stage = begin_at_stage def update(self, j, est): """Update reporter with new iteration. """ do_oob = est.subsample < 1 # we need to take into account if we fit additional estimators. i = j - self.begin_at_stage # iteration relative to the start iter if (i + 1) % self.verbose_mod == 0: oob_impr = est.oob_improvement_[j] if do_oob else 0 remaining_time = ((est.n_estimators - (j + 1)) * (time() - self.start_time) / float(i + 1)) if remaining_time > 60: remaining_time = '{0:.2f}m'.format(remaining_time / 60.0) else: remaining_time = '{0:.2f}s'.format(remaining_time) print(self.verbose_fmt.format(iter=j + 1, train_score=est.train_score_[j], oob_impr=oob_impr, remaining_time=remaining_time)) if self.verbose == 1 and ((i + 1) // (self.verbose_mod * 10) > 0): # adjust verbose frequency (powers of 10) self.verbose_mod *= 10 class BaseGradientBoosting(six.with_metaclass(ABCMeta, BaseEnsemble, _LearntSelectorMixin)): """Abstract base class for Gradient Boosting. """ @abstractmethod def __init__(self, loss, learning_rate, n_estimators, min_samples_split, min_samples_leaf, min_weight_fraction_leaf, max_depth, init, subsample, max_features, random_state, alpha=0.9, verbose=0, max_leaf_nodes=None, warm_start=False): self.n_estimators = n_estimators self.learning_rate = learning_rate self.loss = loss self.min_samples_split = min_samples_split self.min_samples_leaf = min_samples_leaf self.min_weight_fraction_leaf = min_weight_fraction_leaf self.subsample = subsample self.max_features = max_features self.max_depth = max_depth self.init = init self.random_state = random_state self.alpha = alpha self.verbose = verbose self.max_leaf_nodes = max_leaf_nodes self.warm_start = warm_start self.estimators_ = np.empty((0, 0), dtype=np.object) def _fit_stage(self, i, X, y, y_pred, sample_weight, sample_mask, criterion, splitter, random_state): """Fit another stage of ``n_classes_`` trees to the boosting model. """ assert sample_mask.dtype == np.bool loss = self.loss_ original_y = y for k in range(loss.K): if loss.is_multi_class: y = np.array(original_y == k, dtype=np.float64) residual = loss.negative_gradient(y, y_pred, k=k, sample_weight=sample_weight) # induce regression tree on residuals tree = DecisionTreeRegressor( criterion=criterion, splitter=splitter, max_depth=self.max_depth, min_samples_split=self.min_samples_split, min_samples_leaf=self.min_samples_leaf, min_weight_fraction_leaf=self.min_weight_fraction_leaf, max_features=self.max_features, max_leaf_nodes=self.max_leaf_nodes, random_state=random_state) if self.subsample < 1.0: # no inplace multiplication! sample_weight = sample_weight * sample_mask.astype(np.float64) tree.fit(X, residual, sample_weight=sample_weight, check_input=False) # update tree leaves loss.update_terminal_regions(tree.tree_, X, y, residual, y_pred, sample_weight, sample_mask, self.learning_rate, k=k) # add tree to ensemble self.estimators_[i, k] = tree return y_pred def _check_params(self): """Check validity of parameters and raise ValueError if not valid. """ if self.n_estimators <= 0: raise ValueError("n_estimators must be greater than 0 but " "was %r" % self.n_estimators) if self.learning_rate <= 0.0: raise ValueError("learning_rate must be greater than 0 but " "was %r" % self.learning_rate) if (self.loss not in self._SUPPORTED_LOSS or self.loss not in LOSS_FUNCTIONS): raise ValueError("Loss '{0:s}' not supported. ".format(self.loss)) if self.loss == 'deviance': loss_class = (MultinomialDeviance if len(self.classes_) > 2 else BinomialDeviance) else: loss_class = LOSS_FUNCTIONS[self.loss] if self.loss in ('huber', 'quantile'): self.loss_ = loss_class(self.n_classes_, self.alpha) else: self.loss_ = loss_class(self.n_classes_) if not (0.0 < self.subsample <= 1.0): raise ValueError("subsample must be in (0,1] but " "was %r" % self.subsample) if self.init is not None: if isinstance(self.init, six.string_types): if self.init not in INIT_ESTIMATORS: raise ValueError('init="%s" is not supported' % self.init) else: if (not hasattr(self.init, 'fit') or not hasattr(self.init, 'predict')): raise ValueError("init=%r must be valid BaseEstimator " "and support both fit and " "predict" % self.init) if not (0.0 < self.alpha < 1.0): raise ValueError("alpha must be in (0.0, 1.0) but " "was %r" % self.alpha) if isinstance(self.max_features, six.string_types): if self.max_features == "auto": # if is_classification if self.n_classes_ > 1: max_features = max(1, int(np.sqrt(self.n_features))) else: # is regression max_features = self.n_features elif self.max_features == "sqrt": max_features = max(1, int(np.sqrt(self.n_features))) elif self.max_features == "log2": max_features = max(1, int(np.log2(self.n_features))) else: raise ValueError("Invalid value for max_features: %r. " "Allowed string values are 'auto', 'sqrt' " "or 'log2'." % self.max_features) elif self.max_features is None: max_features = self.n_features elif isinstance(self.max_features, (numbers.Integral, np.integer)): max_features = self.max_features else: # float max_features = int(self.max_features * self.n_features) self.max_features_ = max_features def _init_state(self): """Initialize model state and allocate model state data structures. """ if self.init is None: self.init_ = self.loss_.init_estimator() elif isinstance(self.init, six.string_types): self.init_ = INIT_ESTIMATORS[self.init]() else: self.init_ = self.init self.estimators_ = np.empty((self.n_estimators, self.loss_.K), dtype=np.object) self.train_score_ = np.zeros((self.n_estimators,), dtype=np.float64) # do oob? if self.subsample < 1.0: self.oob_improvement_ = np.zeros((self.n_estimators), dtype=np.float64) def _clear_state(self): """Clear the state of the gradient boosting model. """ if hasattr(self, 'estimators_'): self.estimators_ = np.empty((0, 0), dtype=np.object) if hasattr(self, 'train_score_'): del self.train_score_ if hasattr(self, 'oob_improvement_'): del self.oob_improvement_ if hasattr(self, 'init_'): del self.init_ def _resize_state(self): """Add additional ``n_estimators`` entries to all attributes. """ # self.n_estimators is the number of additional est to fit total_n_estimators = self.n_estimators if total_n_estimators < self.estimators_.shape[0]: raise ValueError('resize with smaller n_estimators %d < %d' % (total_n_estimators, self.estimators_[0])) self.estimators_.resize((total_n_estimators, self.loss_.K)) self.train_score_.resize(total_n_estimators) if (self.subsample < 1 or hasattr(self, 'oob_improvement_')): # if do oob resize arrays or create new if not available if hasattr(self, 'oob_improvement_'): self.oob_improvement_.resize(total_n_estimators) else: self.oob_improvement_ = np.zeros((total_n_estimators,), dtype=np.float64) def _is_initialized(self): return len(getattr(self, 'estimators_', [])) > 0 def fit(self, X, y, sample_weight=None, monitor=None): """Fit the gradient boosting model. Parameters ---------- X : array-like, shape = [n_samples, n_features] Training vectors, where n_samples is the number of samples and n_features is the number of features. y : array-like, shape = [n_samples] Target values (integers in classification, real numbers in regression) For classification, labels must correspond to classes. sample_weight : array-like, shape = [n_samples] or None Sample weights. If None, then samples are equally weighted. Splits that would create child nodes with net zero or negative weight are ignored while searching for a split in each node. In the case of classification, splits are also ignored if they would result in any single class carrying a negative weight in either child node. monitor : callable, optional The monitor is called after each iteration with the current iteration, a reference to the estimator and the local variables of ``_fit_stages`` as keyword arguments ``callable(i, self, locals())``. If the callable returns ``True`` the fitting procedure is stopped. The monitor can be used for various things such as computing held-out estimates, early stopping, model introspect, and snapshoting. Returns ------- self : object Returns self. """ # if not warmstart - clear the estimator state if not self.warm_start: self._clear_state() # Check input X, y = check_X_y(X, y, dtype=DTYPE) n_samples, self.n_features = X.shape if sample_weight is None: sample_weight = np.ones(n_samples, dtype=np.float32) else: sample_weight = column_or_1d(sample_weight, warn=True) check_consistent_length(X, y, sample_weight) y = self._validate_y(y) random_state = check_random_state(self.random_state) self._check_params() if not self._is_initialized(): # init state self._init_state() # fit initial model - FIXME make sample_weight optional self.init_.fit(X, y, sample_weight) # init predictions y_pred = self.init_.predict(X) begin_at_stage = 0 else: # add more estimators to fitted model # invariant: warm_start = True if self.n_estimators < self.estimators_.shape[0]: raise ValueError('n_estimators=%d must be larger or equal to ' 'estimators_.shape[0]=%d when ' 'warm_start==True' % (self.n_estimators, self.estimators_.shape[0])) begin_at_stage = self.estimators_.shape[0] y_pred = self._decision_function(X) self._resize_state() # fit the boosting stages n_stages = self._fit_stages(X, y, y_pred, sample_weight, random_state, begin_at_stage, monitor) # change shape of arrays after fit (early-stopping or additional ests) if n_stages != self.estimators_.shape[0]: self.estimators_ = self.estimators_[:n_stages] self.train_score_ = self.train_score_[:n_stages] if hasattr(self, 'oob_improvement_'): self.oob_improvement_ = self.oob_improvement_[:n_stages] return self def _fit_stages(self, X, y, y_pred, sample_weight, random_state, begin_at_stage=0, monitor=None): """Iteratively fits the stages. For each stage it computes the progress (OOB, train score) and delegates to ``_fit_stage``. Returns the number of stages fit; might differ from ``n_estimators`` due to early stopping. """ n_samples = X.shape[0] do_oob = self.subsample < 1.0 sample_mask = np.ones((n_samples, ), dtype=np.bool) n_inbag = max(1, int(self.subsample * n_samples)) loss_ = self.loss_ # init criterion and splitter criterion = FriedmanMSE(1) splitter = PresortBestSplitter(criterion, self.max_features_, self.min_samples_leaf, self.min_weight_fraction_leaf, random_state) if self.verbose: verbose_reporter = VerboseReporter(self.verbose) verbose_reporter.init(self, begin_at_stage) # perform boosting iterations i = begin_at_stage for i in range(begin_at_stage, self.n_estimators): # subsampling if do_oob: sample_mask = _random_sample_mask(n_samples, n_inbag, random_state) # OOB score before adding this stage old_oob_score = loss_(y[~sample_mask], y_pred[~sample_mask], sample_weight[~sample_mask]) # fit next stage of trees y_pred = self._fit_stage(i, X, y, y_pred, sample_weight, sample_mask, criterion, splitter, random_state) # track deviance (= loss) if do_oob: self.train_score_[i] = loss_(y[sample_mask], y_pred[sample_mask], sample_weight[sample_mask]) self.oob_improvement_[i] = (old_oob_score - loss_(y[~sample_mask], y_pred[~sample_mask], sample_weight[~sample_mask])) else: # no need to fancy index w/ no subsampling self.train_score_[i] = loss_(y, y_pred, sample_weight) if self.verbose > 0: verbose_reporter.update(i, self) if monitor is not None: early_stopping = monitor(i, self, locals()) if early_stopping: break return i + 1 def _make_estimator(self, append=True): # we don't need _make_estimator raise NotImplementedError() def _init_decision_function(self, X): """Check input and compute prediction of ``init``. """ if self.estimators_ is None or len(self.estimators_) == 0: raise NotFittedError("Estimator not fitted, call `fit`" " before making predictions`.") if X.shape[1] != self.n_features: raise ValueError("X.shape[1] should be {0:d}, not {1:d}.".format( self.n_features, X.shape[1])) score = self.init_.predict(X).astype(np.float64) return score def _decision_function(self, X): # for use in inner loop, not raveling the output in single-class case, # not doing input validation. score = self._init_decision_function(X) predict_stages(self.estimators_, X, self.learning_rate, score) return score def decision_function(self, X): """Compute the decision function of ``X``. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- score : array, shape = [n_samples, n_classes] or [n_samples] The decision function of the input samples. The order of the classes corresponds to that in the attribute `classes_`. Regression and binary classification produce an array of shape [n_samples]. """ X = check_array(X, dtype=DTYPE, order="C") score = self._decision_function(X) if score.shape[1] == 1: return score.ravel() return score def staged_decision_function(self, X): """Compute decision function of ``X`` for each iteration. This method allows monitoring (i.e. determine error on testing set) after each stage. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- score : generator of array, shape = [n_samples, k] The decision function of the input samples. The order of the classes corresponds to that in the attribute `classes_`. Regression and binary classification are special cases with ``k == 1``, otherwise ``k==n_classes``. """ X = check_array(X, dtype=DTYPE, order="C") score = self._init_decision_function(X) for i in range(self.estimators_.shape[0]): predict_stage(self.estimators_, i, X, self.learning_rate, score) yield score @property def feature_importances_(self): """Return the feature importances (the higher, the more important the feature). Returns ------- feature_importances_ : array, shape = [n_features] """ if self.estimators_ is None or len(self.estimators_) == 0: raise NotFittedError("Estimator not fitted, call `fit` before" " `feature_importances_`.") total_sum = np.zeros((self.n_features, ), dtype=np.float64) for stage in self.estimators_: stage_sum = sum(tree.feature_importances_ for tree in stage) / len(stage) total_sum += stage_sum importances = total_sum / len(self.estimators_) return importances def _validate_y(self, y): self.n_classes_ = 1 # Default implementation return y class GradientBoostingClassifier(BaseGradientBoosting, ClassifierMixin): """Gradient Boosting for classification. GB builds an additive model in a forward stage-wise fashion; it allows for the optimization of arbitrary differentiable loss functions. In each stage ``n_classes_`` regression trees are fit on the negative gradient of the binomial or multinomial deviance loss function. Binary classification is a special case where only a single regression tree is induced. Parameters ---------- loss : {'deviance', 'exponential'}, optional (default='deviance') loss function to be optimized. 'deviance' refers to deviance (= logistic regression) for classification with probabilistic outputs. For loss 'exponential' gradient boosting recovers the AdaBoost algorithm. learning_rate : float, optional (default=0.1) learning rate shrinks the contribution of each tree by `learning_rate`. There is a trade-off between learning_rate and n_estimators. n_estimators : int (default=100) The number of boosting stages to perform. Gradient boosting is fairly robust to over-fitting so a large number usually results in better performance. max_depth : integer, optional (default=3) maximum depth of the individual regression estimators. The maximum depth limits the number of nodes in the tree. Tune this parameter for best performance; the best value depends on the interaction of the input variables. Ignored if ``max_leaf_nodes`` is not None. min_samples_split : integer, optional (default=2) The minimum number of samples required to split an internal node. min_samples_leaf : integer, optional (default=1) The minimum number of samples required to be at a leaf node. min_weight_fraction_leaf : float, optional (default=0.) The minimum weighted fraction of the input samples required to be at a leaf node. subsample : float, optional (default=1.0) The fraction of samples to be used for fitting the individual base learners. If smaller than 1.0 this results in Stochastic Gradient Boosting. `subsample` interacts with the parameter `n_estimators`. Choosing `subsample < 1.0` leads to a reduction of variance and an increase in bias. max_features : int, float, string or None, optional (default=None) The number of features to consider when looking for the best split: - If int, then consider `max_features` features at each split. - If float, then `max_features` is a percentage and `int(max_features * n_features)` features are considered at each split. - If "auto", then `max_features=sqrt(n_features)`. - If "sqrt", then `max_features=sqrt(n_features)`. - If "log2", then `max_features=log2(n_features)`. - If None, then `max_features=n_features`. Choosing `max_features < n_features` leads to a reduction of variance and an increase in bias. Note: the search for a split does not stop until at least one valid partition of the node samples is found, even if it requires to effectively inspect more than ``max_features`` features. max_leaf_nodes : int or None, optional (default=None) Grow trees with ``max_leaf_nodes`` in best-first fashion. Best nodes are defined as relative reduction in impurity. If None then unlimited number of leaf nodes. If not None then ``max_depth`` will be ignored. init : BaseEstimator, None, optional (default=None) An estimator object that is used to compute the initial predictions. ``init`` has to provide ``fit`` and ``predict``. If None it uses ``loss.init_estimator``. verbose : int, default: 0 Enable verbose output. If 1 then it prints progress and performance once in a while (the more trees the lower the frequency). If greater than 1 then it prints progress and performance for every tree. warm_start : bool, default: False When set to ``True``, reuse the solution of the previous call to fit and add more estimators to the ensemble, otherwise, just erase the previous solution. Attributes ---------- feature_importances_ : array, shape = [n_features] The feature importances (the higher, the more important the feature). oob_improvement_ : array, shape = [n_estimators] The improvement in loss (= deviance) on the out-of-bag samples relative to the previous iteration. ``oob_improvement_[0]`` is the improvement in loss of the first stage over the ``init`` estimator. train_score_ : array, shape = [n_estimators] The i-th score ``train_score_[i]`` is the deviance (= loss) of the model at iteration ``i`` on the in-bag sample. If ``subsample == 1`` this is the deviance on the training data. loss_ : LossFunction The concrete ``LossFunction`` object. `init` : BaseEstimator The estimator that provides the initial predictions. Set via the ``init`` argument or ``loss.init_estimator``. estimators_ : list of DecisionTreeRegressor The collection of fitted sub-estimators. See also -------- sklearn.tree.DecisionTreeClassifier, RandomForestClassifier AdaBoostClassifier References ---------- J. Friedman, Greedy Function Approximation: A Gradient Boosting Machine, The Annals of Statistics, Vol. 29, No. 5, 2001. J. Friedman, Stochastic Gradient Boosting, 1999 T. Hastie, R. Tibshirani and J. Friedman. Elements of Statistical Learning Ed. 2, Springer, 2009. """ _SUPPORTED_LOSS = ('deviance', 'exponential') def __init__(self, loss='deviance', learning_rate=0.1, n_estimators=100, subsample=1.0, min_samples_split=2, min_samples_leaf=1, min_weight_fraction_leaf=0., max_depth=3, init=None, random_state=None, max_features=None, verbose=0, max_leaf_nodes=None, warm_start=False): super(GradientBoostingClassifier, self).__init__( loss=loss, learning_rate=learning_rate, n_estimators=n_estimators, min_samples_split=min_samples_split, min_samples_leaf=min_samples_leaf, min_weight_fraction_leaf=min_weight_fraction_leaf, max_depth=max_depth, init=init, subsample=subsample, max_features=max_features, random_state=random_state, verbose=verbose, max_leaf_nodes=max_leaf_nodes, warm_start=warm_start) def _validate_y(self, y): self.classes_, y = np.unique(y, return_inverse=True) self.n_classes_ = len(self.classes_) return y def predict(self, X): """Predict class for X. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y: array of shape = ["n_samples] The predicted values. """ score = self.decision_function(X) decisions = self.loss_._score_to_decision(score) return self.classes_.take(decisions, axis=0) def staged_predict(self, X): """Predict class at each stage for X. This method allows monitoring (i.e. determine error on testing set) after each stage. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y : generator of array of shape = [n_samples] The predicted value of the input samples. """ for score in self.staged_decision_function(X): decisions = self.loss_._score_to_decision(score) yield self.classes_.take(decisions, axis=0) def predict_proba(self, X): """Predict class probabilities for X. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Raises ------ AttributeError If the ``loss`` does not support probabilities. Returns ------- p : array of shape = [n_samples] The class probabilities of the input samples. The order of the classes corresponds to that in the attribute `classes_`. """ score = self.decision_function(X) try: return self.loss_._score_to_proba(score) except NotFittedError: raise except AttributeError: raise AttributeError('loss=%r does not support predict_proba' % self.loss) def staged_predict_proba(self, X): """Predict class probabilities at each stage for X. This method allows monitoring (i.e. determine error on testing set) after each stage. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y : generator of array of shape = [n_samples] The predicted value of the input samples. """ try: for score in self.staged_decision_function(X): yield self.loss_._score_to_proba(score) except NotFittedError: raise except AttributeError: raise AttributeError('loss=%r does not support predict_proba' % self.loss) class GradientBoostingRegressor(BaseGradientBoosting, RegressorMixin): """Gradient Boosting for regression. GB builds an additive model in a forward stage-wise fashion; it allows for the optimization of arbitrary differentiable loss functions. In each stage a regression tree is fit on the negative gradient of the given loss function. Parameters ---------- loss : {'ls', 'lad', 'huber', 'quantile'}, optional (default='ls') loss function to be optimized. 'ls' refers to least squares regression. 'lad' (least absolute deviation) is a highly robust loss function solely based on order information of the input variables. 'huber' is a combination of the two. 'quantile' allows quantile regression (use `alpha` to specify the quantile). learning_rate : float, optional (default=0.1) learning rate shrinks the contribution of each tree by `learning_rate`. There is a trade-off between learning_rate and n_estimators. n_estimators : int (default=100) The number of boosting stages to perform. Gradient boosting is fairly robust to over-fitting so a large number usually results in better performance. max_depth : integer, optional (default=3) maximum depth of the individual regression estimators. The maximum depth limits the number of nodes in the tree. Tune this parameter for best performance; the best value depends on the interaction of the input variables. Ignored if ``max_leaf_nodes`` is not None. min_samples_split : integer, optional (default=2) The minimum number of samples required to split an internal node. min_samples_leaf : integer, optional (default=1) The minimum number of samples required to be at a leaf node. min_weight_fraction_leaf : float, optional (default=0.) The minimum weighted fraction of the input samples required to be at a leaf node. subsample : float, optional (default=1.0) The fraction of samples to be used for fitting the individual base learners. If smaller than 1.0 this results in Stochastic Gradient Boosting. `subsample` interacts with the parameter `n_estimators`. Choosing `subsample < 1.0` leads to a reduction of variance and an increase in bias. max_features : int, float, string or None, optional (default=None) The number of features to consider when looking for the best split: - If int, then consider `max_features` features at each split. - If float, then `max_features` is a percentage and `int(max_features * n_features)` features are considered at each split. - If "auto", then `max_features=n_features`. - If "sqrt", then `max_features=sqrt(n_features)`. - If "log2", then `max_features=log2(n_features)`. - If None, then `max_features=n_features`. Choosing `max_features < n_features` leads to a reduction of variance and an increase in bias. Note: the search for a split does not stop until at least one valid partition of the node samples is found, even if it requires to effectively inspect more than ``max_features`` features. max_leaf_nodes : int or None, optional (default=None) Grow trees with ``max_leaf_nodes`` in best-first fashion. Best nodes are defined as relative reduction in impurity. If None then unlimited number of leaf nodes. alpha : float (default=0.9) The alpha-quantile of the huber loss function and the quantile loss function. Only if ``loss='huber'`` or ``loss='quantile'``. init : BaseEstimator, None, optional (default=None) An estimator object that is used to compute the initial predictions. ``init`` has to provide ``fit`` and ``predict``. If None it uses ``loss.init_estimator``. verbose : int, default: 0 Enable verbose output. If 1 then it prints progress and performance once in a while (the more trees the lower the frequency). If greater than 1 then it prints progress and performance for every tree. warm_start : bool, default: False When set to ``True``, reuse the solution of the previous call to fit and add more estimators to the ensemble, otherwise, just erase the previous solution. Attributes ---------- feature_importances_ : array, shape = [n_features] The feature importances (the higher, the more important the feature). oob_improvement_ : array, shape = [n_estimators] The improvement in loss (= deviance) on the out-of-bag samples relative to the previous iteration. ``oob_improvement_[0]`` is the improvement in loss of the first stage over the ``init`` estimator. train_score_ : array, shape = [n_estimators] The i-th score ``train_score_[i]`` is the deviance (= loss) of the model at iteration ``i`` on the in-bag sample. If ``subsample == 1`` this is the deviance on the training data. loss_ : LossFunction The concrete ``LossFunction`` object. `init` : BaseEstimator The estimator that provides the initial predictions. Set via the ``init`` argument or ``loss.init_estimator``. estimators_ : list of DecisionTreeRegressor The collection of fitted sub-estimators. See also -------- DecisionTreeRegressor, RandomForestRegressor References ---------- J. Friedman, Greedy Function Approximation: A Gradient Boosting Machine, The Annals of Statistics, Vol. 29, No. 5, 2001. J. Friedman, Stochastic Gradient Boosting, 1999 T. Hastie, R. Tibshirani and J. Friedman. Elements of Statistical Learning Ed. 2, Springer, 2009. """ _SUPPORTED_LOSS = ('ls', 'lad', 'huber', 'quantile') def __init__(self, loss='ls', learning_rate=0.1, n_estimators=100, subsample=1.0, min_samples_split=2, min_samples_leaf=1, min_weight_fraction_leaf=0., max_depth=3, init=None, random_state=None, max_features=None, alpha=0.9, verbose=0, max_leaf_nodes=None, warm_start=False): super(GradientBoostingRegressor, self).__init__( loss=loss, learning_rate=learning_rate, n_estimators=n_estimators, min_samples_split=min_samples_split, min_samples_leaf=min_samples_leaf, min_weight_fraction_leaf=min_weight_fraction_leaf, max_depth=max_depth, init=init, subsample=subsample, max_features=max_features, random_state=random_state, alpha=alpha, verbose=verbose, max_leaf_nodes=max_leaf_nodes, warm_start=warm_start) def predict(self, X): """Predict regression target for X. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y : array of shape = [n_samples] The predicted values. """ return self.decision_function(X).ravel() def staged_predict(self, X): """Predict regression target at each stage for X. This method allows monitoring (i.e. determine error on testing set) after each stage. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y : generator of array of shape = [n_samples] The predicted value of the input samples. """ for y in self.staged_decision_function(X): yield y.ravel()
unknown
codeparrot/codeparrot-clean
// This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit. package kotlinx.coroutines.guide.exampleBasic03 import kotlinx.coroutines.* fun main() = runBlocking { doWorld() } suspend fun doWorld() = coroutineScope { // this: CoroutineScope launch { delay(1000L) println("World!") } println("Hello") }
kotlin
github
https://github.com/Kotlin/kotlinx.coroutines
kotlinx-coroutines-core/jvm/test/guide/example-basic-03.kt
package kotlinx.coroutines /** * [CoroutineDispatcher] that provides a method to close it, * causing the rejection of any new tasks and cleanup of all underlying resources * associated with the current dispatcher. * Examples of closeable dispatchers are dispatchers backed by `java.lang.Executor` and * by `kotlin.native.Worker`. * * **The `CloseableCoroutineDispatcher` class is not stable for inheritance in 3rd party libraries**, as new methods * might be added to this interface in the future, but is stable for use. */ @ExperimentalCoroutinesApi public expect abstract class CloseableCoroutineDispatcher() : CoroutineDispatcher, AutoCloseable { /** * Initiate the closing sequence of the coroutine dispatcher. * After a successful call to [close], no new tasks will be accepted to be [dispatched][dispatch]. * The previously-submitted tasks will still be run, but [close] is not guaranteed to wait for them to finish. * * Invocations of `close` are idempotent and thread-safe. */ public abstract override fun close() }
kotlin
github
https://github.com/Kotlin/kotlinx.coroutines
kotlinx-coroutines-core/common/src/CloseableCoroutineDispatcher.kt
config: trigger-phrase: '.*run\W+elasticsearch-ci/bwc.*' skip-labels: - ">test-mute" - "test-full-bwc" steps: - group: bwc-snapshots steps: - label: "{{matrix.BWC_VERSION}} / bwc-snapshots" command: .ci/scripts/run-gradle.sh -Dignore.tests.seed v{{matrix.BWC_VERSION}}#bwcTest timeout_in_minutes: 300 matrix: setup: BWC_VERSION: $SNAPSHOT_BWC_VERSIONS agents: provider: gcp image: family/elasticsearch-ubuntu-2404 machineType: custom-32-98304 buildDirectory: /dev/shm/bk env: BWC_VERSION: "{{matrix.BWC_VERSION}}"
unknown
github
https://github.com/elastic/elasticsearch
.buildkite/scripts/pull-request/mocks/pipelines/bwc-snapshots.yml
#============================================================================ # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #============================================================================ # Copyright (c) 2006 Xensource Inc. #============================================================================ import os import commands import re import struct import socket import XendDomain import XendNode from XendLogging import log from xen.xend import uuid as genuuid from xen.xend.XendBase import XendBase from xen.xend.XendError import * from xen.util import Brctl from xen.xend import XendAPIStore IP_ROUTE_RE = r'^default via ([\d\.]+) dev (\w+)' def bridge_exists(name): return name in Brctl.get_state().keys() class XendNetwork(XendBase): """We're going to assert that the name_label of this network is just the name of the bridge""" def getClass(self): return "network" def getAttrRW(self): attrRW = ['name_label', 'name_description', 'other_config', 'default_gateway', 'default_netmask'] return XendBase.getAttrRW() + attrRW def getAttrRO(self): attrRO = ['VIFs', 'PIFs', 'managed'] return XendBase.getAttrRO() + attrRO def getAttrInst(self): return XendBase.getAttrInst() + self.getAttrRW() def getMethods(self): methods = ['add_to_other_config', 'remove_from_other_config', 'destroy'] return XendBase.getMethods() + methods def getFuncs(self): funcs = ['create', 'get_by_name_label'] return XendBase.getFuncs() + funcs getClass = classmethod(getClass) getAttrRO = classmethod(getAttrRO) getAttrRW = classmethod(getAttrRW) getAttrInst = classmethod(getAttrInst) getMethods = classmethod(getMethods) getFuncs = classmethod(getFuncs) def create_phy(self, name): """ Called when a new bridge is found on xend start """ # Create new uuids uuid = genuuid.createString() # Create instance record = { 'name_label': name, 'name_description': '', 'other_config': {}, 'default_gateway': '', 'default_netmask': '', 'managed': False, } network = XendNetwork(record, uuid) return uuid def recreate(self, record, uuid): """ Called on xend start / restart, or machine restart, when read from saved config. Needs to check network exists, create it otherwise """ # Create instance (do this first, to check record) network = XendNetwork(record, uuid) # Create network if it doesn't already exist if not bridge_exists(network.name_label): if network.managed: Brctl.bridge_create(network.name_label) else: log.info("Not recreating missing unmanaged network %s" % network.name_label) return uuid def create(self, record): """ Called from API, to create a new network """ # Create new uuids uuid = genuuid.createString() # Create instance (do this first, to check record) network = XendNetwork(record, uuid) # Check network doesn't already exist name_label = network.name_label if bridge_exists(name_label): del network raise UniqueNameError(name_label, "network") # Create the bridge Brctl.bridge_create(network.name_label) XendNode.instance().save_networks() return uuid def get_by_name_label(cls, name): return [inst.get_uuid() for inst in XendAPIStore.get_all(cls.getClass()) if inst.get_name_label() == name] create_phy = classmethod(create_phy) recreate = classmethod(recreate) create = classmethod(create) get_by_name_label = classmethod(get_by_name_label) def __init__(self, record, uuid): # This is a read-only attr, so we need to # set it here, as super class won't try to if record.has_key("managed"): self.managed = record["managed"] else: self.managed = True XendBase.__init__(self, uuid, record) # # XenAPI Mehtods # def destroy(self): # check no VIFs or PIFs attached if len(self.get_VIFs()) > 0: raise NetworkError("Cannot destroy network with VIFs attached", self.get_name_label()) if len(self.get_PIFs()) > 0: raise NetworkError("Cannot destroy network with PIFs attached", self.get_name_label()) XendBase.destroy(self) Brctl.bridge_del(self.get_name_label()) XendNode.instance().save_networks() def get_name_label(self): return self.name_label def get_name_description(self): return self.name_description def set_name_label(self, new_name): pass def set_name_description(self, new_desc): self.name_description = new_desc XendNode.instance().save_networks() def get_managed(self): return self.managed def get_VIFs(self): result = [] vms = XendDomain.instance().get_all_vms() for vm in vms: vifs = vm.get_vifs() for vif in vifs: vif_cfg = vm.get_dev_xenapi_config('vif', vif) if vif_cfg.get('network') == self.get_uuid(): result.append(vif) return result def get_PIFs(self): pifs = XendAPIStore.get_all("PIF") return [pif.get_uuid() for pif in pifs if pif.get_network() == self.get_uuid()] def get_other_config(self): return self.other_config def set_other_config(self, value): self.other_config = value XendNode.instance().save_networks() def add_to_other_config(self, key, value): self.other_config[key] = value XendNode.instance().save_networks() def remove_from_other_config(self, key): if key in self.other_config: del self.other_config[key] XendNode.instance().save_networks() def get_default_gateway(self): return self.default_gateway def set_default_gateway(self, gateway): self.default_gateway = gateway XendNode.instance().save_networks() def get_default_netmask(self): return self.default_netmask def set_default_netmask(self, netmask): self.default_netmask = netmask XendNode.instance().save_networks()
unknown
codeparrot/codeparrot-clean
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. """System tests for Google Cloud Build operators""" import pytest from tests.providers.google.cloud.operators.test_cloud_build_system_helper import GCPCloudBuildTestHelper from tests.providers.google.cloud.utils.gcp_authenticator import GCP_CLOUD_BUILD_KEY from tests.test_utils.gcp_system_helpers import CLOUD_DAG_FOLDER, GoogleSystemTest, provide_gcp_context @pytest.mark.backend("mysql", "postgres") @pytest.mark.credential_file(GCP_CLOUD_BUILD_KEY) class CloudBuildExampleDagsSystemTest(GoogleSystemTest): """ System tests for Google Cloud Build operators It use a real service. """ helper = GCPCloudBuildTestHelper() @provide_gcp_context(GCP_CLOUD_BUILD_KEY, project_id=GoogleSystemTest._project_id()) def setUp(self): super().setUp() self.helper.create_repository_and_bucket() @provide_gcp_context(GCP_CLOUD_BUILD_KEY) def test_run_example_dag(self): self.run_dag("example_gcp_cloud_build", CLOUD_DAG_FOLDER) @provide_gcp_context(GCP_CLOUD_BUILD_KEY, project_id=GoogleSystemTest._project_id()) def tearDown(self): self.helper.delete_bucket() self.helper.delete_docker_images() self.helper.delete_repo() super().tearDown()
unknown
codeparrot/codeparrot-clean
from copy import deepcopy from flask import current_app, request from werkzeug.datastructures import MultiDict, FileStorage from werkzeug import exceptions import flask_restful import decimal import six class Namespace(dict): def __getattr__(self, name): try: return self[name] except KeyError: raise AttributeError(name) def __setattr__(self, name, value): self[name] = value _friendly_location = { u'json': u'the JSON body', u'form': u'the post body', u'args': u'the query string', u'values': u'the post body or the query string', u'headers': u'the HTTP headers', u'cookies': u'the request\'s cookies', u'files': u'an uploaded file', } text_type = lambda x: six.text_type(x) class Argument(object): """ :param name: Either a name or a list of option strings, e.g. foo or -f, --foo. :param default: The value produced if the argument is absent from the request. :param dest: The name of the attribute to be added to the object returned by :meth:`~reqparse.RequestParser.parse_args()`. :param bool required: Whether or not the argument may be omitted (optionals only). :param action: The basic type of action to be taken when this argument is encountered in the request. Valid options are "store" and "append". :param ignore: Whether to ignore cases where the argument fails type conversion :param type: The type to which the request argument should be converted. If a type raises an exception, the message in the error will be returned in the response. Defaults to :class:`unicode` in python2 and :class:`str` in python3. :param location: The attributes of the :class:`flask.Request` object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the result set. :param choices: A container of the allowable values for the argument. :param help: A brief description of the argument, returned in the response when the argument is invalid with the name of the argument and the message passed to any exception raised by a type converter. :param bool case_sensitive: Whether argument values in the request are case sensitive or not (this will convert all values to lowercase) :param bool store_missing: Whether the arguments default value should be stored if the argument is missing from the request. :param bool trim: If enabled, trims whitespace around the argument. """ def __init__(self, name, default=None, dest=None, required=False, ignore=False, type=text_type, location=('json', 'values',), choices=(), action='store', help=None, operators=('=',), case_sensitive=True, store_missing=True, trim=False): self.name = name self.default = default self.dest = dest self.required = required self.ignore = ignore self.location = location self.type = type self.choices = choices self.action = action self.help = help self.case_sensitive = case_sensitive self.operators = operators self.store_missing = store_missing self.trim = trim def source(self, request): """Pulls values off the request in the provided location :param request: The flask request object to parse arguments from """ if isinstance(self.location, six.string_types): value = getattr(request, self.location, MultiDict()) if callable(value): value = value() if value is not None: return value else: values = MultiDict() for l in self.location: value = getattr(request, l, None) if callable(value): value = value() if value is not None: values.update(value) return values return MultiDict() def convert(self, value, op): # Don't cast None if value is None: return None # and check if we're expecting a filestorage and haven't overridden `type` # (required because the below instantiation isn't valid for FileStorage) elif isinstance(value, FileStorage) and self.type == FileStorage: return value try: return self.type(value, self.name, op) except TypeError: try: if self.type is decimal.Decimal: return self.type(str(value), self.name) else: return self.type(value, self.name) except TypeError: return self.type(value) def handle_validation_error(self, error, bundle_errors): """Called when an error is raised while parsing. Aborts the request with a 400 status and an error message :param error: the error that was raised :param bundle_errors: do not abort when first error occurs, return a dict with the name of the argument and the error message to be bundled """ help_str = '(%s) ' % self.help if self.help else '' error_msg = ' '.join([help_str, str(error)]) if help_str else str(error) if current_app.config.get("BUNDLE_ERRORS", False) or bundle_errors: msg = {self.name: "%s" % (error_msg)} return error, msg msg = {self.name: "%s" % (error_msg)} flask_restful.abort(400, message=msg) def parse(self, request, bundle_errors=False): """Parses argument value(s) from the request, converting according to the argument's type. :param request: The flask request object to parse arguments from :param do not abort when first error occurs, return a dict with the name of the argument and the error message to be bundled """ source = self.source(request) results = [] # Sentinels _not_found = False _found = True for operator in self.operators: name = self.name + operator.replace("=", "", 1) if name in source: # Account for MultiDict and regular dict if hasattr(source, "getlist"): values = source.getlist(name) else: values = [source.get(name)] for value in values: if hasattr(value, "strip") and self.trim: value = value.strip() if hasattr(value, "lower") and not self.case_sensitive: value = value.lower() if hasattr(self.choices, "__iter__"): self.choices = [choice.lower() for choice in self.choices] try: value = self.convert(value, operator) except Exception as error: if self.ignore: continue return self.handle_validation_error(error, bundle_errors) if self.choices and value not in self.choices: if current_app.config.get("BUNDLE_ERRORS", False) or bundle_errors: return self.handle_validation_error( ValueError(u"{0} is not a valid choice".format( value)), bundle_errors) self.handle_validation_error( ValueError(u"{0} is not a valid choice".format( value)), bundle_errors) if name in request.unparsed_arguments: request.unparsed_arguments.pop(name) results.append(value) if not results and self.required: if isinstance(self.location, six.string_types): error_msg = u"Missing required parameter in {0}".format( _friendly_location.get(self.location, self.location) ) else: friendly_locations = [_friendly_location.get(loc, loc) for loc in self.location] error_msg = u"Missing required parameter in {0}".format( ' or '.join(friendly_locations) ) if current_app.config.get("BUNDLE_ERRORS", False) or bundle_errors: return self.handle_validation_error(ValueError(error_msg), bundle_errors) self.handle_validation_error(ValueError(error_msg), bundle_errors) if not results: if callable(self.default): return self.default(), _not_found else: return self.default, _not_found if self.action == 'append': return results, _found if self.action == 'store' or len(results) == 1: return results[0], _found return results, _found class RequestParser(object): """Enables adding and parsing of multiple arguments in the context of a single request. Ex:: from flask import request parser = RequestParser() parser.add_argument('foo') parser.add_argument('int_bar', type=int) args = parser.parse_args() :param bool trim: If enabled, trims whitespace on all arguments in this parser :param bool bundle_errors: If enabled, do not abort when first error occurs, return a dict with the name of the argument and the error message to be bundled and return all validation errors """ def __init__(self, argument_class=Argument, namespace_class=Namespace, trim=False, bundle_errors=False): self.args = [] self.argument_class = argument_class self.namespace_class = namespace_class self.trim = trim self.bundle_errors = bundle_errors def add_argument(self, *args, **kwargs): """Adds an argument to be parsed. Accepts either a single instance of Argument or arguments to be passed into :class:`Argument`'s constructor. See :class:`Argument`'s constructor for documentation on the available options. """ if len(args) == 1 and isinstance(args[0], self.argument_class): self.args.append(args[0]) else: self.args.append(self.argument_class(*args, **kwargs)) #Do not know what other argument classes are out there if self.trim and self.argument_class is Argument: #enable trim for appended element self.args[-1].trim = kwargs.get('trim', self.trim) return self def parse_args(self, req=None, strict=False): """Parse all arguments from the provided request and return the results as a Namespace :param strict: if req includes args not in parser, throw 400 BadRequest exception """ if req is None: req = request namespace = self.namespace_class() # A record of arguments not yet parsed; as each is found # among self.args, it will be popped out req.unparsed_arguments = dict(self.argument_class('').source(req)) if strict else {} errors = {} for arg in self.args: value, found = arg.parse(req, self.bundle_errors) if isinstance(value, ValueError): errors.update(found) found = None if found or arg.store_missing: namespace[arg.dest or arg.name] = value if errors: flask_restful.abort(400, message=errors) if strict and req.unparsed_arguments: raise exceptions.BadRequest('Unknown arguments: %s' % ', '.join(req.unparsed_arguments.keys())) return namespace def copy(self): """ Creates a copy of this RequestParser with the same set of arguments """ parser_copy = self.__class__(self.argument_class, self.namespace_class) parser_copy.args = deepcopy(self.args) parser_copy.trim = self.trim parser_copy.bundle_errors = self.bundle_errors return parser_copy def replace_argument(self, name, *args, **kwargs): """ Replace the argument matching the given name with a new version. """ new_arg = self.argument_class(name, *args, **kwargs) for index, arg in enumerate(self.args[:]): if new_arg.name == arg.name: del self.args[index] self.args.append(new_arg) break return self def remove_argument(self, name): """ Remove the argument matching the given name. """ for index, arg in enumerate(self.args[:]): if name == arg.name: del self.args[index] break return self
unknown
codeparrot/codeparrot-clean
// errorcheck -0 -m //go:build !goexperiment.newinliner // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test, using compiler diagnostic flags, that the escape analysis is working. // Compiles but does not run. Inlining is enabled. package foo var p *int func alloc(x int) *int { // ERROR "can inline alloc" "moved to heap: x" return &x } var f func() func f1() { p = alloc(2) // ERROR "inlining call to alloc" "moved to heap: x" // Escape analysis used to miss inlined code in closures. func() { // ERROR "can inline f1.func1" p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x" }() // ERROR "inlining call to f1.func1" "inlining call to alloc" "moved to heap: x" f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2" p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x" } f() } func f2() {} // ERROR "can inline f2" // No inline for recover; panic now allowed to inline. func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap" func f4() { recover() } func f5() *byte { // ERROR "can inline f5" type T struct { x [1]byte } t := new(T) // ERROR "new.T. escapes to heap" return &t.x[0] } func f6() *byte { // ERROR "can inline f6" type T struct { x struct { y byte } } t := new(T) // ERROR "new.T. escapes to heap" return &t.x.y }
go
github
https://github.com/golang/go
test/escape4.go
# -*- coding: utf-8 -*- #*************************************************************************** #* (c) Jonathan Wiedemann (jonatan@wiedemann.fr) 2013 * #* * #* This file is part of the FreeCAD CAx development system. * #* * #* This program is free software; you can redistribute it and/or modify * #* it under the terms of the GNU Lesser General Public License (LGPL) * #* as published by the Free Software Foundation; either version 2 of * #* the License, or (at your option) any later version. * #* for detail see the LICENCE text file. * #* * #* FreeCAD is distributed in the hope that it will be useful, * #* but WITHOUT ANY WARRANTY; without even the implied warranty of * #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * #* GNU Lesser General Public License for more details. * #* * #* You should have received a copy of the GNU Library General Public * #* License along with FreeCAD; if not, write to the Free Software * #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * #* USA * #* * #* Jonathan Wiedemann 2013 * #***************************************************************************/ # # Created: Sun Dec 15 13:47:06 2013 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(365, 504) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth()) Dialog.setSizePolicy(sizePolicy) Dialog.setMinimumSize(QtCore.QSize(350, 500)) self.verticalLayout_3 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.scrollArea = QtGui.QScrollArea(Dialog) self.scrollArea.setMinimumSize(QtCore.QSize(350, 500)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 332, 739)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth()) self.scrollAreaWidgetContents.setSizePolicy(sizePolicy) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.label_3 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_3.setMinimumSize(QtCore.QSize(0, 0)) self.label_3.setObjectName(_fromUtf8("label_3")) self.verticalLayout.addWidget(self.label_3) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_6.setObjectName(_fromUtf8("label_6")) self.horizontalLayout_5.addWidget(self.label_6) self.pushButton_3 = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_3.setObjectName(_fromUtf8("pushButton_3")) self.horizontalLayout_5.addWidget(self.pushButton_3) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_5.setMinimumSize(QtCore.QSize(0, 0)) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_4.addWidget(self.label_5) self.comboBox_2 = QtGui.QComboBox(self.scrollAreaWidgetContents) self.comboBox_2.setMinimumSize(QtCore.QSize(0, 0)) self.comboBox_2.setObjectName(_fromUtf8("comboBox_2")) self.comboBox_2.addItem(_fromUtf8("")) self.comboBox_2.addItem(_fromUtf8("")) self.horizontalLayout_4.addWidget(self.comboBox_2) self.verticalLayout.addLayout(self.horizontalLayout_4) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.label_4 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_4.setMinimumSize(QtCore.QSize(0, 0)) self.label_4.setObjectName(_fromUtf8("label_4")) self.horizontalLayout_3.addWidget(self.label_4) self.comboBox = QtGui.QComboBox(self.scrollAreaWidgetContents) self.comboBox.setMinimumSize(QtCore.QSize(0, 0)) self.comboBox.setObjectName(_fromUtf8("comboBox")) self.comboBox.addItem(_fromUtf8("")) self.comboBox.addItem(_fromUtf8("")) self.horizontalLayout_3.addWidget(self.comboBox) self.verticalLayout.addLayout(self.horizontalLayout_3) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label = QtGui.QLabel(self.scrollAreaWidgetContents) self.label.setMinimumSize(QtCore.QSize(0, 0)) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.doubleSpinBox_8 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_8.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_8.setMaximum(99999.0) self.doubleSpinBox_8.setSingleStep(10.0) self.doubleSpinBox_8.setProperty("value", 75.0) self.doubleSpinBox_8.setObjectName(_fromUtf8("doubleSpinBox_8")) self.horizontalLayout.addWidget(self.doubleSpinBox_8) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setMinimumSize(QtCore.QSize(0, 0)) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_2.addWidget(self.label_2) self.doubleSpinBox_9 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_9.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_9.setMaximum(99999.0) self.doubleSpinBox_9.setSingleStep(10.0) self.doubleSpinBox_9.setProperty("value", 220.0) self.doubleSpinBox_9.setObjectName(_fromUtf8("doubleSpinBox_9")) self.horizontalLayout_2.addWidget(self.doubleSpinBox_9) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_17 = QtGui.QHBoxLayout() self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17")) self.label_16 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_16.setMinimumSize(QtCore.QSize(0, 0)) self.label_16.setObjectName(_fromUtf8("label_16")) self.horizontalLayout_17.addWidget(self.label_16) self.doubleSpinBox_7 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_7.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_7.setMaximum(99999.0) self.doubleSpinBox_7.setSingleStep(100.0) self.doubleSpinBox_7.setProperty("value", 4500.0) self.doubleSpinBox_7.setObjectName(_fromUtf8("doubleSpinBox_7")) self.horizontalLayout_17.addWidget(self.doubleSpinBox_7) self.verticalLayout.addLayout(self.horizontalLayout_17) self.horizontalLayout_15 = QtGui.QHBoxLayout() self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15")) self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_7.setMinimumSize(QtCore.QSize(0, 0)) self.label_7.setObjectName(_fromUtf8("label_7")) self.horizontalLayout_15.addWidget(self.label_7) self.pushButton = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton.setMinimumSize(QtCore.QSize(0, 0)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.horizontalLayout_15.addWidget(self.pushButton) self.verticalLayout.addLayout(self.horizontalLayout_15) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.label_8 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_8.setMinimumSize(QtCore.QSize(0, 0)) self.label_8.setObjectName(_fromUtf8("label_8")) self.horizontalLayout_6.addWidget(self.label_8) self.doubleSpinBox = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox.setPrefix(_fromUtf8("")) self.doubleSpinBox.setDecimals(3) self.doubleSpinBox.setProperty("value", 3.7) self.doubleSpinBox.setObjectName(_fromUtf8("doubleSpinBox")) self.horizontalLayout_6.addWidget(self.doubleSpinBox) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.label_10 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_10.setMinimumSize(QtCore.QSize(0, 0)) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_9.addWidget(self.label_10) self.doubleSpinBox_3 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_3.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_3.setMaximum(2.0) self.doubleSpinBox_3.setProperty("value", 1.0) self.doubleSpinBox_3.setObjectName(_fromUtf8("doubleSpinBox_3")) self.horizontalLayout_9.addWidget(self.doubleSpinBox_3) self.verticalLayout.addLayout(self.horizontalLayout_9) self.horizontalLayout_10 = QtGui.QHBoxLayout() self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10")) self.label_11 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_11.setMinimumSize(QtCore.QSize(0, 0)) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_10.addWidget(self.label_11) self.doubleSpinBox_4 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_4.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_4.setProperty("value", 1.0) self.doubleSpinBox_4.setObjectName(_fromUtf8("doubleSpinBox_4")) self.horizontalLayout_10.addWidget(self.doubleSpinBox_4) self.verticalLayout.addLayout(self.horizontalLayout_10) self.horizontalLayout_11 = QtGui.QHBoxLayout() self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11")) self.label_12 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_12.setMinimumSize(QtCore.QSize(0, 0)) self.label_12.setObjectName(_fromUtf8("label_12")) self.horizontalLayout_11.addWidget(self.label_12) self.doubleSpinBox_5 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_5.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_5.setMinimum(1.0) self.doubleSpinBox_5.setMaximum(1.1) self.doubleSpinBox_5.setSingleStep(0.1) self.doubleSpinBox_5.setProperty("value", 1.0) self.doubleSpinBox_5.setObjectName(_fromUtf8("doubleSpinBox_5")) self.horizontalLayout_11.addWidget(self.doubleSpinBox_5) self.verticalLayout.addLayout(self.horizontalLayout_11) self.horizontalLayout_14 = QtGui.QHBoxLayout() self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14")) self.textBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents) self.textBrowser_2.setObjectName(_fromUtf8("textBrowser_2")) self.horizontalLayout_14.addWidget(self.textBrowser_2) self.verticalLayout.addLayout(self.horizontalLayout_14) self.horizontalLayout_16 = QtGui.QHBoxLayout() self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16")) self.label_13 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_13.setMinimumSize(QtCore.QSize(0, 0)) self.label_13.setObjectName(_fromUtf8("label_13")) self.horizontalLayout_16.addWidget(self.label_13) self.pushButton_2 = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_2.setMinimumSize(QtCore.QSize(0, 0)) self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) self.horizontalLayout_16.addWidget(self.pushButton_2) self.verticalLayout.addLayout(self.horizontalLayout_16) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_9 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_9.setMinimumSize(QtCore.QSize(0, 0)) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_7.addWidget(self.label_9) self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_2.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_2.setMaximum(99999.0) self.doubleSpinBox_2.setSingleStep(0.1) self.doubleSpinBox_2.setProperty("value", 3.5) self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2")) self.horizontalLayout_7.addWidget(self.doubleSpinBox_2) self.verticalLayout.addLayout(self.horizontalLayout_7) self.horizontalLayout_12 = QtGui.QHBoxLayout() self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12")) self.label_14 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_14.setMinimumSize(QtCore.QSize(0, 0)) self.label_14.setObjectName(_fromUtf8("label_14")) self.horizontalLayout_12.addWidget(self.label_14) self.doubleSpinBox_6 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_6.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_6.setMaximum(2.0) self.doubleSpinBox_6.setProperty("value", 1.0) self.doubleSpinBox_6.setObjectName(_fromUtf8("doubleSpinBox_6")) self.horizontalLayout_12.addWidget(self.doubleSpinBox_6) self.verticalLayout.addLayout(self.horizontalLayout_12) self.horizontalLayout_13 = QtGui.QHBoxLayout() self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13")) self.label_15 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_15.setMinimumSize(QtCore.QSize(0, 0)) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_13.addWidget(self.label_15) self.doubleSpinBox_10 = QtGui.QDoubleSpinBox(self.scrollAreaWidgetContents) self.doubleSpinBox_10.setMinimumSize(QtCore.QSize(0, 0)) self.doubleSpinBox_10.setMaximum(99999.0) self.doubleSpinBox_10.setSingleStep(10.0) self.doubleSpinBox_10.setProperty("value", 100.0) self.doubleSpinBox_10.setObjectName(_fromUtf8("doubleSpinBox_10")) self.horizontalLayout_13.addWidget(self.doubleSpinBox_10) self.verticalLayout.addLayout(self.horizontalLayout_13) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.textBrowser = QtGui.QTextBrowser(self.scrollAreaWidgetContents) self.textBrowser.setObjectName(_fromUtf8("textBrowser")) self.horizontalLayout_8.addWidget(self.textBrowser) self.verticalLayout.addLayout(self.horizontalLayout_8) self.verticalLayout_2.addLayout(self.verticalLayout) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("Dialog", "<html><head/><body><p><span style=\" font-size:12pt;\">Poutre 2 appuis - </span>Flexion et Cisaillement </p><p>Eurocodes 5</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("Dialog", "Récuperer données", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_3.setText(QtGui.QApplication.translate("Dialog", "Element", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("Dialog", "Materiaux", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox_2.setItemText(0, QtGui.QApplication.translate("Dialog", "Bois Massif", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox_2.setItemText(1, QtGui.QApplication.translate("Dialog", "Lamellé Collé", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("Dialog", "Classe mécanique", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText(0, QtGui.QApplication.translate("Dialog", "C18", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText(1, QtGui.QApplication.translate("Dialog", "C24", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("Dialog", "Base", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox_8.setSuffix(QtGui.QApplication.translate("Dialog", " mm", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("Dialog", "Hauteur", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox_9.setSuffix(QtGui.QApplication.translate("Dialog", " mm", None, QtGui.QApplication.UnicodeUTF8)) self.label_16.setText(QtGui.QApplication.translate("Dialog", "Longueur", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox_7.setSuffix(QtGui.QApplication.translate("Dialog", " mm", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("Dialog", "<html><head/><body><p><span style=\" font-weight:600;\">Vérification de la flexion</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton.setText(QtGui.QApplication.translate("Dialog", "Vérifier !", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("Dialog", "Moment fléchissant Max", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox.setSuffix(QtGui.QApplication.translate("Dialog", " MPa", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("Dialog", "Kmod associé", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("Dialog", "Kcrit associé", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("Dialog", "Ksys associé", None, QtGui.QApplication.UnicodeUTF8)) self.textBrowser_2.setHtml(QtGui.QApplication.translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'Cantarell\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Contrainte de flexion induite : ---</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Resistance de calcul en flexion : ---</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Taux de travail : --- %</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#00ff00;\">Ok</span>/<span style=\" color:#ff0000;\">NOK</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.label_13.setText(QtGui.QApplication.translate("Dialog", "<html><head/><body><p><span style=\" font-weight:600;\">Vérification du cisaillement</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_2.setText(QtGui.QApplication.translate("Dialog", "Vérifier !", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText(QtGui.QApplication.translate("Dialog", "Effort Tranchant Max", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox_2.setSuffix(QtGui.QApplication.translate("Dialog", " MPa", None, QtGui.QApplication.UnicodeUTF8)) self.label_14.setText(QtGui.QApplication.translate("Dialog", "Kmod associé", None, QtGui.QApplication.UnicodeUTF8)) self.label_15.setText(QtGui.QApplication.translate("Dialog", "Hauteur efficace", None, QtGui.QApplication.UnicodeUTF8)) self.doubleSpinBox_10.setSuffix(QtGui.QApplication.translate("Dialog", " mm", None, QtGui.QApplication.UnicodeUTF8)) self.textBrowser.setHtml(QtGui.QApplication.translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'Cantarell\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Contrainte de flexion induite : ---</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Resistance de calcul en flexion : ---</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Taux de travail : --- %</p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#00ff00;\">Ok</span>/<span style=\" color:#ff0000;\">NOK</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": import sys app = QtGui.QApplication(sys.argv) Dialog = QtGui.QDialog() ui = Ui_Dialog() ui.setupUi(Dialog) Dialog.show() sys.exit(app.exec_())
unknown
codeparrot/codeparrot-clean
:host { display: block; .docs-dark-mode & { .adev-embedded-editor-preview-container { background: var(--gray-100); } } // account for tabs height height: calc(100% - 50px); // If preview has error, make it scrollable &:has(.adev-preview-error) { .adev-embedded-editor-preview-container { overflow-y: auto; } } } .adev-embedded-editor-preview-container { display: flex; width: 100%; height: 100%; position: relative; color: black; background: white; transition: background 0.3s ease; box-sizing: border-box; iframe { width: 100%; height: 100%; border: 0; } .adev-embedded-editor-preview-loading { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.5rem; position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; background: white; } }
unknown
github
https://github.com/angular/angular
adev/src/app/editor/preview/preview.component.scss
from math import sqrt import numpy as np ''' *********************** USER-PARAMETERS *********************** ''' ''' INITIAL STATE PARAMETERS ''' MAX_TEST_DURATION = 6000; dt = 1e-3; model_path = ["/home/adelpret/devel/sot_hydro/install/share"]; urdfFileName = model_path[0] + "/hrp2_14_description/urdf/hrp2_14_reduced.urdf"; freeFlyer = True; q0_urdf = np.matrix([0.0, 0.0, 0.648702, 0.0, 0.0 , 0.0, 1.0, # Free flyer 0-6 0.0, 0.0, 0.0, 0.0, # CHEST HEAD 7-10 0.261799388, 0.174532925, 0.0, -0.523598776, 0.0, 0.0, 0.174532925, # LARM 11-17 0.261799388, -0.174532925, 0.0, -0.523598776, 0.0, 0.0, 0.174532925, # RARM 18-24 0.0, 0.0, -0.453785606, 0.872664626, -0.41887902, 0.0, # LLEG 25-30 0.0, 0.0, -0.453785606, 0.872664626, -0.41887902, 0.0, # RLEG 31-36 ]).T; q0_sot = ( # Free flyer 0., 0., 0.643702, 0., 0. , 0., # Legs 0., 0., -0.453786, 0.872665, -0.418879, 0., 0., 0., -0.453786, 0.872665, -0.418879, 0., # Chest and head 0., 0., 0., 0., # Arms 0.261799, -0.17453, 0., -0.523599, 0., 0., 0.1, 0.261799, 0.17453, 0., -0.523599, 0., 0., 0.1); COM_DES = (0.01, 0.0, 0.81); v0 = np.matrix(np.zeros(36)).T; active_joints = (1, 1, 1, 1, 1, 1, # lleg 1, 1, 1, 1, 1, 1, # rleg 0, 0, 0, 0, # chest-head 0, 0, 0, 0, 0, 0, 0, # larm 0, 0, 0, 0, 0, 0, 0) # rarm GEAR_RATIOS = (384.0, 240.0, 180.0, 200.0, 180.0, 100.0, 384.0, 240.0, 180.0, 200.0, 180.0, 100.0, 207.69, 381.54, 100.0, 100.0, 219.23, 231.25, 266.67, 250.0, 145.45, 350.0, 200.0, 219.23, 231.25, 266.67, 250.0, 145.45, 350.0, 200.0); ROTOR_INERTIAS = (1.01e-4, 6.96e-4, 1.34e-4, 1.34e-4, 6.96e-4, 6.96e-4, 1.01e-4, 6.96e-4, 1.34e-4, 1.34e-4, 6.96e-4, 6.96e-4, 6.96e-4, 6.96e-4, 1.10e-4, 1.10e-4, 6.96e-4, 6.60e-4, 1.00e-4, 6.60e-4, 1.10e-4, 1.00e-4, 1.00e-4, 6.96e-4, 6.60e-4, 1.00e-4, 6.60e-4, 1.10e-4, 1.00e-4, 1.00e-4); ''' CONTROLLER CONFIGURATION ''' ENABLE_CAPTURE_POINT_LIMITS = False; ENABLE_TORQUE_LIMITS = True; ENABLE_FORCE_LIMITS = True; ENABLE_JOINT_LIMITS = True; IMPOSE_POSITION_BOUNDS = True; IMPOSE_VELOCITY_BOUNDS = True; IMPOSE_VIABILITY_BOUNDS = True; IMPOSE_ACCELERATION_BOUNDS = True; JOINT_POS_PREVIEW = 1.5; # preview window to convert joint pos limits into joint acc limits JOINT_VEL_PREVIEW = 1; # preview window to convert joint vel limits into joint acc limits MAX_JOINT_ACC = 30.0; MAX_MIN_JOINT_ACC = 10.0; USE_JOINT_VELOCITY_ESTIMATOR = False; ACCOUNT_FOR_ROTOR_INERTIAS = True; # CONTROLLER GAINS kp_posture = 10.0; # proportional gain of postural task kd_posture = 2*sqrt(kp_posture); kp_pos = 0.0; # proportional gain of position controller kd_pos = 2*sqrt(kp_pos); kp_constr = 100.0; # constraint proportional feedback gain kd_constr = 2*sqrt(kp_constr); # constraint derivative feedback gain kp_com = 10.0; kd_com = 2*sqrt(kp_com); constraint_mask = np.array([True, True, True, True, True, True]).T; ee_mask = np.array([True, True, True, True, True, True]).T; # CONTROLLER WEIGTHS w_com = 1.0; w_posture = 1e-2; # weight of postural task w_forces = 1e-4; w_base_orientation = 0.0; w_torques = 0.0; # QP SOLVER PARAMETERS maxIter = 300; # max number of iterations maxTime = 0.8; # max computation time for the solver in seconds verb=0; # verbosity level (0, 1, or 2) # CONTACT PARAMETERS RIGHT_FOOT_SIZES = (0.130, -0.100, 0.056, -0.075); # pos x, neg x, pos y, neg y size LEFT_FOOT_SIZES = (0.130, -0.100, 0.075, -0.056); # pos x, neg x, pos y, neg y size RIGHT_FOOT_SIZES = (0.130, -0.100, 0.056, -0.056); # pos x, neg x, pos y, neg y size RIGHT_FOOT_CONTACT_POINTS = ((RIGHT_FOOT_SIZES[0], RIGHT_FOOT_SIZES[0], RIGHT_FOOT_SIZES[1], RIGHT_FOOT_SIZES[1]), (RIGHT_FOOT_SIZES[3], RIGHT_FOOT_SIZES[2], RIGHT_FOOT_SIZES[3], RIGHT_FOOT_SIZES[2]), (-0.105, -0.105, -0.105, -0.105)); # contact points in local reference frame LEFT_FOOT_CONTACT_POINTS = np.matrix([[LEFT_FOOT_SIZES[0], LEFT_FOOT_SIZES[3], -0.105], [LEFT_FOOT_SIZES[0], LEFT_FOOT_SIZES[2], -0.105], [LEFT_FOOT_SIZES[1], LEFT_FOOT_SIZES[3], -0.105], [LEFT_FOOT_SIZES[1], LEFT_FOOT_SIZES[2], -0.105]]).T # contact points in local reference frame mu = np.array([0.3, 0.1]); # force and moment friction coefficient fMin = 1e-3; # minimum normal force ''' SIMULATOR PARAMETERS ''' FORCE_TORQUE_LIMITS = ENABLE_TORQUE_LIMITS; FORCE_JOINT_LIMITS = ENABLE_JOINT_LIMITS and IMPOSE_POSITION_BOUNDS; USE_LCP_SOLVER = False ''' STOPPING CRITERIA THRESHOLDS ''' MAX_CONSTRAINT_ERROR = 0.1; ''' INITIAL STATE PARAMETERS ''' INITIAL_CONFIG_ID = 0; INITIAL_CONFIG_FILENAME = '../../../data/hrp2_configs_coplanar'; ''' VIEWER PARAMETERS ''' ENABLE_VIEWER = True; PLAY_MOTION_WHILE_COMPUTING = True; PLAY_MOTION_AT_THE_END = True; DT_VIEWER = 10*dt; # timestep used to display motion with viewer SHOW_VIEWER_FLOOR = True; ''' FIGURE PARAMETERS ''' SAVE_FIGURES = False; SHOW_FIGURES = False; SHOW_LEGENDS = True; LINE_ALPHA = 0.7; #BUTTON_PRESS_TIMEOUT = 100.0;
unknown
codeparrot/codeparrot-clean
"""EdX Branding API Provides a way to retrieve "branded" parts of the site, such as the site footer. This information exposed to: 1) Templates in the LMS. 2) Consumers of the branding API. This ensures that branded UI elements such as the footer are consistent across the LMS and other sites (such as the marketing site and blog). """ import logging import urlparse from django.conf import settings from django.utils.translation import ugettext as _ from staticfiles.storage import staticfiles_storage from microsite_configuration import microsite from edxmako.shortcuts import marketing_link from branding.models import BrandingApiConfig log = logging.getLogger("edx.footer") def is_enabled(): """Check whether the branding API is enabled. """ return BrandingApiConfig.current().enabled def get_footer(is_secure=True): """Retrieve information used to render the footer. This will handle both the OpenEdX and EdX.org versions of the footer. All user-facing text is internationalized. Currently, this does NOT support theming. Keyword Arguments: is_secure (bool): If True, use https:// in URLs. Returns: dict Example: >>> get_footer() { "copyright": "(c) 2015 EdX Inc", "logo_image": "http://www.example.com/logo.png", "social_links": [ { "name": "facebook", "title": "Facebook", "url": "http://www.facebook.com/example", "icon-class": "fa-facebook-square", "action": "Sign up on Facebook!" }, ... ], "navigation_links": [ { "name": "about", "title": "About", "url": "http://www.example.com/about.html" }, ... ], "mobile_links": [ { "name": "apple", "title": "Apple", "url": "http://store.apple.com/example_app", "image": "http://example.com/static/apple_logo.png" }, ... ], "legal_links": [ { "url": "http://example.com/terms-of-service.html", "name": "terms_of_service", "title': "Terms of Service" }, # ... ], "openedx_link": { "url": "http://open.edx.org", "title": "Powered by Open edX", "image": "http://example.com/openedx.png" } } """ return { "copyright": _footer_copyright(), "logo_image": _footer_logo_img(is_secure), "social_links": _footer_social_links(), "navigation_links": _footer_navigation_links(), "mobile_links": _footer_mobile_links(is_secure), "legal_links": _footer_legal_links(), "openedx_link": _footer_openedx_link(), } def _footer_copyright(): """Return the copyright to display in the footer. Returns: unicode """ org_name = ( "edX Inc" if settings.FEATURES.get('IS_EDX_DOMAIN', False) else microsite.get_value('PLATFORM_NAME', settings.PLATFORM_NAME) ) # Translators: 'EdX', 'edX', and 'Open edX' are trademarks of 'edX Inc.'. # Please do not translate any of these trademarks and company names. return _( u"\u00A9 {org_name}. All rights reserved except where noted. " u"EdX, Open edX and the edX and Open EdX logos are registered trademarks " u"or trademarks of edX Inc." ).format(org_name=org_name) def _footer_openedx_link(): """Return the image link for "powered by OpenEdX". Args: is_secure (bool): Whether the request is using TLS. Returns: dict """ # Translators: 'Open edX' is a brand, please keep this untranslated. # See http://openedx.org for more information. title = _("Powered by Open edX") return { "url": settings.FOOTER_OPENEDX_URL, "title": title, "image": settings.FOOTER_OPENEDX_LOGO_IMAGE, } def _footer_social_links(): """Return the social media links to display in the footer. Returns: list """ platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME) links = [] for social_name in settings.SOCIAL_MEDIA_FOOTER_NAMES: display = settings.SOCIAL_MEDIA_FOOTER_DISPLAY.get(social_name, {}) links.append( { "name": social_name, "title": unicode(display.get("title", "")), "url": settings.SOCIAL_MEDIA_FOOTER_URLS.get(social_name, "#"), "icon-class": display.get("icon", ""), "action": unicode(display.get("action", "")).format(platform_name=platform_name), } ) return links def _footer_navigation_links(): """Return the navigation links to display in the footer. """ return [ { "name": link_name, "title": link_title, "url": link_url, } for link_name, link_url, link_title in [ ("about", marketing_link("ABOUT"), _("About")), ("blog", marketing_link("BLOG"), _("Blog")), ("news", marketing_link("NEWS"), _("News")), ("faq", marketing_link("FAQ"), _("FAQs")), ("contact", marketing_link("CONTACT"), _("Contact")), ("jobs", marketing_link("JOBS"), _("Jobs")), ("donate", marketing_link("DONATE"), _("Donate")), ("sitemap", marketing_link("SITE_MAP"), _("Sitemap")), ] if link_url and link_url != "#" ] def _footer_legal_links(): """Return the legal footer links (e.g. terms of service). """ links = [ ("terms_of_service_and_honor_code", marketing_link("TOS_AND_HONOR"), _("Terms of Service & Honor Code")), ("privacy_policy", marketing_link("PRIVACY"), _("Privacy Policy")), ("accessibility_policy", marketing_link("ACCESSIBILITY"), _("Accessibility Policy")), ] # Backwards compatibility: If a combined "terms of service and honor code" # link isn't provided, add separate TOS and honor code links. tos_and_honor_link = marketing_link("TOS_AND_HONOR") if not (tos_and_honor_link and tos_and_honor_link != "#"): links.extend([ ("terms_of_service", marketing_link("TOS"), _("Terms of Service")), ("honor_code", marketing_link("HONOR"), _("Honor Code")), ]) return [ { "name": link_name, "title": link_title, "url": link_url, } for link_name, link_url, link_title in links if link_url and link_url != "#" ] def _footer_mobile_links(is_secure): """Return the mobile app store links. Args: is_secure (bool): Whether the request is using TLS. Returns: list """ platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME) mobile_links = [] if settings.FEATURES.get('ENABLE_FOOTER_MOBILE_APP_LINKS'): mobile_links = [ { "name": "apple", "title": _( "Download the {platform_name} mobile app from the Apple App Store" ).format(platform_name=platform_name), "url": settings.MOBILE_STORE_URLS.get('apple', '#'), "image": _absolute_url_staticfile(is_secure, 'images/app/app_store_badge_135x40.svg'), }, { "name": "google", "title": _( "Download the {platform_name} mobile app from Google Play" ).format(platform_name=platform_name), "url": settings.MOBILE_STORE_URLS.get('google', '#'), "image": _absolute_url_staticfile(is_secure, 'images/app/google_play_badge_45.png'), } ] return mobile_links def _footer_logo_img(is_secure): """Return the logo used for footer about link Args: is_secure (bool): Whether the request is using TLS. Returns: Absolute url to logo """ logo_name = microsite.get_value('FOOTER_ORGANIZATION_IMAGE', settings.FOOTER_ORGANIZATION_IMAGE) return _absolute_url_staticfile(is_secure, logo_name) def _absolute_url(is_secure, url_path): """Construct an absolute URL back to the site. Arguments: is_secure (bool): If true, use HTTPS as the protocol. url_path (unicode): The path of the URL. Returns: unicode """ site_name = microsite.get_value('SITE_NAME', settings.SITE_NAME) parts = ("https" if is_secure else "http", site_name, url_path, '', '', '') return urlparse.urlunparse(parts) def _absolute_url_staticfile(is_secure, name): """Construct an absolute URL to a static resource on the site. Arguments: is_secure (bool): If true, use HTTPS as the protocol. name (unicode): The name of the static resource to retrieve. Returns: unicode """ url_path = staticfiles_storage.url(name) # In production, the static files URL will be an absolute # URL pointing to a CDN. If this happens, we can just # return the URL. if urlparse.urlparse(url_path).netloc: return url_path # For local development, the returned URL will be relative, # so we need to make it absolute. return _absolute_url(is_secure, url_path)
unknown
codeparrot/codeparrot-clean
//! An example of hooking up stdin/stdout to a TCP stream. //! //! This example will connect to a socket address specified in the argument list //! and then forward all data read on stdin to the server, printing out all data //! received on stdout. Each line entered on stdin will be translated to a TCP //! packet which is then sent to the remote address. //! //! Note that this is not currently optimized for performance, especially //! around buffer management. Rather it's intended to show an example of //! working with a client. //! //! This example can be quite useful when interacting with the other examples in //! this repository! Many of them recommend running this as a simple "hook up //! stdin/stdout to a server" to get up and running. #![warn(rust_2018_idioms)] use tokio::io::{stdin, stdout}; use tokio::net::TcpStream; use tokio_util::codec::{BytesCodec, FramedRead, FramedWrite}; use bytes::Bytes; use futures::{future, Sink, SinkExt, Stream, StreamExt}; use std::env; use std::error::Error; use std::net::SocketAddr; #[tokio::main] async fn main() -> Result<(), Box<dyn Error>> { // Parse what address we're going to connect to let args = env::args().skip(1).collect::<Vec<_>>(); let addr = args .first() .ok_or("this program requires at least one argument")?; let addr = addr.parse::<SocketAddr>()?; let stdin = FramedRead::new(stdin(), BytesCodec::new()); let stdin = stdin.map(|i| i.map(|bytes| bytes.freeze())); let stdout = FramedWrite::new(stdout(), BytesCodec::new()); connect(&addr, stdin, stdout).await?; Ok(()) } pub async fn connect( addr: &SocketAddr, mut stdin: impl Stream<Item = Result<Bytes, std::io::Error>> + Unpin, mut stdout: impl Sink<Bytes, Error = std::io::Error> + Unpin, ) -> Result<(), Box<dyn Error>> { let mut stream = TcpStream::connect(addr).await?; let (r, w) = stream.split(); let mut sink = FramedWrite::new(w, BytesCodec::new()); // filter map Result<BytesMut, Error> stream into just a Bytes stream to match stdout Sink // on the event of an Error, log the error and end the stream let mut stream = FramedRead::new(r, BytesCodec::new()) .filter_map(|i| match i { //BytesMut into Bytes Ok(i) => future::ready(Some(i.freeze())), Err(e) => { eprintln!("failed to read from socket; error={e}"); future::ready(None) } }) .map(Ok); tokio::select! { r = sink.send_all(&mut stdin) => r?, r = stdout.send_all(&mut stream) => r?, } Ok(()) }
rust
github
https://github.com/tokio-rs/tokio
examples/connect-tcp.rs
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\Tests\Console; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\EventListener\SuggestMissingPackageSubscriber; use Symfony\Bundle\FrameworkBundle\Tests\TestCase; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Event\ConsoleErrorEvent; use Symfony\Component\Console\Exception\CommandNotFoundException; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Tester\ApplicationTester; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\HttpKernel\Bundle\BundleInterface; use Symfony\Component\HttpKernel\KernelInterface; class ApplicationTest extends TestCase { public function testBundleInterfaceImplementation() { $bundle = $this->createStub(BundleInterface::class); $kernel = $this->getKernel([$bundle], true); $application = new Application($kernel); $application->doRun(new ArrayInput(['list']), new NullOutput()); } public function testBundleCommandsAreRegistered() { $bundle = $this->createBundleMock([]); $kernel = $this->getKernel([$bundle], true); $application = new Application($kernel); $application->doRun(new ArrayInput(['list']), new NullOutput()); // Calling twice: registration should only be done once. $application->doRun(new ArrayInput(['list']), new NullOutput()); } public function testBundleCommandsAreRetrievable() { $bundle = $this->createBundleMock([]); $kernel = $this->getKernel([$bundle]); $application = new Application($kernel); $application->all(); // Calling twice: registration should only be done once. $application->all(); } public function testBundleSingleCommandIsRetrievable() { $command = new Command('example'); $bundle = $this->createBundleMock([$command]); $kernel = $this->getKernel([$bundle]); $application = new Application($kernel); $this->assertSame($command, $application->get('example')); } public function testBundleCommandCanBeFound() { $command = new Command('example'); $bundle = $this->createBundleMock([$command]); $kernel = $this->getKernel([$bundle]); $application = new Application($kernel); $this->assertSame($command, $application->find('example')); } public function testBundleCommandCanBeFoundByAlias() { $command = new Command('example'); $command->setAliases(['alias']); $bundle = $this->createBundleMock([$command]); $kernel = $this->getKernel([$bundle]); $application = new Application($kernel); $this->assertSame($command, $application->find('alias')); } public function testBundleCommandCanOverriddeAPreExistingCommandWithTheSameName() { $command = new Command('example'); $bundle = $this->createBundleMock([$command]); $kernel = $this->getKernel([$bundle]); $application = new Application($kernel); $newCommand = new Command('example'); $application->addCommand($newCommand); $this->assertSame($newCommand, $application->get('example')); } public function testRunOnlyWarnsOnUnregistrableCommand() { $container = new ContainerBuilder(); $container->register('event_dispatcher', EventDispatcher::class); $container->register(ThrowingCommand::class, ThrowingCommand::class); $container->setParameter('console.command.ids', [ThrowingCommand::class => ThrowingCommand::class]); $kernel = $this->createStub(KernelInterface::class); $kernel ->method('getBundles') ->willReturn([$this->createBundleMock( [(new Command('fine'))->setCode(static function (InputInterface $input, OutputInterface $output): int { $output->write('fine'); return 0; })] )]); $kernel ->method('getContainer') ->willReturn($container); $application = new Application($kernel); $application->setAutoExit(false); $tester = new ApplicationTester($application); $tester->run(['command' => 'fine']); $output = $tester->getDisplay(); $tester->assertCommandIsSuccessful(); $this->assertStringContainsString('Some commands could not be registered:', $output); $this->assertStringContainsString('throwing', $output); $this->assertStringContainsString('fine', $output); } public function testRegistrationErrorsAreDisplayedOnCommandNotFound() { $container = new ContainerBuilder(); $container->register('event_dispatcher', EventDispatcher::class); $kernel = $this->createStub(KernelInterface::class); $kernel ->method('getBundles') ->willReturn([$this->createBundleMock( [(new Command(null))->setCode(static function (InputInterface $input, OutputInterface $output): int { $output->write('fine'); return 0; })] )]); $kernel ->method('getContainer') ->willReturn($container); $application = new Application($kernel); $application->setAutoExit(false); $tester = new ApplicationTester($application); $tester->run(['command' => 'fine']); $output = $tester->getDisplay(); $this->assertSame(1, $tester->getStatusCode()); $this->assertStringContainsString('Some commands could not be registered:', $output); $this->assertStringContainsString('Command "fine" is not defined.', $output); } public function testRunOnlyWarnsOnUnregistrableCommandAtTheEnd() { $container = new ContainerBuilder(); $container->register('event_dispatcher', EventDispatcher::class); $container->register(ThrowingCommand::class, ThrowingCommand::class); $container->setParameter('console.command.ids', [ThrowingCommand::class => ThrowingCommand::class]); $kernel = $this->createMock(KernelInterface::class); $kernel->expects($this->once())->method('boot'); $kernel ->method('getBundles') ->willReturn([$this->createBundleMock( [(new Command('fine'))->setCode(static function (InputInterface $input, OutputInterface $output): int { $output->write('fine'); return 0; })] )]); $kernel ->method('getContainer') ->willReturn($container); $application = new Application($kernel); $application->setAutoExit(false); $tester = new ApplicationTester($application); $tester->run(['command' => 'list']); $tester->assertCommandIsSuccessful(); $display = explode('List commands', $tester->getDisplay()); $this->assertStringContainsString(trim('[WARNING] Some commands could not be registered:'), trim($display[1])); } public function testSuggestingPackagesWithExactMatch() { $result = $this->createEventForSuggestingPackages('doctrine:fixtures', []); $this->assertMatchesRegularExpression('/You may be looking for a command provided by/', $result); } public function testSuggestingPackagesWithPartialMatchAndNoAlternatives() { $result = $this->createEventForSuggestingPackages('server', []); $this->assertMatchesRegularExpression('/You may be looking for a command provided by/', $result); } public function testSuggestingPackagesWithPartialMatchAndAlternatives() { $result = $this->createEventForSuggestingPackages('server', ['server:run']); $this->assertDoesNotMatchRegularExpression('/You may be looking for a command provided by/', $result); } private function createEventForSuggestingPackages(string $command, array $alternatives = []): string { $error = new CommandNotFoundException('', $alternatives); $event = new ConsoleErrorEvent(new ArrayInput([$command]), new NullOutput(), $error); $subscriber = new SuggestMissingPackageSubscriber(); $subscriber->onConsoleError($event); return $event->getError()->getMessage(); } private function getKernel(array $bundles, $useDispatcher = false) { $container = new Container(new ParameterBag([ 'console.command.ids' => [], 'console.lazy_command.ids' => [], ])); if ($useDispatcher) { $dispatcher = $this->createMock(EventDispatcherInterface::class); $dispatcher ->expects($this->atLeastOnce()) ->method('dispatch') ; $container->set('event_dispatcher', $dispatcher); } $kernel = $this->createMock(KernelInterface::class); $kernel->expects($this->once())->method('boot'); $kernel ->expects($this->any()) ->method('getBundles') ->willReturn($bundles) ; $kernel ->expects($this->any()) ->method('getContainer') ->willReturn($container) ; return $kernel; } private function createBundleMock(array $commands) { $bundle = $this->createMock(Bundle::class); $bundle ->expects($this->once()) ->method('registerCommands') ->willReturnCallback(static function (Application $application) use ($commands) { $application->addCommands($commands); }) ; return $bundle; } } class ThrowingCommand extends Command { public function __construct() { throw new \Exception('throwing'); } }
php
github
https://github.com/symfony/symfony
src/Symfony/Bundle/FrameworkBundle/Tests/Console/ApplicationTest.php
try: import siconos.kernel as SK except (ImportError): print('Could not import Siconos.* module') import numpy class MyR(SK.FirstOrderNonLinearR): # \brief Constructor # # \param is a (optional) def __init__(self, C, B): SK.FirstOrderNonLinearR.__init__(self) self._kappa = .5 self._g = 9.81 self.setCPtr(C) return def computeh(self, time, x, l, z, y): y[:] = self.C().dot(x) pass def computeg(self, time, x, l, z, R): R[0] = -self._kappa*l[0]*l[1]*x[1] R[1] = self._g*l[0]/(1-self._kappa*l[0]*l[1]) pass def computeJachx(self, time, x, l, z, C): C[:] = numpy.eye(2) pass def computeJacglambda(self, time, x, l, z, B): B[0, 0] = -self._kappa*l[1]*x[1] B[0, 1] = -self._kappa*l[0]*x[1] B[1, 0] = self._g/(1-self._kappa*l[0]*l[1])**2 B[1, 1] = (self._g*self._kappa*l[0]**2)/(1-self._kappa*l[0]*l[1])**2 pass def computeJacgx(self, time, x, l, z, K): K[:] = numpy.zeros(2) K[0, 1] = -self._kappa*l[0]*l[1] pass def computeJachlambda(self, time, x, l, z, D): D[:] = numpy.zeros(2) pass
unknown
codeparrot/codeparrot-clean
#!/usr/bin/python # -*- coding: iso-8859-15 -*- import wx import wx.stc as stc import keyword #----------------------------------------- # History widget for IPython __version__ = 0.5 __author__ = "Laurent Dufrechou" __email__ = "laurent.dufrechou _at_ gmail.com" __license__ = "BSD" #----------------------------------------- class IPythonHistoryPanel(wx.Panel): def __init__(self, parent,flt_empty=True, flt_doc=True,flt_cmd=True,flt_magic=True): wx.Panel.__init__(self,parent,-1) #text_ctrl = wx.TextCtrl(self, -1, style=wx.TE_MULTILINE) text_ctrl = PythonSTC(self, -1) st_filt = wx.StaticText(self, -1, " Filter:") self.filter_empty = wx.CheckBox(self, -1, "Empty commands") self.filter_doc = wx.CheckBox(self, -1, "?: Doc commands") self.filter_cmd = wx.CheckBox(self, -1, "!: Sys commands") self.filter_magic = wx.CheckBox(self, -1, "%: Magic keys") self.options={'filter_empty':{'value':'True', 'checkbox':self.filter_empty, \ 'True':True,'False':False, 'setfunc':lambda x:None}, 'filter_doc':{'value':'True', 'checkbox':self.filter_doc, \ 'True':True,'False':False, 'setfunc':lambda x:None}, 'filter_cmd':{'value':'True', 'checkbox':self.filter_cmd, \ 'True':True,'False':False, 'setfunc':lambda x:None}, 'filter_magic':{'value':'True', 'checkbox':self.filter_magic, \ 'True':True,'False':False, 'setfunc':lambda x:None}, } self.reloadOptions(self.options) self.filter_empty.Bind(wx.EVT_CHECKBOX, self.evtCheckEmptyFilter) self.filter_doc.Bind(wx.EVT_CHECKBOX, self.evtCheckDocFilter) self.filter_cmd.Bind(wx.EVT_CHECKBOX, self.evtCheckCmdFilter) self.filter_magic.Bind(wx.EVT_CHECKBOX, self.evtCheckMagicFilter) #self.filter_empty.SetValue(flt_empty) #self.filter_doc.SetValue(flt_doc) #self.filter_cmd.SetValue(flt_cmd) #self.filter_magic.SetValue(flt_magic) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(text_ctrl, 1, wx.EXPAND) sizer.AddMany( [(5,5), st_filt, (10,10), self.filter_empty, self.filter_doc, self.filter_cmd, self.filter_magic, (10,10), ]) self.SetAutoLayout(True) sizer.Fit(self) sizer.SetSizeHints(self) self.SetSizer(sizer) self.text_ctrl=text_ctrl #text_ctrl.SetText(demoText + open('Main.py').read()) text_ctrl.EmptyUndoBuffer() text_ctrl.Colourise(0, -1) # line numbers in the margin text_ctrl.SetMarginType(1, stc.STC_MARGIN_NUMBER) text_ctrl.SetMarginWidth(1, 15) def write(self,history_line): add = True if self.filter_empty.GetValue() == True and history_line == '': add = False if len(history_line)>0: if self.filter_doc.GetValue() == True and history_line[-1:] == '?': add = False if self.filter_cmd.GetValue() == True and history_line[0] == '!': add = False if self.filter_magic.GetValue() == True and history_line[0] == '%': add = False if add: self.text_ctrl.AppendText(history_line+'\n') #------------------------ Option Section ----------------------------------- def processOptionCheckedEvt(self, event, name): if event.IsChecked(): self.options[name]['value']='True' else: self.options[name]['value']='False' self.updateOptionTracker(name, self.options[name]['value']) def evtCheckEmptyFilter(self, event): self.processOptionCheckedEvt(event, 'filter_empty') def evtCheckDocFilter(self, event): self.processOptionCheckedEvt(event, 'filter_doc') def evtCheckCmdFilter(self, event): self.processOptionCheckedEvt(event, 'filter_cmd') def evtCheckMagicFilter(self, event): self.processOptionCheckedEvt(event, 'filter_magic') def getOptions(self): return self.options def reloadOptions(self,options): self.options = options for key in self.options.keys(): value = self.options[key]['value'] self.options[key]['checkbox'].SetValue(self.options[key][value]) self.options[key]['setfunc'](value) #------------------------ Hook Section ----------------------------------- def updateOptionTracker(self,name,value): ''' Default history tracker (does nothing) ''' pass def setOptionTrackerHook(self,func): ''' Define a new history tracker ''' self.updateOptionTracker = func #---------------------------------------------------------------------- # Font definition for Styled Text Control if wx.Platform == '__WXMSW__': faces = { 'times': 'Times New Roman', 'mono' : 'Courier New', 'helv' : 'Arial', 'other': 'Comic Sans MS', 'size' : 8, 'size2': 6, } elif wx.Platform == '__WXMAC__': faces = { 'times': 'Times New Roman', 'mono' : 'Monaco', 'helv' : 'Arial', 'other': 'Comic Sans MS', 'size' : 8, 'size2': 6, } else: faces = { 'times': 'Times', 'mono' : 'Courier', 'helv' : 'Helvetica', 'other': 'new century schoolbook', 'size' : 8, 'size2': 6, } #---------------------------------------------------------------------- class PythonSTC(stc.StyledTextCtrl): fold_symbols = 3 def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0): stc.StyledTextCtrl.__init__(self, parent, ID, pos, size, style) #self.CmdKeyAssign(ord('B'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMIN) #self.CmdKeyAssign(ord('N'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMOUT) self.SetLexer(stc.STC_LEX_PYTHON) self.SetKeyWords(0, " ".join(keyword.kwlist)) #self.SetProperty("fold", "1") #self.SetProperty("tab.timmy.whinge.level", "1") #self.SetMargins(0,0) #self.SetViewWhiteSpace(False) #self.SetBufferedDraw(False) #self.SetViewEOL(True) self.SetEOLMode(stc.STC_EOL_CRLF) #self.SetUseAntiAliasing(True) self.SetEdgeMode(stc.STC_EDGE_LINE) self.SetEdgeColumn(80) self.SetEdgeColour(wx.LIGHT_GREY) self.SetLayoutCache(stc.STC_CACHE_PAGE) # Setup a margin to hold fold markers #self.SetFoldFlags(16) ### WHAT IS THIS VALUE? WHAT ARE THE OTHER FLAGS? DOES IT MATTER? self.SetMarginType(2, stc.STC_MARGIN_SYMBOL) self.SetMarginMask(2, stc.STC_MASK_FOLDERS) self.SetMarginSensitive(2, True) self.SetMarginWidth(2, 12) if self.fold_symbols == 0: # Arrow pointing right for contracted folders, # arrow pointing down for expanded self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPEN, \ stc.STC_MARK_ARROWDOWN, "black", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDER, \ stc.STC_MARK_ARROW, "black", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERSUB, \ stc.STC_MARK_EMPTY, "black", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERTAIL, \ stc.STC_MARK_EMPTY, "black", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDEREND, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPENMID, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERMIDTAIL, \ stc.STC_MARK_EMPTY, "white", "black") elif self.fold_symbols == 1: # Plus for contracted folders, minus for expanded self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPEN, \ stc.STC_MARK_MINUS, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDER, \ stc.STC_MARK_PLUS, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERSUB, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERTAIL, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDEREND, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPENMID, \ stc.STC_MARK_EMPTY, "white", "black") self.MarkerDefine(stc.STC_MARKNUM_FOLDERMIDTAIL, \ stc.STC_MARK_EMPTY, "white", "black") elif self.fold_symbols == 2: # Like a flattened tree control using circular headers and curved joins self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPEN, \ stc.STC_MARK_CIRCLEMINUS, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDER, \ stc.STC_MARK_CIRCLEPLUS, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDERSUB, \ stc.STC_MARK_VLINE, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDERTAIL, \ stc.STC_MARK_LCORNERCURVE, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDEREND, \ stc.STC_MARK_CIRCLEPLUSCONNECTED, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPENMID, \ stc.STC_MARK_CIRCLEMINUSCONNECTED, "white", "#404040") self.MarkerDefine(stc.STC_MARKNUM_FOLDERMIDTAIL, \ stc.STC_MARK_TCORNERCURVE, "white", "#404040") elif self.fold_symbols == 3: # Like a flattened tree control using square headers self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPEN, \ stc.STC_MARK_BOXMINUS, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDER, \ stc.STC_MARK_BOXPLUS, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDERSUB, \ stc.STC_MARK_VLINE, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDERTAIL, \ stc.STC_MARK_LCORNER, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDEREND, \ stc.STC_MARK_BOXPLUSCONNECTED, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDEROPENMID, \ stc.STC_MARK_BOXMINUSCONNECTED, "white", "#808080") self.MarkerDefine(stc.STC_MARKNUM_FOLDERMIDTAIL, \ stc.STC_MARK_TCORNER, "white", "#808080") self.Bind(stc.EVT_STC_UPDATEUI, self.OnUpdateUI) self.Bind(stc.EVT_STC_MARGINCLICK, self.OnMarginClick) self.Bind(wx.EVT_KEY_DOWN, self.OnKeyPressed) # Make some styles, The lexer defines what each style is used for, we # just have to define what each style looks like. This set is adapted from # Scintilla sample property files. # Global default styles for all languages self.StyleSetSpec(stc.STC_STYLE_DEFAULT, "face:%(helv)s,size:%(size)d" % faces) self.StyleClearAll() # Reset all to be like the default # Global default styles for all languages self.StyleSetSpec(stc.STC_STYLE_DEFAULT, "face:%(helv)s,size:%(size)d" % faces) self.StyleSetSpec(stc.STC_STYLE_LINENUMBER, "back:#C0C0C0,face:%(helv)s,size:%(size2)d" % faces) self.StyleSetSpec(stc.STC_STYLE_CONTROLCHAR, "face:%(other)s" % faces) self.StyleSetSpec(stc.STC_STYLE_BRACELIGHT, "fore:#FFFFFF,back:#0000FF,bold") self.StyleSetSpec(stc.STC_STYLE_BRACEBAD, "fore:#000000,back:#FF0000,bold") # Python styles # Default self.StyleSetSpec(stc.STC_P_DEFAULT, "fore:#000000,face:%(helv)s,size:%(size)d" % faces) # Comments self.StyleSetSpec(stc.STC_P_COMMENTLINE, "fore:#007F00,face:%(other)s,size:%(size)d" % faces) # Number self.StyleSetSpec(stc.STC_P_NUMBER, "fore:#007F7F,size:%(size)d" % faces) # String self.StyleSetSpec(stc.STC_P_STRING, "fore:#7F007F,face:%(helv)s,size:%(size)d" % faces) # Single quoted string self.StyleSetSpec(stc.STC_P_CHARACTER, "fore:#7F007F,face:%(helv)s,size:%(size)d" % faces) # Keyword self.StyleSetSpec(stc.STC_P_WORD, "fore:#00007F,bold,size:%(size)d" % faces) # Triple quotes self.StyleSetSpec(stc.STC_P_TRIPLE, "fore:#7F0000,size:%(size)d" % faces) # Triple double quotes self.StyleSetSpec(stc.STC_P_TRIPLEDOUBLE, "fore:#7F0000,size:%(size)d" % faces) # Class name definition self.StyleSetSpec(stc.STC_P_CLASSNAME, "fore:#0000FF,bold,underline,size:%(size)d" % faces) # Function or method name definition self.StyleSetSpec(stc.STC_P_DEFNAME, "fore:#007F7F,bold,size:%(size)d" % faces) # Operators self.StyleSetSpec(stc.STC_P_OPERATOR, "bold,size:%(size)d" % faces) # Identifiers self.StyleSetSpec(stc.STC_P_IDENTIFIER, "fore:#000000,face:%(helv)s,size:%(size)d" % faces) # Comment-blocks self.StyleSetSpec(stc.STC_P_COMMENTBLOCK, "fore:#7F7F7F,size:%(size)d" % faces) # End of line where string is not closed self.StyleSetSpec(stc.STC_P_STRINGEOL, "fore:#000000,face:%(mono)s,back:#E0C0E0,eol,size:%(size)d" % faces) self.SetCaretForeground("BLUE") # register some images for use in the AutoComplete box. #self.RegisterImage(1, images.getSmilesBitmap()) #self.RegisterImage(2, # wx.ArtProvider.GetBitmap(wx.ART_NEW, size=(16,16))) #self.RegisterImage(3, # wx.ArtProvider.GetBitmap(wx.ART_COPY, size=(16,16))) def OnKeyPressed(self, event): if self.CallTipActive(): self.CallTipCancel() key = event.GetKeyCode() if key == 32 and event.ControlDown(): pos = self.GetCurrentPos() # Tips if event.ShiftDown(): self.CallTipSetBackground("yellow") self.CallTipShow(pos, 'lots of of text: blah, blah, blah\n\n' 'show some suff, maybe parameters..\n\n' 'fubar(param1, param2)') # Code completion else: #lst = [] #for x in range(50000): # lst.append('%05d' % x) #st = " ".join(lst) #print len(st) #self.AutoCompShow(0, st) kw = keyword.kwlist[:] kw.sort() # Python sorts are case sensitive self.AutoCompSetIgnoreCase(False) # so this needs to match # Images are specified with a appended "?type" for i in range(len(kw)): if kw[i] in keyword.kwlist: kw[i] = kw[i]# + "?1" self.AutoCompShow(0, " ".join(kw)) else: event.Skip() def OnUpdateUI(self, evt): # check for matching braces braceAtCaret = -1 braceOpposite = -1 charBefore = None caretPos = self.GetCurrentPos() if caretPos > 0: charBefore = self.GetCharAt(caretPos - 1) styleBefore = self.GetStyleAt(caretPos - 1) # check before if charBefore and chr(charBefore) in "[]{}()" and styleBefore == stc.STC_P_OPERATOR: braceAtCaret = caretPos - 1 # check after if braceAtCaret < 0: charAfter = self.GetCharAt(caretPos) styleAfter = self.GetStyleAt(caretPos) if charAfter and chr(charAfter) in "[]{}()" and styleAfter == stc.STC_P_OPERATOR: braceAtCaret = caretPos if braceAtCaret >= 0: braceOpposite = self.BraceMatch(braceAtCaret) if braceAtCaret != -1 and braceOpposite == -1: self.BraceBadLight(braceAtCaret) else: self.BraceHighlight(braceAtCaret, braceOpposite) #pt = self.PointFromPosition(braceOpposite) #self.Refresh(True, wxRect(pt.x, pt.y, 5,5)) #print pt #self.Refresh(False) def OnMarginClick(self, evt): # fold and unfold as needed if evt.GetMargin() == 2: if evt.GetShift() and evt.GetControl(): self.FoldAll() else: lineClicked = self.LineFromPosition(evt.GetPosition()) if self.GetFoldLevel(lineClicked) & stc.STC_FOLDLEVELHEADERFLAG: if evt.GetShift(): self.SetFoldExpanded(lineClicked, True) self.Expand(lineClicked, True, True, 1) elif evt.GetControl(): if self.GetFoldExpanded(lineClicked): self.SetFoldExpanded(lineClicked, False) self.Expand(lineClicked, False, True, 0) else: self.SetFoldExpanded(lineClicked, True) self.Expand(lineClicked, True, True, 100) else: self.ToggleFold(lineClicked) def FoldAll(self): lineCount = self.GetLineCount() expanding = True # find out if we are folding or unfolding for lineNum in range(lineCount): if self.GetFoldLevel(lineNum) & stc.STC_FOLDLEVELHEADERFLAG: expanding = not self.GetFoldExpanded(lineNum) break lineNum = 0 while lineNum < lineCount: level = self.GetFoldLevel(lineNum) if level & stc.STC_FOLDLEVELHEADERFLAG and \ (level & stc.STC_FOLDLEVELNUMBERMASK) == stc.STC_FOLDLEVELBASE: if expanding: self.SetFoldExpanded(lineNum, True) lineNum = self.Expand(lineNum, True) lineNum = lineNum - 1 else: lastChild = self.GetLastChild(lineNum, -1) self.SetFoldExpanded(lineNum, False) if lastChild > lineNum: self.HideLines(lineNum+1, lastChild) lineNum = lineNum + 1 def Expand(self, line, doExpand, force=False, visLevels=0, level=-1): lastChild = self.GetLastChild(line, level) line = line + 1 while line <= lastChild: if force: if visLevels > 0: self.ShowLines(line, line) else: self.HideLines(line, line) else: if doExpand: self.ShowLines(line, line) if level == -1: level = self.GetFoldLevel(line) if level & stc.STC_FOLDLEVELHEADERFLAG: if force: if visLevels > 1: self.SetFoldExpanded(line, True) else: self.SetFoldExpanded(line, False) line = self.Expand(line, doExpand, force, visLevels-1) else: if doExpand and self.GetFoldExpanded(line): line = self.Expand(line, True, force, visLevels-1) else: line = self.Expand(line, False, force, visLevels-1) else: line = line + 1 return line #----------------------------------------------------------------------
unknown
codeparrot/codeparrot-clean
# -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. import errno import os import tempfile class Pidfile(object): """\ Manage a PID file. If a specific name is provided it and '"%s.oldpid" % name' will be used. Otherwise we create a temp file using os.mkstemp. """ def __init__(self, fname): self.fname = fname self.pid = None def create(self, pid): oldpid = self.validate() if oldpid: if oldpid == os.getpid(): return msg = "Already running on PID %s (or pid file '%s' is stale)" raise RuntimeError(msg % (oldpid, self.fname)) self.pid = pid # Write pidfile fdir = os.path.dirname(self.fname) if fdir and not os.path.isdir(fdir): raise RuntimeError("%s doesn't exist. Can't create pidfile." % fdir) fd, fname = tempfile.mkstemp(dir=fdir) os.write(fd, ("%s\n" % self.pid).encode('utf-8')) if self.fname: os.rename(fname, self.fname) else: self.fname = fname os.close(fd) # set permissions to -rw-r--r-- os.chmod(self.fname, 420) def rename(self, path): self.unlink() self.fname = path self.create(self.pid) def unlink(self): """ delete pidfile""" try: with open(self.fname, "r") as f: pid1 = int(f.read() or 0) if pid1 == self.pid: os.unlink(self.fname) except: pass def validate(self): """ Validate pidfile and make it stale if needed""" if not self.fname: return try: with open(self.fname, "r") as f: try: wpid = int(f.read()) except ValueError: return try: os.kill(wpid, 0) return wpid except OSError as e: if e.args[0] == errno.ESRCH: return raise except IOError as e: if e.args[0] == errno.ENOENT: return raise
unknown
codeparrot/codeparrot-clean
#!ruby require "pathname" require "open3" Pathname.glob("**/*.gcda").sort.each do |gcda| if gcda.fnmatch("ext/*") cwd, gcda = gcda.split.map {|s| s.to_s } objdir = "." elsif gcda.fnmatch("rubyspec_temp/*") next else cwd, objdir, gcda = ".", gcda.dirname.to_s, gcda.to_s end puts "$ gcov -lpbc -o #{ objdir } #{ gcda }" out, err, _status = Open3.capture3("gcov", "-lpbc", "-o", objdir, gcda, chdir: cwd) puts out puts err # a black list of source files that contains wrong #line directives if err !~ %r( \A( Cannot\ open\ source\ file\ ( defs/keywords |zonetab\.list |enc/jis/props\.kwd |parser\.c |parser\.rl )\n )*\z )x raise "Unexpected gcov output" end if out !~ %r( \A( File\ .*\nLines\ executed:.*\n ( Branches\ executed:.*\n Taken\ at\ least\ once:.*\n | No\ branches\n )? ( Calls\ executed:.*\n | No\ calls\n )? Creating\ .*\n \n )+ (Lines\ executed:.*\n)?\z )x raise "Unexpected gcov output" end end
ruby
github
https://github.com/ruby/ruby
tool/run-gcov.rb
""" Generally useful functions and classes used in this package. """ from collections import OrderedDict ################################################################################ # dict related def merge_dicts(*args, **kwargs): """ Merge dictionaries. Values in later args override former with the same key. kwargs always override. .. testsetup:: from figura.misc import merge_dicts >>> sorted(merge_dicts({'a':1, 'b':2}, {'b':22, 'c':33, 'd':44}, d=444).items()) [('a', 1), ('b', 22), ('c', 33), ('d', 444)] """ if not args: args = ({}, ) d = args[0].copy() for arg in args[1:]: # order-perserving: if type(arg)==OrderedDict, we assume the # caller wants to preserve the order of the items in the ordered dict if isinstance(arg, OrderedDict) and not isinstance(d, OrderedDict): d = OrderedDict(d) # preserve order from now on d.update(arg) d.update(kwargs) return d class Struct(dict): """ A struct-like object. Can be thought of as a dict which also allows accessing its items using attribute-access:: > x = Struct(a=3, b='bbb') > x {'a': 3, 'b': 'bbb'} > x.a 3 > x.a = 5 > x.a 5 > x.c AttributeError: 'Struct' object has no attribute 'c' > x.c = 5 > x.c 5 """ # a simpler implementation would use: # self.__dict__ = self # but this can potentially leak memory under some python versions # (http://stackoverflow.com/questions/8687904/circular-referenced-objects-not-getting-garbage-collected) def __getattr__(self, k): try: return self[k] except KeyError: raise AttributeError(k) from None def __setattr__(self, k, v): self[k] = v def __delattr__(self, k): del self[k] def copy(self): return type(self)(self) def __dir__(self): return dir({}) + list(self.keys()) ################################################################################ # attribute access tricks def deep_getattr(x, attr_path, *args, **kwargs): """ ``deep_getattr(x, 'a.b.c')`` --> ``getattr(getattr(getattr(x, 'a'), 'b'), 'c')`` """ try: return _deep_attr_operator(getattr, x, attr_path, *args, **kwargs) except AttributeError: # if a default value is provided, return it if args: default_value, = args return default_value raise def deep_setattr(x, attr_path, value, **kwargs): """ ``deep_setattr(x, 'a.b.c', y)`` --> ``setattr(getattr(getattr(x, 'a'), 'b'), 'c', y)`` """ return _deep_attr_operator(setattr, x, attr_path, value, **kwargs) def _deep_attr_operator(func, x, attr_path, *args, **kwargs): auto_constructor = kwargs.pop('auto_constructor', None) key_normalizer = kwargs.pop('key_normalizer', lambda x: x) assert not kwargs, kwargs while True: attr, delim, rest = attr_path.partition('.') attr = key_normalizer(attr) if not delim: # deepest level -- apply func: return func(x, attr, *args) # go one level deeper: try: x = getattr(x, attr) except AttributeError: if auto_constructor is not None: setattr(x, attr, auto_constructor()) x = getattr(x, attr) else: raise attr_path = rest ################################################################################
unknown
codeparrot/codeparrot-clean
// // Code generated by grafana-app-sdk. DO NOT EDIT. // package v0alpha1 import ( "github.com/grafana/grafana-app-sdk/resource" ) // schema is unexported to prevent accidental overwrites var ( schemaCheck = resource.NewSimpleSchema("advisor.grafana.app", "v0alpha1", NewCheck(), &CheckList{}, resource.WithKind("Check"), resource.WithPlural("checks"), resource.WithScope(resource.NamespacedScope)) kindCheck = resource.Kind{ Schema: schemaCheck, Codecs: map[resource.KindEncoding]resource.Codec{ resource.KindEncodingJSON: &CheckJSONCodec{}, }, } ) // Kind returns a resource.Kind for this Schema with a JSON codec func CheckKind() resource.Kind { return kindCheck } // Schema returns a resource.SimpleSchema representation of Check func CheckSchema() *resource.SimpleSchema { return schemaCheck } // Interface compliance checks var _ resource.Schema = kindCheck
go
github
https://github.com/grafana/grafana
apps/advisor/pkg/apis/advisor/v0alpha1/check_schema_gen.go
// Copyright IBM Corp. 2016, 2025 // SPDX-License-Identifier: BUSL-1.1 package consul const ( ObservationTypeConsulConfigAccessWrite = "consul/config/access/write" ObservationTypeConsulConfigAccessRead = "consul/config/access/read" ObservationTypeConsulRoleWrite = "consul/role/write" ObservationTypeConsulRoleRead = "consul/role/read" ObservationTypeConsulRoleDelete = "consul/role/delete" ObservationTypeConsulTokenRead = "consul/token/read" ObservationTypeConsulCredentialRenew = "consul/credential/renew" ObservationTypeConsulCredentialRevoke = "consul/credential/revoke" )
go
github
https://github.com/hashicorp/vault
builtin/logical/consul/observation_consts.go
import unittest from malcolm.core import Controller, Process from malcolm.modules.builtin.parts import ChoicePart class TestChoicePart(unittest.TestCase): def setUp(self): self.o = ChoicePart( name="cp", description="desc", choices=["a", "b"], value="a", writeable=True ) self.c = Controller("mri") self.c.add_part(self.o) self.c.setup(Process("proc")) def test_init(self): assert self.o.name == "cp" assert self.o.attr.value == "a" assert self.o.attr.meta.description == "desc" assert self.o.attr.meta.choices == ["a", "b"] assert self.o.attr.meta.tags == ["widget:combo", "config:1"] assert self.c.field_registry.fields[self.o] == [ ("cp", self.o.attr, self.o.attr.set_value, False) ] def test_setter(self): assert self.o.attr.value == "a" self.o.attr.set_value("b") assert self.o.attr.value == "b" with self.assertRaises(ValueError): self.o.attr.set_value("c")
unknown
codeparrot/codeparrot-clean
# Copyright 2017 The TensorFlow Authors. 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. # ============================================================================== """Abstractions for the head(s) of a model.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import six from tensorflow.python.estimator import model_fn from tensorflow.python.estimator.canned import metric_keys from tensorflow.python.estimator.canned import prediction_keys from tensorflow.python.estimator.export import export_output from tensorflow.python.feature_column import feature_column as feature_column_lib from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.framework import sparse_tensor from tensorflow.python.ops import array_ops from tensorflow.python.ops import check_ops from tensorflow.python.ops import logging_ops from tensorflow.python.ops import lookup_ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import metrics as metrics_lib from tensorflow.python.ops import nn from tensorflow.python.ops import string_ops from tensorflow.python.ops import variable_scope from tensorflow.python.ops import weights_broadcast_ops from tensorflow.python.ops.losses import losses from tensorflow.python.platform import tf_logging as logging from tensorflow.python.saved_model import signature_constants _DEFAULT_SERVING_KEY = signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY class _Head(object): """Interface for the head/top of a model. Given logits (or output of a hidden layer), a Head knows how to compute predictions, loss, train_op, metrics and export outputs. It is meant to: 1. Simplify writing model_fn and to make model_fn more configurable 2. Support wide range of machine learning models. Since most heads can work with logits, they can support DNN, RNN, Wide, Wide&Deep, Global objectives, Gradient boosted trees and many other types of machine learning models. Common usage: Here is simplified model_fn to build a DNN regression model. ```python def _my_dnn_model_fn(features, labels, mode, params, config=None): # Optionally your callers can pass head to model_fn as a param. head = tf.contrib.learn.regression_head(...) input = tf.contrib.layers.input_from_feature_columns(features, ...) last_hidden_layer_out = tf.contrib.layers.stack( input, tf.contrib.layers.fully_connected, [1000, 500]) logits = tf.contrib.layers.fully_connected( last_hidden_layer_out, head.logits_dimension, activation_fn=None) def _train_op_fn(loss): return optimizer.minimize(loss) return head.create_estimator_spec( features=features, labels=labels, mode=mode, logits=logits, train_op_fn=_train_op_fn) ``` There are cases where computing and applying gradients can not be meaningfully captured with train_op_fn we support (for example, with sync optimizer). In such case, you can take the responsibility on your own. Here is a common use case, ```python estimator_spec = head.create_estimator_spec( features=features, labels=labels, mode=mode, logits=logits, train_op_fn=tf.contrib.learn.no_op_train_fn) if mode == model_fn.ModeKeys.TRAIN: optimizer = ... sync = tf.train.SyncReplicasOptimizer(opt=optimizer, ...) update_op = tf.contrib.layers.optimize_loss(optimizer=sync, loss=estimator_spec.loss, ...) hooks = [sync.make_session_run_hook(is_chief)] ... upate train_op and hooks in EstimatorSpec and return ``` """ __metaclass__ = abc.ABCMeta @abc.abstractproperty def logits_dimension(self): """Size of the last dimension of the logits `Tensor`. Typically, logits is of shape `[batch_size, logits_dimension]`. Returns: The expected size of the `logits` tensor. """ raise NotImplementedError('Calling an abstract method.') @abc.abstractmethod def create_estimator_spec( self, features, mode, logits, labels=None, train_op_fn=None): """Returns `EstimatorSpec` that a model_fn can return. Please note that, + Exactly one of `logits` and `logits_input` must be provided. + All args must be passed via name. Args: features: Input `dict` of `Tensor` objects. mode: Estimator's `ModeKeys`. logits: logits `Tensor` to be used by the head. labels: Labels `Tensor`, or `dict` of same. train_op_fn: Function that takes a scalar loss `Tensor` and returns an op to optimize the model with the loss. This is used in TRAIN mode and must not be None. None is allowed in other modes. If you want to optimize loss yourself you can pass `no_op_train_fn` and then use EstimatorSpec.loss to compute and apply gradients. Returns: `EstimatorSpec`. """ raise NotImplementedError('Calling an abstract method.') def _maybe_expand_dim(tensor): """Expand the dim of `tensor` with static rank 1.""" with ops.name_scope(None, 'maybe_expand_dim', (tensor,)): tensor = sparse_tensor.convert_to_tensor_or_sparse_tensor(tensor) if isinstance(tensor, sparse_tensor.SparseTensor): raise ValueError('SparseTensor labels are not supported.') static_shape = tensor.shape if static_shape is None: return tensor return (array_ops.expand_dims(tensor, -1) if static_shape.ndims == 1 else tensor) def _check_labels(labels, expected_labels_dimension): """Check labels type and shape.""" with ops.name_scope(None, 'labels', (labels,)) as scope: labels = sparse_tensor.convert_to_tensor_or_sparse_tensor(labels) if isinstance(labels, sparse_tensor.SparseTensor): raise ValueError('SparseTensor labels are not supported.') labels_shape = array_ops.shape(labels) err_msg = 'labels shape must be [batch_size, {}]'.format( expected_labels_dimension) assert_rank = check_ops.assert_rank(labels, 2, message=err_msg) with ops.control_dependencies([assert_rank]): static_shape = labels.shape if static_shape is not None: dim1 = static_shape[1] if (dim1 is not None) and (dim1 != expected_labels_dimension): raise ValueError( 'labels shape must be [batch_size, labels_dimension], got %s.' % (static_shape,)) assert_dimension = check_ops.assert_equal( expected_labels_dimension, labels_shape[1], message=err_msg) with ops.control_dependencies([assert_dimension]): return array_ops.identity(labels, name=scope) def _check_logits(logits, expected_logits_dimension): """Check logits type and shape.""" with ops.name_scope(None, 'logits', (logits,)) as scope: logits = math_ops.to_float(logits) logits_shape = array_ops.shape(logits) assert_rank = check_ops.assert_rank( logits, 2, data=[logits_shape], message='logits shape must be [batch_size, logits_dimension]') with ops.control_dependencies([assert_rank]): static_shape = logits.shape if static_shape is not None: dim1 = static_shape[1] if (dim1 is not None) and (dim1 != expected_logits_dimension): raise ValueError( 'logits shape must be [batch_size, logits_dimension], got %s.' % (static_shape,)) assert_dimension = check_ops.assert_equal( expected_logits_dimension, logits_shape[1], data=[logits_shape], message='logits shape must be [batch_size, logits_dimension]') with ops.control_dependencies([assert_dimension]): return array_ops.identity(logits, name=scope) def _indicator_labels_mean(labels, weights=None, name=None): with ops.name_scope(name, 'labels_mean', (labels, weights)) as scope: labels = math_ops.to_float(labels, name='labels') if weights is not None: weights = weights_broadcast_ops.broadcast_weights(weights, labels) return metrics_lib.mean(labels, weights=weights, name=scope) def _accuracy_baseline(labels_mean): """Return accuracy baseline based on labels mean. This is the best the model could do by always predicting one class. Args: labels_mean: Tuple of value and update op. Returns: Tuple of value and update op. """ with ops.name_scope(None, 'accuracy_baseline', labels_mean): value, update_op = labels_mean return ( math_ops.maximum(value, 1. - value, name='value'), math_ops.maximum(update_op, 1 - update_op, name='update_op')) def _predictions_mean(predictions, weights=None, name=None): with ops.name_scope( name, 'predictions_mean', (predictions, weights)) as scope: predictions = math_ops.to_float(predictions, name='predictions') if weights is not None: weights = weights_broadcast_ops.broadcast_weights(weights, predictions) return metrics_lib.mean(predictions, weights=weights, name=scope) def _auc(labels, predictions, weights=None, curve='ROC', name=None): with ops.name_scope(name, 'auc', (predictions, labels, weights)) as scope: predictions = math_ops.to_float(predictions, name='predictions') if labels.dtype.base_dtype != dtypes.bool: logging.warning('Casting %s labels to bool.', labels.dtype) labels = math_ops.cast(labels, dtypes.bool) if weights is not None: weights = weights_broadcast_ops.broadcast_weights(weights, predictions) return metrics_lib.auc( labels=labels, predictions=predictions, weights=weights, curve=curve, name=scope) def _accuracy_at_threshold(labels, predictions, weights, threshold, name=None): with ops.name_scope( name, 'accuracy_at_%s' % threshold, (predictions, labels, weights, threshold)) as scope: threshold_predictions = math_ops.to_float( math_ops.greater_equal(predictions, threshold)) return metrics_lib.accuracy( labels=labels, predictions=threshold_predictions, weights=weights, name=scope) def _precision_at_threshold(labels, predictions, weights, threshold, name=None): with ops.name_scope( name, 'precision_at_%s' % threshold, (predictions, labels, weights, threshold)) as scope: precision_tensor, update_op = metrics_lib.precision_at_thresholds( labels=labels, predictions=predictions, thresholds=(threshold,), weights=weights, name=scope) return array_ops.squeeze(precision_tensor), array_ops.squeeze(update_op) def _recall_at_threshold(labels, predictions, weights, threshold, name=None): with ops.name_scope( name, 'recall_at_%s' % threshold, (predictions, labels, weights, threshold)) as scope: precision_tensor, update_op = metrics_lib.recall_at_thresholds( labels=labels, predictions=predictions, thresholds=(threshold,), weights=weights, name=scope) return array_ops.squeeze(precision_tensor), array_ops.squeeze(update_op) def _multi_class_head_with_softmax_cross_entropy_loss(n_classes, weight_column=None, label_vocabulary=None): """Creates a '_Head' for multi class classification. This head expects to be fed integer labels specifying the class index. Args: n_classes: Number of classes, must be greater than 2 (for 2 classes, use `_BinaryLogisticHeadWithSigmoidCrossEntropyLoss`). weight_column: A string or a `_NumericColumn` created by `tf.feature_column.numeric_column` defining feature column representing weights. It is used to down weight or boost examples during training. It will be multiplied by the loss of the example. label_vocabulary: A list of strings represents possible label values. If it is not given, that means labels are already encoded as integer within [0, n_classes). If given, labels must be string type and have any value in `label_vocabulary`. Also there will be errors if vocabulary is not provided and labels are string. Returns: An instance of `_Head` for multi class classification. Raises: ValueError: if `n_classes`, `metric_class_ids` or `label_keys` is invalid. """ if label_vocabulary is not None and not isinstance(label_vocabulary, (list, tuple)): raise ValueError('label_vocabulary should be a list. Given type: {}'.format( type(label_vocabulary))) return _MultiClassHeadWithSoftmaxCrossEntropyLoss(n_classes, weight_column, label_vocabulary) class _MultiClassHeadWithSoftmaxCrossEntropyLoss(_Head): """See `_multi_class_head_with_softmax_cross_entropy_loss`.""" def __init__(self, n_classes, weight_column=None, label_vocabulary=None): if (n_classes is None) or (n_classes <= 2): raise ValueError('n_classes must be > 2: %s.' % n_classes) self._n_classes = n_classes self._weight_column = weight_column self._label_vocabulary = label_vocabulary @property def logits_dimension(self): return self._n_classes def _eval_metric_ops(self, labels, probabilities, logits, class_ids, weights, unweighted_loss): """Returns the Eval metric ops.""" with ops.name_scope( None, 'metrics', (labels, probabilities, logits, class_ids, weights, unweighted_loss)): keys = metric_keys.MetricKeys metric_ops = { # Estimator already adds a metric for loss. # TODO(xiejw): Any other metrics? keys.LOSS_MEAN: metrics_lib.mean( unweighted_loss, weights=weights, name=keys.LOSS_MEAN), keys.ACCURACY: metrics_lib.accuracy( labels=labels, predictions=class_ids, weights=weights, name=keys.ACCURACY), } return metric_ops def _label_ids(self, labels): """Converts labels to integer id space.""" if self._label_vocabulary is None: if not labels.dtype.is_integer: raise ValueError('Labels dtype should be integer ' 'Instead got %s.' % labels.dtype) label_ids = labels else: if labels.dtype != dtypes.string: raise ValueError('Labels dtype should be string if there is a ' 'vocabulary. Instead got {}'.format(labels.dtype)) label_ids = lookup_ops.index_table_from_tensor( vocabulary_list=tuple(self._label_vocabulary), name='class_id_lookup').lookup(labels) return _assert_range(label_ids, self._n_classes) def create_estimator_spec( self, features, mode, logits, labels=None, train_op_fn=None): """See `Head`.""" with variable_scope.variable_scope( None, default_name='multi_class_head', values=(tuple(six.itervalues(features)) + (labels, logits))): logits = _check_logits(logits, self.logits_dimension) # Predict. pred_keys = prediction_keys.PredictionKeys with ops.name_scope(None, 'predictions', (logits,)): # class_ids's shape is [batch_size] class_ids = math_ops.argmax(logits, 1, name=pred_keys.CLASS_IDS) class_ids = array_ops.expand_dims(class_ids, axis=(1,)) if self._label_vocabulary: table = lookup_ops.index_to_string_table_from_tensor( vocabulary_list=self._label_vocabulary, name='class_string_lookup') classes = table.lookup(class_ids) else: classes = string_ops.as_string(class_ids, name='str_classes') probabilities = nn.softmax(logits, name=pred_keys.PROBABILITIES) predictions = { pred_keys.LOGITS: logits, pred_keys.PROBABILITIES: probabilities, # Expand to [batch_size, 1] pred_keys.CLASS_IDS: class_ids, pred_keys.CLASSES: classes, } if mode == model_fn.ModeKeys.PREDICT: batch_size = array_ops.shape(probabilities)[0] export_class_list = self._label_vocabulary if not export_class_list: export_class_list = string_ops.as_string( math_ops.range(self._n_classes)) export_output_classes = array_ops.tile( input=array_ops.expand_dims(input=export_class_list, axis=0), multiples=[batch_size, 1]) return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.PREDICT, predictions=predictions, export_outputs={ '': export_output.ClassificationOutput( scores=probabilities, # `ClassificationOutput` requires string classes. classes=export_output_classes) }) # Eval. label_ids = self._label_ids(_check_labels(_maybe_expand_dim(labels), 1)) unweighted_loss = losses.sparse_softmax_cross_entropy( labels=label_ids, logits=logits, reduction=losses.Reduction.NONE) # Restore the squeezed dim, so unweighted_loss matches the weights shape. unweighted_loss = array_ops.expand_dims(unweighted_loss, axis=(1,)) weights = _weights(features, self._weight_column) training_loss = losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.SUM) if mode == model_fn.ModeKeys.EVAL: return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.EVAL, predictions=predictions, loss=training_loss, eval_metric_ops=self._eval_metric_ops( labels=label_ids, probabilities=probabilities, logits=logits, class_ids=class_ids, unweighted_loss=unweighted_loss, weights=weights)) # Train. if train_op_fn is None: raise ValueError('train_op_fn can not be None.') logging_ops.scalar_summary(metric_keys.MetricKeys.LOSS, training_loss) logging_ops.scalar_summary( metric_keys.MetricKeys.LOSS_MEAN, losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.MEAN)) return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.TRAIN, predictions=predictions, loss=training_loss, train_op=train_op_fn(training_loss)) def _binary_logistic_head_with_sigmoid_cross_entropy_loss( weight_column=None, thresholds=None, label_vocabulary=None): """Creates a `Head` for single label binary classification. This head uses `sigmoid_cross_entropy_with_logits` loss. This head expects to be fed float labels of shape `(batch_size, 1)`. Args: weight_column: A string or a `_NumericColumn` created by `tf.feature_column.numeric_column` defining feature column representing weights. It is used to down weight or boost examples during training. It will be multiplied by the loss of the example. thresholds: Iterable of floats in the range `(0, 1)`. For binary classification metrics such as precision and recall, an eval metric is generated for each threshold value. This threshold is applied to the logistic values to determine the binary classification (i.e., above the threshold is `true`, below is `false`. label_vocabulary: A list of strings represents possible label values. If it is not given, that means labels are already encoded within [0, 1]. If given, labels must be string type and have any value in `label_vocabulary`. Also there will be errors if vocabulary is not provided and labels are string. Returns: An instance of `Head` for binary classification. Raises: ValueError: if `thresholds` contains a value outside of `(0, 1)`. """ thresholds = tuple(thresholds) if thresholds else tuple() if label_vocabulary is not None and not isinstance(label_vocabulary, (list, tuple)): raise ValueError('label_vocabulary should be a list. Given type: {}'.format( type(label_vocabulary))) for threshold in thresholds: if (threshold <= 0.0) or (threshold >= 1.0): raise ValueError('thresholds not in (0, 1): %s.' % (thresholds,)) return _BinaryLogisticHeadWithSigmoidCrossEntropyLoss( weight_column=weight_column, thresholds=thresholds, label_vocabulary=label_vocabulary) class _BinaryLogisticHeadWithSigmoidCrossEntropyLoss(_Head): """See `_binary_logistic_head_with_sigmoid_cross_entropy_loss`.""" def __init__(self, weight_column=None, thresholds=None, label_vocabulary=None): self._weight_column = weight_column self._thresholds = thresholds self._label_vocabulary = label_vocabulary @property def logits_dimension(self): return 1 def _eval_metric_ops(self, labels, logits, logistic, scores, class_ids, unweighted_loss, weights=None): with ops.name_scope(None, 'metrics', (labels, logits, logistic, scores, class_ids, unweighted_loss, weights)): keys = metric_keys.MetricKeys labels_mean = _indicator_labels_mean( labels=labels, weights=weights, name=keys.LABEL_MEAN) metric_ops = { # Estimator already adds a metric for loss. keys.LOSS_MEAN: metrics_lib.mean( unweighted_loss, weights=weights, name=keys.LOSS_MEAN), keys.ACCURACY: metrics_lib.accuracy( labels=labels, predictions=class_ids, weights=weights, name=keys.ACCURACY), keys.PREDICTION_MEAN: _predictions_mean( predictions=logistic, weights=weights, name=keys.PREDICTION_MEAN), keys.LABEL_MEAN: labels_mean, keys.ACCURACY_BASELINE: _accuracy_baseline(labels_mean), keys.AUC: _auc( labels=labels, predictions=logistic, weights=weights, name=keys.AUC), keys.AUC_PR: _auc( labels=labels, predictions=logistic, weights=weights, curve='PR', name=keys.AUC_PR) } for threshold in self._thresholds: accuracy_key = keys.ACCURACY_AT_THRESHOLD % threshold metric_ops[accuracy_key] = _accuracy_at_threshold( labels=labels, predictions=logistic, weights=weights, threshold=threshold, name=accuracy_key) # Precision for positive examples. precision_key = keys.PRECISION_AT_THRESHOLD % threshold metric_ops[precision_key] = _precision_at_threshold( labels=labels, predictions=logistic, weights=weights, threshold=threshold, name=precision_key) # Recall for positive examples. recall_key = keys.RECALL_AT_THRESHOLD % threshold metric_ops[recall_key] = _recall_at_threshold( labels=labels, predictions=logistic, weights=weights, threshold=threshold, name=recall_key) return metric_ops def create_estimator_spec( self, features, mode, logits, labels=None, train_op_fn=None): """See `Head`.""" with variable_scope.variable_scope( None, default_name='binary_logistic_head', values=(tuple(six.itervalues(features)) + (labels, logits))): # Predict. pred_keys = prediction_keys.PredictionKeys logits = _check_logits(logits, self.logits_dimension) logistic = math_ops.sigmoid(logits, name=pred_keys.LOGISTIC) two_class_logits = array_ops.concat( (array_ops.zeros_like(logits), logits), 1, name='two_class_logits') scores = nn.softmax(two_class_logits, name=pred_keys.PROBABILITIES) class_ids = array_ops.reshape( math_ops.argmax(two_class_logits, axis=1), (-1, 1), name='classes') if self._label_vocabulary: table = lookup_ops.index_to_string_table_from_tensor( vocabulary_list=self._label_vocabulary, name='class_string_lookup') classes = table.lookup(class_ids) else: classes = string_ops.as_string(class_ids, name='str_classes') predictions = { pred_keys.LOGITS: logits, pred_keys.LOGISTIC: logistic, pred_keys.PROBABILITIES: scores, pred_keys.CLASS_IDS: class_ids, pred_keys.CLASSES: classes, } if mode == model_fn.ModeKeys.PREDICT: batch_size = array_ops.shape(logistic)[0] export_class_list = self._label_vocabulary if not export_class_list: export_class_list = string_ops.as_string([0, 1]) export_output_classes = array_ops.tile( input=array_ops.expand_dims(input=export_class_list, axis=0), multiples=[batch_size, 1]) classifier_output = export_output.ClassificationOutput( scores=scores, # `ClassificationOutput` requires string classes. classes=export_output_classes) return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.PREDICT, predictions=predictions, export_outputs={ '': classifier_output, # to be same as other heads. 'classification': classifier_output, # to be called by name. _DEFAULT_SERVING_KEY: classifier_output, # default 'regression': export_output.RegressionOutput(value=logistic) }) # Eval. labels = _check_labels(_maybe_expand_dim(labels), self.logits_dimension) if self._label_vocabulary is not None: labels = lookup_ops.index_table_from_tensor( vocabulary_list=tuple(self._label_vocabulary), name='class_id_lookup').lookup(labels) labels = math_ops.to_float(labels) labels = _assert_range(labels, 2) unweighted_loss = nn.sigmoid_cross_entropy_with_logits( labels=labels, logits=logits, name='loss') weights = _weights(features, self._weight_column) training_loss = losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.SUM) if mode == model_fn.ModeKeys.EVAL: return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.EVAL, predictions=predictions, loss=training_loss, eval_metric_ops=self._eval_metric_ops( labels=labels, logits=logits, logistic=logistic, scores=scores, class_ids=class_ids, unweighted_loss=unweighted_loss, weights=weights)) # Train. if train_op_fn is None: raise ValueError('train_op_fn can not be None.') logging_ops.scalar_summary(metric_keys.MetricKeys.LOSS, training_loss) logging_ops.scalar_summary( metric_keys.MetricKeys.LOSS_MEAN, losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.MEAN)) return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.TRAIN, predictions=predictions, loss=training_loss, train_op=train_op_fn(training_loss)) def _regression_head_with_mean_squared_error_loss(weight_column=None, label_dimension=1): """Creates a `_Head` for regression using the mean squared loss. Args: weight_column: A string or a `_NumericColumn` created by `tf.feature_column.numeric_column` defining feature column representing weights. It is used to down weight or boost examples during training. It will be multiplied by the loss of the example. label_dimension: Number of regression labels per example. This is the size of the last dimension of the labels `Tensor` (typically, this has shape `[batch_size, label_dimension]`). Returns: An instance of `_Head` for linear regression. """ return _RegressionHeadWithMeanSquaredErrorLoss( weight_column=weight_column, label_dimension=label_dimension) class _RegressionHeadWithMeanSquaredErrorLoss(_Head): """`Head` for regression using the mean squared loss.""" def __init__(self, label_dimension, weight_column=None): """`Head` for regression.""" if label_dimension < 1: raise ValueError('Invalid label_dimension %s.' % label_dimension) self._logits_dimension = label_dimension self._weight_column = weight_column @property def logits_dimension(self): return self._logits_dimension def create_estimator_spec( self, features, mode, logits, labels=None, train_op_fn=None): """See `Head`.""" with variable_scope.variable_scope( None, default_name='regression_head', values=(tuple(six.itervalues(features)) + (labels, logits))): # Predict. logits = _check_logits(logits, self._logits_dimension) predictions = {prediction_keys.PredictionKeys.PREDICTIONS: logits} if mode == model_fn.ModeKeys.PREDICT: return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.PREDICT, predictions=predictions, export_outputs={'': export_output.RegressionOutput(value=logits)}) # Eval. labels = _check_labels(_maybe_expand_dim(math_ops.to_float(labels)), self._logits_dimension) unweighted_loss = losses.mean_squared_error( labels=labels, predictions=logits, reduction=losses.Reduction.NONE) weights = _weights(features, self._weight_column) training_loss = losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.SUM) if mode == model_fn.ModeKeys.EVAL: # Estimator already adds a metric for loss. eval_metric_ops = { metric_keys.MetricKeys.LOSS_MEAN: metrics_lib.mean( unweighted_loss, weights=weights) } return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.EVAL, predictions=predictions, loss=training_loss, eval_metric_ops=eval_metric_ops) # Train. if train_op_fn is None: raise ValueError('train_op_fn can not be None.') logging_ops.scalar_summary(metric_keys.MetricKeys.LOSS, training_loss) logging_ops.scalar_summary( metric_keys.MetricKeys.LOSS_MEAN, losses.compute_weighted_loss( unweighted_loss, weights=weights, reduction=losses.Reduction.MEAN)) return model_fn.EstimatorSpec( mode=model_fn.ModeKeys.TRAIN, predictions=predictions, loss=training_loss, train_op=train_op_fn(training_loss)) def _assert_range(labels, n_classes): assert_less = check_ops.assert_less( labels, ops.convert_to_tensor(n_classes, dtype=labels.dtype), message='Label IDs must < n_classes') assert_greater = check_ops.assert_non_negative( labels, message='Label IDs must >= 0') with ops.control_dependencies((assert_less, assert_greater)): return array_ops.identity(labels) def _weights(features, weight_column): """Fetches weights from features.""" if weight_column is None: return 1. if isinstance(weight_column, six.string_types): weight_column = feature_column_lib.numeric_column(key=weight_column) if not isinstance(weight_column, feature_column_lib._NumericColumn): # pylint: disable=protected-access raise TypeError('Weight column must be either a string or _NumericColumn. ' 'Given type: {}.'.format(type(weight_column))) weights = weight_column._get_dense_tensor( # pylint: disable=protected-access feature_column_lib._LazyBuilder(features)) # pylint: disable=protected-access if not (weights.dtype.is_floating or weights.dtype.is_integer): raise ValueError('Weight column should be castable to float. ' 'Given dtype: {}'.format(weights.dtype)) weights = _maybe_expand_dim(math_ops.to_float(weights, name='weights')) return weights
unknown
codeparrot/codeparrot-clean
#!/usr/bin/env python # -*- encoding: utf-8 -*- '''Unit tests for the display module''' # For testing purposes, clobber the rcfile import matplotlib matplotlib.use('Agg') # nopep8 import matplotlib.pyplot as plt import numpy as np # Import the hacked image comparison module from mpl_ic import image_comparison from nose.tools import raises # We'll make a decorator to handle style contexts from decorator import decorator import mir_eval import mir_eval.display from mir_eval.io import load_labeled_intervals from mir_eval.io import load_valued_intervals from mir_eval.io import load_labeled_events from mir_eval.io import load_ragged_time_series from mir_eval.io import load_wav @decorator def styled(f, *args, **kwargs): matplotlib.rcdefaults() return f(*args, **kwargs) @image_comparison(baseline_images=['segment'], extensions=['png']) @styled def test_display_segment(): plt.figure() # Load some segment data intervals, labels = load_labeled_intervals('data/segment/ref00.lab') # Plot the segments with no labels mir_eval.display.segments(intervals, labels, text=False) # Draw a legend plt.legend() @image_comparison(baseline_images=['segment_text'], extensions=['png']) @styled def test_display_segment_text(): plt.figure() # Load some segment data intervals, labels = load_labeled_intervals('data/segment/ref00.lab') # Plot the segments with no labels mir_eval.display.segments(intervals, labels, text=True) @image_comparison(baseline_images=['labeled_intervals'], extensions=['png']) @styled def test_display_labeled_intervals(): plt.figure() # Load some chord data intervals, labels = load_labeled_intervals('data/chord/ref01.lab') # Plot the chords with nothing fancy mir_eval.display.labeled_intervals(intervals, labels) @image_comparison(baseline_images=['labeled_intervals_noextend'], extensions=['png']) @styled def test_display_labeled_intervals_noextend(): plt.figure() # Load some chord data intervals, labels = load_labeled_intervals('data/chord/ref01.lab') # Plot the chords with nothing fancy ax = plt.axes() ax.set_yticklabels([]) mir_eval.display.labeled_intervals(intervals, labels, label_set=[], extend_labels=False, ax=ax) @image_comparison(baseline_images=['labeled_intervals_compare'], extensions=['png']) @styled def test_display_labeled_intervals_compare(): plt.figure() # Load some chord data ref_int, ref_labels = load_labeled_intervals('data/chord/ref01.lab') est_int, est_labels = load_labeled_intervals('data/chord/est01.lab') # Plot reference and estimates using label set extension mir_eval.display.labeled_intervals(ref_int, ref_labels, alpha=0.5, label='Reference') mir_eval.display.labeled_intervals(est_int, est_labels, alpha=0.5, label='Estimate') plt.legend() @image_comparison(baseline_images=['labeled_intervals_compare_noextend'], extensions=['png']) @styled def test_display_labeled_intervals_compare_noextend(): plt.figure() # Load some chord data ref_int, ref_labels = load_labeled_intervals('data/chord/ref01.lab') est_int, est_labels = load_labeled_intervals('data/chord/est01.lab') # Plot reference and estimate, but only use the reference labels mir_eval.display.labeled_intervals(ref_int, ref_labels, alpha=0.5, label='Reference') mir_eval.display.labeled_intervals(est_int, est_labels, extend_labels=False, alpha=0.5, label='Estimate') plt.legend() @image_comparison(baseline_images=['labeled_intervals_compare_common'], extensions=['png']) @styled def test_display_labeled_intervals_compare_common(): plt.figure() # Load some chord data ref_int, ref_labels = load_labeled_intervals('data/chord/ref01.lab') est_int, est_labels = load_labeled_intervals('data/chord/est01.lab') label_set = list(sorted(set(ref_labels) | set(est_labels))) # Plot reference and estimate with a common label set mir_eval.display.labeled_intervals(ref_int, ref_labels, label_set=label_set, alpha=0.5, label='Reference') mir_eval.display.labeled_intervals(est_int, est_labels, label_set=label_set, alpha=0.5, label='Estimate') plt.legend() @image_comparison(baseline_images=['hierarchy_nolabel'], extensions=['png']) @styled def test_display_hierarchy_nolabel(): plt.figure() # Load some chord data int0, lab0 = load_labeled_intervals('data/hierarchy/ref00.lab') int1, lab1 = load_labeled_intervals('data/hierarchy/ref01.lab') # Plot reference and estimate with a common label set mir_eval.display.hierarchy([int0, int1], [lab0, lab1]) plt.legend() @image_comparison(baseline_images=['hierarchy_label'], extensions=['png']) @styled def test_display_hierarchy_label(): plt.figure() # Load some chord data int0, lab0 = load_labeled_intervals('data/hierarchy/ref00.lab') int1, lab1 = load_labeled_intervals('data/hierarchy/ref01.lab') # Plot reference and estimate with a common label set mir_eval.display.hierarchy([int0, int1], [lab0, lab1], levels=['Large', 'Small']) plt.legend() @image_comparison(baseline_images=['pitch_hz'], extensions=['png']) @styled def test_pitch_hz(): plt.figure() ref_times, ref_freqs = load_labeled_events('data/melody/ref00.txt') est_times, est_freqs = load_labeled_events('data/melody/est00.txt') # Plot pitches on a Hz scale mir_eval.display.pitch(ref_times, ref_freqs, unvoiced=True, label='Reference') mir_eval.display.pitch(est_times, est_freqs, unvoiced=True, label='Estimate') plt.legend() @image_comparison(baseline_images=['pitch_midi'], extensions=['png']) @styled def test_pitch_midi(): plt.figure() times, freqs = load_labeled_events('data/melody/ref00.txt') # Plot pitches on a midi scale with note tickers mir_eval.display.pitch(times, freqs, midi=True) mir_eval.display.ticker_notes() @image_comparison(baseline_images=['pitch_midi_hz'], extensions=['png']) @styled def test_pitch_midi_hz(): plt.figure() times, freqs = load_labeled_events('data/melody/ref00.txt') # Plot pitches on a midi scale with note tickers mir_eval.display.pitch(times, freqs, midi=True) mir_eval.display.ticker_pitch() @image_comparison(baseline_images=['multipitch_hz_unvoiced'], extensions=['png']) @styled def test_multipitch_hz_unvoiced(): plt.figure() times, pitches = load_ragged_time_series('data/multipitch/est01.txt') # Plot pitches on a midi scale with note tickers mir_eval.display.multipitch(times, pitches, midi=False, unvoiced=True) @image_comparison(baseline_images=['multipitch_hz_voiced'], extensions=['png']) @styled def test_multipitch_hz_voiced(): plt.figure() times, pitches = load_ragged_time_series('data/multipitch/est01.txt') mir_eval.display.multipitch(times, pitches, midi=False, unvoiced=False) @image_comparison(baseline_images=['multipitch_midi'], extensions=['png']) @styled def test_multipitch_midi(): plt.figure() ref_t, ref_p = load_ragged_time_series('data/multipitch/ref01.txt') est_t, est_p = load_ragged_time_series('data/multipitch/est01.txt') # Plot pitches on a midi scale with note tickers mir_eval.display.multipitch(ref_t, ref_p, midi=True, alpha=0.5, label='Reference') mir_eval.display.multipitch(est_t, est_p, midi=True, alpha=0.5, label='Estimate') plt.legend() @image_comparison(baseline_images=['piano_roll'], extensions=['png']) @styled def test_pianoroll(): plt.figure() ref_t, ref_p = load_valued_intervals('data/transcription/ref04.txt') est_t, est_p = load_valued_intervals('data/transcription/est04.txt') mir_eval.display.piano_roll(ref_t, ref_p, label='Reference', alpha=0.5) mir_eval.display.piano_roll(est_t, est_p, label='Estimate', alpha=0.5, facecolor='r') plt.legend() @image_comparison(baseline_images=['piano_roll_midi'], extensions=['png']) @styled def test_pianoroll_midi(): plt.figure() ref_t, ref_p = load_valued_intervals('data/transcription/ref04.txt') est_t, est_p = load_valued_intervals('data/transcription/est04.txt') ref_midi = mir_eval.util.hz_to_midi(ref_p) est_midi = mir_eval.util.hz_to_midi(est_p) mir_eval.display.piano_roll(ref_t, midi=ref_midi, label='Reference', alpha=0.5) mir_eval.display.piano_roll(est_t, midi=est_midi, label='Estimate', alpha=0.5, facecolor='r') plt.legend() @image_comparison(baseline_images=['ticker_midi_zoom'], extensions=['png']) @styled def test_ticker_midi_zoom(): plt.figure() plt.plot(np.arange(3)) mir_eval.display.ticker_notes() @image_comparison(baseline_images=['separation'], extensions=['png']) @styled def test_separation(): plt.figure() x0, fs = load_wav('data/separation/ref05/0.wav') x1, fs = load_wav('data/separation/ref05/1.wav') x2, fs = load_wav('data/separation/ref05/2.wav') mir_eval.display.separation([x0, x1, x2], fs=fs) @image_comparison(baseline_images=['separation_label'], extensions=['png']) @styled def test_separation_label(): plt.figure() x0, fs = load_wav('data/separation/ref05/0.wav') x1, fs = load_wav('data/separation/ref05/1.wav') x2, fs = load_wav('data/separation/ref05/2.wav') mir_eval.display.separation([x0, x1, x2], fs=fs, labels=['Alice', 'Bob', 'Carol']) plt.legend() @image_comparison(baseline_images=['events'], extensions=['png']) @styled def test_events(): plt.figure() # Load some event data beats_ref = mir_eval.io.load_events('data/beat/ref00.txt')[:30] beats_est = mir_eval.io.load_events('data/beat/est00.txt')[:30] # Plot both with labels mir_eval.display.events(beats_ref, label='reference') mir_eval.display.events(beats_est, label='estimate') plt.legend() @image_comparison(baseline_images=['labeled_events'], extensions=['png']) @styled def test_labeled_events(): plt.figure() # Load some event data beats_ref = mir_eval.io.load_events('data/beat/ref00.txt')[:10] labels = list('abcdefghijklmnop') # Plot both with labels mir_eval.display.events(beats_ref, labels) @raises(ValueError) def test_pianoroll_nopitch_nomidi(): # Issue 214 mir_eval.display.piano_roll([[0, 1]])
unknown
codeparrot/codeparrot-clean
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Test\Command; use Composer\Test\TestCase; use RuntimeException; class ConfigCommandTest extends TestCase { /** * @dataProvider provideConfigUpdates * @param array<mixed> $before * @param array<mixed> $command * @param array<mixed> $expected */ public function testConfigUpdates(array $before, array $command, array $expected): void { $this->initTempComposer($before); $appTester = $this->getApplicationTester(); $appTester->run(array_merge(['command' => 'config'], $command)); $appTester->assertCommandIsSuccessful($appTester->getDisplay()); self::assertSame($expected, json_decode((string) file_get_contents('composer.json'), true)); } public static function provideConfigUpdates(): \Generator { yield 'set scripts' => [ [], ['setting-key' => 'scripts.test', 'setting-value' => ['foo bar']], ['scripts' => ['test' => 'foo bar']], ]; yield 'unset scripts' => [ ['scripts' => ['test' => 'foo bar', 'lala' => 'baz']], ['setting-key' => 'scripts.lala', '--unset' => true], ['scripts' => ['test' => 'foo bar']], ]; yield 'set single config with bool normalizer' => [ [], ['setting-key' => 'use-github-api', 'setting-value' => ['1']], ['config' => ['use-github-api' => true]], ]; yield 'set multi config' => [ [], ['setting-key' => 'github-protocols', 'setting-value' => ['https', 'git']], ['config' => ['github-protocols' => ['https', 'git']]], ]; yield 'set version' => [ [], ['setting-key' => 'version', 'setting-value' => ['1.0.0']], ['version' => '1.0.0'], ]; yield 'unset version' => [ ['version' => '1.0.0'], ['setting-key' => 'version', '--unset' => true], [], ]; yield 'unset arbitrary property' => [ ['random-prop' => '1.0.0'], ['setting-key' => 'random-prop', '--unset' => true], [], ]; yield 'set preferred-install' => [ [], ['setting-key' => 'preferred-install.foo/*', 'setting-value' => ['source']], ['config' => ['preferred-install' => ['foo/*' => 'source']]], ]; yield 'unset preferred-install' => [ ['config' => ['preferred-install' => ['foo/*' => 'source']]], ['setting-key' => 'preferred-install.foo/*', '--unset' => true], ['config' => ['preferred-install' => []]], ]; yield 'unset platform' => [ ['config' => ['platform' => ['php' => '7.2.5'], 'platform-check' => false]], ['setting-key' => 'platform.php', '--unset' => true], ['config' => ['platform' => [], 'platform-check' => false]], ]; yield 'set extra with merge' => [ [], ['setting-key' => 'extra.patches.foo/bar', 'setting-value' => ['{"123":"value"}'], '--json' => true, '--merge' => true], ['extra' => ['patches' => ['foo/bar' => [123 => 'value']]]], ]; yield 'combine extra with merge' => [ ['extra' => ['patches' => ['foo/bar' => [5 => 'oldvalue']]]], ['setting-key' => 'extra.patches.foo/bar', 'setting-value' => ['{"123":"value"}'], '--json' => true, '--merge' => true], ['extra' => ['patches' => ['foo/bar' => [123 => 'value', 5 => 'oldvalue']]]], ]; yield 'combine extra with list' => [ ['extra' => ['patches' => ['foo/bar' => ['oldvalue']]]], ['setting-key' => 'extra.patches.foo/bar', 'setting-value' => ['{"123":"value"}'], '--json' => true, '--merge' => true], ['extra' => ['patches' => ['foo/bar' => [123 => 'value', 0 => 'oldvalue']]]], ]; yield 'overwrite extra with merge' => [ ['extra' => ['patches' => ['foo/bar' => [123 => 'oldvalue']]]], ['setting-key' => 'extra.patches.foo/bar', 'setting-value' => ['{"123":"value"}'], '--json' => true, '--merge' => true], ['extra' => ['patches' => ['foo/bar' => [123 => 'value']]]], ]; yield 'unset autoload' => [ ['autoload' => ['psr-4' => ['test'], 'classmap' => ['test']]], ['setting-key' => 'autoload.psr-4', '--unset' => true], ['autoload' => ['classmap' => ['test']]], ]; yield 'unset autoload-dev' => [ ['autoload-dev' => ['psr-4' => ['test'], 'classmap' => ['test']]], ['setting-key' => 'autoload-dev.psr-4', '--unset' => true], ['autoload-dev' => ['classmap' => ['test']]], ]; yield 'set audit.ignore-unreachable' => [ [], ['setting-key' => 'audit.ignore-unreachable', 'setting-value' => ['true']], ['config' => ['audit' => ['ignore-unreachable' => true]]], ]; yield 'set audit.block-insecure' => [ [], ['setting-key' => 'audit.block-insecure', 'setting-value' => ['false']], ['config' => ['audit' => ['block-insecure' => false]]], ]; yield 'set audit.block-abandoned' => [ [], ['setting-key' => 'audit.block-abandoned', 'setting-value' => ['true']], ['config' => ['audit' => ['block-abandoned' => true]]], ]; yield 'unset audit.ignore-unreachable' => [ ['config' => ['audit' => ['ignore-unreachable' => true]]], ['setting-key' => 'audit.ignore-unreachable', '--unset' => true], ['config' => ['audit' => []]], ]; yield 'set audit.ignore-severity' => [ [], ['setting-key' => 'audit.ignore-severity', 'setting-value' => ['low', 'medium']], ['config' => ['audit' => ['ignore-severity' => ['low', 'medium']]]], ]; yield 'set audit.ignore as array' => [ [], ['setting-key' => 'audit.ignore', 'setting-value' => ['["CVE-2024-1234","GHSA-xxxx-yyyy"]'], '--json' => true], ['config' => ['audit' => ['ignore' => ['CVE-2024-1234', 'GHSA-xxxx-yyyy']]]], ]; yield 'set audit.ignore as object' => [ [], ['setting-key' => 'audit.ignore', 'setting-value' => ['{"CVE-2024-1234":"False positive","GHSA-xxxx-yyyy":"Not applicable"}'], '--json' => true], ['config' => ['audit' => ['ignore' => ['CVE-2024-1234' => 'False positive', 'GHSA-xxxx-yyyy' => 'Not applicable']]]], ]; yield 'merge audit.ignore array' => [ ['config' => ['audit' => ['ignore' => ['CVE-2024-1234']]]], ['setting-key' => 'audit.ignore', 'setting-value' => ['["CVE-2024-5678"]'], '--json' => true, '--merge' => true], ['config' => ['audit' => ['ignore' => ['CVE-2024-1234', 'CVE-2024-5678']]]], ]; yield 'merge audit.ignore object' => [ ['config' => ['audit' => ['ignore' => ['CVE-2024-1234' => 'Old reason']]]], ['setting-key' => 'audit.ignore', 'setting-value' => ['{"CVE-2024-5678":"New advisory"}'], '--json' => true, '--merge' => true], ['config' => ['audit' => ['ignore' => ['CVE-2024-5678' => 'New advisory', 'CVE-2024-1234' => 'Old reason']]]], ]; yield 'overwrite audit.ignore key with merge' => [ ['config' => ['audit' => ['ignore' => ['CVE-2024-1234' => 'Old reason']]]], ['setting-key' => 'audit.ignore', 'setting-value' => ['{"CVE-2024-1234":"New reason"}'], '--json' => true, '--merge' => true], ['config' => ['audit' => ['ignore' => ['CVE-2024-1234' => 'New reason']]]], ]; yield 'set audit.ignore-abandoned as array' => [ [], ['setting-key' => 'audit.ignore-abandoned', 'setting-value' => ['["vendor/package1","vendor/package2"]'], '--json' => true], ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1', 'vendor/package2']]]], ]; yield 'set audit.ignore-abandoned as object' => [ [], ['setting-key' => 'audit.ignore-abandoned', 'setting-value' => ['{"vendor/package1":"Still maintained","vendor/package2":"Fork available"}'], '--json' => true], ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1' => 'Still maintained', 'vendor/package2' => 'Fork available']]]], ]; yield 'merge audit.ignore-abandoned array' => [ ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1']]]], ['setting-key' => 'audit.ignore-abandoned', 'setting-value' => ['["vendor/package2"]'], '--json' => true, '--merge' => true], ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1', 'vendor/package2']]]], ]; yield 'merge audit.ignore-abandoned object' => [ ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1' => 'Old reason']]]], ['setting-key' => 'audit.ignore-abandoned', 'setting-value' => ['{"vendor/package2":"New reason"}'], '--json' => true, '--merge' => true], ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package2' => 'New reason', 'vendor/package1' => 'Old reason']]]], ]; yield 'unset audit.ignore' => [ ['config' => ['audit' => ['ignore' => ['CVE-2024-1234']]]], ['setting-key' => 'audit.ignore', '--unset' => true], ['config' => ['audit' => []]], ]; yield 'unset audit.ignore-abandoned' => [ ['config' => ['audit' => ['ignore-abandoned' => ['vendor/package1']]]], ['setting-key' => 'audit.ignore-abandoned', '--unset' => true], ['config' => ['audit' => []]], ]; } /** * @dataProvider provideConfigReads * @param array<mixed> $composerJson * @param array<mixed> $command */ public function testConfigReads(array $composerJson, array $command, string $expected): void { $this->initTempComposer($composerJson); $appTester = $this->getApplicationTester(); $appTester->run(array_merge(['command' => 'config'], $command)); $appTester->assertCommandIsSuccessful(); self::assertSame($expected, trim($appTester->getDisplay(true))); self::assertSame($composerJson, json_decode((string) file_get_contents('composer.json'), true), 'The composer.json should not be modified by config reads'); } public static function provideConfigReads(): \Generator { yield 'read description' => [ ['description' => 'foo bar'], ['setting-key' => 'description'], 'foo bar', ]; yield 'read vendor-dir with source' => [ ['config' => ['vendor-dir' => 'lala']], ['setting-key' => 'vendor-dir', '--source' => true], 'lala (./composer.json)', ]; yield 'read default vendor-dir' => [ [], ['setting-key' => 'vendor-dir'], 'vendor', ]; yield 'read repos by named key' => [ ['repositories' => ['foo' => ['type' => 'vcs', 'url' => 'https://example.org'], 'packagist.org' => ['type' => 'composer', 'url' => 'https://repo.packagist.org']]], ['setting-key' => 'repositories.foo'], '{"type":"vcs","url":"https://example.org"}', ]; yield 'read repos by numeric index' => [ ['repositories' => [['type' => 'vcs', 'url' => 'https://example.org'], 'packagist.org' => ['type' => 'composer', 'url' => 'https://repo.packagist.org']]], ['setting-key' => 'repos.0'], '{"type":"vcs","url":"https://example.org"}', ]; yield 'read all repos includes the default packagist' => [ ['repositories' => ['foo' => ['type' => 'vcs', 'url' => 'https://example.org'], 'packagist.org' => ['type' => 'composer', 'url' => 'https://repo.packagist.org']]], ['setting-key' => 'repos'], '{"foo":{"type":"vcs","url":"https://example.org"},"packagist.org":{"type":"composer","url":"https://repo.packagist.org"}}', ]; yield 'read all repos does not include the disabled packagist' => [ ['repositories' => ['foo' => ['type' => 'vcs', 'url' => 'https://example.org'], 'packagist.org' => false]], ['setting-key' => 'repos'], '{"foo":{"type":"vcs","url":"https://example.org"}}', ]; } public function testConfigThrowsForInvalidArgCombination(): void { $this->expectException(RuntimeException::class); $this->expectExceptionMessage('--file and --global can not be combined'); $appTester = $this->getApplicationTester(); $appTester->run(['command' => 'config', '--file' => 'alt.composer.json', '--global' => true]); } public function testConfigThrowsForInvalidSeverity(): void { $this->expectException(RuntimeException::class); $this->expectExceptionMessage('valid severities include: low, medium, high, critical'); $this->initTempComposer([]); $appTester = $this->getApplicationTester(); $appTester->run(['command' => 'config', 'setting-key' => 'audit.ignore-severity', 'setting-value' => ['low', 'invalid']]); } public function testConfigThrowsWhenMergingArrayWithObject(): void { $this->expectException(RuntimeException::class); $this->expectExceptionMessage('Cannot merge array and object'); $this->initTempComposer(['config' => ['audit' => ['ignore' => ['CVE-2024-1234']]]]); $appTester = $this->getApplicationTester(); $appTester->run(['command' => 'config', 'setting-key' => 'audit.ignore', 'setting-value' => ['{"CVE-2024-5678":"reason"}'], '--json' => true, '--merge' => true]); } }
php
github
https://github.com/composer/composer
tests/Composer/Test/Command/ConfigCommandTest.php
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ package org.apache.hadoop.metrics2; public enum MetricType { /** * A monotonically increasing metric that can be used * to calculate throughput */ COUNTER, /** * An arbitrary varying metric */ GAUGE }
java
github
https://github.com/apache/hadoop
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricType.java
#!/usr/bin/python ################################################################################ # # Module: File.py # # Author: Paul Tindle ( mailto:Paul@Tindle.org ) # Joe White( mailto:joe@stoke.com ) # # Descr: Subs for file IO # # Version: (See below) $Id$ # # Changes: Conversion to Python from Perl 050617 JSW # Syntax correct 5/9/17 JSW # # # Still ToDo: # # License: This software is subject to and may be distributed under the # terms of the GNU General Public License as described in the # file License.html found in this or a parent directory. # Forward any and all validated updates to Paul@Tindle.org # # Copyright (c) 1993 - 2005 Paul Tindle. All rights reserved. # Copyright (c) 2005-2008 Stoke. All rights reserved. # Copyright (c) 2017 Joe White. All rights reserved. # ################################################################################ VER= 'v0.2 5/9/17'; # Syntax correct 5/9/17 JSW CVS_VER = ' [ Git: $Id$ ]'; global CMtestVersion if "CMtestVersion" not in globals() : CMtestVersion={} CMtestVersion['File'] = VER + CVS_VER; #__________________________________________________________________________________ import os.path import os from os import listdir, walk from os.path import join, getsize import zlib #CRC32 Checksum import collections import re import sys import Globals #__________________________________________________________________________________ def fnstrip(Full_FN="", Specifier=9) : "Returns specified portions of a filename Invocation: fnstrip (c:/usr/tmp/foo.txt, X)" "else returns script start directory and script name" ############################################ Stop ################################# if (not Full_FN == "") and ( Specifier < 9 ) : Ret_val1,Ret_val2 =os.path.split(Full_FN) # X: Returns: # 0 c:/usr/tmp/foo.txt # Unchanged if Specifier == 0 : return(Full_FN) #* 1 c:/usr/tmp # Parent path elif Specifier == 1 : Ret_val=Ret_val1 # 2 c:/usr/tmp/foo # Parent dir + base filename elif Specifier == 2 : Ret_val = Ret_val1 + PathSep + Ret_val2.split(".")[0] # ,_ = os.path.splitext(Full_FN)[0]) # 3 foo.txt # File name + extension elif Specifier == 3 : Ret_val = os.path.split(Full_FN)[1] # 4 tmp # Parent dir elif Specifier == 4 : Ret_val = os.path.pardir(Full_FN)[1] #* 6 c:/usr # Grand-parent path elif Specifier == 6 : Ret_val = os.path.split(Full_FN.split(".")[-2])[0] # 7 foo # Base filename elif Specifier == 7 : Ret_val = os.path.split(Full_FN.split(".")[-2]) # 8 txt # File extension else: Ret_val = Ret_val.split(".")[-1] return(Ret_val) else : return ( os.getcwd() ) #__________________________________________________________________________________ def File_List (File_Path=".",No_Recurse=0): """Update Global Dir_List and File_list and returns a count of files in directory # Updates: # our @Dir_List - List of (sub)dirs in a spec'd dir (&File_List) # our @File_List - List of files in a spec'd dir (&File_List) """ Globals.File_List = [] fileslist = [] count = 0 try: Globals.Dir_List = os.listdir(File_Path) if Globals.Verbose : print ("File_List File Path %s Globals.Dir_List %s" % (File_Path, Globals.Dir_List)) except: exit("Unable to process File_Path: %s in File_List" % File_Path) for root, dirs, files in os.walk(File_Path): if Globals.Debug : print(root, "consumes ", end="") if Globals.Debug : print(sum([getsize(join(root, name)) for name in files]), end="") if Globals.Debug : print("bytes in ", len(files), "non-directory files") fileslist.append(files) Globals.File_List = fileslist if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories if '.git' in dirs: dirs.remove('.git') # don't visit Git directories count += 1 if No_Recurse : return (count) return(count) #_______________________________________________________________________________ def File_Checksum (fileName) : " Return CRC32 checksum of file" prev = 0 fileName=r"M:\python\cmtest30\cmtest\lib\Init_SSX.pm" for eachLine in open(fileName,"rb"): prev = zlib.crc32(eachLine, prev) Chksum = "%X"%(prev & 0xFFFFFFFF) if Debug : print ( "File: ", fileName, "Checksum: ", Chksum ) return (Chksum); #_______________________________________________________________________________ def File_Close (FileHandle) : "Closes the global file handle FH" FH = FileHandle FH.close # Perl Code unknow why $FH-- FH_Count -= 1 return #_______________________________________________________________________________ def File_Open (File="", FH="", Mode="r") : "Opens the global file handle FH with File and Mode , defaults to read mode" if Mode == '': Mode = '<' # Default if Mode == 'IN': Mode = 'r' if Mode == 'OUT': Mode = 'w' #Write apend if Mode == 'APEND': Mode = 'a' #Write apend if File == '' : PT_Exit("Attempt to open <null> file") try: FH = open (File, Mode) return(0) except: return(1) #_______________________________________________________________________________ def File_Open_Recursive (File='') : "Opens the global file handle FH with File and Read Mode , defaults to read mode" if FH not in globals: FH = 'FH00' FH_Count +=1 File_Open( File, FH, 'r' ); #In only! return (FH); #_______________________________________________________________________________ def Get_File_Stats (File='') : ' Originally &Show_Files_Attrs__Get_Stats for \ ( $Date, $Size, $DateStr, $MIA ) = &Get_File_Stats ("$Dir1/$Name")' for root, dirs, files in os.walk(File): if Debug : print(root, "consumes ", end="") if Debug : print(sum([getsize(join(root, name)) for name in files]), end="") if Debug : print("bytes in ", len(files), "non-directory files") if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories if No_Recurse : break Date = 0; Size = ' -?-' Date_Str = ' -' MIA = 0 try : os.stat(File).st_size Size = os.stat(File).st_size # Size Date = os.stat(File).st_mtime # Mod Date conversion to date if needed = $^T - ( ( -M $File_Spec ) * 3600 * 24 ); Date_Str = PT_Date( Date, 1 ); finally : MIA = 1; return ( Date, Size, Date_Str, MIA ); #_______________________________________________________________________________ def Show_File_Attrs(Dir1, Dir2, File2do): "Create a list of printable Atribuites" try: File2do global Files Files = File2do except: pass Debug2 = 0 global FileList; FileList = {} # Composite list of files (either path) Hash/Disconary global Files4Update; Files4Update = [] # List of files (no leading path) global cp_args; cp_args = [] # List of 'file1 file2' where master is newer global Files4Archive; Files4Archive = [] # List of files where copy is newer than master Offset = [35, 6, 11 ] ; # Name Size Date Size Date Gap = [ 3, 1 ]; # 0 1 0 1 Next_Col = Offset[1] + Gap[1] + Offset[2]; #$Dir1 =~ s/\/$//; #Don't completely understand, but appears to be an extra / in base path # if I remove in ptdisty::setvar, push path fails Files1 = [] Files2 = [] # !!!WTF are these used for? try: for index in range( len(Files)) : Files1.append( Dir1 + Globals.PathSep + index) if ((opt_s and WWW_Path != '') and Dir1.find(Globals.PathSep + "www" +Globals.PathSep)) : Files2.append(WWW_Path,index) # Modified for Site server WWW files if Debug : print ("Show file attr push", Files2, WWW_Path,index) else : Files2.append(Dir2,Globals.PathSep,indesx) # original JSW FileList[index] = 1 finally: Files1 = Show_Files_Attrs__Get_Files(Dir1) Files2 = Show_Files_Attrs__Get_Files(Dir2) if Quiet : print ( "_"*110, "\n\n") # my $Msg = ($ChkSumIt) ? 'ON!' : 'disabled (force copy!)'; # print "\nCopy on \'same-size \/ checksum-fail only\' is $Msg\n\n"; GapStr = (); for index in range(Gap) : GapStr.append( ' '* index) # &PETC(">$GapStr[0]<, >$GapStr[1]<" ); # &PETC(($Gap[0] + $Next_Col)*2); print ( Pad( "System hostname:", Offset[0], ' ', 2,GapStr[0], ENV['HOSTNAME'], "\n")) print (Pad ('Search Path:', 35, ' ', 2), ' ', Dir2) print ("\n") print ("\n", '_' * Offset[0], "\n") print (Pad( 'Master Path:', Offset[0], ' ', 2 ), GapStr[0], 'V' * Next_Col, '-' (Gap[0] * 2 + Next_Col), Dir1, "\n") print (Pad( 'Copy Path:', Offset[0], ' ', 2 ), GapStr[0], ' ' * (Gap[0] + Next_Col), 'V' * Next_Col, '-' * Gap[0], Dir2, "\n"); Show_Files_Attrs__Bars (Offset[0], GapStr[0], Next_Col); # &Pad( $Dir1, $Next_Col ), $GapStr[0], &Pad( $Dir2, $Next_Col ), "\n"; print (Pad( 'FileName', Offset[0]), GapStr[0], Pad( 'Size', Offset[1] + Gap[1] ), Pad( 'Date', Offset[2] + Gap[0] ), Pad( 'Size', Offset[1] + Gap[1] ), Pad( 'Date', Offset[2] + Gap[0] ), "\n") Show_Files_Attrs__Bars (Offset[0], GapStr[0], Next_Col); # print '_' x $Offset[0], $GapStr[0], '_' x $Offset[1], $GapStr[1], # '_' x $Offset[2], $GapStr[0], '_' x $Offset[1], $GapStr[1], # '_' x $Offset[2], "\n"; # Compare each file ... Name = collections.OrderedDict(FileList.items()) for index in Name : Msg = '' Date1, Size1, DS1, MIA1 = Get_File_Stats(Dir1,Globals.PathSep,Name); Name2 = Name; Dir_2 = Dir2; F1 = split( GLobals.PathSep, Name)[-1]; # Dest only D1 = split( Globals.PathSep, Name)[1]; # Dest only if D1 == 'tftpboot' : next #and ! $Verbose; # Added JW - Skip showing tftp if D1 == 'cfgfiles' : Name2 = F1 Dir_2 = re.sub( Globals.PathSep+ "\w{1}$", "", Dir_2) # Remove the release pipe Dir_2 = r"joe/test/g" if D1 == 'www' and WWW_Path != '' : Dir_2 = WWW_Path; # We have alread remove release pipe, change DIR2 to / Dir_2 = re.sub.i(Globals.PathSep+" www" + Globals.PathSep + "$", "", Dir_2) # Remove WWW Date2, Size2, DS2, MIA2 = Get_File_Stats(Dir_2,Globals.PathSep,Name2) SizeDiff = Size1 - Size2; if SizeDiff <= 0 : Size2 = '' # No need to reprint it! Age = Date1 - Date2 # +ve if master (1st) is newer if (2 > Age and Age > -2) : Age = 0 # A 1 sec diff on identical files! if SizeDiff or Age == 1 : NotTheSame = 1 else : NotTheSame = 0 if MIA1 or MIA2 == 1 : MIA = 1 else : MIA = 0 if ( MIA ) : Msg += 'MIA' elif (NotTheSame and not SizeDiff): # different Dates only if (ChkSumIt and File_Checksum(Dir1,Globals.PathSep,Name) == File_Checksum(Dir2,Globals.PathSep,Name2)) : if ChkSumIt: Msg += '(CS passed!)' NotTheSame = 0 else : if ChkSumIt: Msg += 'CS failed!' if not Age : DS2 = '' # No need to reprint it! if NotTheSame : if not MIA1 : Files4Update.append(Name) cp_args.append(Dir1,Globals.PathSep,Name," ",Dir2,Globals.PathSep,Name2) if Age > 0 : # The Master has been updated Msg += '*' else : Msg += '*' * 10 Files4Archive.append(Dir2,Globals.PathSep,Name2) Str = Pad(Name2, Offset[0]) + GapStr[0] # Name Str += Pad( Size1, Offset[1], ' ', 2 ) + GapStr[1] Str += Pad( DS1, Offset[2] ) + GapStr[0] if (NotTheSame or MIA2) : Str += Pad( Size2, Offset[1], ' ', 2 ) + GapStr[1] + Pad( DS2, Offset[2] ) + r" <-! " + Msg elif (Age and not SizeDiff) : # Must have passed the chksum! Str += 'ok' + ' ' * (Offset[1] - 1) + Pad( DS2, Offset[2] ) else : # Str += "\t/-/"; # Str += "\t\< \""; Str += "ok"; if not Quiet : print(Str) if Debug2 : print ("\n", "\tName1 \t= $Name\n", "\tName2 \t= $Name2\n", "\tMIA1 \t= $MIA1\n", "\tMIA2 \t= $MIA2\n", "\tDate1\t= $Date1\n", "\tDate2\t= $Date2\n", "\tAge \t= $Age\n", "\tSize1\t= $Size1\n", "\tSize2\t= $Size2\n", "\tSDiff\t= $SizeDiff\n", "\t\!Same\t= $NotTheSame\n"); PETC() Show_Files_Attrs__Bars (Offset[0], GapStr[0], Next_Col) return #_______________________________________________________________________________________________ def Show_Files_Attrs__Bars(Offset, GapStr, Next_Col): " Print _ line for Atribuite list " print( '_' * Offset, GapStr, '_' * Next_Col, GapStr, '_' * Next_Col, "\n") return #_______________________________________________________________________________________________ def Show_Files_Attrs__Get_Files (Path): "Get file list ?" # No sure this is needed File_List = []; New_List = []; #File_List(Path); for index in range(File_List(Path)) : # $Path/the/file.txt -> the/file.txt index.strip( Path + Globals.PathSep ) New_List.append( index) # not sure this is needed $FileList{$FNwoPath} = 1; # !!!WTF return (New_List); #_______________________________________________________________________________________________ def xShow_Files_Attrs__Sub_File_Name(Dir, MyName): "Get file list ??" Old_Name = MyName; if not( os.path.isfile(Dir + Globals.PathSep + MyName)) : # Try any known substitutions D1 = MyName.split(Globals.PathSep)[0] # Because .xxxrc files are buried F1 = MyName.split(Globals.PathSep)[1] # Because .xxxrc files are buried if D1 == "cfgfiles": MyName = F1 # $MyName = &fnstrip ($MyName, 2) if &fnstrip ($MyName, 8) eq 'pl'; if Old_Name != MyName : Print2XLog ("Dir=" + Dir + r", Old=" + Old_Name + r", New=" + MyName, 1) return(MyName); #_______________________________________________________________________________ 1;
unknown
codeparrot/codeparrot-clean
#-*- coding:utf8 -*- from parsers import TParsersBundle from ling_utils import TTokenMatch from ling_utils import CASE_UPPER, CASE_TITLE, CASE_LOWER from ling_utils import span_tokenize_windows1251, unify_word from segments_index import TSegmentIndexReader from crawler import * from collections import namedtuple import pickle import os import sys import numpy def normalize_udc(udc_str): udc_chain = [] for item in udc_str.split("."): if not item.strip(): continue try: udc_chain += [int(item)] except: continue return udc_chain def get_surname(author_str_windows1251): words = [unify_word(match[-1].decode("windows-1251")) for match in span_tokenize_windows1251(author_str_windows1251)] if not words: return "" surname = max((len(word), word) for word in words)[1] return surname TBook = namedtuple('TBooks', ['title', 'author', 'udc', 'year', 'pages_count', 'lib_sections'], verbose=False) class TCustomFieldsSearchEngine(object): def add_title(self, title, object_id): for match in span_tokenize_windows1251(title): token = unify_word(match[-1].decode("windows-1251")) self.title_index.setdefault(token, []).append(object_id) def find_title(self, title_query): matched_objects = None for match in span_tokenize_windows1251(title_query): token = unify_word(match[-1].decode("windows-1251")) if not token in self.title_index: return [] if matched_objects == None: matched_objects = set(self.title_index[token]) else: matched_objects &= set(self.title_index[token]) if not matched_objects: return [] return matched_objects def add_year(self, year, object_id): try: year = int(year) except: return self.year_index.setdefault(int(year), []).append(object_id) def find_year(self, query_year, search_lower=False, search_bigger=False): try: query_year = int(query_year) except: return [] matched_objects = [] for year, objects in self.year_index.items(): if year == query_year or \ search_lower and year < query_year or \ search_bigger and year > query_year: matched_objects += objects return matched_objects def add_udc(self, udc_str, object_id): udc_array = normalize_udc(udc_str) key = "|" + "|".join([str(number) for number in udc_array]) + "|" if udc_array: self.udc_index.setdefault(udc_array[0], []).append((key, object_id)) def find_udc(self, query_udc_str): udc_array = normalize_udc(query_udc_str) query_key = "|" + "|".join([str(number) for number in udc_array]) + "|" if not udc_array: return [] object_ids = [] if udc_array[0] in self.udc_index: for key, object_id in self.udc_index[udc_array[0]]: if key.startswith(query_key): object_ids.append(object_id) return object_ids def add_author(self, author_str_windows1251, object_id): surname = get_surname(author_str_windows1251) if surname: self.author_index.setdefault(surname, []).append(object_id) def find_author(self, author_str_windows1251): surname = get_surname(author_str_windows1251) if surname in self.author_index: return self.author_index[surname] return [] def add_pages_count(self, pages_count, object_id): try: pages_count = int(pages_count) self.pages_index.setdefault(pages_count, []).append(object_id) except: pass def find_pages_count(self, query_page_count, search_lower=False, search_bigger=False): try: query_page_count = int(query_page_count) except: return [] matched_objects = [] for page_count, objects in self.pages_index.items(): if page_count == query_page_count or \ search_lower and page_count < query_page_count or \ search_bigger and page_count > query_page_count: matched_objects += objects return matched_objects def add_lib_sections(self, lib_sections, object_id): for lib_section in lib_sections: self.lib_section_index.setdefault(lib_section, []).append(object_id) def find_lib_section(self, query_lib_section): if not query_lib_section: return [] try: query_lib_section = int(query_lib_section) except: return [] if query_lib_section in self.lib_section_index: return self.lib_section_index[query_lib_section] else: return [] def __init__(self, csv_file): self.title_index = {} self.year_index = {} self.udc_index = {} self.author_index = {} self.pages_index = {} self.lib_section_index = {} self.objects = {} title, author, udc, year, pages_count, lib_sections = "", "", "", "", "", () for object in TCrawler().crawl_csv(csv_file): object.object_id = int(object.object_id) for field in object.object_fields: key = field.field_id value = field.field_value if key == "year": try: year = int(value) except: year = -1 self.add_year(year, object.object_id) elif key == "udc": udc = value self.add_udc(udc, object.object_id) elif key == "pages_count": try: pages_count = int(value) except: pages_count = -1 self.add_pages_count(pages_count, object.object_id) pass elif key == "author": author = value self.add_author(author, object.object_id) pass elif key == "title": title = value self.add_title(title, object.object_id) elif key == LIB_SECTION_FIELD: lib_sections = tuple(value) self.add_lib_sections(lib_sections, object.object_id) self.objects[object.object_id] = TBook(title, author, udc, year, pages_count, lib_sections) def process_query(self, title="", author="", udc="", year="", year_max="", year_min="", pages_count="", pages_count_max="", pages_count_min="", lib_section=""): objects = [] if title: objects += [self.find_title(title.encode("windows-1251"))] if author: objects += [self.find_author(author.encode("windows-1251"))] if udc: objects += [self.find_udc(udc)] if year: objects += [self.find_year(year)] if year_max: objects += [self.find_year(year_max, search_lower=True)] if year_min: objects += [self.find_year(year_min, search_bigger=True)] if pages_count: objects += [self.find_pages_count(pages_count)] if pages_count_max: objects += [self.find_pages_count(pages_count_max, search_lower=True)] if pages_count_min: objects += [self.find_pages_count(pages_count_min, search_bigger=True)] if lib_section: objects += [self.find_lib_section(lib_section)] if not objects: return 0 cross_product = None for objects_set in objects: if not objects_set: return -1 if cross_product == None: cross_product = set(objects_set) else: cross_product &= set(objects_set) if not cross_product: return -1 return cross_product def find_mentions_of_author_and_title(self, query): tokens = [unify_word(match[-1].decode("windows-1251")) \ for match in span_tokenize_windows1251(query.encode("windows-1251"))[:10]] tokens = set(tokens) books_scores = {} for token in tokens: if token in self.title_index: for obj_id in set(self.title_index[token]): books_scores.setdefault(obj_id, 0) books_scores[obj_id] += 1 if token in self.author_index: for obj_id in set(self.author_index[token]): books_scores.setdefault(obj_id, 0) books_scores[obj_id] += 1 import math min_match = math.ceil(len(tokens) * 0.6) matched_books = [(matched_tokens, book) for book, matched_tokens in books_scores.items() \ if matched_tokens >= min_match] matched_books.sort(reverse=True) matched_books = [book for _, book in matched_books] return matched_books if __name__ == "__main__": print "start" import sys import datetime path = sys.argv[1]; print path print "uploading" start = datetime.datetime.now() index = TCustomFieldsSearchEngine(path) print "uploaded", len(index.objects), (datetime.datetime.now() - start) print "query" start = datetime.datetime.now() #objects = index.process_query(author=u"юрьева") objects = index.find_mention_of_author_and_titles(u"нефтехимия миронов") print len(objects), (datetime.datetime.now() - start) if 1: for object_id in objects: title = index.objects[object_id].title author = index.objects[object_id].author udc = index.objects[object_id].udc year = index.objects[object_id].year pages_count = index.objects[object_id].pages_count lib_sections = index.objects[object_id].lib_sections print author.decode("windows-1251"), title.decode("windows-1251") #print author.decode("windows-1251"), "||", title.decode("windows-1251") #print author.decode("windows-1251"), "||", title.decode("windows-1251"), "||", udc, "||", year, "||", pages_count, "||", lib_sections
unknown
codeparrot/codeparrot-clean
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002-2012, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // 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 Industrial Light & Magic 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 THE COPYRIGHT // OWNER OR CONTRIBUTORS 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. // /////////////////////////////////////////////////////////////////////////// #ifndef INCLUDED_IMATHLIMITS_H #define INCLUDED_IMATHLIMITS_H //---------------------------------------------------------------- // // Limitations of the basic C++ numerical data types // //---------------------------------------------------------------- #include "ImathNamespace.h" #include <float.h> #include <limits.h> //------------------------------------------ // In Windows, min and max are macros. Yay. //------------------------------------------ #if defined _WIN32 || defined _WIN64 #ifdef min #undef min #endif #ifdef max #undef max #endif #endif IMATH_INTERNAL_NAMESPACE_HEADER_ENTER //----------------------------------------------------------------- // // Template class limits<T> returns information about the limits // of numerical data type T: // // min() largest possible negative value of type T // // max() largest possible positive value of type T // // smallest() smallest possible positive value of type T // (for float and double: smallest normalized // positive value) // // epsilon() smallest possible e of type T, for which // 1 + e != 1 // // isIntegral() returns true if T is an integral type // // isSigned() returns true if T is signed // // Class limits<T> is useful to implement template classes or // functions which depend on the limits of a numerical type // which is not known in advance; for example: // // template <class T> max (T x[], int n) // { // T m = limits<T>::min(); // // for (int i = 0; i < n; i++) // if (m < x[i]) // m = x[i]; // // return m; // } // // Class limits<T> has been implemented for the following types: // // char, signed char, unsigned char // short, unsigned short // int, unsigned int // long, unsigned long // float // double // long double // // Class limits<T> has only static member functions, all of which // are implemented as inlines. No objects of type limits<T> are // ever created. // //----------------------------------------------------------------- template <class T> struct limits { static T min(); static T max(); static T smallest(); static T epsilon(); static bool isIntegral(); static bool isSigned(); }; //--------------- // Implementation //--------------- template <> struct limits <char> { static char min() {return CHAR_MIN;} static char max() {return CHAR_MAX;} static char smallest() {return 1;} static char epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return (char) ~0 < 0;} }; template <> struct limits <signed char> { static signed char min() {return SCHAR_MIN;} static signed char max() {return SCHAR_MAX;} static signed char smallest() {return 1;} static signed char epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return true;} }; template <> struct limits <unsigned char> { static unsigned char min() {return 0;} static unsigned char max() {return UCHAR_MAX;} static unsigned char smallest() {return 1;} static unsigned char epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return false;} }; template <> struct limits <short> { static short min() {return SHRT_MIN;} static short max() {return SHRT_MAX;} static short smallest() {return 1;} static short epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return true;} }; template <> struct limits <unsigned short> { static unsigned short min() {return 0;} static unsigned short max() {return USHRT_MAX;} static unsigned short smallest() {return 1;} static unsigned short epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return false;} }; template <> struct limits <int> { static int min() {return INT_MIN;} static int max() {return INT_MAX;} static int smallest() {return 1;} static int epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return true;} }; template <> struct limits <unsigned int> { static unsigned int min() {return 0;} static unsigned int max() {return UINT_MAX;} static unsigned int smallest() {return 1;} static unsigned int epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return false;} }; template <> struct limits <long> { static long min() {return LONG_MIN;} static long max() {return LONG_MAX;} static long smallest() {return 1;} static long epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return true;} }; template <> struct limits <unsigned long> { static unsigned long min() {return 0;} static unsigned long max() {return ULONG_MAX;} static unsigned long smallest() {return 1;} static unsigned long epsilon() {return 1;} static bool isIntegral() {return true;} static bool isSigned() {return false;} }; template <> struct limits <float> { static float min() {return -FLT_MAX;} static float max() {return FLT_MAX;} static float smallest() {return FLT_MIN;} static float epsilon() {return FLT_EPSILON;} static bool isIntegral() {return false;} static bool isSigned() {return true;} }; template <> struct limits <double> { static double min() {return -DBL_MAX;} static double max() {return DBL_MAX;} static double smallest() {return DBL_MIN;} static double epsilon() {return DBL_EPSILON;} static bool isIntegral() {return false;} static bool isSigned() {return true;} }; template <> struct limits <long double> { static long double min() {return -LDBL_MAX;} static long double max() {return LDBL_MAX;} static long double smallest() {return LDBL_MIN;} static long double epsilon() {return LDBL_EPSILON;} static bool isIntegral() {return false;} static bool isSigned() {return true;} }; IMATH_INTERNAL_NAMESPACE_HEADER_EXIT #endif // INCLUDED_IMATHLIMITS_H
c
github
https://github.com/opencv/opencv
3rdparty/openexr/Imath/ImathLimits.h
from __future__ import absolute_import from io import BytesIO from xml.dom import minidom import zipfile from django.conf import settings from django.contrib.gis.geos import HAS_GEOS from django.contrib.gis.tests.utils import HAS_SPATIAL_DB from django.contrib.sites.models import Site from django.test import TestCase from django.utils.unittest import skipUnless if HAS_GEOS: from .models import City, Country @skipUnless(HAS_GEOS and HAS_SPATIAL_DB, "Geos and spatial db are required.") class GeoSitemapTest(TestCase): urls = 'django.contrib.gis.tests.geoapp.urls' def setUp(self): Site(id=settings.SITE_ID, domain="example.com", name="example.com").save() self.old_Site_meta_installed = Site._meta.installed Site._meta.installed = True def tearDown(self): Site._meta.installed = self.old_Site_meta_installed def assertChildNodes(self, elem, expected): "Taken from syndication/tests.py." actual = set([n.nodeName for n in elem.childNodes]) expected = set(expected) self.assertEqual(actual, expected) def test_geositemap_index(self): "Tests geographic sitemap index." # Getting the geo index. doc = minidom.parseString(self.client.get('/sitemap.xml').content) index = doc.firstChild self.assertEqual(index.getAttribute('xmlns'), 'http://www.sitemaps.org/schemas/sitemap/0.9') self.assertEqual(3, len(index.getElementsByTagName('sitemap'))) def test_geositemap_kml(self): "Tests KML/KMZ geographic sitemaps." for kml_type in ('kml', 'kmz'): doc = minidom.parseString(self.client.get('/sitemaps/%s.xml' % kml_type).content) # Ensuring the right sitemaps namespaces are present. urlset = doc.firstChild self.assertEqual(urlset.getAttribute('xmlns'), 'http://www.sitemaps.org/schemas/sitemap/0.9') self.assertEqual(urlset.getAttribute('xmlns:geo'), 'http://www.google.com/geo/schemas/sitemap/1.0') urls = urlset.getElementsByTagName('url') self.assertEqual(2, len(urls)) # Should only be 2 sitemaps. for url in urls: self.assertChildNodes(url, ['loc', 'geo:geo']) # Making sure the 'geo:format' element was properly set. geo_elem = url.getElementsByTagName('geo:geo')[0] geo_format = geo_elem.getElementsByTagName('geo:format')[0] self.assertEqual(kml_type, geo_format.childNodes[0].data) # Getting the relative URL since we don't have a real site. kml_url = url.getElementsByTagName('loc')[0].childNodes[0].data.split('http://example.com')[1] if kml_type == 'kml': kml_doc = minidom.parseString(self.client.get(kml_url).content) elif kml_type == 'kmz': # Have to decompress KMZ before parsing. buf = BytesIO(self.client.get(kml_url).content) zf = zipfile.ZipFile(buf) self.assertEqual(1, len(zf.filelist)) self.assertEqual('doc.kml', zf.filelist[0].filename) kml_doc = minidom.parseString(zf.read('doc.kml')) # Ensuring the correct number of placemarks are in the KML doc. if 'city' in kml_url: model = City elif 'country' in kml_url: model = Country self.assertEqual(model.objects.count(), len(kml_doc.getElementsByTagName('Placemark'))) def test_geositemap_georss(self): "Tests GeoRSS geographic sitemaps." from .feeds import feed_dict doc = minidom.parseString(self.client.get('/sitemaps/georss.xml').content) # Ensuring the right sitemaps namespaces are present. urlset = doc.firstChild self.assertEqual(urlset.getAttribute('xmlns'), 'http://www.sitemaps.org/schemas/sitemap/0.9') self.assertEqual(urlset.getAttribute('xmlns:geo'), 'http://www.google.com/geo/schemas/sitemap/1.0') # Making sure the correct number of feed URLs were included. urls = urlset.getElementsByTagName('url') self.assertEqual(len(feed_dict), len(urls)) for url in urls: self.assertChildNodes(url, ['loc', 'geo:geo']) # Making sure the 'geo:format' element was properly set to 'georss'. geo_elem = url.getElementsByTagName('geo:geo')[0] geo_format = geo_elem.getElementsByTagName('geo:format')[0] self.assertEqual('georss', geo_format.childNodes[0].data)
unknown
codeparrot/codeparrot-clean
#encoding=utf-8 from __future__ import print_function import sys sys.path.append("../") import jieba def cuttest(test_sent): result = jieba.cut(test_sent,cut_all=True) for word in result: print(word, "/", end=' ') print("") if __name__ == "__main__": cuttest("这是一个伸手不见五指的黑夜。我叫孙悟空,我爱北京,我爱Python和C++。") cuttest("我不喜欢日本和服。") cuttest("雷猴回归人间。") cuttest("工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作") cuttest("我需要廉租房") cuttest("永和服装饰品有限公司") cuttest("我爱北京天安门") cuttest("abc") cuttest("隐马尔可夫") cuttest("雷猴是个好网站") cuttest("“Microsoft”一词由“MICROcomputer(微型计算机)”和“SOFTware(软件)”两部分组成") cuttest("草泥马和欺实马是今年的流行词汇") cuttest("伊藤洋华堂总府店") cuttest("中国科学院计算技术研究所") cuttest("罗密欧与朱丽叶") cuttest("我购买了道具和服装") cuttest("PS: 我觉得开源有一个好处,就是能够敦促自己不断改进,避免敞帚自珍") cuttest("湖北省石首市") cuttest("湖北省十堰市") cuttest("总经理完成了这件事情") cuttest("电脑修好了") cuttest("做好了这件事情就一了百了了") cuttest("人们审美的观点是不同的") cuttest("我们买了一个美的空调") cuttest("线程初始化时我们要注意") cuttest("一个分子是由好多原子组织成的") cuttest("祝你马到功成") cuttest("他掉进了无底洞里") cuttest("中国的首都是北京") cuttest("孙君意") cuttest("外交部发言人马朝旭") cuttest("领导人会议和第四届东亚峰会") cuttest("在过去的这五年") cuttest("还需要很长的路要走") cuttest("60周年首都阅兵") cuttest("你好人们审美的观点是不同的") cuttest("买水果然后来世博园") cuttest("买水果然后去世博园") cuttest("但是后来我才知道你是对的") cuttest("存在即合理") cuttest("的的的的的在的的的的就以和和和") cuttest("I love你,不以为耻,反以为rong") cuttest("因") cuttest("") cuttest("hello你好人们审美的观点是不同的") cuttest("很好但主要是基于网页形式") cuttest("hello你好人们审美的观点是不同的") cuttest("为什么我不能拥有想要的生活") cuttest("后来我才") cuttest("此次来中国是为了") cuttest("使用了它就可以解决一些问题") cuttest(",使用了它就可以解决一些问题") cuttest("其实使用了它就可以解决一些问题") cuttest("好人使用了它就可以解决一些问题") cuttest("是因为和国家") cuttest("老年搜索还支持") cuttest("干脆就把那部蒙人的闲法给废了拉倒!RT @laoshipukong : 27日,全国人大常委会第三次审议侵权责任法草案,删除了有关医疗损害责任“举证倒置”的规定。在医患纠纷中本已处于弱势地位的消费者由此将陷入万劫不复的境地。 ") cuttest("大") cuttest("") cuttest("他说的确实在理") cuttest("长春市长春节讲话") cuttest("结婚的和尚未结婚的") cuttest("结合成分子时") cuttest("旅游和服务是最好的") cuttest("这件事情的确是我的错") cuttest("供大家参考指正") cuttest("哈尔滨政府公布塌桥原因") cuttest("我在机场入口处") cuttest("邢永臣摄影报道") cuttest("BP神经网络如何训练才能在分类时增加区分度?") cuttest("南京市长江大桥") cuttest("应一些使用者的建议,也为了便于利用NiuTrans用于SMT研究") cuttest('长春市长春药店') cuttest('邓颖超生前最喜欢的衣服') cuttest('胡锦涛是热爱世界和平的政治局常委') cuttest('程序员祝海林和朱会震是在孙健的左面和右面, 范凯在最右面.再往左是李松洪') cuttest('一次性交多少钱') cuttest('两块五一套,三块八一斤,四块七一本,五块六一条') cuttest('小和尚留了一个像大和尚一样的和尚头') cuttest('我是中华人民共和国公民;我爸爸是共和党党员; 地铁和平门站') cuttest('张晓梅去人民医院做了个B超然后去买了件T恤') cuttest('AT&T是一件不错的公司,给你发offer了吗?') cuttest('C++和c#是什么关系?11+122=133,是吗?PI=3.14159') cuttest('你认识那个和主席握手的的哥吗?他开一辆黑色的士。')
unknown
codeparrot/codeparrot-clean
import arrow import discord from sigma.core.utilities.data_processing import get_image_colors from sigma.core.utilities.data_processing import user_avatar async def myreminders(cmd, message, args): here = False if args: if args[-1].lower() == 'here': here = True if here: lookup_data = {'UserID': message.author.id, 'ChannelID': message.channel.id} else: lookup_data = {'UserID': message.author.id} all_reminders = cmd.db[cmd.db.db_cfg.database].Reminders.find(lookup_data) reminder_count = all_reminders.count() if reminder_count: if reminder_count == 1: ender = 'reminder' else: ender = 'reminders' if here: reminder_list_title = f'You have {reminder_count} pending {ender} in #{message.channel.name}.' else: reminder_list_title = f'You have {reminder_count} pending {ender}.' reminder_list = '' for reminder in all_reminders: human_time = arrow.get(reminder['ExecutionStamp']).humanize(arrow.utcnow()) channel = discord.utils.find(lambda x: x.id == reminder['ChannelID'], cmd.bot.get_all_channels()) if channel: chan_name = f'**#{channel.name}**' srv_name = f'**{channel.guild.name}**' else: chan_name = '*{No Channel}*' srv_name = '*{No Server}*' rem_id = reminder['ReminderID'] reminder_list += f'\n`{rem_id}` in {chan_name} on {srv_name} {human_time}' strip_clr = await get_image_colors(user_avatar(message.author)) response = discord.Embed(color=strip_clr) response.set_author(name=f'{message.author.display_name}\'s Reminders', icon_url=user_avatar(message.author)) response.add_field(name='Reminder Count', value=reminder_list_title, inline=False) response.add_field(name='Reminder List', value=reminder_list, inline=False) else: response = discord.Embed(color=0x696969, title='🔍 You have no pending reminders.') await message.channel.send(embed=response)
unknown
codeparrot/codeparrot-clean
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2013, 2014 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. """Perform demosite operations.""" from __future__ import print_function import warnings warnings.warn("Use of `inveniomanage demosite populate` is being deprecated. " "Please use `uploader` module to insert demo records.", PendingDeprecationWarning) import os import pkg_resources import sys from invenio.ext.script import Manager manager = Manager(usage=__doc__) # Shortcuts for manager options to keep code DRY. option_yes_i_know = manager.option('--yes-i-know', action='store_true', dest='yes_i_know', help='use with care!') option_default_data = manager.option('--no-data', action='store_false', dest='default_data', help='do not populate tables with ' 'default data') option_file = manager.option('-f', '--file', dest='files', action='append', help='data file to use') option_jobid = manager.option('-j', '--job-id', dest='job_id', type=int, default=0, help='bibsched starting job id') option_extrainfo = manager.option('-e', '--extra-info', dest='extra_info', action='append', help='extraneous parameters') option_packages = manager.option('-p', '--packages', dest='packages', action='append', default=[], help='package import name (repeteable)') @option_packages @option_default_data @option_file @option_jobid @option_extrainfo def populate(packages=[], default_data=True, files=None, job_id=0, extra_info=None): """Load demo records. Useful for testing purposes.""" if not default_data: print('>>> Default data has been skiped (--no-data).') return if not packages: packages = ['invenio_demosite.base'] from werkzeug.utils import import_string from invenio.config import CFG_PREFIX map(import_string, packages) from invenio.ext.sqlalchemy import db print(">>> Going to load demo records...") db.session.execute("TRUNCATE schTASK") db.session.commit() if files is None: files = [pkg_resources.resource_filename( 'invenio', os.path.join('testsuite', 'data', 'demo_record_marc_data.xml'))] # upload demo site files: bibupload_flags = '-i' if extra_info is not None and 'force-recids' in extra_info: bibupload_flags = '-i -r --force' for f in files: job_id += 1 for cmd in ["%s/bin/bibupload -u admin %s %s" % (CFG_PREFIX, bibupload_flags, f), "%s/bin/bibupload %d" % (CFG_PREFIX, job_id)]: if os.system(cmd): print("ERROR: failed execution of", cmd) sys.exit(1) for cmd in ["bin/bibdocfile --textify --with-ocr --recid 97", "bin/bibdocfile --textify --all", "bin/bibindex -u admin", "bin/bibindex %d" % (job_id + 1,), "bin/bibindex -u admin -w global", "bin/bibindex %d" % (job_id + 2,), "bin/bibreformat -u admin -o HB", "bin/bibreformat %d" % (job_id + 3,), "bin/webcoll -u admin", "bin/webcoll %d" % (job_id + 4,), "bin/bibrank -u admin", "bin/bibrank %d" % (job_id + 5,), "bin/bibsort -u admin -R", "bin/bibsort %d" % (job_id + 6,), "bin/oairepositoryupdater -u admin", "bin/oairepositoryupdater %d" % (job_id + 7,), "bin/bibupload %d" % (job_id + 8,)]: cmd = os.path.join(CFG_PREFIX, cmd) if os.system(cmd): print("ERROR: failed execution of", cmd) sys.exit(1) print(">>> Demo records loaded successfully.") def main(): """Start the commandline manager.""" from invenio.base.factory import create_app app = create_app() manager.app = app manager.run() if __name__ == '__main__': main()
unknown
codeparrot/codeparrot-clean
ErrorCodes::Error(1); ErrorCodes::Error(2); ErrorCodes::Error(3); ErrorCodes::Error(2);
cpp
github
https://github.com/mongodb/mongo
buildscripts/tests/data/errorcodes/dup_checking/file1.cpp
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, 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. from django.core.urlresolvers import reverse from django.core import validators from django.utils.encoding import force_text from django.utils.translation import pgettext_lazy from django.utils.translation import ugettext_lazy as _ from horizon import exceptions from horizon import forms from horizon import messages from openstack_dashboard import api from openstack_dashboard.dashboards.project.containers import tables no_slash_validator = validators.RegexValidator(r'^(?u)[^/]+$', _("Slash is not an allowed " "character."), code="noslash") class CreateContainer(forms.SelfHandlingForm): ACCESS_CHOICES = ( ("private", _("Private")), ("public", _("Public")), ) parent = forms.CharField(max_length=255, required=False, widget=forms.HiddenInput) name = forms.CharField(max_length=255, label=_("Container Name"), validators=[no_slash_validator]) access = forms.ChoiceField(label=_("Container Access"), choices=ACCESS_CHOICES) def handle(self, request, data): try: if not data['parent']: is_public = data["access"] == "public" metadata = ({'is_public': is_public}) # Create a container api.swift.swift_create_container(request, data["name"], metadata=metadata) messages.success(request, _("Container created successfully.")) else: # Create a pseudo-folder container, slash, remainder = data['parent'].partition("/") remainder = remainder.rstrip("/") subfolder_name = "/".join([bit for bit in (remainder, data['name']) if bit]) api.swift.swift_create_subfolder(request, container, subfolder_name) messages.success(request, _("Folder created successfully.")) return True except Exception: exceptions.handle(request, _('Unable to create container.')) class UploadObject(forms.SelfHandlingForm): path = forms.CharField(max_length=255, required=False, widget=forms.HiddenInput) object_file = forms.FileField(label=_("File"), required=False, allow_empty_file=True) name = forms.CharField(max_length=255, label=_("Object Name"), help_text=_("Slashes are allowed, and are treated " "as pseudo-folders by the Object " "Store."), widget=forms.TextInput( attrs={"ng-model": "name", "not-blank": ""} )) container_name = forms.CharField(widget=forms.HiddenInput()) def _set_object_path(self, data): if data['path']: object_path = "/".join([data['path'].rstrip("/"), data['name']]) else: object_path = data['name'] return object_path def clean(self): data = super(UploadObject, self).clean() if 'object_file' not in self.files: self.files['object_file'] = None return data def handle(self, request, data): object_file = self.files['object_file'] object_path = self._set_object_path(data) try: obj = api.swift.swift_upload_object(request, data['container_name'], object_path, object_file) msg = force_text(_("Object was successfully uploaded.")) messages.success(request, msg) return obj except Exception: exceptions.handle(request, _("Unable to upload object.")) class UpdateObject(UploadObject): def __init__(self, *args, **kwargs): super(UpdateObject, self).__init__(*args, **kwargs) self.fields['name'].widget = forms.TextInput( attrs={"readonly": "readonly"}) self.fields['name'].help_text = None def handle(self, request, data): object_file = self.files.get('object_file') if object_file: object_path = self._set_object_path(data) try: obj = api.swift.swift_upload_object(request, data['container_name'], object_path, object_file) messages.success( request, _("Object was successfully updated.")) return obj except Exception: exceptions.handle(request, _("Unable to update object.")) return False else: # If object file is not provided, then a POST method is needed # to update ONLY metadata. This must be implemented when # object metadata can be updated from this panel. return True class CreatePseudoFolder(forms.SelfHandlingForm): path = forms.CharField(max_length=255, required=False, widget=forms.HiddenInput) name = forms.CharField(max_length=255, label=_("Pseudo-folder Name")) container_name = forms.CharField(widget=forms.HiddenInput()) def _set_pseudo_folder_path(self, data): if data['path']: pseudo_folder_path = "/".join([data['path'].rstrip("/"), data['name']]) + "/" else: pseudo_folder_path = data['name'] + "/" return pseudo_folder_path def handle(self, request, data): pseudo_folder_path = self._set_pseudo_folder_path(data) try: obj = api.swift.swift_create_pseudo_folder(request, data['container_name'], pseudo_folder_path) messages.success(request, _("Pseudo-folder was successfully created.")) return obj except Exception: exceptions.handle(request, _("Unable to create pseudo-folder.")) class CopyObject(forms.SelfHandlingForm): new_container_name = forms.ChoiceField(label=_("Destination container"), validators=[no_slash_validator]) path = forms.CharField( label=pgettext_lazy("Swift pseudo folder path", u"Path"), max_length=255, required=False) new_object_name = forms.CharField(max_length=255, label=_("Destination object name"), validators=[no_slash_validator]) orig_container_name = forms.CharField(widget=forms.HiddenInput()) orig_object_name = forms.CharField(widget=forms.HiddenInput()) def __init__(self, *args, **kwargs): containers = kwargs.pop('containers') super(CopyObject, self).__init__(*args, **kwargs) self.fields['new_container_name'].choices = containers def handle(self, request, data): index = "horizon:project:containers:index" orig_container = data['orig_container_name'] orig_object = data['orig_object_name'] new_container = data['new_container_name'] new_object = data['new_object_name'] path = data['path'] if path and not path.endswith("/"): path = path + "/" new_path = "%s%s" % (path, new_object) # Now copy the object itself. try: api.swift.swift_copy_object(request, orig_container, orig_object, new_container, new_path) dest = "%s/%s" % (new_container, path) vals = {"dest": dest.rstrip("/"), "orig": orig_object.split("/")[-1], "new": new_object} messages.success(request, _('Copied "%(orig)s" to "%(dest)s" as "%(new)s".') % vals) return True except exceptions.HorizonException as exc: messages.error(request, exc) raise exceptions.Http302( reverse(index, args=[tables.wrap_delimiter(orig_container)])) except Exception: redirect = reverse(index, args=[tables.wrap_delimiter(orig_container)]) exceptions.handle(request, _("Unable to copy object."), redirect=redirect)
unknown
codeparrot/codeparrot-clean
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012, 2013, 2014, 2015, 2016, 2017 Python Software Foundation; All # Rights Reserved # # This is a backport from python 3.4 into python 2.7. Text and exclusive mode # support are removed as they're unsupported in 2.7. This backport patches a # streaming bug that exists in python 2.7. """Test script for the gzip module. """ import six from six.moves import range import unittest import os import io import struct from apitools.base.py import gzip from io import open data1 = b""" int length=DEFAULTALLOC, err = Z_OK; PyObject *RetVal; int flushmode = Z_FINISH; unsigned long start_total_out; """ data2 = b"""/* zlibmodule.c -- gzip-compatible data compression */ /* See http://www.gzip.org/zlib/ /* See http://www.winimage.com/zLibDll for Windows */ """ def unlink(filename): try: os.unlink(filename) except: pass class UnseekableIO(io.BytesIO): def seekable(self): return False def tell(self): raise io.UnsupportedOperation def seek(self, *args): raise io.UnsupportedOperation class BaseTest(unittest.TestCase): filename = "@test" def setUp(self): unlink(self.filename) def tearDown(self): unlink(self.filename) class TestGzip(BaseTest): def write_and_read_back(self, data, mode='b'): b_data = bytes(data) with gzip.GzipFile(self.filename, 'w' + mode) as f: l = f.write(data) self.assertEqual(l, len(b_data)) with gzip.GzipFile(self.filename, 'r' + mode) as f: self.assertEqual(f.read(), b_data) def test_write(self): with gzip.GzipFile(self.filename, 'wb') as f: f.write(data1 * 50) # Try flush and fileno. f.flush() f.fileno() if hasattr(os, 'fsync'): os.fsync(f.fileno()) f.close() # Test multiple close() calls. f.close() # The following test_write_xy methods test that write accepts # the corresponding bytes-like object type as input # and that the data written equals bytes(xy) in all cases. def test_write_memoryview(self): data = memoryview(data1 * 50) self.write_and_read_back(data.tobytes()) data = memoryview(bytes(range(256))) self.write_and_read_back(data.tobytes()) def test_write_incompatible_type(self): # Test that non-bytes-like types raise TypeError. # Issue #21560: attempts to write incompatible types # should not affect the state of the fileobject with gzip.GzipFile(self.filename, 'wb') as f: if six.PY2: with self.assertRaises(UnicodeEncodeError): f.write(u'\xff') elif six.PY3: with self.assertRaises(TypeError): f.write(u'\xff') with self.assertRaises(TypeError): f.write([1]) f.write(data1) with gzip.GzipFile(self.filename, 'rb') as f: self.assertEqual(f.read(), data1) def test_read(self): self.test_write() # Try reading. with gzip.GzipFile(self.filename, 'r') as f: d = f.read() self.assertEqual(d, data1 * 50) def test_read1(self): self.test_write() blocks = [] nread = 0 with gzip.GzipFile(self.filename, 'r') as f: while True: d = f.read1() if not d: break blocks.append(d) nread += len(d) # Check that position was updated correctly (see issue10791). self.assertEqual(f.tell(), nread) self.assertEqual(b''.join(blocks), data1 * 50) def test_io_on_closed_object(self): # Test that I/O operations on closed GzipFile objects raise a # ValueError, just like the corresponding functions on file objects. # Write to a file, open it for reading, then close it. self.test_write() f = gzip.GzipFile(self.filename, 'r') f.close() with self.assertRaises(ValueError): f.read(1) with self.assertRaises(ValueError): f.seek(0) with self.assertRaises(ValueError): f.tell() # Open the file for writing, then close it. f = gzip.GzipFile(self.filename, 'w') f.close() with self.assertRaises(ValueError): f.write(b'') with self.assertRaises(ValueError): f.flush() def test_append(self): self.test_write() # Append to the previous file with gzip.GzipFile(self.filename, 'ab') as f: f.write(data2 * 15) with gzip.GzipFile(self.filename, 'rb') as f: d = f.read() self.assertEqual(d, (data1 * 50) + (data2 * 15)) def test_many_append(self): # Bug #1074261 was triggered when reading a file that contained # many, many members. Create such a file and verify that reading it # works. with gzip.GzipFile(self.filename, 'wb', 9) as f: f.write(b'a') for i in range(0, 200): with gzip.GzipFile(self.filename, "ab", 9) as f: # append f.write(b'a') # Try reading the file with gzip.GzipFile(self.filename, "rb") as zgfile: contents = b"" while 1: ztxt = zgfile.read(8192) contents += ztxt if not ztxt: break self.assertEqual(contents, b'a' * 201) def test_buffered_reader(self): # Issue #7471: a GzipFile can be wrapped in a BufferedReader for # performance. self.test_write() with gzip.GzipFile(self.filename, 'rb') as f: with io.BufferedReader(f) as r: lines = [line for line in r] self.assertEqual(lines, 50 * data1.splitlines(True)) def test_readline(self): self.test_write() # Try .readline() with varying line lengths with gzip.GzipFile(self.filename, 'rb') as f: line_length = 0 while 1: L = f.readline(line_length) if not L and line_length != 0: break self.assertTrue(len(L) <= line_length) line_length = (line_length + 1) % 50 def test_readlines(self): self.test_write() # Try .readlines() with gzip.GzipFile(self.filename, 'rb') as f: L = f.readlines() with gzip.GzipFile(self.filename, 'rb') as f: while 1: L = f.readlines(150) if L == []: break def test_seek_read(self): self.test_write() # Try seek, read test with gzip.GzipFile(self.filename) as f: while 1: oldpos = f.tell() line1 = f.readline() if not line1: break newpos = f.tell() f.seek(oldpos) # negative seek if len(line1) > 10: amount = 10 else: amount = len(line1) line2 = f.read(amount) self.assertEqual(line1[:amount], line2) f.seek(newpos) # positive seek def test_seek_whence(self): self.test_write() # Try seek(whence=1), read test with gzip.GzipFile(self.filename) as f: f.read(10) f.seek(10, whence=1) y = f.read(10) self.assertEqual(y, data1[20:30]) def test_seek_write(self): # Try seek, write test with gzip.GzipFile(self.filename, 'w') as f: for pos in range(0, 256, 16): f.seek(pos) f.write(b'GZ\n') def test_mode(self): self.test_write() with gzip.GzipFile(self.filename, 'r') as f: self.assertEqual(f.myfileobj.mode, 'rb') def test_1647484(self): for mode in ('wb', 'rb'): with gzip.GzipFile(self.filename, mode) as f: self.assertTrue(hasattr(f, "name")) self.assertEqual(f.name, self.filename) def test_paddedfile_getattr(self): self.test_write() with gzip.GzipFile(self.filename, 'rb') as f: self.assertTrue(hasattr(f.fileobj, "name")) self.assertEqual(f.fileobj.name, self.filename) def test_mtime(self): mtime = 123456789 with gzip.GzipFile(self.filename, 'w', mtime=mtime) as fWrite: fWrite.write(data1) with gzip.GzipFile(self.filename) as fRead: dataRead = fRead.read() self.assertEqual(dataRead, data1) self.assertTrue(hasattr(fRead, 'mtime')) self.assertEqual(fRead.mtime, mtime) def test_metadata(self): mtime = 123456789 with gzip.GzipFile(self.filename, 'w', mtime=mtime) as fWrite: fWrite.write(data1) with open(self.filename, 'rb') as fRead: # see RFC 1952: http://www.faqs.org/rfcs/rfc1952.html idBytes = fRead.read(2) self.assertEqual(idBytes, b'\x1f\x8b') # gzip ID cmByte = fRead.read(1) self.assertEqual(cmByte, b'\x08') # deflate flagsByte = fRead.read(1) self.assertEqual(flagsByte, b'\x08') # only the FNAME flag is set mtimeBytes = fRead.read(4) self.assertEqual(mtimeBytes, struct.pack( '<i', mtime)) # little-endian xflByte = fRead.read(1) self.assertEqual(xflByte, b'\x02') # maximum compression osByte = fRead.read(1) self.assertEqual(osByte, b'\xff') # OS "unknown" (OS-independent) # Since the FNAME flag is set, the zero-terminated filename # follows. RFC 1952 specifies that this is the name of the input # file, if any. However, the gzip module defaults to storing the # name of the output file in this field. expected = self.filename.encode('Latin-1') + b'\x00' nameBytes = fRead.read(len(expected)) self.assertEqual(nameBytes, expected) # Since no other flags were set, the header ends here. Rather than # process the compressed data, let's seek to the trailer. fRead.seek(os.stat(self.filename).st_size - 8) crc32Bytes = fRead.read(4) # CRC32 of uncompressed data [data1] self.assertEqual(crc32Bytes, b'\xaf\xd7d\x83') isizeBytes = fRead.read(4) self.assertEqual(isizeBytes, struct.pack('<i', len(data1))) def test_with_open(self): # GzipFile supports the context management protocol with gzip.GzipFile(self.filename, "wb") as f: f.write(b"xxx") f = gzip.GzipFile(self.filename, "rb") f.close() try: with f: pass except ValueError: pass else: self.fail("__enter__ on a closed file didn't raise an exception") try: with gzip.GzipFile(self.filename, "wb") as f: 1 / 0 except ZeroDivisionError: pass else: self.fail("1/0 didn't raise an exception") def test_zero_padded_file(self): with gzip.GzipFile(self.filename, "wb") as f: f.write(data1 * 50) # Pad the file with zeroes with open(self.filename, "ab") as f: f.write(b"\x00" * 50) with gzip.GzipFile(self.filename, "rb") as f: d = f.read() self.assertEqual(d, data1 * 50, "Incorrect data in file") def test_non_seekable_file(self): uncompressed = data1 * 50 buf = UnseekableIO() with gzip.GzipFile(fileobj=buf, mode="wb") as f: f.write(uncompressed) compressed = buf.getvalue() buf = UnseekableIO(compressed) with gzip.GzipFile(fileobj=buf, mode="rb") as f: self.assertEqual(f.read(), uncompressed) def test_peek(self): uncompressed = data1 * 200 with gzip.GzipFile(self.filename, "wb") as f: f.write(uncompressed) def sizes(): while True: for n in range(5, 50, 10): yield n with gzip.GzipFile(self.filename, "rb") as f: f.max_read_chunk = 33 nread = 0 for n in sizes(): s = f.peek(n) if s == b'': break self.assertEqual(f.read(len(s)), s) nread += len(s) self.assertEqual(f.read(100), b'') self.assertEqual(nread, len(uncompressed)) def test_textio_readlines(self): # Issue #10791: TextIOWrapper.readlines() fails when wrapping GzipFile. lines = (data1 * 50).decode("ascii").splitlines(True) self.test_write() with gzip.GzipFile(self.filename, 'r') as f: with io.TextIOWrapper(f, encoding="ascii") as t: self.assertEqual(t.readlines(), lines) def test_fileobj_from_fdopen(self): # Issue #13781: Opening a GzipFile for writing fails when using a # fileobj created with os.fdopen(). fd = os.open(self.filename, os.O_WRONLY | os.O_CREAT) with os.fdopen(fd, "wb") as f: with gzip.GzipFile(fileobj=f, mode="w") as g: pass def test_bytes_filename(self): str_filename = self.filename try: bytes_filename = str_filename.encode("ascii") except UnicodeEncodeError: self.skipTest("Temporary file name needs to be ASCII") with gzip.GzipFile(bytes_filename, "wb") as f: f.write(data1 * 50) with gzip.GzipFile(bytes_filename, "rb") as f: self.assertEqual(f.read(), data1 * 50) # Sanity check that we are actually operating on the right file. with gzip.GzipFile(str_filename, "rb") as f: self.assertEqual(f.read(), data1 * 50) # Testing compress/decompress shortcut functions def test_compress(self): for data in [data1, data2]: for args in [(), (1,), (6,), (9,)]: datac = gzip.compress(data, *args) self.assertEqual(type(datac), bytes) with gzip.GzipFile(fileobj=io.BytesIO(datac), mode="rb") as f: self.assertEqual(f.read(), data) def test_decompress(self): for data in (data1, data2): buf = io.BytesIO() with gzip.GzipFile(fileobj=buf, mode="wb") as f: f.write(data) self.assertEqual(gzip.decompress(buf.getvalue()), data) # Roundtrip with compress datac = gzip.compress(data) self.assertEqual(gzip.decompress(datac), data) def test_read_truncated(self): data = data1 * 50 # Drop the CRC (4 bytes) and file size (4 bytes). truncated = gzip.compress(data)[:-8] with gzip.GzipFile(fileobj=io.BytesIO(truncated)) as f: self.assertRaises(EOFError, f.read) with gzip.GzipFile(fileobj=io.BytesIO(truncated)) as f: self.assertEqual(f.read(len(data)), data) self.assertRaises(EOFError, f.read, 1) # Incomplete 10-byte header. for i in range(2, 10): with gzip.GzipFile(fileobj=io.BytesIO(truncated[:i])) as f: self.assertRaises(EOFError, f.read, 1) def test_read_with_extra(self): # Gzip data with an extra field gzdata = (b'\x1f\x8b\x08\x04\xb2\x17cQ\x02\xff' b'\x05\x00Extra' b'\x0bI-.\x01\x002\xd1Mx\x04\x00\x00\x00') with gzip.GzipFile(fileobj=io.BytesIO(gzdata)) as f: self.assertEqual(f.read(), b'Test') def test_prepend_error(self): # See issue #20875 with gzip.open(self.filename, "wb") as f: f.write(data1) with gzip.open(self.filename, "rb") as f: f.fileobj.prepend() class TestOpen(BaseTest): def test_binary_modes(self): uncompressed = data1 * 50 with gzip.open(self.filename, "wb") as f: f.write(uncompressed) with open(self.filename, "rb") as f: file_data = gzip.decompress(f.read()) self.assertEqual(file_data, uncompressed) with gzip.open(self.filename, "rb") as f: self.assertEqual(f.read(), uncompressed) with gzip.open(self.filename, "ab") as f: f.write(uncompressed) with open(self.filename, "rb") as f: file_data = gzip.decompress(f.read()) self.assertEqual(file_data, uncompressed * 2) def test_implicit_binary_modes(self): # Test implicit binary modes (no "b" or "t" in mode string). uncompressed = data1 * 50 with gzip.open(self.filename, "w") as f: f.write(uncompressed) with open(self.filename, "rb") as f: file_data = gzip.decompress(f.read()) self.assertEqual(file_data, uncompressed) with gzip.open(self.filename, "r") as f: self.assertEqual(f.read(), uncompressed) with gzip.open(self.filename, "a") as f: f.write(uncompressed) with open(self.filename, "rb") as f: file_data = gzip.decompress(f.read()) self.assertEqual(file_data, uncompressed * 2)
unknown
codeparrot/codeparrot-clean
/* * Copyright 2021 Google 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. */ #ifndef FLATBUFFERS_STRUCT_H_ #define FLATBUFFERS_STRUCT_H_ #include "flatbuffers/base.h" namespace flatbuffers { // "structs" are flat structures that do not have an offset table, thus // always have all members present and do not support forwards/backwards // compatible extensions. class Struct FLATBUFFERS_FINAL_CLASS { public: template <typename T> T GetField(uoffset_t o) const { return ReadScalar<T>(&data_[o]); } template <typename T> T GetStruct(uoffset_t o) const { return reinterpret_cast<T>(&data_[o]); } const uint8_t* GetAddressOf(uoffset_t o) const { return &data_[o]; } uint8_t* GetAddressOf(uoffset_t o) { return &data_[o]; } private: // private constructor & copy constructor: you obtain instances of this // class by pointing to existing data only Struct(); Struct(const Struct&); Struct& operator=(const Struct&); uint8_t data_[1]; }; } // namespace flatbuffers #endif // FLATBUFFERS_STRUCT_H_
c
github
https://github.com/opencv/opencv
3rdparty/flatbuffers/include/flatbuffers/struct.h
"""This tutorial introduces the LeNet5 neural network architecture using Theano. LeNet5 is a convolutional neural network, good for classifying images. This tutorial shows how to build the architecture, and comes with all the hyper-parameters you need to reproduce the paper's MNIST results. This implementation simplifies the model in the following ways: - LeNetConvPool doesn't implement location-specific gain and bias parameters - LeNetConvPool doesn't implement pooling by average, it implements pooling by max. - Digit classification is implemented with a logistic regression rather than an RBF network - LeNet5 was not fully-connected convolutions at second layer References: - Y. LeCun, L. Bottou, Y. Bengio and P. Haffner: Gradient-Based Learning Applied to Document Recognition, Proceedings of the IEEE, 86(11):2278-2324, November 1998. http://yann.lecun.com/exdb/publis/pdf/lecun-98.pdf """ from __future__ import print_function import os import sys import timeit import numpy import theano import theano.tensor as T from theano.tensor.signal import downsample from theano.tensor.nnet import conv2d from logistic_sgd import LogisticRegression, load_data from mlp import HiddenLayer from numpy import float32 class LeNetConvPoolLayer(object): """Pool Layer of a convolutional network """ def __init__(self, rng, input, filter_shape, image_shape, poolsize=(2, 2)): """ Allocate a LeNetConvPoolLayer with shared variable internal parameters. :type rng: numpy.random.RandomState :param rng: a random number generator used to initialize weights :type input: theano.tensor.dtensor4 :param input: symbolic image tensor, of shape image_shape :type filter_shape: tuple or list of length 4 :param filter_shape: (number of filters, num input feature maps, filter height, filter width) :type image_shape: tuple or list of length 4 :param image_shape: (batch size, num input feature maps, image height, image width) :type poolsize: tuple or list of length 2 :param poolsize: the downsampling (pooling) factor (#rows, #cols) """ assert image_shape[1] == filter_shape[1] self.input = input # there are "num input feature maps * filter height * filter width" # inputs to each hidden unit fan_in = numpy.prod(filter_shape[1:]) # each unit in the lower layer receives a gradient from: # "num output feature maps * filter height * filter width" / # pooling size fan_out = (filter_shape[0] * numpy.prod(filter_shape[2:]) // numpy.prod(poolsize)) # initialize weights with random weights W_bound = numpy.sqrt(6. / (fan_in + fan_out)) self.W = theano.shared( numpy.asarray( rng.uniform(low=-W_bound, high=W_bound, size=filter_shape), dtype=theano.config.floatX ), borrow=True ) # the bias is a 1D tensor -- one bias per output feature map b_values = numpy.zeros((filter_shape[0],), dtype=theano.config.floatX) self.b = theano.shared(value=b_values, borrow=True) # convolve input feature maps with filters conv_out = conv2d( input=input, filters=self.W, filter_shape=filter_shape, input_shape=image_shape ) # downsample each feature map individually, using maxpooling pooled_out = downsample.max_pool_2d( input=conv_out, ds=poolsize, ignore_border=True ) # add the bias term. Since the bias is a vector (1D array), we first # reshape it to a tensor of shape (1, n_filters, 1, 1). Each bias will # thus be broadcasted across mini-batches and feature map # width & height self.output = T.tanh(pooled_out + self.b.dimshuffle('x', 0, 'x', 'x')) # store parameters of this layer self.params = [self.W, self.b] # keep track of model input self.input = input import RunConv def evaluate_lenet5(learning_rate=0.1, n_epochs=200, dataset='data.pkl', nkerns=[20, 50], batch_size=500): """ Demonstrates lenet on MNIST dataset :type learning_rate: float :param learning_rate: learning rate used (factor for the stochastic gradient) :type n_epochs: int :param n_epochs: maximal number of epochs to run the optimizer :type dataset: string :param dataset: path to the dataset used for training /testing (MNIST here) :type nkerns: list of ints :param nkerns: number of kernels on each layer """ rng = numpy.random.RandomState(23455) datasets = RunConv.load_data(dataset) train_set_x, train_set_y = datasets[0] valid_set_x, valid_set_y = datasets[1] test_set_x, test_set_y = datasets[2] # compute number of minibatches for training, validation and testing n_train_batches = train_set_x.get_value(borrow=True).shape[0] n_valid_batches = valid_set_x.get_value(borrow=True).shape[0] n_test_batches = test_set_x.get_value(borrow=True).shape[0] n_train_batches //= batch_size n_valid_batches //= batch_size n_test_batches //= batch_size # allocate symbolic variables for the data index = T.lscalar() # index to a [mini]batch # start-snippet-1 x = T.matrix('x') # the data is presented as rasterized images y = T.ivector('y') # the labels are presented as 1D vector of # [int] labels ###################### # BUILD ACTUAL MODEL # ###################### print('... building the model') # Reshape matrix of rasterized images of shape (batch_size, 28 * 28) # to a 4D tensor, compatible with our LeNetConvPoolLayer # (28, 28) is the size of MNIST images. layer0_input = x.reshape((batch_size, 4, 64, 64)) # Construct the first convolutional pooling layer: # filtering reduces the image size to (28-5+1 , 28-5+1) = (24, 24) # maxpooling reduces this further to (24/2, 24/2) = (12, 12) # 4D output tensor is thus of shape (batch_size, nkerns[0], 12, 12) layer0 = LeNetConvPoolLayer( rng, input=layer0_input, image_shape=(batch_size, 4, 64, 64), filter_shape=(nkerns[0], 1, 5, 5), poolsize=(2, 2) ) # Construct the second convolutional pooling layer # filtering reduces the image size to (12-5+1, 12-5+1) = (8, 8) # maxpooling reduces this further to (8/2, 8/2) = (4, 4) # 4D output tensor is thus of shape (batch_size, nkerns[1], 4, 4) layer1 = LeNetConvPoolLayer( rng, input=layer0.output, image_shape=(batch_size, nkerns[0], 12, 12), filter_shape=(nkerns[1], nkerns[0], 5, 5), poolsize=(2, 2) ) # the HiddenLayer being fully-connected, it operates on 2D matrices of # shape (batch_size, num_pixels) (i.e matrix of rasterized images). # This will generate a matrix of shape (batch_size, nkerns[1] * 4 * 4), # or (500, 50 * 4 * 4) = (500, 800) with the default values. layer2_input = layer1.output.flatten(2) # construct a fully-connected sigmoidal layer layer2 = HiddenLayer( rng, input=layer2_input, n_in=nkerns[1] * 4 * 4, n_out=500, activation=T.tanh ) # classify the values of the fully-connected sigmoidal layer layer3 = LogisticRegression(input=layer2.output, n_in=500, n_out=2) # the cost we minimize during training is the NLL of the model cost = layer3.negative_log_likelihood(y) # create a function to compute the mistakes that are made by the model test_model = theano.function( [index], layer3.errors(y), givens={ x: test_set_x[index * batch_size: (index + 1) * batch_size], y: test_set_y[index * batch_size: (index + 1) * batch_size] } ) validate_model = theano.function( [index], layer3.errors(y), givens={ x: valid_set_x[index * batch_size: (index + 1) * batch_size], y: valid_set_y[index * batch_size: (index + 1) * batch_size] } ) # create a list of all model parameters to be fit by gradient descent params = layer3.params + layer2.params + layer1.params + layer0.params # create a list of gradients for all model parameters grads = T.grad(cost, params) # train_model is a function that updates the model parameters by # SGD Since this model has many parameters, it would be tedious to # manually create an update rule for each model parameter. We thus # create the updates list by automatically looping over all # (params[i], grads[i]) pairs. updates = [ (param_i, param_i - learning_rate * grad_i) for param_i, grad_i in zip(params, grads) ] train_model = theano.function( [index], cost, updates=updates, givens={ x: train_set_x[index * batch_size: (index + 1) * batch_size], y: train_set_y[index * batch_size: (index + 1) * batch_size] } ) # end-snippet-1 ############### # TRAIN MODEL # ############### print('... training') # early-stopping parameters patience = 10000 # look as this many examples regardless patience_increase = 2 # wait this much longer when a new best is # found improvement_threshold = 0.995 # a relative improvement of this much is # considered significant validation_frequency = min(n_train_batches, patience // 2) # go through this many # minibatche before checking the network # on the validation set; in this case we # check every epoch best_validation_loss = numpy.inf best_iter = 0 test_score = 0. start_time = timeit.default_timer() epoch = 0 done_looping = False while (epoch < n_epochs) and (not done_looping): epoch = epoch + 1 for minibatch_index in range(n_train_batches): iter = (epoch - 1) * n_train_batches + minibatch_index if iter % 100 == 0: print('training @ iter = ', iter) cost_ij = train_model(minibatch_index) if (iter + 1) % validation_frequency == 0: # compute zero-one loss on validation set validation_losses = [validate_model(i) for i in range(n_valid_batches)] this_validation_loss = numpy.mean(validation_losses) print('epoch %i, minibatch %i/%i, validation error %f %%' % (epoch, minibatch_index + 1, n_train_batches, this_validation_loss * 100.)) # if we got the best validation score until now if this_validation_loss < best_validation_loss: #improve patience if loss improvement is good enough if this_validation_loss < best_validation_loss * \ improvement_threshold: patience = max(patience, iter * patience_increase) # save best validation score and iteration number best_validation_loss = this_validation_loss best_iter = iter # test it on the test set test_losses = [ test_model(i) for i in range(n_test_batches) ] test_score = numpy.mean(test_losses) print((' epoch %i, minibatch %i/%i, test error of ' 'best model %f %%') % (epoch, minibatch_index + 1, n_train_batches, test_score * 100.)) if patience <= iter: done_looping = True break end_time = timeit.default_timer() print('Optimization complete.') print('Best validation score of %f %% obtained at iteration %i, ' 'with test performance %f %%' % (best_validation_loss * 100., best_iter + 1, test_score * 100.)) print(('The code for file ' + os.path.split(__file__)[1] + ' ran for %.2fm' % ((end_time - start_time) / 60.)), file=sys.stderr) if __name__ == '__main__': evaluate_lenet5() def experiment(state, channel): evaluate_lenet5(state.learning_rate, dataset=state.dataset)
unknown
codeparrot/codeparrot-clean
""" Test the Studio help links. """ from flaky import flaky from unittest import skip from common.test.acceptance.fixtures.course import XBlockFixtureDesc from common.test.acceptance.tests.studio.base_studio_test import StudioCourseTest, ContainerBase from common.test.acceptance.pages.studio.index import DashboardPage, DashboardPageWithPrograms from common.test.acceptance.pages.studio.utils import click_studio_help, studio_help_links from common.test.acceptance.pages.studio.index import IndexPage, HomePage from common.test.acceptance.tests.studio.base_studio_test import StudioLibraryTest from common.test.acceptance.pages.studio.course_info import CourseUpdatesPage from common.test.acceptance.pages.studio.utils import click_css from common.test.acceptance.pages.studio.library import LibraryPage from common.test.acceptance.pages.studio.users import LibraryUsersPage from common.test.acceptance.pages.studio.overview import CourseOutlinePage from common.test.acceptance.pages.studio.asset_index import AssetIndexPage from common.test.acceptance.pages.studio.edit_tabs import PagesPage from common.test.acceptance.pages.studio.textbook_upload import TextbookUploadPage from common.test.acceptance.pages.studio.settings import SettingsPage from common.test.acceptance.pages.studio.settings_graders import GradingPage from common.test.acceptance.pages.studio.settings_group_configurations import GroupConfigurationsPage from common.test.acceptance.pages.studio.settings_advanced import AdvancedSettingsPage from common.test.acceptance.pages.studio.settings_certificates import CertificatesPage from common.test.acceptance.pages.studio.import_export import ExportCoursePage, ImportCoursePage from common.test.acceptance.pages.studio.users import CourseTeamPage from common.test.acceptance.fixtures.programs import ProgramsConfigMixin from common.test.acceptance.tests.helpers import ( AcceptanceTest, assert_nav_help_link, assert_side_bar_help_link ) from common.test.acceptance.pages.studio.import_export import ExportLibraryPage, ImportLibraryPage from common.test.acceptance.pages.studio.auto_auth import AutoAuthPage class StudioHelpTest(StudioCourseTest): """Tests for Studio help.""" def test_studio_help_links(self): """Test that the help links are present and have the correct content.""" page = DashboardPage(self.browser) page.visit() click_studio_help(page) links = studio_help_links(page) expected_links = [{ 'href': u'http://docs.edx.org/', 'text': u'edX Documentation', 'sr_text': u'Access documentation on http://docs.edx.org' }, { 'href': u'https://open.edx.org/', 'text': u'Open edX Portal', 'sr_text': u'Access the Open edX Portal' }, { 'href': u'https://www.edx.org/course/overview-creating-edx-course-edx-edx101#.VO4eaLPF-n1', 'text': u'Enroll in edX101', 'sr_text': u'Enroll in edX101: Overview of Creating an edX Course' }, { 'href': u'https://www.edx.org/course/creating-course-edx-studio-edx-studiox', 'text': u'Enroll in StudioX', 'sr_text': u'Enroll in StudioX: Creating a Course with edX Studio' }, { 'href': u'mailto:partner-support@example.com', 'text': u'Contact Us', 'sr_text': 'Send an email to partner-support@example.com' }] for expected, actual in zip(expected_links, links): self.assertEqual(expected['href'], actual.get_attribute('href')) self.assertEqual(expected['text'], actual.text) self.assertEqual( expected['sr_text'], actual.find_element_by_xpath('following-sibling::span').text ) class SignInHelpTest(AcceptanceTest): """ Tests help links on 'Sign In' page """ def setUp(self): super(SignInHelpTest, self).setUp() self.index_page = IndexPage(self.browser) self.index_page.visit() def test_sign_in_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Sign In' page. Given that I am on the 'Sign In" page. And I want help about the sign in And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ sign_in_page = self.index_page.click_sign_in() # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=sign_in_page, href=href, signed_in=False ) class SignUpHelpTest(AcceptanceTest): """ Tests help links on 'Sign Up' page. """ def setUp(self): super(SignUpHelpTest, self).setUp() self.index_page = IndexPage(self.browser) self.index_page.visit() def test_sign_up_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Sign Up' page. Given that I am on the 'Sign Up" page. And I want help about the sign up And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ sign_up_page = self.index_page.click_sign_up() # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=sign_up_page, href=href, signed_in=False ) class HomeHelpTest(StudioCourseTest): """ Tests help links on 'Home'(Courses tab) page. """ def setUp(self): # pylint: disable=arguments-differ super(HomeHelpTest, self).setUp() self.home_page = HomePage(self.browser) self.home_page.visit() def test_course_home_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Home'(Courses tab) page. Given that I am on the 'Home'(Courses tab) page. And I want help about the courses And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.home_page, href=href ) def test_course_home_side_bar_help(self): """ Scenario: Help link in sidebar links is working on 'Home'(Courses tab) page. Given that I am on the 'Home'(Courses tab) page. And I want help about the courses And I click the 'Getting Started with edX Studio' in the sidebar links Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.home_page, href=href, help_text='Getting Started with edX Studio', as_list_item=True ) class NewCourseHelpTest(AcceptanceTest): """ Test help links while creating a new course. """ def setUp(self): super(NewCourseHelpTest, self).setUp() self.auth_page = AutoAuthPage(self.browser, staff=True) self.dashboard_page = DashboardPage(self.browser) self.auth_page.visit() self.dashboard_page.visit() self.assertTrue(self.dashboard_page.new_course_button.present) self.dashboard_page.click_new_course_button() def test_course_create_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Create a New Course' page in the dashboard. Given that I am on the 'Create a New Course' page in the dashboard. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.dashboard_page, href=href ) def test_course_create_side_bar_help(self): """ Scenario: Help link in sidebar links is working on 'Create a New Course' page in the dashboard. Given that I am on the 'Create a New Course' page in the dashboard. And I want help about the process And I click the 'Getting Started with edX Studio' in the sidebar links Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.dashboard_page, href=href, help_text='Getting Started with edX Studio', as_list_item=True ) class NewLibraryHelpTest(AcceptanceTest): """ Test help links while creating a new library """ def setUp(self): super(NewLibraryHelpTest, self).setUp() self.auth_page = AutoAuthPage(self.browser, staff=True) self.dashboard_page = DashboardPage(self.browser) self.auth_page.visit() self.dashboard_page.visit() self.assertTrue(self.dashboard_page.has_new_library_button) self.dashboard_page.click_new_library() def test_library_create_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Create a New Library' page in the dashboard. Given that I am on the 'Create a New Library' page in the dashboard. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.dashboard_page, href=href ) def test_library_create_side_bar_help(self): """ Scenario: Help link in sidebar links is working on 'Create a New Library' page in the dashboard. Given that I am on the 'Create a New Library' page in the dashboard. And I want help about the process And I click the 'Getting Started with edX Studio' in the sidebar links Then Help link should open. And help url should end with 'getting_started/get_started.html' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.dashboard_page, href=href, help_text='Getting Started with edX Studio', as_list_item=True ) class LibraryTabHelpTest(AcceptanceTest): """ Test help links on the library tab present at dashboard. """ def setUp(self): super(LibraryTabHelpTest, self).setUp() self.auth_page = AutoAuthPage(self.browser, staff=True) self.dashboard_page = DashboardPage(self.browser) self.auth_page.visit() self.dashboard_page.visit() def test_library_tab_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Home'(Courses tab) page. Given that I am on the 'Home'(Courses tab) page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'getting_started/get_started.html' """ self.assertTrue(self.dashboard_page.has_new_library_button) click_css(self.dashboard_page, '#course-index-tabs .libraries-tab', 0, False) # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.dashboard_page, href=href ) class LibraryHelpTest(StudioLibraryTest): """ Test help links on a Library page. """ def setUp(self): super(LibraryHelpTest, self).setUp() self.library_page = LibraryPage(self.browser, self.library_key) self.library_user_page = LibraryUsersPage(self.browser, self.library_key) def test_library_content_nav_help(self): """ Scenario: Help link in navigation bar is working on content library page(click a library on the Library list page). Given that I am on the content library page(click a library on the Library list page). And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'course/components/libraries.html' """ self.library_page.visit() # The href we want to see in anchor help element. href = "http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/" \ "en/latest/course_components/libraries.html" # Assert that help link is correct. assert_nav_help_link( test=self, page=self.library_page, href=href ) def test_library_content_side_bar_help(self): """ Scenario: Help link in sidebar links is working on content library page(click a library on the Library list page). Given that I am on the content library page(click a library on the Library list page). And I want help about the process And I click the 'Learn more about content libraries' in the sidebar links Then Help link should open. And help url should end with 'course/components/libraries.html' """ self.library_page.visit() # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_components/libraries.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.library_page, href=href, help_text='Learn more about content libraries' ) def test_library_user_access_setting_nav_help(self): """ Scenario: Help link in navigation bar is working on 'User Access' settings page of library. Given that I am on the 'User Access' settings page of library. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'creating_content/libraries.html#give-other-users-access-to-your-library' """ self.library_user_page.visit() # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/course_components/libraries.html#give-other-users-access-to-your-library' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.library_user_page, href=href ) class LibraryImportHelpTest(StudioLibraryTest): """ Test help links on a Library import and export pages. """ def setUp(self): super(LibraryImportHelpTest, self).setUp() self.library_import_page = ImportLibraryPage(self.browser, self.library_key) self.library_import_page.visit() def test_library_import_nav_help(self): """ Scenario: Help link in navigation bar is working on Library import page. Given that I am on the Library import page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'creating_content/libraries.html#import-a-library' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/course_components/libraries.html#import-a-library' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.library_import_page, href=href ) def test_library_import_side_bar_help(self): """ Scenario: Help link in sidebar links is working on Library import page. Given that I am on the Library import page. And I want help about the process And I click the 'Learn more about importing a library' in the sidebar links Then Help link should open. And help url should end with 'creating_content/libraries.html#import-a-library' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/course_components/libraries.html#import-a-library' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.library_import_page, href=href, help_text='Learn more about importing a library' ) class LibraryExportHelpTest(StudioLibraryTest): """ Test help links on a Library export pages. """ def setUp(self): super(LibraryExportHelpTest, self).setUp() self.library_export_page = ExportLibraryPage(self.browser, self.library_key) self.library_export_page.visit() def test_library_export_nav_help(self): """ Scenario: Help link in navigation bar is working on Library export page. Given that I am on the Library export page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'creating_content/libraries.html#export-a-library' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/course_components/libraries.html#export-a-library' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.library_export_page, href=href ) def test_library_export_side_bar_help(self): """ Scenario: Help link in sidebar links is working on Library export page. Given that I am on the Library export page. And I want help about the process And I click the 'Learn more about exporting a library' in the sidebar links Then Help link should open. And help url should end with 'creating_content/libraries.html#export-a-library' """ # The href we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/course_components/libraries.html#export-a-library' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.library_export_page, href=href, help_text='Learn more about exporting a library' ) class NewProgramHelpTest(ProgramsConfigMixin, AcceptanceTest): """ Test help links on a 'New Program' page """ def setUp(self): super(NewProgramHelpTest, self).setUp() self.auth_page = AutoAuthPage(self.browser, staff=True) self.program_page = DashboardPageWithPrograms(self.browser) self.auth_page.visit() self.set_programs_api_configuration(True) self.program_page.visit() def test_program_create_nav_help(self): """ Scenario: Help link in navigation bar is working on 'New Program' page Given that I am on the 'New Program' page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'index.html' """ self.program_page.click_new_program_button() href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/index.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.program_page, href=href, ) class CourseOutlineHelpTest(StudioCourseTest): """ Tests help links on course outline page. """ def setUp(self): # pylint: disable=arguments-differ super(CourseOutlineHelpTest, self).setUp() self.course_outline_page = CourseOutlinePage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_outline_page.visit() @skip("This scenario depends upon TNL-5460") def test_course_outline_nav_help(self): """ Scenario: Help link in navigation bar is working on Course Outline page Given that I am on the Course Outline page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'developing_course/course_outline.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/developing_course/course_outline.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_outline_page, href=href ) def test_course_outline_side_bar_help(self): """ Scenario: Help link in sidebar links is working on Course Outline page Given that I am on the Course Outline page. And I want help about the process And I click the 'Learn more about the course outline' in the sidebar links Then Help link should open. And help url should end with 'developing_course/course_outline.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/developing_course/course_outline.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.course_outline_page, href=href, help_text='Learn more about the course outline', index=0 ) class CourseUpdateHelpTest(StudioCourseTest): """ Test help links on Course Update page """ def setUp(self): # pylint: disable=arguments-differ super(CourseUpdateHelpTest, self).setUp() self.course_update_page = CourseUpdatesPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_update_page.visit() def test_course_update_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Course Update' page Given that I am on the 'Course Update' page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'course_assets/handouts_updates.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_assets/handouts_updates.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_update_page, href=href ) class AssetIndexHelpTest(StudioCourseTest): """ Test help links on Course 'Files & Uploads' page """ def setUp(self): # pylint: disable=arguments-differ super(AssetIndexHelpTest, self).setUp() self.course_asset_index_page = AssetIndexPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_asset_index_page.visit() def test_asset_index_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Files & Uploads' page Given that I am on the 'Files & Uploads' page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'course_assets/course_files.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_assets/course_files.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_asset_index_page, href=href ) def test_asset_index_side_bar_help(self): """ Scenario: Help link in sidebar links is working on 'Files & Uploads' page Given that I am on the 'Files & Uploads' page. And I want help about the process And I click the 'Learn more about managing files' in the sidebar links Then Help link should open. And help url should end with 'course_assets/course_files.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_assets/course_files.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.course_asset_index_page, href=href, help_text='Learn more about managing files' ) class CoursePagesHelpTest(StudioCourseTest): """ Test help links on Course 'Pages' page """ def setUp(self): # pylint: disable=arguments-differ super(CoursePagesHelpTest, self).setUp() self.course_pages_page = PagesPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_pages_page.visit() def test_course_page_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Pages' page Given that I am on the 'Pages' page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'course_assets/pages.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_assets/pages.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_pages_page, href=href ) class UploadTextbookHelpTest(StudioCourseTest): """ Test help links on Course 'Textbooks' page """ def setUp(self): # pylint: disable=arguments-differ super(UploadTextbookHelpTest, self).setUp() self.course_textbook_upload_page = TextbookUploadPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_textbook_upload_page.visit() def test_course_textbook_upload_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Textbooks' page Given that I am on the 'Textbooks' page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'course_assets/textbooks.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/course_assets/textbooks.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_textbook_upload_page, href=href ) def test_course_textbook_side_bar_help(self): """ Scenario: Help link in sidebar links is working on 'Textbooks' page Given that I am on the 'Textbooks' page And I want help about the process And I click the 'Learn more about textbooks' in the sidebar links Then Help link should open. And help url should end with 'course_assets/textbooks.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/course_assets/textbooks.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.course_textbook_upload_page, href=href, help_text='Learn more about textbooks' ) class StudioUnitHelpTest(ContainerBase): """ Tests help links on Unit page. """ def setUp(self, is_staff=True): super(StudioUnitHelpTest, self).setUp(is_staff=is_staff) def populate_course_fixture(self, course_fixture): """ Populates the course fixture. We are modifying 'advanced_modules' setting of the course. Also add a section with a subsection and a unit. """ course_fixture.add_advanced_settings( {u"advanced_modules": {"value": ["split_test"]}} ) course_fixture.add_children( XBlockFixtureDesc('chapter', 'Test Section').add_children( XBlockFixtureDesc('sequential', 'Test Subsection').add_children( XBlockFixtureDesc('vertical', 'Test Unit') ) ) ) def test_unit_page_nav_help(self): """ Scenario: Help link in navigation bar is working on Unit page. Given that I am on the Unit page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'developing_course/course_units.html' """ unit_page = self.go_to_unit_page() href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/developing_course/course_units.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=unit_page, href=href ) class SettingsHelpTest(StudioCourseTest): """ Tests help links on Schedule and Details Settings page """ def setUp(self, is_staff=False, test_xss=True): super(SettingsHelpTest, self).setUp() self.settings_page = SettingsPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.settings_page.visit() def test_settings_page_nav_help(self): """ Scenario: Help link in navigation bar is working on Settings page. Given that I am on the Settings page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'set_up_course/setting_up_student_view.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/set_up_course/setting_up_student_view.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.settings_page, href=href ) class GradingPageHelpTest(StudioCourseTest): """ Tests help links on Grading page """ def setUp(self, is_staff=False, test_xss=True): super(GradingPageHelpTest, self).setUp() self.grading_page = GradingPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.grading_page.visit() def test_grading_page_nav_help(self): """ Scenario: Help link in navigation bar is working on Grading page. Given that I am on the Grading page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'grading/index.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/grading/index.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.grading_page, href=href ) class CourseTeamSettingsHelpTest(StudioCourseTest): """ Tests help links on Course Team settings page """ def setUp(self, is_staff=False, test_xss=True): super(CourseTeamSettingsHelpTest, self).setUp() self.course_team_settings_page = CourseTeamPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_team_settings_page.visit() def test_course_course_team_nav_help(self): """ Scenario: Help link in navigation bar is working on Course Team settings page Given that I am on the Course Team settings page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'set_up_course/course_staffing.html#add-course-team-members' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/set_up_course/course_staffing.html#add-course-team-members' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_team_settings_page, href=href ) class CourseGroupConfigurationHelpTest(StudioCourseTest): """ Tests help links on course Group Configurations settings page """ def setUp(self, is_staff=False, test_xss=True): super(CourseGroupConfigurationHelpTest, self).setUp() self.course_group_configuration_page = GroupConfigurationsPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.course_group_configuration_page.visit() def test_course_group_conf_nav_help(self): """ Scenario: Help link in navigation bar is working on Group Configurations settings page Given that I am on the Group Configurations settings page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'index.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/index.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.course_group_configuration_page, href=href ) def test_course_group_conf_content_group_side_bar_help(self): """ Scenario: Help link in side bar under the 'content group' is working on Group Configurations settings page Given that I am on the Group Configurations settings page And I want help about the process And I click the 'Learn More' in the sidebar links Then Help link should open. And help url should end with 'course_features/cohorts/cohorted_courseware.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/course_features/cohorts/cohorted_courseware.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.course_group_configuration_page, href=href, help_text='Learn More' ) class AdvancedSettingHelpTest(StudioCourseTest): """ Tests help links on course Advanced Settings page. """ def setUp(self, is_staff=False, test_xss=True): super(AdvancedSettingHelpTest, self).setUp() self.advanced_settings = AdvancedSettingsPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.advanced_settings.visit() def test_advanced_settings_nav_help(self): """ Scenario: Help link in navigation bar is working on Advanced Settings page. Given that I am on the Advanced Settings page. And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'index.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/index.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.advanced_settings, href=href ) class CertificatePageHelpTest(StudioCourseTest): """ Tests help links on course Certificate settings page. """ def setUp(self, is_staff=False, test_xss=True): super(CertificatePageHelpTest, self).setUp() self.certificates_page = CertificatesPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.certificates_page.visit() def test_certificate_page_nav_help(self): """ Scenario: Help link in navigation bar is working on Certificate settings page Given that I am on the Certificate settings page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'set_up_course/creating_course_certificates.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/set_up_course/creating_course_certificates.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.certificates_page, href=href ) def test_certificate_page_side_bar_help(self): """ Scenario: Help link in side bar is working Certificate settings page Given that I am on the Certificate settings page And I want help about the process And I click the 'Learn more about certificates' in the sidebar links Then Help link should open. And help url should end with 'set_up_course/creating_course_certificates.html' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course' \ '/en/latest/set_up_course/creating_course_certificates.html' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.certificates_page, href=href, help_text='Learn more about certificates', ) class GroupExperimentConfigurationHelpTest(ContainerBase): """ Tests help links on course Group Configurations settings page It is related to Experiment Group Configurations on the page. """ def setUp(self): # pylint: disable=arguments-differ super(GroupExperimentConfigurationHelpTest, self).setUp() self.group_configuration_page = GroupConfigurationsPage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) # self.create_poorly_configured_split_instance() self.group_configuration_page.visit() def populate_course_fixture(self, course_fixture): """ Populates the course fixture. We are modifying 'advanced_modules' setting of the course. """ course_fixture.add_advanced_settings( {u"advanced_modules": {"value": ["split_test"]}} ) def test_course_group_configuration_experiment_side_bar_help(self): """ Scenario: Help link in side bar under the 'Experiment Group Configurations' is working on Group Configurations settings page Given that I am on the Group Configurations settings page And I want help about the process And I click the 'Learn More' in the sidebar links Then Help link should open. And help url should end with 'content_experiments_configure.html#set-up-group-configurations-in-edx-studio' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/course_features' \ '/content_experiments/content_experiments_configure.html#set-up-group-configurations-in-edx-studio' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.group_configuration_page, href=href, help_text='Learn More', ) class ToolsImportHelpTest(StudioCourseTest): """ Tests help links on tools import pages. """ def setUp(self, is_staff=False, test_xss=True): super(ToolsImportHelpTest, self).setUp() self.import_page = ImportCoursePage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.import_page.visit() def test_tools_import_nav_help(self): """ Scenario: Help link in navigation bar is working on tools Library import page Given that I am on the Library import tools page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'releasing_course/export_import_course.html#import-a-course' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/releasing_course/export_import_course.html#import-a-course' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.import_page, href=href ) def test_tools_import_side_bar_help(self): """ Scenario: Help link in side bar is working on tools Library import page Given that I am on the tools Library import page And I want help about the process And I click the 'Learn more about importing a course' in the sidebar links Then Help link should open. And help url should end with 'releasing_course/export_import_course.html#import-a-course' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/releasing_course/export_import_course.html#import-a-course' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.import_page, href=href, help_text='Learn more about importing a course', ) class ToolsExportHelpTest(StudioCourseTest): """ Tests help links on tools export pages. """ def setUp(self, is_staff=False, test_xss=True): super(ToolsExportHelpTest, self).setUp() self.export_page = ExportCoursePage( self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'] ) self.export_page.visit() def test_tools_import_nav_help(self): """ Scenario: Help link in navigation bar is working on tools Library export page Given that I am on the Library export tools page And I want help about the process And I click the 'Help' in the navigation bar Then Help link should open. And help url should end with 'releasing_course/export_import_course.html#export-a-course' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/releasing_course/export_import_course.html#export-a-course' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.export_page, href=href ) def test_tools_import_side_bar_help(self): """ Scenario: Help link in side bar is working on tools Library export page Given that I am on the tools Library import page And I want help about the process And I click the 'Learn more about exporting a course' in the sidebar links Then Help link should open. And help url should end with 'releasing_course/export_import_course.html#export-a-course' """ href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/' \ 'latest/releasing_course/export_import_course.html#export-a-course' # Assert that help link is correct. assert_side_bar_help_link( test=self, page=self.export_page, href=href, help_text='Learn more about exporting a course', ) class StudioWelcomeHelpTest(AcceptanceTest): """ Tests help link on 'Welcome' page ( User not logged in) """ def setUp(self): super(StudioWelcomeHelpTest, self).setUp() self.index_page = IndexPage(self.browser) self.index_page.visit() def test_welcome_nav_help(self): """ Scenario: Help link in navigation bar is working on 'Welcome' page (User not logged in). Given that I am on the 'Welcome' page. And I want help about the edx And I click the 'Help' in the navigation bar Then Help link should open. And help url should contain 'getting_started/get_started.html' """ # The url we want to see in anchor help element. href = 'http://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/' \ 'en/latest/getting_started/get_started.html' # Assert that help link is correct. assert_nav_help_link( test=self, page=self.index_page, href=href, signed_in=False )
unknown
codeparrot/codeparrot-clean
from datetime import datetime, time from django.template.defaultfilters import date from django.test import SimpleTestCase from django.utils import timezone, translation from ..utils import setup from .timezone_utils import TimezoneTestCase class DateTests(TimezoneTestCase): @setup({"date01": '{{ d|date:"m" }}'}) def test_date01(self): output = self.engine.render_to_string("date01", {"d": datetime(2008, 1, 1)}) self.assertEqual(output, "01") @setup({"date02": "{{ d|date }}"}) def test_date02(self): output = self.engine.render_to_string("date02", {"d": datetime(2008, 1, 1)}) self.assertEqual(output, "Jan. 1, 2008") @setup({"date02_l10n": "{{ d|date }}"}) def test_date02_l10n(self): """Without arg, the active language's DATE_FORMAT is used.""" with translation.override("fr"): output = self.engine.render_to_string( "date02_l10n", {"d": datetime(2008, 1, 1)} ) self.assertEqual(output, "1 janvier 2008") @setup({"date03": '{{ d|date:"m" }}'}) def test_date03(self): """ #9520: Make sure |date doesn't blow up on non-dates """ output = self.engine.render_to_string("date03", {"d": "fail_string"}) self.assertEqual(output, "") # ISO date formats @setup({"date04": '{{ d|date:"o" }}'}) def test_date04(self): output = self.engine.render_to_string("date04", {"d": datetime(2008, 12, 29)}) self.assertEqual(output, "2009") @setup({"date05": '{{ d|date:"o" }}'}) def test_date05(self): output = self.engine.render_to_string("date05", {"d": datetime(2010, 1, 3)}) self.assertEqual(output, "2009") # Timezone name @setup({"date06": '{{ d|date:"e" }}'}) def test_date06(self): output = self.engine.render_to_string( "date06", {"d": datetime(2009, 3, 12, tzinfo=timezone.get_fixed_timezone(30))}, ) self.assertEqual(output, "+0030") @setup({"date07": '{{ d|date:"e" }}'}) def test_date07(self): output = self.engine.render_to_string("date07", {"d": datetime(2009, 3, 12)}) self.assertEqual(output, "") # #19370: Make sure |date doesn't blow up on a midnight time object @setup({"date08": '{{ t|date:"H:i" }}'}) def test_date08(self): output = self.engine.render_to_string("date08", {"t": time(0, 1)}) self.assertEqual(output, "00:01") @setup({"date09": '{{ t|date:"H:i" }}'}) def test_date09(self): output = self.engine.render_to_string("date09", {"t": time(0, 0)}) self.assertEqual(output, "00:00") @setup({"datelazy": '{{ t|date:_("H:i") }}'}) def test_date_lazy(self): output = self.engine.render_to_string("datelazy", {"t": time(0, 0)}) self.assertEqual(output, "00:00") class FunctionTests(SimpleTestCase): def test_date(self): self.assertEqual(date(datetime(2005, 12, 29), "d F Y"), "29 December 2005") def test_no_args(self): self.assertEqual(date(""), "") self.assertEqual(date(None), "") def test_escape_characters(self): self.assertEqual(date(datetime(2005, 12, 29), r"jS \o\f F"), "29th of December")
python
github
https://github.com/django/django
tests/template_tests/filter_tests/test_date.py
import PostPreview from "./post-preview"; import Post from "../types/post"; type Props = { posts: Post[]; }; export default function MoreStories({ posts }: Props) { return ( <section> <h2 className="mb-8 text-6xl md:text-7xl font-bold tracking-tighter leading-tight"> More Stories </h2> <div className="grid grid-cols-1 md:grid-cols-2 md:gap-x-16 lg:gap-x-32 gap-y-20 md:gap-y-32 mb-32"> {posts.map((post) => ( <PostPreview key={post.slug} title={post.title} coverImage={post.coverImage} date={post.date} author={post.author} slug={post.slug} excerpt={post.excerpt} /> ))} </div> </section> ); }
typescript
github
https://github.com/vercel/next.js
examples/cms-umbraco/components/more-stories.tsx
"""Native adapter for serving CherryPy via its builtin server.""" import logging try: from cStringIO import StringIO except ImportError: from StringIO import StringIO import cherrypy from cherrypy._cperror import format_exc, bare_error from cherrypy.lib import httputil from cherrypy import wsgiserver class NativeGateway(wsgiserver.Gateway): recursive = False def respond(self): req = self.req try: # Obtain a Request object from CherryPy local = req.server.bind_addr local = httputil.Host(local[0], local[1], "") remote = req.conn.remote_addr, req.conn.remote_port remote = httputil.Host(remote[0], remote[1], "") scheme = req.scheme sn = cherrypy.tree.script_name(req.uri or "/") if sn is None: self.send_response('404 Not Found', [], ['']) else: app = cherrypy.tree.apps[sn] method = req.method path = req.path qs = req.qs or "" headers = req.inheaders.items() rfile = req.rfile prev = None try: redirections = [] while True: request, response = app.get_serving( local, remote, scheme, "HTTP/1.1") request.multithread = True request.multiprocess = False request.app = app request.prev = prev # Run the CherryPy Request object and obtain the response try: request.run(method, path, qs, req.request_protocol, headers, rfile) break except cherrypy.InternalRedirect, ir: app.release_serving() prev = request if not self.recursive: if ir.path in redirections: raise RuntimeError("InternalRedirector visited the " "same URL twice: %r" % ir.path) else: # Add the *previous* path_info + qs to redirections. if qs: qs = "?" + qs redirections.append(sn + path + qs) # Munge environment and try again. method = "GET" path = ir.path qs = ir.query_string rfile = StringIO() self.send_response( response.output_status, response.header_list, response.body) finally: app.release_serving() except: tb = format_exc() #print tb cherrypy.log(tb, 'NATIVE_ADAPTER', severity=logging.ERROR) s, h, b = bare_error() self.send_response(s, h, b) def send_response(self, status, headers, body): req = self.req # Set response status req.status = str(status or "500 Server Error") # Set response headers for header, value in headers: req.outheaders.append((header, value)) if (req.ready and not req.sent_headers): req.sent_headers = True req.send_headers() # Set response body for seg in body: req.write(seg) class CPHTTPServer(wsgiserver.HTTPServer): """Wrapper for wsgiserver.HTTPServer. wsgiserver has been designed to not reference CherryPy in any way, so that it can be used in other frameworks and applications. Therefore, we wrap it here, so we can apply some attributes from config -> cherrypy.server -> HTTPServer. """ def __init__(self, server_adapter=cherrypy.server): self.server_adapter = server_adapter server_name = (self.server_adapter.socket_host or self.server_adapter.socket_file or None) wsgiserver.HTTPServer.__init__( self, server_adapter.bind_addr, NativeGateway, minthreads=server_adapter.thread_pool, maxthreads=server_adapter.thread_pool_max, server_name=server_name) self.max_request_header_size = self.server_adapter.max_request_header_size or 0 self.max_request_body_size = self.server_adapter.max_request_body_size or 0 self.request_queue_size = self.server_adapter.socket_queue_size self.timeout = self.server_adapter.socket_timeout self.shutdown_timeout = self.server_adapter.shutdown_timeout self.protocol = self.server_adapter.protocol_version self.nodelay = self.server_adapter.nodelay ssl_module = self.server_adapter.ssl_module or 'pyopenssl' if self.server_adapter.ssl_context: adapter_class = wsgiserver.get_ssl_adapter_class(ssl_module) self.ssl_adapter = adapter_class( self.server_adapter.ssl_certificate, self.server_adapter.ssl_private_key, self.server_adapter.ssl_certificate_chain) self.ssl_adapter.context = self.server_adapter.ssl_context elif self.server_adapter.ssl_certificate: adapter_class = wsgiserver.get_ssl_adapter_class(ssl_module) self.ssl_adapter = adapter_class( self.server_adapter.ssl_certificate, self.server_adapter.ssl_private_key, self.server_adapter.ssl_certificate_chain)
unknown
codeparrot/codeparrot-clean
apiVersion: v1 kind: ServiceAccount metadata: name: metadata-agent namespace: kube-system labels: kubernetes.io/cluster-service: "true" addonmanager.kubernetes.io/mode: Reconcile --- kind: DaemonSet apiVersion: apps/v1 metadata: labels: app: metadata-agent kubernetes.io/cluster-service: "true" addonmanager.kubernetes.io/mode: Reconcile name: metadata-agent namespace: kube-system spec: selector: matchLabels: app: metadata-agent template: metadata: labels: app: metadata-agent spec: securityContext: seccompProfile: type: RuntimeDefault serviceAccountName: metadata-agent priorityClassName: system-node-critical nodeSelector: kubernetes.io/os: linux containers: - image: gcr.io/stackdriver-agents/stackdriver-metadata-agent:0.2-0.0.21-1 imagePullPolicy: IfNotPresent name: metadata-agent livenessProbe: httpGet: path: /healthz port: 8000 initialDelaySeconds: 30 periodSeconds: 60 timeoutSeconds: 5 failureThreshold: 1 successThreshold: 1 args: - -o KubernetesUseWatch=true - -o KubernetesClusterLevelMetadata=false - -o MetadataReporterPurgeDeleted=true ports: - containerPort: 8000 hostPort: 8799 protocol: TCP resources: requests: cpu: {{ metadata_agent_cpu_request }} memory: {{ metadata_agent_memory_request }} dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler terminationGracePeriodSeconds: 30 tolerations: - operator: "Exists" effect: "NoExecute" - operator: "Exists" effect: "NoSchedule" updateStrategy: rollingUpdate: maxUnavailable: 1 type: RollingUpdate --- kind: Deployment apiVersion: apps/v1 metadata: labels: app: metadata-agent-cluster-level kubernetes.io/cluster-service: "true" addonmanager.kubernetes.io/mode: Reconcile name: metadata-agent-cluster-level namespace: kube-system spec: replicas: 1 selector: matchLabels: app: metadata-agent-cluster-level template: metadata: labels: app: metadata-agent-cluster-level spec: securityContext: seccompProfile: type: RuntimeDefault serviceAccountName: metadata-agent priorityClassName: system-cluster-critical nodeSelector: kubernetes.io/os: linux containers: - image: gcr.io/stackdriver-agents/stackdriver-metadata-agent:0.2-0.0.21-1 imagePullPolicy: IfNotPresent name: metadata-agent livenessProbe: httpGet: path: /healthz port: 8000 initialDelaySeconds: 30 periodSeconds: 60 timeoutSeconds: 5 failureThreshold: 1 successThreshold: 1 args: - -o KubernetesUseWatch=true - -o KubernetesClusterLevelMetadata=true - -o MetadataReporterPurgeDeleted=true ports: - containerPort: 8000 protocol: TCP resources: requests: cpu: {{ metadata_agent_cluster_level_cpu_request }} memory: {{ metadata_agent_cluster_level_memory_request }} dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler terminationGracePeriodSeconds: 30 strategy: rollingUpdate: maxUnavailable: 1 type: RollingUpdate
unknown
github
https://github.com/kubernetes/kubernetes
cluster/addons/metadata-agent/stackdriver/metadata-agent.yaml
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef BLK_STAT_H #define BLK_STAT_H #include <linux/kernel.h> #include <linux/blkdev.h> #include <linux/ktime.h> #include <linux/rcupdate.h> #include <linux/timer.h> /** * struct blk_stat_callback - Block statistics callback. * * A &struct blk_stat_callback is associated with a &struct request_queue. While * @timer is active, that queue's request completion latencies are sorted into * buckets by @bucket_fn and added to a per-cpu buffer, @cpu_stat. When the * timer fires, @cpu_stat is flushed to @stat and @timer_fn is invoked. */ struct blk_stat_callback { /* * @list: RCU list of callbacks for a &struct request_queue. */ struct list_head list; /** * @timer: Timer for the next callback invocation. */ struct timer_list timer; /** * @cpu_stat: Per-cpu statistics buckets. */ struct blk_rq_stat __percpu *cpu_stat; /** * @bucket_fn: Given a request, returns which statistics bucket it * should be accounted under. Return -1 for no bucket for this * request. */ int (*bucket_fn)(const struct request *); /** * @buckets: Number of statistics buckets. */ unsigned int buckets; /** * @stat: Array of statistics buckets. */ struct blk_rq_stat *stat; /** * @fn: Callback function. */ void (*timer_fn)(struct blk_stat_callback *); /** * @data: Private pointer for the user. */ void *data; struct rcu_head rcu; }; struct blk_queue_stats *blk_alloc_queue_stats(void); void blk_free_queue_stats(struct blk_queue_stats *); void blk_stat_add(struct request *rq, u64 now); /* record time/size info in request but not add a callback */ void blk_stat_enable_accounting(struct request_queue *q); void blk_stat_disable_accounting(struct request_queue *q); /** * blk_stat_alloc_callback() - Allocate a block statistics callback. * @timer_fn: Timer callback function. * @bucket_fn: Bucket callback function. * @buckets: Number of statistics buckets. * @data: Value for the @data field of the &struct blk_stat_callback. * * See &struct blk_stat_callback for details on the callback functions. * * Return: &struct blk_stat_callback on success or NULL on ENOMEM. */ struct blk_stat_callback * blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), int (*bucket_fn)(const struct request *), unsigned int buckets, void *data); /** * blk_stat_add_callback() - Add a block statistics callback to be run on a * request queue. * @q: The request queue. * @cb: The callback. * * Note that a single &struct blk_stat_callback can only be added to a single * &struct request_queue. */ void blk_stat_add_callback(struct request_queue *q, struct blk_stat_callback *cb); /** * blk_stat_remove_callback() - Remove a block statistics callback from a * request queue. * @q: The request queue. * @cb: The callback. * * When this returns, the callback is not running on any CPUs and will not be * called again unless readded. */ void blk_stat_remove_callback(struct request_queue *q, struct blk_stat_callback *cb); /** * blk_stat_free_callback() - Free a block statistics callback. * @cb: The callback. * * @cb may be NULL, in which case this does nothing. If it is not NULL, @cb must * not be associated with a request queue. I.e., if it was previously added with * blk_stat_add_callback(), it must also have been removed since then with * blk_stat_remove_callback(). */ void blk_stat_free_callback(struct blk_stat_callback *cb); /** * blk_stat_is_active() - Check if a block statistics callback is currently * gathering statistics. * @cb: The callback. */ static inline bool blk_stat_is_active(struct blk_stat_callback *cb) { return timer_pending(&cb->timer); } /** * blk_stat_activate_nsecs() - Gather block statistics during a time window in * nanoseconds. * @cb: The callback. * @nsecs: Number of nanoseconds to gather statistics for. * * The timer callback will be called when the window expires. */ static inline void blk_stat_activate_nsecs(struct blk_stat_callback *cb, u64 nsecs) { mod_timer(&cb->timer, jiffies + nsecs_to_jiffies(nsecs)); } static inline void blk_stat_deactivate(struct blk_stat_callback *cb) { timer_delete_sync(&cb->timer); } /** * blk_stat_activate_msecs() - Gather block statistics during a time window in * milliseconds. * @cb: The callback. * @msecs: Number of milliseconds to gather statistics for. * * The timer callback will be called when the window expires. */ static inline void blk_stat_activate_msecs(struct blk_stat_callback *cb, unsigned int msecs) { mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); } void blk_rq_stat_add(struct blk_rq_stat *, u64); void blk_rq_stat_sum(struct blk_rq_stat *, struct blk_rq_stat *); void blk_rq_stat_init(struct blk_rq_stat *); #endif
c
github
https://github.com/torvalds/linux
block/blk-stat.h
/* * Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.webrtc.rs import io.ktor.client.webrtc.* import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.launch import uniffi.ktor_client_webrtc.MediaCodec import uniffi.ktor_client_webrtc.MediaHandler import uniffi.ktor_client_webrtc.MediaStreamTrack /** * Wrapper for uniffi.ktor_client_webrtc.MediaStreamTrack. * * [Report a problem](https://ktor.io/feedback/?fqname=io.ktor.client.webrtc.rs.RustMediaTrack) **/ public abstract class RustMediaTrack( internal val inner: MediaStreamTrack, private val coroutineScope: CoroutineScope?, ) : WebRtcMedia.Track { private var readRtpJob: Job? = null public override val id: String get() = inner.id() public override val kind: WebRtcMedia.TrackType get() = kindOf(inner) public override val enabled: Boolean get() = inner.enabled() override fun enable(enabled: Boolean) { inner.setEnabled(enabled) } public fun setMediaHandler(handler: MediaHandler, readPacketsInBackground: Boolean) { inner.setSink(inner.createSink(handler)) if (readPacketsInBackground) { require(coroutineScope != null) { "Coroutine scope is required to read RTP for track $id" } readRtpJob = coroutineScope.launch { inner.readAll() } } } override fun close() { if (readRtpJob?.isActive == true) { readRtpJob?.cancel() } inner.destroy() } public companion object { private fun kindOf(nativeTrack: MediaStreamTrack): WebRtcMedia.TrackType { return when (nativeTrack.codec()) { MediaCodec.VIDEO_VP8 -> WebRtcMedia.TrackType.VIDEO MediaCodec.VIDEO_H264 -> WebRtcMedia.TrackType.VIDEO MediaCodec.AUDIO_OPUS -> WebRtcMedia.TrackType.AUDIO } } public fun from( nativeTrack: MediaStreamTrack, coroutineScope: CoroutineScope?, ): RustMediaTrack = when (kindOf(nativeTrack)) { WebRtcMedia.TrackType.AUDIO -> RustAudioTrack(nativeTrack, coroutineScope) WebRtcMedia.TrackType.VIDEO -> RustVideoTrack(nativeTrack, coroutineScope) } } } public class RustAudioTrack( nativeTrack: MediaStreamTrack, coroutineScope: CoroutineScope?, ) : WebRtcMedia.AudioTrack, RustMediaTrack(nativeTrack, coroutineScope) public class RustVideoTrack( nativeTrack: MediaStreamTrack, coroutineScope: CoroutineScope?, ) : WebRtcMedia.VideoTrack, RustMediaTrack(nativeTrack, coroutineScope) /** * Returns implementation of the native video stream track used under the hood. Use it with caution. * * [Report a problem](https://ktor.io/feedback/?fqname=io.ktor.client.webrtc.rs.getNative) */ public fun WebRtcMedia.Track.getNative(): MediaStreamTrack { val track = this as? RustMediaTrack ?: error("Wrong track implementation.") return track.inner }
kotlin
github
https://github.com/ktorio/ktor
ktor-client/ktor-client-webrtc/ktor-client-webrtc-rs/common/src/io/ktor/client/webrtc/rs/MediaTrack.kt
#!/usr/bin/python # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Generates a sysroot tarball for building a specific package. Meant for use after setup_board and build_packages have been run. """ import os from chromite.buildbot import constants from chromite.lib import cros_build_lib from chromite.lib import commandline from chromite.lib import osutils from chromite.lib import sudo DEFAULT_NAME = 'sysroot_%(package)s.tar.xz' PACKAGE_SEPARATOR = '/' SYSROOT = 'sysroot' def ParseCommandLine(argv): """Parse args, and run environment-independent checks.""" parser = commandline.ArgumentParser(description=__doc__) parser.add_argument('--board', required=True, help=('The board to generate the sysroot for.')) parser.add_argument('--package', required=True, help=('The package to generate the sysroot for.')) parser.add_argument('--out-dir', type=osutils.ExpandPath, required=True, help='Directory to place the generated tarball.') parser.add_argument('--out-file', help=('The name to give to the tarball. Defaults to %r.' % DEFAULT_NAME)) options = parser.parse_args(argv) if not options.out_file: options.out_file = DEFAULT_NAME % { 'package': options.package.replace(PACKAGE_SEPARATOR, '_') } return options class GenerateSysroot(object): """Wrapper for generation functionality.""" PARALLEL_EMERGE = os.path.join(constants.CHROMITE_BIN_DIR, 'parallel_emerge') def __init__(self, sysroot, options): """Initialize Arguments: sysroot: Path to sysroot. options: Parsed options. """ self.sysroot = sysroot self.options = options def _InstallToolchain(self): cros_build_lib.RunCommand( [os.path.join(constants.CROSUTILS_DIR, 'install_toolchain'), '--noconfigure', '--board_root', self.sysroot, '--board', self.options.board]) def _InstallKernelHeaders(self): cros_build_lib.SudoRunCommand( [self.PARALLEL_EMERGE, '--board=%s' % self.options.board, '--root-deps=rdeps', '--getbinpkg', '--usepkg', '--root=%s' % self.sysroot, 'sys-kernel/linux-headers']) def _InstallBuildDependencies(self): cros_build_lib.SudoRunCommand( [self.PARALLEL_EMERGE, '--board=%s' % self.options.board, '--root=%s' % self.sysroot, '--usepkg', '--onlydeps', '--usepkg-exclude=%s' % self.options.package, self.options.package]) def _CreateTarball(self): target = os.path.join(self.options.out_dir, self.options.out_file) cros_build_lib.CreateTarball(target, self.sysroot, sudo=True) def Perform(self): """Generate the sysroot.""" self._InstallToolchain() self._InstallKernelHeaders() self._InstallBuildDependencies() self._CreateTarball() def FinishParsing(options): """Run environment dependent checks on parsed args.""" target = os.path.join(options.out_dir, options.out_file) if os.path.exists(target): cros_build_lib.Die('Output file %r already exists.' % target) if not os.path.isdir(options.out_dir): cros_build_lib.Die( 'Non-existent directory %r specified for --out-dir' % options.out_dir) def main(argv): options = ParseCommandLine(argv) FinishParsing(options) cros_build_lib.AssertInsideChroot() with sudo.SudoKeepAlive(ttyless_sudo=False): with osutils.TempDirContextManager(sudo_rm=True) as tempdir: sysroot = os.path.join(tempdir, SYSROOT) os.mkdir(sysroot) GenerateSysroot(sysroot, options).Perform()
unknown
codeparrot/codeparrot-clean
# Copyright 2017 The TensorFlow Authors. 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. # ============================================================================== """An example of training and predicting with a TFTS estimator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import sys import numpy as np import tensorflow as tf try: import matplotlib # pylint: disable=g-import-not-at-top matplotlib.use("TkAgg") # Need Tk for interactive plots. from matplotlib import pyplot # pylint: disable=g-import-not-at-top HAS_MATPLOTLIB = True except ImportError: # Plotting requires matplotlib, but the unit test running this code may # execute in an environment without it (i.e. matplotlib is not a build # dependency). We'd still like to test the TensorFlow-dependent parts of this # example, namely train_and_predict. HAS_MATPLOTLIB = False FLAGS = None def structural_ensemble_train_and_predict(csv_file_name): # Cycle between 5 latent values over a period of 100. This leads to a very # smooth periodic component (and a small model), which is a good fit for our # example data. Modeling high-frequency periodic variations will require a # higher cycle_num_latent_values. structural = tf.contrib.timeseries.StructuralEnsembleRegressor( periodicities=100, num_features=1, cycle_num_latent_values=5) return train_and_predict(structural, csv_file_name, training_steps=150) def ar_train_and_predict(csv_file_name): # An autoregressive model, with periodicity handled as a time-based # regression. Note that this requires windows of size 16 (input_window_size + # output_window_size) for training. ar = tf.contrib.timeseries.ARRegressor( periodicities=100, input_window_size=10, output_window_size=6, num_features=1, # Use the (default) normal likelihood loss to adaptively fit the # variance. SQUARED_LOSS overestimates variance when there are trends in # the series. loss=tf.contrib.timeseries.ARModel.NORMAL_LIKELIHOOD_LOSS) return train_and_predict(ar, csv_file_name, training_steps=600) def train_and_predict(estimator, csv_file_name, training_steps): """A simple example of training and predicting.""" # Read data in the default "time,value" CSV format with no header reader = tf.contrib.timeseries.CSVReader(csv_file_name) # Set up windowing and batching for training train_input_fn = tf.contrib.timeseries.RandomWindowInputFn( reader, batch_size=16, window_size=16) # Fit model parameters to data estimator.train(input_fn=train_input_fn, steps=training_steps) # Evaluate on the full dataset sequentially, collecting in-sample predictions # for a qualitative evaluation. Note that this loads the whole dataset into # memory. For quantitative evaluation, use RandomWindowChunker. evaluation_input_fn = tf.contrib.timeseries.WholeDatasetInputFn(reader) evaluation = estimator.evaluate(input_fn=evaluation_input_fn, steps=1) # Predict starting after the evaluation (predictions,) = tuple(estimator.predict( input_fn=tf.contrib.timeseries.predict_continuation_input_fn( evaluation, steps=200))) times = evaluation["times"][0] observed = evaluation["observed"][0, :, 0] mean = np.squeeze(np.concatenate( [evaluation["mean"][0], predictions["mean"]], axis=0)) variance = np.squeeze(np.concatenate( [evaluation["covariance"][0], predictions["covariance"]], axis=0)) all_times = np.concatenate([times, predictions["times"]], axis=0) upper_limit = mean + np.sqrt(variance) lower_limit = mean - np.sqrt(variance) return times, observed, all_times, mean, upper_limit, lower_limit def make_plot(name, training_times, observed, all_times, mean, upper_limit, lower_limit): """Plot a time series in a new figure.""" pyplot.figure() pyplot.plot(training_times, observed, "b", label="training series") pyplot.plot(all_times, mean, "r", label="forecast") pyplot.plot(all_times, upper_limit, "g", label="forecast upper bound") pyplot.plot(all_times, lower_limit, "g", label="forecast lower bound") pyplot.fill_between(all_times, lower_limit, upper_limit, color="grey", alpha="0.2") pyplot.axvline(training_times[-1], color="k", linestyle="--") pyplot.xlabel("time") pyplot.ylabel("observations") pyplot.legend(loc=0) pyplot.title(name) def main(unused_argv): if not HAS_MATPLOTLIB: raise ImportError( "Please install matplotlib to generate a plot from this example.") make_plot("Structural ensemble", *structural_ensemble_train_and_predict(FLAGS.input_filename)) make_plot("AR", *ar_train_and_predict(FLAGS.input_filename)) pyplot.show() if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument( "--input_filename", type=str, required=True, help="Input csv file.") FLAGS, unparsed = parser.parse_known_args() tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
unknown
codeparrot/codeparrot-clean
/* * Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.network.sockets.tests import io.ktor.network.selector.* import io.ktor.test.dispatcher.* import kotlinx.coroutines.* import kotlin.coroutines.* import kotlin.test.* class SelectNixTest { @Test fun selectDescriptorIsEqualOrLargerThanFdSetSize() = testSuspend { val scope = CoroutineScope( CoroutineExceptionHandler { _, cause -> val regexStr = """File descriptor \d+ is larger or equal to FD_SETSIZE \(3\)""" val message = cause.message assertNotNull(message) assertTrue( regexStr.toRegex().matches(message), "Expected message in format \"$regexStr\", got $message" ) } ) val selector = SelectorHelper(3) val job = selector.start(scope) selector.interest(EventInfo(1, SelectInterest.READ, Continuation(coroutineContext) {})) selector.interest(EventInfo(2, SelectInterest.READ, Continuation(coroutineContext) {})) selector.interest(EventInfo(3, SelectInterest.READ, Continuation(coroutineContext) {})) launch { delay(1000) if (scope.isActive) { selector.requestTermination() job.cancel() fail("Exception should have been thrown") } } job.join() } @Test fun selectDescriptorIsNegative() = testSuspend { val scope = CoroutineScope( CoroutineExceptionHandler { _, cause -> assertEquals("File descriptor -1 is negative", cause.message) } ) val selector = SelectorHelper() val job = selector.start(scope) selector.interest(EventInfo(-1, SelectInterest.READ, Continuation(coroutineContext) {})) launch { delay(1000) if (scope.isActive) { selector.requestTermination() job.cancel() fail("Exception should have been thrown") } } job.join() } }
kotlin
github
https://github.com/ktorio/ktor
ktor-network/nix/test/io/ktor/network/sockets/tests/SelectNixTest.kt
from django.core.management.base import BaseCommand, CommandError from django.db import transaction from slugify import slugify from categories.models import Category from categories.settings import SLUG_TRANSLITERATOR class Command(BaseCommand): """Import category trees from a file.""" help = "Imports category tree(s) from a file. Sub categories must be indented by the same multiple of spaces or tabs." args = "file_path [file_path ...]" def get_indent(self, string): """ Look through the string and count the spaces """ indent_amt = 0 if string[0] == '\t': return '\t' for char in string: if char == ' ': indent_amt += 1 else: return ' ' * indent_amt @transaction.atomic def make_category(self, string, parent=None, order=1): """ Make and save a category object from a string """ cat = Category( name=string.strip(), slug=slugify(SLUG_TRANSLITERATOR(string.strip()))[:49], # arent=parent, order=order ) cat._tree_manager.insert_node(cat, parent, 'last-child', True) cat.save() if parent: parent.rght = cat.rght + 1 parent.save() return cat def parse_lines(self, lines): """ Do the work of parsing each line """ indent = '' level = 0 if lines[0][0] == ' ' or lines[0][0] == '\t': raise CommandError("The first line in the file cannot start with a space or tab.") # This keeps track of the current parents at a given level current_parents = {0: None} for line in lines: if len(line) == 0: continue if line[0] == ' ' or line[0] == '\t': if indent == '': indent = self.get_indent(line) elif not line[0] in indent: raise CommandError("You can't mix spaces and tabs for indents") level = line.count(indent) current_parents[level] = self.make_category(line, parent=current_parents[level - 1]) else: # We are back to a zero level, so reset the whole thing current_parents = {0: self.make_category(line)} current_parents[0]._tree_manager.rebuild() def handle(self, *file_paths, **options): """ Handle the basic import """ import os for file_path in file_paths: if not os.path.isfile(file_path): print("File %s not found." % file_path) continue f = open(file_path, 'r') data = f.readlines() f.close() self.parse_lines(data)
unknown
codeparrot/codeparrot-clean
from openerp import models from openerp.tools import mute_logger from openerp.osv.orm import except_orm from openerp.tests import common class TestAPI(common.TransactionCase): """ test the new API of the ORM """ def assertIsRecordset(self, value, model): self.assertIsInstance(value, models.BaseModel) self.assertEqual(value._name, model) def assertIsRecord(self, value, model): self.assertIsRecordset(value, model) self.assertTrue(len(value) <= 1) def assertIsNull(self, value, model): self.assertIsRecordset(value, model) self.assertFalse(value) @mute_logger('openerp.models') def test_00_query(self): """ Build a recordset, and check its contents. """ domain = [('name', 'ilike', 'j')] ids = self.registry('res.partner').search(self.cr, self.uid, domain) partners = self.env['res.partner'].search(domain) # partners is a collection of browse records corresponding to ids self.assertTrue(ids) self.assertTrue(partners) # partners and its contents are instance of the model self.assertIsRecordset(partners, 'res.partner') for p in partners: self.assertIsRecord(p, 'res.partner') self.assertEqual([p.id for p in partners], ids) self.assertEqual(self.env['res.partner'].browse(ids), partners) @mute_logger('openerp.models') def test_01_query_offset(self): """ Build a recordset with offset, and check equivalence. """ partners1 = self.env['res.partner'].search([], offset=10) partners2 = self.env['res.partner'].search([])[10:] self.assertIsRecordset(partners1, 'res.partner') self.assertIsRecordset(partners2, 'res.partner') self.assertEqual(list(partners1), list(partners2)) @mute_logger('openerp.models') def test_02_query_limit(self): """ Build a recordset with offset, and check equivalence. """ partners1 = self.env['res.partner'].search([], limit=10) partners2 = self.env['res.partner'].search([])[:10] self.assertIsRecordset(partners1, 'res.partner') self.assertIsRecordset(partners2, 'res.partner') self.assertEqual(list(partners1), list(partners2)) @mute_logger('openerp.models') def test_03_query_offset_limit(self): """ Build a recordset with offset and limit, and check equivalence. """ partners1 = self.env['res.partner'].search([], offset=3, limit=7) partners2 = self.env['res.partner'].search([])[3:10] self.assertIsRecordset(partners1, 'res.partner') self.assertIsRecordset(partners2, 'res.partner') self.assertEqual(list(partners1), list(partners2)) @mute_logger('openerp.models') def test_04_query_count(self): """ Test the search method with count=True. """ count1 = self.registry('res.partner').search(self.cr, self.uid, [], count=True) count2 = self.env['res.partner'].search([], count=True) self.assertIsInstance(count1, (int, long)) self.assertIsInstance(count2, (int, long)) self.assertEqual(count1, count2) @mute_logger('openerp.models') def test_05_immutable(self): """ Check that a recordset remains the same, even after updates. """ domain = [('name', 'ilike', 'j')] partners = self.env['res.partner'].search(domain) self.assertTrue(partners) ids = map(int, partners) # modify those partners, and check that partners has not changed self.registry('res.partner').write(self.cr, self.uid, ids, {'active': False}) self.assertEqual(ids, map(int, partners)) # redo the search, and check that the result is now empty partners2 = self.env['res.partner'].search(domain) self.assertFalse(partners2) @mute_logger('openerp.models') def test_06_fields(self): """ Check that relation fields return records, recordsets or nulls. """ user = self.registry('res.users').browse(self.cr, self.uid, self.uid) self.assertIsRecord(user, 'res.users') self.assertIsRecord(user.partner_id, 'res.partner') self.assertIsRecordset(user.groups_id, 'res.groups') partners = self.env['res.partner'].search([]) for name, field in partners._fields.iteritems(): if field.type == 'many2one': for p in partners: self.assertIsRecord(p[name], field.comodel_name) elif field.type == 'reference': for p in partners: if p[name]: self.assertIsRecord(p[name], field.comodel_name) elif field.type in ('one2many', 'many2many'): for p in partners: self.assertIsRecordset(p[name], field.comodel_name) @mute_logger('openerp.models') def test_07_null(self): """ Check behavior of null instances. """ # select a partner without a parent partner = self.env['res.partner'].search([('parent_id', '=', False)])[0] # check partner and related null instances self.assertTrue(partner) self.assertIsRecord(partner, 'res.partner') self.assertFalse(partner.parent_id) self.assertIsNull(partner.parent_id, 'res.partner') self.assertIs(partner.parent_id.id, False) self.assertFalse(partner.parent_id.user_id) self.assertIsNull(partner.parent_id.user_id, 'res.users') self.assertIs(partner.parent_id.user_id.name, False) self.assertFalse(partner.parent_id.user_id.groups_id) self.assertIsRecordset(partner.parent_id.user_id.groups_id, 'res.groups') @mute_logger('openerp.models') def test_10_old_old(self): """ Call old-style methods in the old-fashioned way. """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) ids = map(int, partners) # call method name_get on partners' model, and check its effect res = partners._model.name_get(self.cr, self.uid, ids) self.assertEqual(len(res), len(ids)) self.assertEqual(set(val[0] for val in res), set(ids)) @mute_logger('openerp.models') def test_20_old_new(self): """ Call old-style methods in the new API style. """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) # call method name_get on partners itself, and check its effect res = partners.name_get() self.assertEqual(len(res), len(partners)) self.assertEqual(set(val[0] for val in res), set(map(int, partners))) @mute_logger('openerp.models') def test_25_old_new(self): """ Call old-style methods on records (new API style). """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) # call method name_get on partner records, and check its effect for p in partners: res = p.name_get() self.assertTrue(isinstance(res, list) and len(res) == 1) self.assertTrue(isinstance(res[0], tuple) and len(res[0]) == 2) self.assertEqual(res[0][0], p.id) @mute_logger('openerp.models') def test_30_new_old(self): """ Call new-style methods in the old-fashioned way. """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) ids = map(int, partners) # call method write on partners' model, and check its effect partners._model.write(self.cr, self.uid, ids, {'active': False}) for p in partners: self.assertFalse(p.active) @mute_logger('openerp.models') def test_40_new_new(self): """ Call new-style methods in the new API style. """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) # call method write on partners itself, and check its effect partners.write({'active': False}) for p in partners: self.assertFalse(p.active) @mute_logger('openerp.models') def test_45_new_new(self): """ Call new-style methods on records (new API style). """ partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertTrue(partners) # call method write on partner records, and check its effects for p in partners: p.write({'active': False}) for p in partners: self.assertFalse(p.active) @mute_logger('openerp.models') @mute_logger('openerp.addons.base.ir.ir_model') def test_50_environment(self): """ Test environment on records. """ # partners and reachable records are attached to self.env partners = self.env['res.partner'].search([('name', 'ilike', 'j')]) self.assertEqual(partners.env, self.env) for x in (partners, partners[0], partners[0].company_id): self.assertEqual(x.env, self.env) for p in partners: self.assertEqual(p.env, self.env) # check that the current user can read and modify company data partners[0].company_id.name partners[0].company_id.write({'name': 'Fools'}) # create an environment with the demo user demo = self.env['res.users'].search([('login', '=', 'demo')])[0] demo_env = self.env(user=demo) self.assertNotEqual(demo_env, self.env) # partners and related records are still attached to self.env self.assertEqual(partners.env, self.env) for x in (partners, partners[0], partners[0].company_id): self.assertEqual(x.env, self.env) for p in partners: self.assertEqual(p.env, self.env) # create record instances attached to demo_env demo_partners = partners.sudo(demo) self.assertEqual(demo_partners.env, demo_env) for x in (demo_partners, demo_partners[0], demo_partners[0].company_id): self.assertEqual(x.env, demo_env) for p in demo_partners: self.assertEqual(p.env, demo_env) # demo user can read but not modify company data demo_partners[0].company_id.name with self.assertRaises(except_orm): demo_partners[0].company_id.write({'name': 'Pricks'}) # remove demo user from all groups demo.write({'groups_id': [(5,)]}) # demo user can no longer access partner data with self.assertRaises(except_orm): demo_partners[0].company_id.name @mute_logger('openerp.models') def test_55_draft(self): """ Test draft mode nesting. """ env = self.env self.assertFalse(env.in_draft) with env.do_in_draft(): self.assertTrue(env.in_draft) with env.do_in_draft(): self.assertTrue(env.in_draft) with env.do_in_draft(): self.assertTrue(env.in_draft) self.assertTrue(env.in_draft) self.assertTrue(env.in_draft) self.assertFalse(env.in_draft) @mute_logger('openerp.models') def test_60_cache(self): """ Check the record cache behavior """ partners = self.env['res.partner'].search([('child_ids', '!=', False)]) partner1, partner2 = partners[0], partners[1] children1, children2 = partner1.child_ids, partner2.child_ids self.assertTrue(children1) self.assertTrue(children2) # take a child contact child = children1[0] self.assertEqual(child.parent_id, partner1) self.assertIn(child, partner1.child_ids) self.assertNotIn(child, partner2.child_ids) # fetch data in the cache for p in partners: p.name, p.company_id.name, p.user_id.name, p.contact_address self.env.check_cache() # change its parent child.write({'parent_id': partner2.id}) self.env.check_cache() # check recordsets self.assertEqual(child.parent_id, partner2) self.assertNotIn(child, partner1.child_ids) self.assertIn(child, partner2.child_ids) self.assertEqual(set(partner1.child_ids + child), set(children1)) self.assertEqual(set(partner2.child_ids), set(children2 + child)) self.env.check_cache() # delete it child.unlink() self.env.check_cache() # check recordsets self.assertEqual(set(partner1.child_ids), set(children1) - set([child])) self.assertEqual(set(partner2.child_ids), set(children2)) self.env.check_cache() @mute_logger('openerp.models') def test_60_cache_prefetching(self): """ Check the record cache prefetching """ self.env.invalidate_all() # all the records of an instance already have an entry in cache partners = self.env['res.partner'].search([]) partner_ids = self.env.prefetch['res.partner'] self.assertEqual(set(partners.ids), set(partner_ids)) # countries have not been fetched yet; their cache must be empty countries = self.env['res.country'].browse() self.assertFalse(self.env.prefetch['res.country']) # reading ONE partner should fetch them ALL countries |= partners[0].country_id country_cache = self.env.cache[partners._fields['country_id']] self.assertLessEqual(set(partners._ids), set(country_cache)) # read all partners, and check that the cache already contained them country_ids = list(self.env.prefetch['res.country']) for p in partners: countries |= p.country_id self.assertLessEqual(set(countries.ids), set(country_ids)) @mute_logger('openerp.models') def test_70_one(self): """ Check method one(). """ # check with many records ps = self.env['res.partner'].search([('name', 'ilike', 'a')]) self.assertTrue(len(ps) > 1) with self.assertRaises(except_orm): ps.ensure_one() p1 = ps[0] self.assertEqual(len(p1), 1) self.assertEqual(p1.ensure_one(), p1) p0 = self.env['res.partner'].browse() self.assertEqual(len(p0), 0) with self.assertRaises(except_orm): p0.ensure_one() @mute_logger('openerp.models') def test_80_contains(self): """ Test membership on recordset. """ p1 = self.env['res.partner'].search([('name', 'ilike', 'a')], limit=1).ensure_one() ps = self.env['res.partner'].search([('name', 'ilike', 'a')]) self.assertTrue(p1 in ps) @mute_logger('openerp.models') def test_80_set_operations(self): """ Check set operations on recordsets. """ pa = self.env['res.partner'].search([('name', 'ilike', 'a')]) pb = self.env['res.partner'].search([('name', 'ilike', 'b')]) self.assertTrue(pa) self.assertTrue(pb) self.assertTrue(set(pa) & set(pb)) concat = pa + pb self.assertEqual(list(concat), list(pa) + list(pb)) self.assertEqual(len(concat), len(pa) + len(pb)) difference = pa - pb self.assertEqual(len(difference), len(set(difference))) self.assertEqual(set(difference), set(pa) - set(pb)) self.assertLessEqual(difference, pa) intersection = pa & pb self.assertEqual(len(intersection), len(set(intersection))) self.assertEqual(set(intersection), set(pa) & set(pb)) self.assertLessEqual(intersection, pa) self.assertLessEqual(intersection, pb) union = pa | pb self.assertEqual(len(union), len(set(union))) self.assertEqual(set(union), set(pa) | set(pb)) self.assertGreaterEqual(union, pa) self.assertGreaterEqual(union, pb) # one cannot mix different models with set operations ps = pa ms = self.env['ir.ui.menu'].search([]) self.assertNotEqual(ps._name, ms._name) self.assertNotEqual(ps, ms) with self.assertRaises(except_orm): res = ps + ms with self.assertRaises(except_orm): res = ps - ms with self.assertRaises(except_orm): res = ps & ms with self.assertRaises(except_orm): res = ps | ms with self.assertRaises(except_orm): res = ps < ms with self.assertRaises(except_orm): res = ps <= ms with self.assertRaises(except_orm): res = ps > ms with self.assertRaises(except_orm): res = ps >= ms @mute_logger('openerp.models') def test_80_filter(self): """ Check filter on recordsets. """ ps = self.env['res.partner'].search([]) customers = ps.browse([p.id for p in ps if p.customer]) # filter on a single field self.assertEqual(ps.filtered(lambda p: p.customer), customers) self.assertEqual(ps.filtered('customer'), customers) # filter on a sequence of fields self.assertEqual( ps.filtered(lambda p: p.parent_id.customer), ps.filtered('parent_id.customer') ) @mute_logger('openerp.models') def test_80_map(self): """ Check map on recordsets. """ ps = self.env['res.partner'].search([]) parents = ps.browse() for p in ps: parents |= p.parent_id # map a single field self.assertEqual(ps.mapped(lambda p: p.parent_id), parents) self.assertEqual(ps.mapped('parent_id'), parents) # map a sequence of fields self.assertEqual( ps.mapped(lambda p: p.parent_id.name), [p.parent_id.name for p in ps] ) self.assertEqual( ps.mapped('parent_id.name'), [p.name for p in parents] )
unknown
codeparrot/codeparrot-clean